加了,limitr,close+2*mindiff [金字塔]
- 咨詢內(nèi)容:
老師如下程序加了,limitr,close+2*mindiff,測(cè)試不通過(guò)講參數(shù)出錯(cuò).請(qǐng)給更改謝謝
平空:SELLSHORT(PK OR EXITTIME,lots,limitr,close+2*mindiff,); //平空信號(hào)開(kāi)多:BUY(KD AND HOLDING=0 and aXITTIME,lots,limitr,close+2*mindiff,); //開(kāi)多信號(hào)平多:SELL(PD OR EXITTIME,lots,limitr,close-2*mindiff,); //平多信號(hào)開(kāi)空:BUYSHORT(KK AND HOLDING=0 and aXITTIME,lots,limitr,close-2*mindiff,); - 金字塔客服:
把編譯報(bào)錯(cuò)截圖說(shuō)明一下
截圖方法http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=31614&page=3
- 用戶回復(fù):
如下代碼更改為多平空用limitr,close+2*mindiff
開(kāi)空平多用limitr,close-2*mindiff
平空:SELLSHORT(PK OR EXITTIME,lots,LIMITR,OPEN,1); //平空信號(hào)開(kāi)多:BUY(KD AND HOLDING=0 and aXITTIME,lots,LIMITR,OPEN,1); //開(kāi)多信號(hào)平多:SELL(PD OR EXITTIME,lots,LIMITR,OPEN,1); //平多信號(hào)開(kāi)空:BUYSHORT(KK AND HOLDING=0 and aXITTIME,lots,LIMITR,OPEN,1); //開(kāi)空信號(hào)
- 網(wǎng)友回復(fù):
把逗號(hào)1去掉就行了
- 網(wǎng)友回復(fù): 具體怎弄請(qǐng)幫編寫完善謝謝
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容