龙听期货论坛's Archiver

C
+
+


 微信: QQ:

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

【Profit Target LX】

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

if PositionBasis then
        SetStopPosition
else
        SetStopShare ;

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

页: [1]