OPEN-SOURCE SCRIPT

Alg0 Hal0 Crypto RVWAP

141
🛠 Indicator Overview
The Crypto RVWAP Momentum Dashboard is built to help intraday traders identify the "Fair Value" of an asset while simultaneously quantifying the strength of the current trend using a normalized slope percentage.

1. The Rolling VWAP Line
  • The core line represents the volume-weighted average price over a user-defined number of bars (default: 20).
  • Bullish (Lime): The line is sloping upward ($RVWAP > RVWAP_{prev}$), indicating increasing value.
  • Bearish (Red): The line is sloping downward ($RVWAP < RVWAP_{prev}$), indicating decreasing value.


2. The Momentum Dashboard (Top-Right)
  • The dashboard provides a real-time look at the Slope %, which is the percentage change of the RVWAP over a 5-bar window.
  • Current Slope: The momentum of the active candle.
  • Prev 1, 2, 3: Historic momentum values from the previous three bars.
  • Why it matters: It allows you to see if a trend is accelerating (values getting larger) or exhaust
ing (values shrinking) before the price action actually changes direction.

3. Confirmed Cross Labels
  • The script automatically plots UP and DOWN labels when a candle closes on the opposite side of the RVWAP.
  • To keep the chart clean, only the two most recent crossing events are displayed.
  • These signals are confirmed on the bar close to prevent "repainting" or false signals during mid-candle volatility.


📈 How to Trade with this SystemStrategy

A: Trend Following (Momentum)Entry:
  • Wait for a "CROSS UP" label.
  • Confirmation: Look at the Dashboard. If Current Slope is higher than Prev 1, momentum is building.
  • Exit: Exit when the RVWAP line turns Red or when the Slope % in the dashboard drops sig
nificantly (e.g., from 0.08% to 0.01%).

Strategy B: Mean Reversion (The "Rubber Band" Trade)
  • In crypto, price rarely stays far from the RVWAP for long.
  • If the price is significantly above RVWAP and the Slope % begins to decrease (e.g., 0.15% → 0.10% → 0.05%), the price is likely to "snap back" to the line.
  • Traders use the line as a target for take-profits or as a "Buy the Dip" zone in a strong uptrend.


⚙️ Technical Settings
  • RVWAP Lookback: Adjust this based on your timeframe. On a 5m chart, 20 covers ~1.5 hours. For a "daily" feel, use 288.
  • Slope Lookback: The window used to calculate the % change. 5 is ideal for catching short-term pivots.
  • Dashboard Scaling: The UI is pre-scaled with Large Headers and Normal Body Text for high readabilit
y on 4K or mobile screens.

⚠️ Important
  • Confirmed Closes: This indicator is logic-locked to the Bar Close. Do not enter a trade until the 5-minute candle has physically finished and the label appears.
  • Alerts: Users should set TradingView alerts to "Once Per Bar Close" to match the script's internal logic.
  • Market Context: In a completely flat market (Slope near 0.000%), avoid trading the crosses, as these are "No-Trade" zones prone to sideways cho
p.

Enjoy!
Alg0 ۞ Hal0

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.