Pip distance from moving average indicator

MQL4 指标

指定

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)



附加的文件:

JPG
Distance.JPG
125.7 Kb

反馈

1
开发者 1
等级
(5)
项目
9
0%
仲裁
5
20% / 20%
逾期
1
11%
空闲
2
开发者 2
等级
(117)
项目
138
41%
仲裁
30
7% / 77%
逾期
17
12%
空闲
3
开发者 3
等级
(6)
项目
8
13%
仲裁
1
0% / 100%
逾期
0
空闲
4
开发者 4
等级
(45)
项目
59
14%
仲裁
31
26% / 52%
逾期
35
59%
空闲
5
开发者 5
等级
(23)
项目
45
20%
仲裁
24
29% / 46%
逾期
12
27%
空闲
6
开发者 6
等级
(36)
项目
45
47%
仲裁
5
40% / 60%
逾期
9
20%
空闲
7
开发者 7
等级
(550)
项目
827
73%
仲裁
15
53% / 13%
逾期
193
23%
工作中
8
开发者 8
等级
(135)
项目
193
42%
仲裁
17
29% / 59%
逾期
28
15%
空闲
9
开发者 9
等级
(564)
项目
933
47%
仲裁
302
59% / 25%
逾期
125
13%
已载入
相似订单
Project Description : I need an experienced programmer to convert the TradingView indicator "TTD Middle Right Normal" into a MetaTrader 5 (MT5) format. The indicator should function identically to the original and be fully compatible for integration into an Expert Advisor (EA) on MT5. Requirements : Convert "TTD Middle Right Normal" from TradingView to a .mq5 file for MT5. Ensure all indicator features and visual
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

项目信息

预算
30+ USD
VAT (19%): 5.7 USD
总计: 35.7 USD
开发人员
27 USD