Expert Advisor via MA Cross

MQL5 Experts

Specification

I need an Expert Advisor for fully automated trading via MT5.

It shall have the following properties (all Values should have Inputs in menu):


- Open the FIRST trade by crossing MAs

  - Selectable use of RSI (selectable condition OR/AND/NOR/NAND/DISABLED)

  - Selectable use of Bollinger Bands (selectable condition OR/AND/NOR/NAND/DISABLED)

  - Close it via Stop loss (selectable of fixed pips, percentage of balance/margin/equity or DISABLED)

  - Close it via Take Profit (selectable of fixed pips, percentage of balance/margin/equity or DISABLED)


After closing the FIRST trade do following:

- If the last trade was a LONG, then open a trade in the same direction if with the next candle if the OPEN of the next candle is GREATER than the SL or TP of the last trade

- If the last trade was a SHORT, then open a trade in the same direction if with the next candle if the OPEN of the next candle is LOWER than the SL or TP of the last trade

- Open a trade in the opposite direction by waiting for the next MA Cross

- Selectable use of RSI (selectable condition OR/AND/NOR/NAND/DISABLED)

- Selectable use of Bollinger Bands (selectable condition OR/AND/NOR/NAND/DISABLED)

- Stop Loss (selectable of fixed or increasing pips or percentage of balance/margin/equity/DISABLED)

- Trailing Stop Loss (selectable of fixed or increasing pips or percentage of balance/margin/equity/DISABLED)

- Take Profit (or partial Take Profit by taking only a percentage of the profit and leave the trade open)


Common properties:

- Show an orange line for the Stop Loss

- Show a violet line for the Take Profit

- Mark the Open and the Close of a trade with an arrow on the chart showing the direction (blue for long and red for short)

- If possible, mark the direction of the whole trade with a dashed line (again blue for the long and red for the short)

- Show the reason of close of the trade (i.e. Stop Loss or Take Profit)

- Show the MA on the Chart (blue for the slow MA and yellow for the fast MA)

- Show the Bollinger Bands on the Chart

- Show the RSI on the Chart

- Draw the candles in green and red (full body)

- Show in an Info box some Information:
   - Asset, Timeframe, Balance, Margin, Start of actual trade, Lotsize or price of actual trade, profit or loss of actual trade, direction of actual trade



The source code has to be a bit structuriced and commented with explanations, what each part of the code would do.

Of course I need the source code.

Responded

1
Developer 1
Rating
(1085)
Projects
1758
61%
Arbitration
14
64% / 7%
Overdue
82
5%
Free
2
Developer 2
Rating
(300)
Projects
504
47%
Arbitration
28
11% / 43%
Overdue
138
27%
Free
3
Developer 3
Rating
(466)
Projects
494
52%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
4
Developer 4
Rating
(7)
Projects
8
0%
Arbitration
2
0% / 100%
Overdue
2
25%
Working
5
Developer 5
Rating
(250)
Projects
399
38%
Arbitration
82
41% / 20%
Overdue
69
17%
Busy
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(410)
Projects
464
34%
Arbitration
24
42% / 46%
Overdue
6
1%
Free

Project information

Budget
30 - 200 USD
VAT (19%): 5.7 - 38 USD
Total: 35.7 - 238 USD
For the developer
27 - 180 USD