INVITE-ONLY SCRIPT

Gunbot BB Tuner

מעודכן
Gunbot BB Tuner

Simulation of Gunbot Pure BB strategy useful for fine tuning settings and backtesting. Set chart period (5min, 15min, etc...) to match what you will enter as period in strategy.

In Pine Editor -> Open "Gunbot BB Tuner" -> Add To Chart -> On Indicator -> Format -> Input your desired settings to test.

Yellow = Bollinger Bands

Red = High BB (Sell)

Green = Low BB (Buy)

NOTICE: By requesting access to this script you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
הערות שחרור
Changed default backtest setting from 100% Equity to Fixed Trade Amount to better reflect Gunbot's behavior. Thanks to Gesundheit "Adeel" for showing me how to fix this!
הערות שחרור
Fixed typo mismatched amount between Initial Capital and Order Size. These need to be equal.
הערות שחרור
Removed the need to define the period. The bands will now adapt automatically to whichever candles (5min, 15min, etc...) you select in the chart.
הערות שחרור
Added ability to select date range to be backtested. Previously when you changed chart period it changed the number of days being backtested which meant as you increased the chart period (for example from 5min to 15min) you also increased the number of days traded, so you could not compare apples to apples which period would yield best returns. Now you can. Simply input the From and To dates and then change the chart period to view updated results.

NOTE: There is a limit in backtesting to 2000 orders, so please be aware of this when setting your date ranges. If you set your range too high, you may be exceeding this limit on some periods and not on others, so this would yield incorrect comparison of returns per period. If you see in your backtesting results that you are nearing this limit for one of your periods you are testing, then reduce the date range to a smaller number of days.
הערות שחרור
Changed default settings to higher trade amounts to allow for USDT-BTC pairs without the need for adjusting, and also removed need for setting present date if backtesting up to current moment in time.
הערות שחרור
Revision 7

Major update for future compatibility with Gunbot 10.

Updated variable names to match Gunbot versions 9 and 10.

Added TRADING_FEES, BUY_LEVEL, GAIN, EMA1, and EMA2 for higher accuracy.

Now uses the same superior calculations and plotting as my "Gunbot Deluxe Tuners" script.

Remember to enter TRADING_FEES value also into Format -> Properties -> Commission, it is needed in both fields.

Added short title "BBr7" to indicator that appears on screen for faster visual checking that you have the latest version.

To insure you are using latest version look at very bottom of Format -> Inputs settings. It should say "BB: Rev 7".

If you do not see "BB: Rev 3" then delete the indicator from all charts including any saved charts (save each saved chart after removing). Refresh browser and then reload the indicator.
הערות שחרור
Typo above, last line should read...

If you do not see "BB: Rev 7" then delete the indicator from all charts including any saved charts (save each saved chart after removing). Refresh browser and then reload the indicator.
BBBollinger Bands (BB)gunbot

סקריפט להזמנה בלבד

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

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

הוראות המחבר

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

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

lux ex tenebris • deuro mea umbra absens • Telegram: t.me/allanster
גם על:

כתב ויתור