Grid Martingale EA with partial closing and MA filter

MQL5 指标 专家

指定

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



反馈

1
开发者 1
等级
(250)
项目
460
26%
仲裁
140
20% / 59%
逾期
100
22%
工作中
2
开发者 2
等级
(37)
项目
59
27%
仲裁
26
19% / 54%
逾期
10
17%
工作中
发布者: 1 代码
3
开发者 3
等级
(24)
项目
29
38%
仲裁
2
0% / 0%
逾期
2
7%
空闲
4
开发者 4
等级
(77)
项目
243
74%
仲裁
7
100% / 0%
逾期
1
0%
空闲
发布者: 1 文章
5
开发者 5
等级
(74)
项目
73
47%
仲裁
2
50% / 50%
逾期
2
3%
空闲
6
开发者 6
等级
(271)
项目
553
50%
仲裁
57
40% / 37%
逾期
227
41%
工作中
7
开发者 7
等级
(11)
项目
18
28%
仲裁
4
50% / 50%
逾期
1
6%
空闲
8
开发者 8
等级
(627)
项目
989
47%
仲裁
33
36% / 36%
逾期
98
10%
工作中
发布者: 6 代码
相似订单
I have existing compiled indicator and script files (EX4) and would like to have them recreated in both MQL4. ⚠️ Important: This project is NOT for decompiling or reverse engineering. Instead, the goal is to: Analyze the behavior and output of the provided files Recreate equivalent functionality from scratch Deliverables: 1 MQL4 indicator source code (.mq4) 1 MQL4 script source code (.mq4) Requirements: The recreated
I need a good programmer to help convert an existing indicator to a trading EA that can work on both MT4 and MT5. The expected features on the EA is as follows: Max Spread: Magic Number: Take Profit: Stop Loss: Trailing Stop: Fixed Lot Size: Money Management: false/true Min Lot Size: Max Lot Size: Risk to Trade %: Daily Profit Target %: Add news filter. Get my jobs with source code
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or

项目信息

预算
30 - 40 USD
截止日期
 1  3 天