Nadaraya-Watson Envelope [Dynamic Adaptive Working]LuxAlgo'a kernel channel-based, modified for dynamic stochastic bandwidth adaptation.
Nadaraya-Watson Envelope  , "NWE Adaptive (Working)"
Indicators and strategies
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
Average True Range Stop Loss Finder with KAMAATR SL finder with bands
Kaufmann adaptive moving average
ATR SL finder with bands
Kaufmann adaptive moving average
Integrated Volatility Intelligence System (IVIS)"Integrated Volatility Intelligence System (IVIS)", shorttitle="VolMindโข: Adaptive Volatility Intelligence for Modern Markets"
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
Key LevelsKey levels marked out for the day. 
Week, 4 hour, 1 hour, PM, and OR levels marked out for each session. 
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.
ICT Kill zones ver 2ICT Kill zones :
London 02:00 - b5:00 
NY 7:00 -10:00
NY Lunch 
13:00 - 14:30 
*all times are NYC times 
Dynamic ~ CVDDynamic - CVD  is a smart, time-adaptive version of the classic Cumulative Volume Delta (CVD) indicator, designed to help traders visualize market buying and selling pressure across all timeframes with minimal manual tweaking.
 Overview 
Cumulative Volume Delta tracks the difference between buying and selling volume during each bar. It reveals whether aggressive buyers or sellers dominate the market, offering deep insight into real-time market sentiment and underlying momentum.
This version of CVD automatically adjusts its EMA smoothing length based on your selected timeframe, ensuring optimal sensitivity and consistency across intraday, daily, weekly, and even monthly charts.
 Features 
 Dynamic EMA Length  โ Automatically adapts smoothing parameters based on the chart timeframe:
1โ59โฏmin โ 50
1โ23โฏh โ 21
Daily & Weekly โ 100
Monthly โ 10
 CVD Visualization  โ Displays cumulative delta to show the ongoing buying/selling imbalance.
 CVDโEMA Curve  โ Offers a clear trend signal by comparing the CVD line with its EMA.
 Adaptive Color Logic  โ EMA curve changes color dynamically:
Green when CVDโฏ>โฏEMA (bullish pressure)
Gray when CVDโฏ<โฏEMA (bearish pressure)
 How to Use 
Use Dynamicโฏ- โฏCVD to gauge whether the market is accumulating (net buying) or distributing (net selling).
When CVD rises above its EMA, it often signals consistent buying pressure and potential bullish continuation.
When CVD stays below its EMA, it highlights sustained selling pressure and possible weakness.
The dynamic EMA makes it suitable for scalping, swing trading, and longer-term trend analysisโno need to manually adjust settings.
 Best For 
Traders looking to measure real buying/selling flow rather than price movement alone.
Market participants who want a plugโandโplay CVD that stays accurate across all timeframes.
Anyone interested in volumeโbased momentum confirmation tools.
 Disclaimer 
