//+------------------------------------------------------------------+ //| super-signals-channel.mq4 | //| Copyright © 2015, Nick Bilak, beluck[AT]gmail.com | //+------------------------------------------------------------------+ #property copyright "Copyright © 2015, Nick Bilak" #property link "http://www.forex-tsd.com/" // hacked into a channel ind. by t_david sometime in early 2007 #property indicator_chart_window #property indicator_buffers 4 #property indicator_color1 Red #property indicator_width1 1 #property indicator_color2 Lime #property indicator_width2 1 #property indicator_color3 Red #property indicator_width3 1 #property indicator_color4 Lime #property indicator_width4 1 extern int SignalGap = 4; extern int ShowBars = 500; extern bool repaint = false; int dist=24; double b1[]; double b2[]; double b3[]; double b4[]; int init() { SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,1); SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,1); SetIndexStyle(2,DRAW_ARROW,STYLE_SOLID,1); SetIndexStyle(3,DRAW_ARROW,STYLE_SOLID,1); SetIndexBuffer(0,b1); SetIndexBuffer(1,b2); SetIndexBuffer(2,b3); SetIndexBuffer(3,b4); SetIndexArrow(2,234); SetIndexArrow(3,233); return(0); } int start() { int k,i,j,limit,hhb,llb; if (ShowBars >= Bars) ShowBars = Bars; for (i=0;i