MQL4 -> EA with Momentum and ZigZag - how to attach indicators?

 

Hi!

It's been 3 years since I saw MQL for the last time so I forgot a lot of stuff. I need some help with my EA.

I want to use EA only for giving me signals (not buying/selling, only signals). And I want to use two indicators: Momentum and ZigZag, can someone please tell me how should I "attach" them to the EA or how to use them?

I can use for example MACD by typing: iMACD and it works, but I can't see the Momentumand the ZigZag indicator.

Thanks.

Chris

 

Welcome to mql4.com forum,

See documentation iMomentum, for ZigZag you have to use iCustom.

 

Thank you so much for quick help! :)

I need to collect data from those 2 indicators and then in my secret mystery way compare them :)

 
kris123:

Thank you so much for quick help! :)

I need to collect data from those 2 indicators and then in my secret mystery way compare them :)


Here's a tip for you :

If you highlight the iMACD and press F1, it will open MQL Reference to that specific topic so you don't have to search for it.

It works on more than iMACD. Try it whenever you need help or need to refresh your memory.

Have fun.

Reason: