這一單盈利了,下一單就不開倉,請問怎么寫? [金字塔]
- 咨詢內容:
RT
- 金字塔客服:
然后再下一單繼續開倉
- 用戶回復:
variable:n=0;
if 平倉條件 and 持倉判斷 then begin
平倉語句;
if numprofit(1)>0 then n:=1;
end
if 開倉條件 and 持倉判斷 and n=1 then begin
n:=0;
end
if 開倉條件 and 持倉判斷 and n=0 then begin
開倉語句;
end
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 1145508240 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容