VerticalHorizontalFilter


Summary

The Vertical Horizontal Filter indicator measures the level of trend activity.

Syntax

public VerticalHorizontalFilter VerticalHorizontalFilter(DataSeries source, int periods)

Parameters

NameDescription

Example 1

//...
private VerticalHorizontalFilter VHFilter;
//...
protected override void Initialize()
{
    VHFilter = Indicators.VerticalHorizontalFilter(Source, Periods);
    //...
}        
public override void Calculate(int index)
{
    double result = VHFilter.Result[index];
    //...
}