ChartIndicatorName(0,1,0)
string ChartIndicatorName( long chart_id, // chart id int sub_window, // number of the subwindow int index // index of the indicator in the list of indicators added to the chart subwindow );
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The code line below is expected to print out 1 since I have the Stochastic indicator attached. but it prints only the text "indicator short name is: "
Any idea how to get the short name of the indicator?