龙听期货论坛's Archiver

龙听 发表于 2022-11-3 14:31

【EntryBar ATR Stop SX】

[code]
[IntrabarOrderGeneration = false]
inputs: ATRLength( 5 ), NumATRs( 1 ) ;

if MarketPosition <> -1 then
        Buy To Cover ( "EbAtrSX" ) next bar at Close + AvgTrueRange( ATRLength ) *
         NumATRs stop ;
[/code]

页: [1]