Download MetaTrader 5

Calling Buffer Values using iCustom

To add comments, please log in or register
Find and download Code Base apps via MetaTrader. It is fast!
MikeT 2016.09.12 11:24 

Maybe this can help someone out sometime.... because I have been losing hair and sleep for that last 5 days...

When you are using iCustom(Symbol(),0,"AnyIndicator",BufferNumber,Shift) .... PLEASE don't take it for granted that the indicator in question can be in a "Sub-folder" of your "Indicators" folder.... I have been using a sub-folder called "Test Indis" to avoid cluttering up my "Indicators" folder.... Everything worked fine working with and calling indicators within that folder BUT as soon as I created functions within my EA nothing worked....

Maybe I'm just an idiot... but I never came across anything anywhere in the forum than mentioned sub-directories of the MQL4/Indicators folder...

Hopefully this helps someone out in the future... I'm off to bed....

honest_knave 2016.09.12 11:27  

iCustom Documentation


[in]  Custom indicator compiled program name, relative to the root indicators directory (MQL4/Indicators/). If the indicator is located in subdirectory, for example, in MQL4/Indicators/Examples, its name must be specified as "Examples\\indicator_name" (double backslash "\\"must be specified as separator instead of a single one).

MikeT 2016.09.12 11:33  
Thanx knave... I can kick myself.... was almost about to take a long walk off a short pier... Hopefully this post will stop someone else from doing that...
To add comments, please log in or register