求按以下文字編寫程序化模型!非常感謝~ [金字塔]
- 咨詢內容:
如果大于20日平均成交量,開多如果小于20日平均成交量,空開如果有盈利的情況下,與開倉價相比回撤2%止盈。
- 金字塔客服:
if vol>ma(vol,20) then buy(holding=0,1,market);
if vol<ma(vol,20) then buyshort(holding=0,1,market);
if h-enterprice>0 and ((hhv(h,enterbars+1)-enterprice)-(h-enterprice))/(hhv(h,enterbars+1)-enterprice)>=0.02 and holding>0 then sell(1,0,market);
if enterprice-l<0 and ((enterprice-llv(l,enterbars+1))-(enterprice-l))/(enterprice-llv(l,enterbars+1))>=0.02 and holding<0 then sellshort(1,0,market);
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容