Grid Martingale EA with partial closing and MA filter

MQL5 Indicadores Experts

Termos de Referência

Grid Martingale EA with partial closing and MA filter

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



Respondido

1
Desenvolvedor 1
Classificação
(236)
Projetos
440
26%
Arbitragem
125
21% / 57%
Expirado
96
22%
Trabalhando
2
Desenvolvedor 2
Classificação
(37)
Projetos
59
27%
Arbitragem
25
20% / 52%
Expirado
10
17%
Trabalhando
3
Desenvolvedor 3
Classificação
(24)
Projetos
29
38%
Arbitragem
2
0% / 0%
Expirado
2
7%
Livre
4
Desenvolvedor 4
Classificação
(56)
Projetos
175
71%
Arbitragem
4
100% / 0%
Expirado
1
1%
Livre
5
Desenvolvedor 5
Classificação
(74)
Projetos
73
47%
Arbitragem
2
50% / 50%
Expirado
2
3%
Livre
6
Desenvolvedor 6
Classificação
(264)
Projetos
538
50%
Arbitragem
55
40% / 36%
Expirado
224
42%
Trabalhando
7
Desenvolvedor 7
Classificação
(10)
Projetos
15
27%
Arbitragem
3
67% / 33%
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(586)
Projetos
918
46%
Arbitragem
31
39% / 29%
Expirado
93
10%
Trabalhando
Pedidos semelhantes
The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it

Informações sobre o projeto

Orçamento
30 - 40 USD
Desenvolvedor
27 - 36 USD
Prazo
de 1 para 3 dias