龙听期货论坛's Archiver

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

【Pivot Extension SE】

[code]
[IntrabarOrderGeneration = false]
inputs: Price( High ), LeftStrength( 4 ), RightStrength( 2 ) ;

condition1 = PivotHighVS( 1, Price, LeftStrength, RightStrength, RightStrength + 1 ) <> -1 ;
if condition1 then
        Sell Short ( "PivExtSE" ) next bar at market ;

[/code]

页: [1]