Indicatorecreate returns err # 4802 - ERR_INDICATOR_CANNOT_CREATE - page 2

 
amir_avatar posted # :

Rosh -

 I'm sorry, when starting from the start command with /portable it works fine from TERMINAL_PATH.

Can the indicator be operated from a sub-folder in TERMINAL_PATH(D:\Program files\MetaTrader 5\Indicators\My Indicators)?


Yes, certainly. Just remember you should specify indicator name properly if you use iCustom():

[in]  The name of the custom indicator, with path relative to the root directory of indicators (MQL5/Indicators/). If an indicator is located in a subdirectory, for example, in MQL5/Indicators/Examples, its name must be specified like: "Examples\\indicator_name" (it is necessary to use a double slash instead of the single slash as a separator).


 

Thank you