求按以下文字編寫程序化模型!非常感謝~ [金字塔]
- 咨詢內(nèi)容:
動用資金:100萬股指 第一次開倉按照市價(2250)開倉做多1手,每下跌50點開1手多單,回升50點平倉前一次開倉手數(shù)。依次循環(huán)!
- 金字塔客服:
處理中,請稍等
- 用戶回復:
請問處理好了嘛?
- 網(wǎng)友回復:
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)友回復: 公式測試沒問題,但是程序到這個點位開不了倉?謝謝!
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯(lián)系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內(nèi)容