cci alert indicator

 

Hi, could anyone point me in the right direction to find the above? I used the search function but didn't find anything :(

I have the two I have attached here but one only does the arrow - no sound or po up, and the other does both but the sound alert keeps going non stop :(

Any help appreciated..tnx

Files:
cciarrows.mq4  4 kb
 
This is second version I found.
Files:
 

Thanks Raptor but that's where I got one of the above.
 
You could always got one of them modified specifically for your needs : Coding for MT4 & MT5
 

Thanks again, was hoping there was already one freely available in the public domain ;)

I may come back to that if I have no luck in my search tho.

Thanks for your help :)

 

Hi DW1000,

Open your first CCI with MetaEditor, find code below and add/replace with new codes.

extern bool Alerts = true;                //<<-- find this one
extern string Alert_Sound = "alert.wav";  //<<-- find this one
extern int Number_Of_Alerts=3;            //<<-- add this 
 
int Alert_Up, Alert_Down;                 //<<-- add this 

next is a little need an extra careful

   if (dUpCCIBuffer[1]!=EMPTY_VALUE && dUpCCIBuffer[1]!=0)     //<<--find this one
    {                                                          //<<--find this one
     if (Alert_Up <= Number_Of_Alerts)                         //<<--add this
       {                                                       //<<--add this
       Alert(Symbol(), "- CCI has crossed up!");               //<<--add this
       PlaySound(Alert_Sound);                                 //<<--add this
       Alert_Up++;                                             //<<--add this
       }                                                       //<<--add this
    }                                                          //<<--add this
    else                                                       //<<--add this
    Alert_Up = 0;                                              //<<--add this
    
   if (dDownCCIBuffer[1]!=EMPTY_VALUE && dDownCCIBuffer[1]!=0)  //<<--find this one
    {                                                           //<<--find this one
    if (Alert_Down <= Number_Of_Alerts)                         //<<--add this
       {                                                        //<<--add this
       Alert(Symbol(), "- CCI has crossed down!");              //<<--add this
       PlaySound(Alert_Sound);                                  //<<--add this
       Alert_Down++;                                            //<<--add this
       }                                                        //<<--add this
    }                                                           //<<--add this
    else                                                        //<<--add this
    Alert_Down = 0;                                             //<<--add this

Hope that works, Compiled w/o error but I didn't test it

 
onewithzachy:

Hi DW1000,

Open your first CCI with MetaEditor, find code below and add/replace with new codes.

next is a little need an extra careful

Hope that works, Compiled w/o error but I didn't test it


Hi can you add and alert the the arrow shows? sound or pop up please? Thanks


------------

...
 
please don't upload decompiled code here
 
qjol:
please don't upload decompiled code here
Decompiled code removed.