TradeVolumeIndex


Summary

Trade Volume Index indicator measures the amount of money flowing in and out of an asset.

Syntax

public TradeVolumeIndex TradeVolumeIndex(DataSeries source)

Parameters

NameDescription

Example 1

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