Board logo

标题: 【Profit Target LX】 [打印本页]

作者: 龙听    时间: 2022-11-3 15:19     标题: 【Profit Target LX】

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

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

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





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