Modification of Moving Averages EA

Spécifications

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 

Répondu

1
Développeur 1
Évaluation
(28)
Projets
31
45%
Arbitrage
1
100% / 0%
En retard
3
10%
Gratuit
2
Développeur 2
Évaluation
(11)
Projets
13
62%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(13)
Projets
17
12%
Arbitrage
4
25% / 50%
En retard
1
6%
Travail
Publié : 1 code
4
Développeur 4
Évaluation
(9)
Projets
18
39%
Arbitrage
5
0% / 40%
En retard
3
17%
Chargé
5
Développeur 5
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(3)
Projets
3
33%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
7
Développeur 7
Évaluation
(269)
Projets
397
27%
Arbitrage
38
39% / 50%
En retard
1
0%
Travail
8
Développeur 8
Évaluation
(47)
Projets
66
38%
Arbitrage
5
20% / 40%
En retard
1
2%
Travail
9
Développeur 9
Évaluation
(305)
Projets
547
35%
Arbitrage
78
32% / 42%
En retard
197
36%
Travail
10
Développeur 10
Évaluation
(437)
Projets
688
34%
Arbitrage
33
70% / 9%
En retard
22
3%
Travail
11
Développeur 11
Évaluation
(2)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(6)
Projets
6
0%
Arbitrage
2
50% / 0%
En retard
1
17%
Gratuit
13
Développeur 13
Évaluation
(390)
Projets
416
30%
Arbitrage
74
19% / 70%
En retard
52
13%
Travail
14
Développeur 14
Évaluation
(1)
Projets
1
100%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
16
Développeur 16
Évaluation
(5)
Projets
4
0%
Arbitrage
2
50% / 50%
En retard
2
50%
Gratuit
17
Développeur 17
Évaluation
(13)
Projets
19
32%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
18
Développeur 18
Évaluation
(29)
Projets
36
53%
Arbitrage
2
50% / 50%
En retard
3
8%
Gratuit
19
Développeur 19
Évaluation
(14)
Projets
17
6%
Arbitrage
8
38% / 38%
En retard
2
12%
Chargé
20
Développeur 20
Évaluation
(206)
Projets
333
35%
Arbitrage
66
12% / 58%
En retard
87
26%
Gratuit
21
Développeur 21
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
22
Développeur 22
Évaluation
(4)
Projets
5
40%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
23
Développeur 23
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
24
Développeur 24
Évaluation
Projets
2
0%
Arbitrage
4
25% / 50%
En retard
1
50%
Gratuit
25
Développeur 25
Évaluation
(4)
Projets
7
0%
Arbitrage
2
50% / 50%
En retard
3
43%
Chargé
26
Développeur 26
Évaluation
(20)
Projets
21
67%
Arbitrage
0
En retard
1
5%
Travail
Publié : 2 codes
27
Développeur 27
Évaluation
(8)
Projets
12
33%
Arbitrage
0
En retard
3
25%
Travail
28
Développeur 28
Évaluation
(294)
Projets
470
39%
Arbitrage
102
40% / 24%
En retard
78
17%
Chargé
Publié : 2 codes
29
Développeur 29
Évaluation
(539)
Projets
620
33%
Arbitrage
36
39% / 53%
En retard
11
2%
Chargé
30
Développeur 30
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Travail
31
Développeur 31
Évaluation
(77)
Projets
241
73%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
32
Développeur 32
Évaluation
(49)
Projets
74
18%
Arbitrage
30
17% / 53%
En retard
31
42%
Gratuit
33
Développeur 33
Évaluation
(270)
Projets
552
49%
Arbitrage
58
40% / 36%
En retard
228
41%
Travail
34
Développeur 34
Évaluation
(176)
Projets
227
19%
Arbitrage
20
40% / 20%
En retard
0
Travail
35
Développeur 35
Évaluation
(5)
Projets
6
0%
Arbitrage
0
En retard
0
Gratuit
36
Développeur 36
Évaluation
Projets
1
100%
Arbitrage
0
En retard
0
Gratuit
37
Développeur 37
Évaluation
(6)
Projets
6
0%
Arbitrage
0
En retard
2
33%
Gratuit
38
Développeur 38
Évaluation
(2)
Projets
2
0%
Arbitrage
1
0% / 100%
En retard
0
Travail
Commandes similaires
(Job Description) ​ I am looking for a professional expert to set up a COMPLETE MT4 FULL SERVER ENTERPRISE (Must be a standalone Full Server, absolutely NOT a White Label). The final result must be 100% identical in functionality to the professional admin manipulation systems seen in private server videos. ​ Mandatory Project Requirements: ​ 1. Full Enterprise Admin Control: ​Deliver a fully functional MT4 Manager
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
Bot sympaFX 30+ USD
Stratégie : "Institutional Flow Scalper" La stratégie repose sur la confluence de la tendance structurelle et de la valeur moyenne pondérée . Actifs cibles : EURUSD, GBPUSD (Spread faible, forte liquidité). Sessions : Londres (09h00 - 12h00) et New York (14h30 - 17h30 GMT+1). Indicateurs : EMA 200 : Filtre de tendance long terme (M5). VWAP : Ancre du prix institutionnel. On achète sous le VWAP en tendance haussière
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i
Greeting Im in need of a programmer that can help me convert from TOS to trading view? The script is available with me, kindly bid if it is what you can do for me Thanks
can you help me with I need an ATM strategy for NT8, here's the criteria: Forex trade entry 100,000 units with a starting SL of 70 pips. The following proft targets: 33 pips, 68, 125, 180. All targets exit 25,000 units each. As each target is hit, move SL to BE+5, then BE+35, then BE+70. So the SL's are fixed, not trailing. I can't figure this out on my platform
This strategy is built around the idea that price seeks liquidity, and that retail traders often get trapped around key highs and lows. Instead of entering trades before price hits liquidity, this playbook waits for the market to run stops (take liquidity) and then trade the reversal after the trap is formed. The concept is simple: buy below lows, sell above highs, but only when those lows or highs have respected
I am looking for a professional MQL4 developer to build a fully automated MT4 Expert Advisor (EA) for XAUUSD (Gold only). PLATFORM: - MetaTrader 4 (MT4) - Broker: Hankotrade (ECN conditions) - Symbol: XAUUSD only GENERAL RULES: - Fully automated EA (no manual confirmation required) - NO martingale - NO grid - NO hedging - One trade at a time - Works on live and demo accounts - Must allow manual stop/disable at any

Informations sur le projet

Budget
30 - 40 USD
Délais
de 1 à 2 jour(s)