TrendStrengthC Indicator Documentation
Syntax
public TrendStrengthC(DataSeries ds, int periodStart, int periodEnd, int step, string description)
public static TrendStrengthC Series(DataSeries ds, int periodStart, int periodEnd, int step)
Parameter Description
ds | Data series |
periodStart | Beginning SMA period |
periodEnd | Ending SMA period |
step | Step of SMAs |
Description
TrendStrengthC created by Jose Cruset.
Looks how trendy a series is by analyzing the direction of various SMAs. It counts the rising and falling SMAs. Afterwards, the number (no. of rising minus no. of falling SMAs) is normalized in a range of -100 to +100. All SMAs from PeriodStart to PeriodEnd (in steps of the Step parameter) are used for this indicator.
The idea behind: The more SMAs are rising (or falling) the strengther is the trend of the price series. If some SMAs are rising and some others are falling no exact trend direction can be defined. So, the indicator gives us a value of
how many SMAs are rising or falling:
+ 100 | All SMAs are rising |
> 0 | Most SMAs are rising |
0 | Half of the SMAs are rising, the other half is falling |
< 0 | Most SMAs are falling |
- 100 | All SMAs are falling |
Usually, values above 60 (below -60) indicate a strong up- (down-) trend whereas values in between indicate a sideways market. The results depend on the period-range used for the SMAs. The broader the range (e.g. 20-200) the more significance does the indicator have.
Example
Since the idea is similar to
TrendStrengthA, please refer to that example.