zj_if00
if currenttime>092500 and currenttime<093000 then begin
tsell(1,1,mkt);
tsellshort(1,1,mkt);
end
if currenttime>092500 and currenttime<093000 then begin
tsell(1,1,mkt);
tsellshort(1,1,mkt);
end
if currenttime>092500 and currenttime<093000 then begin
sell(1,1,marketr);
sellshort(1,1,marketr);
end
这样可以吗?
if (currenttime>092500 and currenttime<093000 and islastbar )or (not(islastbar)then begin
sell(1,1,marketr);
sellshort(1,1,marketr);
end
图表这样可以吗?
双策略就能对锁的。
if (currenttime>092500 and currenttime<093000 and islastbar )or (not(islastbar)then begin
sell(1,1,marketr);
sellshort(1,1,marketr);
end
图表这样可以吗?
if (currenttime>092500 and currenttime<093000 and islastbar ) or todaybar=1 then begin
sell(1,1,marketr);
sellshort(1,1,marketr);
end
这个需要本地时间和交易所时间一致
谢谢。
if (dynainfo(207)>092500 and dynainfo(207)<093000 and islastbar ) or todaybar=1 then begin
sell(1,1,marketr);
sellshort(1,1,marketr);
end
图表这样可以吗?