Develop a Moving Average Deviation (MADev) indicator window

MQL4 Indicateurs Forex

Tâche terminée

Temps d'exécution 4 jours
Commentaires de l'employé
Recommended client, he is very respectful and patient, thanks my friend.
Commentaires du client
Leonardo was quick to implement exactly what I wanted and to tweak things perfectly, even in the code. Always enthusiastic and willing, I rate him very highly.

Spécifications

In an indicator window, I want an line graph showing the deviation of price from a rapid moving average, i.e. closing price – moving average of closing price, normalized to a percentage as explained below.

 I would like a copy of the code in MQL4 for my own purposes.  I’d like to retain exclusive copyright to the work.

INPUTS

A.     select either simple moving average (SMA) or exponential moving average (EMA)

·        1=sma, 2=ema, default 1

B.     number of bars in the moving average

·        minimum 2, default 10 bars

C.      (requirement deleted)

D.     number of bars in the normalization period

·        minimum 2, default 50 bars

E.      toggle color bars below the curve

·        false=off, true=on (default)

·        If “true”, there should be color bars below the deviation curve, blue = increase in deviation, red = decrease in deviation (i.e. line graph up/down). See attached image for a rough example.

F.      levels for indicator gridlines

·        default -60%, 0, +60%

If negative levels cannot be achieved (I haven’t seen them), translate -100%,+100% to 0%,100%.

NORMALIZATION

The deviation should be normalized as a percentage of the maximum absolute deviation over the normalization period,

e.g. if the maximum absolute deviation over the last 50 bars (or see input D) is 40 pips, then we represent a deviation of +30 pips as +75% and a deviation of -10 pips as -25%

The indicator scale should show -100% to +100%, with default levels at +60%, 0%, and -60% (or see input F).

The “About” screen in the properties window should explain the input parameters.  Please use this text:

      Copyright Timothy Horton, Toronto 2022

·        moving average method: 1=sma, 2=ema

·        moving average period: minimum 2 bars

·        normalization period: minimum 2 bars

·        show color bars: false=off, true=on


Dossiers :

PNG
MADev.png
103.3 Kb
PNG
MADev2.png
81.4 Kb

Répondu

1
Développeur 1
Évaluation
(39)
Projets
50
18%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(432)
Projets
632
53%
Arbitrage
32
53% / 22%
En retard
6
1%
Chargé
3
Développeur 3
Évaluation
(38)
Projets
50
10%
Arbitrage
1
0% / 0%
En retard
8
16%
Gratuit
4
Développeur 4
Évaluation
(806)
Projets
1126
43%
Arbitrage
47
49% / 23%
En retard
84
7%
Gratuit
5
Développeur 5
Évaluation
(132)
Projets
178
39%
Arbitrage
4
25% / 50%
En retard
14
8%
Gratuit
6
Développeur 6
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
7
Développeur 7
Évaluation
(144)
Projets
186
41%
Arbitrage
24
58% / 21%
En retard
13
7%
Gratuit
8
Développeur 8
Évaluation
(12)
Projets
17
29%
Arbitrage
6
17% / 67%
En retard
4
24%
Gratuit
9
Développeur 9
Évaluation
(126)
Projets
151
48%
Arbitrage
6
83% / 17%
En retard
2
1%
Gratuit
10
Développeur 10
Évaluation
(42)
Projets
49
47%
Arbitrage
1
100% / 0%
En retard
1
2%
Gratuit
Publié : 1 code
11
Développeur 11
Évaluation
(2)
Projets
2
0%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
12
Développeur 12
Évaluation
(219)
Projets
370
42%
Arbitrage
145
17% / 41%
En retard
124
34%
Gratuit
Publié : 38 codes
13
Développeur 13
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
14
Développeur 14
Évaluation
(41)
Projets
78
40%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
Commandes similaires
I want to create a loss recovery account.I have a zone recovery EA.It sometimes gives more buy sell entries than the target. This causes a lot of loss. I want to create an EA to reduce that loss by 40% to 50%. Example: My EA has lost $2200 with a buy sell entry. Now the new EA will give an entry that can reduce the loss from $2200 to $700
I am looking for an experienced MT5 developer to build a custom, aggressive XAUUSD scalping EA with structured basket management and momentum continuation logic. This is not a generic EA — it requires careful architecture and proper risk control. Key Requirements: Instrument & Timeframes: XAUUSD only M1 execution chart M5/M15 for directional bias and structure context Execution & Basket Logic: Aggressive basket-style
I need any highly profitable MT5 robot which trades any sythetic indices on deriv very profitably. It should have good risk management and any good strategy The EA should have good risk management and can trade small accounts like 50 - 100USD Developers who have already made robots have higher chance
I'm looking for someone with a 5-star rating and a high number of "Completed Jobs" in MQL5. PLEASE MAKE SURE YOU READ MY DISCRIPTION AND THE UPLOADED CODE BEFOR SPEAKING TO ME. To trade - XAUUSD+ Broker - vantage.com raw account starting balance - £1000 I require a high-level MQL5 developer to build/refine a sophisticated Expert Advisor. I have attached the original source code. The developer must use the attached
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
Seeking developer service to code an EA. Interested developer must have good experience and understanding on how ORB and FVG works, and agreed to the terms below : 1. Shall demonstrate a fully functional EA that operates as specified in the requirement and function automatically as requested in real-time environment (forward test - demo/live), regardless of good results obtained in strategy-tester. Backtesting
Need trading robot 50 - 70 USD
I need a robot for trading gold and currencies . I need to use it with metatrader 4 and 5 . My budget is not high . Max . 70 USD. I need to be able to start and stop it at any time without restrictions
am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes . The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
Title: MT5 EA Needed – Prop‑Firm Compliance Tool (SL/TP at Entry, 60‑Second Hold, Daily Profit Cap, 0.5% XAUUSD Risk) Description: I need an MT5 Expert Advisor that enforces prop‑firm compliance rules for Instant Funding accounts. The EA must NOT trade automatically — it should only monitor and control my manual XAUUSD trading. I trade all sessions, so there should be no time restrictions. MY TRADING STYLE (Important
​1. Project Overview ​ Asset: XAUUSD (Gold) ​ Timeframe: M1 (1-Minute) for execution; M5/M15 for trend filtering. ​ Objective: Execute high-frequency scalps during peak liquidity (London/NY overlap) to capture 10–30 pip movements with high precision. ​ Core Logic: The "Poverty Bot" strategy relies on Mean Reversion combined with Momentum Burst (Price Action + RSI/EMA filters). ​2. Strategy Logic (The "Poverty"

Informations sur le projet

Budget
40 - 250 USD