Develop a Moving Average Deviation (MADev) indicator window

MQL4 Indicators Forex

Job finished

Execution time 4 days
Feedback from employee
Recommended client, he is very respectful and patient, thanks my friend.
Feedback from customer
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.

Specification

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


Files:

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

Responded

1
Developer 1
Rating
(39)
Projects
50
18%
Arbitration
6
33% / 50%
Overdue
0
Free
2
Developer 2
Rating
(434)
Projects
640
53%
Arbitration
34
62% / 21%
Overdue
6
1%
Working
3
Developer 3
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
4
Developer 4
Rating
(807)
Projects
1127
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
5
Developer 5
Rating
(132)
Projects
178
39%
Arbitration
4
25% / 50%
Overdue
14
8%
Free
6
Developer 6
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
7
Developer 7
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
8
Developer 8
Rating
(12)
Projects
17
29%
Arbitration
6
17% / 67%
Overdue
4
24%
Free
9
Developer 9
Rating
(126)
Projects
151
48%
Arbitration
6
83% / 17%
Overdue
2
1%
Free
10
Developer 10
Rating
(42)
Projects
49
47%
Arbitration
1
100% / 0%
Overdue
1
2%
Free
Published: 1 code
11
Developer 11
Rating
(2)
Projects
2
0%
Arbitration
3
0% / 100%
Overdue
0
Free
12
Developer 12
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
13
Developer 13
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
14
Developer 14
Rating
(41)
Projects
78
40%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
Similar orders
I will pay 2500 to 10000 USD (negotiable) for one MT5 Expert Advisor, built properly. One robot done right, not a batch of cheap jobs. I have a strategy I believe in and a rough draft robot I built myself. The logic is there. The execution is not. That last part is outside my expertise, which is why I am hiring instead of continuing on my own. I am open to feedback on the strategy itself. If you see something in it
A simple hedge robot 30 - 50 USD
Eu gostaria de um robot de Hedge, em uma conta ele vende na outra conta ele compra, mas que seja de forma bem perfeita, ou seja, com comissao, spread e lot ajustados para que nas duas contas os trades fiquem exatos -30$ e +30$ . very simple strategy smc that makes 50 trades at least on a period of 24h
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
Hi, can you define entry conditions based on 100 or 200 trades? If you need more history, i can give you more trades. It is EURUSD with great results! If you can do it, contact me
Wise Legend 30 - 500 USD
I want this robot to alert me on a good entry point on the trading flat form ether to buy or to sell. And also alert me when to close the market. And alert me on market continuations
I have an existing MT5 Expert Advisor with the original MQ5 source code. I need an experienced MQL5 developer to review, debug and professionally improve the existing EA, not build an unrelated EA from scratch. The EA is mainly for XAUUSD and already contains entry signals, EMA filters, automatic lot sizing, basket profit management, spread/margin protection, news filtering and recovery logic. The main problem is the
Exact Pine Script Conversion: The EA must replicate my Pine Script exactly — including Support/Resistance, Liquidity Grab/Sweep, 30 EMA, Entry, SL, TP, Partial Booking and Breakeven . No assumptions or changes to the logic. Accurate Entries: The EA must enter exactly according to the Pine Script conditions, including the correct candle and price level after the Support/Resistance or Liquidity Sweep setup. SL & TP: SL
I buy EA for USDEUR or XAUUSD for FTMO with proven backtest. Send me images with backtest reports where daily max dd is 1% on 200k account. I can buy several eas if you have them with proofs. Need images of backtesting for 5 years
I am looking for a programmer that can develop an MT4 indicator that shows COT DATA For Forex, indices and and metals. The indicator must be an oscillator or any other form that would work well in that format. It doesn't need to show all pairs at once, it can show only for current chart. Let's talk

Project information

Budget
40 - 250 USD