Slow Stochastic Cross N Days Signal

slow_stochastic_cross_n_days_signal

Function Name: slow_stochastic_cross_n_days_signal

Tags: Stochastic

Category: Momentum

The slow stochastics is a momentum indicator, it indicates whether the market is moving to new highs, new lows, or is just meandering in the middle. It's also used as an overbought/oversold indicator.

 

- Previous Slow%K value more than previous Slow%D value and today Slow%K value less than today Slow%D value then displays "sell" signal

- Previous Slow%K value less than previous Slow%D value and today Slow%K value more than today Slow%D value then displays "buy" signal

 

Parameters:

LBPeriod: Look-back period. Number of bars to compare for highest and lowest.

SlowK_SMA_Period: Period for SMA smoothing applied on Fast %K to calculate the Slow %K.

SlowD_SMA_Period: Period for SMA smoothing applied on Slow %K to calculate the Slow %D.

ShowTraderMarks, ShowStochasticLines: Display flags.

 

Parameters

LBPeriod

 

Default Value: 14  |  Minimum: 1  |  Maximum: 1000

 

Type: Numeric

SlowK_SMA_Period

 

Default Value: 3  |  Minimum: 1  |  Maximum: 1000

 

Type: Numeric

SlowD_SMA_Period

 

Default Value: 3  |  Minimum: 1  |  Maximum: 1000

 

Type: Numeric

ShowTraderMarks

 

Default Value: -1

 

Type: Boolean

ShowStochasticLines

 

Default Value: -1

 

Type: Boolean