thebettertraders

3Commas DCA Backtester + TBO

thebettertraders מעודכן   
3Commas DCA bot users rejoice! Have you ever wanted to know how your 3Commas DCA bot would have performed with slightly different settings? Or a different deal start condition? Another safety trade? We've combined the logic of 3Commas DCA Bots with TradingView's powerful strategy backtester to FINALLY help 3Commas users backtest their bot settings.

There are several things to be aware of with this strategy:
  • There is no bot assistant in TradingView, so you'll have to enter in your funds for bot trading in the "Initial capital" section in the Properties tab of the settings.
  • Even though you can use simultaneous deals with this strategy, there is no way on TradingView to collectively backtest multiple trading pairs with a single instance of this strategy.
  • We have created all of the available deal start conditions natively available in 3Commas DCA Bots PLUS the TBO and its trigger symbols (Open Long, Close Long, Cross Up, Breakout, Open Short, Close Short, Cross Down, Breakdown). The strategy uses ASAP (as soon as possible) by default.
  • 3Commas DCA Bots use a built-in AND logic for the deal start conditions, meaning that deals will only start when ALL deal start conditions are true. This logic is included in the strategy, however we also provided the option to use OR logic, which will trigger a deal if any of the selected deal start conditions have been met.
  • Use your own indicators by selecting the "external" option under deal start conditions.
  • Cooldown between deals cannot use seconds as this is a limitation in TradingView (the strategy will only run on the current timeframe you are viewing), so this has been changed to "next bar."
  • Customize your backtests in our look back section. Select a specific start and end date for your back test results.
  • Use the strategy to send alerts directly to your 3Commas bots by providing your bot ID numbers and your email token (found in the JSON code when viewing your bot's overall settings).

Some things to keep in mind while using the back tester:
  • Enable Buy & Hold Equity to compare your bot strategy and settings.
  • The back tester can't guarantee future results based on past performance.
  • Stop losses will result in poor performance. Take advantage of DCA strategy and use safety trades.

Settings for the strategy shown are:

Bot type: Long
Take Profit type: % Quote
Base order: 25
Safety order: 50

Deal Start Conditions:
Custom - OR
TBO Breakout
15m Strong Buy
1h Strong Buy
4h Strong Buy

Target Profit: 4
Max Active Safety Trades: 2
Price deviation in %: 8
Safety order volume scale: 2
Safety order step scale: 2

Simultaneous deals per same pair: 3

Lookback:
2020-05-11
9999-01-01
הערות שחרור:
Updated crossover/under to < and >.
הערות שחרור:
Updated the script name.
הערות שחרור:
Removed built-in take profit triggers.
הערות שחרור:
Enabled negative integers for the EXTERNAL deal start condition
הערות שחרור:
Fixed 3Commas triggers/alerts.
הערות שחרור:
Fixed issue with MFI and CCI deal start condition settings.
הערות שחרור:
We apologize for the confusion about the settings above. They are not realistic or accurate. You can blame Moonin Papa for that one 😊

Please modify the following parameters to get a better representation of DCA bot performance using a Single-pair bot on 3Commas:

Change %Quote to just Quote (non-compounding)
Change the Target Profit % to 2
Change the Safety Deviation % to 14
Change the Simultaneous Deals to 1

While there will be some "hanging deals" that take weeks to close, these bot settings can handle large drops in price and continue running.
הערות שחרור:
TradingView updated how pine scripts compile, thus causing an error for this strategy.
הערות שחרור:
  • Fixed "hanging" deals issue.
  • Fixed TradingView signals.
  • Fixed RSI filter for TBO signals.

The settings shown in the above chart are:
Base Order: 100
Safety Order: 200
Safety Deviation Spread: 5.5
Take Profit: 2
Available Safety Orders: 3
Volume and Safety Scale: 2
Deal Start Condition: ULT 40
הערות שחרור:
Minor code improvements.
הערות שחרור:
We've updated the label "Simultaneous deals per same pair" to "Open deals & stop". This new name accurately reflects its function, which is to initiate and stop deals, rather than monitoring simultaneous deals for the same pair.
הערות שחרור:
  • "TP @ Signal" added. Options: "RSI > 70", "CCI > 100", "▲ OPEN LONG", "◆ CLOSE SHORT", "✖ CROSS UP", "⇧ BREAKOUT", "▼ OPEN SHORT", "◆ CLOSE LONG", "✖ CROSS DOWN" or "⇩ BREAKDOWN".
הערות שחרור:
  • Fix: DCA base order conditions using OR option.
  • Informative tooltips added to the take profit entries.

Please email your questions to support@thebettertraders.com
סקריפט להזמנה בלבד

הגישה לסקריפט זה מוגבלת למשתמשים שהוסמכו על ידי הכותב ובדרך כלל דורשת תשלום. אתה יכול להוסיף אותו למועדפים שלך, אך תוכל להשתמש בו רק לאחר שתבקש אישור ותקבל אותו מהמחבר שלו. צור קשר עם thebettertraders לקבלת מידע נוסף, או עקוב אחר הוראות המחבר בהמשך.

TradingView אינה מציעה לשלם עבור סקריפט ולהשתמש בו עד ש- 100 % אתה סומך על המחבר שלו ומבין איך עובד הסקריפט. במקרים רבים ניתן למצוא למצוא חלופה טובה עם קוד פתוח בחינם ב בסקריפטי הקהילה שלנו.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

הוראות המחבר

Get access here: www.thebettertraders.com/club

רוצה להשתמש בסקריפ זה בגרף?

אזהרה: אנא קרא את לפני שתבקש גישה.