止盈 [金字塔]
- 咨詢內容:
海龜交易模型怎樣實現時間和盈利止盈? if enterbars>10 then bein sell( _debug ,0,limitr,myexitprice)ignorecheckprice; sellshort( _debug ,0,limitr,myexitprice)ignorecheckprice; end if 現在資產>=開倉資產+5000 then bein sell( _debug ,0,limitr,myexitprice)ignorecheckprice; sellshort( _debug ,0,limitr,myexitprice)ignorecheckprice; end 按上面編寫好像不行,應該怎樣寫?
- 金字塔客服:
看字面意思是對的,你上面哪一段不行?
- 用戶回復:
按上面條件改正過來好嗎?
- 網友回復: if enterbars>10 then bein sell( _debug ,0,limitr,myexitprice)ignorecheckprice; sellshort( _debug ,0,limitr,myexitprice)ignorecheckprice; end if openprofit>=5000 then bein sell( _debug ,0,limitr,myexitprice)ignorecheckprice; sellshort( _debug ,0,limitr,myexitprice)ignorecheckprice; end
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容