if (Close[0]>Close[1])

 

 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; // 指標出現
}
    
  
 }
 
if (Close[0]>Close[1])



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

Reason: