Backtesting 3commas DCA Bot v2

- Added Label with warning and summary
- Added Stop Loss support
- Improved time inputs
- General bug fixes
- add comments in script
- add warnings for limitations on backtesting with stop loss (in general, do not use a stop loss if you use DCA on the Spot market)
- Improved currency formatting
- Default to RSI-7 < 30 for buy signal
- set RSI default timeframe to 15
- small rework on the warning/results labels
- Slightly more sexy snapshot
- Add a counter of total deals
- Add nb of deals closed on hitting Stop Loss
- YOU CAN NOW BACK-TEST SHORT BOTS !
- refactored closing deal code
- add comparison of DCA bot performance to simple Buy and Hold.
- Using TA Presets (Buy/Strong Buy/Sell/Strong Sell)
- Allow using different timeframes for RSI
- Allow using a percentage of equity rather than fixed amount of currency
- Numbered warnings
- Backtesting timeframe updated automatically on the label
This is because the number of bars available is a fixed amount so if you select a 1m timeframe, you can backtest over only a few days, but if you select a 15m timeframe you can backtest over several months.
limits:
free account = 5000 bars
pro/pro+ account = 10000 bars
premium account = 20000 bars
Renamed "TA Preset" to "TV Preset"
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.