Ciclos
Buy vs Sell Liquidity + Difference (Bottom Right)Script Summary (Short Notes)
⚙️ Purpose
Tracks and displays Buy Volume vs Sell Volume difference during the day, based on candle direction.
Useful for spotting liquidity imbalance between buyers and sellers.
📊 How It Works
Volume Classification
If close > open → counts volume as Buy Volume
If close < open → counts volume as Sell Volume
Aggregation Timeframe
You can select a timeframe (1, 2, 3, 5, 15, 30 mins)
Script recalculates data from that aggregation level.
Daily Reset
At the start of a new trading day, totals reset to zero.
Cumulative Calculation
Adds all buy/sell volumes as the day progresses.
Calculates:
Total Volume
Difference (BUY − SELL)
Percentages (%)
MTF Supertrend Heatmap (D / 4H / 1H / 15m / 5m)MTF Supertrend Heatmap (D / 4H / 1H / 15m / 5m)
A clean dashboard that tells you whether the same Supertrend (ATR Length, Multiplier) is BUY or SELL across five timeframes—all on one chart. Higher-TF values are fetched with request.security() and, when Confirm HTF bar close is ON, they do not repaint after that bar closes.
Optional toggles let you plot the current-TF Supertrend line and show bar-anchored flip markers (BUY/SELL) for each timeframe. Includes alerts for ALL-TF alignment and MAJORITY (≥3/5) agreement. Timeframes and Supertrend parameters are fully configurable. Use the heatmap for quick confirmation, reduce noise by keeping markers off unless needed.
Bitcoin Cycles Halvins/Tops/Bottoms By CrBeThis Script shows you the actual Bitcoin tops and bottoms dates.
First X Days Of A YearFirst X-Day Indicator
Overview
The "First X-Day Indicator" is a powerful tool to visualize and analyze market sentiment during the crucial first trading days of each new year. It provides immediate visual feedback on whether the year is starting with positive or negative momentum compared to the previous year's close, a concept often related to market theories like the "January Effect" or the "First Five Days Rule."
The indicator is designed to be clean, intuitive, and fully customizable to fit your charting style.
Key Features
Yearly Baseline: Automatically draws a horizontal line at the previous year's closing price. This line serves as a clear 0% reference for the current year's performance.
Dynamic Background Coloring: For a user-defined number of days at the start of the year, the chart background is colored daily. Green indicates the close is above the previous year's close, while red indicates it's below.
Final Performance Symbol: At the end of the analysis period (e.g., on the 5th day), a single summary symbol (like 👍 or 👎) appears. This symbol represents the final performance outcome of the initial trading period.
Settings & Customization
You have full control over all visual elements:
Analysis Period: Define exactly how many days at the start of the year you want to analyze (e.g., 3, 5, or 10 days).
Line Customization: Fully control the yearly baseline's appearance. You can change its color, width, and style (Solid, Dashed, or Dotted) or hide it completely.
Symbol Customization: Choose any character or emoji for the positive and negative performance symbols. You can also adjust their size (Small, Normal, Large) or hide them.
Background Control: Enable or disable the daily background coloring and select your preferred custom colors for positive and negative days.
DG Market Structure (Inspired By Deadcat)MS Indicator taken from Deadcat and enhanced a little bit
I added CHoCH and BOS to better tell the story of why price is moving a certain way. Also made a lot more of the values Input based for testing.
I tried to add in retracement values on the MTF chart but I don't think the math is right, maybe someone can figure out the math.
Institutional Zones: Opening & Closing Trend HighlightsDescription / Content:
Track key institutional trading periods on Nifty/Bank Nifty charts with dynamic session zones:
Opening Volatility Zone: 9:15 AM – 9:45 AM IST (Green)
Closing Institutional Zone: 1:30 PM – 3:30 PM IST (Orange)
Both zones are bounded by the day’s high and low to help visualize institutional activity and price behavior.
Key Observations:
Breakout in both closing trend and opening trends often occurs on uptrending days.
Breakdown in both closing range and opening range usually happens on downside trending days.
Price opening above the previous closing trend is often a sign of a strong opening.
This script helps traders identify trend strength, breakout/breakdown zones, and institutional participation during critical market hours.
Disclaimer:
This indicator is for educational and informational purposes only. It is not a financial advice or recommendation to buy or sell any instrument. Always confirm with your own analysis before taking any trade.
Pine Script Features:
Dynamic boxes for opening and closing sessions
Boxes adjust to the day’s high and low
Optional labels at session start
Works on intraday charts (1m, 5m, 15m, etc.)
Usage Tip:
Use this indicator in combination with trend analysis and volume data to spot strong breakout/breakdown opportunities in Nifty and Bank Nifty.
Ikas Forex SM ConceptsIkas Forex SM Concepts (SMC) – All-in-One Indicator
This indicator automatically analyzes market structure, liquidity zones, and institutional trading areas, allowing you to interpret price movements using the “Smart Money Concepts” approach.
It directly plots the most important concepts such as real-time BOS (Break of Structure), CHoCH (Change of Character), Order Block, Fair Value Gap (FVG), Equal High/Low, and Premium/Discount zones onto the chart.
⚙️ Features
Intra & Swing Market Structure: Shows micro and macro breaks (BOS/CHoCH) in price movement in real time.
Order Blocks: Marks potential areas where institutional participants open positions (bull/bear blocks).
Fair Value Gaps: Automatically detects price imbalances, identifies potential entry/exit zones.
Equal Highs & Lows (EQH/EQL): Highlights double top/bottom formations, visualizes potential liquidity traps.
Premium & Discount Zones: Shows whether the price is in an overvalued (premium) or undervalued (discount) zone.
MTF High/Low Levels: Automatically plots daily, weekly, and monthly high-low levels.
Style and Filtering: Offers flexible options such as color or monochrome views, BOS filtering, and FVG threshold settings.
📊 How to Use?
Trend Direction: CHoCH and BOS labels help identify trend reversals and continuations.
Liquidity Zones: Order blocks and equal high/low levels clarify institutional liquidity zones.
Entry/Exit Planning: When combined with FVG and Premium/Discount zones, high-probability trade points can be identified.
Chart Cleanliness: Since all these components are drawn automatically, the manual analysis burden is reduced.
💡 Why is it important?
Smart Money Concepts (SMC) is an approach popularized by ICT that analyzes price movement not only with formations but also with liquidity and market structure dynamics.
This indicator combines these concepts into a single tool, providing a visual, simple, and functional analysis environment.
VWAP Balance HeatmapVWAP Balance Heatmap visually highlights where price stands relative to the dynamic equilibrium of bullish and bearish VWAP averages. The indicator builds two running VWAP arrays — one for bullish candles, one for bearish — then plots their averages and the midpoint between them. It fills the space between price and this midpoint, coloring it green when price is above balance and red when below. The result is a smooth heatmap that reveals whether the market is trading in premium or discount zones, helping you see shifts in momentum and balance without clutter or lag.
Midnight Lines for Tokyo, London, New Yorkممتاز 👌 إليك **تعريفًا محدثًا وكاملًا للمؤشر باللغتين العربية والإنجليزية**، مع إدراج توضيح دقيق لتعامل المؤشر مع **تغيّر التوقيت الصيفي والشتوي (DST)** في لندن ونيويورك:
---
## 🇬🇧 **English Description (with DST behavior)**
**Indicator name:** *Midnight Lines for Tokyo, London, and New York*
**Purpose:**
This indicator automatically draws **vertical lines** on the chart at **midnight (00:00)** for the three major global trading sessions:
* **Tokyo**
* **London**
* **New York**
### 🔹 How it works:
1. The script checks each candle’s time using the built-in TradingView time zone function:
* `"Asia/Tokyo"`
* `"Europe/London"`
* `"America/New_York"`
2. When it detects **00:00** in any of these zones, it draws:
* A **vertical dotted line** that extends from the top to the bottom of the chart.
* A **label** at the top with the session name (e.g., “Tokyo Midnight”).
3. Each session has its own color for clarity:
* **Blue** → Tokyo Midnight
* **Green** → London Midnight
* **Red** → New York Midnight
### 🕒 Automatic Daylight Saving Time (DST) Adjustment:
The indicator automatically adapts to **Daylight Saving Time changes** in both **London** and **New York**:
* When London switches between **GMT and GMT+1**, the midnight line shifts automatically to remain accurate.
* When New York switches between **EST and EDT**, the script also updates accordingly.
* Tokyo does **not** observe DST, so its timing stays constant year-round.
### 🎯 Purpose:
Helps traders visually track the start of each new trading day in the major sessions and analyze:
* Session overlaps (e.g., London–New York overlap)
* Session-based trading strategies
* Price movement behavior at each new day open
---
## 🇸🇦 **الوصف بالعربية (مع إدراج تغير التوقيت)**
**اسم المؤشر:** خطوط منتصف الليل لجلسات طوكيو، لندن، ونيويورك
**الهدف:**
يقوم هذا المؤشر تلقائيًا برسم **خطوط عمودية** على الرسم البياني عند **منتصف الليل (00:00)** لكل من الجلسات الثلاث الرئيسية:
* **جلسة طوكيو**
* **جلسة لندن**
* **جلسة نيويورك**
### 🔹 كيفية العمل:
1. يستخدم المؤشر دوال TradingView لحساب الوقت الفعلي لكل مدينة:
* `"Asia/Tokyo"` لطوكيو
* `"Europe/London"` للندن
* `"America/New_York"` لنيويورك
2. عند وصول الساعة إلى **00:00** بتوقيت أي مدينة، يرسم المؤشر:
* **خطًا عموديًا متقطعًا** يمتد من أعلى إلى أسفل الرسم البياني.
* **تسمية (Label)** أعلى الخط باسم الجلسة (مثل “Tokyo Midnight”).
3. كل جلسة لها لون مختلف:
* **أزرق** → منتصف طوكيو
* **أخضر** → منتصف لندن
* **أحمر** → منتصف نيويورك
### 🕒 التعامل مع تغيّر التوقيت الصيفي والشتوي (DST):
يتكيّف المؤشر تلقائيًا مع تغيّر التوقيت في لندن ونيويورك:
* عندما تنتقل لندن بين **التوقيت الشتوي (GMT)** و**التوقيت الصيفي (GMT+1)**، يتحرك الخط تلقائيًا ليبقى في الساعة 00:00 المحلية.
* وعندما تنتقل نيويورك بين **EST** و**EDT**، يتم تعديل الخط كذلك تلقائيًا.
* أما طوكيو فلا تعتمد التوقيت الصيفي، لذا يبقى وقتها ثابتًا دائمًا على الساعة **00:00 JST**.
### 🎯 الفائدة:
يساعد المتداولين على تحديد **بداية كل جلسة تداول رئيسية**، ومراقبة:
* **تداخل الجلسات** مثل لندن ونيويورك
* **تحركات السعر عند بداية اليوم الجديد**
* **استراتيجيات التداول الزمنية حسب الجلسة**
---
Previous session High/Low – Asia London USA Overview
This indicator automatically plots the Previous Day’s (PD) session Highs and Lows for the Asia (Tokyo), London, and USA (New York) trading sessions.
Each session is color-coded for clarity:
🟩 Asia (Green)
🟥 London (Red)
🟦 USA (Blue)
At the close of each session, the indicator records that session’s high and low, draws horizontal lines across the chart, and labels them neatly in the center of each range — above the high and below the low for perfect visual balance.
⚙️ How It Works
The script continuously tracks the current high and low within each session.
When a session closes, those values are locked in as the PD High and PD Low.
Clean lines and centered labels are drawn immediately.
The labels automatically offset slightly above or below the line to avoid overlap, with user-controlled spacing.
This helps traders quickly identify where price interacts with the previous session’s structure, a core concept for many session-based and liquidity-based strategies.
🧭 Sessions and Timezones
Each market session runs in its native timezone, so you can align them perfectly to your chart or your preferred trading hours:
Asia Session: Default 08:30 – 11:00 (Australia/Adelaide time)
London Session: Default 08:00 – 10:00 (Europe/London)
USA Session: Default 09:30 – 16:00 (America/New_York)
You can change each session’s hours and timezone from the Inputs panel.
🎨 Customization
In the Inputs menu you can:
Toggle each session on or off
Choose line color and thickness
Enable or disable labels
Adjust vertical offset (ticks) for label spacing
“High label offset” – moves label further above the high line
“Low label offset” – moves label further below the low line
These adjustments make it easy to keep charts clean and readable on any instrument or timeframe.
📈 Practical Use
This indicator is ideal for:
Session traders who mark PD Highs/Lows as liquidity zones
London or NY session scalpers who watch for breakouts, fakeouts, or reversals
ICT / Smart Money Concepts users wanting automatic session reference levels
Anyone wanting a quick visual map of inter-session structure
Relative Momentum Rotation [CHE] Relative Momentum Rotation — Ranks assets by multi-horizon momentum for guided rotational selection with regime overlay
Summary
This indicator evaluates a universe of assets using a blended momentum measure across three time horizons, then ranks them to highlight top performers for potential portfolio rotation. It incorporates a regime filter to contextualize signals, tinting the background to indicate favorable or unfavorable market conditions and labeling transitions for awareness. By focusing on relative strength within a selectable universe, it helps identify leaders without relying on absolute thresholds, reducing noise from isolated trends and promoting disciplined asset switching.
Motivation: Why this design?
Traders often struggle with momentum signals that perform unevenly across market phases, such as overreacting in volatile periods or lagging in steady uptrends, leading to suboptimal rotations in multi-asset portfolios. The core idea of relative momentum rotation addresses this by comparing assets head-to-head within a defined group, blending short- and long-term changes to capture sustained strength while a regime overlay adds a macro layer to avoid fighting broader trends. This setup prioritizes peer-relative outperformance over standalone measures, aiding consistent selection in rotational strategies.
What’s different vs. standard approaches?
- Reference baseline: Traditional rate-of-change indicators track absolute price shifts over a single window, which can generate whipsaws in sideways markets or miss cross-asset opportunities.
- Architecture differences:
- Blends three distinct horizons into one composite score for a fuller momentum picture, rather than isolating one period.
- Applies ranking across a customizable universe (e.g., crypto or tech stocks) to emphasize relatives, not absolutes.
- Integrates a simple regime check via moving average crossover on a reference symbol, gating selections without overcomplicating the core logic.
- Outputs a dynamic table for visual ranking, plus subtle visual cues like background tints, instead of cluttered plots.
- Practical effect: Charts show clearer hierarchy among assets, with regime tints providing at-a-glance context—top ranks stand out more reliably in bull regimes, helping traders focus rotations without constant recalibration.
How it works (technical)
The indicator starts by assembling a list of symbols from the selected universe, including only those marked as active to keep the group focused. For each symbol, it gathers change rates over three specified horizons on a higher timeframe, blends them using user-defined weights (automatically normalized if they do not sum to one), and computes a single composite score. Scores are then ranked to select the top performers up to a set number, forming a rotation candidate list.
To add context, a regime state is determined by comparing the reference symbol's price to its moving average on daily bars—above signals a positive environment, below a negative one, with an option to invert this logic. The current chart's symbol is checked against the top list for inclusion status. All higher-timeframe data pulls are set to avoid lookahead bias, though updates may shift slightly until bars close. Persistent variables track the table state and prior regime to handle redraws efficiently, ensuring the display rebuilds only when the selection count changes.
Parameter Guide
Universe — Switches between predefined crypto or US-tech symbol sets for ranking peers. Default: Crypto. Trade-offs/Tips: Crypto for volatile assets; US-Tech for equities—match to your portfolio to avoid mismatched volatility.
Include Symbol 1–12 — Toggles individual symbols in the universe on or off. Default: Varies (true for top 10, false for extras). Trade-offs/Tips: Start with defaults for a balanced group; disable laggards to sharpen focus, but keep at least 5–8 for robust ranking.
Scoring Timeframe — Sets the aggregation period for momentum changes (e.g., monthly bars). Default: Monthly. Trade-offs/Tips: Monthly for long-term rotation; weekly for faster signals—increases noise if too short.
Weight 12m / 6m / 3m — Adjusts emphasis on long/medium/short horizons in the blend. Default: 0.50 / 0.30 / 0.20. Trade-offs/Tips: Heavier long-term for stability in trends; balance to fit asset class—test sums near 1.0 to avoid auto-normalization surprises.
ROC over MA instead of Close — Uses smoothed averages for change rates to reduce chop. Default: False. Trade-offs/Tips: Enable in noisy markets for fewer false tops; adds slight lag, so monitor for delayed rotations.
Top N to hold — Limits selections to this many highest-ranked assets. Default: 10. Trade-offs/Tips: Lower for concentrated bets (higher risk/reward); higher for diversification—align with your position sizing.
Mark current symbol if in Top N — Highlights if the chart's asset ranks in the selection. Default: True. Trade-offs/Tips: Useful for self-scanning; disable in multi-chart setups to declutter.
Enable Regime Filter — Activates macro overlay using reference symbol. Default: True. Trade-offs/Tips: Core for trend-aware trading; disable for pure momentum plays, but risks counter-trend entries.
Regime Symbol — Chooses the benchmark for regime (e.g., broad index). Default: QQQ. Trade-offs/Tips: Broad market proxy like SPY for equities; swap for BTC in crypto to match universe.
SMA Length (D) — Sets the averaging window for regime comparison. Default: 100. Trade-offs/Tips: Longer for fewer flips (smoother regimes); shorter for quicker detection—default suits daily checks.
Invert (rare) — Flips the regime logic (price above average becomes negative). Default: False. Trade-offs/Tips: Only if your view inverts the benchmark; test thoroughly as it reverses all tints/labels.
Show Ranking Table — Displays the ranked list with scores and regime status. Default: True. Trade-offs/Tips: Essential for selection; position tweaks help on crowded charts.
Table X / Y — Places the table on the chart (e.g., top-right). Default: Right / Top. Trade-offs/Tips: Corner placement avoids price overlap; middle for central focus in reviews.
Dark Theme — Applies inverted colors for visibility. Default: True. Trade-offs/Tips: Matches most TradingView themes; toggle for light backgrounds without losing contrast.
Text Size — Scales table font for readability. Default: Normal. Trade-offs/Tips: Smaller for dense data; larger on big screens—impacts only last-bar render.
Background Tint by Regime — Colors the chart faintly green/red based on state. Default: True. Trade-offs/Tips: Subtle cue for immersion; disable if it distracts from price action.
Label on Regime Flip — Adds text markers at state changes. Default: True. Trade-offs/Tips: Aids journaling flips; space them by disabling in low-vol periods to cut clutter.
Reading & Interpretation
The ranking table lists top assets by position, symbol, percentage score (higher indicates stronger blended momentum), and regime status—green "ON" for favorable, red "OFF" for cautionary. Background shifts to a light teal in positive regimes (suggesting alignment for longs) or pale red in negative ones (hinting at reduced exposure). Flip labels appear as green "Regime ON" above bars or red "Regime OFF" below, marking transitions without ongoing noise. If the current symbol appears in the top rows with a solid score, it signals potential hold or entry priority within rotations.
Practical Workflows & Combinations
- Trend following: Scan the table weekly on monthly charts for top entrants; confirm with higher highs/lows in price structure before rotating in. Use regime tint as a veto—skip buys in red phases.
- Exits/Stops: Rotate out of bottom-half ranks monthly; tighten stops below recent lows during regime flips to protect against reversals. Pair with volatility filters like average true range for dynamic sizing.
- Multi-asset/Multi-TF: Defaults work across crypto/equities on daily+ timeframes; for intraday, shorten scoring to weekly but expect more interim noise. Scale universe size with portfolio count—e.g., top 5 for aggressive crypto rotations.
Behavior, Constraints & Performance
Signals update on bar close to confirm higher-timeframe data, but live bars may preview shifts from security calls, introducing minor repaint until finalized—mitigated by non-lookahead settings, though daily regime checks can lag by one session. Arrays handle up to 12 symbols efficiently, with loops capped at selection size; max bars back at 5000 supports historical depth without overload. Resource use stays low, but dense universes on very long charts may slow initial loads.
Known limits include sensitivity to universe composition (skewed groups amplify biases) and regime lag at sharp market turns, potentially delaying rotations by a period.
Sensible Defaults & Quick Tuning
Defaults assume a 10-asset crypto rotation on monthly scoring with balanced weights and QQQ regime—ideal for intermediate-term equity-like plays. For too-frequent table reshuffles, extend scoring timeframe or weight longer horizons more. If selections feel sluggish, shorten the 3-month weight or enable MA smoothing off. In high-vol environments, raise top N and SMA length for stability; for crypto bursts, drop to weekly scoring and invert regime if using a volatile proxy.
What this indicator is—and isn’t
This is a selection and visualization tool for momentum-based rotations, layering relative ranks and regime context onto charts to inform asset picks. It is not a standalone system—pair it with entry/exit rules, position sizing, and risk limits. Nor is it predictive; it reacts to past changes and may underperform in prolonged ranges or during universe gaps.
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
Where does it come from, specifically?
The principle of “composite momentum across multiple horizons” is common in TAA/rotation strategies. As a documented example: Keller/Butler use a composite 1/3/6/12-month momentum (“13612W”)—same idea, different windows/weights.
Robot Wealth
A practical vendor example: EPS Momentum calculates an RMR composite as a weighted mix of 12/6/3/1-month ranks (very close to “12/6/3”).
EPS Momentum
Related but not identical: StockCharts’ RRG measures the momentum rotation of relative strength—often mentioned in the same context, but it doesn’t have a fixed “12/6/3” composite.
chartschool.stockcharts.com
How is it typically computed?
ROC_12 + ROC_6 + ROC_3 (often scaled/weighted), then ranked vs. peers; the rotation periodically holds the top ranks in the portfolio. (Variants use different weights or additionally include 1-month—see the sources above.)
robotwealth.com
epsmomentum.com
SPX / Silver (XAGUSD) RatioThis script visualizes the S&P 500 Index to Silver ratio (SPX/Silver) — a powerful tool for monitoring the relative strength of equities vs. precious metals over time.
📊 Use Case:
Helps traders assess macro sentiment shifts between risk-on (equities) and risk-off (commodities).
A rising ratio indicates equity outperformance vs Silver, often in growth-driven bull markets.
A falling ratio suggests Silver is outperforming — potentially due to inflation, geopolitical risk, or weakening equities.
⚙️ Data & Calculation:
SPX: SP:SPX (S&P 500 Index)
Silver: TVC:SILVER
Formula:
SPX / Silver
(Both are spot/index prices, updated on daily timeframe)
📈 Interpretation:
📈 Ratio Rising → SPX outperforming Silver → Risk-on sentiment
📉 Ratio Falling → Silver outperforming SPX → Possible flight to safety or inflation hedge
🧠 Ideal For:
Macro trend analysis
Intermarket strategy development
Asset rotation decision-making
Spotting Silver bottoms during SPX/Silver peak zones
golden smart entrySmart Money Concepts (SMC) is a trading methodology that focuses on understanding and following the behavior of institutional investors—often referred to as "smart money." The goal is to identify high-probability trade setups by analyzing how these large players move the market.
BTC Confluence Alert 1 Overall Purpose
This script is a custom TradingView indicator that scans for confluence (agreement) between:
BTC’s short-term and medium-term momentum (12-minute and 1-hour RSIs),
The MACD histogram (trend direction and momentum strength),
Bitcoin dominance (money flowing back into BTC).
When all three are bullish, it flashes green and triggers a single alert.
GEX Delta Hedging Lines - v.4.1GEX Delta Hedging Indicator - Institutional Levels
Introduction
This Pine Script indicator is designed to visualize Gamma Exposure (GEX) levels, Delta Hedging zones, and institutional support/resistance points on your TradingView charts. It helps traders identify key price levels where market makers and institutions might hedge their options positions, potentially leading to price reversals or continuations. The indicator overlays lines for resistances (Call Wall, R1, R2), supports (Put Wall, S1, S2, S3), a Gamma Flip zone, and customizable trading zones (Buy, Neutral, Sell). It also includes alerts for level breaches and a summary table for quick reference.
Key Features
Resistance Levels: Call Wall (maximum resistance), R1 (strong), R2 (light) – all configurable with colors, styles, and widths.
Support Levels: Put Wall (maximum support), S1 (strong), S2 (moderate), S3 (weak/danger) – fully customizable.
Gamma Flip Zone: Indicates potential regime changes in market behavior.
Trading Zones: Visual boxes for Buy (green), Neutral (yellow), and Sell (red) areas, with adjustable boundaries and colors.
Current Price Line: Dotted line for the reference price, with labels.
Alerts: Trigger notifications when levels are tested or broken.
Summary Table: Displays levels, prices, and distances from the current close, positioned customizable.
Style Options: Adjust line widths, styles (solid/dashed/dotted), label sizes, and more for a personalized view.
BTC Confluence Score + Confirmed Signals (12m/1h)This script combines 7 different signals across multiple timeframes (12 min + 1 hour + BTC dominance), then only gives you a BUY or SELL when everything aligns.
It’s designed to filter out fake-outs and help you catch momentum reversals that stick.
WHAT IT’S DOING UNDER THE HOOD
Timeframes
12 min (fast) → short-term trigger (RSI, Stoch RSI, volatility)
1 hour (slow) → trend confirmation (EMA structure, RSI, MACD)
BTC Dominance (1 h) → strength/flow confirmation (is capital rotating into BTC or alts?)
This gives you a multi-timeframe confluence, which is what professional traders look for before entering a trade.
2. The 7 “Score” Ingredients
Each bar gets a “score” from –7 (super bearish) to +7 (super bullish) based on:
# Condition Bullish signal (+1) Bearish signal (–1)
1 RSI (12m) RSI > 50 RSI < 50
2 RSI (1h) RSI > 50 RSI < 50
3 MACD Histogram > 0 Histogram < 0
4 BTC Dominance level > 59.8 % < 59.8 %
5 BTC Dominance trend 3 EMA > 8 EMA 3 EMA < 8 EMA
6 1h EMAs trend 50 EMA > 200 EMA and price > 50 EMA 50 EMA < 200 EMA and price < 50 EMA
7 Volatility (ATR) Current ATR > average (momentum increasing) —
The Confluence Score bar at the bottom shows this numerically:
💚 +5 to +7 → Strong bullish conditions
❤️ –5 to –7 → Strong bearish conditions
🩶 Between –2 and +2 → Choppy / neutral
3️⃣ Confirmed Entry Logic (the clear triangles you see now)
You’ll now see only two real actionable markers:
✅ BUY (Green Triangle Up)
Triggered when:
Stoch RSI crosses upward on 12 min
RSI > 50 (momentum confirmation)
MACD histogram > 0 (trend shift)
Confluence score ≥ 4 (default threshold)
This means momentum + trend + structure + volume all agree on an upward move.
→ Ideal for going long or closing shorts.
🚨 SELL (Red Triangle Down)
Triggered when:
Stoch RSI crosses downward
RSI < 50
MACD histogram < 0
Confluence score ≥ 4 bearish
That’s your exit / short confirmation.
4️⃣ Color Bars (Score Strength)
At the bottom of the chart:
💚 Green Bars = full bullish confluence (+5 or more)
💛 Lime/Orange Bars = moderate bullish or early reversal
❤️ Red Bars = strong bearish confluence (–5 or less)
🩶 Gray Bars = chop/no edge
If you prefer visual simplicity, just use:
BUY = Green Triangle appears on green bars
SELL = Red Triangle appears on red bars
That’s your “double confirmation.”
🎯 HOW TO TRADE IT
⏱ Timeframes
Use 12 min for entries (fast scalps or 1–2 hr setups).
Confirm direction with the 1 hour timeframe — only trade in that direction.
💰 Entry Playbook
Signal What to Do
✅ Green Triangle appears Enter long or scale in. Set stop below recent swing low.
🚨 Red Triangle appears Exit long / enter short / scale out.
Bars gray or alternating Stay out — market is undecided.
🧮 Min Score Setting
Default = 4 (balanced).
Raise to 5 for cleaner, fewer signals.
Lower to 3 for more aggressive, frequent trades.
📲 Alerts
You can now create TradingView alerts using:
BUY Confirmed
SELL Confirmed
Set alert type:
“Once per bar close” — so you only get notified after confirmation, not mid-bar noise.
Y ou now have your own BTC AI Confluence System:
Filters all noise from RSI, MACD, EMAs, volatility, and BTC dominance
Waits for perfect alignment across multiple timeframes
Gives you one simple green (BUY) or red (SELL) signal
Lets you scalp 1–2 % moves safely or swing trade confirmations
Session Anchor Lines (Asia, London, NY)it draws a line at each session open ( in relative to the 4 HR candle )
Relative Valuation OscillatorRelative Valuation Oscillator (RVO) Description
The Valuation_OTC.pine script is a Relative Valuation Oscillator for TradingView that compares the current asset against a reference asset (like Bitcoin, S&P 500, or Gold) to determine if it's relatively overvalued or undervalued.
Key Features:
1. Multiple Calculation Methods:
Simple Ratio - Compares price ratio deviation from average
Percentage Difference - Direct percentage comparison between assets
Ratio Z-Score - Statistical measure (standard deviations from mean)
Rate of Change Comparison - Compares momentum/performance
Normalized Ratio - 0-100 scale centered at zero
2. Customizable Settings:
Reference asset selection (default: BTC/USDT)
Adjustable lookback period (10-500 bars)
Optional smoothing with configurable period
Overbought/oversold level thresholds (default: ±1.5)
3. Trading Signals:
Overvalued - Oscillator above overbought level (red zone)
Undervalued - Oscillator below oversold level (green zone)
Neutral - Between thresholds
Crossover alerts for key levels
Divergence detection (bullish/bearish)
4. Visual Components:
Color-coded oscillator line (green when positive, red when negative)
Optional signal line for additional smoothing
Background shading for valuation zones
Information table showing current metrics and status
Shape markers for crossovers and divergences
5. Alert Conditions:
Overvalued/undervalued alerts
Zero-line crossovers
Divergence signals
This indicator is useful for pairs trading, relative strength analysis, and identifying when an asset is trading at extremes relative to a benchmark asset.
Sonic R+EMA PYTAGOYou must determine the supply and demand zone as ema34, ema89, ema200, ema610. Then open the long position or the short position with SL and TP.
Custom Date MarkersCustom Date Markers - Pine Script Indicator
This indicator provides a powerful visual tool for technical and pattern analysis by allowing traders to mark up to 10 specific historical dates with customizable vertical lines on any chart. Each date can be assigned its own unique color, making it easy to categorize and distinguish between different types of events or market catalysts.
Primary Use Cases:
The indicator excels at identifying cyclical patterns and recurring market behavior. By marking significant dates such as earnings announcements, Federal Reserve meetings, dividend ex-dates, or seasonal events, traders can quickly visualize whether stocks consistently react in similar ways around these recurring dates. This is particularly valuable for discovering hidden patterns that might not be obvious from price action alone.
Practical Applications:
Earnings Analysis: Mark historical earnings dates to see if a stock tends to rally or sell-off before/after announcements
Macro Events: Identify how assets respond to FOMC meetings, CPI releases, or other economic data
Seasonal Patterns: Track dates that show recurring volatility or directional moves (like tax deadline periods, end-of-quarter re balancing, etc.)
Event Studies: Analyze the impact of company-specific events like product launches, FDA approvals, or leadership changes
Advanced Insights:
What makes this tool particularly interesting is its ability to reveal non-obvious correlations. For example, you might discover that a retail stock consistently experiences volume spikes 2-3 weeks before Black Friday across multiple years, or that certain tech stocks show weakness during specific conference dates. The color-coding feature allows you to layer multiple event types simultaneously—perhaps using red for bearish catalysts and green for bullish ones—creating a visual heat map of historical market reactions.
The indicator's 6-month default spacing (covering 4.5 years) is strategically designed to capture multiple business cycles while maintaining clarity on the chart. This timeframe is long enough to identify genuine patterns rather than coincidences, yet focused enough to remain relevant to current market conditions.
Pro Tip: Combine this indicator with volume analysis or other technical indicators to validate whether the patterns you observe are accompanied by meaningful market participation or if they're statistical noise.






















