I need some help because I have trouble in getting the indicator short name within an EA.
Here an example of a short indicator mql5 code (draws simply a horizontal line):
Please note the statement
Here a short EA which tries to get the indicator short name:
The output of ChartIndicatorName is "Name"; but I had expected the indicator short name "Simple_Line(25)".
how can I get the indicator short name ?
Thanks for any help
You need to let time for the indicator to be initialized.
Not very nice, but it works :
thanks for your answer. It works now.
In consequence the definition of the function
in the file Indicator.mqh in Include/Indicators should be changed accordingly:
May be an issue for the service desk??
BTW: I'm using the Metatrader 5 build 1502
I reported the problem to the ServiceDesk. I keep you informed as soon I get an answer.
Unfortunately I have no answer from the service desk :-(
I'm waiting. Sorry.