Pip distance from moving average indicator

MQL4 Indicators

Specification

Hello,


I need an indicator that draws two lines (or dots) on the chart, one above and one under the last price and moving average crossing.

Parameters:

- usual Moving average parameters(Period, Method, Apply to)

- numbers of candles we analize backwards (PARAM1)

- numbers of maximum distances to average (PARAM2)

- color for 2 lines


The distance of the lines from the last closed calndle will be calculated as follows:

1.) go back PARAM1 candles and calculate all maximal price distances for long and short (closing price above and under the moving average) from the moving average. A distance is defined as the maximal candle closing distance between the price and moving average between two price and moving average crosses. Please take a look at the attached prictures. The blue triangles show the price and moving average crossings. The white lines are the maximal distances between those crossings.

2.) Calcualte the average of the highest distances given by PARAM2

3.) draw a line above and one under the last price and moving average crossing for each following candle until the price and moving average crosses

4.) calculate and draw again, if the price crosses the moving average


Example:

Step 1.) we go back 1000(PARAM1) candles and analize the maximul distances and we get this distances:

- 10 pips

- 20 pips

- 30 pips

- 40 pips

- 50 pips

2.) if PARAM2 = 3, we take the 3 highest distance and build the simple average : (30 + 40 + 50) / 3 = 40


3.) Draw the two lines ( can be also dots like Parabolic SAR)



Files:

JPG
Distance.JPG
125.7 Kb

Responded

1
Developer 1
Rating
(5)
Projects
9
0%
Arbitration
5
20% / 20%
Overdue
1
11%
Free
2
Developer 2
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
3
Developer 3
Rating
(6)
Projects
8
13%
Arbitration
1
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(45)
Projects
59
14%
Arbitration
31
26% / 52%
Overdue
35
59%
Free
5
Developer 5
Rating
(23)
Projects
45
20%
Arbitration
24
29% / 42%
Overdue
12
27%
Working
6
Developer 6
Rating
(36)
Projects
45
47%
Arbitration
5
40% / 60%
Overdue
9
20%
Free
7
Developer 7
Rating
(546)
Projects
823
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
8
Developer 8
Rating
(135)
Projects
192
42%
Arbitration
17
29% / 59%
Overdue
28
15%
Free
9
Developer 9
Rating
(555)
Projects
922
48%
Arbitration
300
59% / 25%
Overdue
123
13%
Loaded
Similar orders
i am currently in need of someone who can be able to help me out.i want my custom indicator to be non repainting and i also want the custom indicator to be able to send out all types of alerts...thank you
Hello expert developer I'm here to write to expert developer that I need to fix my indicator repainting and I need the expert developer that can solve the repainting issue immediately and the project is just fixing the repainting only nothing else ... It shouldn't be more than the time I'm looking for it to be done thanks
hi - indicator is attached >>> turn it into ea - indicator is in a ex4 not mql4 - rules are simple up understand and will be shared - money mangment rules will be shared - other inputs such spread , tp , sl , breakeven , trailing should be included ================ devopler requirments : - have reviews - have experiance with support and resistance - have good money managment concepts - will offer support and ready
I need help with the function iMAOnArrayMQL4 from the link https://www.mql5.com/en/articles/81 but exactly when I use MODE_EMA because when I use SMA it works with any array but when I use the exponential it is not graphed in the chart In the attached photo of the chart it is what it looks like when it is with MODE_EMA, as I mentioned when you use MODE_SMA it works So what I basically need is a function like
Pappa sefume 30 - 300 USD
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree with
Modify of my mql5 ea. 30 - 100 USD
Hello. I need to modify my current ea on MT5. At the moment current strategy is based on breakout asian Session box and retest of this box, then ea placing trade. I need to add another function that ea will wait for breakout asian box and wait for pullback and then place trade. Pullback option need to be Set up on how many pips is pullback valid. More info in photo. Also few other small modification. One photo is
Hello here I am in need of an NT8 developer which can create a custom strategy for NT8 Kindly bid on this if you are an Expert in Ninjatrader Thank you
Hello, I am a trader but I find it difficult to have a profitable EA because I don't have a profiting strategy for developer to develop on, so I need a professional developer that also have experience in trading or also trade to quote a profitable strategy for me and also code the strategy to an automated EA base on my requirement such as trading pairs etc. please apply if you are capable in handling this project for
I'm only seeking experienced developers who have successfully completed projects similar to this. I require someone to develop a copy-trading system that can execute trades on clients' mt4/mt5 upon my posting on platforms like Telegram or spreadsheets . Additionally, I need a feature for tracking and recording the trading signals that I send. I'll provide further details and examples during our discussion
I need a professional or expert who is a trader and also know about coding that can quote a profitable strategy and code the strategy for me in MT4 with my specification, If you are capable of doing this I will be glad to share my requirement with you to get started

Project information

Budget
30+ USD
VAT (19%): 5.7 USD
Total: 35.7 USD
For the developer
27 USD