#property indicator_chart_window
#property indicator_buffers 8
#property indicator_color1 Aqua
#property indicator_color2 Goldenrod
#property indicator_color3 Yellow
#property indicator_color4 White
#property indicator_color5 MediumOrchid
#property indicator_color6 Red
extern int n1=100;
extern int n2=90;
extern int n3=30;
double HH1,LL1,HH2,LL2,HH3,LL3,HHH,LLL;
int init()
{
SetIndexBuffer(0,HH1);
SetIndexBuffer(1,LL1);
SetIndexBuffer(2,HH2);
SetIndexBuffer(3,LL2);
SetIndexBuffer(4,HH3);
SetIndexBuffer(5,LL3);
SetIndexBuffer(6,HHH);
SetIndexBuffer(7,LLL);
SetIndexStyle(0,DRAW_LINE);
SetIndexStyle(1,DRAW_LINE);
SetIndexStyle(2,DRAW_LINE);
SetIndexStyle(3,DRAW_LINE);
SetIndexStyle(4,DRAW_LINE);
SetIndexStyle(5,DRAW_LINE);
SetIndexLabel(0,"HH1");
SetIndexLabel(1,"LL1");
SetIndexLabel(2,"HH2");
SetIndexLabel(3,"LL2");
SetIndexLabel(4,"HH3");
SetIndexLabel(5,"LL3");
IndicatorDigits(Digits);
IndicatorShortName("High_Low("+n1+","+n2+","+n3+")");
return(0);
}
int start()
{
int limit;
int counted_bars=IndicatorCounted();
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
for(int i=0; i666.gif