我要多單當天限一筆~但有的不行!!!??? [MultiCharts MC]
作者:
MultiCharts MC 來源:
cxh99.com 發(fā)布時間:2012年05月14日 點擊數(shù):
【
收藏到本網(wǎng)的會員中心】
- 咨詢內(nèi)容:
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技術(shù)部:
那一天有問題? 幾分K
我用一分K 看60天 都沒問題耶~
第2篇
- MC技術(shù)部:
像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