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
5
40% / 40%
Overdue
0
Free
2
Developer 2
Rating
(327)
Projects
444
52%
Arbitration
22
50% / 27%
Overdue
4
1%
Working
3
Developer 3
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
4
Developer 4
Rating
(716)
Projects
1035
39%
Arbitration
47
49% / 23%
Overdue
84
8%
Free
5
Developer 5
Rating
(126)
Projects
160
36%
Arbitration
4
25% / 50%
Overdue
13
8%
Free
6
Developer 6
Rating
(55)
Projects
163
69%
Arbitration
4
100% / 0%
Overdue
1
1%
Free
7
Developer 7
Rating
(120)
Projects
154
43%
Arbitration
20
60% / 20%
Overdue
7
5%
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
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
13
Developer 13
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
14
Developer 14
Rating
(40)
Projects
76
39%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(566)
Projects
639
41%
Arbitration
21
57% / 29%
Overdue
45
7%
Loaded
Similar orders
Hi i am searching for who can makes me Mt4 Robot Analysis Method = Candle + Ichimoku and also i want to attach image with Ea and image will provide from like when i attach my Ea to any type chart the chart image chnages to image which i attached to my Ea Message me for Ea parameters and for more information and only developer message me who is agree with 6days deadline and i will start job with developer on monday
PLEASE NOT THAT MY BUDGET IS 60usd FOR BOTH MT4 AND MT4 PLATFORMS The EA should have 1. An option that I can change it parameters, that's the period, method and application 2. The EA should sell when on every bullish candle that closes under the MA 3. The EA should buy on every bearish candle that forms Above the EA. It's should close trades on reverse cross. I mean when it's in a buy trade and crosses the MA for a
MT4 to Telegram 30 - 50 USD
Hello, I want to add a system send messages to Telegram Send a message with a specific picture and details of the new signal When closing with a profit, send the details of the closing and profit with a specific picture And close with a loss and send a specific picture, in addition to the details of the closure and the amount of the loss
Hi Dear developpers, I've an EA that was working very well with the previous versions of MT4. But since, they have updated their platforms, my EA it's not working anymore. I've tried to use those old MT4 versions but there are just temporary. So i've decided to updated this EA so i can use it on the newest version of MT4 (1420) and those who will come after it. I also want to implement new inputs in it. I also want
I will like the indicator to send notification to mobile when the indicator changes color and is increase upward when positive and decreasing downwards when negative including fisplaying arrows on the chart ,red for negative and green for positive
Hey greetings My pleasure to met you all .I would like to convert a public tradingview pinescript indicator to MT5 Expert Advisor based on my. Requirements/specification.Kindly bid and let discuss about the project
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file thanks very much in advance, Also there will be more project in front, so I need a very dedicated developer
I need an Expert Advisor that can read trade signals from a Telegram Channel and then execute those trades. My telegram bot has admin access to the Telegram Channel The EA needs the following functionality: Position Size: Auto: + Have fixed lot size set in settings. + Have lot size by % of account (set in settings) Manual: + From lot size set in trade signals message. + From lot size by % of account from trade
The ZONE RECOVERY/HEDGING STRATEGY will be on a timeframe where each strategy is independent and pending orders should be placed at the high and low of the candlestick. If it is a buy, then the pending order at the high of the candlestick will be triggered, and if it is a sell, then the pending order at the low of the candlestick will be triggered. If the market breaks the high of the candlestick, then the pending
Hi I have a script in Tradingview that looks good which shows the buy and sell automation. I wanted to see if that can be used in ninja Trader so I converted it for Ninja Trader. But it is not triggering the buy or sell trade like it shows in the tradingview script. Please let me know if you can help me with the script that will work in Ninja Trader just like the one in Trading View. I have the buy and sell signals

Project information

Budget
40 - 250 USD
For the developer
36 - 225 USD