For example, how do I access the Value of CurrentHigh[0] with the _hODSeries below?
public class SomeStrat : Strategy { private Series<double> _hODSeries; private CurrentDayOHL _hodIndi; protected override void OnStateChange() { } else if (State == State.DataLoaded) { _hODSeries = new Series<double>(CurrentDayOHL(BarsArray[0])); _hodIndi = CurrentDayOHL(BarsArray[0]); } protected override void OnBarUpdate() { bool asdf = _hodIndi.CurrentHigh[0] == Highs[0][0]; } }
Comment