Hi. I have a strategy to run for gold equity in mt4. I've created the logic by help of AI tool. But I need some help from any master who can compile the program it got too many syntax error. The logic is like these.It should open trade on Asian and London session. It should be able to be set for auto gmt and follow the broker timing. It should not trade during high and medium impact news and during US trading session. Trading plan ; 1) can be use for 5, 15 and 30 min time frame. 2) it should use 3 ema ; ema 8 , ema 14 and ema 100. 3) Long entry, when a) price is above ema 100, b) when ema 8 is higher than ema 14, c) when price cross up close above ema 8/14. Trading plan, a) open price next candle. b) SL= 2×ATR (or price cross down ema 8/14) c) TP1=1×ATR (reach TP1 move SL to BE. d) TP2= 2×ATR (price reach TP2, move SL to TP1) e) TP3 =3×ATR ( Close trade) The short entry should be the opposite of the long entry.
See attached file. Help to share within this community. Any masters. Please help.
See attached file. Help to share within this community. Any masters. Please help.