訊號(hào)執(zhí)行有誤 [MultiCharts MC]
作者:MultiCharts MC 來(lái)源:cxh99.com 發(fā)布時(shí)間:2012年05月25日 點(diǎn)擊數(shù):
【收藏到本網(wǎng)的會(huì)員中心】
- 咨詢內(nèi)容:
時(shí)間架構(gòu)1M。回測(cè)日期2001/01/01至今。
var:myCeiling(0),myBottom(0);
if date=1010102 then begin
myCeiling=4836;
myBottom=4709;
end;
if date<>1010102 and date<>date[1] then begin
myCeiling=0; myBottom=99999;
end;
if Time<=0915 then begin
if high>myCeiling then myCeiling=high;
if low<myBottom then myBottom=low;
end;
if Time>0915 then begin
buy next bar myCeiling stop;
sellshort next bar myBottom stop;
end;
setexitonclose;===================================================
我想請(qǐng)問(wèn),為什麼我這個(gè)交易策略明明是指定0915之後開始交易,
為什麼2001/1/3交易還正常,從2001/1/4之後每天一開盤就馬上交易,而且交易邏輯從哪來(lái)我真的看不懂。
可以為我解惑嗎?謝謝。
- MC技術(shù)部:
我已經(jīng)找到問(wèn)題了,不好意思,謝謝。
編輯文章 by 追夢(mèng)人 2012-01-03 20:03:35
- 上一篇:entryprice
- 下一篇:沒(méi)有了!
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容

會(huì)員登錄/注冊(cè)