PlotIndexSetInteger(0,PLOT_SHOW_DATA,false) , its for mq5 . what is Equal for mq4 ?

To add comments, please log in or register
Mehrdad Shiri
4796
Mehrdad Shiri  

PlotIndexSetInteger(0,PLOT_SHOW_DATA,false) , its for mq5 . what is Equal for mq4 ?

Petr Nosek
3024
Petr Nosek  
Mehrdad Shiri:

PlotIndexSetInteger(0,PLOT_SHOW_DATA,false) , its for mq5 . what is Equal for mq4 ?

There isn't equal function in MQL4. But if you don't want to draw a buffer in MQL4 you can use something like this:
SetIndexBuffer(bufferIndex,buffer,INDICATOR_CALCULATIONS);
SetIndexStyle(bufferIndex,DRAW_NONE);
SetIndexLabel(bufferIndex,NULL);
Mehrdad Shiri
4796
Mehrdad Shiri  
Petr Nosek:
There isn't equal function in MQL4. But if you don't want to draw a buffer in MQL4 you can use something like this:

thank you.

Alain Verleyen
38676
Alain Verleyen  
Petr Nosek:
There isn't equal function in MQL4. ...

Not quite true. Equivalent is :

   SetIndexLabel(0,NULL);
Mehrdad Shiri
4796
Mehrdad Shiri  
Alain Verleyen:

Not quite true. Equivalent is :

YES.thank you
To add comments, please log in or register