Board logo

标题: 【Stop Loss LX】 [打印本页]

作者: 龙听    时间: 2022-11-3 15:23     标题: 【Stop Loss LX】

  1. [IntrabarOrderGeneration = false]
  2. inputs: Amount( 1 ), PositionBasis( false ) ;

  3. if PositionBasis then
  4.         SetStopPosition
  5. else
  6.         SetStopShare ;

  7. if MarketPosition = 1 then
  8.         SetStopLoss( Amount ) ;
复制代码





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