Programming of an MQL4 Expert Advisor

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 1 giorno

Specifiche

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

 

 

Con risposta

1
Sviluppatore 1
Valutazioni
(461)
Progetti
902
77%
Arbitraggio
25
16% / 68%
In ritardo
100
11%
Gratuito
2
Sviluppatore 2
Valutazioni
(490)
Progetti
1016
58%
Arbitraggio
29
28% / 24%
In ritardo
132
13%
Gratuito
3
Sviluppatore 3
Valutazioni
(264)
Progetti
538
50%
Arbitraggio
55
40% / 36%
In ritardo
224
42%
In elaborazione
4
Sviluppatore 4
Valutazioni
(272)
Progetti
394
63%
Arbitraggio
70
53% / 26%
In ritardo
198
50%
Gratuito
5
Sviluppatore 5
Valutazioni
(7)
Progetti
15
47%
Arbitraggio
6
33% / 17%
In ritardo
4
27%
Gratuito
6
Sviluppatore 6
Valutazioni
(195)
Progetti
395
28%
Arbitraggio
155
20% / 52%
In ritardo
112
28%
Gratuito
7
Sviluppatore 7
Valutazioni
(187)
Progetti
367
56%
Arbitraggio
45
22% / 56%
In ritardo
188
51%
Gratuito
8
Sviluppatore 8
Valutazioni
(90)
Progetti
159
61%
Arbitraggio
40
18% / 63%
In ritardo
70
44%
Gratuito
9
Sviluppatore 9
Valutazioni
(18)
Progetti
37
43%
Arbitraggio
6
17% / 50%
In ritardo
17
46%
Gratuito
10
Sviluppatore 10
Valutazioni
(54)
Progetti
164
43%
Arbitraggio
43
47% / 16%
In ritardo
58
35%
Gratuito
11
Sviluppatore 11
Valutazioni
(62)
Progetti
140
46%
Arbitraggio
19
42% / 16%
In ritardo
32
23%
Gratuito
12
Sviluppatore 12
Valutazioni
(71)
Progetti
254
53%
Arbitraggio
16
50% / 38%
In ritardo
83
33%
Gratuito
Ordini simili
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'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
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

Informazioni sul progetto

Budget
20 - 50 USD
IVA (19%): 3.8 - 9.5 USD
Totale: 23.8 - 59.5 USD
Per lo sviluppatore
18 - 45 USD
Scadenze
da 1 a 4 giorno(i)