Download MetaTrader 5
To add comments, please log in or register
Having questions? Ask them on the Forum - traders will help you!
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
13607
whroeder1 2014.10.12 18:26  
Carl Schreiber
5939
Carl Schreiber 2014.10.12 18:26  

look in your reference for:

__FILE__
whroeder1
13607
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