Board logo

标题: 【Percent Stop SX】 [打印本页]

作者: 龙听    时间: 2022-11-3 15:03     标题: 【Percent Stop SX】

  1. inputs: StopLossPct( .05 ) ;                              

  2. SetStopShare ;
  3. if MarketPosition = -1 then
  4.         SetStopLoss( EntryPrice * StopLossPct )
  5. else
  6.         Buy To Cover ( "PctStopSX-eb" ) next bar at Close * ( 1 + StopLossPct ) stop ;
复制代码





欢迎光临 龙听期货论坛 (http://www.qhlt.cn/) Powered by Discuz! 7.2