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
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 ?