Hello, I’m trying to add Bollinger bands into my code, I have used the “insert function” tab to add the upper and lower band into my code. It gives the option to select the period in brackets. How can I adjust the standard deviation?
if mastrategy then //moving average trade entry
macrossbuy = open crosses over BollingerUp[20](close)
macrosssell = open crosses under BollingerDown[20](close)
I want the bot to take a buy trade when the price crosses over the upper bollinger, and a sell trade when the price crosses under the the lower bollinger.
I need to be able to adjust both the the bollinger band period and standard deviation.
thanks