Help with EA

 

Hi

Could somebody help me please?

Newdigital posted this EA a long time ago.

I think it has the potential to make some $$$, but it has a problem.... it buys or sells during the candle as it changes, which could open a short... then the candle turns long and at the close, you're short with a long trend.

I would like the buy or sell decision to take place at the beginning of the next new candle, not during the old one. I don't know how to fix it, I just started to learn how to code and I feel lost

Could someone kindly modify this EA to :

- only open positions with a new candle after the MACD crss,

- be able to work with TP as small as 1 pip

- to have regular SL ptin without trailing stop

macd_signal.mq4_.mq4

Thank you in advance! You guys inspire me!

Files:
Reason: