Download MetaTrader 5
To add comments, please log in or register
Publish the program in the Market and sell it to millions of traders!
gilben benhur
30
gilben benhur 2014.02.07 07:31 

Hello

I am working on an alert tool that will alert on indicators events.

I want the alerter be as flexible possible, so I don't want the user to fill endless properties in the indicator.

I am looking for a way to receive the properties of a indicator already on chart.

I wonder if there is something like ObjectGet() but for Indicators like Moving Average, RSI etc...

To be more clear, i am not looking for IMA() or IRSI(), because I want to get the values from MA the user set to his chart for what ever it will be....

The new MQL4 (build 584 and up) is providing some information about indicators, with ChartIndicatorsTotal() and ChartIndicatorName(),

but I cant find a way to retrieve its values.

Please help with any information or examples, thank you.

thank you

Simon Gniadkowski
Moderator
17962
Simon Gniadkowski 2014.02.07 09:48  
gilben:

Hello

I am working on an alert tool that will alert on indicators events.

I want the alerter be as flexible possible, so I don't want the user to fill endless properties in the indicator.

I am looking for a way to receive the properties of a indicator already on chart.

I wonder if there is something like ObjectGet() but for Indicators like Moving Average, RSI etc...

An Indicator that uses buffer to draw is not drawing using Objects . . . you use iCustom() . . but this does not do what you described, it has to be "configured" . . . I don't think there is a solution to what you are looking to do. Unless you could do something with a DLL to get to the date that the Data Window uses, but even then it only gives the data where the cursor is at . . .
gilben benhur
30
gilben benhur 2014.02.07 11:50  
RaptorUK:
An Indicator that uses buffer to draw is not drawing using Objects . . . you use iCustom() . . but this does not do what you described, it has to be "configured" . . . I don't think there is a solution to what you are looking to do. Unless you could do something with a DLL to get to the date that the Data Window uses, but even then it only gives the data where the cursor is at . . .


I Understand. thank you.

/
To add comments, please log in or register