Open price series of historical trendbars.

Example 1

//Accessing historical OHLC prices from Indicators 
MarketSeries.Open[index] //The current Open price
MarketSeries.Open[index-1] //The previous Open price
MarketSeries.Open[index-5] //The Open price 5 bars ago

Example 2

//Accessing historical Open prices from cBots (cAlgo Robots) 
MarketSeries.Open[MarketSeries.Open.Count-1] //The current Open price
MarketSeries.Open[MarketSeries.Open.Count-2] //The previous Open price
MarketSeries.Open[MarketSeries.Open.Count-6] //The Open price 5 bars ago

Example 3

public DataSeries Source { get; set;}

[Parameter(DefaultValue = 14)]
public int period { get; set; }

private SimpleMovingAverage smaopen

protected override void Initialize()
    smaopen = Indicators.SimpleMovingAverage(MarketSeries.Open,period);//Simple movind average that use Open prices as Source.