标题:
【Percent Stop SX】
[打印本页]
作者:
龙听
时间:
2022-11-3 15:03
标题:
【Percent Stop SX】
inputs: StopLossPct( .05 ) ;
SetStopShare ;
if MarketPosition = -1 then
SetStopLoss( EntryPrice * StopLossPct )
else
Buy To Cover ( "PctStopSX-eb" ) next bar at Close * ( 1 + StopLossPct ) stop ;
复制代码
欢迎光临 龙听期货论坛 (http://www.qhlt.cn/)
Powered by Discuz! 7.2