This script is provided for educational and analytical purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. Past performance is not indicative of future results. Always perform your own analysis and consult a licensed financial advisor before making investment decisions. The author is not responsible for any financial losses or trading outcomes arising from the use of this indicator.
ฮฮ Holy Grail Chart Logic - ฮ1 //โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// ๐ HOW TO READ ฮฮ-HG-ฮ1
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
//
// โข The white line (MA1) is โPresent Breath.โ  
//   It moves fastest and reveals the living rhythm of price.
//
// โข The blue line (MA3) is โThe Scout.โ  
//   Together, white and blue form the breathing voidโthe heartbeat zone.
//
// The fill color between them (the โvoidโ) tells you the tone of the market:
//   ๐ต Blue   = Calm alignment, balanced breath
//   ๐  Orange = BYTE phase โ testing emotion
//   ๐ข Green  = Cross phase โ spiral turning
//   ๐ค Brown  = Full Cross โ ancestral confirmation
//   โ๏ธ Grey   = Mimicry โ legacy echo
//   โ Red    = Tilting โ distortion or interference
//
// HUD (right side of chart) shows current phase and full sequence.
//
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// ๐ SEQUENCE LOGIC
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
//   Touch  โ  BYTE  โ  Cross  โ  Full  โ  Mimicry
//
// Touch  โ White greets Blue; first awareness of shift.  
// BYTE   โ Brief cross; emotional test of conviction.  
// Cross  โ Intentional movement; spiral begins turning.  
// Full   โ Deep alignment; momentum confirmed.  
// Mimicryโ Other MAs echo the white line; trend resonance.
//
// Each complete cycle is one โbreathโ of the market.
// ฮ1 calibrates.  ฮ2 observes.  Ahoeaaa โก
//
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
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.
Session Anchor Lines (Asia, London, NY)it draws a line at each session open ( in relative to the 4 HR candle ) 
EMA Cloud + AlertsThe only EMA indicator you'll ever need.
- Flexible EMAs: Customize EMA lengths (e.g., 9, 21) to match your trading style.
- Dynamic Cloud: Auto-shades bullish (green) or bearish (red) clouds between EMAs for clear trend signals.
- Trend Change Alerts: Auto-alerts that signal when a trend change (EMA crossover) happens on the timeframe you're currently viewing.
- Timeframe Lock: Lock EMAs to a specific timeframe (e.g., 5m on a 1m chart) for consistent analysis.
- Personalized Design: Adjust EMA colors, thickness, and cloud transparency for optimal visibility.
A friendly reminder that no tool or indicator guarantees success. Integrate this into a robust trading plan.
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 (%)
Trend Candles Full ColorThe coloring over the candle sticks isn't showing up on the picture for some reason but when you click on the indicator the color coding will appear on the chart.   
Trend Candles Full Color Indicator Explanation The "Trend Candles Full Color" indicator, designed for TradingView, visually enhances candlestick charts by coloring candles based on their position relative to a simple moving average (SMA). Here's how it works and how it can benefit traders: How It Works Input : Adjust the SMA period (default is 20) to define the trend length.
Logic : The indicator compares the closing price of each candle to the SMA: Green Candle : Close is above the SMA (indicating an uptrend).
Red Candle : Close is below the SMA (indicating a downtrend).
Gray Candle : Close equals the SMA (neutral/no clear trend).
Output : Candles (body, wick, and border) are colored green, red, or gray based on the trend, overlaid directly on your price chart.
Benefits and Use Cases Trend-Following Strategies Benefit: Clearly identifies bullish (green) or bearish (red) trends, helping traders ride momentum.
Example: A swing trader using a 20-period SMA can enter long positions when candles turn green (price above SMA) and exit or short when candles turn red, confirming trend reversals.
Reversal Trading Benefit: Gray candles signal indecision near the SMA, often a precursor to reversals.
Example: A day trader might watch for gray candles after a prolonged uptrend (green candles) to anticipate a potential bearish reversal, combining with other indicators like RSI for confirmation.
Scalping Benefit: Quick visual cues for short-term trend changes on lower timeframes.
Example: A scalper on a 5-minute chart can use green candles to confirm quick bullish moves and red candles to avoid counter-trend trades, enhancing decision speed.
Position Sizing or Risk Management Benefit: Color changes highlight trend strength, aiding in adjusting trade size or stops.
Example: A trader might increase position size during strong green candle sequences (sustained uptrend) and tighten stops when gray candles appear, signaling potential trend weakness.
Tips for Use Adjust the MA Length to suit your trading style (e.g., shorter for scalping, longer for swing trading).
Combine with other indicators (e.g., support/resistance, MACD) for better accuracy.
Test on different timeframes to match your strategy.
Recommended MA Length for 1-Minute Charts Short-Term/Scalping (1-5 minute trades):10-period SMA : Very sensitive, ideal for capturing quick price movements in fast markets. May produce more noise (false signals).
20-period SMA : A balanced choice for 1-minute charts, smoothing minor fluctuations while reacting to short-term trends. A great starting point for scalpers.
Intraday Trend Trading (10-30 minute holds):50-period SMA : Captures broader intraday trends, reducing noise but lagging slightly. Suitable for larger moves within a session.
This indicator simplifies trend identification, making it a versatile tool for traders of all styles, from beginners to advanced users! 
Recommended MA Length for Swing Trading / Higher Timeframes Swing Trading (holding trades for days to weeks):50-period SMA : A popular choice for swing traders on higher timeframes (e.g., 1-hour or 4-hour charts). It smooths out short-term fluctuations while identifying medium-term trends. Ideal for capturing multi-day swings.
100-period SMA : Slightly longer, this MA is great for confirming stronger, more sustained trends. Itโs useful on 4-hour or daily charts for swing traders aiming to ride larger price moves.
Longer-Term Trend Trading (holding for weeks to months):200-period SMA : A classic choice for higher timeframes like daily or weekly charts. It highlights major market trends and is widely used by swing and position traders to filter out noise and focus on long-term direction.
150-period SMA : A middle ground between the 100 and 200 SMA, suitable for daily charts when you want a balance between responsiveness and trend reliability.
MEGA_Long/Short๐ MTF Entry Signal (with L/S Labels)
A clean and compact multi-timeframe entry point indicator for TradingView. Shows clear entry signals for LONG and SHORT trades directly on the chart, with markers and letters for quick decision-making.
๐ฏ Key Features:
Dual timeframe analysis: Choose main and fast timeframes (default: 30m and 4h).
Entry signals:
๐ข Green triangle + "L" โ LONG entry (Buy signal)
๐ด Red triangle + "S" โ SHORT entry (Sell signal)
Signal only at true trend reversals โ No excessive markers or noise.
Markers move dynamically with price โ Always match the candlestick and chart movement.
โ๏ธ Signal Criteria:
LONG: EMA9 > EMA21 and MACD > 0, confirmed on both selected timeframes.
SHORT: EMA9 < EMA21 and MACD < 0, confirmed on both selected timeframes.
Entry marker appears only when signal direction changes.
๐ง Settings:
Manually select fast/main timeframes in the indicator menu (recommended: 30m + 4h).
Marker size set to minimal (size=tiny) for maximum clarity.
๐ Usage:
Designed for clean, non-overloaded charts.
Works perfectly for trend trading, reversals, and entry confirmation.
Suitable for scalping, swing trading, and crypto/futures analysis.
ICT London & NY Kill ZonesICT london and NYC kiill zones marked on the chart automatically - use with NY time zone 
DAMMU AUTOMATICAL AI ENRTY AND TARGET AND EXITMain Components
Supertrend System โ
Detects market trend direction (Buy/Sell zones).
โ Green = Uptrend (Buy)
โ Red = Downtrend (Sell)
SMA Filter โ
Uses 50 & 200 moving averages to confirm overall trend.
โ Price above both โ Bullish
โ Price below both โ Bearish
Buy/Sell Signals โ
Generated when Supertrend flips direction and SMA confirms.
โ Triangle up = Buy
โ Triangle down = Sell
Take Profit / Stop Loss Levels โ
Automatically calculated after Buy/Sell entry.
โ TP1, TP2, SL shown on chart
ADX (Sideways Zone Filter) โ
If ADX < 25 โ Market sideways โ Avoid trades
Shows โNo Trade Zoneโ area
Smart Money Concepts (SMC) Tools โ
๐น Market structure (HH, HL, LH, LL)
๐น Order blocks (OB)
๐น Equal highs/lows
๐น Fair Value Gaps (FVG)
๐น Premium & Discount zones
Helps find institutional entry points
Visual Display โ
Color-coded background (trend zones)
Labels for buy/sell/structure
Optional FVG and order block boxes
Risk Management โ
Input-based position sizing, SL & TP management
(to calculate profit levels and minimize loss)
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
Dual Table Dashboard - Correct V3add RSI Data## ๐ Trading Applications
### 1. Trend Following Strategy
```
1. Check TABLE 1 for trend direction (AnEMA29 + PDMDR)
2. If both green โ Look for longs
3. If both red โ Look for shorts
4. Use TABLE 2 for entry levels
```
### 2. Support/Resistance Strategy
```
@70 levels = Resistance (sell/take profit zones)
@50 levels = Pivot (breakout levels)
@30 levels = Support (buy/accumulation zones)
```
### 3. Multi-Timeframe Alignment
```
W_RSI โ Weekly bias (long-term)
D_RSI โ Daily bias (medium-term)
Sto50 โ Current position (swing)
Sto12 โ Immediate position (day trade)
RSI(7) & RSI(3) โ Entry timing (scalp)
```
### 4. Color Scanning Method
**Quick visual analysis:**
- Count greens vs reds in each row
- More greens = Bullish position
- More reds = Bearish position
- Mixed colors = Transitioning/choppy
---
## โ
 Verification & Accuracy
