BREAKOUT LINES NAMES

 

Hi,

I have an indicator that draws the Highest High and Lowest Low levels of the predetermined times.  It draws trendlines and give names bs and ss... But it adds the number of days to them like 0,1,2,3...

It takes the data from

 extern int day_number = 3;

The lines becomes  bs0,ss1 , bs1, ss1... How can I reconfigure the code that doesnt add the day number?... It comes from the for operator...

The related part of the code as follows : 

 

 

extern string Start = "09:00";
extern string End = "13:00";
extern int day_number = 6;

 extern int offset = 10;

 

 void init() {
   for (int l_count_0 = 0; l_count_0 < day_number; l_count_0++)

{
      Buat_Obj("es" + indi_number + l_count_0, boxcolor1);
      Buat_Garis("bs" + indi_number + l_count_0, linecolor);
      Buat_Garis("ss" + indi_number + l_count_0, linecolor);
      if (offset > 0) Buat_Obj("as" + indi_number + l_count_0, boxcolor2);
   }
}

 
 
Niagara:

Hi,

I have an indicator that draws the Highest High and Lowest Low levels of the predetermined times.  It draws trendlines and give names bs and ss... But it adds the number of days to them like 0,1,2,3...

It takes the data from

 extern int day_number = 3;

The lines becomes  bs0,ss1 , bs1, ss1... How can I reconfigure the code that doesnt add the day number?... It comes from the for operator...

The related part of the code as follows : 

 <CODE REMOVED>

Please edit your post . . . 

 

Use SRC 

 
Niagara:


The related part of the code as follows : 

No it doesn't,  you need to show the code that utilises   day_number
 
RaptorUK:
No it doesn't,  you need to show the code that utilises   day_number


I  have edited my post...
 
Niagara:

I  have edited my post...

Get rid of the for loop and remove the following from each line in the loop . . 

indi_number +
 
RaptorUK:

Get rid of the for loop and remove the following from each line in the loop . . 

 


Thank you for your help RaptorUK
Reason: