how do i close a position when two indicators meet?
-
how do i close a position when two indicators meet?
-
@maverick83 That depends on the indicators. If both are in the chart and have a price value, you might use a condition block. Otherwise you might chain 2 conditions such as RSI x>30 and Price > EMA 20
It really depends. So if you have a project to start with, you may post a link. Or specify your conditions more precise!
-
@trader-philipps thanks for replying, using the ADX indicator I have to stop the trade when example d- = d +,
-
@maverick83 this is my link https://fxdreema.com/shared/B16RaNzec
-
@maverick83 Well, I have it build here but can't upload the mq5 file unfortunately due to permissions. Don't know what the issue is. So I'll make screenshots.
First I would suggest to specify candle ID 1 on where ever you reference an indicator as on candle ID 0 values still might change until the candle is closed.
Here is the close logic.

-
Thank you for your support
-
@maverick83 Remember that ADX is lagging a lot and hence you should have other confirmations as well.
-
@trader-philipps ok thank you