[Always in strategy]
If time<>1515 and c/closed(1)>c of data(2)/closed(1) of data(2) then buy next bar at market;
If time<>1515 and c/closed(1)=1000 and time<>1515) and c crosses above average(c,50) and c/closed(1)>c of data(2)/closed(1) of data(2) then buy next bar at market;
If (time>=1000 and time<>1515) and c crosses below average(c,50) and c/closed(1)=845 and time<>1515) and c/closed(1)>c of data(2)/closed(1) of data(2) and c>highest(h,6)[1]) then buy next bar at c-.5*range limit;
If ((time>=845 and time<>1515) and c/closed(1)