Forum

Indicator buffers inverted when applying it to chart programatically

Hello Everyone, I've encountered a strange issue with an indicator while developing my EA. When applying the custom indicator to the chart manually it works fine but when doing it programatically, the two plots of the indicator are inverted. I use several custom indicators in my EA attching them to

Unable to access more than five buffers on an indicator using CopyBuffer()

Hello everyone, I'm trying to get data from a custom indicator using the CopyBuffer() function. When I call the function giving it a buffer index greater than 4, I get only zeroes in my destination buffer despite the data being correct inside the indicator (I've double-checked with debugger and