OPEN-SOURCE SCRIPT

Multi-Timeframe VWMA chart

109
This "Multi-Timeframe VWMA Indicator" is a powerful tool for traders seeking to analyze price action across multiple timeframes using the Volume Weighted Moving Average (VWMA). Built in Pine Script v6, it overlays a customizable VWMA on your chart while displaying a table that tracks how your chosen price source (e.g., close, open, high, low) interacts with the VWMA across eight timeframes: 1m, 3m, 5m, 15m, 1h, 4h, 1d, and 1w.
Key features include adjustable inputs: select your price source, set the VWMA length (default 20), pick the line color (default blue), adjust line width (default 2), and apply an offset (default 0, range -500 to 500) to shift the VWMA for precise alignment. The VWMA is plotted on the current chart timeframe, scaling naturally with price due to the overlay setting.
The table, positioned top-right, shows each timeframe’s status: an upward arrow (↑, green) if the source is above the VWMA, indicating bullish momentum, or a downward arrow (↓, red) if below, suggesting bearish pressure. Using request.security, it fetches data efficiently, making it ideal for multi-timeframe analysis. Perfect for traders wanting a clear, customizable view of VWMA-based trends.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.