想請問一下各位大大~ 程式這樣~他為什麼 在0850就會有動作~
感覺他沒有引用到 value3 可以幫我看一下嗎?~謝謝大大的指導
if Date <> date[1] then dbar = 0;
dbar=dbar +1;
Value2=Minlist(dbar,10);
value3= pivothighvs(1,high,5,5,value2);
if marketposition = 0 and time>=0845 and time <=1315 then begin
if high > value3 then
buy next bar at value3 stop;
end; |