jmosullivan

EMA Levels, Multi-Timeframe

jmosullivan Mis à jour   
The exponential moving average (EMA) tracks price over time, giving more importance to recent price data than simple moving average (SMA). EMAs for larger timeframes are generally considered to be stronger supports/resistances for price to move through than smaller timeframes. This indicator allows you to specify two different EMA lengths that you want to track. Additionally, this indicator allows you to display not just the EMA levels of your currently viewed timeframe on the chart, but also shows the EMA levels of up to 4 different timeframes on the same chart. This allows you to quickly see if multiple EMA levels are aligning across different timeframes, which is an even stronger indication that price is going to meet support or resistance when it meets those levels on the chart. There are a lot of nice configuration options, like:

  • Ability to customize the EMA lengths you want to track
  • Style customization (color, thickness, size)
  • Hide any timeframes/levels you aren't interested in
  • Labels on the chart so you can tell which plots are the EMA levels
  • Optionally display the plot as a horizontal line if all you care about is the EMA level right now
Notes de version:
Modified script to optionally switch to simple moving averages instead of exponential moving averages. Changed all associated labels, etc.
Notes de version:
Overhaul of entire indicator that brings it up to date with the following improvements:

  • Fixed bug that caused lower timeframe MAs to calculate incorrectly when on the daily timeframe and above
  • Improved performance (fewer request.security calls)
  • Updated to use our standardized libraries
  • Improved configuration & appearance
Notes de version:
Code cleanup
Notes de version:
A couple of minor improvements:
  • Added smoother lines for higher timeframe plots with "Gaps" option.
  • Added option to hide lower timeframe plots when on higher timeframe charts.
Notes de version:
Bugfix: SMA levels were not calculating correctly.

I release TradingView indicators and libraries designed to make you a better trader. For detailed info about them, head over to improve.trading
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 ?