if RSI(14)<20 then sellshort("S") next bar at market;
if RSI(14)>80 then buy("B") next bar at market;
end;
if marketposition=1 then begin
sell next bar entryprice -0.3 stop;
sell next bar entryprice +0.6 limit;
end;
if marketposition=-1 then begin
buytocover next bar entryprice +0.3 stop;
buytocover next bar entryprice -0.6 limit;
end;
這樣寫的話,問題出在哪裡?
|