HTF EMA Indicator


This simple script draws a higher-timeframe EMA to your chart. It can be useful for creating day-trading strategies and for extra confluence in trading decisions.

How It Works

The script functions as a regular EMA indicator except that it calculates its value based on a different timeframe.

Settings

EMA Timeframe:
This sets the timeframe for the EMA calculation.

EMA Length:
This sets the calculation period for the EMA (in HTF bars).

Color EMA:
If enabled then the EMA line will change color based on whether price is above or below it.

Offset:
This tells the script how far to offset the line drawing from the current candle.

Source Code

Last Updated: 21st March, 2019


TradingView Charting Platform

Leave a Comment, Question or Suggestion