老師請幫助我 [金字塔]
- 咨詢內(nèi)容:
此主題相關圖片如下:8wop})t2$$qtw4pizspm@a.png
老師,我想寫個穿越開倉,分時線上穿越黃色的均線,就開倉多單,分時線下穿越黃色的均線就開倉空單, - 金字塔客服:
日內(nèi)交易,收盤平倉,
- 用戶回復:
n1:=todaybar;
dm:=4-INTPART(LOG(C));
ss:=ROUNDS(IF(sum(vol,n1)=0,C,sum(C*vol,n1)/sum(vol,n1)),2+dm);if cross(close,ss) then begin
sellshort(1,0,thisclose);
buy(holding=0,1,thisclose);
end
if cross(ss,close) then begin
sell(1,0,thisclose);buyshort(holding=0,1thisclose);
end
- 網(wǎng)友回復:
謝謝老師,
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯(lián)系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內(nèi)容