OPEN-SOURCE SCRIPT

DCA Bot Emulator

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: ["Close", "Open", "High", "Low", "HL2", "HLC3", "OHLC4", "Median Body", "Weighted Close", "Trend Biased", "Trend Biased Extreme"]. 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
3commasdca-botsTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer