From: 小肥牛

inputs: Length( 18 ), OverSold( 40 ) ;
variables: OverBought(60), oFastK( 0 ), oFastD( 0 ), oSlowK( 0 ), oSlowD( 0 );

OverBought = 100 - OverSold;
Value1 = Stochastic( H, L, C, Length, 3, 3, 1, oFastK, oFastD, oSlowK, oSlowD ) ;

if oSlowK cross over oSlowD and oSlowK < OverSold then begin
    Buy ( "StochLE" ) next bar at market ;
end;

if oSlowK cross under oSlowD and oSlowK > OverBought then begin
    Sell Short ( "StochSE" ) next bar at market ;
end;

創作者介紹

追求財富是為了完成夢想,而非夢想擁有財富

JinShiang 發表在 痞客邦 PIXNET 留言(0) 人氣()