Nifty 50 Weighted Volume IndicatorThis takes the volume of the cash market as per the composite weighted average of the Nifty 50 Components.
You can use this at your discretion to take calls on Index trades.
อินดิเคเตอร์และกลยุทธ์
Short TimeFrame MAs with momentum cloudsThis indicator displays multiple moving averages to help identify short- and mid-term trends.
It includes four SMAs (9, 50, 150, 200) and two EMAs (21, 55) with color changes showing bullish or bearish momentum.
The area between the EMAs is filled to highlight trend direction.
An optional smoothing layer lets you apply different MA types or Bollinger Bands for additional clarity.
It’s designed to give a clear visual of overall trend strength, direction, and volatility on any timeframe.
Choppiness Index | CipherDecodedThe Choppiness Index is a multi-timeframe regime indicator that measures whether price action is trending or consolidating.
This recreation was inspired by the Choppiness Index chart from Checkonchain, with full credit to their team for the idea.
🔹 How It Works
CI = 100 * log10( SUM(ATR(1), n) / (highest(high, n) – lowest(low, n)) ) / log10(n)
Where:
n – lookback length (e.g. 14 days / 10 weeks / 10 months)
ATR(1) – true-range of each bar
SUM(ATR(1), n) – total true-range over n bars
highest(high, n) and lowest(low, n) – price range over n bars
Low values → strong trend
High values → sideways consolidation
Below is a simplified function used in the script for computing CI on any timeframe:
f_ci(_n) =>
_tr = ta.tr(true)
_sum = math.sum(_tr, _n)
_hh = ta.highest(high, _n)
_ll = ta.lowest(low, _n)
_rng = _hh - _ll
_rng > 0 ? 100 * math.log10(_sum / _rng) / math.log10(_n) : na
Consolidation Threshold — 50.0
Trend Threshold — 38.2
When Weekly CI < Trend Threshold, a trending zone (yellow) appears.
When Weekly CI > Consolidation Threshold, a consolidation zone (purple) appears.
Users can toggle either background independently.
🔹 Example Background Logic
bgcolor(isTrend and Trend ? color.new(#f3e459, 50) : na, title = "Trending", force_overlay = true)
bgcolor(isConsol and Cons ? color.new(#974aa5, 50) : na, title = "Consolidation", force_overlay = true)
🔹 Usage Tips
Observe the Weekly CI for regime context.
Combine with price structure or trend filters for signal confirmation.
Low CI values (< 38) indicate strong trend activity — the market may soon consolidate to reset.
High CI values (> 60) reflect sideways or range-bound conditions — the market is recharging before a potential new trend.
🔹 Disclaimer
This indicator is provided for educational purposes.
No trading outcomes are guaranteed.
This tool does not guarantee market turns or performance; it should be used as part of a broader system.
Use responsibly and perform your own testing.
🔹 Credits
Concept origin — Checkonchain Choppiness Index
Aegis Swing ProjectionHorizonCurve — Swing Projection 📈✨
Type: Overlay forward projection
Best on: Liquid markets, mid-TFs (5m–4h) 🕒💧
What it does 🔮
Projects a smooth future path to the right of the last candle by blending:
Drift (trend) ➜ linear-regression slope 📐
Swing (cycle) ➜ phase-locked sine wave 🎛️
Pull (mean reversion) ➜ gravity to EMA Fast 🧲
Segments color by direction:
🟢 up, 🔴 down, 🟠 flat
If market validity is weak, lines become dashed (shadow mode) ➖ to show a low-confidence what-if path.
Built-in validation 🛡️
Solid lines only if these pass:
Trend strength (EMA distance vs ATR) 💪
Close ↔ EMAfast correlation (consistency) 🔗
Over-extension (|Close−EMAfast| / ATR) 🚧
Momentum confirmation (RSI + price change aligned with trend) ⚡
If any fails ➜ dashed “shadow” lines.
Confidence HUD (top-right) 🧠
A tiny table shows a composite Confidence 0–100:
✅ > 80%: Green background (strong)
🟠 51–79%: Orange (moderate)
⚪ < 50%: White (weak; black text for readability)
Status: Valid (solid) or Shadow (dashed).
Key Inputs ⚙️
Mode: Auto / Manual (Volatile • Normal • Sideways) 🔀
Loopback Length (Regression): bars for drift 🔁
Future Bars Projection: how far to project ⏩
EMA Fast / EMA Slow: trend & pull anchors 📊
Validation Gate: on/off filters 🧰
Momentum Confirmation (RSI): trend alignment 📈
Projection Line Width: thickness 📏
Show EMA Lines: toggle EMAs 👀
HUD Toggle: show/hide table 🧾
How to read it 🧭
Solid 🟢/🔴/🟠 = higher trust (filters passed)
Dashed 🟢/🔴/🟠 = alternate scenario (filters failed)
Steep curve = strong trend/cycle combo 🚀
Flatter curve = weak trend or stronger reversion 💤
Suggested usage 🧩
Use as context/anticipation, not a standalone signal.
Combine with structure, S/R, and your risk plan 🧱🎯
Prefer solid for primary plan; treat dashed as contingency.
Tune Future Bars to timeframe (e.g., 20–60 intraday, 10–30 higher TF).
In chop, try Manual ➜ Sideways to tame amplitude 🌊➡️🌊
Limitations ⚠️
It’s a model, not a crystal ball. News/gaps can break patterns 🗞️⚡
Curve doesn’t repaint historically, but re-anchors each new bar to project forward 🔁
Quick presets 🧪
Intraday volatile (5–15m): Loopback 80–120, Future 30–50, Volatile
Normal trend (15m–1h): Loopback 80, Future 30–40, Auto
Sideways: Sideways mode, Future 20–30
mean reversion Spread Z-Score Your main "actor" is the Blue Line 🔵 (the Z-Score). It tells you if your spread is "expensive" or "cheap" compared to its average.
The other lines are your action zones.
Here is how to read the signals:
Scenario 1: SELL the Spread (The spread is TOO EXPENSIVE)
• ENTRY Signal: The Blue Line 🔵 moves up and crosses the Red Line 🔴 (at +1.8).
• Meaning: MNQ has become far too expensive compared to MES. The rubber band is stretched too far upwards.
• Your Action (Sell):
• ✅ SELL MNQ
• ✅ BUY MES
• EXIT Signal: The Blue Line 🔵 comes back down and crosses the Dotted Red Line (at +0.5).
• Meaning: The rubber band is back to normal. It's time to take your profits.
• Your Action (Close):
• ✅ BUY BACK your MNQ
• ✅ SELL your MES
Scenario 2: BUY the Spread (The spread is TOO CHEAP)
• ENTRY Signal: The Blue Line 🔵 moves down and crosses the Green Line 🟢 (at -1.8).
• Meaning: MNQ has become far too cheap compared to MES. The rubber band is stretched too far downwards.
• Your Action (Buy):
• ✅ BUY MNQ
• ✅ SELL MES
• EXIT Signal: The Blue Line 🔵 moves back up and crosses the Dotted Green Line (at -0.5).
• Meaning: The rubber band is back to normal. It's time to take your profits.
• Your Action (Close):
• ✅ SELL your MNQ
• ✅ BUY BACK your MES
In summary:
• Blue Line 🔵 touches Red Line 🔴 = Sell the spread.
• Blue Line 🔵 touches Green Line 🟢 = Buy the spread.
GHOST SUPER EMAThis indicator i have created to trade Nifty weekly position option trading and can be used for different trading style and uses
uses 2 supertrend and ema(20)
HV-SMA DeltaHistorical Volatility with SMA Multiplier
Concept
This indicator acts as a "volatility explosion meter" for the market. Its core principle is to compare the current volatility with its historical average to detect moments when the market begins to "swing" with significantly more force.
The main components are as follows:
① Historical Volatility (HV) This line is an indicator of the current price volatility.
If this line moves higher, it means the price is swinging wildly (high volatility).
If this line is low, it means the price is calm or moving within a narrow range (low volatility).
② SMA x Multiplier This line functions as a "threshold" or "volatility resistance" level. It is calculated from the moving average of past volatility and then multiplied by an adjustable number (smaMultiplier) to create an upper band. In simple terms, this line tells us: "Normally, volatility should not exceed this level."
③ Difference (Histogram) This is the result of subtracting the Threshold Line (②) from the HV value (①).
Appear when the HV breaks above the threshold line. This signals that "volatility has now spiked significantly above its historical average."
Appear when the HV is still below the threshold line. This indicates that volatility remains at a normal or below-average level.
.
.
How to Use
This indicator does not tell you the direction of the price. Instead, it indicates the "power" or "momentum" of the movement. Therefore, it should always be used in conjunction with other tools to confirm the direction.
① Look for "Volatility Breakout" signals.
② Use it to confirm the strength of a trend.
③ Use it for risk management.
You can try adjusting the smaLength and smaMultiplier values in the indicator's settings to fit the specific asset and timeframe you are trading. More volatile assets may require a higher Multiplier.
-----------------------------------------------------------
หลักการทำงาน (Concept)
Indicator ตัวนี้เป็น "เครื่องวัดการระเบิดของความผันผวน" ในตลาด
โดยแกนหลักเป็นการเปรียบเทียบความผันผวนในปัจจุบันกับความผันผวนโดยเฉลี่ยในอดีต
เพื่อหาจังหวะที่ตลาดเริ่ม "เหวี่ยง" แรงขึ้นอย่างมีนัยสำคัญ
ส่วนประกอบหลักๆ มีดังนี้:
① Historical Volatility (HV)
เส้นนี้คือตัวชี้วัดความผันผวนของราคา ณ ปัจจุบัน
ถ้าเส้นนี้วิ่งขึ้นสูง แปลว่าราคากำลังแกว่งตัวรุนแรง (ผันผวนสูง)
ถ้าเส้นนี้อยู่ต่ำ แปลว่าราคานิ่งๆ หรือเคลื่อนไหวในกรอบแคบๆ (ผันผวนต่ำ)
② SMA x Multiplier
เส้นนี้ทำหน้าที่เป็น "เส้นเกณฑ์" หรือ "แนวต้านของความผันผวน"
ถูกคำนวณมาจากเส้นค่าเฉลี่ยของความผันผวนในอดีต
แล้วคูณด้วยตัวเลข Adjustable (sma-Multiplier) เพื่อสร้างเป็นกรอบบน
พูดง่ายๆ คือ เส้นนี้บอกเราว่า "โดยปกติแล้ว ความผันผวนไม่ควรจะเกินระดับนี้"
③ Difference (Histogram)
เป็นผลลัพธ์จากการนำค่า HV ข้อ ① มาลบกับ เส้นเกณฑ์ ข้อ ②
เกิดขึ้นเมื่อ HV ทะลุเส้นเกณฑ์ขึ้นไป
เป็นสัญญาณว่า ณ ตอนนี้ "ความผันผวนได้พุ่งสูงกว่าค่าเฉลี่ยในอดีตอย่างมีนัยสำคัญ"
เกิดขึ้นเมื่อ HV ยังอยู่ต่ำกว่าเส้นเกณฑ์
บอกว่าความผันผวนยังอยู่ในระดับปกติหรือต่ำกว่าค่าเฉลี่ย
.
.
วิธีการนำไปใช้ (How to Use)
Indicator ตัวนี้ ไม่ได้บอกทิศทางของราคา
แต่จะบอก "พลัง" หรือ "โมเมนตัม" ของการเคลื่อนไหว
เราจึงควรใช้มันร่วมกับเครื่องมืออื่นเพื่อยืนยันทิศทางเสมอ
① มองหาสัญญาณ "การระเบิดของราคา" (Volatility Breakout)
② ใช้ยืนยันความแข็งแกร่งของเทรนด์
③ ใช้ในการบริหารความเสี่ยง
สามารถลองปรับค่า smaLength และ smaMultiplier ในการตั้งค่า Indicator
เพื่อให้เข้ากับสินทรัพย์และ Timeframe ที่เทรดได้นะ
สินทรัพย์ที่เหวี่ยงแรงๆ อาจต้องใช้ Multiplier ที่สูงขึ้น เป็นต้น
30-Week SMA (Fixed)This indicator plots a true 30-week Simple Moving Average (SMA) on any chart, regardless of the selected timeframe.
It uses weekly candle data (via the request.security() function) to calculate the 30-week average and keeps it fixed — meaning the line remains accurate even when you switch to daily, 4-hour, or other timeframes.
The 30-week SMA is a cornerstone of Stan Weinstein’s Stage Analysis strategy, commonly used to identify major trend phases:
Above a rising SMA → bullish (Stage 2 uptrend)
Below a falling SMA → bearish (Stage 4 downtrend)
Use this indicator to maintain a consistent long-term trend filter on all timeframes
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
Overnight Gap Detector - 4H Body to BodyThis TradingView indicator automatically detects and tracks overnight price gaps based on 4-hour candle bodies, displaying them as colored rectangles on your chart.
Key Features:
Gap Detection:
Identifies true wick-to-wick gaps that occur at the start of each new trading day
Gap Up: Detected when previous candle's high is below current candle's low
Gap Down: Detected when previous candle's low is above current candle's high
Rectangles are drawn from candle body to body (not wicks), providing clean gap zones
Gap Tracking:
Gaps are marked as "GAP HOLE" when first detected
Automatically tracks when gaps get filled
Changes to "FILLED" label and color when price closes through the gap zone
Gaps extend horizontally until filled or chart end
Customizable Display:
Label Position: Choose between "Inside" (centered in box) or "Outside" the gap rectangle
Label Offset: Adjust how far from the right edge labels appear (0-50 bars)
Minimum Gap Size: Filter out small gaps by setting minimum percentage threshold (default 0.05%)
Max Stored Gaps: Control how many gaps are kept on chart (default 200)
Visual Options:
Optional midline showing the 50% fill level of each gap
Fully customizable colors for Gap Up, Gap Down, and Filled gaps
Separate transparency controls for box backgrounds and label backgrounds
Adjustable border and midline widths
Toggle labels and midlines on/off
Color Coding:
Green: Gap Up (default)
Red: Gap Down (default)
Yellow: Filled gaps (default)
Perfect for traders who use gap-fill strategies or want to track key price levels where gaps occurred
MAG Support Resistance Lines⚡ MAG Support Resistance Lines
💡 MAG S/R maps high-probability intraday reversal zones derived from directional magnitude — letting you trade where structure and liquidity truly converge.
🔍 Purpose
Automatically detects dynamic support and resistance zones using a Magnitude Bias Line — a proprietary directional-strength model built from historical price behavior.
Optimized for 1m–15m intraday charts to highlight high-impact support and resistance areas.
🧭 How It Works
Magnitude Bias Line – Computes a long-length bias curve that smooths directional flow (default 258 bars).
Pivot Detection – Identifies local highs/lows of this curve to mark potential structural turning points.
These zones DO NOT repaint, meaning the lines you see were plotted before price reached them.
Zones do expire once historic price data fed by TradingView is too far back/no longer available.
Zones should be treated as "nothing" until price action confirms it wants to respect it or continue past it.
Zone Creation –
A zone box is created around each pivot level, providing a visual approximation of potential support or resistance.
Thickness is defined by Box Height % (e.g. 0.0004 ≈ 0.04 %).
Extension & Mitigation – Zones extend forward until a new bias pivot overlaps them; new pivots replace old ones at updated price levels.
⚙️ Key Inputs
Setting | Default | Description
Magnitude Range | 258 | Controls how smooth/strong the Magnitude Bias Line is (larger = fewer zones).
Box Height % | 0.0004 | Fraction of price defining zone height (use 0.0007 on SPX, 0.0004 on ES).
Zone Color / Transparency | Green / 85% | Visual style for zone fill and border.
🕐 Timeframe Guidelines
Fitted for 1m → 15m charts. Future updates may allow higher timeframes.
If loaded outside this range, a red label reminder will appear.
🎯 Usage Tips
Watch price action for reversals or continuations at each zone. Price may V-rebound from a zone or punch through then retest the opposite side before continuing.
Utilize next zone as a TP or SL depending on your strategy rules.
Combine with VWAP, Expected Move bands, or Gamma levels for confluence.
Adjust Box Height % to match current volatility.
If you see a specific indicator that pairs well with this one, please let other's know in the comments! Together we find success and I am forever grateful to the trading communities that shared knowledge with me!
⚠️ Disclaimer (NIF)
This tool is for research and informational purposes only (Not Investment or Financial advice).
Trading involves risk; users should exercise independent judgment before making financial decisions.
PheeTrades - Value Area Levels (VAH / VAL / POC Visualizer)This script helps traders quickly visualize key Volume Profile–style levels such as Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC) using recent price and volume data.
While TradingView’s built-in Volume Profile tool is great for manual analysis, this indicator automatically calculates and plots approximate value zones directly on your chart — ideal for traders who want to identify high-probability support and resistance areas without drawing a fixed range every time.
Features:
Calculates short-term VAH, VAL, and POC based on a user-defined lookback period.
Plots color-coded levels for quick visual reference.
Helps identify “fair value” zones where most trading activity occurred.
Useful for detecting breakout or mean-reversion opportunities around value extremes.
How to use:
Apply the script to any chart and set your preferred lookback period.
VAH (red line): potential upper resistance or overbought zone.
VAL (green line): potential lower support or accumulation zone.
POC (orange line): price level with the highest traded activity — often a magnet for price.
Note:
This is a simplified Value Area model meant for educational and analytical use. It does not replace TradingView’s official Volume Profile or broker-level volume distribution data.
ADR Color CodedAbove 1 is green, below 1 is red.
Color coded to provide better visibilty when identifying divergences with volume and price
Power candle v5-------------------------------------------Power candle v5-------------------------------------------------------
-------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5--------------------------------------------------------------------------------------------------Power candle v5-------------------------------------------------------
Supply and Demand Zones (Optimized)Supply and Demand Zones (Optimized)
Overview
The Supply and Demand Zones (Optimized) indicator automatically highlights important price regions where significant buying or selling interest may have appeared in the past. These areas often help traders visualize potential support and resistance zones, making it easier to understand how price reacts within market structure.
Designed for efficiency and accuracy, this version delivers a refined experience for traders who rely on clean, contextual zone mapping across all timeframes.
Features
🔹 Automatic Zone Detection
Dynamically identifies and plots supply and demand zones as the market evolves.
Automatically extends zones forward in time until price interacts with them.
Supports up to 50 recent zones while maintaining smooth chart performance.
🔹 Adaptive Zone Management
Old or inactive zones are removed automatically to reduce chart clutter.
Option to enable overlapping zones (“zone-on-zone”) for deeper structure visibility.
Extended box option for clear visualization of long-standing levels.
🔹 Visual Customization
Fully adjustable colors, transparency, and zone display preferences.
Supply and demand zones are clearly distinguished for quick recognition.
Optimized design ensures reliable display even on lower timeframes.
🔹 Performance and Reliability
Engineered to handle large datasets efficiently without slowing down.
Works seamlessly across all instruments — including stocks, indices, metals, energy, forex, and crypto.
Designed for both historical study and live charting use.
Ideal For
Traders seeking a clear visual representation of key market areas.
Identifying price levels where reactions or reversals may occur.
Supporting existing analysis frameworks with high-quality visual context.
Disclaimer
This indicator is for educational and analytical purposes only. It does not provide trading signals, financial advice, or recommendations. Always perform your own analysis and use proper risk management before making any trading decisions.
Futures Heatmap HTF/LTF🧭 Futures Heatmap HTF/LTF
Multi-timeframe Futures Heatmap that visualizes trend and strength across Indexes, Metals, Energies, and Crypto — all in one clean dashboard.
The Futures Heatmap HTF/LTF provides a comprehensive overview of key futures markets across multiple timeframes.
It visually organizes trend conditions and market performance in a single, easy-to-read dashboard — helping traders quickly identify directional bias and strength across asset groups.
🔍 Overview
This tool scans major futures contracts and displays their current trend status and performance within a color-coded heatmap.
You can instantly compare groups such as Indexes, Metals, Energies, Natural Gas, and Crypto to see which markets are showing strength or weakness relative to their peers.
⚙️ Key Features
📊 Multi-Market Dashboard
Tracks a curated list of popular futures instruments across global markets, grouped by sector.
⏱️ Dual-Timeframe Modes
Switch between:
HTF Mode — for broad directional context
LTF Mode — for shorter-term intraday shifts
📈 Trend Visualization
Each symbol’s cell reflects the current directional condition, helping you interpret whether the market is trending, consolidating, or transitioning.
💡 Relative Strength Assessment
Highlights which assets are leading or lagging within their respective groups — allowing fast visual comparison across correlated markets.
🕒 Session Awareness
Adapts to live market hours and automatically updates readings in real time or at configurable intervals.
🎨 Customization
Adjustable table position and text size
Optional columns for symbols and conditions
Works on any chart or instrument for contextual awareness
⚠️ Disclaimer
This indicator is for educational and informational purposes only.
It does not provide financial advice or guaranteed results.
Always use your own judgment and risk management when trading.
Key Levels All in OneA Clean OHLC Levels Toolkit (with Globex & ATH)
Levels is a highly configurable OHLC levels tool designed to give traders multi-timeframe context without overwhelming the chart. It plots Daily/Weekly/Monthly levels, Globex session extremes, and an All-Time High line—then keeps everything readable with label merging, optional fading, and careful session logic.
How to Use
Choose your sets: Toggle Daily, Weekly, Monthly, Globex, and ATH in Display.
Pick which levels to show: For each set, enable any combination of Open / High / Low / Close, select line style (solid/dashed/dotted), and width.
Trace the origin (optional): “Trace back” draws a subtle line from the level’s origin candle to the right edge.
Tame the clutter: Turn on Label merging and/or ATR-based fading to reduce noise near the current price.
Place the lines where you want them: Use Offset to Left/Right to control how far lines extend.
Scope & scale: Limit how many higher-timeframe sets render and Hide Above a chosen chart interval to keep lower timeframes clean.
Key Features
Daily / Weekly / Monthly HTFs: Plot previous period Open, High, Low, Close with per-level color, style, and width.
RTH-aware daily labels: On Regular Trading Hours charts, the script adds PDH (RTH) and PDL (RTH) variants alongside standard PDH/PDL for precise session context.
Globex session extremes: Automatically tracks Globex High/Low and, auto-hide a level the moment it’s touched during RTH to declutter once the market interacts with it.
All-Time High line: Plot ATH with optional trace-back to the origin bar for quick historical orientation.
Label merging (smart de-duplication): Nearby labels (e.g., PDH / PWH / PMH clustering) can be merged into a single tag showing combined names—and, if enabled, a single price or price range.
Readable labels your way: Toggle bold, numeric size, full names (e.g., “Previous Day High”) vs. tickers like PDH, show/hide price, and optionally match label color to the line color.
Fade distant levels: Reduce transparency for levels beyond a configurable ATR window around the current price to highlight what matters now.
Chart-friendly by design: Choose how many HTF sets can render at once and disable the indicator above a selected timeframe for performance and clarity.
Timeframe & Session Settings
Limit to higher timeframe sets: Cap visible HTF groups (e.g., only the next 1–3 higher sets) for a cleaner stack.
Hide Above: Automatically disable the indicator on charts above a chosen interval (e.g., anything higher than 60m).
Offsets: Offset to Left and Offset to Right control the horizontal span of each line.
Note: There is no “Offset between HTFs”—levels are aligned cleanly; spacing is managed by left/right offsets only.
HTF Controls (per set)
Pick levels: Any combination of O/H/L/C.
Style: Solid / dashed / dotted and width.
Trace back: Optional origin trace (inherit or custom style/size).
Max count: Limit how many back levels are kept per set.
Labels & Merging
Rich formatting: Bold text, numeric size, color & background control, optional price suffix, and full vs. short names.
Merge within threshold: Define a price threshold to bucket nearby labels; the tool produces a single, tidy label (e.g., PDH / PWH / PMH · 4321.25).
Custom merge styling: Separate text and background colors for merged labels.
Fading Levels (ATR-aware)
Change Transparency: Set how much to fade.
Range window: Only levels within X ATRs (X candles’ ATR) of current price retain full opacity.
ATR length: Choose the averaging window used in the calculation.
Kyle凯尔ATR精控引擎2.0What this indicator does
Blends Heikin Ashi smoothing with a Supertrend-style engine and an EMA filter to generate directional flips (Buy/Sell).
Auto-draws Supply/Demand zones with POI (point of interest) and marks BOS (Break of Structure).
Prints ATR-based Entry, Stop Loss, and TP1/TP2/TP3 levels; includes alerts.
Shows two dashboards: trend & momentum panel (top-right) and liquidity snapshot (bottom-right).
Adds auto trendlines and multi-timeframe horizontal S/R for context.
Quick start
Add the indicator to any symbol/timeframe.
Act on a fresh flip:
Long when direction flips Up and price is above EMA.
Short when direction flips Down and price is below EMA.
Look for confluence: reaction at Demand/Supply, BOS, trendline break, horizontal S/R, ADX > 20, supportive RSI and volume.
Manage risk with the ATR targets. Scale at TP1/TP2, let TP3 run (targets can “roll” after TP3 to rid trends).
Set alerts once per bar close for reliability.
How signals are formed
Heikin Ashi reduces noise by averaging price; ATR bands around HA price form two rails.
Direction flips when HA price crosses the opposite rail; EMA filter blocks counter-trend flips.
Buy/Sell signals are only valid on the bar close.
Supply/Demand, POI & BOS
Swing pivots create Supply (red) above and Demand (green) below; each zone shows a POI mdline.
When price breaks a zone boundary, the script stamps BOS at the midline and retires the old zone.
ATR risk targets
On a fresh signal, the tool snapshots Entry, then computes SL and TP1/2/3 as ATR multiples.
When TP3 hits, the module rolls targets from the new price to help ride sustained trends.
Optional on-chart lines + labels show Entry/SL/TPs.
Dashboards (how to read)
Top-right panel:
Direction (Up/Down/Neutral)
Momentum (close vs close 10 bars ago)
RSI(2) smoothed by 7: oversold/overbought cues + value
Volume bias: OBV minus its EMA (>0 = bullish)
ADX: >20 suggests stronger trend conditions
Multi-TF direction: 1m/5m/15m/1h/4h/D; more agreement = stronger setups
Bottom-right panel (“Liquidity”):
HA bias & intensity %, relative volume vs 20-SMA, and ATR.
Overlays
Trendlines auto-connect short/long window extremes; alerts on breaks.
Multi-TF S/R draws recent pivot highs/lows across selected TFs with de-overlapped labels.
Inputs to tune (common)
ATR Period / Multiplier: higher = smoother, fewer flips.
EMA Period: higher = stricter trend filter.
Supply/Demand: pivot sensitivity (swing_length), zone depth (box_width), number of zones to keep.
Risk/Targets: slMultiplier, tp1/2/3Multiplier (in ATRs), line/label toggles, colors.
Dashboards/Overlays: enable, position, size, S/R TFs, label spacing.
Suggested starting points (XAUUSD, intraday)
ATR(14), ATR Mult 1.3–1.6, EMA 9–21.
Risk: SL = 1.0–1.2 ATR; TPs at 1/2/3 ATR.
S/D: swing_length 8–12, box_width ~2–3.
Adjust per instrument and timeframe.
Example playbooks
Trend continuation: Fresh Buy (Up + above EMA) + pullback into Demand or near the midline; ADX > 20 preferred; scale at TP1/TP2, let TP3 run.
BOS retest: After BOS, trade the first retest into the broken area/POI in alignment with higher-TF direction; confirm with volume bias.
Breakout: Combine trendline break + Buy/Sell flip + S/R breach. Avoid low-liquidity hours.
Alerts included
Buy signal / Sell signal
Trendline break (Up/Down)
TP1/TP2/TP3 reached
Use “Once per bar close”.
Risk Management - Stop Loss Distance (Pips)This indicator helps traders estimate an optimal Stop Loss distance in pips based on market volatility (ATR) and a chosen risk percentage.
It does not generate buy or sell signals — it is purely a risk management visualization tool designed for educational and analytical use.
🔧 How it works
Calculates the current ATR (Average True Range) to measure market volatility.
Multiplies ATR by a user-defined factor to suggest a realistic stop-loss distance.
Displays this distance in pips, helping you understand how wide or tight your SL should be.
Optionally draws reference lines above and below the current price to visualize potential SL placement for long and short positions.
⚙️ Inputs
Account Balance (USD): Used for risk visualization.
Risk per Trade (%): Defines the percentage of account balance at risk.
ATR Period: Number of bars used to calculate volatility.
ATR Multiplier for SL: Adjusts how far the SL should be from the entry based on volatility.
Show SL Lines: Toggle visual stop-loss reference lines on or off.
📈 Display
The indicator shows:
Account balance and risk percentage.
Current ATR value.
Suggested stop-loss distance in pips.
Optional SL lines (for visualization only).
⚠️ Disclaimer
This script is for educational and analytical purposes only.
It does not provide financial advice or trade recommendations.
Use it at your own discretion and always manage risk responsibly.
research high low gapthe tool will label the continous candlestick with same low or high
which indicate there was a huge buying or selling limit
the gap up and gap down indicate buying or selling
15min k Candlestick chart or lower time frame
RSI Crypto Strength (Asset vs BTC)The "RSI Crypto Strength" is an advanced analysis tool built on a fundamental pillar of the cryptocurrency market: for an altcoin to achieve exponential bullish performance, it must invariably be and remain stronger than Bitcoin itself.
The primary objective of this indicator is to quantify and reinforce this thesis. It provides a clear and immediate view of the relative strength of any cryptocurrency in direct comparison with the market leader, Bitcoin. This relative strength can be identified on any timeframe. This also reinforces a scenario where a cryptocurrency that is weaker than Bitcoin is prone to sideways movements and downturns.
Key Features
This indicator combines multiple tools into a single solution:
> Dual RSI Plot: Simultaneously visualizes the RSI of the asset on the chart (dynamic) and the RSI of Bitcoin (blue line).
> Strength Delta (Asset vs. BTC): The heart of the indicator. A panel displays the exact difference (Asset RSI - Bitcoin RSI).
- Green: The asset has more RSI strength than Bitcoin.
- Red: The asset has less RSI strength than Bitcoin.
> Dynamic Coloring and Area Fill: The asset's RSI line and the background area automatically change color to highlight critical zones:
- Green (Overbought): RSI above 70.
- Red (Oversold): RSI below 30.
- Orange (Neutral): RSI between 30 and 70.
> Integrated Moving Average: A Moving Average line (gray) is plotted directly on the asset's RSI, serving as a signal line or to smooth momentum. The type (SMA, EMA, WMA, etc.) and period are fully customizable.
> Multi-Timeframe (MTF) Support: You can configure the indicator to display data from a higher timeframe (e.g., "1H") while analyzing a lower timeframe chart (e.g., "5m").
> Customizable Panel and Labels:
- A Delta Panel that can be enabled/disabled and moved to any of the four corners of the indicator.
- Labels at the end of the lines (Asset, BTC, MA) for easy identification, which can also be enabled/disabled.
> Alert-Ready: The indicator exposes the 4 main data sources for creating alerts.
How to Use
> Thesis Validation (Higher Timeframes): This is the primary use. Before looking for entries, use the indicator on timeframes like the H4, Daily, or Weekly. Confirm that the Asset (orange/green line) is consistently above Bitcoin (blue line) and that the Delta is positive. This is your structural strength validation, confirming the asset has potential for an exponential rally.
> Delta Analysis: The "Delta (Asset - BTC)" panel is your immediate strength metric. A positive and rising value indicates the asset is outperforming Bitcoin. A negative and falling value indicates relative weakness.
> Line Crossovers (Timing): On lower timeframes, watch for crossovers between the Asset line and the Bitcoin line. A cross of the Asset line above the Bitcoin line is a clear sign that the asset's momentum is gaining strength.
> Signal Confluence: Look for high-probability scenarios. For example: The Asset's RSI crosses above the Bitcoin RSI while the Delta also crosses above 0.
> Market Extremes: Use the area fill to quickly identify when the asset reaches extreme overbought (>70) or oversold (<30) levels, regardless of what Bitcoin is doing.
Alerts
This indicator is fully prepared for alert creation. When setting up an alert in TradingView, you can select the following data sources from this indicator:
> RSI Asset: Alerts on the RSI value of the asset on the chart.
> RSI Bitcoin: Alerts on the RSI value of Bitcoin.
> Moving Average: Alerts on the value of the Moving Average.
> RSI Delta: Allows creating alerts based on the difference between the two. (e.g., "Alert if RSI Delta crosses above Value 0").
Settings (Inputs)
The indicator offers full customization:
> RSI Length: The calculation period for both RSIs (default 14).
> Indicator Timeframe: Enables Multi-Timeframe functionality.
> Bitcoin Ticker: Allows changing the Bitcoin reference ticker.
> MA Settings: Choose the MA Type (SMA, EMA, WMA, VWMA, etc.) and its period.
> Panels and Labels: Toggles to enable/disable the Delta Panel and Line Labels, plus a selector for the panel's location.
> Colors: All line and highlight colors are fully customizable in the settings.
DISCLAIMER: This script is an analysis tool and does not provide financial advice. All trades carry risk. Use this tool as part of a broader trading strategy and always practice good risk management.
Aynet- True Wick Projector for Non-Standard ChartsTechnical Explanation: "Data Projection and Synchronization"
This script is, at its core, a "data projection" tool. The fundamental technical problem it solves is compensating for the information loss that occurs when using different data visualization models.
1. The Core Problem: Information Loss
Standard Charts (Time-Based): Normal candlesticks are time-based. Each candle represents a fixed time interval (like 1 hour or 1 day) and displays the complete Open, High, Low, and Close (OHLC) data for that period. The "wicks" show the volatility and the extreme price points (the High and Low).
Non-Standard Charts (Price/Momentum-Based): Charts like Kagi, Renko, or Line Break filter out time. Their only concern is price movement. While one Renko box or Kagi line is forming, 10 or more time-based candles might have formed in the background. During this "noise filtering" process, the true high and low values (the wicks) from those underlying candles are lost.
The problem is this: A trader looking at a non-standard chart cannot see how high or low the price actually went while that block or line was forming. This is a critical loss of information regarding market volatility, support/resistance levels, and price rejection.
2. The Technical Solution: A "Dual Data Stream"
This script intelligently combines two different data streams to compensate for this information loss:
Main Stream (Current Chart): The open and close data from your active Kagi, Renko, etc., chart.
Secondary Stream (Projected Data): The high and low data from the underlying standard (time-based) chart.
3. The Code's Methodical Steps
Step 1: Identifying the Data Source (syminfo...)
This step precisely identifies the source for the secondary data stream. By using syminfo.prefix + ":" + syminfo.ticker (e.g., "NASDAQ:AAPL"), it guarantees that the data is pulled from the exact correct instrument and exchange.
Step 2: Data Request & "Lookahead" Synchronization (request.security)
This is the most critical part of the operation.
request.security(...): This is the function Pine Script uses to pull data from another dataset (the secondary stream) onto the current chart.
: This tells the function, "The only data I care about is the 'High' and 'Low' of the standard candle from that timeframe."
lookahead = barmerge.lookahead_on (The Critical Key): This command solves the "time paradox."
Normally (without this): request.security fetches data from the last completed bar. But as your Kagi bar is currently forming, the standard candle is also currently forming. This would cause the data to always be one bar behind (lag).
With lookahead_on: This permits the script to "look ahead" at the data from the currently forming, incomplete standard bar. Because of this, as your Kagi bar moves, the true wick data is updated in real-time. This achieves real-time synchronization.
Step 3: Visual Engineering (plotcandle)
After the script retrieves the data, it must "draw" it. However, it only wants to draw the wicks, not the candle bodies.
bodyTop and bodyBottom: First, it finds the top and bottom of the current Kagi bar's body (using math.max(open, close)).
Plotting the Upper Wick (Green):
It calls the plotcandle function and instructs it to draw a fake candle.
It fixes this fake candle's Open, Low, and Close (open, low, close) values to the top of the Kagi bar's body (bodyTop).
It only sets the High (high) value to the realHigh it fetched with request.security.
The result: A wick is drawn from the bodyTop level up to the realHigh level, with no visible body.
Plotting the Lower Wick (Red):
It applies the reverse logic.
It fixes the fake candle's Open, High, and Close values to the bottom of the Kagi bar's body (bodyBottom).
It only sets the Low (low) value to the realLow.
The result: A lower wick is drawn from bodyBottom down to realLow.
Invisibility (color.new(color.white, 100)):
In both plotcandle calls, the color (body color) and bordercolor are set to 100 transparency. This makes the "fake" candle bodies completely invisible, leaving only the colored wicks.
Conclusion (Technical Summary)
This script reclaims the volatility data (the wicks) that is naturally sacrificed by non-standard charts.
It achieves this with technical precision by creating a secondary data stream using request.security and synchronizing it with zero lag using the lookahead_on parameter.
Finally, it intelligently manipulates the plotcandle function (by creating invisible bodies) to project this lost data onto your Kagi/Renko chart as an "augmented reality" layer. This allows a trader to benefit from the clean, noise-filtered view of a non-standard chart without losing access to the full picture of market volatility.






















