created a simple indicator for loading days regardless of how many days are loaded on the chart
but for some reason it does not work, it still only shows prices from those days on the chart, instead of those that are loaded with a new dataset in the indicator
else if (State == State.Configure)
{
AddDataSeries(Instrument.FullName, new BarsPeriod { BarsPeriodType = BarsPeriodType.Day, Value = 1 }, [B]30[/B], "CME US Index Futures RTH", false);
}
else if (State == State.Historical)
{
}
if (State == State.DataLoaded)
{
}
protected override void OnBarUpdate()
{
if (CurrentBars[0] < 1 || CurrentBars[1] < 1)
return;
if (BarsInProgress == 1)
{
double DayHigh = Highs[1][0];
double DayLow = Lows[1][0];
Print(DayHigh.ToString());
}
}

Comment