Board logo

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

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

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

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

  7. SetStopLoss( Amount ) ;
复制代码





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