rouxam

Backtesting 3commas DCA Bot v2

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

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?