How can I get rid of the connector lines in the Fractal Channel indicator?

 
I'm using the Fractal Channel indicator written by Collector in my trading system. How can I get rid of the connector lines and show ONLY the support and resistance levels (ie. horizontal lines only) ? During back-testing, the current connector lines give away the price trend at the hard right-edge of the chart when you scroll bar-by-bar.

Thanks in advance for your help.

Cheers,
Enforcer

Here is an image taken from the Fractal Channel code base:



Here is the code:

//+------------------------------------------------------------------+
//| Fractal Channel.mq4 |
//| Copyright © 2005 Chris Battles |
//| cbattles@neo.rr.com |
//+------------------------------------------------------------------+
#property copyright "Chris Battles"
#property link "mailto:cbattles@neo.rr.com"

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Blue
//---- buffers
double v1[];
double v2[];
//----
double val1;
double val2;
int i;
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int init()
{
//---- drawing settings
SetIndexArrow(0, 119);
SetIndexArrow(1, 119);
//----
SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 2);
SetIndexDrawBegin(0, i-1);
SetIndexBuffer(0, v1);
SetIndexLabel(0, "Resistance");
//----
SetIndexStyle(1, DRAW_LINE, STYLE_SOLID, 2);
SetIndexDrawBegin(1, i-1);
SetIndexBuffer(1, v2);
SetIndexLabel(1, "Support");
//----
return(0);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int start()
{
i = Bars;
while(i >= 0)
{
val1 = iFractals(NULL, 0, MODE_UPPER, i);
//----
if(val1 > 0)
v1[i] = High[i];
else
v1[i] = v1[i+1];
val2 = iFractals(NULL, 0, MODE_LOWER, i);
//----
if(val2 > 0)
v2[i] = Low[i];
else
v2[i] = v2[i+1];
i--;
}
return(0);
}

//+------------------------------------------------------------------+
 
You might change index style to be DRAW_ARROW, and use SetIndexArrow with a good wingding code (154, perhaps?)
but I'm not sure that that solves your problem, though: when you see the right-most bar, it is already closed.
Reason: