Expert Advisor via MA Cross

MQL5 专家

指定

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.

反馈

1
开发者 1
等级
(1125)
项目
1813
61%
仲裁
14
64% / 7%
逾期
84
5%
空闲
2
开发者 2
等级
(312)
项目
521
47%
仲裁
30
10% / 47%
逾期
139
27%
空闲
3
开发者 3
等级
(513)
项目
552
53%
仲裁
13
69% / 15%
逾期
3
1%
空闲
4
开发者 4
等级
(10)
项目
10
0%
仲裁
4
0% / 100%
逾期
2
20%
空闲
5
开发者 5
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
6
开发者 6
等级
项目
0
0%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
(613)
项目
716
33%
仲裁
46
48% / 41%
逾期
14
2%
已载入

项目信息

预算
30 - 200 USD