Need help fixing "invalid stoploss for OrderModify function" errors (Example Upon Request)

MQL4 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 6 horas
Comentario del Cliente
Fast Accurate and fun to work with I will definetly recommend him to other people and I will most certainly work with him again in the future. Job well executed in the same day!
Comentario del Ejecutor
Great customer, would recommend, good to work with

Tarea técnica

I have a problem with the sl in my current ea. 

For buy signals the error message I get is as follows "2022.02.16 17:14:00.317 MAMM2-0 GBPUSD,M1: invalid stoploss for OrderModify function"

For sell signal instead of placing the SL at 1.3508 the ea places the sl at 13.508 a Massive difference! 

The problem is with the context of input or the calculations. My original point was to give SL a little extra space for market fluctures. So instead of 1.3508 it would be 1.3500 and that is the goal.


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(211)
Proyectos
284
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Trabaja
2
Desarrollador 2
Evaluación
(434)
Proyectos
635
54%
Arbitraje
32
56% / 22%
Caducado
6
1%
Trabajando
3
Desarrollador 3
Evaluación
(1)
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(162)
Proyectos
218
30%
Arbitraje
4
50% / 25%
Caducado
5
2%
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(94)
Proyectos
190
66%
Arbitraje
8
25% / 50%
Caducado
2
1%
Libre
6
Desarrollador 6
Evaluación
(31)
Proyectos
41
20%
Arbitraje
9
11% / 89%
Caducado
5
12%
Libre
7
Desarrollador 7
Evaluación
(608)
Proyectos
685
42%
Arbitraje
2
100% / 0%
Caducado
1
0%
Trabaja
Ha publicado: 9 ejemplos
8
Desarrollador 8
Evaluación
(126)
Proyectos
151
48%
Arbitraje
6
83% / 17%
Caducado
2
1%
Libre
9
Desarrollador 9
Evaluación
(54)
Proyectos
102
23%
Arbitraje
12
25% / 17%
Caducado
13
13%
Libre
10
Desarrollador 10
Evaluación
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre
Solicitudes similares
I am looking for an experienced MQL5 developer to create a custom indicator for MetaTrader 5. The project requirements and indicator logic will be shared privately with the selected candidate to protect the concept and implementation details. Requirements: Strong experience with MQL5 indicator development. Ability to create clean, efficient, and well-structured code. Experience with custom buffers, chart objects
Hello, I am looking to develop a commercial-grade Expert Advisor for MT5 specifically optimized for XAUUSD (Gold). The underlying logic should be an intelligent, trend-filtered cost-averaging grid system focused on capital preservation. The EA must include the following functional architecture: 1. Core Strategy Structure: - Must feature a multi-strategy logic entry module. I want to use a combination of 3-4 standard
Generate a signal and place 2 arrows on the chart when these conditions happen. Rules: Levels up:price is below the Kijunsen and Senku A value is less than Senku B value Kijun sen close = previous kijun sen close; Kijun sen close value is LESS than Senku B close value Senkou B close = previous senku B close. Levels down: price is above Kijunsen. Senku A value is above Senku B value
i need the EA same working on trading view chart with same specifications of enter in a trade and sl/tp open 2 trades and 1 trade set tp1 & second trade set to tp 3 but sl should move to breakeven when tp1 hit and go to tp2 sl on tp1
preciso de um programa paracido com o CAP channel com botao de refresh e opcaos de alterar o periodo. utilizava um muito bom, mas o vendedor acredito ter sido excluido da comunidade, sumiu. e o que tinha parou de funcionar
Требуется напи сать пользовательский форекс-индикатор на основе стандартного индикатора ZigZag для торговой платформы МТ5 с фильтрацией колен (граней) по их минимальной длине. Пояснение: используя стандартный индикатор ZigZag для МТ5, добавить в его настройки функцию\опцию задания минимальной длины граней зигзага (чтобы индикатор игнорировал мелкие грани, а рисовал \ отмечал только те грани, длина которых составляет
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
TrendPulse EMA Wick EA 50 - 200 USD
EA specification for MT5 developer (coder‑ready spec) You can copy‑paste this directly into an MQL5 Freelance job. --- 1. General * Platform: MetaTrader 5 (MT5) * Type: Expert Advisor (EA) * Markets: Major FX pairs (configurable list via inputs) * Execution: Market orders only * Timeframes: EA must work on any timeframe, but I will mainly use it on M15–H1 --- 2. Indicators & definitions * EMA 20: Exponential Moving
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
Hey I need help with the development of my ea. I am using a built in indicator and a custom indicator. It shouldn't take too long. I will tell you the conditions and then I just need some help with the coding but I have some experience. Thanks we can chat on whatsap or telegram

Información sobre el proyecto

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