龙听期货论坛's Archiver

龙听 发表于 2022-11-3 15:23

【Stop Loss LX】

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

if PositionBasis then
        SetStopPosition
else
        SetStopShare ;

if MarketPosition = 1 then
        SetStopLoss( Amount ) ;
[/code]

页: [1]