Modified on 2015/11/13 12:58 by Eugene — Categorized as: Community Indicators


public StoneTrend(Bars bars, int period, string description)
public static StoneTrend Series(Bars bars, int period)

Parameter Description

Bars A Bars object
period Indicator lookback period


Here goes the original description:

This indicator follows a simple definition for trends. Trend goes up if there are higher highs and higher lows. Trend goes down if there are lower highs and lower lows. The indicator simply counts the "up" bars and the "down" bars during the lookback period.

The result is scaled for a range between -100 and +100. If there are only "up" bars during the lookback period, StoneTrend will return 100.

Idea by David Stone, created for WL4 by DrKoch, translated to WL6 by Eugene.


No example currently available.