Grid Martingale EA with partial closing and MA filter

MQL5 Indikatoren Experten

Spezifikation

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



Bewerbungen

1
Entwickler 1
Bewertung
(236)
Projekte
440
26%
Schlichtung
125
21% / 57%
Frist nicht eingehalten
96
22%
Arbeitet
2
Entwickler 2
Bewertung
(37)
Projekte
59
27%
Schlichtung
25
20% / 52%
Frist nicht eingehalten
10
17%
Arbeitet
3
Entwickler 3
Bewertung
(24)
Projekte
29
38%
Schlichtung
2
0% / 0%
Frist nicht eingehalten
2
7%
Frei
4
Entwickler 4
Bewertung
(56)
Projekte
175
71%
Schlichtung
4
100% / 0%
Frist nicht eingehalten
1
1%
Frei
5
Entwickler 5
Bewertung
(74)
Projekte
73
47%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
2
3%
Frei
6
Entwickler 6
Bewertung
(264)
Projekte
538
50%
Schlichtung
55
40% / 36%
Frist nicht eingehalten
224
42%
Arbeitet
7
Entwickler 7
Bewertung
(10)
Projekte
15
27%
Schlichtung
3
67% / 33%
Frist nicht eingehalten
0
Frei
8
Entwickler 8
Bewertung
(586)
Projekte
918
46%
Schlichtung
31
39% / 29%
Frist nicht eingehalten
93
10%
Arbeitet
Ähnliche Aufträge
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
Greetings, As the title suggests, I am trying to convert an indicator that calls itself via an iCustom call like this. iMAArray_Buffer[loop_1] = iCustom ( NULL , Selected_TF, MQLInfoString ( MQL_PROGRAM_NAME ), "calculate" , RPeriod, MType, MPeriod, 1 , shift); Full code will not be provided, only the position that needs fixing. I cannot get this working in MQL5 but the original code runs smoothly in MQL4. Please
I need a chart to replicate/track my equity + Balance Curve into my mt4. Also this chart i need to be able to add Stochastic / Bollingerband / Moving average on the equity/balance curve. Besides the equity curve i would like the indicator to show the Line-chart of my win + 1 and my loss -1 which results in a win-loss curve. ( i will discuss this with the choosen developer in depth. ) More information on what i want
Greetings great developer, I am in search of a highly skilled developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Hello, This is pretty simple and its an indicator with On/Off button 1-Off will remove all indicator from the chart. 2-On will put them all back again with the same settings
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines
Hello Guys! I want to modify/fix the indicator that uses sequential type of entries (it calculates from 1 to 9) and if the conditions are met it provides an arrow (signal) with alert. The problem is that, sometimes (for unknown for me reasons) it repaints arrow signal. Like on the picture: Signal 1 - correct signal Signal 2 - correct signal Signal 3 - correct signal Signal 4 - repaints (signal 3 arrow dissapeared
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need

Projektdetails

Budget
30 - 40 USD
Für die Entwickler
27 - 36 USD
Ausführungsfristen
von 1 bis 3 Tag(e)