Modification of Moving Averages EA

Specification

Task: Modify "Moving Averages" EA – Add 3 professional features

Current EA: Classic Moving Averages crossover (EMA 21 based), longs/shorts on XAUUSD/stocks

Add these 3 features:

1. SELECTABLE TIMEFRAME (independent of chart)
   • input ENUM_TIMEFRAMES WorkTimeframe = PERIOD_H1, H2, H3, H4.....  // M1, M5, M10,....
   • All iMA(), Close[], Open[], High[], Low[] must use WorkTimeframe instead of current chart timeframe

2. DAILY LOSS LIMIT (in USD)
   • inputs:
        bool   UseDailyLossLimit   = true
        double DailyLossLimitUSD   = XXX
   • Track realized P&L from 00:00 server time
   • When daily loss ≥ limit:
        – Close ALL positions
        – Stop trading and pause EA until next day (00:05 server time)
   • Reset counter at 00:00 automatically

3. NEWS FILTER (avoid high-impact news)
   • inputs:
        bool   UseNewsFilter       = true
        int    MinutesBeforeNews   = 30
        int    MinutesAfterNews    = 30
        int    MinImpact           = 3   // 3 = high impact only
   • Use built-in Economic Calendar (CalendarValueHistory or WebRequest to FF calendar)
   • Do NOT open new trades from X minutes before to X minutes after high-impact news
   • Optional: close positions before news (add input bool CloseBeforeNews = false)

Requirements:
• Clean, well-commented code (English preferred)
• No external DLLs or paid libraries
• Works on XAUUSD, NAS100, SP500, stocks, forex
• Only long trades (keep current logic)
• Fully tested on Strategy Tester

Budget: $30–$40
Delivery: same day 

Responded

1
Developer 1
Rating
(28)
Projects
31
45%
Arbitration
1
100% / 0%
Overdue
3
10%
Free
2
Developer 2
Rating
(58)
Projects
72
60%
Arbitration
4
75% / 25%
Overdue
1
1%
Loaded
3
Developer 3
Rating
(13)
Projects
18
11%
Arbitration
6
33% / 67%
Overdue
1
6%
Free
Published: 1 code
4
Developer 4
Rating
(13)
Projects
22
41%
Arbitration
8
0% / 50%
Overdue
3
14%
Free
5
Developer 5
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
6
Developer 6
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(274)
Projects
403
28%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
8
Developer 8
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
9
Developer 9
Rating
(318)
Projects
565
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Free
10
Developer 10
Rating
(454)
Projects
720
34%
Arbitration
35
71% / 9%
Overdue
22
3%
Free
11
Developer 11
Rating
(2)
Projects
3
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
13
Developer 13
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
14
Developer 14
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
17
Developer 17
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
18
Developer 18
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
19
Developer 19
Rating
(17)
Projects
21
14%
Arbitration
8
38% / 38%
Overdue
3
14%
Loaded
20
Developer 20
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
21
Developer 21
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
22
Developer 22
Rating
(4)
Projects
5
40%
Arbitration
1
0% / 0%
Overdue
0
Free
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
Projects
2
0%
Arbitration
4
25% / 50%
Overdue
1
50%
Free
25
Developer 25
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
26
Developer 26
Rating
(44)
Projects
51
59%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
27
Developer 27
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
28
Developer 28
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
29
Developer 29
Rating
(611)
Projects
711
33%
Arbitration
45
49% / 42%
Overdue
14
2%
Working
30
Developer 30
Rating
Projects
0
0%
Arbitration
2
0% / 100%
Overdue
0
Free
31
Developer 31
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
32
Developer 32
Rating
(49)
Projects
74
18%
Arbitration
30
17% / 53%
Overdue
31
42%
Free
33
Developer 33
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
34
Developer 34
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Loaded
35
Developer 35
Rating
(5)
Projects
6
0%
Arbitration
1
0% / 100%
Overdue
0
Free
36
Developer 36
Rating
Projects
1
100%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
(7)
Projects
7
0%
Arbitration
0
Overdue
2
29%
Free
38
Developer 38
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
1
8%
Free
Similar orders
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
Ниже представлено готовое, технически выверенное Техническое задание (ТЗ) . Вы можете полностью скопировать этот текст и разместить его на бирже фриланса (например, MQL5.com в разделе «Фриланс» или на Smart-Lab). Данное ТЗ написано на профессиональном языке, понятном разработчикам торговых систем для терминала QUIK (на языке Lua) . ТЕХНИЧЕСКОЕ ЗАДАНИЕ (ТЗ) Разработка мультивалютного торгового робота для терминала
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should

Project information

Budget
30 - 40 USD
Deadline
from 1 to 2 day(s)