### Tested Against AmiBroker:
- โ
 RSI band values match within ยฑ0.01%
- โ
 Stochastic channels match exactly
- โ
 Color logic matches exactly
- โ
 All formulas verified line-by-line
### Known Minor Differences:
Small variations (<1%) may occur due to:
1. **Platform calculation precision** - Different floating-point engines
2. **Historical data feeds** - Slight variations in past prices
3. **Weekly bar boundaries** - TradingView vs AmiBroker week definitions
4. **Initialization period** - First N bars need to "warm up"
**These minor differences don't affect trading signals!**
---
## โ๏ธ Settings & Customization
### Input Parameters:
```pine
emaLen = 29              // EMA Length for angle calculation
rangePeriods = 30        // Angle normalization lookback
rangeConst = 25          // Angle normalization constant
dmiLen = 14              // DMI/ADX Length for PDMDR
```
### Available Positions:
Can be changed in the code:
- `position.top_left`
- `position.top_center`
- `position.top_right`
- `position.middle_left` (Table 2 default)
- `position.middle_center`
- `position.middle_right`
- `position.bottom_left` (Table 1 default)
- `position.bottom_center`
- `position.bottom_right`
### Text Sizes:
- `size.tiny`
- `size.small` (current default)
- `size.normal`
- `size.large`
- `size.huge`
---
## ๐ฏ Best Practices
### DO:
โ
 Use multiple confirmations before entering trades
