That kind of compilation helps everyone.
Printable View
That kind of compilation helps everyone.
I added a print to see the value it returns and it is always EMPTY_VALUE although the chart shows it active.
That may be because the indicator draws with objects and not with buffers. iCustom does not serve you in that case.
Exactly. If you use lines or graphic objects, you need to capture those items with additional code. iCustom does not see them.
Can it be detected from code if the indicator uses objects or buffers?
Just by opening the code. If you see functions like ObjectCreate, you already know there are no visible buffers.
In compiled indicators you can't know, you have to prove or trust who programmed it, which is a risk.
I'm frustrated, I've been doing this for two days and I'm not moving on.
Welcome to the hell of MQL4. At first it's like that, then everything starts to make sense.
Yes, and frustration is also part of the process. Don�t give up. You�re on the right track.