OPEN-SOURCE SCRIPT
已更新

Dynamic Multi-Timeframe SMAs (Brian Shannon Style)

82
Overview: This indicator implements the logic of Brian Shannon's "Multi-Timeframe Analysis" on intraday charts. It automatically calculates the correct length for the 5-Day and 50-Day Simple Moving Averages (SMA), regardless of the timeframe (e.g., 5m, 15m, 1h) you are viewing.

How it works Standard SMAs only count bars. A "50 SMA" on a 5-minute chart only looks back ~4 hours. This script dynamically calculates how many bars represent full trading days.

Features:

Asset Class Selector: Choose between Crypto (24/7) and Stocks (6.5h US Session) to ensure correct minute-per-day calculations.

Info Table: Displays exactly how many bars are being used for the calculation in real-time.
版本注释
Overview This indicator implements the logic of Brian Shannon's "Multi-Timeframe Analysis" on intraday charts. It automatically calculates the correct length for the 5-Day and 50-Day Simple Moving Averages (SMA), regardless of the timeframe (e.g., 5m, 15m, 1h) you are viewing.

How it works Standard SMAs only count bars. A "50 SMA" on a 5-minute chart only looks back ~4 hours. This script dynamically calculates how many bars represent full trading days.

Features:

Asset Class Selector: Choose between Crypto (24/7) and Stocks (6.5h US Session) to ensure correct minute-per-day calculations.

Info Table: Displays exactly how many bars are being used for the calculation in real-time.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。