請老師幫忙寫個程序 [金字塔]
- 咨詢內(nèi)容:
1,均線交叉類,10日金叉20日做多,10日死叉20日做空
2價格突破類,突破4日高點做多,跌破3日低點做空
謝謝老師
- 金字塔客服:
處理中,請稍等
- 用戶回復(fù):
用在什么周期交易?
- 網(wǎng)友回復(fù):
日線級別的
- 網(wǎng)友回復(fù):
ma10:ma(c,10);
ma20:ma(c,20);
jc:cross(ma10,ma20);
sc:cross(ma20,ma10);
if jc then BEGIN
sellshort(holding<0,holding,market);
buy(holding=0,1,market);
end
if sc then BEGIN
sell(holding>0,holding,market);
buyshort(1,1,market);
endhh:hhv(h,4);
ll:llv(l,3);
if h>=hh then begin
sellshort(holding<0,holding,market);
buy(holding=0,1,market);
end
if l<=ll then begin
sell(holding>0,holding,market);
buyshort(1,1,market);
end
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容