โ
 Combine with price action and chart patterns
โ
 Pay attention to color changes across timeframes
โ
 Use @50 levels as key pivot points
โ
 Watch for alignment between W_RSI and D_RSI
### DON'T:
โ Trade based on color alone without confirmation
โ Ignore the overall trend (Table 1)
โ Enter trades against strong trend signals
โ Overtrade when colors are mixed/choppy
โ Ignore risk management rules
---
## ๐ Example Reading
### Bullish Setup:
```
TABLE 1:
AnEMA29: Green (15ยฐ) across all 3 bars
PDMDR: Green (1.65) and rising
TABLE 2:
W_RSI@50: Green (price above)
D_RSI@50: Green (price above)
Sto50@50: Green (price above midpoint)
Sto12@50: Green (price above midpoint)
Interpretation: Strong bullish trend confirmed across multiple timeframes
Action: Look for long entries on pullbacks to @50 or @30 levels
```
### Bearish Setup:
```
TABLE 1:
AnEMA29: Red (-12ยฐ) across all 3 bars
PDMDR: Red (0.45) and falling
TABLE 2:
W_RSI@50: Red (price below)
D_RSI@50: Red (price below)
Sto50@50: Red (price below midpoint)
Interpretation: Strong bearish trend confirmed
Action: Look for short entries on rallies to @50 or @70 levels
```
### Reversal Signal:
```
TABLE 1:
-2D: Red, -1D: Yellow, 0D: Green (momentum shifting)
TABLE 2:
Price just crossed above multiple @50 levels
Colors changing from red to green
Interpretation: Potential trend reversal in progress
Action: Wait for confirmation, consider early long entry with tight stop
```
---
## ๐ Troubleshooting
### "Values don't match AmiBroker exactly"
- Check you're on the same timeframe
- Verify the symbol is identical
- Compare historical data (last 20 closes)
- Small differences (<1%) are normal
### "Tables are overlapping"
- Adjust positions in code
- Use different combinations (top/middle/bottom with left/center/right)
### "Colors seem wrong"
- Verify current close price
- Check if you're comparing same bar
- Ensure both platforms use same session times
### "Script takes too long"
- Use on Daily or higher timeframes
- The RSI band calculation is computationally intensive
- Don't run on tick-by-tick data
---
## ๐ Version History
**v3.0 (Final)** - Current version
- RSI band calculation verified correct
- Tables positioned bottom-left and middle-left
- All values match AmiBroker
- Production ready โ
**v2.0**
- Fixed RSI band algorithm order (calculate before updating P/N)
- Improved variable scope handling
**v1.0**
- Initial implementation
- Had incorrect RSI band calculation
---
## ๐ Files in Package
WAD : Whale Activity Detector๐ WAD: Whale Activity Detector 
WAD (Whale Activity Detector) automatically detects periods of abnormally high trading volume compared to the average, identifying potential whale (institutional) buy or sell activity and visualizing it directly on the chart.
๐ How It Works
1. Buy/Sell Volume Separation
Each candleโs trading volume is categorized based on its direction:
Bullish candle โ Buy volume
Bearish candle โ Sell volume
This separation helps distinguish the actual strength of buying vs. selling pressure, rather than looking at total volume alone.
2. Average Volume Calculation
Over a user-defined lookback period (default: 34 bars), the indicator calculates the moving average of both buy and sell volumes, establishing a baseline for what constitutes โnormalโ activity.
3. Whale Activity Detection
When the current volume exceeds n times the average volume (default: 4ร), the indicator flags it as a Whale Zone โ a potential sign of large player involvement.
Volume surge on a bullish candle โ Whale Buy
Volume surge on a bearish candle โ Whale Sell
4. Visual Display
๐ข Green bars: Whale buy activity
๐ด Red bars: Whale sell activity
BUY/SELL labels: Appear above the chart when an anomaly is detected
Average line toggle: Users can turn the average volume lines on or off for clarity
5. Alerts
Whenever whale buy/sell signals are detected, real-time alerts are triggered.
Example: ๐ Whale Buy โ NVDA! ๐ข
โ๏ธ Indicator Meaning
Rather than showing raw volume, WAD tracks โabnormal volume relative to the average.โ
It filters out noise and highlights the moments where large entities begin to move.
Essentially, it visualizes intentional and impactful trades hidden within standard volume activity.
๐ Example Use Cases
Whale accumulation tracking โ Repeated strong buy signals may indicate sustained institutional accumulation.
Short-term breakout confirmation โ Price often rallies shortly after whale buy signals appear.
Support/resistance analysis โ Whale sell zones frequently align with short-term resistance areas.
In short:
WAD identifies when trading volume exceeds its historical norm to highlight where big money enters or exits the market.
===============================================================================
 ๐ WAD : ์ธ๋ ฅ ๋งค๋งค๊ฑฐ๋ ์ถ์ ๊ธฐ 
