Modify MT5 EA

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 21 días
Comentario del Cliente
Another great delivery from the dev. Other devs did not understand my request, but he is very quick in understanding details. Executes as per specifications.
Comentario del Ejecutor
Happy to be of service. Client knows exactly what he wants making it easy and a joy to work with. Well-deserved 5 stars!!

Tarea técnica

I have an EA that works like this. The only difference is that it closes all trades in loss or profit when SL and TP is reached.

I want a 2nd function added to the EA. Adding Martingale function such that trades do not close with negative until a total dollar amount is reached.
I will share EA in the private section.

Step-by-step flow of the trades taking place:

Logic When we select Close Losing Trades=False/No

First and most important: Selecting No/False activates a martingale system- So, add this.

So, here is an example of how the system will work;

Assume we start with a buy and I have set SL=-50 and TP=50 for all trades and target $ value =1000

EXAMPLE

Step 1: Buy (lot 1) open BUT does not reach TP A (we call this Buy A)

Step 2: Since the single Buy A does not close by take profit and it reaches SL (-50) level, the trade DOES NOT CLOSE. Instead, Step 3 kicks in.

Step 3: After Buy A reaches SL (-50), a Sell (lot 2) is opened (We call this Sell B). In this case Sell B also has SL=   -50 and TP=50.

 So, if the down trend continues, we have two trades running (Buy A with lot 1 and Sell B with lot 2).

If (Buy A+ Sell B) = 1000 (Target $ value), the two trades close automatically.

Step 4: If (Buy A+ Sell B) continue to run and reach Sell B Take Profit before attaining the Target $ value of 1000, another Sell C (lot 4) is opened at Sell B Take Profit.


Han respondido

1
Desarrollador 1
Evaluación
(98)
Proyectos
137
52%
Arbitraje
5
40% / 60%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(139)
Proyectos
181
24%
Arbitraje
23
22% / 39%
Caducado
13
7%
Libre
3
Desarrollador 3
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
Solicitudes similares
I need a very profitable scalping robot for gold trading at M1 timeframe. I should have adjustable trailing stop, step, SL, TP in points it should use both trade opening and pending orders just as in the links below https://vt.tiktok.com/ZSHj9cD5w/&nbsp ; https://vt.tiktok.com/ZSHjHFvkg/&nbsp ;
Ea with MM Masaniello 50 - 200 USD
I would like to develop a bot that allows me to manually input trades based on the Masaniello money management system, which I will configure at the outset. Within this setup, I will be able to define all the key parameters of the Masaniello strategy, including the total number of events, expected winning events, stake ratio (i.e. the TP/SL ratio), and the initial capital. Once the Masaniello parameters are set, the
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I need an Expert Advisor (EA) for MetaTrader (MT4 or MT5) based on the following scalping strategy. Platform: MT4 or MT5 Symbol: EURUSD (should work on other pairs as well) Timeframe: M1 or M5 Indicators: - EMA 9 - EMA 21 - RSI (14) Buy Conditions: - EMA 9 crosses above EMA 21 - RSI > 55 - Spread < 1.5 pips - Only one trade at a time Sell Conditions: - EMA 9 crosses below EMA 21 - RSI < 45 - Spread < 1.5 pips -
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
a 1 día(s)