Simple EA for correlated pairs.

MQL4 Experts

Job finished

Execution time 3 days
Feedback from customer
Everything has been smooth. The developer added a useful function for free. It was very nice working with him.

Specification

Note: EA must be able to handle both USD and JPY base currency account.

 

EA opens pre-determined 2 positions simultaneously. Those 2 positions are always different pairs and different directions. For example, once loaded on the chart, EA immediately opens GBPUSD short and EURUSD long.

 

Pairs and directions are determined by the following parameters.

 

Pair1:

Pair1 L/S: Long or Short (pulldown selection)

Pair2

Pair2 L/S: Long or Short (pulldown selection)

 

Pairs must match the pairs listed on the Market Watch window, including any prefix and suffix.

 

Lots:

 

Lots parameter determines the trading lots. If set as 1.02, EA opens both positions with 1.02 lots. For example, GBPUSD short 1.02 lots and EURUSD long 1.02 lots, the total of 2.04 lots.

 

Price Distance:

 

EA opens the second set of 2 positions for the same pairs and in the same directions once the negative profit reaches this amount. For example, if Price Distance was set as 1500, and the profit reached -1500 (floating loss of 1500 JPY), EA opens GBPUSD short 1.02 lots and EURUSD long 1.02 lots (Lots are the same with the Lot parameter).

 

Once the floating balance reaches -3000 JPY for the first set of positions, EA opens the third set of 2 positions. At this point, the actual floating loss is -4500 (-3000 for the first set, and -1500 for the second set). EA always calculates the floating loss of the first set only.

 

EA opens the forth set of positions once the floating loss of the first pair reaches -4500. At this point, the actual floating loss is -9000 JPY (-4500 for the first set, -3000 for the second set, and -1500 for the third).

 

Note: above examples are given for JPY base currency account. EA must be able to handle USD base currency account as well. For example, if the base currency is in USD, 15 means 15 USD, meaning if the floating loss reaches -15 USD, EA opens next set of pairs.

 

Max set:

 

This determines the maximum number of sets. If set as 5, EA opens no more than 5 sets (the total of 10 positions).

 

EA doesn’t close any position. I have another EA to control the closure in profit or loss all at once. Once all positions are closed (by another EA that I own), EA opens no positions until it's deleted from the chart and loaded again.


Responded

1
Developer 1
Rating
(126)
Projects
160
36%
Arbitration
4
25% / 50%
Overdue
13
8%
Free
2
Developer 2
Rating
(236)
Projects
418
34%
Arbitration
53
36% / 40%
Overdue
153
37%
Busy
3
Developer 3
Rating
(74)
Projects
121
43%
Arbitration
12
33% / 50%
Overdue
17
14%
Free
4
Developer 4
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
5
Developer 5
Rating
(41)
Projects
54
4%
Arbitration
5
0% / 60%
Overdue
4
7%
Free
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Similar orders
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks

Project information

Budget
30 - 100 USD
For the developer
27 - 90 USD
Deadline
from 1 to 3 day(s)