例如:我想要設定當日10:00~10:35這區間的最高價為買進價~最低價為放空價..請問該如何表達?感謝~
if T <=1000 then begin value1 = H; value2 = L; end;
if T >1000 and T <=1035 then begin if H > value1 then value1 = H; if L < value2 then value2 = L; end;
if T >1035 then begin buy next bar value1 stop; sellshort next bar value2 stop; end;