Read value data from custom indicator FX5

To add comments, please log in or register
Wady Camil
18
Wady Camil  
Dear coder, can someone show me how to code the mql4 to read value from this indicator.

FX5_MACD_Divergence_V1.1.mq4.  From the data windows shows 4 values. Value 1 ... to 4.
How to code, let say I want to compare if value1>value2. How to set the buffer and make variables. Tq Sir.


fx5-divergence


William Roeder
18310
William Roeder  
Just get the value(s) of the indicator(s) into the EA (using iCustom) and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
          Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum
Wady Camil
18
Wady Camil  
whroeder1:
Just get the value(s) of the indicator(s) into the EA (using iCustom) and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
          Detailed explanation of iCustom - MQL4 and MetaTrader 4 - MQL4 programming forum

Thank you Sir, i got it.

To add comments, please log in or register