龙听期货论坛's Archiver

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

【Parabolic SE】

[code]
[IntrabarOrderGeneration = false]
inputs:  AfStep( 0.02 ), AfLimit( 0.2 ) ;
variables:  var0( 0 ), var1( 0 ), var2( 0 ), var3( 0 ) ;

Value1 = ParabolicSAR( AfStep, AfLimit, var0, var1, var2, var3 ) ;

if var2 = 1 then
        Sell Short ( "ParSE" ) next bar at var1 stop ;

[/code]

页: [1]