[求助]如何小于<5000元就平倉 [金字塔]
- 咨詢內容:
如何從上次開倉到現在,如何小于<5000元就平倉,如何盈利>5000元后,再回撤50%平倉。
- 金字塔客服:
if enterbars>0 and openprofit<5000 then begin
sellshort(1,0,market);
sell(1,0,market);
end
if enterbars>0 and hhv(openprofit,enterbars+1)>5000 and openprofit<hhv(openprofit,enterbars+1)*0.5 then begin
sell(1,0,market);
sellshort(1,0,market);
end
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容