I am new to EA's but not forex and need help

 

Hello all, I hope you are all well,

Is it possible to get an EA that buys or sells on zero line of macd.

I was thinking of using a MACD that is to the users preference, and then in an up trend we could tell the EA to buy on the zero line and in a down trend we can tell it to sell at the zero line or simply exit the long at the crossing of the zero line to the down side and /or visa versa???

The code will need to act on both buy and sell signals, but the MetaTrader platform allows to buy only and sell only if selected, so the code would need to work within those perameters, if we can put man on the moon, we should be able to do this, lol

OR

May be an EA for long and a seperate EA for sells???

I DO NOT have the first idea of how to program these things, so please be patient, thanks I dont even understand what the words mean in the codes I have been looking at, I could be looking at gold and dont know it??

regards to all.

Pottsty

Melbourne Australia

 

Compare values of indicator at different shifts. E.g. for buy: (MACD > 0 at current or previous shift) AND (MACD < 0 at one shift before that). For sell this would be opposite.