In Pine Editor -> Open "Gunbot Stepgain Tuner" -> Add To Chart -> On Indicator -> Format -> Input your desired settings to test.
Pink = Sell Level
Orange = Buy Protection Level
Yellow = Slow MA
Blue = Fast MA
Green = 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!
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.
Implemented Auto Period so you no longer have to switch it when you change period in chart.
Improved response time of TrendWatcher (next update will incorporate SMA features).
Changed prices to use the average of High & Low to better match Gunbot's Bid Ask prices.
Improved plotting for BUY_LEVEL now shows only when there is currently nothing bought unless switched on.
Improved plotting for BUYLVL now shows only when there is currently nothing bought unless switched on.
Improved plotting for SELLLVL now shows fixed line above bought price and only after bought unless switched on.
Improved Date Range now automatically uses current dates unless Enable Date Range override switched on.
TIPS: Starting out if you don't see many trades lower STOPLIMIT to 5 and BUYLVL to 1 to test with until you are familiar with how this works.
Red = Sell Level (default on when waiting to sell)
Orange = Buy Protection Level (default on when waiting to buy)
Blue/Yellow = FLow MA (default on, lowest of 2 EMA's & auto switches color to the one it represents)
Yellow = Slow MA (default off)
Blue = Fast MA (default off)
Green = Buy Level (default on when waiting to buy)
If you would like to buy me a refreshing beverage :)...
LTC (preferred): LTDaAe7nPzbpBhZVT9o5f9f8M3aZSPa46Y
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.
Warning: please read before requesting access.