Two new parameters and fix two errors

MQL4 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 5 días
Comentario del Cliente
Excellent developer!

Tarea técnica

New parameters:

trade_buy = true/false – open BUY orders only

trade_sell = true/false - open SELL orders only

I need it to control if open sell or buy or not open none


trade_buy_sell


Fix Bugs


How work this EA and i-regr indicator.


Open SELL at Upper Band and open BUY at Lower Band. If parameter use_oposite_exit = true and use_middle_close = true this order will be closed in the middle band and / or in the opposite band.

This is working fine. But if parameter  use_oposite_exit = false this order keeps closing when reach the opposite band. It not work fine.

This needs to be fixed.  use_middle_close = false working fine.

1 Fix

So, I need fix  use_oposite_exit = false to not close order when reach opposite band.

i-regr_working


2 Fix

When parameter  ReverseTheSystem=false; //Reverse the system work normally Opening SELL at Upper band and BUY at Lower Band.

reverse-false


But if  ReverseTheSystem=true; //Reverse not work fine.

When  ReverseTheSystem=true; //Reverse system the system should open BUY at Upper Band and SELL at Lower Band and close at the opposite and middle bands if the parameters define it.

reverse-true


Archivos adjuntos:

MQ4
i-regr.mq4
5.3 Kb

Han respondido

1
Desarrollador 1
Evaluación
(126)
Proyectos
151
48%
Arbitraje
6
83% / 17%
Caducado
2
1%
Libre
2
Desarrollador 2
Evaluación
(71)
Proyectos
103
20%
Arbitraje
6
0% / 83%
Caducado
3
3%
Libre
3
Desarrollador 3
Evaluación
(38)
Proyectos
50
10%
Arbitraje
1
0% / 0%
Caducado
8
16%
Libre
4
Desarrollador 4
Evaluación
(139)
Proyectos
181
24%
Arbitraje
23
22% / 39%
Caducado
13
7%
Libre
5
Desarrollador 5
Evaluación
(61)
Proyectos
83
45%
Arbitraje
27
11% / 70%
Caducado
8
10%
Libre
6
Desarrollador 6
Evaluación
(4)
Proyectos
5
0%
Arbitraje
5
0% / 80%
Caducado
2
40%
Libre
7
Desarrollador 7
Evaluación
(361)
Proyectos
644
26%
Arbitraje
92
72% / 14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo
8
Desarrollador 8
Evaluación
(7)
Proyectos
8
63%
Arbitraje
1
0% / 100%
Caducado
1
13%
Libre
9
Desarrollador 9
Evaluación
(162)
Proyectos
218
30%
Arbitraje
4
50% / 25%
Caducado
5
2%
Libre
Ha publicado: 1 ejemplo
10
Desarrollador 10
Evaluación
(14)
Proyectos
19
11%
Arbitraje
1
0% / 100%
Caducado
5
26%
Libre
11
Desarrollador 11
Evaluación
(589)
Proyectos
1070
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
Ha publicado: 1 artículo, 8 ejemplos
12
Desarrollador 12
Evaluación
(1)
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(70)
Proyectos
86
31%
Arbitraje
1
100% / 0%
Caducado
1
1%
Libre
14
Desarrollador 14
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
15
Desarrollador 15
Evaluación
(87)
Proyectos
114
26%
Arbitraje
7
29% / 57%
Caducado
5
4%
Libre
Solicitudes similares
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Watcher position 30 - 100 USD
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Subject: Looking for an Experienced MQL Developer for Long-Term Collaboration (Mechanical Strategy) Hello everyone, I am reposting my request from last year. Due to work commitments, I couldn't dedicate time to this project back then, but now I am fully ready to move forward. I am looking for a highly experienced, verified MQL4/MQL5 programmer to automate my trading strategy. About the project: Rule-based &
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Gold robot 30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -

Información sobre el proyecto

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