Problem with output buffers
-
Hi all,
I have a question concerning output buffers. Look at the attached screen.
How can I parameter "if the line change color green to pink"? The 3 colors are in the same output buffer... It is under MQL5Thanks

-
do you have the mq5 file?
-
-
so these are the real buffers:

the second buffer, "valc" is the one that describe the color status; looking at the code, it print 2 when long and 1 when short.
You can use it as entry signal.
-
@Alex81 Thank you very much. So you think I can change the output buffers and add 1 for short and 2 for long like that?

-
Anyone can help me please?
-
The buffer you named "1" could have two outputs: 2 or 1. So you have to set a 2 candle condition like this (for buy for example):

The same with output 1 for sell
-
Oh ok. Thank you very much!
-
@Alex81 Sorry but it doesn't work. Look. Here for buy condition. Is that right?

-
I found that same issue some years ago (several buffers sharing the same position) and there was no solution other than using some custom code to fix it. No fxDreema block can understand that buffers distribution.
-
@bagheria you used buffer 0, you have to use buffer 1 as per my picture.