Forum

[HELP] Can't get buffer value from CiRSI from Oscilators.mqh

Hello Community, I'm trying to use the CiRSI class from Oscilators.mqh , everything seems fine with the exception that when I try to get the value for the buffer using the Main() function it always returns EMPTY_VALUE . Here's a code snippet for a test Script. #include <Indicators/Oscilators.mqh>

EA not getting iCustom index buffer value right

Hey, so I have a custom indicator that does all the logic behind the strategy and it send an arrow whenever it's to buy or sell. And on my EA I what to check if the value of the index buffer is empty or not. Here is my arrow setup on the Indicator: SetIndexBuffer ( 0 , SlowDnPts); SetIndexBuffer