Develop a Moving Average Deviation (MADev) indicator window

MQL4 Göstergeler Forex

İş tamamlandı

Tamamlanma süresi: 4 gün
Geliştirici tarafından geri bildirim
Recommended client, he is very respectful and patient, thanks my friend.
Müşteri tarafından geri bildirim
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.

İş Gereklilikleri

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


Dosyalar:

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

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(39)
Projeler
50
18%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(432)
Projeler
632
53%
Arabuluculuk
32
53% / 22%
Süresi dolmuş
6
1%
Yüklendi
3
Geliştirici 3
Derecelendirme
(38)
Projeler
50
10%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
8
16%
Serbest
4
Geliştirici 4
Derecelendirme
(806)
Projeler
1126
43%
Arabuluculuk
47
49% / 23%
Süresi dolmuş
84
7%
Serbest
5
Geliştirici 5
Derecelendirme
(132)
Projeler
178
39%
Arabuluculuk
4
25% / 50%
Süresi dolmuş
14
8%
Serbest
6
Geliştirici 6
Derecelendirme
(77)
Projeler
243
74%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 1 makale
7
Geliştirici 7
Derecelendirme
(144)
Projeler
186
41%
Arabuluculuk
24
58% / 21%
Süresi dolmuş
13
7%
Serbest
8
Geliştirici 8
Derecelendirme
(12)
Projeler
17
29%
Arabuluculuk
6
17% / 67%
Süresi dolmuş
4
24%
Serbest
9
Geliştirici 9
Derecelendirme
(126)
Projeler
151
48%
Arabuluculuk
6
83% / 17%
Süresi dolmuş
2
1%
Serbest
10
Geliştirici 10
Derecelendirme
(42)
Projeler
49
47%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 1 kod
11
Geliştirici 11
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(219)
Projeler
370
42%
Arabuluculuk
145
17% / 41%
Süresi dolmuş
124
34%
Serbest
Yayınlandı: 38 kod
13
Geliştirici 13
Derecelendirme
(96)
Projeler
143
76%
Arabuluculuk
0
Süresi dolmuş
2
1%
Serbest
14
Geliştirici 14
Derecelendirme
(41)
Projeler
78
40%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(568)
Projeler
641
41%
Arabuluculuk
25
48% / 36%
Süresi dolmuş
46
7%
Çalışıyor
Benzer siparişler
I am looking for a top-tier MQL5 engineer to architect a sophisticated, 5-engine trading system with integrated 'Guardian' recovery logic and real-time equity protection. 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
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
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"

Proje bilgisi

Bütçe
40 - 250 USD