Download MetaTrader 5
To add comments, please log in or register
Publish your article and win recognition from thousands of traders!
fxnew
189
fxnew 2016.10.30 13:27 

Hello to the experts,


I tried to use the shortname function with a custom indicator, but nothing seems to appear in the chart window.


Then I tried the for example MACD default codes, implemented in the INIT() area:

IndicatorShortName("MACD("+IntegerToString(InpFastEMA)+","+IntegerToString(InpSlowEMA)+","+IntegerToString(InpSignalSMA)+")");

SetIndexLabel(0,"MACD");

SetIndexLabel(1,"Signal");


Again a name doesn't appear in the customer indicator.


Is it a setting in the MT 4 which has to be changed or any other reason?


thanks for hints in advance

peter.MT4Web
158
peter.MT4Web 2016.10.30 13:47  

The name is not shown in the chart window.

Keith Watford
Moderator
9597
Keith Watford 2016.10.30 20:54  
eddie:

The name is not shown in the chart window.


It is not clear whether your indicator is in a separate window or not.

The name will only show in an indicator sub-window, not if it is an indicator on the main chart.

fxnew
189
fxnew 2016.10.31 12:38  

thanks to both users for the feedback  !


My indicator is in the chart window indeed.

/
To add comments, please log in or register