ZigZag Alert

 
Hello,

Below the graphic using ZigZag Pointer Indicator.



How can I receive an alert when the indicator drawing a finger ?

I try to make a print everywhere in the script but it send an alert for each tick.

Thank you...
 
Hi,

Well, I put GlobalVariable for each tick (with -1 and 1) in the Indicator.

I succeeded retreive the Current GlobalVariable in the EA, but to determine if the trend has changed I need to retreive previous GlobalVariable for example at Current +0/+1/+2/+3/+4/+5

How can I make this please ?

I try to put this variable into buffer, but iCustom don't work properly and didn't retreive any datas (even current and previous currency value !)

So please help me...

Thank you.
 

Please, let me know when you get this done. i will like to have it too.

Ed

Reason: