Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
请教:我写的这个怎么平不了仓?
开多:BUY(开多条件,手数,MARKET);if holding=1 then x=1; if x=1 then begin if 平多条件 then begin 趋势平多:SELL(平多条件,手数,MARKET); if holding=0 then begin x=0; end end end
if holding=1 then x:=1;
x后面少个冒号就不是赋值是判断了
嗯,可以了;直接等号不也是赋值么?