Add(PeriodType.Day, 1); //REFER TO SERIES AS CLOSE[1][0] EXAMPLE
In the bar update I coded:
//CREATE SMA
for (int xz = 0; xz < (32); xz++)
{
smaTotal = smaTotal + Closes[1][xz];
Print("Closes 1: " + Closes[1][xz]);
}
When I activate the above code in the SIM 101 account, it errors out after 2 prints.
I asked it to load 60 days but as you can see, it only loads 2 days, any ideas?
My data provider is Kinetick.
The session is a custom session that goes between 3am and 10pm monday through friday.
Comment