작업 종료됨
![](https://c.mql5.com/i/avatar/avatar_na2.png)
명시
Hi Developers and programmers,
I ask to create expert advisor according to the following:
MT4 (metatrader 4) .
1- the expert advisor will open initial position direct hedge (buy and sell)
2- if the price go above the hedge, the expert will open sell .
3- if the price go under the hedge, the expert will open buy.
Take profit: if the total positions at this amount, the expert will close all positions.
Stop lose: if any position lose this amount, The expert will close this position only.
NOTE: -When I make back-test for this expert advisor, I want to see this strategy in visual mode, same the parameters values entered.
-And no conflict between closing positions if I want to run expert advisor in several chart in same time according to the parameters, and the magic number for each chart.
Panel Parameters: Moaz EA
The panel on chart contain:
Moaz EA
1- Status: running or disabled.
2- Number of buy positions.
3- Number of sell positions.
2- Current profit: now
3- Today profit:
4- This week profit
5- Balance: now
6- Equity: now
7- leverage: leverage of account
And also,I want to see Breakeven and take profit level on the chart.
Parameters:
New series: on or off ( if off, the expert will stop after take profit and not open new initial hedge).
Profit: (amount) for all positions (buy or sell).
Loss: (amount) for individual position, (not for all positions).
Total loss: (amount) Close all positions(buy and sell) if the total positions reach this amount .
Step: (distance between open positions above or under the initial hedge).
Lot: (initial lot size)
Auto lot: for initial hedge
Martingale: the expert will open positions above and under initial hedge with martingale value.
Max Spread: not open new positions if spread more than (pips).
Time: the expert will open positions during this time (Broker time).
Reverse strategy: no or yes ( if yes the expert will open buy positions above initial hedge and will open sell positions under initial hedge).
Magic: 1983
Comment: Moaz Hedge
Panel parameters: show in chart On/Off
I uploaded photo in attachment for clarification.
The name of expert advisor : Moaz Hedge .
If any developer can do that please let me know.
Best regards,
Moaz Haddad.