RRG Style RS & Momentum (vs Benchmark) by AKM
## What this indicator does
This indicator is an **RRG‑style Relative Strength & Momentum tool**.
It compares the current symbol to a chosen benchmark (e.g. NIFTY / NIFTY 500) and plots:
- **RS‑Ratio**: Out/under‑performance of the symbol vs the benchmark, normalized around 100.
- **RS‑Momentum**: Momentum of that relative strength, also normalized around 100.
- **RS‑Signal**: A smoothed signal line of RS‑Ratio (EMA of RS‑Ratio).
Using these two axes (RS‑Ratio and RS‑Momentum), each bar is classified into one of four **RRG‑style quadrants**:
- **LEADING** – RS‑Ratio > 100 and RS‑Momentum > 100
- **WEAKENING** – RS‑Ratio > 100 and RS‑Momentum < 100
- **LAGGING** – RS‑Ratio < 100 and RS‑Momentum < 100
- **IMPROVING** – RS‑Ratio < 100 and RS‑Momentum > 100
The chart background is color‑coded by quadrant, and a label on the center (100) line shows the current zone name (LEADING / WEAKENING / LAGGING / IMPROVING) in real time.
> **Concept credit:**
> The conceptual framework of “Relative Strength vs Momentum” in four quadrants (Leading, Weakening, Lagging, Improving) is inspired by **Relative Rotation Graphs® (RRG®)**, created by **Julius de Kempenaer** and commercialized through RRG Research and platforms like Bloomberg, StockCharts, Optuma, etc.
> This script is only an RRG‑inspired *1‑symbol vs benchmark* implementation inside Pine, not an official RRG product.
***
## Inputs
- **Benchmark symbol**:
Default `NSE:NIFTY`. You can set `NSE:NIFTY500`, `NSE:BANKNIFTY`, sector indices, etc.
- **RS base length (`rsLen`)**:
EMA length for smoothing the raw price ratio (symbol / benchmark). Lower = more sensitive, higher = smoother.
- **Smoothing length (`smoothLen`)**:
Secondary smoothing for RS‑Ratio. Default 14.
- **Signal length (`signalLen`)**:
EMA length for the RS‑Signal line (EMA of RS‑Ratio).
- **Momentum length (`momLen`)**:
Lookback for optional ROC‑based momentum.
- **Use ROC‑based momentum**:
If `false` (default): RS‑Momentum is computed as RS‑Ratio / EMA(RS‑Ratio) × 100 (ratio‑style).
If `true`: RS‑Momentum uses ROC(RS‑Ratio, momLen) + 100 (ROC‑style).
- **Show quadrant background**:
Toggles colored background by quadrant.
- **Show zone name on background**:
Shows a label on the 100‑line with the current quadrant name.
***
## How to read it
There is a horizontal center line at **100**:
- **RS‑Ratio > 100** → symbol is outperforming the benchmark.
- **RS‑Ratio < 100** → symbol is underperforming the benchmark.
- **RS‑Momentum > 100** → relative strength is improving (momentum picking up).
- **RS‑Momentum < 100** → relative strength is fading.
The four zones behave similar to classic RRG quadrants:
- **LEADING (lime/green background)**
- RS‑Ratio > 100 and RS‑Momentum > 100.
- Symbol is **stronger than the benchmark and momentum is strong**.
- This is where leadership typically resides.
- **WEAKENING (orange background)**
- RS‑Ratio > 100 and RS‑Momentum < 100.
- Still outperforming, but momentum is rolling over.
- Late‑stage leadership / time to be more selective and manage exits.
- **LAGGING (red background)**
- RS‑Ratio < 100 and RS‑Momentum < 100.
- Underperforming with weak momentum.
- Worst zone for aggressive longs.
- **IMPROVING (green background)**
- RS‑Ratio < 100 and RS‑Momentum > 100.
- Still weaker than benchmark, but momentum is improving.
- Early turnaround zone where future leaders often start.
The **white RS‑Signal line** is just a smoother of RS‑Ratio, helpful to visually see RS trend and crossovers.
***
## Practical trading use (RRG‑style workflow)
This indicator is designed as a **selection and context filter**, not a stand‑alone entry/exit system.
### 1. Sector and stock selection
1. Apply it to **sector indices** vs a broad benchmark (e.g., Nifty IT vs NIFTY 500, Nifty Auto vs NIFTY 500).
2. Focus on sectors where:
- The zone label is **IMPROVING → LEADING** over recent bars.
- RS‑Ratio is rising and staying above 100 in LEADING.
3. Then, on individual stocks inside those strong sectors, use the same benchmark and indicator:
- Prefer stocks that are also in **LEADING** (or just moved from **IMPROVING** into **LEADING**).
This recreates the essence of using RRG to find sectors/stocks with strong relative strength and momentum.
### 2. Combining with your price setup
Once a stock/sector passes the RS filter:
- Use your own price‑action / indicator rules for entries (EMA trends, VWAP pullbacks, breakouts, etc.).
- Example for longs:
- Only take long setups when:
- Sector index AND stock are in **LEADING** or newly from **IMPROVING → LEADING**, and
- Price is in an uptrend on your main chart (e.g., above 20/50 EMA, higher highs and higher lows).
### 3. Managing exits and rotation
- When a held symbol shifts from **LEADING → WEAKENING → LAGGING** and RS‑Momentum stays < 100, consider:
- Tightening stops.
- Partially booking profits.
- Rotating into other names still in LEADING / IMPROVING.
This mirrors how many investors use “sector rotation” and RRG to stay in stronger groups and reduce exposure in weakening ones.
***
## Disclaimers
- This script is for **educational and analytical purposes only** and is **not financial advice or a recommendation** to buy/sell any security.
- **Relative Rotation Graphs® / RRG®** and the four‑quadrant concept belong to **Julius de Kempenaer and RRG Research**; this Pine implementation is an independent, simplified adaptation for one symbol vs a benchmark and is **not an official RRG product or library**.
週期
Advanced Volume & Price Heatmap (Fixed)Work in Progress. Used AI to help me code. Not really sure it worked very well. I need to run it through Cursor and make it cleaner and better.
TCT - Daylight Saving TimeVisualize Daylight Saving Time (DST) transitions on your charts. This indicator marks the spring forward (2nd Sunday of March) and fall back (1st Sunday of November) dates with vertical lines and optional labels.
Features:
Automatic DST detection for US time zones
Customizable line color, width, and style (solid, dashed, dotted)
Optional date labels on transition days
Multiple timezone support: US Eastern, Central, Mountain, Pacific, London, Paris, Tokyo, Sydney
Extends lines across the chart
Memory-efficient (manages up to 100 lines/labels)
Use Cases:
Identify potential market behavior shifts around DST transitions
Track time changes that may affect trading sessions
Plan trades around known time adjustments
Historical analysis of DST impact on price action
Perfect for traders who want to see when clocks change and how it might affect market dynamics. Customize the appearance to match your chart style.
bcon's bemas (5,8,13,21)simple ribbin i use for scalps. the 5 8 13 and 21 ema. like to see them lined up when i see a cross thats my sign to take profit
Confluence Retournement Haussier - Ultimate V1This indicator was originally designed to visualize the right moment to enter a position. I buy stocks when they are falling, at the bottom before they rebound.
The 30‑minute chart with its 100 EMA was used as the baseline, but it can be applied to multiple timeframes. I even used it on a 1‑second chart for a ticker, and when there is volume it works wonderfully.
It’s up to you to check whether it fits the ticker you’re analyzing by testing it on historical data.
Drawback: it takes up screen space. Feel free to improve it.
See a ticker in freefall and wonder whether it’s a good time to buy or if it will keep falling? Switch your chart to 30 minutes and watch for triangles and green circles to start appearing.
You could call it momentum. Your background begins to show color when there is confluence. If it stays black, don’t buy.
Already in the trade and the screen turns black? Sell, and wait for the colors to return before buying back in
Interest Rate ExpectationsThis indicator shows how much rate cuts or hikes are currently priced into SOFR futures. You choose two SOFR contracts and the script converts each contract price into basis points relative to the current effective fed funds rate. This gives you a very clear view of how policy expectations shift over time.
You can switch between using a fixed EFFR value or pulling the live EFFR ticker. Colours for each line and label are fully adjustable. The script also includes an optional grid for the plus or minus 25, 50 and 75 basis point levels so the chart does not zoom out too far.
Labels appear at the end of both lines and display how many basis points of cuts or hikes are priced for each contract. A small reference box is added on the chart to remind you what each quarterly code represents. For example H is March and Z is December.
The background shading highlights changes in the timing of cuts. Green shading means the market is pushing cuts further out in time. Red shading means cuts are being pulled closer. This gives a simple and visual way to track how the curve reprices near term versus long term policy expectations.
This tool is useful for anyone tracking fed path repricing, front end volatility, macro catalysts or cross asset rate sensitivity.
LTD Buy/Sell With Trend V3.9 (No Signal Table)This indicator is based upon Stoch, MACD and RSI overbought/oversold levels. In addition some 200 EMAs are added for trend confirmation. Some more features will be added on next version
Here are the following features it have
- Multiple EMAs filter added for trend based signals only
- Added Pullback Protection with volume
- Added Buy only or Sell only filters
The Quantum Leap: Renko + ML(Note: This indicator uses the BackQuant & SuperTrend which takes a 4-5 seconds to load)
This strategy uses the following indicators (please see source code)
Synthetic Renko: Ignores time and focuses purely on price movement to detect clear trend reversals (Red-to-Green).
ATR (Average True Range): Measures volatility to calculate the Renko brick sizes and SuperTrend sensitivity.
Adaptive SuperTrend: A trend filter that uses volatility clustering to confirm if the market is currently in a "Bearish" state.
RSI (Relative Strength Index): A momentum gauge ensuring the asset is "Oversold" (exhausted) before we consider a setup.
Monthly Pivots: Horizontal support lines based on last month's data acting as price "floors" (S1, S2, S3).
SMA (Simple Moving Average): A 100-bar average ensuring we are strictly buying below the long-term mean (deep value).
BackQuant (KNN): A Machine Learning engine that compares current data to historical patterns to predict immediate momentum.
This is a sophisticated, multi-stage strategy script. It combines "Old School" price action (Renko) with "New School" Machine Learning (KNN and Clustering).
Here is the high-level summary of how we will break this down:
Topic 1: The "Bottom Hunter" Setup. How the script uses Renko bricks and aggressive filtering (SuperTrend, SMA, RSI, Pivots) to find a potential market bottom.
Topic 2: The ML Engine (BackQuant & SuperTrend). How the script uses K-Nearest Neighbors (KNN) to predict momentum and Volatility Clustering to adjust the SuperTrend.
Topic 3: The "Leap" Execution. How the script synchronizes the Setup (Topic 1) with the ML Trigger (Topic 2) using a time window.
Topic 1: The "Bottom Hunter" Setup
This script is designed as a Mean Reversion strategy (often called "catching a falling knife" or "bottom fishing"). It is trying to find the exact moment a downtrend stops and reverses.
Most strategies buy when price is above the 200 SMA or above the SuperTrend. This script does the exact opposite.
The Logic:
Renko Bricks: It simulates Renko bricks internally (without changing your chart view). It waits for a specific pattern: A Red Brick followed immediately by a Green Brick (a reversal).
The "Bearish" Filters: To generate a "WATCH" signal, the following must be true:
Price < SuperTrend: The market must officially be in a downtrend.
Price < SMA: Long-term trend is down.
Price < Monthly Pivot: Price is deeply discounted.
RSI < Threshold: The asset is oversold (exhausted).
Recommended Settings for daily signals for Stocks :
Confirmation : 10. (How many bars after Renko Buy signal the AI has to identify a bullish move).
Percentage : 2 (This is the Renko bar size. This represents 2% move.)
SMA: 100 (Signal must be found below 100 SMA)
Price must be below: PIVOT (This is the monthly Pivot levels)
Sequential SMT + TCISD DeeptradeiqShort description. Educational indicator for studying Quarterly Theory Sequential smt concepts and True Change in State of Delivery across multiple timeframes.
FULL DESCRIPTION:
📊 Overview
An educational tool designed for studying Quarterly Theory Sequential concepts and temporal price analysis. This indicator visualizes divergence patterns between correlated instruments and tracks time-based price structures for analytical and learning purposes.
🔍 Key Features
Multi-Timeframe Analysis: Three modes - Quarters (6h), Sub-Quarters (90m), and Micro-Quarters (22.5m)
Sequential smt Divergence Visualization: Compare two instruments to study sequential divergence concepts with visual markers and invalidation tracking
True Change in State of Delivery (TCISD): Pattern identification with reference levels showing potential delivery state transitions
Customizable Visuals: Period boxes, high/low labels, color schemes, line styles, and information table
Timezone Support: DST-aware calculations for accurate period detection
⚙️ How It Works
The indicator divides trading sessions into time-based periods and tracks price extremes for each period. It compares the current instrument with a second pair (default: EURUSD) to identify when their price structures diverge sequentially - a key concept in Quarterly Theory education. Visual markers, lines, and labels help identify these patterns for study purposes.
🎯 Educational Applications
Study Quarterly Theory Sequential concepts in live market conditions
Understand temporal price structures and their characteristics
Analyze correlation and divergence between related instruments
Observe True Change in State of Delivery pattern formations
Practice pattern recognition and chart reading skills
Learn how price structures evolve across different timeframes
🛠️ Customization Options
Select analysis timeframe mode (Quarters/Sub-Quarters/Micro-Quarters)
Choose comparison pair for sequential analysis
Toggle visual elements (boxes, labels, lines, table)
Customize colors, styles, and sizes to match your chart theme
Show/hide invalidation markers and reference levels.
⚠️ IMPORTANT DISCLAIMER
This indicator is provided strictly for EDUCATIONAL and ANALYTICAL purposes. It does NOT provide trading signals, financial advice, or investment recommendations.
All patterns and markers are for study and observation only
Past price structures do not predict future movements
No guarantee of accuracy or profitability
Users must conduct independent analysis and risk assessment
All trading involves substantial risk of loss
Seek professional financial advice before making investment decisions
The creator assumes NO responsibility for trading decisions or financial outcomes from using this tool. This is a learning instrument - not a trading system.
Мой скриптinputs:
window(1),
type(0), // 0: close, 1: high low, 2: fractals up down, 3: new fractals
persistent(False),
exittype(1),
nbars(160),
adxthres(40),
nstop(3000);
vars:
currentSwingLow(0),
currentSwingHigh(0),
trailStructureValid(false),
downFractal(0),
upFractal(0),
breakStructureHigh(0),
breakStructureLow(0),
BoS_H(0),
BoS_L(0),
Regime(0),
Last_BoS_L(0),
Last_BoS_H(0),
PeakfilterX(false);
BoS(window,persistent,type,Bos_H,BoS_L,upFractal,downFractal,breakStructureHigh,breakStructureLow);
//BOS Regime
If BoS_H <> 0 then begin
Regime = 1; // Bullish
Last_BoS_H = BoS_H ;
end;
If BoS_L <> 0 Then begin
Regime = -1; // Bearish
Last_BoS_L = BoS_L ;
end;
//Entry Logic: if we are in BoS regime then wait for break swing to entry
if ADX(5) of data2 < adxthres then begin
if time>900 and Regime = 1 and EntriesToday(date)= 0 and Last_BoS_H upFractal then buy next bar at market;
end;
if time>900 and EntriesToday(date)= 0 and Regime = -1 and Last_BoS_L>downFractal then
begin
if close < downFractal then sellshort next bar at market;
end;
end;
// Exits: nbars or stoploss or at the end of the day
if marketposition <> 0 and barssinceentry >nbars then begin
sell next bar at market;
buytocover next bar at market;
end;
setstoploss(nstop);
setexitonclose;
Santo Graal SMC-FVGReading Structures (BOS & CHoCH)
BOS (Break of Structure): shows the trend is still rolling.
BOS up → bullish trend.
BOS down → bearish trend.
CHoCH (Change of Character): heads‑up for a possible flip.
CHoCH up → start of an uptrend.
CHoCH down → start of a downtrend.
Playing with FVG (Fair Value Gaps)
The tool auto‑marks the fair value gaps for you.
Entry: when price comes back to fill/mitigate the gap.
Confirmation: if the gap holds, it backs up the trend direction.
Pro tip: when the bands stick tight (purple), buckle up — a big move is about to pop.
HOKO,PSPHOKO is a multifunctional chart-overlay designed to display clean market context and detect PSP (Price-Structure Projection) signals based on candle-body direction differences between the main symbol and two reference indices.
The indicator provides two core features:
1. Header Display (Symbol / Timeframe / Date / Mode System)
HOKO allows full customization of on-chart informational headers, including:
Symbol name
Timeframe (auto-formatted)
Indicator name (HOKO)
Date (Pretty or Numeric)
Multiple layout modes (6 total)
Adjustable text size, alignment, padding, row spacing, and screen position
Dynamic rendering using table objects
This creates a clean and professional display suitable for screenshots, analysis, and multi-chart layouts.
2. PSP Logic (Price Structure Projection)
The PSP engine compares the main chart’s candle direction to two reference symbols (default: ES1! and YM1!).
A violation occurs when the main candle is bullish while the reference candle is bearish, or vice-versa.
The script:
Calculates ATR-based dynamic marker offsets
Stores the last 3 bars
Detects Swing High PSP and Swing Low PSP based on a 3-candle swing structure
Confirms signals only if the middle candle contains a violation
Draws markers above/below the swing point with fully customizable shapes, colors, and sizes
Supports two symbols independently (Symbol 1 / Symbol 2)
Automatically deletes old labels based on a user-defined max-bar limit
This makes PSP easy to visualize and helps identify inflection points where internal weakness or strength appears before price shifts.
Key Features
Clean customizable chart header
Pretty or numeric date formats
Multiple layout modes (vertical or one-line display)
PSP detection from ES/YM divergence logic
Swing-based confirmation for higher-quality signals
Dynamic ATR offset for accurate visual spacing
Lightweight and optimized with automatic cleanup
Works on any market and any timeframe
Purpose
HOKO helps traders quickly understand market context while highlighting potential turning points caused by structural divergence between major indices. It is ideal for intraday traders using ICT-style logic, smart money concepts, or divergence-based confirmation models.
YCGH Crypto ultimate Breakout StrategyAdvanced Momentum Breakout Strategy - Optimized for crypto markets, proven effective on equities
Core Features:
Multi-layered signal generation combining volatility expansion and momentum confirmation
Adaptive risk management with dynamic stops, profit targets, and trailing mechanisms
Systematic position sizing with configurable leverage (designed for perpetual/margin trading)
Volatility regime filters to avoid false breakouts during low-momentum periods
Optional trend alignment for directional bias confirmation
Comprehensive backtesting with realistic slippage and commission modeling
Daily drawdown limits for capital preservation
Performance:
Applicable across multiple timeframes (1H, 4H, Daily)
Works on both spot and derivatives markets
Long and short position capability
Interested in using this strategy? This is a paid service. For access to the complete script and implementation support, email: brijamohanjha@gmail.com
Santo Graal MMAQuick summary: Blue line above and open = buy Blue line below and open = sell Bands stuck together (purple) = get ready, it’s about to blow!
That’s literally it. Stick to these 3 simple rules and this indicator prints money all year long.
Best timeframes (2025):
5min & 15min → mini index, mini dollar, crypto
1h & 4h → crypto (BTC, SOL, ETH) and stocks
Daily → swing trades lasting weeks (crazy profits with just a few trades)
RoseTree M2 IndexM2 Money Supply Indicator with 10-Week Offset
This indicator tracks the expansion and contraction of M2 money supply with a 10-week offset, revealing strong correlation with Bitcoin price action. While other traders rely on standard 108/80 day offsets, our modified approach helps front-run market participants as this relationship has become widely recognized alpha.
Use this in combination with our systematic indicators to:
Project potential medium-term market trends
Position before major liquidity-driven moves
Identify divergences that signal potential trend changes
The indicator provides valuable insight into how expanding/contracting liquidity environments affect crypto markets, giving you a meaningful edge in anticipating broader market direction.
Key Levels v1Key Levels
This comprehensive multi-timeframe indicator provides traders with key price levels and opening ranges across multiple timeframes, designed to identify significant support/resistance zones and market structure.
KEY FEATURES:
📦 Monthly Range Box
- Automatically draws a box capturing the high and low of the first 9 hours of each new month
- Box extends until the next month begins
- Includes an optional mid-line showing the 50% level of the range
- Fully customizable colors, line styles, and background opacity
📊 Multi-Timeframe Open Lines
The indicator plots horizontal lines at the open price of:
- Midnight Open (00:00 session start)
- 4-Hour Open (updates every 4-hour candle)
- Daily Open (true daily candle open)
- Weekly Open (start of trading week)
- Monthly Open (start of new month)
- Yearly Open (start of new year)
🎯 Smart Label System
- Automatic label combining when multiple timeframe opens overlap at the same price
- Clean text labels positioned ahead of current price to avoid obstruction
- Labels show combined timeframes (e.g., "Monthly Open / Weekly Open")
⚙️ Customization Options
Each timeframe open line includes:
- Toggle on/off independently
- Custom color selection
- Line style options (Solid, Dashed, Dotted)
- Organized settings grouped by timeframe for easy navigation
🔧 Technical Implementation
- Uses request.security() for accurate higher timeframe data
- Works on any chart timeframe
- Lines extend 10 bars beyond current price for clear label visibility
- Efficient overlap detection prevents duplicate labels
IDEAL FOR:
✓ Identifying key institutional levels
✓ Trading range breakouts
✓ Multi-timeframe analysis
✓ Support and resistance zones
✓ Session-based trading strategies
All settings are organized chronologically from shortest to longest timeframe for intuitive configuration.
Pulse by RoseTreePulse by RoseTree is a dynamic stock/cash allocation indicator that answers the essential question: "How much should I have in stocks right now?"
It outputs a percentage from 0-100% representing suggested equity exposure—a reading of 75% means 75% stocks and 25% cash/bonds. The indicator synthesizes five key market dimensions: Regime (trend strength and market structure), Risk (volatility and drawdown management), Valuation (P/E, equity risk premium, shareholder yield), Sentiment (VIX term structure and fear/greed dynamics), and Macro (yield curves, credit spreads, financial stability). Each factor is weighted and blended into a single actionable signal. A built-in Crisis Detection System automatically reduces exposure when multiple stress indicators trigger—including VIX spikes, rapid drawdowns, credit spread blowouts, and correlated stock/bond selloffs. The indicator classifies markets into six regimes: Strong Bull, Bull Market, Neutral, Correction, Bear Market, and Crisis. Four approach modes (Conservative, Balanced, Aggressive, Adaptive) let you match the signal to your risk personality. The on-chart dashboard displays real-time metrics including VIX, market drawdown, P/E ratio, equity risk premium, ROE, and individual component scores. Built-in alerts notify you of allocation threshold crossings, regime changes, and crisis events. Data is pulled automatically from SPY, VIX, Treasury yields, credit ETFs (HYG/LQD), TLT, gold, and dollar index. Eight color themes are included with dark/light mode support. Best used on daily timeframe for strategic allocation decisions.
RoseTree BTC Macro LiquidityThis indicator identies good entry and exit points for Bitcoin by comparing its market cap to the total global M2 money supply, while also factoring in macroeconomic trends.
Why It's Unique
- Combines macro liquidity (M2) with BTC valuation.
- Not price-based — more about where BTC stands in the bigger economic picture.
- Useful for long-term, macro-aware investors looking for timing signals aligned with monetary expansion.
✅ Buy Signal (Green Triangle Below Bar)
M2 is expanding (liquidity increasing), AND
Bitcoin is undervalued compared to its historical relationship to M2
→ Suggests potential upside, triggers a green triangle below the bar.
❌ Sell Signal (Red Triangle Above Bar)
Bitcoin is significantly above its historical average share of M2
→ Suggests overvaluation or a short-term top, triggers a red triangle above the bar.
What is Global M2 Money Supply? (GLM2)
M2 is a measure of money supply, including cash, checking deposits, and easily convertible near money.
This indicator manually aggregates M2 values from numerous countries and converts them into USD equivalents using exchange rates.
The countries include the US, EU, UK, China, India, Japan, Brazil, and many others — totaling over 20.
This tells you how large Bitcoin is relative to the global money supply, giving a sense of its macroeconomic footprint or potential room to grow.
Color Trend Reversal by [Orthodox777]Provides a reversal signal (arrow + “LONG” or “SHORT”) when the trend changes.
Can be used for swing trading, intraday trading, or scalping.
HTCTS - Session & Time LiquidityHTCTS - Session & Time Liquidity
1. ภาพรวมการทำงาน (Overview)
อินดิเคเตอร์ตัวนี้ทำหน้าที่ 4 อย่างหลักพร้อมกัน:
Auto DST (ปรับเวลาตามฤดูอัตโนมัติ): คุณไม่ต้องมานั่งแก้เวลาเมื่อตลาดต่างประเทศเปลี่ยนเวลา (Daylight Saving Time) เพราะโค้ดอ้างอิง Timezone ของตลาดนั้นๆ โดยตรง (เช่น NY ใช้ America/New_York)
Session Bars: แสดงแถบสีเล็กๆ ด้านล่างจอเพื่อบอกว่าตอนนี้อยู่ใน Session ไหน (Asia, London, NY AM, NY PM, Thai) แทนการถมสีพื้นหลังซึ่งอาจจะรกตา
High/Low Levels & Sweeps: เมื่อจบ Session โปรแกรมจะตีเส้น High และ Low ของช่วงเวลานั้นทิ้งไว้ ถ้ากราฟวิ่งไปชนเส้นเหล่านั้น (Breakout/Sweep) เส้นจะเปลี่ยนเป็นเส้นประและขึ้นข้อความว่า "(Swept)"
1. Indicator Overview and Purpose (ICT/SMC Framework)
This custom Pine Script indicator is designed specifically for traders utilizing ICT (Inner Circle Trader) or SMC (Smart Money Concepts) methodologies. Its primary function is to simplify the analysis of Time & Price by automatically defining and tracking key market sessions, their resulting liquidity levels (High/Low), and detecting liquidity sweeps (Stop Hunts).
The indicator is designed to be Zero-Maintenance regarding time zones, as it automatically adjusts for Daylight Saving Time (DST) changes in major financial centers (London, New York).
2. Key Features and Logic
A. Automatic DST Handling (Auto-DST)
The script uses specific, location-based time zones for global markets instead of a fixed GMT/UTC offset.
Asia: Uses Asia/Tokyo.
London: Uses Europe/London (Automatically adjusts for BST).
New York (AM/PM): Uses America/New_York (Automatically adjusts for EST/EDT).
This guarantees that the session times displayed on your chart (regardless of your local time, e.g., Thailand GMT+7) always align with the actual opening and closing moments of the corresponding financial market.
Institutional 50: The Truth TellerOverview This is a comprehensive "Fusion Strategy" overlay designed to filter out false breakouts and catch high-probability trends. It upgrades the classic EMA 50 Cross Strategy by "locking" the signal with Institutional Volume Flow (VFI) and adding an automated Fibonacci safety guard.
The Problem Standard moving average strategies often fail in two scenarios:
Fakeouts: Price crosses the line, but there is no real volume backing the move.
Choppy Markets: The price dances around the line, generating multiple false signals.
The Solution: Triple-Layer Filtering This indicator solves these issues using a strict logic:
The Trigger (EMA 50): The primary signal is generated when price crosses the EMA 50.
The Lock (VFI Filter): A signal is ONLY valid if the Volume Flow Indicator (VFI) confirms the direction (Positive for Buy, Negative for Sell). If price crosses but VFI disagrees, the line turns GRAY, warning of a "Empty Rally" or "Bear Trap."
The Safety (Fib Guard): The system automatically draws invisible Fibonacci retracement levels based on recent price action. If a trend reverses and breaks the Golden Ratio (0.618), a Yellow Warning Arrow appears, signaling a potential trend failure.
Anti-Chop Filter: It calculates the slope of the EMA. If the market is flat/ranging, the line turns WHITE and signals are suppressed.
Visual Guide & Legend
🟢 Green Line + BUY Label: Confirmed Uptrend (Price > EMA 50 + Positive Institutional Volume).
🔴 Red Line + SELL Label: Confirmed Downtrend (Price < EMA 50 + Negative Institutional Volume).
⚪ Gray Line: CAUTION. Price has crossed the EMA, but Volume does NOT confirm. Do not enter.
⬜ White Line / Background: CHOP ZONE. The market is ranging/flat. No trades.
⚠️ Yellow Arrows (EXIT?): The price has moved against the trend and broken key Fibonacci Support/Resistance. Consider tightening stops or exiting.
Best For:
Trend Following on 1H, 4H, and Daily timeframes.
Traders looking to filter out "Noise" and focus only on Volume-Backed moves.
Sniper 50: VFI Lockedבבקשה. הנה תיאור מקצועי, חד וברור באנגלית עבור האינדיקטור הסופי שבנינו (Sniper 50: VFI Locked). זה כתוב בצורה שמתאימה לפרסום ב-TradingView או לשיתוף עם סוחרים אחרים, ומסביר בדיוק את ה"מוח" מאחורי המערכת.
תעתיק את זה:
Name:
Sniper 50: VFI Locked & Fib Guard
Description:
Overview This is a comprehensive "Fusion Strategy" overlay designed to filter out false breakouts and catch high-probability trends. It upgrades the classic EMA 50 Cross Strategy by "locking" the signal with Institutional Volume Flow (VFI) and adding an automated Fibonacci safety guard.
The Problem Standard moving average strategies often fail in two scenarios:
Fakeouts: Price crosses the line, but there is no real volume backing the move.
Choppy Markets: The price dances around the line, generating multiple false signals.
The Solution: Triple-Layer Filtering This indicator solves these issues using a strict logic:
The Trigger (EMA 50): The primary signal is generated when price crosses the EMA 50.
The Lock (VFI Filter): A signal is ONLY valid if the Volume Flow Indicator (VFI) confirms the direction (Positive for Buy, Negative for Sell). If price crosses but VFI disagrees, the line turns GRAY, warning of a "Empty Rally" or "Bear Trap."
The Safety (Fib Guard): The system automatically draws invisible Fibonacci retracement levels based on recent price action. If a trend reverses and breaks the Golden Ratio (0.618), a Yellow Warning Arrow appears, signaling a potential trend failure.
Anti-Chop Filter: It calculates the slope of the EMA. If the market is flat/ranging, the line turns WHITE and signals are suppressed.
Visual Guide & Legend
🟢 Green Line + BUY Label: Confirmed Uptrend (Price > EMA 50 + Positive Institutional Volume).
🔴 Red Line + SELL Label: Confirmed Downtrend (Price < EMA 50 + Negative Institutional Volume).
⚪ Gray Line: CAUTION. Price has crossed the EMA, but Volume does NOT confirm. Do not enter.
⬜ White Line / Background: CHOP ZONE. The market is ranging/flat. No trades.
⚠️ Yellow Arrows (EXIT?): The price has moved against the trend and broken key Fibonacci Support/Resistance. Consider tightening stops or exiting.
Best For:
Trend Following on 1H, 4H, and Daily timeframes.
Traders looking to filter out "Noise" and focus only on Volume-Backed moves.
Weekly Separator - JammalWeekly Separator - Jammal
This script draws a clean and minimal weekly separator for better chart structure and visual clarity.
Every time a new trading week begins, the script automatically places a vertical dotted gray line extending across the entire chart.
Features:
Automatic weekly detection
Clean dotted vertical line
Light gray color to avoid clutter
Works on all timeframes
Helps identify weekly structure & price flow
Designed for traders who want a simple, non-intrusive weekly separator.
Enjoy and happy trading!






















