Download MetaTrader 5

how to get "indicator file name" in the "indicator" dir?

To add comments, please log in or register
Copy the deals of successful traders. Subscribe to signals!
qq2947655335
11
qq2947655335 2014.10.12 18:16 

hello guys. 

I have a indicator in main windows. Is that possible to get the indicator-file-name in the "indicator" dir?

I can only get the shortname of the indicator using "ChartIndicatorName()".

but the shortname is not equal to the filename...

confusing ...

whroeder1
14480
whroeder1 2014.10.12 18:26  
Carl Schreiber
6588
Carl Schreiber 2014.10.12 18:26  

look in your reference for:

__FILE__
whroeder1
14480
whroeder1 2014.10.12 22:42  
gooly: look in your reference for: __FILE__
I keep forgetting about the new stuff. Predefined Macro Substitutions - MQL4 Documentation
qq2947655335
11
qq2947655335 2014.10.13 01:17  
gooly:

look in your reference for:





thank you so so much .both working!!
qq2947655335
11
qq2947655335 2014.10.13 01:18  
WHRoeder:
gooly: look in your reference for: __FILE__
I keep forgetting about the new stuff. Predefined Macro Substitutions - MQL4 Documentation
both  "__FILE__" and WindowExpertName() are working!! thank you !
To add comments, please log in or register