meterdown

Distance from Moving Average

meterdown Mis à jour   
1) Depicts price distance from user selected moving average for traders to pick good Risk : Reward entry points based on moving averages
2) It also compares the current distance from the moving average to the highest and lowest values of the distance from moving average based on the Comparison lookback bars length (default = 200)
3) The bars are shaded according to how close the current value is versus the lookback period highest and lowest. If it is closer to the extremes, then the bars become more transparent color which indicates the distance from MA could be coming to a climax and a pullback to the MA should be expected.
Notes de version:
Updated colours and corrected description

How to use this indicator
1) It depicts price distance from user selected moving average for traders to pick good Risk : Reward entry points based on moving averages
2) It also compares the current distance from the moving average to the highest and lowest values of the distance from moving average based on the Comparison lookback bars length (default = 200)
3) The bars are colour gradient according to how close the current value is to the lookback period highest and lowest. If it is closer to the extremes, then the bars are shaded closer to the selected color (blue for above 0 & Red for below 0) which indicates the distance from MA could be coming to its farthest point and a price pullback to the MA could be expected.
4) Bars being extended on either side, could be a signal to exit a trade. If its extended a lot on the "Up" side, then exit longs, and if its extended a lot on the "Down" side, then exit short positions.
5) Anecdotal side effect of this tool is that I've noticed a contraction in the bars on either side does mostly correlate with volume and price contraction for the stock. So it could be used to signal a VCP. Again this is observational and will need to be validated across multiple instruments when a VCP occurs

When Not to Trade
As a relatively new trader, my main goal is to use this tool as an indicator of when NOT to enter into a position.
  • When the bars are very extended on either side, don't make new entry in the direction of the current trend as the risk : reward isn't good at this point. A bet can be made on a reversal trade if the bars reach the extremes. However it's recommended to enter into a trade when the bars are closest to 0 i.e. the price is closest to the moving average
  • Bars moving from +ve (above zero) side to -ve (below zero) side abruptly, indicates extreme choppiness in the stock. New positions should probably wait till the froth settles and more gradual changes occur in the bars.
Notes de version:
Feature Update!
- Changed the default calculation to a % scale to normalize the bars across instruments priced at various scales
- Absolute distance to mean is still available as an option in settings
Notes de version:
Inspired by JohnMuchow's Moving Averages for multiple timeframes indicator
  • Added ability to set different MA & Lookback values for each type of timeframe - intraday, Daily, Weekly & Monthly. This is especially useful in multi-timeframe analysis in a single chart where for e.g. a trader might use 20 EMA on a daily chart with a 200 day lookback, but 8 SMA on weekly chart with a 52 week lookback. Now this indicator will work for both timeframes without the need to change settings for each individual timeframe every time.
  • Added separate colors for each timeframe if users want to configure it so. All timeframes default to the same colors.
  • Updated default colors to Blue for above zero and Red for below zero.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?