Lavoro terminato
Tempo di esecuzione 1 giorno
Specifiche
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.
Con risposta
1
Valutazioni
Progetti
358
49%
Arbitraggio
24
25%
/
50%
In ritardo
80
22%
Gratuito
2
Valutazioni
Progetti
427
26%
Arbitraggio
18
61%
/
33%
In ritardo
26
6%
Gratuito
3
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
4
Valutazioni
Progetti
773
63%
Arbitraggio
33
27%
/
45%
In ritardo
23
3%
Gratuito
5
Valutazioni
Progetti
212
58%
Arbitraggio
9
11%
/
89%
In ritardo
8
4%
Gratuito
6
Valutazioni
Progetti
148
59%
Arbitraggio
16
38%
/
13%
In ritardo
25
17%
Gratuito
7
Valutazioni
Progetti
405
60%
Arbitraggio
13
38%
/
23%
In ritardo
160
40%
Gratuito
8
Valutazioni
Progetti
21
19%
Arbitraggio
7
0%
/
71%
In ritardo
14
67%
Gratuito
9
Valutazioni
Progetti
143
39%
Arbitraggio
21
19%
/
48%
In ritardo
30
21%
Gratuito
10
Valutazioni
Progetti
400
54%
Arbitraggio
9
67%
/
22%
In ritardo
36
9%
Gratuito
11
Valutazioni
Progetti
632
26%
Arbitraggio
89
73%
/
13%
In ritardo
12
2%
Gratuito
12
Valutazioni
Progetti
1048
49%
Arbitraggio
39
28%
/
41%
In ritardo
49
5%
Gratuito
13
Valutazioni
Progetti
72
49%
Arbitraggio
4
0%
/
50%
In ritardo
19
26%
Gratuito
Ordini simili
I want to decompile an ex4 file to mq4
35 - 100 USD
I want to decompile an ea file and get the source code, i need it really quick as fast as possible. the file must be delivered alongside the source code
I have an algo that is running on ProRealTime, they have their own language. It is a simple strategy with 5 conditions + SL/TP settings, very basic. I need someone that can convert or just create a functional MT5 algo (EA) from these conditions for me, if you do a good job I have around 10+ more algos that need to be transferred to MT5
A very simple request for backtesting trading signals in MT5 Strategy Tester from a csv file
30+ USD
Dear Developers, I would have a very simple request. I have a ML model developed in Python for EURUSD daily trading. I would like to backtest it in Meta Trader 5 using the Strategy Tester tool. For that I would need an Expert Advisor program. The input would be a csv file that contains two columns: - dates (going back for a few years on a daily basis) - trading signal (it can have only 2 values, either 1: Buy, or -1
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader 1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of
Create mt4 ea
50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hi Developer, I would like to create the Scalping EA based for Mt4 on the investing.com data https://www.investing.com/currencies/eur-usd-technical EA have timing to adjust time to trade. follow the broker time. From starting time to end time EA have a adjustable Lot size (0.01 incremental to 0.01) EA have a adjustable TP (1pip to 100pip incremental 1pip) EA have a adjustable SL (1pip to 100pip incremental 1pip) EA
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
Informazioni sul progetto
Budget
30+ USD
Per lo sviluppatore
27
USD