Open trade based on indicator arrow
-
Hi,
I have an indicator (ex4) only, which I would like to automate by creating an EA that sells when the indicator draws a red down arrow, and buys when it draws a green up arrow.
Can anyone help me in the right direction? Ideally I guess would be to program the indicator into the EA, but I am to dumb for that, so option 2 I guess is just finding the object on the chart and opening based on that?
Thanks a million!
-
Are you completely sure there is not mq4 version available? fxDremma doesn't work smoothly with ex4 files.

-
Hi,
Unfortunately not, I have asked the developer but I don't think he wants to share this.

What do you suggest to do?
-
@jwabe Then I recommend you to study this threads and follow their instructions for the ex4 files:
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
https://fxdreema.com/forum/topic/9105/tutorial-working-with-ex4-ex5-indicator-fileThen cross fingers!

-
Hi,
The second link worked very well, thank you.
I have a differnt issue now, becaus while the indicator is visible, the EA keeps on opening trades (alerting).
I am not sure how to set it so that it should only check again on the next candle, but it needs to check per tick, so I don't want to start with once per bar?
-
Can you please share your project?
-
Hi L'andorra,
I managed to get it right!
Only issue I have now, the close partially is not working, or triggering multiple times when crossing the line
-
Is the order correct or should it be like this:

-
@jwabe Remove the 'once per trade' block and specify cnadle ID 1 on both operands of the condition block.