Calling Buffer Values using iCustom

 

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....

 

iCustom Documentation

name

[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).

 
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...
Reason: