Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共4 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:请老师帮忙!急!

1楼
a290380438 发表于:2012/10/15 18:17:47

 

  

把914

 

下:

time1:= time>090300 and time<112700 or (time>133300 and time<145700);

time:= time> 112700 and time<113000 or (time>145700 and time<150000);

if c>均线 and time1 then begin

sellshort();

buy();

end//价在均线上平空开多

 

if c<均线 and time1  then begin

sell();

buyshort();

end//价在均线下平多开空

 

if c<0.99*enterprice and holding>0 then sell();//1%多头止损

if c>enterprice*1.01 and holding<0 then sellshort();//1%空头止损

 

if time2 then begin//收盘前平仓

sell();

sellshort();

end

 


2楼
jzt3321 发表于:2012/10/15 23:34:45

这帖子见过无数次了,也给过答复 懒得再理你了

3楼
a290380438 发表于:2012/10/17 16:09:59
,
4楼
lichenghu 发表于:2012/10/17 16:19:51

时间限制 和止损都出掉?

 

共4 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.03125 s, 3 queries.