I am trying to add some functions to Workshop6_1 and I've run into an error "inconsistent series call" and I don't know why. I'm trying to figure out if this is something I'm doing wrong, or if it is a Zorro glitch or some sort of nesting limit??

I've simplified it way down to the actual line of code that causes the issue (highlighted in yellow below). Here is the excerpt from Workshop6_1:
Quote:
// portfolio loop
while(asset(loop("EURUSD","USDJPY")))
while(algo(loop("TRND","CNTR")))
if (12 & (1 << dow()))
{
if(Algo == "TRND")
tradeTrend();
else if(Algo == "CNTR")
tradeCounterTrend();
}

(The code is part of a bigger function (I posted elsewhere) that checks to see if the current dow() is within a specified bit combination, in this case Wed or Thurs)

THANKS