智能交易評(píng)測(cè)時(shí)缺少交易 [飛狐交易師]
>
- 咨詢內(nèi)容:
在做指標(biāo)的智能交易評(píng)測(cè)時(shí),部分K線缺少交易,語句如下:
If open>ref(close,1) Then Buy? this bar OpenD;
If close<=ref(close,1) Then Sell this Bar close;
If close<=ref(close,1) Then Sell Short this Bar close;
If open>ref(close,1) Then BuyToCover this bar OpenD;圖中黃圈處缺少交易,無法以當(dāng)天的收盤價(jià)買入。
- 網(wǎng)友回復(fù): 說錯(cuò)了 應(yīng)該是系統(tǒng)無法以黃圈處K線的開盤價(jià)買進(jìn)。
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 或微信:cxhjy888 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容