Programming of an MQL4 Expert Advisor

MQL4 Experts

Job finished

Execution time 1 day

Specification

I want to program an EA which is using on a definite time a Price and if the next few hours are price changing for xpips ea is opening a position in the opposide direction with TP and SL. (I want to choose if opening is in opposide or in trend direction)

 

The EA have also partial TP closing and also partial Loss closing.

 

In the chart should be the entry price with a line marked and also SL (red) and TP (green)

 

Parameters:

 

Following parameters I need 2 times for 2 theoretical entry prices

 

Price at time: Ea should use price fore example from 2 a clock server time

Open Trend or Opposide order:

Stop time: Till this time EA dose compare (theoretical entry price and actual price, if in this period pips are higher or lower than xpips ea does open an opposite or trend trading position)

Hours to wait: After X hours EA start to compare till stop time the price from this theoretical entry price. If there is a changing more than pips change EA does open a opposide ore trend order. (this I want to choose)

Pips changing: 20pips if price changes from theoretical entry price more than 20 Pips in the time period after hours to wait and stop time – EA is opening a opposite or trend position with xlots. This can be chosen. For example 1 percent of equity in margin.

Session end: for example at 6 a clock the session is ending. If Order is after 6 a clock in Profit. The hole order should be close. If after 6 a clock the order is in minus and comes in profit – the order should be closed directly.

Max Orders – open only max orders in this currency

Risk of equity to open lots – definite on percent of equity for margin. The calculated lots should be shown in chart.

 

TP and Sl should be definite

 

Example:

At 2 a clock price is in EURUSD 1.3600

EA has to waiting x hours for copair.

Than EA is comparing the actual price with the theoretical Price at 1.3600.

If price is 1.3619 and I have acting on more than 20 pips to open a position – EA does not open a position.

If price is after Hours to wait 1.3621 – EA does open a sell or by order with TP and SL I can definite.

 

Partial closing in TP and Break even - and partial closing in loss.

This settings work for all orders. For boath theoretical entry prices

 

1. Partial closing in TP and Break even

 

BE=Break Even

SecureProfit1=1

SecureProfitTrigger1=5

SecureProfit2=6

SecureProfitTrigger2=10

SecureProfit3=15

SecureProfitTrigger3=18

SecureLoss=3

 

PartialClose=========== Partial Close Settings ==========

Partial_Close=1

Close_X_Percent_1=25.00000000

Close_at_Profit_1=8.00000000

Close_X_Percent_2=40.00000000

Close_at_Profit_2=12.00000000

Close_X_Percent_3=85.00000000

Close_at_Profit_3=24.00000000

 

 

Partial closing in loss.

 

Set active or inactive – 3 partial closing functions.

1-Xpips minus is 10pips

1-Close xpercent of the order is 50%

1-On pips minus from entry is -5 Pips from entry price.

If price goes minus 10pips and goes than back to minus 5 pips. 50% of the order will be closed at -5pips and if price goes higher than remaining order will be closed under normal conditions.

 

2-Xpips minus is 15pips

2-Close xpercent of the order is 50%

2-On pips minus from entry is -10 Pips from entry price.

If price goes minus 15pips and goes than back to minus 10 Pips . 50% of the order will be closed at -10pips and of the remaining order will be closed 50% on -5 Pips.

If price goes higher than rest of order will be closed under normal conditions.

 

 

3-Xpips minus is 20pips

3-Close xpercent of the order is 50%

3-On pips minus from entry is -15 Pips from entry price.

If price goes minus 20pips and goes than back to minus 15 pips . 50% of the order will be closed at -15pips and of the remaining order will be closed 50% on -10 Pips.

If price goes now higher from the rest will be closed 50% on -5 pips

If price goes higher than rest of order will be closed under normal conditions.

 

 

 

 

In chart I want to see the Price at time: from which price at Time the calculation starts.

Theoretical entry price for a long and short order. For buy (blue) for Sell (red).

After opening the position TP and SL of the new order.

And the opening lots 1percent of equity – in amount of lots

 

 

Responded

1
Developer 1
Rating
(461)
Projects
902
77%
Arbitration
25
16% / 68%
Overdue
100
11%
Free
2
Developer 2
Rating
(490)
Projects
1016
58%
Arbitration
29
28% / 24%
Overdue
132
13%
Free
3
Developer 3
Rating
(264)
Projects
538
50%
Arbitration
55
40% / 36%
Overdue
224
42%
Working
4
Developer 4
Rating
(272)
Projects
394
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Free
5
Developer 5
Rating
(7)
Projects
15
47%
Arbitration
6
33% / 17%
Overdue
4
27%
Free
6
Developer 6
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
7
Developer 7
Rating
(187)
Projects
367
56%
Arbitration
45
22% / 56%
Overdue
188
51%
Free
8
Developer 8
Rating
(90)
Projects
159
61%
Arbitration
40
18% / 63%
Overdue
70
44%
Free
9
Developer 9
Rating
(18)
Projects
37
43%
Arbitration
6
17% / 50%
Overdue
17
46%
Free
10
Developer 10
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
11
Developer 11
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
12
Developer 12
Rating
(71)
Projects
254
53%
Arbitration
16
50% / 38%
Overdue
83
33%
Free
Similar orders
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
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en

Project information

Budget
20 - 50 USD
VAT (19%): 3.8 - 9.5 USD
Total: 23.8 - 59.5 USD
For the developer
18 - 45 USD
Deadline
from 1 to 4 day(s)