Programming of an MQL4 Expert Advisor

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 1 día

Tarea técnica

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

 

 

Han respondido

1
Desarrollador 1
Evaluación
(461)
Proyectos
902
77%
Arbitraje
25
16% / 68%
Caducado
100
11%
Libre
2
Desarrollador 2
Evaluación
(491)
Proyectos
1017
58%
Arbitraje
29
28% / 24%
Caducado
132
13%
Libre
3
Desarrollador 3
Evaluación
(266)
Proyectos
540
50%
Arbitraje
55
40% / 36%
Caducado
224
41%
Trabaja
4
Desarrollador 4
Evaluación
(273)
Proyectos
395
63%
Arbitraje
70
53% / 26%
Caducado
198
50%
Libre
5
Desarrollador 5
Evaluación
(7)
Proyectos
15
47%
Arbitraje
6
33% / 17%
Caducado
4
27%
Libre
6
Desarrollador 6
Evaluación
(195)
Proyectos
395
28%
Arbitraje
155
20% / 52%
Caducado
112
28%
Libre
7
Desarrollador 7
Evaluación
(187)
Proyectos
367
56%
Arbitraje
45
22% / 56%
Caducado
188
51%
Libre
8
Desarrollador 8
Evaluación
(90)
Proyectos
159
61%
Arbitraje
40
18% / 63%
Caducado
70
44%
Libre
9
Desarrollador 9
Evaluación
(18)
Proyectos
37
43%
Arbitraje
6
17% / 50%
Caducado
17
46%
Libre
10
Desarrollador 10
Evaluación
(54)
Proyectos
164
43%
Arbitraje
43
47% / 16%
Caducado
58
35%
Libre
11
Desarrollador 11
Evaluación
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
Libre
12
Desarrollador 12
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Libre
Solicitudes similares
Zzz 30+ USD
// กำหนดค่าตัวแปรพื้นฐาน input double lotSize = 0.1; // ขนาดล็อตที่ต้องการ input int takeProfit = 50; // ระยะ Take Profit (จุด) input int stopLoss = 50; // ระยะ Stop Loss (จุด) input int magicNumber = 123456; // หมายเลข Magic Number input int smaPeriod = 14; // ช่วงเวลา Simple Moving Average (SMA) // เวลาที่ออเดอร์ล่าสุดถูกเปิด datetime lastOrderTime = 0; // ฟังก์ชั่นหลักของ EA void OnTick() { //
Mobile robot 50 - 100 USD
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market

Información sobre el proyecto

Presupuesto
20 - 50 USD
IVA (19%): 3.8 - 9.5 USD
Total: 23.8 - 59.5 USD
Para el ejecutor
18 - 45 USD
Plazo límite de ejecución
de 1 a 4 día(s)