ericlin0122

DCA Bot Emulator

ericlin0122 Updated   
Emulate DCA bot. Buy ASAP. Set chart interval to 1 hour.
Release Notes:
bug fix in safe order
Release Notes:
clean base chart
Release Notes:
clean base chart
Release Notes:
enabled decimal inputs
Release Notes:
max safe order should be integer
Release Notes:
update price_deviation
Release Notes:
correct the calculation on safe order scale. Thanks for @Steve83810
Release Notes:
- allow source input from: . default: OHLC4
- make safe_order_step_scale should be a geometric sequence
Release Notes:
- add trailing deviation to take profit. (I hope my math is correct)
Release Notes:
set step to 0.01 to take profit/trailing
Release Notes:
fixed calculation on safe order step scale
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?