//+------------------------------------------------------------------+ //| BeamLines.mq4 | //| JLY | //| "пучок" | //+------------------------------------------------------------------+ #property copyright "JLY" #property link "" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Aqua double ExtHighBuffer[]; double ExtLowBuffer[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { SetIndexBuffer(0,ExtHighBuffer); SetIndexBuffer(1,ExtLowBuffer); SetIndexStyle(0,DRAW_LINE); SetIndexStyle(1,DRAW_LINE); SetIndexEmptyValue(0,0.0); SetIndexEmptyValue(1,0.0); SetIndexLabel(0,"High"); SetIndexLabel(1,"Low"); return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { int obj_total=30; for(int i=0;i