Download MetaTrader 5
To add comments, please log in or register
Have you developed an application? Publish it in Code Base!
Rasoul Mojtahedzadeh
25278
Rasoul Mojtahedzadeh 2014.10.31 12:02 

I would like to know how I can read the value in the buffer of an indicator attached to a chart from my EA code? Please note that I do not want to use iCustom function. I want to use, for example, ChartIndicatorsTotal() and ChartIndicatorName(), to access to the buffer of an attached indicator to the chart.

Carl Schreiber
5954
Carl Schreiber 2014.10.31 12:21  

I don't think it's possible. Either use iCustom() or recode the indicator within your ea.

Well there is an alternative but it is really a challenge:

Make a snapshot of the chart and start a graphical analysis of this gif-file - but mt4 does not provide what you will need.

Alain Verleyen
Moderator
28627
Alain Verleyen 2014.10.31 15:03  
Rasoul:

I would like to know how I can read the value in the buffer of an indicator attached to a chart from my EA code? Please note that I do not want to use iCustom function. I want to use, for example, ChartIndicatorsTotal() and ChartIndicatorName(), to access to the buffer of an attached indicator to the chart.

It's possible with MT5 but not with MT4.
/
To add comments, please log in or register