Im looking to get the the StdDev cross of the upper bollinger band on my ea like the picture bellow:
So far i wrote this code but i cant get the upper bollinger band(always return 0) value to compare the variables... Could anyone point me in the right direction?? Thank You
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello,
Thank you in advance for looking this up.
Im looking to get the the StdDev cross of the upper bollinger band on my ea like the picture bellow:
So far i wrote this code but i cant get the upper bollinger band(always return 0) value to compare the variables... Could anyone point me in the right direction?? Thank You
I also have this results from the terminal when running the code...
2015.06.24 17:18:13.959 2013.11.20 18:24 SESSIONS EURUSD,M30: StdDevBuffer for 3 = 0.0005
2015.06.24 17:18:13.959 2013.11.20 18:24 SESSIONS EURUSD,M30: BandsStdDevBuffer for 2 = 0
2015.06.24 17:18:13.959 2013.11.20 18:24 SESSIONS EURUSD,M30: StdDevBuffer for 2 = 0.0004
2015.06.24 17:18:13.959 2013.11.20 18:24 SESSIONS EURUSD,M30: BandsStdDevBuffer for 1 = 0
2015.06.24 17:18:13.959 2013.11.20 18:24 SESSIONS EURUSD,M30: StdDevBuffer for 1 = 0.0004
2015.06.24 17:18:13.959 2013.11.20 18:24 SESSIONS EURUSD,M30: BandsStdDevBuffer for 0 = 0
2015.06.24 17:18:13.959 2013.11.20 18:24 SESSIONS EURUSD,M30: StdDevBuffer for 0 = 0.0007