OPEN-SOURCE SCRIPT

EMA Levels, Multi-Timeframe

Atualizado
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
Notas de Lançamento
Modified script to optionally switch to simple moving averages instead of exponential moving averages. Changed all associated labels, etc.
Notas de Lançamento
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
Notas de Lançamento
Code cleanup
Notas de Lançamento
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.
Notas de Lançamento
Bugfix: SMA levels were not calculating correctly.
Exponential Moving Average (EMA)Moving Averagesmulti-timeframesma

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


I release TradingView indicators and libraries designed to make you a better trader. For detailed info about them, head over to improve.trading
Também em:

Aviso legal