Grid Martingale EA with partial closing and MA filter

MQL4 Experts

Job finished

Execution time 3 days
Feedback from customer
Rogy is a highly recommended, professional, and fast developer who consistently addresses all necessary tasks with exceptional skill.
Feedback from employee
very nice and kind thank you +++++

Specification

This is grid EA


  • EA have Option for Trade Type Option: 

  1. BUY Only,- EA will only place buy only

  2. Sell Only - EA will only place sell only

  3.  Buy and Sell.- both


  • Entry rules for 1st Order

    • EA has Moving Average Filter(enable and disable)

    • If Filter is OFF -  EA will will not check the MA when placing order. EA will place BUY and SELL

    • If the Filter is On. - EA will  place BUY if price is above the buy trend, if the price is below MA trend line, EA will place Sell


  • Rules if the 1st order is losing (negative grid)

    • If  the first Order is losing, place the next order in Grid ( check the minimum grid distance in pip and filters)

  • Rules if the 1st order is in profit. Positive grid

    • The positive grid is not affected with filters.


    • Add EA settings: Positive Grid level in pips: 10pips (dafault)

    • If the 1st order is in profit of 10pips, EA will place another order, same direction and same lotsize.

    • If the last order is in profit of 10pips again, place another order, same direction and same lotsize.

      • Exit for the positive grid

        • The last order will have Trailing stop settings(EA settings, trail start, trail stop, trail step)

        • If the trailing stop is hit, EA will close all orders in profit. Do not close the losing orders.


  • EA will have TWO Martingale GRID  EXIT options.

  1. Exit 1 - EA calculate the breakeven and TP level of all the orders then once EA hits TP level EA will close all orders. Cycle close and start again.

  2. Exit 2 - EA will have a “Partial close percentage” settings = 50 (default)

    1.  EA will not  close all orders if the TP level is hit. EA will close orders Partially based on the Percentage close settings.


  1. If the setting is set to 50%. -EA will  close 50 percent of the lot size of individual orders  except the lowest lotsize like 0.01 which will not be close partially and all the orders below TP line will be closed as a whole. 

  2. Calculate  the breakeven and the TP level using the lotsize that the EA is going to close. 


Additional Filter

  • Opening of the BAR (disable/enable). If enabled, EA will only open an order at the opening of the Bar, if disable,, EA will not be limited in the opening of the bar to open a trade.

  • Moving Average Filter. (Disable/enable) if enable, EA will only open position on the trend. BUy if the price is above the MA trend line and Sell of the price is below the trend line

    • Insert MA settings including Timeframe settings. 


Limits

  • Add Lotsize limit: - if hit stop placing new order

  • Add order limit - if hit stop placing new order

  • Add drawdown limit $ - if hit close all orders,

  • Add drawdown limit equity percentage - if hit close all orders

    • Add option, if hit Drawdown limit, EA will close orders,

      1. Stop the EA- EA will not place anymore orders until restart.

      2. Continue trading



Time Limit

Start time:HH: MM: SS start opening

End time: HH: MM: SS stop opening of new orders


Slippage: 5.0 default. More than this, do not open position. 

Magic Number: 1

Dashboard: True/False

Comment: xxx


Note:

If I change the settings while the EA is trading, please update the EA as well. Example, change the TP level, EA will adjust the TP level of the existing orders. If I change the multiplier. 



EA settings:


Order Type

  • Buy Only

  • Sell only

  • Buy and sell


Initial Lotsize : 0.01

Lotsize Multiplier: 2 (Defaultl)


Profit in Pips: 3.0 (Default)  - pips above breakeven, if hit close all or partial close.


Step Positive Grid: 10.0 (default) - if the 1st order is in profit and it reach 10pips, EA will place another order, same lotsize, and place another order if it hit another 10pips


Trailing for Positive Grid - Positive grid will close if Trailing stop is hit.

  • Trailing start

  • Trailing Stop

  • Trailing Step


Step Negative Grid: 30.0 (default) - if the first order is at loss and it hit 30pips, EA wil place order,  etc.


Exit strategy

  • Close All

  • Partial close


Limits

  • Lotsize limit: - if hit stop placing new order

  • Order limit - if hit stop placing new orders

  • Close if current profit $ - 0- disable 

  • Drawdown limit $ - if hit close all orders,

  • Drawdown limit equity percentage - if hit close all orders

    • If DD limit is hit -Stop trading

    • If DD limit is hit - Continue Trading



Moving average (enable/Disable)

  • Timeframe

  • Period

  • MA method

  • Apply to

Open of the Bar Filter : enable/ disable


Expert working hours: Enable/ disable

Start of opening a position: hh:mm:ss

End of opening new position; hh:mm:ss



Magic Number: 1

Dashboard: True/False

Comment: xxx


Dashboard:

Broker company

Account name:

Balance

Last closed profit (amount after TP level is hitI)

Current Drawdown






Responded

1
Developer 1
Rating
(376)
Projects
398
31%
Arbitration
62
19% / 69%
Overdue
50
13%
Loaded
2
Developer 2
Rating
(104)
Projects
120
33%
Arbitration
4
0% / 50%
Overdue
2
2%
Free
3
Developer 3
Rating
(362)
Projects
506
40%
Arbitration
148
18% / 72%
Overdue
99
20%
Busy
4
Developer 4
Rating
(236)
Projects
440
26%
Arbitration
125
21% / 57%
Overdue
96
22%
Working
5
Developer 5
Rating
(5)
Projects
4
50%
Arbitration
4
0% / 75%
Overdue
0
Free
6
Developer 6
Rating
(28)
Projects
34
15%
Arbitration
5
40% / 60%
Overdue
5
15%
Free
7
Developer 7
Rating
(563)
Projects
932
47%
Arbitration
302
59% / 25%
Overdue
124
13%
Loaded
8
Developer 8
Rating
(225)
Projects
284
42%
Arbitration
15
13% / 47%
Overdue
67
24%
Free
9
Developer 9
Rating
(90)
Projects
118
17%
Arbitration
44
23% / 39%
Overdue
20
17%
Free
10
Developer 10
Rating
(257)
Projects
314
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
11
Developer 11
Rating
(242)
Projects
428
34%
Arbitration
54
37% / 39%
Overdue
156
36%
Busy
12
Developer 12
Rating
(71)
Projects
80
10%
Arbitration
35
9% / 54%
Overdue
6
8%
Working
13
Developer 13
Rating
(256)
Projects
415
38%
Arbitration
86
44% / 19%
Overdue
70
17%
Busy
14
Developer 14
Rating
(38)
Projects
40
25%
Arbitration
23
13% / 70%
Overdue
8
20%
Loaded
15
Developer 15
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
16
Developer 16
Rating
(60)
Projects
186
73%
Arbitration
4
100% / 0%
Overdue
1
1%
Free
17
Developer 17
Rating
(568)
Projects
641
41%
Arbitration
21
57% / 29%
Overdue
47
7%
Working
18
Developer 18
Rating
(6)
Projects
6
33%
Arbitration
3
0% / 67%
Overdue
0
Working
19
Developer 19
Rating
(266)
Projects
540
50%
Arbitration
55
40% / 36%
Overdue
224
41%
Free
20
Developer 20
Rating
(174)
Projects
176
76%
Arbitration
2
100% / 0%
Overdue
0
Free
Similar orders
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) for MT4. The EA should close an open trade automatically when a Golden or Death Cross occurs in the Alligator Indicator. Please let me know if you have experience with similar projects and how we can discuss the details further
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell

Project information

Budget
101+ USD
For the developer
90.9 USD