News Trading Pending Order v1.6
Logic:
- News Trading:
- The EA is designed to execute trades based on the impact of news releases, particularly for specific currencies (e.g., USD, EUR, GBP, JPY).
- It sets up pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) at a certain distance from the current price to capture market movements following news events.
- Pending Orders:
- The EA places multiple pending orders with defined spacing between them to ensure that trades are triggered in both directions (upward and downward) depending on market reactions.
- Orders have expiration times to prevent execution if the market doesn’t move as expected within a specified period.
- Trailing Stop:
- The EA includes a trailing stop mechanism that adjusts the stop loss as the price moves in favor of the trade, ensuring profit protection.
Order Management:
- The EA manages multiple orders by checking currency pairs and placing trades accordingly.
- It includes functionality to delete non-active orders and to adjust trailing stops dynamically as the market moves.