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
(26)
Projects
30
53%
Arbitration
3
33% / 33%
Overdue
0
Working
3
Developer 3
Rating
(13)
Projects
18
11%
Arbitration
6
33% / 67%
Overdue
1
6%
Free
Published: 1 code
4
Developer 4
Rating
(10)
Projects
19
42%
Arbitration
7
0% / 57%
Overdue
3
16%
Working
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
(273)
Projects
402
27%
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
(313)
Projects
559
35%
Arbitration
79
32% / 43%
Overdue
203
36%
Free
10
Developer 10
Rating
(448)
Projects
710
34%
Arbitration
34
71% / 9%
Overdue
22
3%
Free
11
Developer 11
Rating
(2)
Projects
3
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(6)
Projects
6
0%
Arbitration
2
50% / 0%
Overdue
1
17%
Free
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
(6)
Projects
5
0%
Arbitration
3
33% / 67%
Overdue
2
40%
Free
17
Developer 17
Rating
(18)
Projects
24
38%
Arbitration
6
33% / 50%
Overdue
0
Free
18
Developer 18
Rating
(30)
Projects
37
54%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
19
Developer 19
Rating
(16)
Projects
20
10%
Arbitration
8
38% / 38%
Overdue
3
15%
Working
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
(38)
Projects
41
59%
Arbitration
1
100% / 0%
Overdue
1
2%
Working
Published: 5 codes
27
Developer 27
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
28
Developer 28
Rating
(298)
Projects
477
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Loaded
Published: 2 codes
29
Developer 29
Rating
(568)
Projects
657
32%
Arbitration
41
41% / 46%
Overdue
11
2%
Busy
30
Developer 30
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Working
31
Developer 31
Rating
(77)
Projects
243
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
(190)
Projects
246
20%
Arbitration
22
50% / 18%
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
(6)
Projects
6
0%
Arbitration
0
Overdue
2
33%
Free
38
Developer 38
Rating
(8)
Projects
9
0%
Arbitration
2
0% / 50%
Overdue
1
11%
Working
Similar orders
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
أبحث عن خبير تداول آلي (EA) أرفقتُ فيديو له. يقوم هذا الخبير بوضع أوامر شراء معلقة وبيع معلقة على بُعد 250 نقطة أعلى وأسفل السعر الحالي كل دقيقة، مع تحديد مستوى وقف الخسارة (SL) عند 300 نقطة ومستوى جني الربح (TP) عند 500 نقطة. إذا تم تفعيل أيٍّ من هذين الأمرين خلال الدقيقة، يتم إلغاء الآخر. لا يقوم الخبير بوضع أي أوامر معلقة حتى يتم الوصول إلى مستوى وقف الخسارة أو جني الربح، ثم يضع مجموعة جديدة من الأوامر المعلقة في
Am looking for good programmer to help me to convert two Ex4 file into EA. The first indicator provide 9 tools signal and the second indicator is Candle stick strategy. Kindly see the attached file for proper explanation about the BOT. Below is discription 🔹 PART 1: Candle Structure Strategy (Daily / Weekly / Monthly) ✅ Core Idea You are trading alignment of higher timeframe direction with lower timeframe
Looking for experience profitable manual traders that will be willing to trade my live mt5 account for profit share. Requirements Must have at least 6 months of profitable months. Min 10 percent monthly Send me investor credentials for mt5 or mt4 account. Can be trading Any instruments. Must reply with mt5 credentials or will disregard
I am seeking an expert MQL5 developer for a paid architectural consultation. I am currently in the process of building a trading platform and need a deep dive with a specialist who understands the "under the hood" mechanics of high-frequency execution and systematic bot design. Topics for Discussion: Engine Logic: Best practices for building a robust, low-latency execution engine on MT5. Risk Frameworks: Implementing
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
I need a MetaTrader 5 Expert Advisor for XAUUSD. Trend Filter : Trade only in the direction of the main trend. Patterns (Buy) : Hammer, Inverted Hammer, Doji, Bullish Harami, Bullish Engulfing + Green confirmation candle close above high. Patterns (Sell) : Shooting Star, Doji, Bearish Harami, Bearish Engulfing + Red confirmation candle close below low. Entry Rule : Wait for one Pullback candle (Red for Buy, Green for
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot

Project information

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