|
syntax error, 'If' condition must be followed by a logical expression
line 7, column 0
----------------------------------------------------------------------------------
input:len1(40),len2(3);
vars:VH(0);
value1=BollingerBand(close,len1,len2);
value2=Average(close,len1);
value3=BollingerBand(close,len1,-len2);
if data[0]<>data[1] then begin VH=99999;
end;
If time>0900 and time<1300 and EntriesToday(data)<=0 then begin;
If L<value2 then VH=H;
IF value2-value3>10 and value2-value3<50 and value2-value2[1]<0 then buy next bar next bar at VH+1 stop;
end;
|
|