Programming of an MQL4 Expert Advisor

MQL4 エキスパート

仕事が完了した

実行時間1 日

指定

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

 

 

応答済み

1
開発者 1
評価
(461)
プロジェクト
902
77%
仲裁
25
16% / 68%
期限切れ
100
11%
2
開発者 2
評価
(491)
プロジェクト
1017
58%
仲裁
29
28% / 24%
期限切れ
132
13%
3
開発者 3
評価
(266)
プロジェクト
540
50%
仲裁
55
40% / 36%
期限切れ
224
41%
仕事中
4
開発者 4
評価
(273)
プロジェクト
395
63%
仲裁
70
53% / 26%
期限切れ
198
50%
5
開発者 5
評価
(7)
プロジェクト
15
47%
仲裁
6
33% / 17%
期限切れ
4
27%
6
開発者 6
評価
(195)
プロジェクト
395
28%
仲裁
155
20% / 52%
期限切れ
112
28%
7
開発者 7
評価
(187)
プロジェクト
367
56%
仲裁
45
22% / 56%
期限切れ
188
51%
8
開発者 8
評価
(90)
プロジェクト
159
61%
仲裁
40
18% / 63%
期限切れ
70
44%
9
開発者 9
評価
(18)
プロジェクト
37
43%
仲裁
6
17% / 50%
期限切れ
17
46%
10
開発者 10
評価
(54)
プロジェクト
164
43%
仲裁
43
47% / 16%
期限切れ
58
35%
11
開発者 11
評価
(62)
プロジェクト
140
46%
仲裁
19
42% / 16%
期限切れ
32
23%
12
開発者 12
評価
(71)
プロジェクト
254
53%
仲裁
16
50% / 38%
期限切れ
83
33%
類似した注文
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

プロジェクト情報

予算
20 - 50 USD
VAT(付加価値税) (19%): 3.8 - 9.5 USD
合計: 23.8 - 59.5 USD
開発者用
18 - 45 USD
締め切り
最低 1 最高 4 日