MoneySupply-[Lafo] - Global M2 Money Supply inc Offset =It takes most of the central banks money supply, converts it to USD and adds it up.
Play wid it, adjust the offset in order to find correlation.
Not much else to say.
Search in scripts for "Cycle"
My Alert IndicatorThis Script adding Alert on RSI Over Bought and Over Sold on 1m, 3m, 5m, 15m, 1h, 4h, and 1D timeframe.
Parsifal.Swing.FlowThe Parsifal.Swing.Flow indicator is a module within the Parsifal Swing Suite, which includes a set of swing indicators such as:
• Parsifal Swing TrendScore
• Parsifal Swing Composite
• Parsifal Swing RSI
• Parsifal Swing Flow
Each module serves as an indicator facilitating judgment of the current swing state in the underlying market.
________________________________________
Background
Market movements typically follow a time-varying trend channel within which prices oscillate. These oscillations—or swings—within the trend are inherently tradable.
They can be approached:
• One-sidedly, aligning with the trend (generally safer), or
• Two-sidedly, aiming to profit from mean reversions as well.
Note: Mean reversions in strong trends often manifest as sideways consolidations, making one-sided trades more stable.
________________________________________
The Parsifal Swing Suite
The modules aim to provide additional insights into the swing state within a trend and offer various trigger points to assist with entry decisions.
All modules in the suite act as weak oscillators, meaning they fluctuate within a range but are not bounded like true oscillators (e.g., RSI, which is constrained between 0% and 100%).
________________________________________
The Parsifal.Swing.Flow – Specifics
The Parsifal.Swing.Flow module aggregates price and trading flow data per bin (a "bin" refers to a single candle or time bucket) and smooths this information over recent historical data to reflect ongoing market dynamics.
________________________________________
How Swing.Flow Works
For each bin, individual data points—called "bin-infolets"—are collected. Each infolet reflects the degree and direction of trading flow, offering insight into buying and selling pressure.
The module processes this data in two steps:
1. Aggregation:
All bin-infolet values within a bin are averaged to produce a single bin-flow value.
2. Smoothing:
The resulting bin-flow values are then smoothed across multiple bins, typically using short-term EMAs.
The outcome is a dynamic representation of the current swing state based on recent trading flow activity.
________________________________________
How to Interpret Swing.Flow
• Range-bound but not a true oscillator:
While individual bin-infolets are range-bound, the Swing.Flow indicator itself is not a classical oscillator.
• Overbought/Oversold Signals:
Historically high or low values in Swing.Flow may signal overbought or oversold conditions.
• Chart Representation:
o A fast curve (orange)
o A slow curve (white)
o A shaded background that illustrates overall market state
• Mean Reversion Signals:
Extreme curve values followed by reversals may indicate the onset of a mean reversion in price.
________________________________________
Flow Background Value
The Flow Background Value represents the net state of trading flow:
• > 0 (green shading) → Bullish mode
• < 0 (red shading) → Bearish mode
• The absolute value reflects the confidence level in the current trend direction
________________________________________
How to Use the Parsifal.Swing.Flow
Several change points can act as entry point triggers:
• Fast Trigger:
A change in the slope of the fast signal curve
• Trigger:
The fast line crossing the slow line or a change in the slope of the slow signal
• Slow Trigger:
A change in the sign of the Background Value
These triggers are visualized in the accompanying chart.
Additionally, market highs and lows that align with the swing indicator values can serve as pivot points for the ongoing price process.
________________________________________
As always, this indicator is best used in conjunction with other indicators and market information.
While Parsifal.Swing.Flow offers valuable insight and potential entry points, it does not predict future price action.
Rather, it reflects the most recent market tendencies, and should therefore be applied with discretion.
________________________________________
Extensions
• Aggregation Method:
The current approach—averaging all infolets—can be replaced by alternative weighting schemes, adjusted according to:
o Historical performance
o Relevance of data
o Specific market conditions
• Smoothing Period:
The EMA-based smoothing period can be varied. In general, EMAs can be enhanced to reflect relevance-weighted probability measures, giving greater importance to recent data for a more adaptive and dynamic response.
• Advanced Smoothing:
EMAs can be further extended to include negative weights, similar to wavelet transform techniques, allowing even greater flexibility in smoothing methodologies.
Volume e Movimento Prezzo in Tempo RealeRegistro il volume registra il buyer sell registra le differenze che ci sono tra AEB dando un risultato continuo e discontinuo con forti impulsi nei momenti decisionali di direzione
I record the volume, I record the buyer sell, I record the differences that exist between AEB, giving a continuous and discontinuous result with strong impulses in the decision-making moments of direction.
OTT Vix-Spx OscillatorOscillatore di movimento percentuale tra VIX e SPX
verde = VIX sottoperforma SPX
rosso = VIX sovraperforma SPX
by www.optiontraders.it
Percentage Movement Oscillator between VIX and SPX
Green = VIX underperforms SPX
Red = VIX outperforms SPX
RSI Open Interest y Volumen de BitcoinThe main objective is to combine fundamental data from two relevant sources in the Bitcoin market: the Open Interest of CME futures contracts and the trading volume of the BTC/USDT pair on Binance. To do this, two specific symbols are used: one to represent the futures contract, identified as "CME:BTC1!", and another to obtain the volume ("BINANCE:BTCUSDT"). Using the request.security function, the script requests and synchronizes this data with the chart resolution or a customizable timeframe, allowing analyses to adapt to any timeframe. This is crucial for traders, as it allows them to obtain a comprehensive view of both futures market sentiment and real-time trading activity.
In the technical process, the script applies the RSI (Relative Strength Index) individually to both Open Interest and volume, using the same user-configurable period, ensuring consistency in the analysis of both data sets. By calculating the RSI for each variable—identifying overbought or oversold areas—two indicators are generated that reflect the evolution of commitment in futures and the intensity of trading flow in the spot market. An average of both RSIs is then produced to smooth out potential discrepancies and provide a single signal that combines both perspectives.
Custom Sector Relative Strength (sector rotation)📌 Indicator Summary for “Custom Sector Relative Strength (sector rotation)”
🔹 Overview:
This Pine Script indicator calculates and displays the relative strength performance of up to 25 customizable sectors or ETFs compared to a user-defined benchmark index (e.g., SPY, TASI.TAD, etc.).
It helps traders and analysts identify which sectors are outperforming or underperforming relative to the benchmark over different time frames.
________________________________________
🔹 Calculation Method:
For each sector, the indicator:
1. Retrieves the current and past closing prices for both the sector and the benchmark.
2. Computes the ratio of the sector's price to the benchmark at both time points.
3. Calculates the percentage change in this ratio over the selected lookback period:
4. Relative Strength (%) = ((Current_Ratio / Past_Ratio) - 1) * 100
5. Assigns a direction symbol:
o ↑ for positive outperformance
o ↓ for underperformance
o → for no significant change
6. Applies a color code for clarity:
o Green for ↑
o Red for ↓
o Gray for →
________________________________________
🔹 How to Use:
1. Set your benchmark index (e.g., SPY or TASI.TAD) from the settings panel.
2. Choose a lookback period: 1 Day, 1 Week, 1 Month, 3 Months, 6 Months, or 1 Year.
3. Define up to 25 sectors:
o Enter the symbol and name of each sector.
o Toggle the Show option on/off to include/exclude any sector.
4. The script will sort the sectors from strongest to weakest based on their relative performance.
5. Results are displayed in a dynamic table on the chart showing:
o Ticker
o Sector Name
o Relative % Performance
o Direction Indicator (↑ ↓ →)
________________________________________
🔹 Practical Uses:
• Sector rotation strategies
• Market breadth analysis
• Benchmark-relative strength monitoring
• Multi-sector ETFs or custom group comparisons
• Saudi, US, or global sector analysis
________________________________________
Let me know if you'd like an Arabic version or want this formatted as a PDF or used as a code comment section.
True OpensTrue Opens: Pinpoint Key Inflection Levels
This indicator plots "True Open" price levels for Monthly, Weekly, Daily, and key intraday Sessions. Unlike generic opens, these are anchored to precise New York kickoff times (e.g., True Month Open from the second Sunday at 18:00 NY).
Especially valuable for Futures traders, these levels frequently act as significant support/resistance, offering clear reference points for your analysis.
Conceptual framework based on Daye's Quarterly Theory.
Auto Session PredictorAuto Session Predictor: Intelligent Market Timing & Forecasting
Unlock the power of session-based trading with the Auto Session Predictor, a sophisticated indicator designed to analyze and forecast potential directional movements based on historical session behavior.
Key Features & Benefits:
Comprehensive Session Tracking: Automatically identifies and visualizes key trading sessions (Pre-Market, Regular Market, After Hours) with customizable start/end times and colors. Optional session range boxes and labels provide clear visual context on your chart.
Intelligent Adaptive Prediction Engine: Goes beyond simple historical averages. Inspired by advanced learning techniques, this indicator analyzes past session data (Volatility, Momentum, Volume, Day of Week patterns) to learn which factors have been most predictive for future session outcomes.
Dynamic Adaptive Weights: A unique feature that constantly evaluates the performance of different factors (Volatility, Momentum, Day of Week) and automatically assigns higher weights to those that have been more successful in predicting market direction, ensuring the prediction model adapts to changing market conditions.
Higher Timeframe Context: Incorporates analysis from a higher timeframe (e.g., Daily) to provide a broader market perspective, adjusting predictions to align with overarching trends and market sentiment.
Predictive Insights: Generates data-driven predictions for the upcoming trading sessions:
Predicts the Regular Market direction based on the preceding Pre-Market session.
Predicts the After Hours direction based on the preceding Regular Market session.
Confidence Scoring: Each prediction comes with a clear confidence score, helping you gauge the reliability of the forecast based on the historical data match.
Visual Signals: Displays clear Bullish (↑), Bearish (↓), or Neutral (→) signals directly on the chart at the end of sessions, based on the prediction and your chosen confidence threshold.
Informative Dashboard: A customizable on-chart dashboard provides a concise summary of:
Current session status (Active/Inactive)
Real-time session momentum
The current prediction (Bullish/Bearish/Neutral) for the next session
The confidence level of that prediction
Key model settings (Training Window, Feature Usage)
Visibility into the dynamically adjusting Adaptive Weights.
Fully Customizable: Tailor the indicator to your specific needs with extensive input options for session times, colors, visual elements, prediction thresholds, feature selection (Vol, Mom, DoW), adaptive weight settings, and dashboard appearance.
The Auto Session Predictor is a powerful tool for traders looking to gain an edge by understanding and anticipating potential directional biases based on proven session dynamics and an intelligent, adaptive prediction model.
RSI - SECUNDARIO - mauricioofsousaSecondary RSI – MGO
Reading the rhythm behind the price action
The Secondary RSI is a specialized oscillator developed as part of the MGO (Matriz Gráficos ON) methodology. It works as a refined strength filter, designed to complement traditional RSI readings by isolating the true internal rhythm of price action and reducing the influence of market noise.
While the standard RSI measures price momentum, the Secondary RSI focuses on identifying breaks in oscillatory balance—the moments when the market shifts from accumulation to distribution or from compression to expansion.
🎯 What the Secondary RSI highlights:
Internal imbalances in energy between buyers and sellers
Micro-divergences not visible on standard RSI
Areas of price fatigue or overextension that often precede reversals
Confirmation zones for MGO oscillatory events (RPA, RPB, RBA, RBB)
📊 Recommended use:
Combine with the Primary RSI for dual-layer validation
Use as a noise-reduction tool before entering trends
Ideal in medium timeframes (12H / 4H) where oscillatory patterns form clearly
🧠 How it works:
The Secondary RSI recalculates the momentum signal using a block-based interpretation (aligned with the MGO structure) instead of simply following raw candle data. It adapts to the periodic nature of price behavior and provides the trader with a more stable and reliable measure of true market strength.
MVRV | Lyro RS📊 MVRV | Lyro RS is a powerful on-chain valuation tool designed to assess the relative market positioning of Bitcoin (BTC) or Ethereum (ETH) based on the Market Value to Realized Value (MVRV) ratio. It highlights potential undervaluation or overvaluation zones, helping traders and investors anticipate cyclical tops and bottoms.
✨ Key Features :
🔁 Dual Asset Support: Analyze either BTC or ETH with a single toggle.
📐 Dynamic MVRV Thresholds: Automatically calculates median-based bands at 50%, 64%, 125%, and 170%.
📊 Median Calculation: Period-based median MVRV for long-term trend context.
💡 Optional Smoothing: Use SMA to smooth MVRV for cleaner analysis.
🎯 Visual Threshold Alerts: Background and bar colors change based on MVRV position relative to thresholds.
⚠️ Built-in Alerts: Get notified when MVRV enters under- or overvalued territory.
📈 How It Works :
💰 MVRV Calculation: Uses data from IntoTheBlock and CoinMetrics to obtain real-time MVRV values.
🧠 Threshold Bands: Median MVRV is used as a baseline. Ratios like 50%, 64%, 125%, and 170% signal various levels of market extremes.
🎨 Visual Zones: Green zones for undervaluation and red zones for overvaluation, providing intuitive visual cues.
🛠️ Custom Highlights: Toggle individual threshold zones on/off for a cleaner view.
⚙️ Customization Options :
🔄 Switch between BTC or ETH for analysis.
📏 Adjust period length for median MVRV calculation.
🔧 Enable/disable threshold visibility (50%, 64%, 125%, 170%).
📉 Toggle smoothing to reduce noise in volatile markets.
📌 Use Cases :
🟢 Identify undervalued zones for long-term entry opportunities.
🔴 Spot potential overvaluation zones that may precede corrections.
🧭 Use in confluence with price action or macro indicators for better timing.
⚠️ Disclaimer :
This indicator is for educational purposes only. It should not be used in isolation for making trading or investment decisions. Always combine with price action, fundamentals, and proper risk management.
Extended-hours Volume vs AVOL// ──────────────────────────────────────────────────────────────────────────────
// Extended-Hours Volume vs AVOL • HOW IT WORKS & HOW TO TRADE IT
// ──────────────────────────────────────────────────────────────────────────────
//
// ░ What this indicator is
// ------------------------
// • It accumulates PRE-MARKET (04:00-09:30 ET) and AFTER-HOURS (16:00-20:00 ET)
// volume on intraday charts and compares that running total with the stock’s
// 21-day average daily volume (“AVOL” by default).
// • Three live read-outs are shown in the data-window/table:
//
// AH – volume traded since the 16:00 ET close
// PM – volume traded before the 09:30 ET open
// Ext – AH + PM (updates in pre-market only)
// %AVOL – Ext ÷ AVOL × 100 (updates in pre-market)
//
// • It is intended for U.S. equities but the session strings can be edited for
// other markets.
//
// ░ Why it matters
// ----------------
// Big extended-hours volume almost always precedes outsized intraday range.
// By quantifying that volume as a % of “normal” trade (AVOL), you can filter
// which gappers and news names deserve focus *before* the bell rings.
//
// ░ Quick-start trade plan (educational template – tune to taste)
// ----------------------------------------------------------------
// 1. **Scan** the watch-list between 08:30-09:25 ET.
// ► Keep charts on 1- or 5-minute candles with “Extended Hours” ✔ checked.
// 2. **Filter** by `Ext` or `%AVOL`:
// – Skip if < 10 % → very low interest
// – Flag if 20-50 % → strong interest, Tier-1 candidate
// – Laser-focus if > 50 % → crowd favourite; expect liquidity & range
// 3. **Opening Range Breakout (long example)**
// • Preconditions: Ext ≥ 20 % & price above yesterday’s close.
// • Let the first 1- or 5-min bar complete after 09:30.
// • Stop-buy 1 tick above that bar (or pre-market high – whichever higher).
// • Initial stop below that bar low (or pre-market low).
// • First target = 1R or next HTF resistance.
// 4. **Red-to-Green reversal (gap-down long)**
// • Ext ≥ 30 % but pre-market gap is negative.
// • Enter as price reclaims yesterday’s close on live volume.
// • Stop under reclaim bar; scale out into VWAP / first liquidity pocket.
// 5. **Risk** – size so the full stop is ≤ 1 R of account. Volume fade or
// loss of %AVOL slope is a reason to tighten or exit early.
//
// ░ Tips
// ------
// • AVOL look-back can be changed in the input panel (21 days ⇒ ~1 month).
// • To monitor several symbols, open a multi-chart layout and sort your
// watch-list by %AVOL descending – leaders float to the top automatically.
// • Replace colour constants with hex if the namespace ever gets shadowed.
//
// ░ Disclaimer
// ------------
// For educational purposes only. Not financial advice. Trade your own plan.
//
// ──────────────────────────────────────────────────────────────────────────────
RSI Phan Ky FullThe RSI divergence indicator is like a magnifying glass that spots gaps between price swings and momentum. When price keeps climbing but RSI quietly sags, it’s a flashing U‑turn sign: the bulls are winded, and the bears are lacing up their boots. Flip it around—price is sliding yet RSI edges higher—and you’ve got bulls secretly stockpiling. Hidden divergences shore up the trend; regular divergences hint at a pivot. Blend those signals with overbought/oversold zones, support‑resistance, and volume, and RSI divergence turns into a radar that helps traders jump in with swagger and bail out just in time.
SuperTrend CorregidoThis script implements a SuperTrend indicator based on the Average True Range (ATR). It is designed to help traders identify trend direction and potential buy/sell opportunities with visual signals on the chart.
🔧 Key Features:
ATR-Based Trend Detection: Calculates trend shifts using the ATR and a user-defined multiplier.
Buy/Sell Signals: Displays "Buy" and "Sell" labels directly on the chart when the trend changes direction.
Visual Trend Lines: Plots green (uptrend) and red (downtrend) SuperTrend lines to highlight the current market bias.
Trend Highlighting: Optionally fills the background to emphasize whether the market is in an uptrend or downtrend.
Customizable Settings:
ATR period and multiplier
Option to switch ATR calculation method
Toggle for signal visibility and trend highlighting
🔔 Alerts Included:
SuperTrend Buy Signal
SuperTrend Sell Signal
SuperTrend Direction Change
This indicator is useful for identifying entries and exits based on trend momentum and can be used across various timeframes.
MNQ-MES Hedge Protection Calculator by ATALLAMNQ-MES Hedge Protection Calculator - Summary
Purpose
This indicator provides real-time calculations for implementing a hedge strategy between MNQ (Micro E-mini Nasdaq-100) and MES (Micro E-mini S&P 500) futures contracts. It automatically determines the precise number of MES contracts needed to hedge a position in MNQ, based on current market prices and contract specifications.
Key Features
Real-time Hedge Ratio Calculation
Uses live market prices to calculate the optimal hedge ratio
Accounts for different point values ($2 for MNQ, $5 for MES)
Adjusts for beta differences between Nasdaq-100 and S&P 500
Flexible Position Management
Works for both long and short positions
Supports fractional contract amounts
Allows partial hedging (adjustable percentage)
User-Friendly Visual Interface
Clearly displays the exact number of MES contracts needed
Color-coded table showing position direction
Optional chart label with hedge summary
Practical Applications
Directional Risk Reduction: Maintain market exposure while reducing directional risk
Index Spread Trading: Capitalize on relative performance differences between indices
Portfolio Protection: Hedge existing positions in technology-heavy portfolios
Volatility Management: Reduce overall portfolio volatility while maintaining desired exposure
This indicator eliminates the complexity of manually calculating hedge ratios by providing instant, accurate, and visually clear instructions on how to implement an MNQ-MES hedge strategy based on current market conditions.
Multi-Index Gap Confluence Indicator by ATALLAOverview of the Multi-Index Gap Confluence Indicator
This indicator is designed to identify and highlight price gaps across multiple market indices and their related ETFs/futures. It specifically looks for:
True gaps (where there's no overlap between the current and previous bar's range)
Negative gaps (where only the candle bodies have no overlap, but wicks might)
The indicator has the capability to:
Visualize gaps on charts using colored rectangles
Compare gaps across up to 6 different symbols (3 ETFs and 3 futures)
Generate confluence signals when multiple symbols show gaps simultaneously
Customize appearance and detection parameters
Key Components
Gap Detection
The script distinguishes between:
True gaps: No overlap at all between current and previous bars
Negative gaps: Only the candle bodies have no overlap
Multi-Asset Comparison
The indicator can monitor gaps across six major market indices:
ETFs: QQQ (Nasdaq-100), SPY (S&P 500), and DIA (Dow Jones)
Futures: NQ1! (Nasdaq-100), ES1! (S&P 500), and YM1! (Dow Jones)
Confluence Detection
The script identifies when multiple assets display gaps simultaneously, with:
Configurable minimum threshold (default is 5 out of 6 assets)
Option to require both ETF and futures representation
A strong confluence signal when 5-6 assets show gaps
Customization Options
The indicator offers many parameters for customization:
Gap colors and opacity
Symbol selection and enablement
Confluence thresholds
Display options
Visual Elements
The indicator displays:
Colored rectangles highlighting gap areas
Optional up/down triangles for gap direction
A flag symbol for strong confluence signals (when 5-6 assets show gaps)
Labels listing which specific assets have gaps
Practical Use
This indicator appears designed for traders looking to identify potentially significant market moves by spotting when multiple major indices show price gaps simultaneously. The emphasis on "strong confluence" (5-6 assets showing gaps) suggests these are considered particularly noteworthy signals.
LANZ Strategy 2.0🔷 LANZ Strategy 2.0 — London Breakout Confirmation with Structural Swing Protection
LANZ Strategy 2.0 is a structured trading system that leverages the last confirmed market direction before the London session to define directional bias and manage trades based on key structural swing levels. It is tailored for intraday traders looking to capitalize on early London volatility with built-in risk management and visual clarity.
🧠 Core Components:
Directional Confirmation (Pre-London Bias): Validates the last breakout or structural move from the 15-minute timeframe before 02:15 a.m. New York time (start of the London session), establishing the expected market direction.
Time-Based Execution: Executes potential entries strictly at 02:15 a.m. NY time, using market structure to support Long or Short bias.
Dynamic Swing-Based SL System: Allows user to select between three SL protection models: First Swing (most recent structural point) Second Swing (prior level) Total Coverage (includes both swings + extra buffer) This supports flexibility based on trader profile or market conditions.
Visual Risk Mapping: All SL and TP levels are clearly plotted.
End-of-Session Management: Positions are automatically evaluated for closure at 11:45 a.m. NY time. SL, TP, or manual close outcomes are labeled accordingly.
📊 Visual Features:
Labels for 1st and 2nd swing levels upon entry.
Dynamic lines projecting SL/TP levels toward the end of the session.
Session background coloring for Pre-London, Execution, and NY sessions.
Real-time percentage outcome labels (+2.00%, -1.00%, or net % at session end).
Automatic deletion of previous visuals on new entries for clean charting.
⚙️ How It Works:
Detects last structural breakout on the 15m timeframe before 02:15 a.m. NY.
On the 02:15 a.m. candle, executes a Long or Short logic entry.
Plots corresponding SL and TP based on selected swing model.
Monitors price action: If TP or SL is hit, labels it accordingly. If no exit is hit, trade closes manually at 11:45 a.m. NY with net result shown.
Optional logic to reverse entries if market structure breaks before execution.
🔔 Alerts:
Daily execution alert at 02:15 a.m. NY (prompting manual review or action).
Optional alert logic can be extended for SL/TP hits or structure breaks.
📝 Notes:
Designed for semi-automated or discretionary intraday trading.
Best used on Forex pairs or indices with strong London session behavior.
Adjustable parameters include session hours, swing SL type, and buffer settings.
Credits:
Developed by LANZ, this script combines time-based execution with dynamic structure protection, offering a disciplined framework for participating in the London session breakout with clear visuals and risk logic.
Ultimate NATR█ | Overview
This N-ATR (Normalized Average True Range) volatility indicator illustrates the trend of percentage-based candle volatility over a self-defined number of bars (period). The primary objective of the indicator is to highlight periods of high or low volatility, which can be exploited within the cyclical logic of volatility contraction and expansion. If market behavior is inherently cyclical, it naturally follows that candle volatility itself also exhibits cyclical characteristics.
It can therefore be defined as a recurring pattern:
Low Volatility --> High Volatility --> Low Volatility -->
Here is a concrete example of the cyclical phases of volatility, which compresses during Accumulation or Distribution phases, and then explodes with a mark-up or mark-down in price.
█ | Features
🔵 Plots on Overlay false
Smoothed NATR Line
NATR's Fixed Levels
NATR's Standard Deviation Levels (Dynamic)
🔵 Elements, overlapped to the chart
Analytical and Statistical Tables
NATR Information Label
🔵 Customization
Button to calculate fixed or dynamic (auto-calculated) levels
Dark / light mode based on the layout background
Setting of the initial date for the calculation of N-ATR dependent functions
ATR period
Moving Average of the N-ATR
Data sample (number) on which to calculate the standard deviation of the N-ATR
Adjustment of the multiplicative coefficients of the standard deviation σ
Setting of static values L1, L2, L3, and L4 of the N-ATR
Adjustment of the table zoom factor
█ | N-ATR Calculation
The N-ATR function is built upon the ATR (Average True Range), the quintessential volatility indicator.
Once the ATR_period is defined, the N-ATR is calculated using the following formula:
N-ATR = 100 * ATR / close
A moving average of the N-ATR completes the main indicator curve (yellow), making the function smoother and less sensitive to the instantaneous fluctuations of individual candles.
SMA_natr = sum(natr_i) / ATR_period
natr = 100 * ta.atr(periodo_ATR) / close
media_natr = ta.sma(natr, media_len)
█ | Settings
Show selected calc period : allows you to display or hide a background color that extends from the initial calculation date to the current bar, or from the first available bar if the selected date is earlier.
Set data range for ST.DEV : this setting defines the number of bars over which the standard deviation is calculated—an essential foundational element for plotting the upper and lower curves relative to the N-ATR, as well as for defining the statistical ranges in the tables overlaid on the price chart.
Static Levels : these are user-defined input values representing N-ATR value thresholds, used to classify table values within the ranges L1–L2 / L2–L3 / L3–L4 / >L4. To be meaningful, the user is expected to conduct separate statistical analysis using a spreadsheet or external data analysis tools or languages.
Coefficients x, w, y : these are input values used in the code to calculate statistical ranges and the bands above and below the N-ATR. For example, when expressing the statistical range as μ ± nσ, n can take the value of x, w, or y. By default, the values are x=1, w=2, y=3. However, as explained, they can be customized to represent wider or narrower statistical clusters, depending on the user's analytical preference.
█ | Tables
Static Levels : when the boolean button "Fixed Levels" is active, the table counts and distributes the data across five ranges, defined by the custom input values L1, L2, L3, and L4. Studying the table immediately answers the question: "Have I set appropriate values for the L_x levels?"
If the majority of data points fall within the lowest range, it indicates that the levels are spaced too far apart; conversely, if most values are in the "> L4" range, the levels are likely too narrow.
From left to right, the table also displays the probability that the current candle might move from its current range to the next one (Update Prob.); the absolute frequency of each range and the relative frequency are shown in the rightmost column.
Dynamic Levels : alternatively, you can deselect "Fixed Levels" to obtain an auto-calculated / self-adjusting representation of the N-ATR and its bands, based on the standard deviation input settings. In this case, the table takes on a more statistical form, useful for analyzing the frequency of outliers beyond a certain standard deviation, as defined by the largest multiplicative coefficient "y".
This visualization may also be preferred when aiming to study the standard deviation of the N-ATR in greater depth for a given asset, timeframe, and configuration more broadly.
█ | Next-to-Price Label
Information in the label next to the live price: if the first settings button in the indicator, "Fixed levels", is enabled (true), a label appears next to the price showing information about the relative position of the N-ATR associated with the current candle.
Specifically, if:
natr ≤ L1, ⇨ "Minimum-"
natr > L1 and natr ≤ L2, ⇨ "Minimum+"
natr > L2 and natr ≤ L3, ⇨ "Neutral L3"
natr > L3 and natr ≤ L4, ⇨ "Topping L4"
natr > L4, ⇨ "Excess L4: natr > V4"
Additionally, the corresponding N-ATR range is displayed to the right of the evaluated category for the individual candle.
1-Please note: this allows you to avoid constantly checking the N-ATR curve, especially when working in full-screen mode and focusing solely on the price chart for a cleaner view.
2-Please note : unfortunately, the informational label is not available in Dynamic display mode.
█ | Conclusion
• This indicator captures a snapshot of market turbulence. Whether currently unfolding or approaching, the combination of volatility breakout forecasting with price structure analysis—further evaluated based on periods of compression or high turbulence—offers traders a powerful tool for identifying trend-aligned trade opportunities.
• The accompanying analytical tables enhance the indicator by enabling a statistical interpretation of the likelihood that certain excess thresholds will be reached. Based on this data, traders can gain deeper insight into the nature of the asset, identify outlier volatility levels, and strengthen the hedging of their trades. Used as a filter, this indicator significantly improves win rate potential.
Please note : the indicator is shown here on a black background. I suggest you trying it on a white layout as well, so you can decide which visualization best suits your preferences.
Bitcoin Impact AnalyzerSummary of the "Bitcoin Impact Analyzer" script, the adjustments users can make, and an explanation of what the chart and table represent:
Script Summary:
The "Bitcoin Impact Analyzer" script is designed to help traders and analysts understand the relationship between a chosen altcoin and Bitcoin (BTC). It does this by:
Fetching price data for the specified altcoin and Bitcoin.
Calculating several key comparative metrics:
Normalized Prices: Shows the percentage performance of both assets from a common starting point.
Price Correlation: Measures how similarly the two assets' prices move over a defined period.
Beta: Indicates the altcoin's volatility relative to Bitcoin.
Altcoin/BTC Ratio: Shows the altcoin's value expressed in Bitcoin.
Fetching and displaying Bitcoin Dominance (BTC.D) data.
Visualizing these metrics on the chart as distinct plots.
Displaying the current values of these key metrics in a data table on the chart for quick reference.
The script aims to provide insights into whether an altcoin is outperforming or underperforming Bitcoin, how closely its price movements are tied to Bitcoin's, and its relative volatility.
User Adjustments:
Users can customize the script's behavior through several input settings:
Symbol Inputs:
Altcoin Symbol: Users can enter the ticker symbol for any altcoin they wish to analyze (e.g., BINANCE:ETHUSDT, KUCOIN:SOLUSDT).
Bitcoin Reference Symbol: Users can specify the Bitcoin pair to use as a reference, though BINANCE:BTCUSDT is a common default.
Lookback for Correlation/Beta:
Lookback Period: This integer value (default 50 periods) determines how many past candles are used to calculate the price correlation and beta.
A shorter lookback makes the metrics more sensitive to recent price action.
A longer lookback provides a smoother, more stable indication of the longer-term relationship.
Plot Visibility Options:
Users can toggle on or off the display of each individual plot on the chart:
Normalized BTC & Altcoin Prices
Altcoin/BTC Ratio
Correlation Plot
Bitcoin Dominance (BTC.D)
Beta Plot
This allows users to focus on specific metrics and reduce chart clutter.
What the Chart Represents:
The chart visually displays the historical trends and relationships of the selected metrics:
Normalized Prices Plot: Two lines (typically orange for BTC, blue for the altcoin) show the percentage growth of each asset from the start of the loaded chart data (or the first available data point for each symbol). This makes it easy to see which asset has performed better over time on a relative basis.
Correlation Plot: A single line (purple) oscillates between -1 and +1.
Values near +1 indicate a strong positive correlation (altcoin and BTC prices tend to move in the same direction).
Values near -1 indicate a strong negative correlation (they tend to move in opposite directions).
Values near 0 indicate little to no linear relationship.
Lines at +0.7 and -0.7 are often plotted as thresholds for "strong" correlation.
Beta Plot (if enabled): A single line (teal) shows the altcoin's volatility relative to BTC.
A Beta of 1 (often marked by a dashed line) means the altcoin has, on average, the same volatility as BTC.
Beta > 1 suggests the altcoin is more volatile than BTC (moves by a larger percentage for a given BTC move).
Beta < 1 suggests the altcoin is less volatile than BTC.
Bitcoin Dominance Plot: An area plot (gray) shows the percentage of the total cryptocurrency market capitalization that Bitcoin holds. This helps understand broader market sentiment and capital flows.
Altcoin/BTC Ratio Plot: A line (fuchsia) shows the price of the altcoin denominated in BTC.
An upward trend means the altcoin is gaining value against Bitcoin (outperforming).
A downward trend means the altcoin is losing value against Bitcoin (underperforming).
What the Table Represents:
The data table, typically located in the bottom-right corner of the chart, provides a snapshot of the current values for the most important calculated metrics. It includes:
Altcoin: The ticker symbol of the analyzed altcoin.
Bitcoin Ref: The ticker symbol of the Bitcoin reference.
Correlation (lookback): The current correlation coefficient between the altcoin and BTC, based on the specified lookback period. The value is color-coded (e.g., green for strong positive, red for strong negative).
Beta (lookback): The current beta value of the altcoin relative to BTC, based on the specified lookback period. The value may be color-coded to highlight significantly high or low volatility.
BTC.D Current: The current Bitcoin Dominance percentage.
ALT/BTC Ratio: The current price of the altcoin expressed in Bitcoin.
The table offers a quick, at-a-glance summary of the present market dynamics between the two assets without needing to interpret the lines on the chart for their exact current values.
Parsifal.Swing.TrendScoreThe Parsifal.Swing.TrendScore indicator is a module within the Parsifal Swing Suite, which includes a set of swing indicators such as:
• Parsifal Swing TrendScore
• Parsifal Swing Composite
• Parsifal Swing RSI
• Parsifal Swing Flow
Each module serves as an indicator facilitating judgment of the current swing state in the underlying market.
________________________________________
Background
Market movements typically follow a time-varying trend channel within which prices oscillate. These oscillations—or swings—within the trend are inherently tradable.
They can be approached:
• One-sidedly, aligning with the trend (generally safer), or
• Two-sidedly, aiming to profit from mean reversions as well.
Note: Mean reversions in strong trends often manifest as sideways consolidations, making one-sided trades more stable.
________________________________________
The Parsifal Swing Suite
The modules aim to provide additional insights into the swing state within a trend and offer various trigger points to assist with entry decisions.
All modules in the suite act as weak oscillators, meaning they fluctuate within a range but are not bounded like true oscillators (e.g., RSI, which is constrained between 0% and 100%).
________________________________________
The Parsifal.Swing.TrendScore – Specifics
The Parsifal.Swing.TrendScore module combines short-term trend data with information about the current swing state, derived from raw price data and classical technical indicators. It provides an indication of how well the short-term trend aligns with the prevailing swing, based on recent market behavior.
________________________________________
How Swing.TrendScore Works
The Swing.TrendScore calculates a swing score by collecting data within a bin (i.e., a single candle or time bucket) that signals an upside or downside swing. These signals are then aggregated together with insights from classical swing indicators.
Additionally, it calculates a short-term trend score using core technical signals, including:
• The Z-score of the price's distance from various EMAs
• The slope of EMAs
• Other trend-strength signals from additional technical indicators
These two components—the swing score and the trend score—are then combined to form the Swing.TrendScore indicator, which evaluates the short-term trend in context with swing behavior.
________________________________________
How to Interpret Swing.TrendScore
The trend component enhances Swing.TrendScore’s ability to provide stronger signals when the short-term trend and swing state align.
It can also override the swing score; for example, even if a mean reversion appears to be forming, a dominant short-term trend may still control the market behavior.
This makes Swing.TrendScore particularly valuable for:
• Short-term trend-following strategies
• Medium-term swing trading
Unlike typical swing indicators, Swing.TrendScore is designed to respond more to medium-term swings rather than short-lived fluctuations.
________________________________________
Behavior and Chart Representation
The Swing.TrendScore indicator fluctuates within a range, as most of its components are range-bound (though Z-score components may technically extend beyond).
• Historically high or low values may suggest overbought or oversold conditions
• The chart displays:
o A fast curve (orange)
o A slow curve (white)
o A shaded background representing the market state
• Extreme values followed by curve reversals may signal a developing mean reversion
________________________________________
TrendScore Background Value
The Background Value reflects the combined state of the short-term trend and swing:
• > 0 (shaded green) → Bullish mode: swing and short-term trend both upward
• < 0 (shaded red) → Bearish mode: swing and short-term trend both downward
• The absolute value represents the confidence level in the market mode
Notably, the Background Value can remain positive during short downswings if the short-term trend remains bullish—and vice versa.
________________________________________
How to Use the Parsifal.Swing.TrendScore
Several change points can act as entry triggers or aids:
• Fast Trigger: change in slope of the fast signal curve
• Trigger: fast line crosses slow line or the slope of the slow signal changes
• Slow Trigger: change in sign of the Background Value
Examples of these trigger points are illustrated in the accompanying chart.
Additionally, market highs and lows aligning with the swing indicator values may serve as pivot points in the evolving price process.
________________________________________
As always, this indicator should be used in conjunction with other tools and market context in live trading.
While it provides valuable insight and potential entry points, it does not predict future price action.
Instead, it reflects recent tendencies and should be used judiciously.
________________________________________
Extensions
The aggregation of information—whether derived from bins or technical indicators—is currently performed via simple averaging. However, this can be modified using alternative weighting schemes, based on:
• Historical performance
• Relevance of the data
• Specific market conditions
Smoothing periods used in calculations are also modifiable. In general, the EMAs applied for smoothing can be extended to reflect expectations based on relevance-weighted probability measures.
Since EMAs inherently give more weight to recent data, this allows for adaptive smoothing.
Additionally, EMAs may be further extended to incorporate negative weights, akin to wavelet transform techniques.
10 AM NY Box - By KaVeH📦 10 AM New York Box till 4 PM — \
--By KaVeH--
This indicator automatically draws a price range box that captures the high and low between 10:00 AM and 11:00 AM New York Time (Eastern Time) on "5-minute charts".
### 🔍 What It Does
The "10 AM NY Box" is a simple but powerful visualization tool for day traders and ICT-based strategies. It highlights a key hourly session right after the "New York open" — often a time of increased volatility, liquidity grabs, and the formation of critical intraday highs or lows.
### 📊 Features
Time Window: Customizable start and end hours (defaults: 10 AM to 11 AM NY time).
Box Color: Customizable with transparency.
Chart Restriction: The indicator "only works on 5-minute charts" to ensure accuracy and prevent misalignment.
### ⚙️ Inputs
- 'Start Hour (NY Time)' – Default: 10
- 'End Hour (NY Time)' – Default: 11
- 'Box Color' – Default: Red with transparency
### 📈 How It Works
- During the specified time window, the script tracks the "highest high and lowest low".
- Once the time window ends, it draws a "box" from the starting to the ending time, extending a little beyond to keep it visible.
- Each day's box is created independently, and only once per day.
### 🧠 Use Cases
- Spotting potential liquidity zones
- Identifying breakout or fakeout traps
- Aligning with ICT concepts like "FVG", "BAG", or "Judas Swing"
### ⚠️ Notes & Limitations
- "Only functions on 5-minute timeframes" — this is intentional to maintain session accuracy.
- Does not repaint.
- Time is aligned to **New York (Eastern Time)** regardless of your chart’s timezone.
- One box per day.
MissedPrice Volume Method[KiomarsRakei]█ Core Concept:
This script detects price zones that are highly likely to be revisited — areas where price moved too quickly to fully fill market activity. Using sharp volume shifts and volatility filters, the script identifies these “missed” levels and generates signals pointing toward them.
Signals are generated before price reaches the zone, allowing you to analyze price behavior both before and after the zone is touched. These zones often act like magnets for price, making them ideal for short-term.
Examples of signals and high hit rate of Missed zones
█ How It Works:
The script monitors 3-candle volume and price behavior to detect moments where volume accelerates abnormally compared to recent averages. When a potential missed zone is found and price hasn’t revisited it yet, a signal is created in advance, pointing to that zone as a likely future target.
█ Features:
Zone Visualization: Dynamic boxes show price targets based on missed volume areas.
Pre-Zone Signals: Alerts fire before price returns, offering early trade setups.
Stat Tracking System: Automatically logs signals, win rate, and average profit.
Live Performance Table: On-chart stats including hit/miss breakdown and late-return analysis.
Works on All Markets: Compatible with any chart that provides volume — crypto, forex, indices, or stocks.
A signal is considered successful when price touches the zone. However, not all zones are guaranteed to be revisited.
█ Key Inputs & Stats Table:
Volume Filters: Control signal sensitivity using min/max relative volume shift.
Zone & Line Settings: Adjust how long the zone stays visible and whether entry lines are drawn.
Custom Colors: Choose colors for buy/sell zones, lines, and visuals.
📊 Table Metrics:
Total Signals: Count of all generated signals.
Win Rate: % of signals where price returned to the zone (hit = touched the zone, regardless of timing).
Bad Signals: Signals that took too long to hit or were never hit.
Bad but Hit: Signals marked bad but eventually touched the zone.
Bad signals are marked in red. These indicate zones that price failed to reach within the expected time window, showing where the script identified a target that remained unfulfilled.
LANZ Strategy 4.0🔷 LANZ Strategy 4.0 — Trend Impulse Detection with Risk Management
LANZ Strategy 4.0 is a multi-indicator trend strategy designed for short to medium-term trading on any asset or timeframe. It combines Parabolic SAR, Supertrend, ADX, and time zone highlighting to detect and confirm trend impulses, while managing entries with dynamic Stop Loss (SL) and Take Profit (TP) levels.
🧠 Core Components:
Parabolic SAR: Identifies short-term trend reversals.
Supertrend: Highlights trend continuation zones.
ADX Filter: Ensures trend strength by filtering entries when ADX exceeds a defined threshold.
Impulse Detection Logic: Detects and confirms movement impulses with a counter, only generating trade signals on confirmed sequences.
Risk Management: Calculates dynamic SL/TP with a default risk-reward ratio of 1:2, minimum SL of 4 pts, and maximum of 12 pts.
📊 Visual Features:
Trend lines from Supertrend and SAR.
Colored background zones for different sessions (Asia, NY).
Labels and lines for entry, SL, and TP.
Movement number labels help visualize impulse progression.
Alerts when a new impulse is confirmed.
⚙️ How It Works:
The strategy waits for a confirmed impulse (i.e., change in SAR + Supertrend + ADX filter).
Once a valid impulse is confirmed:
A trade signal (BUY/SELL) is shown.
SL and TP levels are calculated and drawn.
The script monitors live price to determine if SL or TP is hit.
Impulse counter advances to label movement progression.
🔔 Alerts:
You will receive an alert each time a new valid impulse is confirmed, indicating a potential trading opportunity.
📝 Notes:
Script is intended for discretionary or assisted trading, not automated execution.
Works best during active sessions with visible trend direction.
You can adjust ATR period, multiplier, SL padding, and impulse thresholds.
Credits:
Developed by LANZ combines established technical indicators and original impulse-count logic.