Hey there, traders! If you've ever wanted to capitalize on market movements during news releases, you're in the right place. This simple Expert Advisor (EA) for MetaTrader 4 is designed to help you navigate those turbulent waters smoothly.
Here’s how it works: the EA sets up a grid of orders in both directions five minutes before the news hits. As soon as those orders get triggered, it automatically trails the Stop Loss to help secure your profits. And if any pending orders remain untriggered after ten minutes, the EA will clean them up for you.
EA Parameters:
- news_time: This is the exact time when the news will be released.
- amount of deals: Defines how many pending orders you'll be placing in each direction.
- step between them: The distance between each order in the same direction.
- distance from current price: How far the first order will be from the current market price.
- trail sl (in pips): The Trailing Stop value for your Stop Loss, which activates once the market order is opened.
- take profit from order price: The target price for your Take Profit order.
- tolerance for trail: The flexibility for adjusting the Stop Loss during trailing to reduce server calls.
- magic number: A unique identifier for your order grid.
- lot size: The size of the trades you’ll be opening.

Comments 0