How can I use ZigZag indicator in MQL5?

 
ZigZag indicator is defined as custom indicator, so it is little bit different from other indicators. Can anyone give sample code how to read data from ZigZag indicator? Thanks!
 
 I have found how to read that indicator, so don't bother yourself answering. Thanks anyway!
 
http://forum.mql4.com/3930   ????
 
SteelAce:
 I have found how to read that indicator, so don't bother yourself answering. Thanks anyway!
Can you share what you have found, how to read that indicator?
 
Domas Prosciavicius:
Can you share what you have found, how to read that indicator?
It's stored in the 0 buffer. Depending on which zigzag you're using: If zigzagBuffer[i] > 0 OR zigzagBuffer != EMPTY_VALUE
 

Hey guys I am new to mql5 I can not understand how to do it

please someone give me a sample code !!!

Thanks

 
Arya1656 Mohamadifard:

Hey guys I am new to mql5 I can not understand how to do it

please someone give me a sample code !!!

Thanks

An example of working with the ZigZag indicator.
How to start with MQL5
How to start with MQL5
  • 2018.12.24
  • www.mql5.com
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors...