How to read the buffers of this custom indicator (mq5)?
-
Hi there!
Cany anyone tell me how to read the latest buffer values of this indicator please? An example with a comment block would be sufficient.
I am talking about this fractallevels.mq5 indicator: https://www.mql5.com/de/code/732
I have imported it correctly into fxdreema:

I tried this:
All six and non-empty buffer values should be read once per bar at previous candle 1. Checking with condition: if buffer1 at candle (1) >0 then display value.
But i don´t get any values from the buffers. I am doing something wrong. What is it? Thank you for your support.
-
Get the required indicator buffer in a comment, then use this value to do what you need.
-
I did (see above screenshot), but didn´t worked. That´s why i am asking.
-
I cannot see what is in your comment, add a shared link, by the looks of the picture that is not how to check buffers.
-
@jstap Of course, here it is:
https://fxdreema.com/shared/YiB8jvEadProbably you have a better idea what is wrong here? Probably the arrows are objects, not buffers or the buffers are arrays? No clue.
-
Why is indicator is visible at the top? To check values you only need what is in the picture. If you open your data window, then the comment values should match this.

-
@jstap Thanks for that proposal using only "modify variables" and "comments" block. But this also didn´t worked. Still no values of the buffers.
-
Sounds like an indicator problem, do you have values in the data window?
-
@jstap I don´t think, there is an indicator problem (check the mq5 code).
And: yes, all the buffer values can be seen in the data window.Is there anyone who can explain, how to get the arrow signals of an indicator in general? What is the correct way? Unfortunately in the tutorials i have seen examples how to get the signals from indicators with continues signals (like MACD, ADX etc) but not how to get arrow signals which are interrupted.
In my case it would be sufficient to know when a dot appears. Of course, it would be perfect to read out the value as well.

Here is the source code of the indicator:
fractallevels.mq5https://www.mql5.com/de/code/viewcode/732/149215/fractallevels.mq5
-
From your picture, are you getting the 3 values that are printed in your comments?
-
@jstap no acutally i get all the buffer signals, but in that case the mouse cursor (white vertical line) was exactly at the position of these 3 values. (green dot, green line, red line). When i move the mouse then i will get all the other signals as well.
So i cannot even get the green and red lines signals which are contiuous signals.
Could it be that fractal signals are hard to read out from the buffers? -
With those buffers it needs to be a constant value, if large or 0, then when indicator appears it changes to the opposite, this is what would make the block react. If it is constantly changing or fixed this would be the price value, if this value is not showing by itself I know or no way the indicator can be used.
-
@jstap I tested the indicator itself in the strategy tester. The signals suddenly stop working after some time, see below. Probably this is the reason why the EA also cannot read the signals?

But why are they working in live? I am confused!
-
Maybe some indicators are not coded correctly, if you have the object on the chart, see if you have it in the object list, and try to use that.
-
@jstap How can i read these indicator objects? You mean with the "object created" block in the "on Chart" tab?
-
Open the object list, double click the object and see what values you have
-
@jstap the object list is empty:

-
Have you clicked on list all?
-
@jstap sorry, now it looks like below, but still no objects of the indicator found:

-
Unfortunately some arrows are drawn in a way that means they are not visible in the object list,, Without this you cannot use.