后臺(tái)程序化 [金字塔]
-
咨詢內(nèi)容:
OO:VALUEWHEN(DATE<>REF(DATE,1),O);//表示今日第一根K線的開(kāi)盤(pán)價(jià)
if C>=OO+1 and (TIME>=090000 and TIME<145500) and holding=0 then buy(1,1,limitr,c);//開(kāi)多
if C<=OO-1 and (TIME>=090000 and TIME<145500) and holding=0 then buyshort(1,1,limitr,c);//開(kāi)空
if C<=enterprice-4 or C>=enterprice+1 then sell(holding>0,holding,limitr,c) ;//多頭止盈止損
if C>=enterprice+4 or C<=enterprice-1 then ?sellshort(holding<0,holding,limitr,c);//空頭止盈止損
if (TIME>=145900 and TIME<200000) or (TIME>=225500) then begin //收盤(pán)前全平
sell(holding>0,holding,limitr,c);
sellshort(holding<0,holding,limitr,c);
end
怎么修改雙邊持倉(cāng)。?
-
金字塔客服:
圖表是虛擬持倉(cāng)環(huán)境,不支持鎖倉(cāng)。開(kāi)倉(cāng)前必須平反手倉(cāng)。
后臺(tái)可以
?
?來(lái)源:程序化久久網(wǎng)( www.kzuj.com.cn )
-
用戶回復(fù):
修改下后臺(tái)雙邊持倉(cāng),發(fā)過(guò)來(lái),謝謝
?
-
網(wǎng)友回復(fù):
提供你專(zhuān)業(yè)版用戶賬號(hào)信息,
http://www.weistock.com/bbs/dispbbs.asp?boardid=16&Id=57075
第三點(diǎn)參考學(xué)習(xí)
[此貼子已經(jīng)被作者于2017/4/28 15:07:48編輯過(guò)]
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容