I NEED HELP WITH 2 (HMA) TRADING STRATEGY ?
-
can any one help me to create an ea that can follow this conditions
condion 1 :buy when hma (100) buffers green (!=) value (0)
condition 2 :buy when hma (50) buffers green (=) hma 100
condition 3 close all trades
condition 4 buy now .
condition 5 show arrows
now this is were it gets tricky for me ( the most important part. closing a trade when the hma (50) buffers or changes to orange while the hma(100) is still green
condition 6: no stop loss or take profit
and the same for sell
thanks in advance -
@mbiganyi-dagwi So here is the "tricky part", which is not really tricky.

My HMA indicator version may be different to yours, but by principle it should be like this.
Are you able to configure the rest or post your project link and custom indicators here.
-
@trader-philipps am using 2 hma and it looks like you are using only one .am going to try your idea .thanks
-
@trader-philipps ohhhhhh those are for the closing part my bad .i thought that was the whole ea ahahahahahah. thank youuuuuuuuuuu
-
Did you check if that custom indicator repaints? Because if so, your strategy will probably fail.
-
@l-andorrà how to i check
-
@mbiganyi-dagwi Put in on 1M chart in tester and do visual test. See were it first color changes and mark that point. Let it run and check if that color change point changed. Do this for some changes.
-
@trader-philipps thanks all try.