Corrections to EA

Job finished

Execution time 1 day

Specification

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.

Responded

1
Developer 1
Rating
(253)
Projects
358
49%
Arbitration
24
25% / 50%
Overdue
80
22%
Free
2
Developer 2
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(501)
Projects
752
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
5
Developer 5
Rating
(188)
Projects
212
58%
Arbitration
9
11% / 89%
Overdue
8
4%
Free
6
Developer 6
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
7
Developer 7
Rating
(218)
Projects
403
60%
Arbitration
13
38% / 23%
Overdue
160
40%
Free
8
Developer 8
Rating
(16)
Projects
21
19%
Arbitration
7
0% / 71%
Overdue
14
67%
Free
9
Developer 9
Rating
(88)
Projects
143
39%
Arbitration
21
19% / 48%
Overdue
30
21%
Free
10
Developer 10
Rating
(251)
Projects
399
54%
Arbitration
9
67% / 22%
Overdue
36
9%
Free
11
Developer 11
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
12
Developer 12
Rating
(586)
Projects
1045
49%
Arbitration
39
28% / 41%
Overdue
49
5%
Working
13
Developer 13
Rating
(43)
Projects
72
49%
Arbitration
4
0% / 50%
Overdue
19
26%
Free
Similar orders
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 300 projects finish, and have good review and reputation from their client if you not qualified, dont apply! I will bidding the programmer from experience, review, reputation, price, and days working My EA using Moving Average, Average True Range, and using consecutives candle signals for buy and
RSI+MA 30 - 70 USD
As seen in the pictures.. Respond and I will give full specifications of what the bot should execute trades.. Please let's not watse each other's time if the pictures don't give you a hint of what is needed
I need an expert in the development of a fully automated trading robot For MetaTrader. The Trading Robot must be "Web based" so it can be accessed or used through a website, You can view a screenshot here; https://www.awesomescreenshot.com/image/48030918?key=79b0ff91455d862746e9b649341f4cdb Why do i need? Simple Enough, This is what i need from my Trading Robot EA. The Trading Robot can only be accessed through a
Maybe this indicator will make a good ea but the aggressive entry moves and conservative entry is stationary and target tp2 which will make it a 0.3:1 aggressive entry is around a 1:1 with Tp 2 I want conservative entry and do aggressive entry pls do that too with the option too switch in the settings I want sl tp and trailing stop fire filter and auto lots fixed lots I get
Metatrader 30+ USD
I would like to calculate the deviations between the companies listed below with Meta Trader. Would you be interested? BETWEEN 01.00 AT NIGHT AND 00.00 OF THE NEXT DAY (FOR HOURS WHEN THE GOLD MARKET IS OPEN) *Instant comparison of prices of the same parities of different companies *Determination of deviation rates in downward or upward movements (average prices, prices below and above the average) *Detection of
Maybe this indicator will make a good ea but the aggressive entry moves and conservative entry is stationary and target tp2 which will make it a 0.3:1 aggressive entry is around a 1:1 with Tp 2 I want conservative entry and do aggressive entry pls do that too with the option too switch in the settings I want sl tp and trailing stop fire filter and auto lots fixed lots I get
Fully automated with profitable setfiles. I will pass you funded challenges in few days. Included: FXIFY, FTMO, KORTANA FX, The5ers, etc. You name it You dont have to do anything, just contact me and ill do rest
EA 30+ USD
I have an EA bot CODE intend to be use on the MT5 platform, and all I need is a debug expert with full knowledge of what they are doing. The Skillset i need from you as a debugger are: 1. Trading Robot/Robot Debugging 2. Strategy Optimization 3. News Filter PS: I AM WILLING TO PAY $30 AS THAT IS WHAT I HAVE. IF YOU ARE NOT OKAY WITH THE PAY, PLEASE DON'T EVEN BOTHER DECLARING INTEREST I will send you the codes and
Greenprint strategy 30 - 100 USD
Hello i need someone who can create an indicator to show the resistance support and pivot areas like in the shown images the indicators are bollinger bands moving averages also we have rsi and ma . Pictures below. You should be able to do work properly requesting a trial check when work is complete the indicator should also work with synthetic indices
I want someone who can create a Automatic mobile trading bot/EA with my kind of strategy...Example: : When The market is buying and rejects an has created an M formation the First leg is higher than the second leg(first leg Higher high,second leg lower high then a line must touch the peak of the Higher high then connect with the peak of the lower High as a Footprint line,then there must be Another line that touches

Project information

Budget
30+ USD
For the developer
27 USD