Rainbow Road [kingthies]Rainbow Road
Rainbow Road is a trend-structure and momentum visualization tool built around a cascading chain of smoothed simple moving averages. Instead of plotting independent moving averages on price, each line is progressively smoothed from the prior one using the same length, creating a layered “road” that reveals trend strength, direction, and transition with exceptional clarity.
OVERVIEW
Rainbow Road visualizes trend quality using a spectrum of fast-to-slow moving averages derived from one another. Because each average is smoothed from the prior line, the indicator forms a continuous structure rather than a collection of unrelated signals. This makes trend alignment, momentum expansion, and compression immediately visible.
HOW IT WORKS
The first average is a Simple Moving Average of price
Each subsequent average is an SMA of the previous average using the same length
This creates a cascading chain of averages with increasing smoothness
Colors progress from red (fastest) to purple (slowest) to represent trend hierarchy
HOW TO READ IT
Strong Trend : All averages are aligned and expanding in the same direction
Acceleration : Spacing between averages increases
Deceleration : Spacing narrows while direction remains intact
Consolidation : Averages converge and overlap
Reversal Risk : Faster averages cross back through the slowest average
TREND CONTEXT
The optional fill between the fastest and slowest averages visualizes overall trend pressure. Expanding fill suggests strengthening momentum, while contracting fill highlights compression and potential regime change.
USE CASES
Trend confirmation and directional bias
Momentum expansion vs compression analysis
Identifying trend exhaustion and early reversal zones
Contextual filtering for entries and exits
WHY RAINBOW ROAD
Traditional moving average stacks often produce clutter and redundant signals. Rainbow Road focuses on structure and flow, helping traders evaluate the quality of a trend rather than reacting to individual crossovers.
BEST USED WITH
Price action and market structure
Support and resistance
Volatility or range-based tools
Higher-timeframe trend bias
Rainbow Road is designed to sit quietly on your chart and clearly communicate whether the market is flowing, stalling, or preparing to turn.
المؤشرات والاستراتيجيات
Smart Money Concept Change of Character Break of StructureSMC Structure
Visualizes Change of Character (CHoCH) and Break of Structure (BoS) - two fundamental Smart Money Concepts for identifying trend reversals and continuations.
This is the 1st version of an implementation of this concept.
It is NOT supposed to be used as a signal but a confirmation. Best use during NYSE hours.
Full Description
Overview
This indicator automatically detects and displays two core Smart Money Concepts (SMC) directly on your chart:
CHoCH (Change of Character) – The first structural break against the prevailing trend, signaling a potential reversal
BoS (Break of Structure) – A structural break in the direction of the current trend, confirming continuation
These concepts are essential building blocks of SMC trading methodology, helping traders identify where institutional players may be entering or exiting positions.
How It Works
The indicator uses pivot-based swing detection to identify significant highs and lows. When price breaks through these levels, it classifies the move as either a CHoCH or BoS based on the current trend context.
CHoCH (Change of Character)
Occurs when price breaks structure AGAINST the current trend
First warning sign that the trend may be reversing
Displayed as a solid horizontal line with "CHoCH" label
Green = Bullish reversal | Red = Bearish reversal
BoS (Break of Structure)
Occurs when price breaks structure IN THE DIRECTION of the current trend
Confirms that the existing trend remains intact
Displayed as a dashed horizontal line with "BoS" label
Teal = Bullish continuation | Maroon = Bearish continuation
Visual Example
Uptrend with BoS (continuation):
HH ◄── BoS (trend continues)
/
HL
/
HH
/
HL
Uptrend → CHoCH → Downtrend (reversal):
HH
/ \
HL \
LL ◄── CHoCH (trend reversal!)
Settings
Pivot Settings
Pivot Lookback: Number of bars used to identify swing highs/lows (default: 5). Higher values = fewer but more significant structure points.
Display Options
Show CHoCH: Toggle CHoCH visualization
Show BoS: Toggle BoS visualization
Show Swing Points: Display SH/SL labels at detected pivots
Extend Lines to Right: Extend structure lines into future bars
Show Info Table: Display current trend and last swing levels
Show Trend Background: Color the chart background based on trend direction
Colors
Fully customizable colors for all elements
How to Use
Identify the trend: Look at the sequence of CHoCH and BoS signals to understand market structure
Watch for CHoCH: A CHoCH signals potential reversal – wait for confirmation before trading against the previous trend
Trade with BoS: BoS confirms trend continuation – look for entries on pullbacks in the direction of the trend
Combine with other SMC concepts: Works great alongside Order Blocks, Fair Value Gaps, and liquidity concepts
Tips
Use higher pivot lookback values on higher timeframes for cleaner signals
A CHoCH doesn't guarantee reversal – it's the first warning sign, not confirmation
Multiple BoS signals in a row indicate a strong, healthy trend
Look for CHoCH occurring at key levels (support/resistance, order blocks) for higher probability setups
Feedback Welcome!
This is an open-source indicator and I'd love to hear your thoughts!
Please comment below if you have:
Feature requests or ideas for improvements
Bug reports or issues
Suggestions for additional SMC concepts to add
Your feedback helps make this indicator better for everyone. Happy trading! 🚀
Volume OscillatorDescription
The Volume Oscillator measures the momentum of trading volume by calculating the percentage difference between a fast and a slow Simple Moving Average (SMA) of daily volume. It helps traders identify periods of increasing or decreasing market participation, often signaling potential trend strength or exhaustion.
Key Features:
Adaptive to Trading Session:
Automatically adjusts SMA periods based on the actual trading session length (default: 8.5 hours for FTSEMIB, customizable for any market — e.g., 6.5h for US stocks, 24h for crypto).
Fast & Slow SMAs:
Compares a short-term SMA (default 10 days) with a longer-term SMA (default 25 days) of volume.
Oscillator Formula:
100 × (Fast SMA / Slow SMA - 1)
→ Positive values = increasing volume momentum (bullish)
→ Negative values = decreasing volume momentum (bearish)
Signal Line (optional):
A moving average of the oscillator (default 7 days) for smoother trend identification and crossover signals.
Overbought/Oversold Levels:
User-defined horizontal lines (default +40 / -40) to highlight extreme volume conditions.
Customizable Colors:
Change the oscillator and signal line colors to match your chart style.
How to Interpret:
Bullish Conditions:
Oscillator crosses above the zero line
Oscillator crosses above the signal line
Readings near or above +40 may indicate strong buying pressure (watch for possible exhaustion if too extreme)
Bearish Conditions:
Oscillator crosses below the zero line
Oscillator crosses below the signal line
Readings near or below -40 may indicate selling pressure or capitulation
Divergences:
Look for divergences between price and the Volume Oscillator (e.g., price makes new highs but oscillator fails to confirm with higher highs) — a classic sign of weakening momentum.
Best Use Cases:
Indices (FTSEMIB, DAX, CAC, SPX, etc.), stocks and futures with defined trading hours, crypto (set session duration to 24 hours).
Works well on intraday (e.g., 15m, 30m, 1h) and daily charts.
Customization Tips:
- Shorten fast/slow lengths for faster signals (more noise)
- Lengthen them for smoother, longer-term analysis
- Adjust session duration for non-standard market hours
- Enable/disable the signal line in the settings
Note: Volume data quality can vary by symbol and exchange. Always combine this indicator with price action and other tools. Use proper risk management.
Volume ROC (smoothed)Description
The Volume ROC (Rate of Change) indicator is designed to measure the momentum of trading volume over a user-defined period, adjusted for the trading session length of the symbol (e.g., 8.5 hours for the FTSEMIB index). This makes it particularly useful for intraday charts where standard daily calculations might not align with actual trading days.
By focusing on volume changes rather than price, it helps identify potential shifts in market participation, such as accumulation, distribution, or unusual activity that could precede price movements.
How It Works:
Session Adjustment:
The indicator calculates the number of candles per trading day based on the input session duration (in hours) and the chart's timeframe. This ensures that the ROC and other calculations are based on "trading days" rather than calendar days, making it adaptable to markets with non-standard hours like European indices (e.g., FTSEMIB).
Daily Data Fetch:
It retrieves daily high, low, close, and volume data using "request.security" to ensure consistency across timeframes.
ROC Calculation:
The Rate of Change (ROC) is computed on volume using "ta.change" over the specified length (in days), multiplied by the candles-per-day factor for timeframe independence. By chosing the subtraction method instead of the division method we avoid distortions of the ROC below the zero line (method ok for timespans inferior to two years).
Smoothing with SMA:
A Simple Moving Average (SMA) is applied to the ROC to reduce noise and highlight trends in volume momentum.
Standard Deviation Bands:
The standard deviation of the smoothed ROC is calculated over a lookback period. Bands are plotted at +2σ (overbought) and -2σ (oversold) to provide context for extreme volume changes, similar to Bollinger Bands but applied to volume ROC.
Key Plots:
SMA Line (Orange): The smoothed ROC value. Positive values indicate increasing volume momentum; negative values suggest decreasing momentum.
Zero Line (Black Dotted): A reference line at 0, separating positive and negative ROC territories.
+2σ Band (Red Dotted): Upper overbought threshold. Crossings above this may signal excessive buying volume.
-2σ Band (Green Dotted): Lower oversold threshold. Dips below this could indicate capitulation or low interest.
Usage and Interpretation:
Trend Confirmation:
Use the SMA crossing above/below zero to confirm price trends with volume backing. For example, a rising price with positive Volume ROC suggests strong conviction.
Divergences:
Look for divergences between price and Volume ROC (e.g., price making new highs but ROC weakening), which can signal reversals.
Overbought/Oversold Signals:
The ±2σ bands act as dynamic levels. Volume ROC spiking above +2σ might precede pullbacks, while below -2σ could indicate buying opportunities.
Best Applied To:
European indices (like FTSEMIB or DAX), stocks, or futures with defined session hours. Test on intraday (e.g., 2h) and combine with price-based indicators like RSI or MACD for confluence.
Customization:
Adjust the ROC/SMA lengths for sensitivity (shorter for scalping, longer for swings). The STDEV lookback affects band width—longer periods create smoother bands.
Limitations:
Volume data can be noisy in low-liquidity symbols. This indicator assumes consistent session lengths; irregular holidays may affect accuracy. Always backtest and use with risk management.
This indicator is original and built for educational/trading purposes.
Shadow Momentum EngineA proprietary oscillator that detects hidden divergences and momentum shifts before they appear on traditional indicators. Ideal for early entries in trends and for avoiding false breakout traps.
--
Un oscilador propietario que detecta divergencias ocultas y cambios de momentum antes de que aparezcan en los indicadores tradicionales. Perfecto para entradas tempranas en tendencias y para evitar trampas de falso breakout.
Absorption DetectorSource: Prof Michael G.
Credit: GreatestUsername for the coding & implementation.
Zones of Support and Resistance can feel like drawing boxes on the chart. This indicator to help spot areas of possible reversal. It uses Volume Confirmation and Body-to-Wick Ratio to do this and defined as:
1. Volume Confirmation
High Volume: A candle that absorbs sitting limit orders is often accompanied with higher than average volume. The indicator define this type of candle if it has a volume is greater than 250%/350% of the average volume over the last 10 candles.
2. Body-to-Wick Ratio
Body vs. Wick: A candle with a small body and large wicks can indicate higher probability of reversal. You can define an absorption candle if the body of the candle is less than 50% of the total range (high-low).
These settings are also customizable to your own desired settings and should be used as a visual aid.
Sistema Neutro GOULART HUD Regime Radar ORB VWAPSistema Neutro GOULART is an advanced visual trading indicator that integrates:
• A unified HUD displaying session status, ORB, VWAP, risk and market bias
• A Regime Radar heatmap (GO / WAIT / NO) designed to provide clarity without chart clutter
• ORB with straight daily lines and a clean zone limited to the current session
• Direction filtering using VWAP and VWAP slope
• Condition assessment based on risk and overall market context
• A harmonized visual design focused on objective decision-making
⚠️ This indicator does NOT generate trade signals.
It provides market context, regime classification, and quality assessment to support discretionary trading decisions.
Ideal for:
• Futures markets (ES, NQ, YM)
• Day trading using ORB + VWAP
• Traders who prioritize context, discipline, and structure over signals
For educational purposes only.
Candle Strength Analyzer by The Ultimate Bull Run# Candle Strength Analyzer
## 📊 Complete Beginner's Guide
---
### 🎯 What This Indicator Does
The **Candle Strength Analyzer** measures how "strong" or "weak" each candlestick is and displays a **score from 0 to 100** above or below every candle.
- **Green numbers** = Bullish (price went UP)
- **Red numbers** = Bearish (price went DOWN)
- **Gray numbers** = Doji (price barely moved)
**Higher score = Stronger candle = More reliable signal**
---
### 🕯️ Understanding Candlesticks (The Basics)
If you're new to trading, here's what a candlestick shows:
```
│ ← Upper Wick (prices that were rejected)
│
┌───┐
│ │ ← Body (the "real" price movement)
│ │ • Green/White body = Price went UP (Bullish)
│ │ • Red/Black body = Price went DOWN (Bearish)
└───┘
│
│ ← Lower Wick (prices that were rejected)
```
**Key Terms:**
- **Open**: The price when the candle started
- **Close**: The price when the candle ended
- **High**: The highest price during the candle
- **Low**: The lowest price during the candle
- **Body**: The rectangle between Open and Close
- **Wick/Shadow**: The thin lines above and below the body
---
## 📐 The 4 Components of Candle Strength
This indicator combines **4 measurements** to calculate the final strength score. Let's understand each one:
---
### 1️⃣ Body Ratio (30% of score)
**What it is:**
The percentage of the candle that is "body" versus "wicks."
**Formula:**
```
Body Ratio = Size of Body ÷ Total Candle Size × 100
```
**What it tells you:**
- **High Body Ratio (70-100%)**: Bulls or bears were in FULL control. The price moved in one direction and STAYED there. This is strong.
- **Low Body Ratio (0-30%)**: There was a fight. Price moved up AND down but ended up roughly where it started. This is weak/indecisive.
**Visual Example:**
```
Strong Candle (90% body): Weak Candle (20% body):
│ │
┌───┐ │
│ │ ┌─┴─┐
│ │ ← Mostly body │ │ ← Tiny body
│ │ └─┬─┘
└───┘ │
│ │
```
**How to interpret:**
| Body Ratio | Meaning |
|------------|---------|
| 90-100% | **Marubozu** - Extremely strong, full commitment |
| 70-90% | **Strong** - Clear winner (bulls or bears) |
| 40-70% | **Normal** - Typical market activity |
| 10-40% | **Weak** - Significant indecision |
| 0-10% | **Doji** - Complete indecision, no winner |
---
### 2️⃣ Close Position Score (25% of score)
**What it is:**
WHERE the candle closed within its range (high to low).
**What it tells you:**
- For a **bullish (green) candle**: Closing near the HIGH means buyers were still eager at the end = STRONG
- For a **bearish (red) candle**: Closing near the LOW means sellers were still eager at the end = STRONG
**Visual Example:**
```
Strong Bullish: Weak Bullish:
(closes near high) (closes near middle)
┌───┐ ← Close here │
│ │ ┌─┴─┐ ← Close here
│ │ │ │
│ │ │ │
└───┘ └───┘
│ │
```
**Why it matters:**
If price went UP but then sellers pushed it back down before the candle closed, that's a sign of weakness. The bulls couldn't hold their ground.
**How to interpret:**
| Close Position | For Bullish Candle | For Bearish Candle |
|----------------|-------------------|-------------------|
| 80-100% | Strong (near high) | Weak (near high) |
| 50-80% | Moderate | Moderate |
| 20-50% | Weak | Moderate |
| 0-20% | Very Weak (near low) | Strong (near low) |
---
### 3️⃣ Relative Volume - RVOL (25% of score)
**What is Volume?**
Volume is the NUMBER of shares/contracts traded during that candle. Think of it as "how many people participated."
**What is RVOL?**
RVOL compares TODAY'S volume to the AVERAGE volume.
**Formula:**
```
RVOL = Current Volume ÷ Average Volume (last 20 candles)
```
**What it tells you:**
- **RVOL = 1.0**: Normal activity (same as average)
- **RVOL = 2.0**: DOUBLE the normal activity (2x more traders involved)
- **RVOL = 0.5**: HALF the normal activity (fewer traders involved)
**Why it matters:**
A big price move with LOW volume is suspicious - it might not last.
A big price move with HIGH volume is confirmed - many traders agree.
**Think of it like voting:**
- High volume = Many people voted for this direction
- Low volume = Only a few people voted, decision might change
**How to interpret:**
| RVOL | Meaning | Signal Quality |
|------|---------|----------------|
| 2.0+ | Very High - Institutional activity likely | ⭐⭐⭐ Excellent |
| 1.5-2.0 | High - Significant interest | ⭐⭐ Good |
| 1.0-1.5 | Above Average | ⭐ Acceptable |
| 0.7-1.0 | Below Average | ⚠️ Caution |
| < 0.7 | Low - Lack of interest | ❌ Unreliable |
---
### 4️⃣ Size vs ATR (20% of score)
**What is ATR?**
ATR stands for "Average True Range." It measures how much the price TYPICALLY moves.
**What this component measures:**
How big is THIS candle compared to how big candles USUALLY are?
**Formula:**
```
ATR Ratio = This Candle's Size ÷ Average Candle Size (ATR)
```
**What it tells you:**
- **ATR Ratio = 2.0**: This candle is TWICE as big as normal = Significant move
- **ATR Ratio = 1.0**: This candle is normal sized
- **ATR Ratio = 0.5**: This candle is HALF the normal size = Minor move
**Why it matters:**
A 50-point move in a stock that normally moves 100 points is small.
A 50-point move in a stock that normally moves 20 points is HUGE.
Context matters!
**How to interpret:**
| ATR Ratio | Meaning |
|-----------|---------|
| 2.0+ | **Expansion** - Unusually large move, potential breakout |
| 1.5-2.0 | **Large** - Significant momentum |
| 1.0-1.5 | **Above Average** - Notable move |
| 0.5-1.0 | **Normal** - Typical movement |
| < 0.5 | **Small** - Insignificant, might be noise |
---
## 🧮 How the Final Score is Calculated
The indicator combines all 4 components with these weights:
```
Final Score = (Body Ratio × 30%) +
(Close Position × 25%) +
(RVOL Score × 25%) +
(Size Score × 20%)
```
**Result: A score from 0 to 100**
---
## 📊 Understanding the Strength Score
| Score | Classification | What It Means | Should You Trade It? |
|-------|---------------|---------------|---------------------|
| **70-100** | 🟢 STRONG | High conviction move, reliable signal | ✅ Yes - Good setup |
| **40-70** | 🟡 MODERATE | Average move, needs confirmation | ⚠️ Maybe - Add other indicators |
| **0-40** | 🔴 WEAK | Low conviction, unreliable | ❌ No - Wait for better setup |
---
## 🏷️ Special Pattern Markers
The indicator also detects special candlestick patterns:
### ⚡ Power Candle
**Requirements:**
- Body Ratio > 70% (strong body)
- RVOL > 1.5 (high volume)
- Close Position > 80% (closes near the extreme)
**What it means:** The BEST possible signal. Everything aligns perfectly.
### Ⓜ️ Marubozu
**Requirements:**
- Body Ratio > 90% (almost no wicks)
**What it means:** Complete dominance by bulls or bears. Very strong continuation signal.
### ◆ High Volume Doji
**Requirements:**
- Doji candle (tiny body)
- High volume
**What it means:** Many traders are fighting, but no one won. Often signals a REVERSAL is coming.
---
## ⚙️ Settings Explained
### Volume Settings
| Setting | Default | What It Does |
|---------|---------|--------------|
| Volume Lookback Period | 20 | How many candles to average for "normal" volume |
| RVOL Threshold | 1.5 | What counts as "high" volume (1.5 = 50% above average) |
### ATR Settings
| Setting | Default | What It Does |
|---------|---------|--------------|
| ATR Period | 14 | How many candles to calculate average movement |
| ATR Multiplier | 1.5 | What counts as a "large" candle |
### Strength Thresholds
| Setting | Default | What It Does |
|---------|---------|--------------|
| Strong Candle Threshold | 70 | Score needed to be "strong" |
| Weak Candle Threshold | 30 | Score below this is "weak" |
### Label Filter (Important!)
TradingView limits indicators to **500 labels maximum**. Use filters to see more history:
| Filter Mode | Shows | Best For |
|-------------|-------|----------|
| All Candles | Every single candle | Short-term charts (5min, 15min) |
| Strong Only (70+) | Only strong candles | Longer history, key signals only |
| Moderate+ (40+) | Moderate and strong | Balance of detail and history |
| Custom Minimum | Your choice | Full control |
**Tip:** On daily charts, use "Strong Only" to see months of history instead of just a few weeks.
### Label Settings
| Setting | What It Does |
|---------|--------------|
| Label Size | tiny / small / normal / large |
| Show Decimal Places | Show "72.5" instead of "73" |
| Label Style | With background bubble OR just text |
---
## 📖 How to Read the Info Table
The table in the corner shows details for the CURRENT (most recent) candle:
| Row | Meaning |
|-----|---------|
| **Candle Strength** | The final score (0-100) |
| **Direction** | BULLISH / BEARISH / DOJI |
| **Body Ratio** | Percentage of candle that is body |
| **Close Position** | Where it closed (0-100) |
| **Upper Wick** | Size of upper wick as % |
| **Lower Wick** | Size of lower wick as % |
| **RVOL** | Current volume vs average (1.5x = 50% above average) |
| **Size/ATR** | Candle size vs average size |
| **Classification** | STRONG / MODERATE / WEAK |
| **Vol Confirmed** | Is volume above threshold? |
| **Pattern** | Special pattern detected |
---
## 🎓 How to Use This Indicator
### Step 1: Add to Chart
1. Open Pine Editor in TradingView
2. Paste the code
3. Click "Add to Chart"
### Step 2: Adjust Filter (if needed)
- If you see "max labels reached," change filter to "Strong Only (70+)"
- This lets you see more candles in history
### Step 3: Look for Strong Signals
Focus on candles with:
- ✅ Score **70+** (bright green or red)
- ✅ **RVOL > 1.5** (confirmed by volume)
- ✅ Special markers (⚡, M, ◆)
### Step 4: Avoid Weak Signals
Be careful with candles that have:
- ❌ Score **below 40** (muted colors)
- ❌ **RVOL < 1.0** (no volume confirmation)
- ❌ Large wicks (rejection happened)
---
## 💡 Trading Tips for Beginners
### ✅ DO:
1. **Wait for strong candles (70+)** before entering trades
2. **Confirm with volume** - Look for RVOL > 1.5
3. **Use at support/resistance levels** - Strong candles at key levels are more meaningful
4. **Combine with other indicators** - RSI, MACD, or moving averages
5. **Practice on demo first** - Learn to recognize strong vs weak candles
### ❌ DON'T:
1. **Trade every candle** - Not all candles are worth trading
2. **Ignore volume** - A strong candle with low volume is suspicious
3. **Fight the trend** - Strong bearish candles in an uptrend might just be pullbacks
4. **Over-leverage** - Even strong signals can fail
---
## 📝 Quick Reference Cheat Sheet
```
STRONG CANDLE CHECKLIST:
□ Score 70+
□ RVOL > 1.5
□ Body Ratio > 60%
□ Close Position > 75% (bullish) or < 25% (bearish)
□ At key support/resistance level
WEAK CANDLE WARNING SIGNS:
□ Score < 40
□ RVOL < 0.7
□ Large wicks (> 30%)
□ Doji pattern
□ Small candle (ATR Ratio < 0.5)
```
---
## ⚠️ Important Disclaimers
1. **No indicator is 100% accurate** - Always use stop losses
2. **Past performance ≠ future results** - Markets change
3. **This is a tool, not a strategy** - Combine with other analysis
4. **Practice first** - Use paper trading before real money
---
## 🔔 Alerts Available
Set alerts for:
- Strong Bullish Candle (with volume confirmation)
- Strong Bearish Candle (with volume confirmation)
- Power Candle detected
- Marubozu detected
- High Volume Doji detected
---
## ❓ FAQ
**Q: Why are some candles missing labels?**
A: TradingView limits indicators to 500 labels. Use filters to see more history.
**Q: The label colors are hard to see. Can I change them?**
A: Yes! Go to Settings → Colors and customize all colors.
**Q: Should I only trade strong candles?**
A: Strong candles are MORE reliable, but not guaranteed. Always use proper risk management.
**Q: What timeframe works best?**
A: Works on all timeframes. Higher timeframes (4H, Daily) tend to have more reliable signals.
**Q: Can I use this for crypto/forex/stocks?**
A: Yes! This indicator works on any market with candlestick data and volume.
---
## 📚 Glossary
| Term | Definition |
|------|------------|
| **Bullish** | Price is going UP / Buyers are winning |
| **Bearish** | Price is going DOWN / Sellers are winning |
| **Doji** | Candle where open and close are nearly equal (indecision) |
| **Marubozu** | Candle with no wicks (full body) |
| **RVOL** | Relative Volume - current volume vs average |
| **ATR** | Average True Range - typical price movement |
| **Wick/Shadow** | The thin lines above/below the candle body |
| **Support** | Price level where buyers tend to step in |
| **Resistance** | Price level where sellers tend to step in |
| **Breakout** | When price moves beyond support/resistance |
---
**Happy Trading! 📈**
*Remember: The best traders are patient traders. Wait for strong setups.*
Midnight Opening RangeThis script uses the SMC/ICT midnight opening range to gain insight into the daily highs and lows.
It plots the opening range quadrants and the 0.5 and 1 standard deviations higher and lower.
These levels are often used as support/resistance at certain times of the day.
To be used in concert with other PD arrays.
Global Market Hours & Eventswww.tradingview.com
Global Market opens and closes and other related events,
15min warning ahead of time, visual indicator for warning and for the event
not over-crowded with the possibility to remove labels and have just a little circle marker.
Adjustements for labels and circles are in the settings
Activate Pane Label to identify
Daily SMA 20/50/100/200Simple Moving Averages indicator displaying four commonly used trend lines on the price chart. Plots the 20, 50, 100, and 200 period SMAs to help identify short-, medium-, and long-term trend direction, dynamic support and resistance, and overall market structure. Color-coded for clarity: 20 SMA in green, 50 SMA in blue, 100 SMA in orange, and 200 SMA in red, with uniform line thickness for clean visual consistency.
Market Pressure Regime [Interakktive]The Market Pressure Regime (MPR) is a 4-state market classifier that models how structural forces create "pressure zones" — regions where price movement is either supported (Release) or suppressed (Pinned) by market microstructure.
It combines compression analysis, follow-through efficiency, and stress detection into a composite pressure score, classifying markets into Release, Suppressed, Transition, or Trap states — helping traders understand WHY price is moving (or not moving) in the current environment.
█ USAGE
MPR addresses a core question traders face: Is the market in a regime where directional moves are likely to follow through, or is it structurally pinned?
For swing traders, MPR identifies Release phases where momentum strategies work best, and Suppressed phases where mean reversion dominates.
For day traders, it highlights Trap conditions — high effort with no follow-through — where reversals are probable and trend entries fail.
🔹 The 4-State Model
The indicator classifies markets into four distinct regimes:
• Release (Teal): Pressure score ≥ +5. Directional flow dominates. Price moves efficiently with follow-through. Favor trend continuation.
• Suppressed (Grey): Pressure score ≤ -5. Compression dominates. Price is range-bound or pinned. Fade extremes, expect reversion.
• Transition (Amber): Score between thresholds OR instability detected. Regime is uncertain — wait for confirmation before committing.
• Trap (Magenta): High stress + low follow-through. Effort without result. Expect reversals.
🔹 Reading the Pressure Histogram
The histogram displays the composite Pressure Score (range approximately -100 to +100):
• Positive values: Follow-through exceeds compression. Market is "releasing" — directional moves are supported.
• Negative values: Compression exceeds follow-through. Market is "suppressed" — price movement is constrained.
• Color reflects confirmed state: The histogram uses persistence filtering — a state must hold for N bars before the color changes, preventing false signals from noise.
🔹 The 5-Stage Calculation
MPR synthesizes five analytical stages into the final state:
1. Compression Score: Measures how tight the current range is relative to ATR. High compression suggests structural forces are pinning price.
2. Follow-Through Score: Measures price path efficiency (MER-style). Efficient moves indicate genuine directional flow, not chop.
3. Stress Score: Detects effort-without-result (ERD-style). High volume or range with no price progress = absorption.
4. Composite Pressure: Combines follow-through and compression into a single directional score.
5. Persistence Filter: Requires states to hold for configurable bars before confirming, eliminating flickering.
█ SETTINGS
Core Settings
• ATR Length: Period for volatility normalization. Default 14.
• Baseline Lookback: Period for compression and efficiency baselines. Default 20.
• Volume Average Length: Period for stress calculation baseline. Default 20.
State Classification
• Release Threshold: Pressure score above this = Release. Default +5.
• Suppressed Threshold: Pressure score below this = Suppressed. Default -5.
• Trap Threshold: Stress score above this (with low follow-through) = Trap. Default 30.
• Persistence Bars: Bars required to confirm state change. Default 3.
• Stability Lookback: Period for stability calculation. Default 20.
• Stability Threshold: Below this = forced Transition state. Default 0.5.
Visual Settings
• Show Pressure Histogram: Display the main pressure score histogram.
• Show Zero Line: Display the zero reference line.
• Show Background Tint: Subtle background color by state (default OFF).
Data Window
• Show Data Window Values: Export all calculated scores for analysis.
█ INTERPRETATION GUIDE
When to Use Trend Strategies (Release):
• Histogram tall and positive
• Teal coloring confirmed
• Price making efficient higher highs or lower lows
When to Use Mean Reversion (Suppressed):
• Histogram flat or negative
• Grey coloring confirmed
• Price oscillating without follow-through
When to Wait (Transition):
• Amber coloring
• Mixed signals — don't force trades
• Wait for state to resolve
When to Expect Reversals (Trap):
• Magenta coloring
• High volume moves that don't stick
• Often occurs at structural inflection points
█ COMPLEMENTARY TOOLS
MPR pairs well with:
• Volatility State Index (VSI) — Confirms whether volatility is expanding into the pressure regime
• Effort-Result Divergence (ERD) — Provides bar-by-bar absorption/vacuum detection
• Market Efficiency Ratio (MER) — Validates follow-through quality
█ SUITABLE MARKETS
Works across all liquid markets:
• Equities: SPY, QQQ, liquid single stocks
• Futures: ES, NQ, CL, GC
• Crypto: BTC, ETH
• Forex: Major pairs
Works on any timeframe, but 1H–Daily provides cleanest regime classification. Intraday (5m–15m) useful for session-level tactical decisions.
█ OPEN SOURCE
This indicator is open-source for educational purposes. Review the code to understand the full calculation methodology.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
SMH DualMomentum Signals (ROC + Volume)SMH Dual Momentum (ROC + Volume Confirmation)
This indicator identifies high-quality bullish trends by combining price momentum (Rate of Change) with volume confirmation, and exits when momentum structurally fails.
Core Logic
BUY signal
Rate of Change (ROC) over N periods is above a positive threshold (strong upside momentum)
Current volume is above its moving average (rising market participation)
SELL signal
ROC crosses below zero, indicating loss of bullish momentum
Why It Works
ROC measures the speed and strength of price movement, filtering out weak or drifting trends
Volume confirmation ensures momentum is supported by real capital flow, reducing false breakouts
Momentum-based exit avoids prolonged drawdowns and capital stagnation
Key Advantages
Focuses on trend continuation, not prediction
Filters out low-quality price moves and range-bound markets
Captures long, high-conviction trends with relatively few trades
Simple, robust rules using only price and volume
Best Use Cases
Designed for trend-driven ETFs such as SMH (Semiconductors)
Suitable for swing to position trading on daily charts
Works best in markets with strong sector rotation and institutional participation
Notes
This is a trend-following momentum tool, not a mean-reversion indicator
No stop-loss is built in; risk management should be handled externally if required
Parameters can be adjusted to match different timeframes or assets
Smart Money Concepts - Absorption Smart Money Concepts - Absorption (SMC-ABS)
Absorption event detector using split-volume VWMA ribbons, entropy filtering, and elasticity validation
Overview
This indicator highlights potential absorption/defense events: moments where price touches a volume-weighted band and then rejects, while additional filters confirm that market conditions are not random/noisy.
What it plots
• Energy ribbons (bands): two split-volume VWMA ribbon sets - Buy-weighted (cyan) and Sell-weighted (magma).
• ABS markers: printed when touch + rejection + validation conditions are met (see Logic section).
• Dashboard (HUD): real-time metrics such as price/volume z-scores, delta, entropy state, and resonance momentum states.
Core logic
1) Volume engine
The script builds Buy Volume and Sell Volume series using one of two modes:
• Geometry (candle-range split): estimates buy/sell participation from the close position within the candle range.
• Intrabar (precise): uses lower-timeframe up/down volume to derive buy/sell flows when data is available.
2) Split-VWMA resonance score
For multiple periods (5, 10, 20, 30, 40, 50), the script computes:
• A standard SMA of price.
• A Buy-weighted VWMA of price (weighted by Buy Volume).
• A Sell-weighted VWMA of price (weighted by Sell Volume).
Resonance is derived from the normalized divergence between the SMA and the split VWMAs, aggregated across the available periods.
3) Validation filters
Signals can be filtered by the following components (each toggleable):
• Volume-weighted entropy: a fractal-efficiency style disorder metric (TR-sum vs range) adjusted by relative volume; high entropy blocks signals.
• Momentum alignment (resonance velocity) : direction filter requiring positive velocity for buy events and negative velocity for sell events.
• Elasticity (recoil vs penetration): rejection quality check based on the bounce-back strength relative to the penetration depth into the fast band.
Absorption event conditions (ABS markers)
ABS markers are generated using the fastest ribbon band (length 5) for the touch/rejection logic:
• Buy absorption: low touches/penetrates the Buy band and the candle closes back above it, with filters passing.
• Sell absorption: high touches/penetrates the Sell band and the candle closes back below it, with filters passing.
Note: acceleration/deceleration is displayed in the HUD as a state; the primary directional filter is the resonance velocity.
Settings
• Volume Model: choose Geometry or Intrabar.
• Intrabar LTF: lower timeframe used by the Intrabar model (only applies when Intrabar is selected).
• Global Lookback: lookback window used for z-score statistics and related calculations.
• Quantum Filters: toggles and thresholds for entropy, momentum alignment, and elasticity validation.
• Dashboard Settings :/ Energy Ribbons / Absorption Events: controls for visuals and filtering behavior.
Usage notes and limitations
• Signals are most reliable after candle close. On the forming candle, conditions can change until the bar closes.
• Results depend on the availability and quality of volume data for the selected symbol and exchange.
• The Geometry mode is an estimate based on candle structure; it is not tick-accurate order flow.
• Terms such as “quantum” and “physics” are metaphorical labels for statistical filters and validation heuristics.
Disclaimer
This tool is provided for analytical and educational use only. It does not constitute investment advice. Trading involves risk.
Important note about Intrabar data and TradingView plan limits
This indicator is volume-dependent. When using the Intrabar model, the best results typically come from very low intrabar timeframes such as 1 tick or 1 second (if your symbol and data feed support it). Please check your TradingView subscription plan and data entitlements - access to 1-second/1-tick lower timeframes is commonly restricted to higher-tier plans (often referred to as Premium/Ultra tiers). If intrabar data is not available, the script falls back to relative buy/sell volume estimation (Geometry mode), and results may be less precise.
BTC - Metcalfes Law (Deviation)Title: BTC – Metcalfe's Law (Deviation) | RM
Overview & Philosophy
The BTC – Metcalfe's Law (Deviation) is a fundamental valuation oscillator that answers one of the most important questions in network economics: "Is the current price justified by the number of active users?" Metcalfe's Law states that the value of a network is proportional to the square of the number of its connected users (Value = Users squared). In the context of Bitcoin, this means that as the number of active addresses grows linearly, the network's fair value should grow exponentially.This script identifies periods where Bitcoin’s market capitalization has become "overextended" or "undervalued" relative to its actual network activity.
Methodology
The indicator performs a rolling log-log regression (Ordinary Least Squares) between Bitcoin's Market Cap and its Active Address count over a 730-day (2-year) window.
1. The Regression: The script calculates the statistical relationship: ln(Market Cap) = alpha + beta * ln(Active Addresses)
2. Pure Metcalfe vs. Generalized Metcalfe:
• Pure Metcalfe (Beta=2): By default, the script enforces a slope of 2.0, adhering to the classic mathematical law.
• Dynamic Fit: Users can disable the "Enforce Metcalfe" setting to let the model find the best historical fit (often resulting in a Beta between 1.5 and 1.8).
3. The Deviation (The Signal):
The resulting line represents the Log-Deviation from Fair Value.
• A value of 0.0 means Bitcoin is priced exactly according to its network utility.
• Positive values indicate a "valuation premium".
• Negative values indicate a "valuation discount".
How to Read the Chart
🔴 The Red Zone (Overvaluation > 1.0)
Meaning: The Market Cap has outpaced the growth of active users. Historically, these peaks represent speculative bubbles or cycle tops where price is driven by hype rather than utility.
🟢 The Green Zone (Undervaluation < -0.25)
Meaning: The network is being utilized, but the price has crashed below its fundamental support. Historically, these "Utility Floors" have marked the most profitable accumulation zones in Bitcoin’s history.
🟠 The Orange Line (Fair Value Transition)
Meaning: The market is in a healthy growth phase, moving in lockstep with user adoption.
Strategy & Interpretation
This tool is a Macro Compass . It is designed to help investors stay objective during periods of extreme market emotion.
• In a Bull Market: Watch for the deviation to hit the Red Zone. This is your signal that the "Network Utility" can no longer support the price, and a major correction is likely imminent.
• In a Bear Market: Look for the "Green Floor." When the price stays below the -0.25 level despite stable user activity, it suggests a massive mismatch between value and price—a classic buy signal.
Settings
• Regression Window (Default: 730 Days): Chosen to capture mid-to-long term cycle trends. Adjust to shorter timeframes for more dynamic behavior or longer timeframes (like 1460 Days) to catch longer cycles.
• Enforce Metcalfe: Toggle between the classic law (Beta=2) and a dynamic fit.
• Smoothing: A 30-day SMA is applied to active addresses to filter out daily "jitter."
Credits
• Robert Metcalfe: For the original law of network utility.
• Willy Woo & Greg Wheatley: For their pioneering work in applying Metcalfe's Law specifically to Bitcoin's valuation.
Important Data Requirement
To function, this indicator requires a data feed for Active Addresses . By default, it is set to GLASSNODE:BTC_ACTIVEADDRESSES . Please Note: On-chain data usually requires a premium vendor subscription on TradingView (e.g., Glassnode, IntoTheBlock, or CryptoQuant). If you do not have a subscription, the indicator will display a "Missing Data" warning.
⚠️ Note: This indicator is optimized for the Daily (1D) Timeframe. Please switch your chart to 1D for accurate signal reading.
Disclaimer
This script is for research and educational purposes only. It relies on third-party on-chain data. Fundamental valuation is only one piece of the puzzle; market dynamics can remain irrational longer than metrics can predict.
Tags
bitcoin, btc, on-chain, metcalfe, adoption, fundamental, valuation, active addresses, cycle, Rob Maths
Markov: Transition Matrix [Daily Timeframe]Description
This indicator computes a 3-state Markov chain from price action and visualizes the transition probabilities between daily states:
• Up: daily % change > threshold
• Down: daily % change < -threshold
• Sideways: |daily % change| ≤ threshold
From those states, it builds transition matrices:
• Today → Tomorrow (1 day ahead)
• Today → In 2 days
• Today → In 3 days
Each matrix cell shows:
P(next state | current state)
Rows are the current state (today), columns are the future state (tomorrow / +2 / +3).
Each row sums to 100% (when there is sufficient sample size).
________________________________________
How to read it (trader workflow)
1. Identify the current regime (the most recent confirmed daily state).
2. Look at the row matching that regime:
• The ★ marks the highest probability outcome for that row (most likely next state).
• Heatmap intensity increases as probability increases.
• Each row shows its own sample size (n=...) so you can judge statistical support.
3. Use Quick-read:
• “Now” = current regime
• “Best” = top conditional outcome + probability
• “2nd” = second-best outcome + probability
4. Use Universe (N):
• Shows the marginal distribution: how often days are Up/Down/Sideways across the whole dataset.
________________________________________
Settings
Core logic
• Sideways threshold: controls how strict “Sideways” is.
Example: 0.001 = ±0.10% daily move is considered Sideways.
Display
• Toggle 1D / 2D / 3D matrices.
• Highlight best probability per row (★).
• Show n per row (row transition count).
• Focus: current state row only to reduce noise and speed decision-making.
• Quick-read row for the current regime.
Theme (fully customizable)
All colors can be customized:
• Up / Down / Sideways base colors
• Header background + header text
• Values text
• Quick-read neutral background
This makes it suitable for both light and dark chart themes.
________________________________________
Notes / Limitations
• The indicator is designed for daily sessions. It uses daily close-to-close returns to classify states and update the Markov chain once per day.
• On very volatile assets, a very small threshold can make Sideways rare. If you want a more frequent Sideways regime, increase the threshold.
• This is a statistical visualization tool, not a trading system.
________________________________________
Disclaimer (TradingView-friendly)
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Past probabilities do not guarantee future results. Use at your own discretion and always apply proper risk management.
Flux Portfolio Visualizer | GL0WDASHFlux Portfolio Visualizer | GL0WDASH
Flux Portfolio Visualizer lets you simulate and track the performance of a multi-asset portfolio directly on the chart.
Choose up to 10 assets, assign custom allocation weights, and set a start date to generate a real-time equity curve based on historical price data.
The script performs one-time proportional allocation at the start date and then tracks equity forward without rebalancing, giving you a realistic view of how your portfolio would have evolved over time. It also includes a maximum equity drawdown tracker and an optional level line for reference.
Features:
• Allocate to up to 10 assets with custom weight percentages
• Specify initial capital and simulation start date
• Real-time equity curve based on confirmed bars
• Maximum equity drawdown tracking + table display
• Optional horizontal reference line
• Designed for long-horizon allocation experiments
Great for:
• Passive portfolio stress-testing
• Comparing allocation strategies
• Evaluating long-term crypto/asset mixes
• Visualizing risk via max drawdowns
This tool does not execute trades or rebalance—its purpose is pure visualization, giving traders clarity about how portfolios behave under different allocation assumptions.
If you expand or modify the indicator, please credit the original author.
llama fixed-length moving averages [SMA, WMA]Llama Moving Averages
I needed moving averages on my charts, but I wanted them hardcoded based on the following values:
timframe --- MA length
Daily --- 20D (==1 trading month)
Weekly --- 30W (30W moving averages for assessing long term trends)
15m --- 1W (or 5 days)
Two averages:
EMA and WMA: fast moving and slow moving based on closes.
In addition to this, I needed the following things:
1. MAs ONLY on 15m, 1D and 1W timeframes.
2. Consistent colors.
3. for 15m chart, we want a 5D SMA, so 1D = 15m * 25(±1); times 5; 25*5 = 125
4. Option to configure different values for the daily chart, since I trade the daily chart. Defaults: 20.
If you were looking for something similar, enjoy!
sullaojo 3mHere is the English translation for the alert setup instructions:
**How to Set Up Alerts (After Adding the Code)**
1. Click the **Add to chart** button to apply the indicator to your graph.
2. Click the **Alarm Clock icon (Alerts)** on the top right toolbar of TradingView, or press `Alt + A`.
3. In the **Condition** field:
* Select the indicator named **"MA Crossover Buy Alert..."**
* Select **"แจ้งเตือนซื้อ (Buy Alert)"** to receive only buy signals.
4. In the **Trigger** (or Options) section: Select **Once per bar close**.
*(This is recommended per the textbook to confirm that the closing price actually crossed the line, avoiding false signals during intraday volatility.)*
5. Check **Notify on App** (for mobile) or **Show pop-up** as desired, then click **Create**.
Now, when the moving averages cross according to the textbook's conditions, the system will send you an alert immediately!
B + A + D v0.4This script combines a momentum histogram (B-Xtrender) with trend strength and direction filters (ADX + DI).
The histogram is built from EMA differentials processed through RSI, showing short- and long-term momentum shifts around the zero line. ADX with DI+ / DI− is used to confirm whether the market is trending and in which direction.
Bullish signals appear when the histogram turns positive and DI+ dominates DI− with sufficient trend strength.
Bearish signals appear when the histogram turns negative and DI− dominates DI+ with sufficient trend strength.
Important note for users:
The strongest and most reliable signals are those that appear immediately after the histogram crosses the zero line (from negative to positive or from positive to negative). Signals that appear later, while the histogram is already extended in the trend, tend to be weaker and should be treated as continuation signals rather than high-probability reversals.
Credits:
Special thanks to the authors of the original concepts and scripts:
Bullish/Bearish Movement SumThis indicator calculates and displays the cumulative sum of bullish and bearish price movements over a specified period.
Features:
- Green line: Cumulative sum of all bullish movements
- Red line: Cumulative sum of all bearish movements (absolute value)
- Blue area: Net difference (bullish - bearish)
- Information table showing current values and bull/bear ratio
Settings:
- Calculation Period: Choose rolling window size (default: 100 bars) or 0 for cumulative from start
- Calculation Mode: Choose between "Points" (absolute price changes) or "Percentage" (% changes)
Use Cases:
- Identify market directional strength
- Compare bullish vs bearish pressure
- Spot divergences between price and directional momentum
- Ratio > 1 indicates more bullish than bearish movement
Developed with assistance from Claude (Anthropic)






















