PriceROC


Summary

The Price ROC calculates the percentage change between the most recent price and the n-periods of past price.

Remarks

Can be used to determine whether an instrument is overbought or oversold.

Syntax

public interface PriceROC

Members

NameTypeSummary
Result PropertyThe resulting time series of the PriceROC Indicator calculation

Example 1

private PriceROC _result;        
protected override void Initialize()
{
    _result = Indicators.PriceROC(MarketSeries.Close, 14);
}
public override void Calculate(int index)
{
    double result = _result.Result[index];
}