我要多单当天限一笔~但有的不行!!!??? [MultiCharts MC]
- 咨询内容:
inputs:jump(50);
vars:openlow(0),openhigh(0),longcount(0); if d<>d[1] then longcount=0; if time=0850 then begin openlow=Low(0); openhigh=high(0); end; if closed(1)-opend(0)>jump and time>0850 and time <1300 and longcount=0 then buy next bar at openhigh stop; if marketposition=1 then begin longcount=1; sell next bar at openlow stop; end; setexitonclose; - MC技术部:
那一天有问题? 几分K
我用一分K 看60天 都没问题耶~
第2篇 - MC技术部:
像2008/10/23
我在想如果是NEXT BAR同时有碰到openlow 和openhigh则会出问题,不知道是不是?
我用5分K
inputs:jump(50); vars:openlow(0),openhigh(0),longcount(0); if d<>d[1] then longcount=0; if time=0850 then begin openlow=Low(0); openhigh=high(0); end; if closed(1)-opend(0)>jump and time>0850 and time <1300 and longcount=0 then buy next bar at openhigh stop; if marketposition=1 then longcount=1; sell next bar at openlow stop; setexitonclose; 编辑文章 by ching000 2012-04-24 11:46:34 - MC客服:
像2008/10/23
我在想如果是NEXT BAR同时有碰到openlow 和openhigh则会出问题,不知道是不是?
我用5分K
inputs:jump(50); vars:openlow(0),openhigh(0),longcount(0); if d<>d[1] then longcount=0; if time=0850 then begin openlow=Low(0); openhigh=high(0); end; if closed(1)-opend(0)>jump and time>0850 and time <1300 and longcount=0 then buy next bar at openhigh stop; if marketposition=1 then longcount=1; sell next bar at openlow stop; setexitonclose; 编辑文章 by ching000 2012-04-24 11:46:34
- 上一篇:手动丢单没有显示在图面上?
- 下一篇:读取别的Instrument之收盘价
相关文章
-
没有相关内容

会员登录/注册