K線價格站上100日均線 開多 跌破開空 如此循環(huán) 這個程序化怎么寫啊? [金字塔]
- 咨詢內(nèi)容:
K線價格站上100日均線 開多 跌破開空 如此循環(huán) 這個程序化怎么寫啊?
- 金字塔客服:
ma100:ma(c,100);
jc:cross(c,ma100);
sc:cross(ma100,c);
buy(jc and holding=0,1,market);
buyshort(sc and holding=0,1,market); - 用戶回復(fù):
ma100:=ma(c,100);
if cross(c,ma100) then begin
sellshort(1,0,market);
buy(holding=0,1,market);
end
if cross(ma100,c) then begin
sell(1,0,market);
buyshort(holding=0,1,market);
end
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容