Log in to see Cloud of Tags

Wealth-Lab Wiki

Syntax

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

Description

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.

Example

No example currently available.

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.


ScrewTurn Wiki. Some of the icons created by FamFamFam.