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% / 46%
Overdue
12
27%
Free
6
Developer 6
Rating
(36)
Projects
45
47%
Arbitration
5
40% / 60%
Overdue
9
20%
Free
7
Developer 7
Rating
(550)
Projects
827
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
8
Developer 8
Rating
(135)
Projects
193
42%
Arbitration
17
29% / 59%
Overdue
28
15%
Free
9
Developer 9
Rating
(564)
Projects
933
47%
Arbitration
302
59% / 25%
Overdue
125
13%
Loaded
Similar orders
I want to create an indi to push notification when the candlestick chart forms 3 peaks or 3 bottoms forming a straight line: - 1,2,3 are 3 points in a straight line or NEARLY straight For example: Straight: NEARLY straight : means the peak/bottom of candle number 3 is NEAR the straight line connecting 1 and 2. Candle number 3 may or may not have crossed the straight line, as long as the peak/bottom of candle number 3
Hello! I am looking for an experienced Pine Script coder to create a custom indicator for mapping market structure based on fractals. The developer needs to know a lot about coding market structure indicators and be proficient in Pine Script. excited to collaborate with a gifted developer
I have list of free indicators in tradingview and i would like to convert them into an mt4 ea, But the EA will have and work based on the indicators features The list of the are listed as follows :> 1. Market Structure Break And Order block. By EmreKb 2. Rainbow Adaptive RSI by LuxAlgo 3. Multiple MA (21,50,100) 4. SuperTrend My budget for this 80$ max
I have list of free indicators in tradingview and i would like to convert them into an mt4 ea, But the EA will have and work based on the indicators features The list of the are listed as follows :> 1. Market Structure Break And Order block. By EmreKb 2. Rainbow Adaptive RSI by LuxAlgo 3. Multiple MA (21,50,100) 4. SuperTrend Please don't apply if can't do this, So we won't ourselves time
good day i have an indicator but need the source for this reason The indicator only work on a single Time frame open trade, and close with only a single TF i will like the indicator work on multiple time frame just like other installed indicator My coder said the reason it cannot work like other indicator installed is because it has no buffer First confirm if you have the source code because its a popular indicator
Hello! I am looking for an experienced Pine Script coder to create a custom indicator for mapping market structure based on fractals. The developer must be skilled in Pine Script and have a solid understanding of how to code market structure indicators. Looking forward to working with a talented developer
Hello developers, I would like to hire someone can convert the Radar Signal indicator: https://www.youtube.com/watch?v=5DmKcy7rb-U&nbsp ; to it's TradingView equivalent. Radar signal indicator is the combination of 7 classic MT4 indicators. They include ADX, RSI , CCI , OsMA, ATR, WPR. The indicator shows the values of these indicators in blue and red. Red color indicates a bearish market condition and the blue shows
Hi , i want a indicator that shows the trades history on the chart, just for current day, like : first trade : -54 Second trade : -52 Third trade : +126 , and after three trades, display "No more trades"
Hello i need someone who can convert a trading view indicator into an mt5 indicator that can work smoothly also need to add an alert on the indicator i will require to test the indicator run it for 1-2days to confirm all is okay thank you
Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the open): Draw a Fibonacci Retracement: From the highest price to the lowest price of this candle. Check the

Project information

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