Gunbot BB StepGain Tuner

Simulation of Gunbot BB Stepgain strategy useful for fine tuning settings and backtesting.

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

Red = Stepgain Sell Level

Green = BB Buy Level

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!
Release Notes: Changed default settings to higher trade amounts to allow for USDT-BTC pairs without the need for adjusting amounts. Changed stepgain sell level in Inputs to increment by 0.1 instead of 1.0 to make it easier to dial in more precise levels and also removed need for setting present date if backtesting up to current moment in time.
Release Notes: Revision 3

Major update for future compatibility with Gunbot 10.

Updated variable names to match Gunbot versions 9 and 10.

Added all 3 "slots" for SELLLVL1-3 and also added SELLLVL selector.

Added TRADING_FEES, BUY_LEVEL, 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 "BBSGr3" 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 "BBSTEPGAIN: Rev 3".

If you do not see "BBSTEPGAIN: 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.

Telegram: • Gunbot Tuners:

If you would like to buy me a refreshing beverage :)...

LTC (preferred): LTDaAe7nPzbpBhZVT9o5f9f8M3aZSPa46Y

BTC: 13LhkeXBYrRomVAqbXcoLXHuqMk6Mf7G6N
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact allanster for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Warning: please read before requesting access.