aaaa Thank you sooo muchhhh Tanaka san you are the best much loveeeI coded. Please see below
View attachment 78271
EA will run only news time. Recommended TF is H1 or H4
EA will start to trade 2min before high impact news. (you can change the time)
and EA will stop trade after 15min from high impact news.
View attachment 78272
If price is 5pips from HIGH and LOW , then open buy stop and sell stop at the same time.
You can check the value on the top of the chart.
If you want to change 5pips, then put PipsDifference.
View attachment 78277
View attachment 78274
If buystop or sellstop become active, then stop order is canceled.
You can use takeprofit and trailing stop to get profit!!!
PS You can not do backtest, please FT.
https://www.forexfactory.com/showthread.php?t=400754
btw can I change the magic number for different pair ?


