I have an instance of my indicator('my_ind') in Market Analyzer on 5min chart(effectively) and an instance of the same indicator added again and set to 15min...
What is the is the instance name on 5min chart and 15min chart?
or does it have the same name and do I need to differentiate the variable names like the folowing in my sole indicator 'my_ind'
my_ind().var5[0] == 0;
my_ind().var15[0] == 0;
where 'var5' and 'var 15' are set based on
if ((Bars.Period.Id == PeriodType.Minute) && (Bars.Period.Value == 5) )
{
//set 'var5' here
}
?
Comment