English

## Indicator Line Plotting Question Continue!

 54 saji 2015.02.09 14:03 #   GumRai: As you don't post any code, and explain your problem, how can anyone help?Is your problem that the blue line is drawn where a red line should beanda red line where the blue should be? If so, change the colour of the lines Thank you for reply, Rai. I'll try my best to express myself.I use the following code in the first pic:```......       //------TrendLine Value Calculation       if(TrendCondition[shift] == 1)       {          if(TrendCondition[shift+1] == 1)    //UpWard          {             HighBuffer[shift] = 0;             LowBuffer[shift] = Low[shift];          }          else if(TrendCondition[shift+1] == 2)     //DownWard to UpWard          {             HighBuffer[shift] = Low[shift];             LowBuffer[shift] = Low[shift];          }       }       else if(TrendCondition[shift] == 2)       {          if(TrendCondition[shift+1] == 2)    //DownWard          {             HighBuffer[shift] = High[shift];             LowBuffer[shift] = 0;          }          else if(TrendCondition[shift+1] == 1)     //UpWard to DownWard          {             HighBuffer[shift] = High[shift];             LowBuffer[shift] = High[shift];          }       }       ......``` Briefly speaking, I used 2 buffers for my trendline plotting. Each for one color to show the trendcondition.But in the second pic, there are EMPTY_VALUE in  HighBuffer[shift]/LowBuffer[shift]  So I have to use  DRAW_SECTION for plot setting.And then I got pic2.What I want is the hide the red line between point 1 and 2, and just let the blue line show.Thanks!saji