Hi,
I'm new to this tool, I would need your help to understand something:
I have this indicator called Aroon Up and Down, it has 2 buffers. I want to check with the tool the status of the 2 buffers. I want to know the state of the buffers if blue buffer is above, or if red buffer is above.
I have created this small sample project:
https://fxdreema.com/shared/Gu0hN5ree
Ran on a daily chart, I display on the chart if blue is above red and vice versa.
The problem is that the results seem inconsistent:
First they seem to be delayed, as you can see on the picture below, the red 1 shows the moment red went above blue on the chart below, but the program only marks it on the next candle.
However, on case 2, it is the correct timing.

Second, the values read by the project are not the same as the one displayed in MT4:
I logged the values read by the EA in the journal with the use of variables, and they are not always the same as the one read by the data reader of MT4:
Example, on the 26th of January 2018 for EURUSD, MT4 shows

Whereas, logging the buffer value in the project shows:

I tried to play with the candle ID setting, but I don't seem to understand how to make it work.
I don't know where is the problem (it certainly is between the keyboard and the chair...)
Thank you for your help!
I attach the indicator just in case: 0_1610698057601_Aroon Up Down.mq4
Valentin