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 代码
2
开发者 2
等级
(639)
项目
747
34%
仲裁
49
53% / 39%
逾期
14
2%
工作中
3
开发者 3
等级
(295)
项目
367
30%
仲裁
37
27% / 65%
逾期
10
3%
工作中
发布者: 10 代码
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 文章, 35 代码
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 代码
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 代码
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 代码
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 文章
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 文章, 2 代码
35
开发者 35
等级
(2678)
项目
3428
68%
仲裁
78
49% / 14%
逾期
343
10%
空闲
发布者: 1 代码
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 代码
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 代码
46
开发者 46
等级
项目
0
0%
仲裁
0
逾期
0
空闲
47
开发者 47
等级
(42)
项目
112
56%
仲裁
2
50% / 0%
逾期
3
3%
空闲
发布者: 1 代码
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 代码
52
开发者 52
等级
项目
0
0%
仲裁
0
逾期
0
空闲
53
开发者 53
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 5 代码
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 文章, 1 代码
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 天