BTW, even though I am doing this inside a strategy, my strategy is in fact a "multiple timeframe indicator". I made it a strategy because I can't have multiple time frames in the same indicator script.
What I am trying to do for a N-timeframe strategy in my on bar update method is:
int i0 = BarsInProgress;
if(i0 > 0) {
calculate indicatorvalue[i0] where indicatorvalue is an N-size array containing the indicator value on each of the time frames processed by my strategy
return;
}
else { use DrawText() to print the indicator value in each timeframe }
Can someone please help?

Comment