rouxam

Backtesting 3commas DCA Bot v2

rouxam Zaktualizowano   
Updating previously published simulated 3commas DCA logic with a sexier insert and more meaningful default parameters.
Informacje o Wersji:
Added possibility to use the RSI as buy signal
Informacje o Wersji:
Large Revamp:
- Added Label with warning and summary
- Added Stop Loss support
- Improved time inputs
- General bug fixes
Informacje o Wersji:
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)
Informacje o Wersji:
Quick amend previous commit:
- Improved currency formatting
Informacje o Wersji:
more realistic amount of BTC (divided amount of BTC by 1000 because who owns 2000 BTC ?!)
Informacje o Wersji:
Fixed stop loss, reordered input as per 3c bot setup, fix max deviation calculation, add list of bot parameters on label printout
Informacje o Wersji:
- Fix quantities calculation
- Default to RSI-7 < 30 for buy signal
Informacje o Wersji:
amend previous commit
Informacje o Wersji:
- fix RSI start condition (Below; not crossover)
- set RSI default timeframe to 15
- small rework on the warning/results labels
Informacje o Wersji:
- Fixed Stop Loss triggers. Thank you @RealSaim for testing and reporting !
Informacje o Wersji:
- more meaningful default inputs
- Slightly more sexy snapshot
Informacje o Wersji:
New feature:
- Add a counter of total deals
Informacje o Wersji:
New Feature:
- Add nb of deals closed on hitting Stop Loss
Informacje o Wersji:
added support for Take Profit Type "% From Total Volume" or "% From Base Order "
Informacje o Wersji:
After getting the request from many of you, here it is:
- YOU CAN NOW BACK-TEST SHORT BOTS !
Informacje o Wersji:
new update includes:
- refactored closing deal code
- add comparison of DCA bot performance to simple Buy and Hold.
Informacje o Wersji:
Fix Trailing TP logic for short bot
Informacje o Wersji:
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
Informacje o Wersji:
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
Informacje o Wersji:
Fix bug on deal closure
Renamed "TA Preset" to "TV Preset"
Informacje o Wersji:
fixed typo
Informacje o Wersji:
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.
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?