OPEN-SOURCE SCRIPT

Multi Timeframe Moving Averages

Updated
I made this script to keep an eye on most important timeframes (1h, 4h, D, W, M)) moving averages while watching another timeframe. You can select what Ma's you want to be shown for each timeframe and some options to help your analysis (show history, show prices on mouse over label, etc...)

It includes 3 MA's:
- Fast (EMA)
- Middle (SMA)
- Slow (SMA)

You can configure length, source and color for each one.
Also includes a daily VWAP and an option to show the previous day close.

This script includes code from user Frien_dd-DisDev. I am very grateful to him

Thank you for interest.

Pablo.
Release Notes
- Fixed Label offset for assets that has session closes like stocks, indexes, etc... (calculation of x position was wrong).
- Added an input to offset dashed lines before labels (in previous version dashed line started in the middle of the current bar. Now default value is 1 to let a minor gap between current bar and dashed lines. Use 0 if you don't want to offset dashed lines)
Exponential Moving Average (EMA)Moving Averagesmulti-timeframeSimple 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