Hi guys I have written down this code in tradestation.I get the ouptput but the problem is it doesnt give a proper output.
My code is
INPUT:COUNT(9),BARSBACK(4);
VAR:COUNTER(0),Z(0);
IF C<=C[BARSBACK] THEN COUNTER=COUNTER+1 ELSE COUNTER=0;
IF COUNTER=COUNT THEN BEGIN
FOR Z=1 TO COUNT...