TradingView
Botnet101
٧ حزيران يونيو ٢٠٢٢ ١٥:٠٣

Distance From Moving Average 

الوصف

This indicator shows the distance between the current price and the Moving Average price.

Key Features:
  • Show the distance between price and Moving Average (Read Distance Calculation for more information)
  • Show Historic Highs and Lows
  • Show Highest High and Lowest Low
  • Show current Highest High, current Lowest Low and current distance


Key Indicator Settings:
1. Distance Calculation
There are two ways to calculate the distance:
  • Spread - Calculate the difference between the price and the moving average
  • Percentage - Calculate the percentage change between the price and the moving average


2. Moving Average Types
There are 5 different Moving Averages:
  • EMA
  • SMA
  • WMA
  • VWMA
  • HMA


3. Highest High and Lowest Low
You can show or hide the Highest High and the Lowest Low plots of the series

4. Historic Highs and Lows
  • You can show or hide past Highs and Lows of the series
  • Lookback Length - Let's you adjust the frequency of local highs and lows of the series


5. Current Values
You can show or hide current value labels
التعليقات
IMRDB
Great indicator. Great job! Very insightful of you to put this together. I am using this to measure price distance from the mean. (Mean = average price over a period of time.) It allows me to see when price within a trend is overextended, thus allowing me to exit the trade at the top of the current bump within a trend. In other words with the help of this indicator I can now measure trends within trends much better. A suggestion that would complete this indicator for me would be to have the indicator add and average the five previous high positive and low negative percentages (or spreads) to give an average point of overextension. Right now I am doing this with a calculator. (I am no programmer!)

The (all time) highest highs and lowest low figures are usually so far out of range as to be useless. I am glad you created a switch to turn those off. I can’t believe, and don’t understand why this indicator wasn’t an EP. Maybe there is another way to get this data that I don’t know about yet. Thanks again!
FABIEN88
Hello and thank you for this wonderful indicator; very helpful when trading pullbacks to the 10 or 20MA.
Would it be possible to chose between 2 different colors depending on the stock price (distance) being below or above the MAs (vs currently only one color)?
This would further enhance the indicator by adding visual / color context when reviewing charts.
Many thanks in case this can be added!
itriad
Thank you very much.... great tool
agiaccag48957
Great job. thank you
Venkatesh19
Thanks for your great indicator, I am using this indicator for day trading , If possible can you add Probalic Sar indicator, Since which is more faster and accurate than Moving average as per my opinion.
faithfxtrader
would it be possible to add an alert:( when the percentage is lower than the previous percentage but the price is higher than the previous one?) (and when the percentage is higher than the previous percentage but the price is lower.) for exemple ( percentage previous = 0,70% price 10$ current percentage 0,40% price 15$) (2- previous percentage -0,50% price 7$,,, current percentage -0,20 and price 4$)
faithfxtrader
hello friend congratulations on the indicator, really sensational, I have a thesis regarding the distance of the price with the moving average, I would suggest, for the improvement of the indicator if, it would be possible to calculate from one wave to another, accumulated percentage, for example imagine that the price falls to -0.42% and then make a correction, do not reach positive % and continue falling and now fall further -0.48% that is we have accumulated -0.90%, then we will see a reversal in fact,
OutsourcE
Is there a simplified version of it to use within a strategy framework? What I'd need is to set take profit levels based on the concept.
PVIII
Hi mate, is it possible for you to add styling for the label backgrounds? Great indicator btw
Minosd777
thank you, I was looking for something like this; what I am also looking for is an indicator that calculates the distance between 2 moving averages.
المزيد