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