TradeVolumeIndex


Summary

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

Remarks

The underlying assumption of this indicator is that there is buying pressure when the price trades near the asking price and selling pressure when it trades near the bid.

Syntax

public interface TradeVolumeIndex

Members

NameTypeSummary
Result PropertyThe time series of TradeVolumeIndex Indicator

Example 1

private TradeVolumeIndex _tradeVolume;
[Parameter]
public DataSeries Source { get; set; }
[Output("Main")]
public IndicatorDataSeries Result { get; set; }
protected override void Initialize()
{
   _tradeVolume = Indicators.TradeVolumeIndex(Source);
}
public override void Calculate(int index)
{
   // Display Result of Indicator
   Result[index] = _tradeVolume.Result[index];
}