Existing Expert Advisor upgrade - integrating martingale type EA with Consolidation box indicator

Job ID: 30798217

Budget: $30 – $250 USD

I need to improve existing EAs by using a Box indicator to specify trading times. The indicator opens a box when consolidation is identified, and closes the box when price moves outside the box while also specifying the direction where price broke the box with an arrow. The EA will trade both long and short directions when Box indicator opens up a box on a selected timeframe (include option to select what timeframe to use Box Indicator), then EA should be able to trade on another timeframe (make trading timeframe an option and independent on Box timeframe. I should be able to use H4 for box and H1 to trade if i want).

If price moves outside the box by a specified number of pips, EA should close all existing trades if they are in placed in a direction different from price break in losses, and open only long or short trades in the direction of the arrow indicated by Box indicator. If existing trades are in the direction of the break, trades should hold until TP. When new box is formed, EA should change from long only or short only to both long and short trading.

Aside that, the only other addition is to have a max drawdown in $ above which all trades are closed, which should be an optional feature.

Functional EA already exist from prior project will be used as starting point. Only the above new functionality additions are required.