if (Close[0]>Close[1]) New comment [Deleted] 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; // 指標出現} } Close[0] closing price Help with code to Reference Previous bars qjol 2014.07.11 08:52 #1 if (Close[0]>Close[1]) Play videoPlease edit your post. For large amounts of code, attach it. New comment
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++)