OPEN-SOURCE SCRIPT
已更新 VWAP + Multi-Condition RSI Signals + Fibonacci

Platform / System
Platform: TradingView
Language: Pine Script® v6
Purpose: This script is an overlay indicator for technical analysis on charts. It combines multiple tools: VWAP, RSI signals, and Fibonacci levels.
1️⃣ VWAP (Volume Weighted Average Price)
What it does:
2️⃣ RSI (Relative Strength Index) Signals
What it does:
3️⃣ Fibonacci Levels
What it does:
Summary
This script is essentially a multi-tool trading indicator that combines:
It is interactive and visual, providing both chart overlays and alert functionality for active trading strategies.
This code is provided for training and educational purposes only. It is not financial advice and should not be used for live trading without proper testing and professional guidance.
Platform: TradingView
Language: Pine Script® v6
Purpose: This script is an overlay indicator for technical analysis on charts. It combines multiple tools: VWAP, RSI signals, and Fibonacci levels.
1️⃣ VWAP (Volume Weighted Average Price)
What it does:
- Plots the VWAP line on the chart, which is a weighted average price based on volume.
- Can be anchored to different periods: Session, Week, Month, Quarter, Year, Decade, Century, or corporate events like Earnings, Dividends, Splits.
- Optionally plots bands above and below VWAP based on standard deviation or a percentage.
- Supports up to 3 bands with customizable multipliers.
- Will not display if the timeframe is daily or higher and the hideonDWM option is enabled.
- Visual on chart: A main VWAP line with optional shaded bands.
2️⃣ RSI (Relative Strength Index) Signals
What it does:
- Calculates RSI with a configurable period.
- Identifies overbought and oversold zones using user-defined levels.
- Generates buy/sell signals based on:
- RSI crossing above oversold → Buy
- RSI crossing below overbought → Sell
- Detects strong signals using divergences:
- Bullish divergence: Price makes lower low, RSI makes higher low → Strong Buy
- Bearish divergence: Price makes higher high, RSI makes lower high → Strong Sell
- Optional momentum signals when RSI crosses 50 after recent overbought/oversold conditions.
- Visual on chart:
- Triangles for buy/sell
- Different color triangles/circles for strong and momentum signals
- Background shading in RSI overbought/oversold zones
- Alerts: The script can trigger alerts when any of these signals occur.
3️⃣ Fibonacci Levels
What it does:
- Calculates Fibonacci retracement and extension levels based on the highest high and lowest low over a configurable lookback period.
- Plots standard Fibonacci levels: 0.146, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
- Plots extension levels: 1.272, 1.618, 2.0, 2.618
- Helps identify potential support/resistance zones.
- Visual on chart: Horizontal lines at each Fibonacci level, shaded with different transparencies.
Summary
This script is essentially a multi-tool trading indicator that combines:
- VWAP with dynamic bands for trend analysis and price positioning
- RSI signals with divergences for entry/exit points
- Fibonacci retracement and extension levels for support/resistance
It is interactive and visual, providing both chart overlays and alert functionality for active trading strategies.
This code is provided for training and educational purposes only. It is not financial advice and should not be used for live trading without proper testing and professional guidance.
版本注释
// ===================== EMA SETTINGS ADDED =====================ema20
ema50
ema200
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。