龙听期货论坛's Archiver

C
+
+


 微信: QQ:

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

【Stochastic Slow SE】

[code]
inputs: Length( 14 ), OverBought( 80 ) ;
variables: var0( 0 ), var1( 0 ), var2( 0 ), var3( 0 ) ;

Value1 = Stochastic( H, L, C, Length, 3, 3, 1, var0, var1, var2, var3 ) ;

condition1 = CurrentBar > 2 and var2 crosses under var3 and var2 > OverBought ;
if condition1 then                                                     
        Sell Short ( "StochSE" ) next bar at market ;
[/code]

页: [1]