Download MetaTrader 5
To add comments, please log in or register
Copy the deals of successful traders. Subscribe to signals!
NeilG
65
NeilG 2014.10.09 19:34 

Hi,

I searched through the forum and could not find any answers...

Once I place an indicator on a chart [in a separate window or on the main chart], is it possible to get the indicator's parameter values?  For example, I place an ATR indicator on the chart and want to use the parameter value of Period in my code.  Is there a way to get this information?  If yes, how can I cycle through all of the indicators on my chart and pull information from each of them?

As always, thanks for your time and assistance.

Neil 

whroeder1
13644
whroeder1 2014.10.10 12:41  
snafu4: A) I place an ATR indicator on the chart, is it possible to get the indicator's parameter values?
You placed it, you are the source.
NeilG
65
NeilG 2014.10.10 13:28  
WHRoeder:
snafu4: A) I place an ATR indicator on the chart, is it possible to get the indicator's parameter values?
You placed it, you are the source.

WHRoeder, I guess I wasn't clear in my description.  In code, I need to read the values/parameters/inputs of an indicator that is already on the chart.  Does anyone know if this is possible?

Thanks 

Alain Verleyen
Moderator
28672
Alain Verleyen 2014.10.10 15:18  
snafu4:

WHRoeder, I guess I wasn't clear in my description.  In code, I need to read the values/parameters/inputs of an indicator that is already on the chart.  Does anyone know if this is possible?

Thanks 

 

Not possible with MT4. Possible with MT5.

Maybe with WINAPI for standard indicator. For Custom indicators (if you can modify the code), you can use a workaround.

NeilG
65
NeilG 2014.10.10 22:57  
angevoyageur:

Not possible with MT4. Possible with MT5.

Maybe with WINAPI for standard indicator. For Custom indicators (if you can modify the code), you can use a workaround.

Ok, thanks.
/
To add comments, please log in or register