PriceVolumeTrend


Summary

The Price Volume Trend indicator shows the relationship between price and volume.

Syntax

public PriceVolumeTrend PriceVolumeTrend(DataSeries source)

Parameters

NameDescription

Example 1

private PriceVolumeTrend _priceVolumeTrend;
[Parameter]
public DataSeries Source { get; set; }
protected override void OnStart()
{
    _priceVolumeTrend = Indicators.PriceVolumeTrend(Source);
}
protected override void OnBar()
{
    var currentValue = _priceVolumeTrend.Result.LastValue;
    //...
}
Reference