That's not the problem.
If there is an algo function tradeTrend() and e.g. I build frames in it by "skipping" bars, then when the same tradeTrend()function is called in a different component (i.e. with different params),
then the static var "skipped" bars gets changed as well. And so messes up frame construction in the first "instance".