MedianPrice


Summary

The Median indicator is the average of the high and the low.

Syntax

public MedianPrice MedianPrice()
public MedianPrice MedianPrice(MarketSeries marketSeries)

Example 1

private MedianPrice medianPrice;
protected override void OnStart()
{
    medianPrice = Indicators.MedianPrice();
}
protected override void OnTick()
{
    double price = medianPrice.Result[index];
}