Additional parameter to the Adaptive Pattern Robot 02

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 20 días

Tarea técnica

I will be choosing the previous developer to adapt this.

Attached is a screenshot of the robot's parameters to make sure that you will be using the latest version we worked on.

The robot has the following issue:

When it tries to open a new position, if the spread (in pips) at that moment is bigger than the TP or SL (in pips) that the robot tries to open the position, the robot stops opening positions.


So, what I would like to have is the following:

- Before opening a new position, first we check if the spread is smaller than X pips

- The X is a parameter that I will be specifying when I set the parameters

- We will name this parameter: Open position if Spread less than (pips)

- In the case where the Spread is equal or bigger than X, then the robot keeps checking every 1 or 5 or 10 seconds (which ever is ok to use) and when Spread is less than X, then the robot will continue to open the position, continuing from the point where it stopped.


Example: We open positions as 0.01 lots, 0.02, 0.04, etc. Say when it lost on 0.02 it has to open 0.04. At this moment, the Spread is bigger than X. The robot will not open the next position and it will start to read the spread until it goes less than X. When it does, it will open the next position with 0.04 lots (plus whatever the rest of the parameters should be for this position).


Additional info:

I want to avoid the Journal errors like screenshot 02 and situations like screenshot 03.


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(213)
Proyectos
246
45%
Arbitraje
42
10% / 57%
Caducado
5
2%
Libre
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
2
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
Ha publicado: 8 ejemplos
4
Desarrollador 4
Evaluación
(393)
Proyectos
549
40%
Arbitraje
30
57% / 3%
Caducado
57
10%
Trabaja
Ha publicado: 11 ejemplos
Solicitudes similares
I need an Expert Advisor based on SK indicator for gold trading. Entry: - Open trade immediately when SK signal appears Stop Loss: - Fixed stop loss = $200 per trade Take Profit: - TP1: close 50% of the position - TP2: final target Lot Size: - Fixed lot = 0.02 Pair: - XAUUSD only Timeframe: - M15 Rules: - Only one trade per signal - No duplicate trades - Move stop loss to breakeven after TP1 Requirements: - The EA
i am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes. The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
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

Información sobre el proyecto

Presupuesto
50 - 100 USD
Plazo límite de ejecución
de 1 a 10 día(s)