OPEN-SOURCE SCRIPT

Horizontal Line At Daily Moving Averages

This script allows you to see the major daily moving average levels on a smaller time frame.

One challenge with day trading is, when trading on a smaller time frame, you are not paying as much attention to the daily price levels. One solution might be to select a chart layout on Tradingview which allows you to see both the daily and a smaller time frame at the same time. However, this approach takes up valuable screen space. All you are really looking for is the significant daily price level and the price action near that level. This script allows you to merge the 2 goals on 1 chart. You have the smaller time frame open to monitor detailed price action and horizontal lines at the major moving average levels.

Red: 9 EMA
Navy: 20 MA
Green: 50 MA
Blue: 100 MA
Purple: 200 MA
Exponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer