While migrating some of these, I noticed that they typically trigger correctly in real time but once I start scrolling back a couple of days, there are no indications that the strategy worked correctly.
I did notice that if I refreshed the screen with an F5, the indicators displayed correctly.
My question is, is this normal with the new way NT7 loads historical data or is there a different issue?
I took a very simple example of exceeding the upper and lower Bollinger bands and it worked for the current day, but everything previously did not work.
This strategy adds a 6 Range time frame and I execute this strategy on a 3 range chart.
protected override void Initialize()
{
CalculateOnBarClose = true;
Add(PeriodType.Range, 6);
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
if (BarsInProgress == 1)
{
if (High[0] >= Bollinger(2,300).Upper[0])
{
ShortReady = true;
DrawArrowDown("tagshort" + CurrentBar, true,0, High[0] + 7 * TickSize, Color.Red);
}
if (Low[0] <= Bollinger(2,300).Lower[0])
{
LongReady = true;
DrawArrowUp("taglong" + CurrentBar, true,0, Low[0] - 7 * TickSize, Color.LimeGreen);
}
}

Comment