龙听期货论坛's Archiver
龙听期货论坛
»
编程语言More>>||
»
MC内置策略【Pre-built Signals】
» 【EntryBar ATR Stop SX】
龙听
发表于 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]