I want to ask please how "to work more easily" with different dataseries in onbarupdate. Is it possible to have
{
if(BarsInProgress!=0) return;
if(conditions...)
}
AND
{
if (BarsInProgress!=1) return;
if (conditions...)
}
instead of work around in one "{ }" with [x] and [y] to refer to the dataseries in concern.
The reason for my question is that I have some codings and indicators I can use easily like a primary dataseries but difficult to use them with different dataseries in one "{section}" (so that there is no confusion with bool, int and doubles)
I hope I could translate and explain what I mean.
Thank you
Tony
Comment