I have no idea if this qualifies as a bug or what not. Anywho this Crashes Amibroker. IF you create the Formula and Add it Amibroker just closes. I am just learning amibroker so if the formula doesnt make sense thats all right
SeasonalArr = Null;
SeasonalWeek=1;
for(i=1;i<BarCount;i+=52)
{
_TRACE(NumToStr(i,BarCount));
if(i==(BarCount-1))
{
SeasonalWeek++;
i=SeasonalWeek;
}
SeasonalArr[SeasonalWeek]+=Close[i];
}
