I would like to create a news filter so that my ea do not trade in the two previous hours at the exit of an important news and also in the next two hours.
I want a function to stop trading before high impact news
using struct MqlCalendarEvent
or you can use forex factory calender
I need a function to add to mt5 EA
it will not use indicator
everything will be under my EA
--- News Filters ---
Pause before NFP/High/Medium/Low Impact News (minutes)
Pause after NFP/High/Medium/Low Impact News (minutes)
Close trades X minutes before NFP/High/Medium/Low Impact News: Either all trades or only those with the specified "Magic Numbers" will be closed X minutes before the news.
Filter News Events: Only pause during specific events. Separate multiple event names by a comma like e.g. "PMI,Rate Statement,CPI".
Filter News Symbols: By default, Take a Break will determine the news for each symbol automatically. However, you can also specify your own set of symbols (e.g. "EUR,USD,GBP").
비슷한 주문
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients