Specification
EA will create Buy and Sell Market orders using the series created using the formulae given in the google sheet
https://docs.google.com/spreadsheets/d/1o-ZnlhJfcwbVgUn2eSyjXHyES29SgEtx8ZATUVVlvsM/edit#gid=918992043
Inputs:
2) RestartMarginLevel = Y% (500%) --- Restart the process of creating Orders once the margin level is greater than Y%
3) LOT_Buy - This is the Lot size of Buy order [If this value is 0, the EA will not create Buy orders]
4) LOT_Sell - This is the Lot size of the Sell Order [If this value is 0, the EA will not create Sell orders]
5) Series_Begin - This is a variable used in the order series (Formula given in the google sheet)
6) Series_Till - This is a variable used in the order series (Formula given in the google sheet)
7) Gap_Multiplier - This is a variable used in the order series (Formula given in the google sheet)
8) TP_Multiple-Buy - This is a variable used in the order series (Formula given in the google sheet)
9) TP_Multiple-Sell - This is a variable used in the order series (Formula given in the google sheet)
NOTE
1) Whenever, any order gets closed due to take profit or manually, the EA will create the same order when price goes to the Closed position's level. However, the EA will not create any duplicate orders.
2) Whenever the EA is restarted, the EA will restart again. If the EA restarts, it will start freshly with the new settings.
3) EA should display the following on the Graph. -> Account Balance, Margin level, Equity in Green color fonts
EA should work fast, hence code should be optimized by the developer for speed.