Fixed-PSAR-Martinglae EA

MQL4 Experts

Job finished

Execution time 4 days
Feedback from customer
Always satisfied working with him, good programmer and delivers on time. Thank you Il
Feedback from employee
Great client!

Specification

New EA similarities to previous build

  1. EA trades based on upcoming Economics Events (as already built)
  2. EA open trades based on dots of PSAR (as already built)
  3. Logic of trade is based on martingale (as already built)

NEW Logic of Trading:

a.    EA waits for upcoming news, and based on time and news filter will open trade based on action of price on PSAR (as already built)

 

b.    EA opens long or short position based on direction of PSAR (as already built)

 

Major Difference between Old and New Logic

c.    If EA opens a long position (position A) as shown in diagram below (red-dot), it will place TP (TP-A) at the position equal to the distance of new PSAR dot (as already built),

but instead of placing SL (SL-A) at the new position of PSAR dot, it will rather place a SellStop Pending order (trade-B) with Martingale multiplier.

Therefore, SL for trade-A will be x2 of what initially should have been; and TP for trade-B will be at same price SL-A (see diagram)

 

Entry point is marked in big-dot-red (point where psar-dot switched)

d.    So if trade-B is triggered, immediately a 3rd pending order (buy-stop) position will be placed at same point were trade-A started. Therefore, if trade-B did not reach TP, and price reverses to trigger Trade-C, a 4th pending-order (sell-stop) position will be placed at same position were trade-B was triggered, and so on, and so on, using martingale multiplier.

e.    So martingale logic will play out, and keep multiplying trades, until either TP or SL of any of the opened positions is reached.

f.     PLEASE NOTE that, if price touches any of TP or SL of any of the opened positions, EA should FORCE-CLOSE ALL OPENED TRADES IMMEDIATELY (very important please)

g.    Last trade should try and achieve breakeven (or minimal loss). What this means is that if for example, user sets EA parameter = Maximum open trades/cycle = 5

And at 4th trade, price did not reach TP of the 4th trade but goes on to trigger this 5th trade, the value of lot size for 5th trade should be such that it equalizes total long position and short position (like a hedged)

or please you can share your idea on how best to achieve minimal loss when this scenario is reached).

 

 

 

 

Thank you.

 

 



Files:

ZIP
EA_grid.zip
81.1 Kb

Responded

1
Developer 1
Rating
(392)
Projects
545
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Working
Published: 11 codes
Similar orders
I am looking for a highly experienced developer with proven AI / Machine Learning expertise applied to financial markets to work with me on building an AI-driven trading EA for MT5 . This is NOT a traditional indicator-based EA and NOT a signal provider role. The objective is to build an AI/ML system that generates trade signals , which will then be executed automatically by an MT5 Expert Advisor . I am specifically
Zaki boot 30+ USD
//+------------------------------------------------------------------+ //| XAUUSD Safe Scalp - TP $2 / SL 60 points | //+------------------------------------------------------------------+ #include <Trade\Trade.mqh> CTrade trade; // ===== Inputs ===== input double LotSize = 0.01; input int StopLoss = 60; // points input double DollarTP = 2.0; // ربح بالدولار input int MAPeriod = 50; input
1. **Indicator Integration**: The EA should be developed utilizing the Bheurekso pattern indicator. 2. **Sell Signals**: The EA must execute a sell order upon the appearance of any of the following bearish signals or a down arrow that appears on the chart: - Bearish Engulfing - Bear Cross - Bearish Dark Cloud - Bearish Shooting Star - Bearish Harami - Bearish Evening Star - Bearish Hanging Man 3. **Buy
im looking for someone to create a fully automated EA with an indicator from the MQL5 website, i have 2 indicators if 1 doesnt work i would like to use the other for the 1st one i would like to use the pips chaser indicator and convert it into an EA the second i would like to use the neural link candle scanner and higher high higher low indicator put into an EA
Looking for an experienced MQL5 developer to analyze and reverse-engineer the trading logic of an existing scalping Zone Recovery EA using Moving Averages and Bollinger Bands, and then rebuild it
I will do with my pleasure you don't take tension i will see it . Will buy your profitable/sell indicator+source code (non repaint) ksbbssnsn ksksnsnsn isksnsns isjsjsdb isksnsns ksksjsbs jdkdjdj jdjdj idjsjdn ocmfnfb onsndodm oksnsdbbd
Need clean well comented EA, with source code, after delivery need 7 days for testing, if need further support or modify, developer should do it, The Rsi, atr, based, with volatility filter
hello great developer I’m looking for an experienced developer to build a high-speed trade copier that works both ways between MT4 and MT5 . The copier must support: MT4 → MT5 MT5 → MT4 MT5 → MT5 (example: Blueberry MT5 → FTMO MT5) The system will run on my own VPS (local copier, not cloud-based). Key Requirements Real-time / fast execution (low latency) Two-way copying (MT4 ↔ MT5) Support for multiple brokers
European Central Bank (ECB) Interest Rate Decision The European Central Bank left interest rates unchanged at its first policy meeting of 2026, in line with expectations. source: https://www.mql5.com/en/economic-calendar/european-union/ecb-interest-rate-decision '407332776' : added order #481999464 sell 0.01 BTCUSDm at market
I’m looking for developer to build an AI-assisted trading system for Metatader 5 . You to deliver, working MT5 module, AI module (Python or compatible), source codes for both This phase is focused strictly on core logic and AI integration , not UI or dashboards. Kindly reach out only if you have experience on AI integration and prove of past work

Project information

Budget
70+ USD
Deadline
from 1 to 2 day(s)