Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
if todaybar=1 and ref(平多条件,1) then begin
buy(holding=0,1,market);
end
if todaybar=1 and ref(平空条件,1) then begin
buyshort(holding=0,1,market);
tt:=todaybar;
if tt=1 then begin.........
如果是逐k线模式,就按照上面的样子改,先用一个变量赋值todaybar就行