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
Evaluación
Proyectos
358
49%
Arbitraje
24
25%
/
50%
Caducado
80
22%
Libre
2
Evaluación
Proyectos
427
26%
Arbitraje
18
61%
/
33%
Caducado
26
6%
Libre
Ha publicado: 8 ejemplos
3
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
4
Evaluación
Proyectos
855
61%
Arbitraje
33
27%
/
45%
Caducado
24
3%
Trabaja
Ha publicado: 1 ejemplo
5
Evaluación
Proyectos
212
58%
Arbitraje
9
11%
/
89%
Caducado
8
4%
Libre
6
Evaluación
Proyectos
148
59%
Arbitraje
16
38%
/
13%
Caducado
25
17%
Libre
Ha publicado: 1 ejemplo
7
Evaluación
Proyectos
412
61%
Arbitraje
13
38%
/
23%
Caducado
163
40%
Libre
Ha publicado: 51 artículos, 1 ejemplo
8
Evaluación
Proyectos
21
19%
Arbitraje
7
0%
/
71%
Caducado
14
67%
Libre
9
Evaluación
Proyectos
143
39%
Arbitraje
21
19%
/
48%
Caducado
30
21%
Libre
10
Evaluación
Proyectos
400
54%
Arbitraje
9
67%
/
22%
Caducado
36
9%
Libre
Ha publicado: 2 ejemplos
11
Evaluación
Proyectos
644
26%
Arbitraje
92
72%
/
14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo
12
Evaluación
Proyectos
1070
50%
Arbitraje
39
28%
/
41%
Caducado
49
5%
Libre
Ha publicado: 1 artículo, 8 ejemplos
13
Evaluación
Proyectos
74
50%
Arbitraje
5
0%
/
60%
Caducado
19
26%
Libre
Solicitudes similares
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. Core Trading Logic: Execute automatic Buy and Sell trades using high-probability entry signals. Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Diusang
50 - 533 USD
TITLE: Diusang EA - [ e.g. Gold M1 Scalping Robot ] 1. PLATFORM: MT4 or MT5 ? 2. PAIR / TIMEFRAME: e.g. XAUUSD M1, M5 3. STRATEGY LOGIC: - Entry Buy when: ... - Entry Sell when: ... - Indicator settings: ... 4. RISK MANAGEMENT: - Lot size: Fixed 0.01 / Auto lot from balance? - Stop Loss: ... pips - Take Profit: ... pips - Max trades: ... 5. OTHER FEATURES: - Trailing stop? Yes/No - Trading hours
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
MT4 expert advisor
500+ USD
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Espert
30+ USD
I want to create a robot with 10 indicators.All to take a trade and all in stop folowing. Thanks to put in THE PARAMETERS Yes/No for the indicators to entry in position AND to the stop A trade with 2 takes profit and a breakeaven at the first TP. The goal is to be able to try the multiple combinations with these indicators
Información sobre el proyecto
Presupuesto
30+ USD