The EA is a Grid Hedge system that starts trading based on the inputs provided in the settings. It opens both a short and a long position, and when either the long or short position wins, it opens a new position instantly in the same direction. Therefore, the Expert Advisor is always in both a short and a long position. The grid orders are limit orders, and the Expert Advisor adds the next three grid orders to the chart according to the Grid spacing settings. As soon as one order is activated, it adds the next grid order, ensuring that three grid orders are always displayed. The Expert Advisor must display the breakeven level when grids are opened. If the EA stops trading, whether due to news or stop timer, it will not open any new trades, but will instead finish any open trades it currently has. It can still open new grid positions to exit the position. The Expert Advisor will be running on a Metatrader 5 VPS and needs to have a fast response time of 1 ms or less. Additionally, the EA must be optimized for fast backtesting, as it will be used frequently for this purpose. Settings of the EA: Lot Size: 0.01 lots Grid Spacing: [input box for pips] Grid Martingale: [input box for multiplier] Take Profit: [input box for pips] - Applies to the first order without grid Stop Loss: [input box for pips] TP Grid: [input box for pips] - Adjust in pips where TP is set in relation to breakeven price when grid orders are opened Breakeven: True / False - Sets TP to Breakeven line Start trading hours: [input box for hours] Start trading minutes: [input box for minutes] Stop trading hours: [input box for hours] Stop trading minutes: [input box for minutes] Trade Monday: True / False Trade Tuesday: True / False Trade Wednesday: True / False Trade Thursday: True / False Trade Friday: True / False News Filter: True / False Medium Impact: True / False High Impact: True / False Before news: [input box for minutes before EA stops trading] After news: [input box for minutes after EA stops trading] Breakeven line color: [color picker] Magic Number: 123