Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 is an object-oriented language?
jasonchou
14
jasonchou 2014.07.11 06:40 

 hi~

how come it shows me signal on every bar??

I want it to show me signal when current bar is higher than previous bar  

where is the problem? 

 

thanks 

 

for(int i=0;i<500;i++)
{


if (Close[0]>Close[1])
{
Label4Buffer[i]=High[i]+100*Point; // 指標出現
}
    
  
 }
qjol
3243
qjol 2014.07.11 08:52  
if (Close[0]>Close[1])



Play video
Please edit your post.
For large amounts of code, attach it.

/
To add comments, please log in or register