DisplayAlart - I want him to alert you to a candle faster as I can solve it?
Levering wanted to put Display Alart on separate windows of this indicator
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_width1 2 #property indicator_color2 Lime #property indicator_width2 2 extern int barsLeftOfCurrent = 2; extern int barsRightOfCurrent = 2; extern int SignalGap = 3; int dist=24; double b1[]; double b2[]; int init() { SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,1); SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,1); SetIndexArrow(1,233); SetIndexArrow(0,234); SetIndexBuffer(0,b1); SetIndexBuffer(1,b2); return(0); } int start() { int counted_bars=IndicatorCounted(); int i,limit,hhb,llb; if (counted_bars<0) return(0); if (counted_bars>0) counted_bars--; limit=Bars-1; if(counted_bars>=1) limit=Bars-counted_bars-1; if (limit<0) limit=0; for (i=limit;i>=0;i--) { // b1[i]=EMPTY_VALUE; // b2[i]=EMPTY_VALUE; b1[i]=0; b2[i]=0; hhb = iHighest(0,0,MODE_HIGH,barsLeftOfCurrent + 1 + barsRightOfCurrent,i - barsRightOfCurrent); llb = iLowest(0,0,MODE_LOW,barsLeftOfCurrent + 1 + barsRightOfCurrent,i - barsRightOfCurrent); if (i==hhb) b1[i]=High[hhb]+SignalGap*Point; if (i==llb) b2[i]=Low[llb]-SignalGap*Point; } return(0); }
Hi everyone, I'm new here and I'm sorry for the English I'm using translator! Please, I need the alarm to go off faster! can anybody help me? If you need more resource please tell me that I will post here! thanks in advance !