trading with indicator colour change on chart
-
Hello.
Could someone please help with the EA below im trying to get a buy trade when the indicator on the chart turns green and a sell trade when the indicator turns Magenta, but it doesn't seem to work.
Thanks in advance.
https://fxdreema.com/shared/sxuXNQ0Fc -
@mikev_303 You are using this element on the wrong tab:

Instead of using a condition block, use those 'indicator is visible'. However, I don't see tha magenta buffer in it. Are you sure the indocator is showing that buffer in your fxDreema account?
-
@l-andorrà Thanks. I moved it to the on chart section and used the indicator is visible, should the different colours be two different buffers, i'm realy confused how to get a buy or sell signal from the indicator is visible block instead of a condition. I've uploaded the code below and it has the colours green and magenta in it. But when I upload the indicator in fxdreema it looks like this.

Can you please offer some guidance.
-
@mikev_303 The problem is the buffer. One same buffer can have 3 different values. We need a real programmer here dealing with that, I'm afraid.
Maybe miro or roar.