Indicators with alerts/signal - page 533

emmany4
130
emmany4  

Hello Mr Tools and Mladen, I wish i can give you guys a hug for all the good job. Please, can you kindly add a sound and pop up alert to the attached indicator.

Thanks in advance.

William Snyder
9492
William Snyder  
emmany4:
Hello Mr Tools and Mladen, I wish i can give you guys a hug for all the good job. Please, can you kindly add a sound and pop up alert to the attached indicator. Thanks in advance.

Emmany, Mladen explained about this indicator here https://www.mql5.com/en/forum/182245 and about adding alerts.

avi1
9429
avi1  
mladen:
bot14

Better to avoid that indicator (at least as far as signals are concerned)

This is what it looks like in back test (those arrows would be alerts) :

hi m8!like to give a try ,this indi ! thx

lover
102
lover  

how can i become senior member anyone knows anything about it

Mladen Rakic
154345
Mladen Rakic  
lover:
how can i become senior member anyone knows anything about it

By posting reasonable posts that have at least something in common with the thread they are posted at

vickya
53
vickya  

Hello, everyone. I found this indicator that is giving voice alerts on upper and lower Bollinger Bands crossing. It does not say what pair is the alert for. Instead of voice would it be possible to get audio alert and message in the alert box on what pair and time frame is the alert for? I would really appreciate help. I looked almost everywhere and can't find alerts on outside bands crossing. There is also sound file, but it is useless. Voice alerts wont stop. It is not worth installing it.

Files:
lover
102
lover  
vicky.a.:
Hello, everyone. I found this indicator that is giving voice alerts on upper and lower Bollinger Bands crossing. It does not say what pair is the alert for. Instead of voice would it be possible to get audio alert and message in the alert box on what pair and time frame is the alert for? I would really appreciate help. I looked almost everywhere and can't find alerts on outside bands crossing. There is also sound file, but it is useless. Voice alerts wont stop. It is not worth installing it.

There u go this will alert when the price touches upper or lowerband and when the price is beyond upper and lower band. i hope this is the goody u were looking for vicky.

Files:
lover
102
lover  
avi1:
hi m8!like to give a try ,this indi ! thx

boyyyy What is so special about this indicator, is there something in this that i am missing out on, cuz mladen posted screenshot of this indicator repainting like crazy into giving signals every bar, hummmm hummmm

osgibson
10
osgibson  

Help with adding email and arrows to the BBands of CCI

Help! Need Email Alerts and Arrows added to this indicator

Hi Everyone!

I have a BBands of CCI indicator.

I wish to get an email alert and arrows added when:

The Outer Bollinger Band of the CCI crosses a line (ie..150)

Example: if price is going up and top outer band of the BBand of CCI indicator crosses above the 150 line an alert is trigger and an email is sent. The opposite when the lower outer band of the BBand of CCI crosses below the -150 line. The email alert and arrow is produced.

I have included an picture and the indicator:

I had to remove the picture I post in the next post.

I also added the code:

//+------------------------------------------------------------------+

//| BBands of CCI.mq4 |

//| Bollinger Bands of CCI |

//| Copyright © 2011, PDSoftware Corp. |

//+------------------------------------------------------------------+

#property copyright "Copyright © 2011, PDSoftware Corp."

#property link

//----

#property indicator_separate_window

#property indicator_buffers 4

#property indicator_color1 MediumSeaGreen

#property indicator_color2 LightSeaGreen

#property indicator_color3 LightSeaGreen

#property indicator_color4 Red

//---- indicator parameters

extern int BandsPeriod=20;

extern int BandsShift=0;

extern double BandsDeviations=2.0;

extern int CCIPeriod = 14;

//---- buffers

double MovingBuffer[];

double UpperBuffer[];

double LowerBuffer[];

double CCIBuffer[];

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

//---- Set indicators

SetIndexStyle(0,DRAW_LINE);

SetIndexBuffer(0,MovingBuffer);

SetIndexStyle(1,DRAW_LINE);

SetIndexBuffer(1,UpperBuffer);

SetIndexStyle(2,DRAW_LINE);

SetIndexBuffer(2,LowerBuffer);

SetIndexStyle(3,DRAW_LINE);

SetIndexBuffer(3,CCIBuffer);

//----

SetIndexDrawBegin(0,BandsPeriod+BandsShift);

SetIndexDrawBegin(1,BandsPeriod+BandsShift);

SetIndexDrawBegin(2,BandsPeriod+BandsShift);

SetIndexDrawBegin(3,CCIPeriod);

//----

SetLevelValue(0,100);

SetLevelValue(1,-100);

//----

SetIndexLabel(0,"SMA");

SetIndexLabel(1,"Upper");

SetIndexLabel(2,"Lower");

SetIndexLabel(3,"CCI");

//---- name for DataWindow and indicator subwindow label

IndicatorShortName("BBands of CCI("+BandsPeriod+","+DoubleToStr(BandsDeviations,1)+","+CCIPeriod+")");

return(0);

}

//+------------------------------------------------------------------+

//| Bollinger Bands of CCI |

//+------------------------------------------------------------------+

int start()

{

int i,k,counted_bars=IndicatorCounted();

double deviation;

double sum,oldval,newres;

//----

if(Bars<=BandsPeriod) return(0);

//---- initial zero

if(counted_bars<1)

for(i=1;i<=BandsPeriod;i++)

{

MovingBuffer=EMPTY_VALUE;

UpperBuffer=EMPTY_VALUE;

LowerBuffer=EMPTY_VALUE;

}

//----

int limit=Bars-counted_bars;

if(counted_bars>0) limit++;

//Calculate CCI

for(i=0; i<limit; i++)

CCIBuffer= iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,i);

//Calculate MA of CCI x BBands

for(i=0; i<limit; i++)

MovingBuffer=iMAOnArray(CCIBuffer,Bars,BandsPeriod,0,MODE_SMA,i);

//----

i=Bars-BandsPeriod+1;

if(counted_bars>BandsPeriod-1) i=Bars-counted_bars-1;

//Calculate Upper & Lower Bands

while(i>=0)

{

sum=0.0;

k=i+BandsPeriod-1;

oldval=MovingBuffer;

while(k>=i)

{

newres=CCIBuffer[k]-oldval; //Refers to CCI !

sum+=newres*newres;

k--;

}

deviation=BandsDeviations*MathSqrt(sum/BandsPeriod);

UpperBuffer=oldval+deviation;

LowerBuffer=oldval-deviation;

i--;

}

//----

return(0);

}

//+------------------------------------------------------------------+

osgibson
10
osgibson  

This is the picture with the example of the signal of the BBand of CCI in the above post.

Thanks in advance to all who can help.