Syntax
public Stiffness(DataSeries ds, int maPeriod, int stiffPeriod, double devs, string description)
public static Stiffness Series(DataSeries ds, int maPeriod, int stiffPeriod, double devs)
Parameter Description
ds | DataSeries |
maPeriod | Moving average period |
stiffPeriod | Stiffness period |
devs | Number of standard deviations |
Description
The Stiffness is featured in a Markos Katsanos article from
November 2018 issue of Technical Analysis of Stocks & Commodities magazine. According to author,
it attempts to recognize strong price trends by counting the number of times price was above a moving average during the indicator period. The premise is the
fewer number of times price penetrates the MA, the stronger the trend. This suggests less erratic future price movement as well.Example
Refer to: