5 ema for crossovers

MQL5 エキスパート

仕事が完了した

実行時間5 分
依頼者からのフィードバック
great as always...and post handover of the project also he is always available to help
開発者からのフィードバック
Nice client. Fast communication. Good description of specifications. I look forward to working with you again.

指定

MT5 5-EMA + ATR Fixed-Money-Risk EA

I need an MT5 Expert Advisor running on the 5-minute chart using EMA(5) and ATR(14).

SHORT SETUP

  1. Use only completed 5-minute candles.
  2. A SHORT alert candle forms when the entire candle is above EMA(5), meaning even the LOW/wick does not touch the EMA.
  3. Mark that candle’s LOW as the SHORT trigger price.
  4. If another completed candle also stays completely above EMA(5), replace the old trigger with the LOW of the latest qualifying candle.
  5. When market price breaks below the latest trigger LOW, immediately open one SELL trade.
  6. If price touches/crosses EMA(5) before entry happens, cancel that setup and wait for a fresh qualifying alert candle.

LONG SETUP

  1. Exact opposite logic: a LONG alert candle forms when the entire candle is below EMA(5), meaning even its HIGH/wick does not touch EMA(5).
  2. Mark the latest qualifying candle’s HIGH as the trigger. When price breaks above it, open one BUY trade.

ATR STOP LOSS

  1. At the exact moment the trade is opened, read the current 5-minute ATR(14) and freeze this ATR value for that trade.
  2. For a SHORT trade, the stop-loss distance must equal that frozen ATR(14) and the SL is placed above the entry.
  3. For a LONG trade, the stop-loss distance must equal that frozen ATR(14) and the SL is placed below the entry.
  4. The frozen ATR must NOT change after the trade has opened.

FIXED MONEY LOSS / AUTOMATIC LOT SIZE

  1. Add an input called Risk Amount, entered in my account currency, e.g. AED 25 / AED 50 / AED 100.
  2. The EA must automatically calculate the lot size so that if the ATR stop-loss is hit, the planned loss is as close as possible to my Risk Amount without exceeding it.
  3. Example: if my Risk Amount is AED 50 and available broker lot sizes would produce either approximately AED 40 loss or AED 70 loss, always choose the lower AED 40 risk.
  4. Always round the calculated lot size DOWN to the nearest permitted broker lot/volume step. Never round upward beyond my selected Risk Amount.
  5. If the broker’s minimum lot would already risk more than my Risk Amount, do not take the trade.
  6. If available margin is insufficient, do not take the trade.
  7. Lot calculation must use the actual symbol contract/tick value and actual entry-to-SL distance so it works correctly on BTC, Gold, Nasdaq, Oil, etc.

TAKE PROFIT

  1. Add an input called TP ATR Multiplier.
  2. Take Profit distance must use the same ATR value that was frozen when the trade opened.
  3. Example settings: 10 = TP 10 × frozen ATR away from entry; 15 = 15 × ATR; 20 = 20 × ATR.
  4. For SHORT trades, TP is below entry. For LONG trades, TP is above entry.
  5. Allow TP ATR Multiplier = 0 to mean no automatic TP, because I may close the position manually.
  6. If I manually close a position, the EA must not reopen from the previous signal. It must wait for a completely fresh valid 5-EMA setup.

EXECUTION / SAFETY

  1. Only one EA position per symbol at a time.
  2. Repeated ticks around the trigger must never create duplicate trades.
  3. No martingale and no automatic increase in position size after losses.
  4. Use the current MT5 chart symbol (_Symbol) rather than hard-coded symbols, so it works with broker suffixes such as BTCUSDm, XAUUSDm, USTECm and USOILm.
  5. After an MT5/VPS restart, the EA must detect any existing trade correctly and must never duplicate it.

INPUTS

  • EMA Period = default 5
  • ATR Period = default 14
  • ATR SL Multiplier = default 1.0
  • Risk Amount in account currency
  • TP ATR Multiplier = e.g. 10 / 15 / 20 / 0 for manual exit
  • Enable Long = true/false
  • Enable Short = true/false
  • Enable Trading = true/false
  • Magic Number

ON-CHART DISPLAY

Show: Symbol, EMA value, ATR value, alert candle, trigger price, calculated SL, calculated lot size, planned monetary loss, TP and current state: WAITING / ARMED LONG / ARMED SHORT / POSITION OPEN.

DELIVERY

I require the editable .mq5 source code, compiled .ex5 file and basic instructions. It must work in MT5 Strategy Tester and Exness MT5 and must require no DLLs or external software.

One example you can also send him if he asks for clarification:

SELL entry = 30,000
ATR(14) at entry = 50 points
SL distance = 50 points → SL = 30,050
TP multiplier = 15 → TP distance = 750 points → TP = 29,250
ATR remains frozen at 50 for that entire trade.

And your AED 50 rule means the EA might deliberately risk AED 46 or AED 40 if the broker's available lot increments don't allow exactly AED 50. It should never intentionally choose AED 55/70 just to get closer to AED 50. That's worth keeping exactly as written.





応答済み

