ab 3 candle setup range This script identifies a 3-candle range breakout pattern. It looks for two consecutive inside candles following a base candle and triggers a buy or sell signal when price breaks the base candle’s high or low, confirming bullish or bearish momentum.
Indicateurs et stratégies
Sector Relative StrengthThis indicator measures a stock's Real Relative Strength against its sector benchmark, helping you identify stocks that are outperforming or underperforming their sector peers.
The concept is based on the Real Relative Strength methodology popularized by the r/realdaytrading community.
Unlike traditional relative strength calculations that simply compare price ratios, this indicator uses a more sophisticated approach that accounts for volatility through ATR (Average True Range), providing a normalized view of true relative performance.
Key Features
Automatic Sector Detection
Automatically detects your stock's sector using TradingView's built-in sector classification
Maps to the appropriate SPDR Sector ETF (XLK, XLF, XLV, XLY, XLP, XLI, XLE, XLU, XLB, XLC)
Supports all 20 TradingView sectors
Sector ETF Mappings
The indicator automatically compares your stock against:
Technology: XLK (Technology Services, Electronic Technology)
Financials: XLF (Finance sector)
Healthcare: XLV (Health Technology, Health Services)
Consumer Discretionary: XLY (Retail Trade, Consumer Services, Consumer Durables)
Consumer Staples: XLP (Consumer Non-Durables)
Industrials: XLI (Producer Manufacturing, Industrial Services, Transportation, Commercial Services)
Energy: XLE (Energy Minerals)
Utilities: XLU
Materials: XLB (Non-Energy Minerals, Process Industries)
Communications: XLC
Default: SPY (for Miscellaneous or unclassified sectors)
Customizable Settings
Comparison Mode: Choose between automatic sector comparison or custom symbol
Length: Adjustable lookback period (default: 12)
Smoothing: Apply moving average to reduce noise (default: 3)
Visual Clarity
Green line: Stock is outperforming its sector
Red line: Stock is underperforming its sector
Zero baseline: Clear reference point for performance
Clean info box: Shows which ETF you're comparing against
How It Works
The indicator calculates relative strength using the following methodology:
Rolling Price Change: Measures the price movement over the specified length for both the stock and its sector ETF
ATR Normalization: Uses Average True Range to normalize for volatility differences
Power Index: Calculates the sector's strength relative to its volatility
Real Relative Strength: Compares the stock's performance against the sector's power index
Smoothing: Applies a moving average to reduce single-candle spikes
Formula:
Power Index = (Sector Price Change) / (Sector ATR)
RRS = (Stock Price Change - Power Index × Stock ATR) / Stock ATR
Smoothed RRS = SMA(RRS, Smoothing Length)
21 SMA over 200 SMA Bullish Cross Highlighter21 SMA Over 200 SMA — Momentum Cross for BTC Scalpers
A precise and lightweight indicator designed to highlight when short-term momentum aligns with the broader Bitcoin trend.
It visualizes when the 21-period Simple Moving Average (SMA) crosses above the 200-period SMA, often signaling the beginning of a sustained directional move — especially effective on the 1-minute BTC chart during trending market conditions.
Core Concept
When the 21 SMA crosses above the 200 SMA on Bitcoin during an active uptrend, the probability increases that price will continue rising as short-term traders and algorithms join the move.
This indicator helps you identify that momentum shift in real time and react before the breakout gains full traction.
Features
Clear visual label for every bullish cross (21↑200)
Optional bearish cross labels (21↓200)
Optimized for 1m, 5m, and 15m BTC charts
Lightweight and efficient — ideal for multi-chart scalping layouts
Built-in alert conditions for manual alert setup
Excellent synergy with VRVP (Visible Range Volume Profile) for confirming volume-based breakout zones
Suggested Use
Focus on the 1-minute Bitcoin chart for early signals.
When a bullish cross appears, use VRVP to locate high-volume nodes or breakout levels for precise entries.
Confirm alignment on 5m or 15m charts before executing.
Combine with RSI, Stoch RSI, or volume analysis to refine timing and manage risk.
Trading Insight
The 21/200 SMA relationship has long been a trusted tool for trend identification.
When both averages slope upward and the cross occurs above a strong VRVP volume zone, it often marks the start of a new impulsive leg in BTC ideal for short-term scalps or the first confirmation of a broader trend continuation.
Created for disciplined BTC scalpers who value structured setups, clarity, and confirmation through data rather than noise.
MACD HTF Hardcoded (A/B Presets) + Regimes [CHE] MACD HTF Hardcoded (A/B Presets) + Regimes — Higher-timeframe MACD emulation with acceptance-based regime filter and on-chart diagnostics
Summary
This indicator emulates a higher-timeframe MACD directly on the current chart using two hardcoded preset families and a time-bucket mapping, avoiding cross-timeframe requests. It classifies four MACD regimes and applies an acceptance filter that requires several consecutive bars before a state is considered valid. A small dead-band around zero reduces noise near the axis. An on-chart table reports the active preset, the inferred time bucket, the resolved lengths, and the current regime.
Pine version: v6
Overlay: false
Primary outputs: MACD line, Signal line, Histogram columns, zero line, regime-change alert, info table
Motivation: Why this design?
Cross-timeframe indicators often rely on external timeframe requests, which can introduce repaint paths and added latency. This design provides a deterministic alternative: it maps the current chart’s timeframe to coarse higher-timeframe buckets and uses fixed EMA lengths that approximate those views. The dead-band suppresses flip-flops around zero, and the acceptance counter reduces whipsaw by requiring sustained agreement across bars before acknowledging a regime.
What’s different vs. standard approaches?
Baseline: Classical MACD with user-selected lengths on the same timeframe, or higher-timeframe MACD via cross-timeframe requests.
Architecture differences:
Hardcoded A and B length families with a bucket map derived from the chart timeframe.
No `request.security`; all calculations occur on the current series.
Regime classification from MACD and Histogram sign, gated by an acceptance count and a small zero dead-band.
Diagnostics table for transparency.
Practical effect: The MACD behaves like a slower, higher-timeframe variant without external requests. Regimes switch less often due to the dead-band and acceptance logic, which can improve stability in choppy sessions.
How it works (technical)
The script derives a coarse bucket from the chart timeframe using `timeframe.in_seconds` and maps it to preset-specific EMA lengths. EMAs of the source build MACD and Signal; their difference is the Histogram. Signs of MACD and Histogram define four regimes: strong bull, weak bull, strong bear, and weak bear. A small, user-defined band around zero treats values near the axis as neutral. An acceptance counter checks whether the same regime persisted for a given number of consecutive bars before it is emitted as the filtered regime. A single alert condition fires when the filtered regime changes. The histogram columns change shade based on position relative to zero and whether they are rising or falling. A persistent table object shows preset, bucket tag, resolved lengths, and the filtered regime. No cross-timeframe requests are used, so repaint risk is limited to normal live-bar movement; values stabilize on close.
Parameter Guide
Source — Input series for MACD — Default: Close — Using a smoother source increases stability but adds lag.
Preset — A or B length family — Default: “3,10,16” — Switch to “12,26,9” for the classic family mapped to buckets.
Table Position — Anchor for the info table — Default: Top right — Choose a corner that avoids covering price action.
Table Size — Table text size — Default: Normal — Use small on dense charts, large for presentations.
Dark Mode — Table theme — Default: Enabled — Match your chart background for readability.
Show Table — Toggle diagnostics table — Default: Enabled — Disable for a cleaner pane.
Zero dead-band (epsilon) — Noise gate around zero — Default: Zero — Increase slightly when you see frequent flips near zero.
Acceptance bars (n) — Bars required to confirm a regime — Default: Three — Raise to reduce whipsaw; lower to react faster.
Reading & Interpretation
Histogram columns: Above zero indicates bullish pressure; below zero indicates bearish pressure. Darker shade implies the histogram increased compared with the prior bar; lighter shade implies it decreased.
MACD vs. Signal lines: The spread corresponds to histogram height.
Regimes:
Strong bull: MACD above zero and Histogram above zero.
Weak bull: MACD above zero and Histogram below zero.
Strong bear: MACD below zero and Histogram below zero.
Weak bear: MACD below zero and Histogram above zero.
Table: Inspect active preset, bucket tag, resolved lengths, and the filtered regime number with its description.
Practical Workflows & Combinations
Trend following: Use strong bull to favor long exposure and strong bear to favor short exposure. Use weak states as pullback or transition context. Combine with structure tools such as swing highs and lows or a baseline moving average for confirmation.
Exits and risk: In strong trends, consider exiting partial size on a regime downgrade to a weak state. In choppy sessions, increase the acceptance bars to reduce churn.
Multi-asset / Multi-timeframe: Works on time-based charts across liquid futures, indices, currencies, and large-cap equities. Bucket mapping helps retain a consistent feel when moving from lower to higher timeframes.
Behavior, Constraints & Performance
Repaint/confirmation: No cross-timeframe requests; values can evolve intrabar and settle on close. Alerts follow your TradingView alert timing settings.
Resources: `max_bars_back` is set to five thousand. Very large resolved lengths require sufficient history to seed EMAs; expect a warm-up period on first load or after switching symbols.
Known limits: Dead-band and acceptance can delay recognition at sharp turns. Extremely thin markets or large gaps may still cause brief regime reversals.
Sensible Defaults & Quick Tuning
Start with preset “3,10,16”, dead-band near zero, and acceptance of three bars.
Too many flips near zero: increase the dead-band slightly or raise the acceptance bars.
Too sluggish in clean trends: reduce the acceptance bars by one.
Too sensitive on fast lower timeframes: switch to the “12,26,9” preset family or raise the acceptance bars.
Want less clutter: hide the table and keep the alert.
What this indicator is—and isn’t
This is a visualization and regime layer for MACD using higher-timeframe emulation and stability gates. It is not a complete trading system and does not generate position sizing or risk management. Use it with market structure, execution rules, and protective stops.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Structure Labels ( HH / HL / LH / LL )Here’s a clean and efficient Pine Script (v5) code that automatically detects and labels Higher Highs ( HH ), Lower Highs ( LH ), Higher Lows ( HL ), and Lower Lows ( LL ) on your TradingView chart .
FDF – Step 4 (Touch-21 + Trend/VWAP + Channel + Prev75% toggle)FDF — EMAs + VWAP Retest Entry System (A++ Signal Mode Compatible)
This indicator is designed for traders who follow a structured pullback and continuation entry method using the 9 EMA, 21 EMA, and VWAP as trend and momentum guides.
The system highlights high-probability retest entries when price pulls back into the EMA channel and shows strength in the direction of trend. It also includes optional A++ wick filters for traders who want to refine entries only to the strongest momentum candles.
Core Logic
A trade setup is identified when:
Trend is defined by the EMA alignment
• Long bias when EMA9 > EMA21
• Short bias when EMA9 < EMA21
Price retests the 21 EMA
• The candle must touch or cross the 21 EMA
• Designed to time pullbacks, not breakouts
Entry Confirmation
• Candle closes back in channel or breaks away in the trend direction
• Optional requirement: price must be on the correct side of VWAP for intraday trend alignment
A++ Wick Filter Mode (Optional)
Enable this mode to restrict entries to only high-dominance candles:
Dominant wick must exceed the opposing wick by a chosen percentage
Opposing wick can optionally be limited to a % of body size
Helps avoid weak, indecisive, or absorption candles
This mode is optional — turn it off to allow standard FDF entries.
Signals
When conditions are met, the script plots:
Green Triangle → Long entry signal
Red Triangle → Short entry signal
(Entries are plotted only after candle close to avoid repainting.)
Best Use
• Works on 5m / 15m / 1H intraday trend structures
• Pairs well with market structure + liquidity zones
• Designed for disciplined traders who wait for trend alignment and controlled pullbacks
Disclaimer
This tool is provided for educational and research purposes only.
It is not financial advice. Always test your setup and manage risk appropriately.
Daily Range Zone This indicator shows the daily range (high to low) for each day.
Every day has its own unique color, making it easy to see each day’s price range at a glance.
RRG Sector Snapshot RRG Sector Snapshot · Clear UI — User Guide
What this indicator does
Purpose: Visualize sector rotation by comparing each sector’s Relative Strength (RS-Ratio) and RS-Momentum versus a benchmark (e.g., VNINDEX).
Output: A quadrant map (table overlay) that positions each sector into one of four regimes:
LEADING (top-right): Strong and accelerating — leadership zone.
WEAKENING (bottom-right): Strong but decelerating — may be topping or consolidating.
LAGGING (bottom-left): Weak and decelerating — avoid unless mean-reverting.
IMPROVING (top-left): Weak but accelerating — candidates for next rotation into leadership.
How it works (under the hood)
X-axis (Strength): RS-Ratio = Sector Close / Benchmark Close, then normalized with a Z-Score over a lookback (normLen).
Y-axis (Momentum): Linear-regression slope of RS-Ratio over rsLen, then normalized with a Z-Score (normLen).
Mapping to grid: Both axes are Z-Scores scaled to a square grid (rrgSize × rrgSize) using a zoom factor (rrgScale). The center is neutral (0,0). Momentum increases upward (Y=0 is the top row in the table).
Quick start (3 minutes)
Add to chart:
TradingView → Pine Editor → paste the script → Save → Add to chart.
Set a benchmark: In inputs, choose Benchmark (X axis) — default INDEX:VNINDEX. Use VN30 or another index if it better reflects your universe.
Load sectors: Fill S1..S10 with sector or index symbols you track (up to 10). Set Slots to Use to the number you actually use.
Adjust view:
rrgSize (grid cells): 18–24 is a good starting point.
rrgScale (zoom): 2.5–3.5 typically; decrease to “zoom out” (points cluster near center), increase to “zoom in” (points spread to edges).
Read the map:
Prioritize sectors in LEADING; shortlist sectors in IMPROVING (could rotate into LEADING).
WEAKENING often marks late-cycle strength; LAGGING is typically avoid.
Inputs — what they do and how to change them
General
Analysis TF: Timeframe used to compute RRG (can be different from chart’s TF). Daily for swing, 1H/4H for tactical rotation, Weekly for macro view.
Benchmark (X axis): The index used for RS baseline (e.g., INDEX:VNINDEX, INDEX:VN30, major ETFs, or a custom composite).
RRG Calculation
RS Lookback (rsLen): Bars used for slope of RS (momentum).
Daily: 30–60 (default 40)
Intraday (1H/4H): 20–40
Weekly: 26–52
Normalization Lookback (Z-Score) (normLen): Window for Z-Score on both axes.
Daily: 80–120 (default 100)
Intraday: 40–80
Weekly: 52–104
Tip: Shorter lookbacks = more responsive but noisier; longer = smoother but slower.
RRG HUD (Table)
Show RRG Snapshot (rrgEnable): Toggle the table on/off.
Position (rrgPos): top_right | top_left | bottom_right | bottom_left.
Grid Size (Cells) (rrgSize): Table dimensions (N×N). Larger = more resolution but takes more space.
Z-Scale (Zoom) (rrgScale): Maps Z-Scores to the grid.
Smaller (2.0–2.5): Zoom out (more points near center).
Larger (3.5–4.0): Zoom in (emphasize outliers).
Appearance
Tag length (tagLen): Characters per sector tag. Use 4–6 for clarity.
Text size (textSizeOp): Tiny | Small | Normal | Large. Use Large for presentation screens or dense lists.
Axis thickness (axisThick): 1 = thin axis; 2 = thicker double-strip axis.
Quadrant alpha (bgAlpha): Transparency of quadrant backgrounds. 80–90 makes text pop.
Sectors (Max 10)
Slots to Use (sectorSlots): How many sector slots are active (≤10).
S1..S10: Each slot is a symbol (index, sector index, or ETF). Replace defaults to fit your market/universe.
How to interpret the map
Quadrants:
Leading (top-right): Relative strength above average and improving — trend-follow candidates.
Weakening (bottom-right): Still strong but momentum cooling — watch for distribution or pauses.
Lagging (bottom-left): Underperforming and still losing momentum — avoid unless doing mean-reversion.
Improving (top-left): Early recovery — candidates to transition into Leading if the move persists.
Overlapping sectors in one cell: The indicator shows “TAG +n” where TAG is the first tag, +n is the number of additional sectors sharing that cell. If many overlap:
Increase rrgSize, or
Decrease rrgScale to zoom out, or
Reduce Slots to Use to a smaller selection.
Suggested workflows
Daily swing
Benchmark: VNINDEX or VN30
rsLen 40–60, normLen 100–120, rrgSize 18–24, rrgScale 2.5–3.5
Routine:
Identify Leading sectors (top-right).
Spot Improving sectors near the midline moving toward top-right.
Confirm with price/volume/breakout on sector charts or top components.
Intraday (1H/4H) tactical
rsLen 20–40, normLen 60–100, rrgScale 2.0–3.0
Expect faster rotations and more noise; tighten filters with your own entry rules.
Weekly (macro rotation)
rsLen 26–52, normLen 52–104, rrgScale 3.0–4.0
Great for portfolio tilts and sector allocation.
Tuning tips
If everything clusters near center: Increase rrgScale (zoom in) or reduce normLen (more contrast).
If points are too spread: Decrease rrgScale (zoom out) or increase normLen (smoother normalization).
If the table is too big/small: Change rrgSize (cells).
If tags are hard to read: Increase textSizeOp to Large, tagLen to 5–6, and consider bgAlpha ~80–85.
Troubleshooting
No table on chart:
Ensure Show RRG Snapshot is enabled.
Change Position to a different corner.
Reduce Grid Size if the table exceeds the chart area.
Many sectors “missing”:
They’re likely overlapping in the same cell; the cell will show “TAG +n”.
Increase rrgSize, decrease rrgScale, or reduce Slots to Use.
Early bars show nothing:
You need enough data for rsLen and normLen. Scroll back or reduce lookbacks temporarily.
Best practices
Use RRG for context and rotation scouting, then confirm with your execution tools (trend structure, breakouts, volume, risk metrics).
Benchmark selection matters. If most of your watchlist tracks VN30, use INDEX:VN30 as the benchmark to get a truer relative read.
Revisit settings per timeframe. Intraday needs more responsiveness (shorter lookbacks, smaller Z-Scale); weekly needs stability (longer lookbacks, larger Z-Scale).
FAQ
Can I use ETFs or custom indices as sectors? Yes. Any symbol supported by TradingView works.
Can I track individual stocks instead of sectors? Yes (up to 10); just replace the S1..S10 symbols.
Why Z-Score? It standardizes each axis to “how unusual” the value is versus its own history — more robust than raw ratios across different scales.
[ i]
How to Set Up (Your Market Template)
This is the most important part for customizing the indicator to any market.
Step 1: Choose Your TF & Benchmark
Open the indicator's Settings.
Analysis TF: Set the timeframe you want to analyze (e.g., D for medium-term, W for long-term).
Benchmark (Trục X): This is the index you want to compare against.
Vietnamese Market: Leave the default INDEX:VNINDEX.
US Market: Change to SP:SPX or NASDAQ:NDX.
Crypto Market: Change to TOTAL (entire market cap) or BTC.D (Bitcoin Dominance).
Step 2: Input Your "Universe" (The 10 Slots)
This is where you decide what to track. You have 10 slots (S1 to S10).
For Vietnamese Sectors (Default):
Leave the default sector codes like INDEX:VNFINLEAD (Finance), INDEX:VNREAL (Real Estate), INDEX:VNIND (Industry), etc.
Template for Crypto "Sectors":
S1: BTC.D
S2: ETH.D
S3: TOTAL2 (Altcoin Market Cap)
S4: TOTAL.DEFI (DeFi)
S5: CRYPTOCAP:GAME (GameFi)
...and so on.
Template for Blue Chip Stocks:
Benchmark: INDEX:VN30
S1: HOSE:FPT
S2: HOSE:VCB
S3: HOSE:HPG
S4: HOSE:MWG
...and so on.
Template for Commodities:
Benchmark: TVC:DXY (US Dollar Index)
S1: TVC:GOLD
S2: TVC:USOIL
S3: TVC:SILVER
S4: COMEX:HG1! (Copper)
...and so on.
Step 3: Fine-Tuning
RS Lookback: A larger number (e.g., 100) gives a smoother, long-term view. A smaller number (e.g., 20) is more sensitive to short-term changes.
Z-Scale (Zoom): This is the "magnification" of the map.
If all your sectors are crowded in the middle, increase this number (e.g., 4.0) to "zoom in."
If your sectors are stuck on the edges, decrease this number (e.g., 2.0) to "zoom out."
Tag length: How many letters to display for the ticker (e.g., 4 will show VNFI).
Price Trend Indicator+🧠 What it does
It measures the ratio between average price change and average volatility, showing how strong and directional the trend is.
Higher positive values = steady uptrend, negative = downtrend
📊 How to interpret
P value Signal Meaning
P > +0.5 🟢 Strong Uptrend Steady upward movement
0 < P < +0.5 🟡 Mild Uptrend Weak upward bias
P ≈ 0 ⚪ Sideways No clear direction
-0.5 < P < 0 🟠 Mild Downtrend Slight downward bias
P < -0.5 🔴 Strong Downtrend Consistent decline
Dante Broadening FormationThis auto-draws an attempt at best fit broadening formation used for trading "The Strat". Looking for reversals around the extremes of price discovery near the higher highs and lower lows can open up to big setup combined with the proper Strat setups, entries, exits, risk management and practice. Always paper trade first and protect your bankroll. Know that this tool isn't perfect, it's just saves some time drawing broadening formations and can help to train what they look like and why they are important. Open to feedback, enjoy!
VWMA Series (Dynamic) mtf - Dual Gradient Colored"VWMA Series (Dynamic) mtf - Dual Gradient Colored" is a multi-timeframe (MTF) Volume-Weighted Moving Average (VWMA) ribbon indicator that plots up to 60 sequential VWMAs with arithmetic progression periods (e.g., 1, 4, 7, 10…). Each VWMA line is dual-gradient colored: Base hue = Greenish (#2dd204) if close > VWMA (bullish), Magenta (#ff00c8) if close < VWMA (bearish)
Brightness gradient = fades from base → white as period increases (short → long-term)
Uses daily resolution by default (timeframe="D"), making it ideal for higher-timeframe trend filtering on lower charts.Key FeaturesFeature
Description
Dynamic Periods
Start + i × Increment → e.g., 1, 4, 7, 10… up to 60 terms
Dual Coloring
Bull/Bear + Gradient (short = vivid, long = pale)
MTF Ready
Plots daily VWMAs on any lower timeframe (1H, 15M, etc.)
No Lag on Long Sets
Predefined "best setups" eliminate repainting/lag
Transparency Control
Adjustable line opacity for clean visuals
Scalable
Up to 60 VWMAs (max iterations)
Recommended Setups (No Lag)Type
Example Sequence (Start, Inc, Iter)
Long-Term Trend
1, 3, 30 → 1, 4, 7 … 88
93, 3, 30 → 93, 96 … 180
372, 6, 30 → 372, 378 … 546
Short-Term Momentum
1, 1, 30 → 1, 2, 3 … 30
94, 2, 30 → 94, 96 … 152
1272, 5, 30 → 1272, 1277 … 1417
Key Use CasesUse Case
How to Use
1. Multi-Timeframe Trend Alignment
On 1H chart, use 1, 3, 30 daily VWMAs → price above all green lines = strong uptrend
2. Dynamic Support/Resistance
Cluster of long-term pale VWMAs = major S/R zone
3. Early Trend Change Detection
Short-term vivid lines flip from red → green before longer ones = early bullish signal
4. Ribbon Compression/Expansion
Tight bundle → consolidation; fanning out → trend acceleration
5. Mean Reversion Entries
Price far from long-term VWMA cluster + short-term reversal = pullback trade
6. Volume-Weighted Fair Value
Long-period VWMAs reflect true average price paid over weeks/months
Visual Summary
Price ↑
████ ← Short VWMA (vivid green = close > VWMA)
███
██
█
. . . fading to white
█
██
███
████ ← Long VWMA (pale = institutional average)
Green lines = price above VWMA (bullish bias)
Magenta lines = price below VWMA (bearish bias)
Gradient = shorter (left) → brighter; longer (right) → whiter
Ribbon thickness = trend strength (wide = strong, narrow = weak)
Best For Swing traders using daily trend on intraday charts
Volume-based strategies (VWMA > SMA)
Clean, colorful trend visualization without clutter
Institutional fair value anchoring via long-period VWMAs
Pro Tip:
Use Start=1, Increment=3, Iterations=30 on a 4H chart with timeframe="D" → perfect daily trend filter with zero lag and beautiful gradient flow.
OI Value (aproximado)This indicator estimates the Open Interest Value (USD) by multiplying the Open Interest (contracts) of the BTCUSDT Perpetual Futures by the current price.
It provides an approximate view of how much capital is engaged in open positions, helping traders visualize whether new money is entering or leaving the market.
Use Case:
Rising OI Value → New capital entering the market (trend strengthening)
Falling OI Value → Positions being closed or liquidated (trend weakening)
Designed for traders combining Open Interest analysis with price action and volume-based indicators such as OBV or Delta Volume.
Aperturas Semanales Precisas (corregido)Identifica aperturas semanales del precio y resalta aperturas mensuales
Stablecoin Liquidity Delta (Aggregate Market Cap Flow)Hi All,
This indicator visualizes the bar-to-bar change in the aggregate market capitalization of major stablecoins, including USDT, USDC, DAI, and others. It serves as a proxy for monitoring on-chain liquidity and measuring capital inflows or outflows across the crypto market.
Stablecoins are the primary liquidity layer of the crypto economy. Their combined market capitalization acts as a mirror of the available fiat-denominated liquidity in digital markets:
🟩 An increase in the total stablecoin market capitalization indicates new issuance (capital entering the market).
🟥 A decrease reflects redemption or burning (liquidity exiting the system).
Tracking these flows helps anticipate macro-level liquidity trends that often lead overall market direction, providing context for broader price movements.
All values are derived from TradingView’s public CRYPTOCAP tickers, which represent the market capitalization of each stablecoin. While minor deviations can occur due to small price fluctuations around the $1 peg, these figures serve as a proxy for circulating supply and net issuance across the stablecoin ecosystem.
Opposing Candle V2🟩 OC (Opposing Candle) Multi–Timeframe Framework
🔍 Overview
The OC Indicator automatically detects and displays Opposing Candles (OCs) across up to three timeframes.
An Opposing Candle is a candle that fully engulfs the previous one, signaling a potential shift in control — either a trend continuation or a trend reversal.
This multi–timeframe framework gives traders a structured way to visualize displacement, pullbacks, and momentum shifts between timeframes.
⚙️ How It Works
Each OC is drawn as a box showing:
High & Low → The candle’s full range
Open Line (black) → Key control level
Midline (white) → Candle equilibrium
Optional labels for timeframe and session
You can enable up to 3 timeframes (e.g., 30m / 1H / 4H) and adjust how many OCs to display for each.
📈 Trading Framework
🔹 Continuation Setup (Trend Following)
1. 4H Bias → Bullish or Bearish
Identify clear trend structure (HH/HL = bullish, LH/LL = bearish).
Confirm strong displacement and visible gaps between OCs — signs of momentum and healthy trend continuation.
2. 1H Confirmation OC
OC forms in the direction of the 4H bias, confirming control.
3. 30min Pullback OC
Opposite–colored OC appears → represents the pullback.
4. Entry Trigger
A yellow candle closes beyond the 30min OC open line, confirming the end of the pullback.
→ Enter in trend direction.
🎯 Targets
Target 1: Next 1H OC high or low (in trend direction)
Target 2: Next 4H OC high or low
🛑 Stop: Beyond the 30min OC’s opposite wick
🔹 Reversal Setup (Trend Shift)
1. 4H Structure → Extended or Losing Momentum
When there are no higher–timeframe gaps and no displacement, momentum weakens — often a sign of potential reversal.
2. Opposing OC Forms on HTF
A strong engulfing OC appears against the previous trend at a key structural level.
3. Lower–Timeframe Alignment
1H and 30min OCs begin forming in the new direction, confirming control shift.
4. Entry Trigger
Break of the lower–timeframe OC open line signals the reversal confirmation.
🟢 Example: Bullish Reversal
4H downtrend shows compression (no displacement)
4H bullish OC forms at support
30min breaks above a bearish OC’s open line → Go long
🔴 Example: Bearish Reversal
4H uptrend stalls at resistance
4H bearish OC forms
30min breaks below a bullish OC’s open line → Go short
🎯 Targets
Target 1: Nearest opposing 1H OC high/low
Target 2: Major 4H structural high/low
🛑 Stop: Beyond the reversal OC wick
🧠 Key Concepts
Displacement = Strength. Strong, impulsive moves with clear gaps between OCs show continuation.
Compression = Weakness. Overlapping candles and no HTF displacement often hint at reversal.
OC = Control Candle. The open line is the “line in the sand” — when price breaks it, control flips.
Multi–TF Confluence = Precision. 4H → 1H → 30m gives you structure → confirmation → entry accuracy.
🎨 Features
✅ Multi–Timeframe OC detection (default: 30m / 1H / 4H)
✅ Bullish & Bearish boxes with open and midlines
✅ Break candles highlighted yellow
✅ Optional labels (timeframe + session)
✅ Session filters (Asia, London, NYAM, NYPM)
✅ Fully customizable visuals and extension lengths
Trade Journal ProTrade Journal Pro
A powerful, visual trading journal that enforces discipline with real-time feedback, reflective prompts, and strict risk limits — all in one clean overlay box.
Jesus is King — trade with wisdom, not emotion.
FEATURES
• AUTO-CALCULATED DAILY TRADES
→ `Trades Today = Wins + Losses + Breakevens` (no manual input needed)
• 4 ENFORCED RISK LIMITS
1. Max Trades Per Day
2. Max Risk Rule Violations
3. Max Consecutive Losses (tilt protection)
4. Max Total Losses Allowed (lifetime/session cap)
• SMART VISUAL FEEDBACK
• GREEN BOX = You hit a limit exactly → “WELL DONE!”
• RED BOX = Breached any limit → “STOP & REFLECT” + ALERT
• Dark = Normal (under all limits)
• REFLECTIVE PROMPTS (Customizable)
1. Why this setup?
2. What was my emotional state?
3. Did I follow my plan?
• LIVE ADVICE ENGINE
→ Win: “Great execution! Log what worked.”
→ Loss: “Loss = tuition. What did you learn?”
→ Breakeven: “Review entry/exit precision.”
• DAILY REMINDER
→ Always visible: “Trade the plan, not the emotion.”
• FULLY CUSTOMIZABLE
• Font size (Tiny → Huge)
• Box position (bars to the right)
• Toggle: Metrics / Prompts / Advice
• Custom colors, messages, limits
• ALERTS
• Breach any limit → Immediate alert
• Hit limit exactly → Discipline win notification
HOW TO USE
1. After each closed trade:
→ Update Wins, Losses, or Breakevens
→ Update Consecutive Losses (reset to 0 on win/BE)
→ Increment Risk Violations if you broke a rule
2. Answer the 3 prompts in your journal
3. Let the box guide your behavior:
• GREEN = Celebrate discipline
• RED = STOP TRADING. Reflect. Reset.
Perfect for day traders, swing traders, or anyone building a professional edge through journaling and risk control.
No strategy entries. No repainting. Pure accountability.
“The market is a mirror. This journal is the polish.”
Developed with integrity. Built to protect your capital — and your peace.
Indicador Técnico Avanzado sbuscamos entradas para poder comprar y vender papeles de una correcta manera
Gold THB per Baht (XAU -> Thai baht gold)What it does
This indicator converts international gold prices (XAU) into Thai retail “baht gold” price (THB per 1 baht gold weight) in real time. It multiplies the XAU price (per troy ounce) by USD/THB and converts ounces to Thai baht-weight using the exact gram ratios.
Formula
THB per baht gold = XAU (USD/oz) × USDTHB × (15.244 / 31.1035) × (1 + Adjustment%) + FlatFeeTHB
1 troy ounce = 31.1035 g
1 Thai baht gold = 15.244 g
Conversion factor ≈ 0.490103
Prev Daily Closes — Prev1 & Prev2 (intraday) RAJESH MAYEKARit gives last 2 days close line. when last 2 days close broke you get momentum for BTST
RSI with SMA + 70/60/50/40/30 LevelsIndicator Name:
RSI with SMA + 70/60/50/40/30 Levels
🧩 Concept Overview:
यह indicator दो popular tools को combine करता है:
RSI (Relative Strength Index) – momentum indicator जो market ke overbought aur oversold zones ko identify karta hai.
SMA (Simple Moving Average) – trend smoother jo RSI ke movement ko average karke lagging confirmation deta hai.
इन दोनों के साथ 70, 60, 50, 40, और 30 की multiple reference lines draw की जाती हैं, ताकि trader को RSI ke swings aur reversals easily samajh aaye.
⚙️ Indicator Components:
RSI Line:
Default Period: 14 (customize kar sakte ho).
Show karta hai price momentum – agar RSI 70 ke upar jaata hai to market overbought zone me hota hai; agar 30 ke niche jaata hai to oversold zone me.
SMA on RSI:
RSI ka smooth version (usually 9-period SMA).
Trend confirmation ke liye – jab RSI line SMA ke upar cross karti hai to bullish signal, aur neeche cross kare to bearish signal.
Horizontal Levels:
70: Overbought zone (potential sell area).
60: Strong bullish momentum line (trend confirmation).
50: Neutral / midline (trend direction flip area).
40: Weak bearish zone (trend losing strength).
30: Oversold zone (potential buy area).
💡 How to Use:
Trend Identification:
RSI > 60 aur SMA ke upar → Bullish trend.
RSI < 40 aur SMA ke neeche → Bearish trend.
Reversal Spotting:
RSI 70 ke upar jaake wapas niche aaye → Sell signal.
RSI 30 ke neeche jaake wapas upar aaye → Buy signal.
Confirmation Using SMA:
RSI cross SMA from below → Confirmed bullish reversal.
RSI cross SMA from above → Confirmed bearish reversal.
XAU/USD 1m true scalperA true scalper based on RSI Stochastic. Green circles for buy. Red circles for sell. Works amazing on gold chart. No repainting.
Retail vs Banker Net Positions – Symmetry BreakRetail vs Banker Net Positions – Symmetry Break (Institution Focus)
Description:
This advanced indicator is a volume-proxy-based positioning tool that separates institutional vs. retail behavior using bar structure, trend-following logic, and statistical analysis. It identifies net position flows over time, detects institutional aggression spikes, and highlights symmetry breaks—those moments when institutional action diverges sharply from retail behavior. Designed for intraday to swing traders, this is a powerful tool for gauging smart money activity and retail exhaustion.
What It Does:
Separates Volume into Two Groups:
Institutional Proxy: Volume on large bars in trend direction
Retail Proxy: Volume on small or counter-trend bars
Calculates Net Positions (%):
Smooths cumulative buying vs. selling behavior for each group over time.
Highlights Symmetry Breaks:
Alerts when institutions make statistically abnormal moves while retail is quiet or doing the opposite.
Detects Extremes in Institutional Activity:
Flags major tops/bottoms in institutional positioning using swing pivots or rolling windows.
Retail Sentiment Flips:
Marks when the retail line crosses the zero line (e.g., flipping from net short to net long).
How to Use It:
Interpreting the Two Lines:
Aqua/Orange Line (Institutional Proxy):
Rising above zero = Net buying bias
Falling below zero = Net selling bias
Lime/Red Line (Retail Proxy):
Green = Retail buying; Red = Retail selling
Watch for crosses of zero for sentiment shifts
Spotting Symmetry Breaks:
Pink Circle or Background Highlight =
Institutions made a sharp, outsized move while retail was:
Quiet (low ROC), or
Moving in the opposite direction
These often precede explosive directional moves or stop hunts.
Institutional Extremes:
Marked with aqua (top) or orange (bottom) dots
Based on swing pivot logic or rolling highs/lows in institutional positioning
Optional filter: Only show extremes that coincide with a symmetry break
Settings You Can Tune:
Lookback lengths for trend, z-scores, smoothing
Z-Score thresholds to control sensitivity
Retail quiet filters to reduce false positives
Cool-down timer to avoid rapid repeat signals
Toggle visual aids like shading, markers, and threshold lines
Alerts Included:
-Retail flips (green/red)
- Institutional symmetry breaks
- Institutional extreme tops/bottoms
Strategy Tip:
Use this indicator to track institutional accumulation or distribution phases and catch asymmetric inflection points where the "smart money" acts decisively. Confluence with price structure or FVGs (Fair Value Gaps) can further enhance signal quality.






