WAD(Whale Activity Detector) ๋ ํน์  ์ข
๋ชฉ์ ๊ฑฐ๋๋ ํจํด ์์์
โํ๊ท  ๋๋น ๋น์ ์์ ์ผ๋ก ํฐ ๊ฑฐ๋๋์ด ๋ฐ์ํ ๊ตฌ๊ฐโ์ ์๋์ผ๋ก ๊ฐ์งํด
์ธ๋ ฅ(Whale)์ ๋งค์ยท๋งค๋ ํ๋์ ์๊ฐํํ๋ ์งํ์
๋๋ค.
๐ ์๋ ์๋ฆฌ
๋งค์ยท๋งค๋ ๊ฑฐ๋๋ ๋ถ๋ฆฌ
๊ฐ ์บ๋ค์ด ์๋ด์ธ์ง, ์๋ด์ธ์ง์ ๋ฐ๋ผ ๊ฑฐ๋๋์ ๋ถ๋ฆฌํฉ๋๋ค.
์๋ด ์ ๋ฐ์ํ ๊ฑฐ๋๋ โ ๋งค์ ๊ฑฐ๋๋(buy volume)
์๋ด ์ ๋ฐ์ํ ๊ฑฐ๋๋ โ ๋งค๋ ๊ฑฐ๋๋(sell volume)
์ด๋ ๊ฒ ๋ถ๋ฆฌํจ์ผ๋ก์จ ๋จ์ ๊ฑฐ๋๋์ด ์๋,
์ค์  ๋งค์์ธ/๋งค๋์ธ์ ํ์ ๊ตฌ๋ถํ  ์ ์์ต๋๋ค.
ํ๊ท  ๊ฑฐ๋๋ ๊ณ์ฐ
์ฌ์ฉ์๊ฐ ์ง์ ํ ๊ธฐ๊ฐ(๊ธฐ๋ณธ 34๋ด)์ ๊ธฐ์ค์ผ๋ก
๋งค์ยท๋งค๋ ๊ฑฐ๋๋์ ์ด๋ํ๊ท ์ ์ ๊ฐ๊ฐ ๊ณ์ฐํฉ๋๋ค.
์ด๋ โ์ ์์ ์ธ ๊ฑฐ๋๋ ์์คโ์ ํ๋จํ๋ ๊ธฐ์ค์ ์ผ๋ก ํ์ฉ๋ฉ๋๋ค.
์ด์์น ํ์ง (Whale Activity Detection)
ํ์ฌ ๊ฑฐ๋๋์ด ํ๊ท  ๊ฑฐ๋๋์ n๋ฐฐ(๊ธฐ๋ณธ 4๋ฐฐ)๋ฅผ ์ด๊ณผํ  ๊ฒฝ์ฐ,
๊ทธ ๊ตฌ๊ฐ์ ์ธ๋ ฅ ๊ฐ์
 ๊ตฌ๊ฐ(Whale Zone) ์ผ๋ก ํ๋จํฉ๋๋ค.
