Trabajo finalizado

Plazo de ejecución 1 día

Tarea técnica

I made a very simple EA but I get error "OrderSend error 130" in all backtests done in MetaTrader 4. I don't understand why the EA opens succesfully some trades (it is a long only EA) but it returns this error for some other trades. I think a checked correctly this error is not due to any of the next reasons:

  • stop loss and take profit are set as prices, and they are well established for a buy stop order, which is the way I'm trying to open each position.
  • it is said on some webs that ECN brokers (I am doing the backtest with Admiral Markets UK, which is a ECN borker) don't allow to use non-zero TP and SL when using OrderSend command. Instead, 0 must be used for these values and then replaced with OrderModify. I don't think this is the problem because, if this were the problem, why some trades are succesfully placed doing exactly the same?
  • stop levels are not enough close to open prices for the broker to give an error. Typically SL is placed about 50 pips (in 4 digit broker, 500 in 5 digit broker). I am using a 5 digit broker, since the command Digits returns a value of 5.
  • ope price, SL and TP are normalized double to Digits, so I don't expect to have any error for this reason.

I can not find any other reason for this error and that is why I would like someone to correct this EA.

I will consider this work is done when:

  • I run five backtest in Metatrader 4, each one in different timeframes and different dates, and none of them gives this "OrderSend error 130".
  • A clear explanation on how the error was corrected is given.
  • Some debug lines for assuring this error is not appearing anymore are added to the original source code.

Han respondido

1
Desarrollador 1
Evaluación
(253)
Proyectos
358
49%
Arbitraje
24
25% / 50%
Caducado
80
22%
Libre
2
Desarrollador 2
Evaluación
(298)
Proyectos
427
26%
Arbitraje
18
61% / 33%
Caducado
26
6%
Libre
Ha publicado: 8 ejemplos
3
Desarrollador 3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(541)
Proyectos
818
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(188)
Proyectos
212
58%
Arbitraje
9
11% / 89%
Caducado
8
4%
Libre
6
Desarrollador 6
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(221)
Proyectos
412
61%
Arbitraje
13
38% / 23%
Caducado
163
40%
Libre
Ha publicado: 45 artículos, 1 ejemplo
8
Desarrollador 8
Evaluación
(16)
Proyectos
21
19%
Arbitraje
7
0% / 71%
Caducado
14
67%
Libre
9
Desarrollador 9
Evaluación
(88)
Proyectos
143
39%
Arbitraje
21
19% / 48%
Caducado
30
21%
Libre
10
Desarrollador 10
Evaluación
(251)
Proyectos
400
54%
Arbitraje
9
67% / 22%
Caducado
36
9%
Libre
Ha publicado: 2 ejemplos
11
Desarrollador 11
Evaluación
(361)
Proyectos
644
26%
Arbitraje
92
72% / 14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo
12
Desarrollador 12
Evaluación
(588)
Proyectos
1065
50%
Arbitraje
39
28% / 41%
Caducado
49
5%
Libre
Ha publicado: 1 artículo, 8 ejemplos
13
Desarrollador 13
Evaluación
(43)
Proyectos
74
50%
Arbitraje
5
0% / 60%
Caducado
19
26%
Libre
Solicitudes similares
I need a MT5 Prop firm challenge passing EA with strict prop firm rules compliance. Any strategy can be used but win rate should be above 70%. It should have high impact news filter and a dashboard panel to monitor daily drawdown, target profit, current balance, etc. It should not have martingale, grid, hedging, etc
I want a MetaTrader 5 Expert Advisor based on Smart Money Concepts (SMC) and Power of 3 (PO3). Strategy logic: 1. Accumulation (Asian Session) - Define Asian session range (time customizable) - Mark Asian high and low - No trades during this session 2. Manipulation (London Session) - Detect liquidity sweep above Asian high or below Asian low - Must be a clear breakout with rejection (not slow drift) 3. Distribution (
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Pro firm setup 30+ USD
Hi, I am starting a futures prop firm. Are you able to help me get data feed for this with no delays and can handle many traders on the platform. Additionally, are you able to handle charts for us
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I need a skilled MQL5 developer to build a fully functional Expert Advisor (EA) for MetaTrader 5 based on a simple but strict trading strategy. The EA will use EMA 50/200 trend detection combined with breakout and retest logic for entries. It must operate only during London and New York sessions and include solid risk management (fixed % risk, SL/TP, trade limits, and basic protection rules). APPLY ONLY IF YOU HAVE
VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only

Información sobre el proyecto

Presupuesto
30+ USD