Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
图表用浮动盈亏openprofit来计算
if openprofit<-5000 then 开仓语句;
类似这样的,这个函数不麻烦的。。。
variable:nn=0;
if 平仓条件 and 持仓判断 and openprofit<0 then begin
平仓语句;
nn:=nn+openprofit;
end
if time>=151500 then
nn:=0;