Corrections to EA

工作已完成

执行时间1 一天

指定

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.

反馈

1
开发者 1
等级
(253)
项目
358
49%
仲裁
24
25% / 50%
逾期
80
22%
空闲
2
开发者 2
等级
(298)
项目
427
26%
仲裁
18
61% / 33%
逾期
26
6%
空闲
发布者: 8 代码
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(516)
项目
784
63%
仲裁
33
27% / 45%
逾期
23
3%
空闲
发布者: 1 代码
5
开发者 5
等级
(188)
项目
212
58%
仲裁
9
11% / 89%
逾期
8
4%
空闲
6
开发者 6
等级
(94)
项目
148
59%
仲裁
16
38% / 13%
逾期
25
17%
空闲
发布者: 1 代码
7
开发者 7
等级
(219)
项目
408
61%
仲裁
13
38% / 23%
逾期
162
40%
空闲
发布者: 39 文章, 1 代码
8
开发者 8
等级
(16)
项目
21
19%
仲裁
7
0% / 71%
逾期
14
67%
空闲
9
开发者 9
等级
(88)
项目
143
39%
仲裁
21
19% / 48%
逾期
30
21%
空闲
10
开发者 10
等级
(251)
项目
400
54%
仲裁
9
67% / 22%
逾期
36
9%
空闲
发布者: 2 代码
11
开发者 11
等级
(359)
项目
638
26%
仲裁
91
71% / 13%
逾期
12
2%
已载入
发布者: 1 代码
12
开发者 12
等级
(588)
项目
1057
50%
仲裁
39
28% / 41%
逾期
49
5%
空闲
发布者: 1 文章, 8 代码
13
开发者 13
等级
(43)
项目
74
50%
仲裁
4
0% / 50%
逾期
19
26%
空闲
相似订单
I would like to have an Expert Advisor created with the following parameters. This Expert Advisor should analyze the higher time frame and the medium time frame, and based on that, open positions on the lower time frame. For this reason, I would like to work with developers who have experience in multi-timeframe analysis. I have a PDF file that explains the entire trading logic. In addition, I have compressed the
I'm looking to acquire a ready-made, consistently profitable Expert Advisor (EA) for MetaTrader 5 (MT5). The EA should be well-tested in both backtesting and live trading conditions and based on a clear, logical trading strategy (not a black box). I'm open to a variety of strategies as long as they are stable, explainable, and show consistent results
I am looking for a profitable trading bot (Expert Advisor) for MT5. The bot should have: Consistent performance with proven backtest and preferably live results Strong risk and money management features Easy setup and user-friendly inputs Please share your proposals with details and pricing
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
I'm looking for an experienced MQL5 developer and trader to assist with the refinement, backtesting, and live trading optimization of a custom Expert Advisor (EA). The EA is based on a pure breakout strategy on XAUUSD. The main goals are: 1. Compile and straighten the code – ensure error-free, optimized, and professional coding standards. 2. Run and set up backtesting – produce results with gradual positive
The EA will have 3 moving average and trade are executed upon cross over.The EA will finally be in MQL4 and MQL5. The EA will also be protected with a password. Further description will be given after agreement
I need a trading robot expert advisors/EA on MQL5. With the following strategies. Trend Following and Mean Reversion/Scalping and Range Trading* 1. *Trend Following and Mean Reversion*: Capture trends and profit from mean reversion opportunities. 2. *Scalping and Range Trading*: Profit from short-term price movements and range-bound opportunities. *Trend Following and Mean Reversion* - *Indicators:* - Moving
Hi guys Does anyone have experience with K-Means and MQL5? I would like to get an include file which I can use in my EAs. I would need to work with an ML Engineer who has deep understanding with K-Means. The include file should be used for regime detection. I can drop more information about my EA once I see that you qualify for the job :-) Cheers
Please translate the FX Blue copy trading EA into Chinese EA. Additionally, the software must centrally manage newly installed and uninstalled MT4/MT5 platform directories to uniformly manage the association between multi-terminal login trading accounts and copy trading accounts. Existing program solutions are preferred; candidates with relevant project development experience will be given priority consideration
READ CAREFULLY And if you have done 50 projects before then apply others i will reject SEPARATE LOGIC MUST BE SEPARATE AND ALL INPUTS MUST BE VISIBLE WITH FALSE TRUE OPTION TO ON OFF FUNCTION 🔺 BUY Signal (Boom Market) ✅ Pattern Formation (Spike-Based Buy Setup) First Spike : Large bullish spike candle . Mitigation Candle : Small bearish candle inside or partially inside the bullish spike. Second Spike

项目信息

预算
30+ USD
开发人员
27 USD