early start of trade
-
i set MA to come in sequence to come below each other, before starting of trades but trade was started early as soon as EMA just started to come to point from where they come in sequence
https://i.imgur.com/ccwKkDk.png
trade were started even more early before complete cross -
@haikel Try using candle ID 1, this will check for the cross on previous candle.
-
@jstap Any other way to do it like setting an angle or amount of travel required after cross etc?
-
@haikel Didn't jstap suggestion work? That can confirm your crossing happened.
-
@haikel The slope angle can be checked using MQ code but I do not know how, you can check that MA on candle ID? is <> MA on ID? , count the candles or check the distance, none of these may fit your strategy so you will have to decide what suites.
-
@l-andorrà yes work but angle setting will be good to exlude ranging market
-
@haikel You can just check previous candle level is <> recent, quite rudimentary but could work if fits your requirements, if you check the distance on different MA's then when there close range is likely unless it is crossing or changing. In HERE is something I was doing recently, there should be enough to find all you need.