์๋ด์์ ๊ธ์ฆ โ ์ธ๋ ฅ ๋งค์ (Whale Buy)
์๋ด์์ ๊ธ์ฆ โ ์ธ๋ ฅ ๋งค๋ (Whale Sell)
์๊ฐ์  ํ์
์ด๋ก์ ๊ธฐ๋ฅ : ์ธ๋ ฅ ๋งค์ ๊ฑฐ๋๋
๋นจ๊ฐ์ ๊ธฐ๋ฅ : ์ธ๋ ฅ ๋งค๋ ๊ฑฐ๋๋
๋ผ๋ฒจ ํ์ (BUY / SELL) : ์ด์์น ๋ฐ์ ์ ์ฐจํธ ์๋จ์ ํ์
ํ๊ท ์  ํ์ ์ต์
 : ์ฌ์ฉ์๊ฐ ์ํ  ๋ ํ๊ท ์ ์ ์ผ๊ฑฐ๋ ๋ ์ ์์
์๋ฆผ(Alerts)
์ธ๋ ฅ์ ๋งค์ยท๋งค๋ ์ ํธ๊ฐ ๊ฐ์ง๋๋ฉด,
์๋ฆผ ๋ฉ์์ง๋ฅผ ํตํด ์ค์๊ฐ์ผ๋ก ํต๋ณด๋ฐ์ ์ ์์ต๋๋ค.
(์: ๐ Whale Buy - NVDA! ๐ข)
โ๏ธ ์งํ์ ์๋ฏธ
๋จ์ ๊ฑฐ๋๋์ด ์๋๋ผ, โํ๊ท  ๋๋น ๋น์ ์์  ๊ฑฐ๋๋โ ์ ์ถ์ ํฉ๋๋ค.
์ฆ, โ์ธ๋ ฅ์ด ๋ณธ๊ฒฉ์ ์ผ๋ก ์์ง์ด๊ธฐ ์์ํ ๊ตฌ๊ฐโ ๋ง ๊ฑธ๋ฌ๋ด๋ ์งํ์
๋๋ค.
๋
ธ์ด์ฆ๊ฐ ๋ง์ ๊ฑฐ๋๋ ์ฐจํธ ์์์ ์๋ ์๋ ๊ฑฐ๋์ ํ์ ์ ํฌ์ฐฉํ  ์ ์์ต๋๋ค.
๐ ํ์ฉ ์์
์ธ๋ ฅ ๋งค์ง ๊ตฌ๊ฐ ํฌ์ฐฉ : ํฐ ๋งค์ ์๊ทธ๋์ด ๋ฐ๋ณต์ ์ผ๋ก ๋ฐ์ํ๋ ๊ตฌ๊ฐ์ ์ธ๋ ฅ์ ๋์  ๋งค์ง ๊ฐ๋ฅ์ฑ์ ์๋ฏธํจ
๋จ๊ธฐ ๊ธ๋ฑ ์ ํธ ํ์ธ : ๋งค์ ์ด์์น๊ฐ ๋ฐ์ํ ์งํ ๊ฐ๊ฒฉ์ด ๊ธ๋ฑํ๋ ๊ฒฝ์ฐ๊ฐ ๋ง์
์ง์ง/์ ํญ ๋ถ์๊ณผ ๋ณํ ํ์ฉ : ์ธ๋ ฅ ๋งค๋ ๊ตฌ๊ฐ์ ๋จ๊ธฐ ์ ํญ์ผ๋ก ์์ฉํ๋ ๊ฒฝํฅ์ด ์์
copyright @invest_hedgeway 
FX Sessions by m_cptForex Intraday Sessions Indicator, config time in UTC-4. Support 4 main sessions, smooth end-to-start candles mode, without gaps if your sessions has config like: 
1) 19:00 - 03:00
2) 02:00 - 03:00
3) 03:00 -11:00
No excluded last candles issue on all TFs. 
Working on LTF up to 1h TF since its intraday sessions indicator.






















