求按以下文字編寫程序化模型!非常感謝~ [金字塔]
- 咨詢內(nèi)容:
動用資金:100萬股指 第一次開倉按照市價(2250)開倉做多1手,每下跌50點開1手多單,回升50點平倉前一次開倉手?jǐn)?shù)。依次循環(huán)!
- 金字塔客服:
處理中,請稍等
- 用戶回復(fù):
請問處理好了嘛?
- 網(wǎng)友回復(fù):
N:=2250;
variable:kk=0;
if kk=0 and c<=2250 then begin
buy(1,1,market);
kk:=1;
end
if kk=1 and c<=2250-50 then begin
buy(1,1,market);
kk:=2;
end
if kk=1 and c<=2250-50*2 then begin
buy(1,1,market);
kk:=3;
end
.
.
.
.
..
.
一直寫到打算降到多少個50點
if c>=enterprice+50*mindiff then begin
sell(1,1,market);
end
- 網(wǎng)友回復(fù): 公式測試沒問題,但是程序到這個點位開不了倉?謝謝!
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容