OPEN-SOURCE SCRIPT

Backtesting 3commas DCA Bot v2

Actualizado
Updating previously published simulated 3commas DCA logic with a sexier insert and more meaningful default parameters.
Notas de prensa
Added possibility to use the RSI [configurable as per 3c presets] as buy signal
Notas de prensa
Large Revamp:
- Added Label with warning and summary
- Added Stop Loss support
- Improved time inputs
- General bug fixes
Notas de prensa
Quick amend on previous commit:
- 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)
Notas de prensa
Quick amend previous commit:
- Improved currency formatting
Notas de prensa
more realistic amount of BTC (divided amount of BTC by 1000 because who owns 2000 BTC ?!)
Notas de prensa
Fixed stop loss, reordered input as per 3c bot setup, fix max deviation calculation, add list of bot parameters on label printout
Notas de prensa
- Fix quantities calculation
- Default to RSI-7 < 30 for buy signal

Notas de prensa
amend previous commit
Notas de prensa
- fix RSI start condition (Below; not crossover)
- set RSI default timeframe to 15
- small rework on the warning/results labels
Notas de prensa
- Fixed Stop Loss triggers. Thank you RealSaim for testing and reporting !
Notas de prensa
- more meaningful default inputs
- Slightly more sexy snapshot
Notas de prensa
New feature:
- Add a counter of total deals
Notas de prensa
New Feature:
- Add nb of deals closed on hitting Stop Loss
Notas de prensa
added support for Take Profit Type "% From Total Volume" or "% From Base Order "
Notas de prensa
After getting the request from many of you, here it is:
- YOU CAN NOW BACK-TEST SHORT BOTS !
Notas de prensa
new update includes:
- refactored closing deal code
- add comparison of DCA bot performance to simple Buy and Hold.
Notas de prensa
Fix Trailing TP logic for short bot
Notas de prensa
New features !!
- 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
Notas de prensa
New feature !!
- 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
Notas de prensa
Fix bug on deal closure
Renamed "TA Preset" to "TV Preset"
Notas de prensa
fixed typo
Notas de prensa
Fancy update people !! A few weeks ago, TradingView released a new object called a "Table" and this is really a big upgrade on the usability of this backtester.
3c3commasbacktestbacktestingDCAdca-botsdollarcostaverageTrend Analysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad