The existing EA is working well, but entering condition must be update to get better results. It is a martingal strategy based on two timeframes M5 with LWM19 and H1 with SMMA52 (configurable). I need an update of entering condition in OnTick() function : Actually entering condition are : when new candle in H1 above SMMA52 AND new candle in M5 above LWM19 then buy when new candle in H1 below SMM52 AND new candle in M5 below LWM19 then sell The update are : As soon as price cross above SMMA52 on H1 then If newcandle is above LWMA19 in M5 then buy (not wait new candle in H1 as previous version) ‌As soon as price cross below SMMA52 on H1 then If newcandle is below LWMA19 in M5 then sell (not wait new candle in H1 as previous version)