Modified on 2015/06/08 07:38 by Eugene — Categorized as: Community Indicators

TrendStrengthC Indicator Documentation


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

dsData series
periodStartBeginning SMA period
periodEndEnding SMA period
stepStep of SMAs


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
> 0Most SMAs are rising
0Half of the SMAs are rising, the other half is falling
< 0Most SMAs are falling
- 100All 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.


Since the idea is similar to TrendStrengthA, please refer to that example.