//+------------------------------------------------------------------+ //| VerticalLine.mq4 | //| Copyright © 2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property indicator_chart_window #property indicator_buffers 3 #property indicator_color1 Yellow #property indicator_color2 Blue #property indicator_color3 Red double A[]; double B[]; double C[]; int init() { SetIndexBuffer(0,A); SetIndexBuffer(1,B); SetIndexBuffer(2,C); SetIndexStyle(0,DRAW_LINE); SetIndexStyle(1,DRAW_LINE); SetIndexStyle(2,DRAW_LINE); return(0); } int deinit() { return(0); } int start() { int counted_bars=IndicatorCounted(); for(int i=0;i