Download MetaTrader 5
To add comments, please log in or register
Need mobile version of MetaTrader 5? Download it and trade!
Dan
31
Dan 2015.01.08 15:44 

Hey folks,

I simply wanna do the following thing:

if the bollinger bands (upper and lower band) spread out, there should be an arrow on the upper and lower Band be drawn.

For the upper band is it working, but for the lower band I'll get the array out of range error.

May one specialist here can teach me right.

Big thanks in advance!

Greez Dan 

Files:
Sergey Eremin
4190
Sergey Eremin 2015.01.08 17:50  
hilfx:

Hey folks,

I simply wanna do the following thing:

if the bollinger bands (upper and lower band) spread out, there should be an arrow on the upper and lower Band be drawn.

For the upper band is it working, but for the lower band I'll get the array out of range error.

May one specialist here can teach me right.

Big thanks in advance!

Greez Dan 

Hello!

Try add  string "#property indicator_buffers 2" into code:

 

#property copyright "me"
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
#property indicator_chart_window
#property indicator_buffers 2
extern int Bollinger_Open = 5;

...
...
Dan
31
Dan 2015.01.08 18:19  
ENSED:

Hello!

Try add  string "#property indicator_buffers 2" into code:

 

Thanks a lot!
/
To add comments, please log in or register