MedianPrice


Summary

A Median Price is an average of one period’s high and low values.

Remarks

A Median Price is often used as a component for calculating other indicators.

Syntax

public interface MedianPrice

Members

NameTypeSummary
Result PropertyThe resulting series of the calculation of Median Price

Example 1

private MedianPrice _price;
protected override void Initialize()
{
    _price = Indicators.MedianPrice();
}
public override void Calculate(int index)
{
    double price = _price.Result[index];
}