1
開発者 1
評価
(637)
プロジェクト
1009
47%
仲裁
33
36% / 36%
期限切れ
99
10%
暇
パブリッシュした人: 6 codes
2
開発者 2
評価
(639)
プロジェクト
747
34%
仲裁
49
53% / 39%
期限切れ
14
2%
仕事中
3
開発者 3
評価
(295)
プロジェクト
367
30%
仲裁
37
27% / 65%
期限切れ
10
3%
仕事中
パブリッシュした人: 10 codes
4
開発者 4
評価
(406)
プロジェクト
524
24%
仲裁
62
58% / 24%
期限切れ
60
11%
取り込み中
5
開発者 5
評価
(111)
プロジェクト
184
25%
仲裁
25
16% / 76%
期限切れ
16
9%
暇
6
開発者 6
評価
(3)
プロジェクト
4
75%
仲裁
0
期限切れ
0
暇
7
開発者 7
評価
(2)
プロジェクト
2
50%
仲裁
0
期限切れ
1
50%
暇
8
開発者 8
評価
(4)
プロジェクト
10
60%
仲裁
0
期限切れ
0
仕事中
9
開発者 9
評価
(188)
プロジェクト
202
47%
仲裁
4
50% / 25%
期限切れ
1
0%
仕事中
10
開発者 10
評価
(23)
プロジェクト
33
39%
仲裁
9
22% / 33%
期限切れ
5
15%
多忙
パブリッシュした人: 8 articles, 35 codes
11
開発者 11
評価
(2352)
プロジェクト
2958
63%
仲裁
125
44% / 26%
期限切れ
429
15%
暇
12
開発者 12
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
13
開発者 13
評価
(20)
プロジェクト
26
38%
仲裁
6
33% / 50%
期限切れ
0
暇
14
開発者 14
評価
(10)
プロジェクト
12
33%
仲裁
0
期限切れ
2
17%
仕事中
パブリッシュした人: 1 code
15
開発者 15
評価
(1306)
プロジェクト
1736
49%
仲裁
55
67% / 16%
期限切れ
38
2%
暇
16
開発者 16
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 100%
期限切れ
0
暇
17
開発者 17
評価
(8)
プロジェクト
8
0%
仲裁
2
50% / 0%
期限切れ
1
13%
仕事中
18
開発者 18
評価
(45)
プロジェクト
53
57%
仲裁
2
100% / 0%
期限切れ
1
2%
暇
パブリッシュした人: 5 codes
19
開発者 19
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
暇
20
開発者 20
評価
(16)
プロジェクト
30
40%
仲裁
3
33% / 67%
期限切れ
7
23%
仕事中
21
開発者 21
評価
(25)
プロジェクト
33
18%
仲裁
6
50% / 33%
期限切れ
4
12%
暇
22
開発者 22
評価
(14)
プロジェクト
21
24%
仲裁
0
期限切れ
2
10%
暇
パブリッシュした人: 3 codes
23
開発者 23
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
24
開発者 24
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
1
100%
暇
25
開発者 25
評価
(438)
プロジェクト
649
53%
仲裁
35
63% / 20%
期限切れ
7
1%
仕事中
26
開発者 26
評価
(55)
プロジェクト
68
43%
仲裁
15
27% / 60%
期限切れ
1
1%
仕事中
27
開発者 27
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
暇
28
開発者 28
評価
(853)
プロジェクト
1471
72%
仲裁
122
29% / 48%
期限切れ
361
25%
暇
パブリッシュした人: 3 articles
29
開発者 29
評価
(60)
プロジェクト
95
42%
仲裁
4
0% / 100%
期限切れ
4
4%
仕事中
30
開発者 30
評価
(6)
プロジェクト
7
14%
仲裁
1
0% / 100%
期限切れ
1
14%
暇
31
開発者 31
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
32
開発者 32
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
33
開発者 33
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
34
開発者 34
評価
(7)
プロジェクト
9
67%
仲裁
0
期限切れ
0
仕事中
パブリッシュした人: 1 article, 2 codes
35
開発者 35
評価
(2678)
プロジェクト
3428
68%
仲裁
78
49% / 14%
期限切れ
343
10%
暇
パブリッシュした人: 1 code
36
開発者 36
評価
(216)
プロジェクト
283
20%
仲裁
28
57% / 14%
期限切れ
0
仕事中
37
開発者 37
評価
(6)
プロジェクト
8
38%
仲裁
2
50% / 50%
期限切れ
2
25%
暇
38
開発者 38
評価
(83)
プロジェクト
99
33%
仲裁
9
22% / 56%
期限切れ
5
5%
仕事中
39
開発者 39
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
40
開発者 40
評価
(81)
プロジェクト
110
55%
仲裁
5
80% / 20%
期限切れ
5
5%
仕事中
41
開発者 41
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
42
開発者 42
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 1 code
43
開発者 43
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
44
開発者 44
評価
(7)
プロジェクト
6
0%
仲裁
4
25% / 75%
期限切れ
2
33%
暇
45
開発者 45
評価
(2)
プロジェクト
4
25%
仲裁
1
100% / 0%
期限切れ
1
25%
暇
パブリッシュした人: 3 codes
46
開発者 46
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
47
開発者 47
評価
(42)
プロジェクト
112
56%
仲裁
2
50% / 0%
期限切れ
3
3%
暇
パブリッシュした人: 1 code
48
開発者 48
評価
(12)
プロジェクト
25
24%
仲裁
2
50% / 50%
期限切れ
2
8%
暇
49
開発者 49
評価
(370)
プロジェクト
460
55%
仲裁
24
58% / 17%
期限切れ
31
7%
仕事中
50
開発者 50
評価
(4)
プロジェクト
7
57%
仲裁
1
100% / 0%
期限切れ
0
暇
51
開発者 51
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 4 codes
52
開発者 52
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
53
開発者 53
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 5 codes
54
開発者 54
評価
(21)
プロジェクト
25
36%
仲裁
1
0% / 0%
期限切れ
1
4%
暇
55
開発者 55
評価
(25)
プロジェクト
31
13%
仲裁
14
0% / 79%
期限切れ
9
29%
暇
56
開発者 56
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
57
開発者 57
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
58
開発者 58
評価
(2)
プロジェクト
3
33%
仲裁
0
期限切れ
2
67%
仕事中
59
開発者 59
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
60
開発者 60
評価
(10)
プロジェクト
17
18%
仲裁
3
0% / 33%
期限切れ
3
18%
取り込み中
61
開発者 61
評価
(78)
プロジェクト
248
74%
仲裁
7
100% / 0%
期限切れ
1
0%
暇
パブリッシュした人: 2 articles, 1 code
62
開発者 62
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
暇
63
開発者 63
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
64
開発者 64
評価
(31)
プロジェクト
38
53%
仲裁
2
50% / 50%
期限切れ
3
8%
暇
65
開発者 65
評価
(64)
プロジェクト
145
46%
仲裁
21
38% / 24%
期限切れ
32
22%
暇
66
開発者 66
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
類似した注文
Description: Hello, I need a professional, high-quality optimization of the"Ultimate SMC" Expert Advisor for MetaTrader 5. The primary objective is to create robust and safe configuration files(.set files) tailored specifically to pass the Funding Pips prop firm challenge using a cosnservative risk model. Assets and Timeframes:1.Currency Pairs: EURUSD and GBPUSD (Upon completion, I require 2 separate,independent .set
​​ Title: ​Create a Combined Indicator from 3 EX4 Indicators + Fully Automatic Trading EA (MT4) ​ Description: ​Hello, ​I need an experienced MQL4 developer to build a custom trading system based on 3 existing .ex4 indicators. ​ Project Requirements: ​ Combined Custom Indicator: ​Read and merge signals from 3 specified .ex4 indicators via buffer reading (iCustom). ​Generate a consolidated BUY or SELL arrow/signal
EA the profit 30+ USD
I need a robot that trade on command and stop-loss and take profit when need to , able to trade on all plate form follow profitable strategies or signal , want a winning streak with fast profits making
Hi I'm looking for this EA or Similar EA with optimizated set file. This bot is an automated trading robot, operating 24/7, and capable of trading all currency pairs. Compatible with all brokers. Features: Analysis of price action charts, trends, and support and resistance levels on any timeframe. The bot integrates stop-loss (SL), stop-loss (TP), and trailing stop-loss (SL) orders. Works on MT5 getshared . c o m
I wish to create 2 different Tradingview strategies to MT5 ea-s! Anyone? One is based on Heiken Ashi...the other based on different combination of my strategy. It is for 1 minute charts
نازدك 30+ USD
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
**IMPORTANT: PLEASE DISREGARD THE PREVIOUS SPECIFICATION TITLED "FULL TRADING PLATFORM – APPLICATION FLOW REQUIREMENTS."** I no longer need the complete trading platform outlined in my previous **"FULL TRADING PLATFORM – APPLICATION FLOW REQUIREMENTS"** specification. Originally, I considered building a complete trading platform with educational materials, training systems, user accounts, subscription features
I have indicators on my Trading view which will create zones automatically on H4 Candle confirmation. I am getting an alert also that specific zone is created. I want them to shift in automated trading like once zone is created, limits should be place automatically on basis of that zone with given lot size, number of layers and with TP and SL. I have checked on AI to convert this in auto but they need zone in numbers
I am looking for an experienced MQL5 developer to recreate my existing MT5 Expert Advisor (DSTR Novaa). I have the original compiled EX5 file, Vantage MT5 live trading history and original Strategy Tester report. Required Trading Logic: EMA Period: 3. BUY when price crosses below EMA 3. SELL when price crosses above EMA 3. Starting Lot: 0.01 (configurable). Martingale Multiplier: 2.0. Maximum Martingale Cycle: 9
I need an ready-made MT5 profitable EA for Gold. 5/7% daily I need. Before applying please make sure you have one with proven ROI, Drawdown and Live performace result. I will Pay $500 for it but I need as I want. Must needs to supply Source code if I like it. Before I purchase I will test 7 days on my live account. If It's okay then apply othersie please pass this project. Hope you will respect the time for both of

プロジェクト情報

予算
150+ USD
締め切り
最低 1 最高 3 日