Add 2 Stop Loss Features to an existing well running EA

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 8 días
Comentario del Ejecutor
Very understanding and supportive client. very nice to talk to . Very clear requirements and explanations. I would definitely like to work with him again and again.
Comentario del Cliente
Fine developer. Finished in time

Tarea técnica

Add 2 Stop Loss Features to an existing well running EA


At the moment thats situation:

My ZIGZAG EA trades Breaktous of the ZIGZAG signals

Buys if price breaks High of last ZIGZAG leg and

Sell short if price breaks Low of last ZIGZAG leg.

Its a Stopp and Reverse EA, that means the EA takes SL (Variable in EA is „sl“)

at the opposite site of the Ordersite in the EA and is ALWAYS IN THE MARKET


f.e.


Breaks HIGH of ZIGZAG leg is BUY and same time EA sets his „sl“ at the LOW

of the ZIGZAG leg.


If Low of ZIGZAG leg is broken EA close the BUY Order and Open a SELL Order.

The EA which is running without problems is to add with these

functions:


1. TO add : HARD StopLoss independend of the SL which is at the moment used

as Variable „sl“ in the EA

These HARD StopLoss is to be set at the open of each trade

for BUY Orders xx.xx PERCENT of price below the OPENORDERPRICE and

for SELL Orders xx.xx PERCENT above the OPENORDERPRICE


not PIPS or Points cause i want that to use for all instruments


Thats to avoid to big Losses.


These HARD StopLoss muss „override“ the „sl“ Variable which is uses at the moment

if the price goes below these „HARD StopLoss“ in BUY or goes above these „HARD StopLoss“

in SELL orders.



The EA stored the datas of the ZIGZAG Last High, Last Low, and the actual High or Low

in an ARRAY.

The Datas of these Array are shown in the chart at left side corner



TO add: a DATA which counts the mathematicall difference between last ZIGZAG LEG AND

THE ZIGZAG LEG BEFORE:


I HAVE MARKED THAT IN THE CHART AS P 1 and P 2


This data (double) should shows these difference in the chart and fill it in a

Variable


So the data from these Variable should be stored in a Variable , (let say VAR_1)



These VAR_1 should be as extern Variable to have them in the EA



Also to Open a Trade this VAR_1 must have a Value = < XY (VAR_2)


And these Value XY (VAR_2) should adjustable in the EA


Now the function:


IF these VAR_1 (Difference between High and :Low of the last ZIGZAG Legs)


Level > Value VAR_2 (is above) a Level of VAR_2 which should

be setable in the EA , the EA should not open any trade.



This is to limit the risk of each trade by market condition


NO CHANGE IN THE OPEN ORDER Management






Added Picture  (EA_Order_2)


Here an example for a Buy Trade at 23:00


P 1 and P 2


P1 is Low and the „normal sl“ the EA uses


P2 is High and Open Order the EA uses



IMPORTANT.

1) I need the mql4 file as well 

2) The EA is my copyright - not allowed to publish it without my okay 

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
2
Desarrollador 2
Evaluación
(5)
Proyectos
6
67%
Arbitraje
2
0% / 50%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(71)
Proyectos
103
20%
Arbitraje
6
0% / 83%
Caducado
3
3%
Libre
4
Desarrollador 4
Evaluación
(219)
Proyectos
370
42%
Arbitraje
145
17% / 41%
Caducado
124
34%
Libre
Ha publicado: 38 ejemplos
Solicitudes similares
Hi, I’m looking for an experienced MQL5/MT5 developer to build a complex AI-powered adaptive Expert Advisor for XAUUSD+ on Ultima Markets. I have a detailed 28-section technical specification, and the requirements are fixed. I’m looking for the complete implementation , not a simplified EA or a conventional indicator-based system. The project includes: Genuine AI/ML integration AI-based market regime classification
This may be a weird request but if anyone has an EA that is actually consistently profitable I want to buy a copy from you. Ideally trades a lot, I'm sure theres a coder out there who has made a profitable EA, I want to backtest if you have, I have been trying to code a few on my own with no success as I'm not yet good at coding, lets see what ya got.thanks
I need a simple MetaTrader 5 Expert Advisor based on a MACD crossover. Requirements: Platform: MetaTrader 5 / MQL5 Buy when the MACD main line crosses above the signal line Sell when the MACD main line crosses below the signal line Use completed candles only MACD parameters configurable Fixed lot size configurable Stop Loss configurable Take Profit configurable Maximum one open position per symbol Configurable Magic
I need a simple MT5 Expert Advisor based on Bollinger Bands. Requirements: Platform: MetaTrader 5 / MQL5 Buy when price closes below the lower Bollinger Band Sell when price closes above the upper Bollinger Band Bollinger period configurable, default 20 Deviation configurable, default 2.0 Fixed lot size configurable Stop Loss configurable Take Profit configurable Maximum one open position per symbol Use completed
Platform: MT5 / MQL5 Buy khi RSI < 30 Sell khi RSI > 70 RSI period configurable, default 14 Fixed lot configurable SL/TP configurable Max 1 position per symbol Completed candles only Configurable Magic Number Deliver .mq5 source Compile without errors/warnings No martingale/grid No profitability guarantee
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where

Información sobre el proyecto

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