//+------------------------------------------------------------------+ //| DOSR_Dots.mq4 | //| Kalenzo | //| http://www.fxservice.eu | //+------------------------------------------------------------------+ //mod InnBar mtf #property copyright "Kalenzo" #property link "http://www.fxservice.eu" #property indicator_buffers 2 #property indicator_color1 Magenta #property indicator_color2 MediumVioletRed #property indicator_width1 2 #property indicator_width2 2 //---- double val1[]; double val2[]; //---- extern int tf=60; #property indicator_chart_window //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicators SetIndexBuffer(0,val1); SetIndexBuffer(1,val2); // SetIndexStyle(0,DRAW_ARROW); SetIndexStyle(1,DRAW_ARROW); // SetIndexArrow(0,158); SetIndexArrow(1,158); // SetIndexEmptyValue(0,EMPTY_VALUE); SetIndexEmptyValue(1,EMPTY_VALUE); // SetIndexLabel(0,"insideBar Hi"); SetIndexLabel(1,"insideBar Lo"); if(tf0) counted_bars--; limit=Bars-counted_bars; if(counted_bars==0) limit-=1+1+tf/Period(); //---- for(i=0; iH) && (L1