Extreme Swings - Filters + FVGThis indicator shows the Fair Value Gap (FVG) with a 50 5 dotted line. In addition, his program shows the swing points (HH/HL/LH/LL). Lastly, their are some filters to get a more precise setting.Индикатор Pine Script®от BellcurveОбновлено 39
Squared9 Pro v1Squared9 Pro v1.0 (strategy) combines classic Gann geometry with modern momentum checks to find high-conviction reversal zones. The strategy requires: 1. Price to be within a user-defined percentage of Gann levels (based on recent pivot highs/lows and Square of Nine calculations). 2. Divergence on Stochastic and/or MACD (price and indicator moving in opposite directions). 3. Current price to respect the trend direction on a higher timeframe EMA. 4. A candle with a strong body relative to its range. Here's what it looks for: - Price is close to important Gann levels (calculated from recent swing highs/lows using Square of Nine math — shown as colored horizontal lines). - Stochastic and MACD indicators show divergence (price makes new high/low but indicators do not — a classic reversal clue). - The overall trend on a higher timeframe (default 4-hour) supports the trade direction via a 50-period EMA filter. - The current candle has a strong directional body (not a doji or tiny range — minimum body size is adjustable). When these line up, a green triangle appears below the bar for a potential long entry, or a red triangle above for short. Stop-loss and take-profit are set automatically using ATR multiples (default 1.7× for stop, 3.2× for target), with an optional trailing stop. All settings (lookback periods, tolerances, ATR multipliers, etc.) can be changed in the inputs panel. This script is designed for traders who want confluence-based signals rather than relying on a single indicator. Feedback is welcome.Стратегия Pine Script®от RU55IANROUL3TT3161
CODY BOT REVERSALFree Telegram Trading Community t.me What Is CODY BOT? CODY BOT is an easy-to-use trading tool that spots potential price reversals on your chart. It shows arrows when it detects certain candlestick patterns that often happen before the market changes direction. How It Works Green "Buy" Arrow Appears When: Current candle closes higher than yesterday's open Yesterday's candle closed lower than its own open This pattern often signals a possible upward move coming Red "Sell" Arrow Appears When: Current candle closes lower than yesterday's open Yesterday's candle closed higher than its own open This pattern often signals a possible downward move coming What You'll See on Your Chart Green up arrows below candles (buy signals) Red down arrows above candles (sell signals) You'll also get alerts if you set them up Best Ways to Use It Good For: Day trading (5-minute to 1-hour charts) Swing trading (4-hour to daily charts) All markets: stocks, forex, crypto Spotting quick trend changes Tips for Better Results: Wait for the candle to close before trading Use with support/resistance lines for confirmation Add volume to check if others are trading too Start with paper trading to practice Always use stop-loss to protect yourself What Makes It Special No lag - signals appear immediately Easy to understand - just follow the arrows Works on any timeframe Free to use No complicated settings Quick Start Guide Add CODY BOT to your TradingView chart Watch for green/red arrows at candle close Click the alert bell if you want notifications Test with fake money first Combine with what you already know about trading Remember: No indicator is perfect. Use CODY BOT as one tool in your toolbox, not the only tool. Always manage your risk and never trade more than you can afford to lose. Perfect for: Traders who like simple, clear signals without complicated math.Индикатор Pine Script®от tonewayclothing149
Volume Weighted Intra Bar LR KurtosisThis indicator analyzes market character by decomposing total Excess Kurtosis ("Fat Tails") of a SINGLE BAR into four distinct, interpretable components based on a Linear Regression model. Key Features: 1. **Intra-Bar LR Kurtosis Decomposition:** For each bar on the chart, the indicator analyzes the underlying price action on a smaller timeframe ('Intra-Bar Timeframe'). It fits a Linear Regression line through the intra-bar data to decompose the 4th Moment: - **Trend Kurtosis (Gold):** Peakedness of the regression line itself. High values indicate the price path within the bar moves in sudden jumps, steps, or gaps (discontinuous path). - **Residual Kurtosis (Red):** Excess Kurtosis of the noise around the regression line. Captures "Hidden Tail Risk" or extreme outliers within the bar relative to the trend. - **Within-Bar Kurtosis (Blue):** Fat tails derived from the microstructure of individual intra-bar candles. - **Interaction Variance (Dark Grey):** The comovement of variance and mean deviations (volatility clustering relative to trend). - **Interaction Skewness (Darker Grey):** The comovement of skewness and mean deviations (asymmetry relative to trend). 2. **Visual Decomposition Logic:** Total Excess Kurtosis is the primary metric displayed. Since statistical moments are additive, this indicator calculates the *exact* Total Kurtosis and partitions the columns based on the Law of Total Moments. 3. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Plots the *total* kurtosis as a stacked column chart. Stacking logic groups components to ensure visual clarity of the magnitude. - **Relative Mode:** Plots the direct *contribution ratio* (proportion) of each component relative to the total sum, ideal for identifying the dominant driver (Trend vs. Noise). 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting transforms inputs into logarithmic space, analyzing the kurtosis of *returns* rather than absolute prices. - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all regression and moment calculations, emphasizing high-participation moves. 5. **Kurtosis Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (peaks/valleys) in the *total* kurtosis line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Analysis Lines:** The entire intra-bar analysis can be run on a higher timeframe (using the `Timeframe` input), with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes comprehensive alerts for: - Kurtosis magnitude (High Positive / High Negative). - Character changes (Trend Jumps vs. Noise Outliers). - Total Kurtosis pivot (High/Low) detection. **Caution: Real-Time Data Behavior (Intra-Bar Repainting)** This indicator uses high-resolution intra-bar data. As a result, the values on the **current, unclosed bar** (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final **after the main chart bar has closed.** --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine2
Volume Weighted Intra Bar KurtosisThis indicator analyzes market sentiment by providing a detailed view of Excess Kurtosis ("Fat Tails"). It uses data from a lower, intra-bar timeframe to separate the total kurtosis of a single bar into distinct, interpretable components. Key Features: 1. **Intra-Bar Kurtosis Decomposition:** For each bar on the chart, the indicator analyzes the underlying price action on a smaller timeframe ('Intra-Bar Timeframe'). Unlike Variance, the Fourth Central Moment (Kurtosis) decomposes into three parts: - **Between-Bar Kurtosis (Gold):** Peakedness of the price path *between* the intra-bar candles. High values indicate that the macro movement happened in jumps or gaps rather than a smooth progression. - **Within-Bar Kurtosis (Blue):** Fat tails derived from the microstructure (extreme wicks) *inside* the intra-bar candles. - **Interaction Variance (Dark Grey):** The comovement of variance and mean deviations (volatility clustering relative to trend). - **Interaction Skewness (Darker Grey):** The comovement of skewness and mean deviations (asymmetry relative to trend). 2. **Visual Decomposition Logic:** Total Excess Kurtosis is the primary metric displayed. Since Kurtosis coefficients are not linearly additive, this indicator calculates the *exact* Total Kurtosis and partitions the columns based on the additive Fourth Moment Decomposition (`M4Tot = M4Btw + M4Wtn + M4Int`). 3. **Dual Display Modes:** The indicator offers two modes to visualize this information: - **Absolute Mode:** Plots the *total* kurtosis as a stacked column chart, showing the *absolute magnitude* of tail risk and the contribution of each component. - **Relative Mode:** Plots the components as a 100% stacked column chart (scaled from 0 to 1), focusing purely on the *energy ratio* of the components. 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting calculates an **Exponential Regression Curve** (log-space), making the analysis suitable for comparing assets with different scales (e.g., BTC vs EURUSD). - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all mean and moment calculations. 5. **Kurtosis Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (peaks/valleys) in the *total* kurtosis line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Analysis Lines:** The entire intra-bar analysis can be run on a higher timeframe (using the `Timeframe` input), with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes alerts for: - Kurtosis magnitude (High Positive / High Negative). - Kurtosis character changes/emerging/fading. - Total Kurtosis pivot (High/Low) detection. **Caution: Real-Time Data Behavior (Intra-Bar Repainting)** This indicator uses high-resolution intra-bar data. As a result, the values on the **current, unclosed bar** (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final **after the main chart bar has closed.** --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine0
Volume Weighted LR KurtosisThis indicator analyzes market character by decomposing total Excess Kurtosis ("Fat Tails") into four distinct, interpretable components based on a Linear Regression model. Key Features: 1. **Four-Component Kurtosis Decomposition:** The indicator separates market tail risk based on the 'Estimate Bar Statistics' option. It leverages the Law of Total Moments to provide an additive breakdown of the 4th Statistical Moment: - **Trend Kurtosis (Gold):** Peakedness of the regression line itself. High values indicate the trend moves in sudden jumps, steps, or gaps (discontinuous path). - **Residual Kurtosis (Red):** Excess Kurtosis of the noise around the regression line. This captures the "Hidden Tail Risk" (extreme outliers relative to the trend). - **Within-Bar Kurtosis (Blue):** Fat tails derived from the microstructure of individual bars (requires 'Estimate Bar Statistics'). - **Interaction Variance (Dark Grey):** The comovement of variance and mean deviations (volatility clustering relative to trend). - **Interaction Skewness (Darker Grey):** The comovement of skewness and mean deviations (asymmetry relative to trend). 2. **Visual Decomposition Logic:** Total Excess Kurtosis is the primary metric displayed. Since statistical moments are additive, this indicator calculates the *exact* Total Kurtosis and partitions the area to visualize the contribution (weight) of each structural source to the overall tail risk. 3. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Displays the *total* kurtosis as a stacked area chart, allowing to see the magnitude of tail risk. Stacking logic groups components to ensure visual clarity. - **Relative Mode:** Displays the direct *contribution ratio* (proportion) of each component relative to the total sum, ideal for identifying the dominant driver of the risk. 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting transforms inputs into logarithmic space, analyzing the kurtosis of *returns* rather than absolute prices. - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all regression and moment calculations, emphasizing high-participation moves. 5. **Kurtosis Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (peaks/valleys) in the *total* kurtosis line. This helps identify extremes in market fragility or structural changes. - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Kurtosis Lines:** The kurtosis lines can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes comprehensive alerts for: - Kurtosis magnitude (High Positive / High Negative). - Kurtosis character changes/emerging/fading. - Total Kurtosis pivot (High/Low) detection. --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine3
Volume Weighted KurtosisThis indicator analyzes market sentiment by decomposing total Excess Kurtosis ("Fat Tails") into distinct, interpretable components: "Between-Bar" (Trend Path) and "Within-Bar" (Microstructure). Key Features: 1. **Moment-Based Kurtosis Decomposition:** The indicator separates kurtosis based on the 'Estimate Bar Statistics' option. It leverages the additive property of the Fourth Central Moment (Cumulants) to ensure mathematical rigor: - **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates simple kurtosis of the selected `Source`. - **Decomposition Mode (`Estimate Bar Statistics` = ON):** The indicator uses a statistical model ('Estimator') to calculate *within-bar* kurtosis. This separates the tail risk into: - **Between-Bar Kurtosis (Gold):** Peakedness of the price path itself. High values indicate the trend moves in jumps or gaps rather than a smooth progression. - **Within-Bar Kurtosis (Blue):** Fat tails within the microstructure. High values imply significant outliers inside the bars (e.g., extreme wicks). - **Interaction Variance (Dark Grey):** The comovement of variance and mean deviations (volatility clustering relative to trend). - **Interaction Skewness (Darker Grey):** The comovement of skewness and mean deviations (asymmetry relative to trend). 2. **Visual Decomposition Logic:** Total Excess Kurtosis is the primary metric displayed. Since Kurtosis coefficients are not linearly additive, this indicator calculates the *exact* Total Kurtosis and partitions the area/ratios based on the additive Fourth Moment Decomposition (`M4Tot = M4Btw + M4Wtn + M4Int`). This ensures the displayed total kurtosis remains mathematically accurate. 3. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Displays the *Total Kurtosis* as the main line, with the background filled by the stacked components. Shows the *magnitude* of the tail risk. - **Relative Mode:** Displays the **Contribution Ratios** of each component (-1.0 to 1.0). This isolates the *structure/quality* of the risk (e.g., "Is the risk driven by the trend jumps or by the candle instability?"). 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting transforms inputs into logarithmic space, analyzing the kurtosis of *returns* rather than absolute prices. (Essential for correct statistical properties). - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all moment calculations, emphasizing high-participation moves. 5. **Kurtosis Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (peaks/valleys) in the *Total Kurtosis* line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Kurtosis Lines:** The kurtosis lines can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes comprehensive alerts for: - Kurtosis magnitude (High Positive / High Negative). - Character changes (Inter-Bar vs. Intra-Bar dominance). - Total Kurtosis pivot (High/Low) detection. --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine1
Volume Weighted Intra Bar LR SkewnessThis indicator analyzes market character by decomposing total skewness (asymmetry) of a SINGLE BAR into four distinct, interpretable components based on a Linear Regression model. Key Features: 1. **Intra-Bar LR Skewness Decomposition:** For each bar on the chart, the indicator analyzes the underlying price action on a smaller timeframe ('Intra-Bar Timeframe'). It fits a Linear Regression line through the intra-bar data to decompose the 3rd Moment: - **Trend Skewness (Green/Red):** Asymmetry originating from the slope of the intra-bar regression line. Indicates if the price path within the bar is geometrically trend-driven. - **Residual Skewness (Yellow):** Asymmetry of the noise around the regression line. Captures "Tail Risk" or sudden shocks within the bar that deviate from the main path. - **Within-Bar Skewness (Blue):** Asymmetry derived from the microstructure of individual intra-bar candles. - **Interaction Skewness (Dark Grey):** Asymmetry caused by the correlation between price levels and volatility within the bar (e.g., volatility expanding as price drops). 2. **Visual Decomposition Logic:** Total Skewness is the primary metric displayed. Since statistical moments are additive, this indicator calculates the *exact* Total Skewness and partitions the columns based on the Law of Total Moments. 3. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Plots the *total* skewness as a stacked column chart. Stacking logic groups components with the same sign to ensure visual clarity. - **Relative Mode:** Plots the direct *contribution ratio* (proportion) of each component relative to the total sum, ideal for identifying the dominant driver (Trend vs. Noise). 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting transforms inputs into logarithmic space, analyzing the skewness of *returns* rather than absolute prices. - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all regression and moment calculations, emphasizing high-participation moves. 5. **Skewness Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (peaks/valleys) in the *total* skewness line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Analysis Lines:** The entire intra-bar analysis can be run on a higher timeframe (using the `Timeframe` input), with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes comprehensive alerts for: - Skewness magnitude (High Positive / High Negative). - Character changes (Trend vs. Noise dominance). - Total Skewness pivot (High/Low) detection. **Caution: Real-Time Data Behavior (Intra-Bar Repainting)** This indicator uses high-resolution intra-bar data. As a result, the values on the **current, unclosed bar** (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final **after the main chart bar has closed.** --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine1
Volume Weighted Intra Bar SkewnessThis indicator analyzes market sentiment by providing a detailed view of skewness (asymmetry). It uses data from a lower, intra-bar timeframe to separate the total skewness of a single bar into distinct, interpretable components. Key Features: 1. **Intra-Bar Skewness Decomposition:** For each bar on the chart, the indicator analyzes the underlying price action on a smaller timeframe ('Intra-Bar Timeframe'). Unlike Variance, the Third Central Moment (Skewness) decomposes into three parts: - **Between-Bar Skewness (Gold):** Asymmetry of the price path *between* the intra-bar candles. Indicates if the macro movements within the bar accelerated in one direction. - **Within-Bar Skewness (Blue):** Asymmetry of the microstructure (wicks vs. tails) *inside* the intra-bar candles. - **Interaction Skewness (Grey):** The component arising from the comovement of local means and local variances (e.g., does volatility increase when price drops?). 2. **Visual Decomposition Logic:** Total Skewness is the primary metric displayed. Since Skewness coefficients are not linearly additive, this indicator calculates the *exact* Total Skewness and partitions the columns based on the additive Third Moment Decomposition (`M3Tot = M3Btw + M3Wtn + M3Int`). 3. **Dual Display Modes:** The indicator offers two modes to visualize this information: - **Absolute Mode:** Plots the *total* skewness as a stacked column chart, showing the *absolute magnitude* of asymmetry and the contribution of each component. - **Relative Mode:** Plots the components as a 100% stacked column chart (scaled from 0 to 1), focusing purely on the *energy ratio* of the components. 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting calculates an **Exponential Regression Curve** (log-space), making the analysis suitable for comparing assets with different scales (e.g., BTC vs EURUSD). - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all mean and moment calculations. 5. **Skewness Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (highs and lows) in the *total* skewness line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Analysis Lines:** The entire intra-bar analysis can be run on a higher timeframe (using the `Timeframe` input), with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes alerts for: - Skewness magnitude (High Positive / High Negative). - Skewness character changes/emerging/fading. - Total Skewness pivot (High/Low) detection. **Caution: Real-Time Data Behavior (Intra-Bar Repainting)** This indicator uses high-resolution intra-bar data. As a result, the values on the **current, unclosed bar** (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final **after the main chart bar has closed.** --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine0
Volume Weighted LR SkewnessThis indicator analyzes market character by decomposing total skewness (asymmetry) into four distinct, interpretable components based on a Linear Regression model. Key Features: 1. **Four-Component Skewness Decomposition:** The indicator separates market asymmetry based on the 'Estimate Bar Statistics' option. It leverages the Law of Total Moments to provide an additive breakdown of the 3rd Statistical Moment: - **Trend Skewness (Green/Red):** Asymmetry originating from the slope of the regression line itself. Indicates if the trend path is geometrically skewed. - **Residual Skewness (Yellow):** Asymmetry of the noise around the regression line. Captures "Tail Risk" (e.g., sudden spikes against the trend). - **Within-Bar Skewness (Blue):** Asymmetry derived from the microstructure of individual bars (requires 'Estimate Bar Statistics'). - **Interaction Skewness (Dark Grey):** Asymmetry caused by the correlation between price levels and volatility (e.g., volatility expanding as price moves in one direction). *Dominance of this component indicates an unstable, emotional market.* 2. **Visual Decomposition Logic:** Total Skewness is the primary metric displayed. Since statistical moments are additive, this indicator calculates the *exact* Total Skewness and partitions the area to visualize the contribution (weight) of each structural source to the overall market bias. 3. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Displays the *total* skewness as a stacked area chart, allowing to see the magnitude of tail risk. Stacking logic groups components with the same sign to ensure visual clarity. - **Relative Mode:** Displays the direct *contribution ratio* (proportion) of each component relative to the total sum, ideal for identifying the dominant driver of asymmetry. 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting transforms inputs into logarithmic space, analyzing the skewness of *returns* rather than absolute prices. - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all regression and moment calculations, emphasizing high-participation moves. 5. **Skewness Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (peaks/valleys) in the *total* skewness line. This helps identify extremes in market sentiment or structural bias. - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Skewness Lines:** The skewness lines can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes comprehensive alerts for: - Skewness magnitude (High Positive / High Negative). - Skewness character changes/emerging/fading. - Total Skewness pivot (High/Low) detection. --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine3
Volume Weighted SkewnessThis indicator analyzes market sentiment by decomposing total skewness (asymmetry) into two distinct, interpretable components: "Between-Bar" (Inter-Bar) and "Within-Bar" (Intra-Bar) skewness. Key Features: 1. **Moment-Based Skewness decomposition:** The indicator separates skewness based on the 'Estimate Bar Statistics' option. It leverages the additive property of the Third Central Moment to ensure mathematical rigor: - **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates simple skewness of the selected `Source`. - **Decomposition Mode (`Estimate Bar Statistics` = ON):** The indicator uses a statistical model ('Estimator') to calculate *within-bar* skewness. This separates the asymmetry into: - **Between-Bar Skewness (Gold):** Asymmetry of the price path itself. A positive value indicates that the trend moves more aggressively upwards than downwards. - **Within-Bar Skewness (Blue):** Asymmetry of the microstructure (wicks vs. tails). A positive value implies strong buying pressure within the bars (long tails). 2. **Visual Decomposition Logic:** Total Skewness is the primary metric displayed. Since Skewness coefficients are not linearly additive, this indicator calculates the *exact* Total Skewness and partitions the area/ratios based on the additive Third Moment Decomposition (`M3Tot = M3Btw + M3Wtn`). This ensures the displayed total skewness remains mathematically accurate. 3. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Displays the *Total Skewness* as the main line, with the background filled by the stacked components. Shows the *magnitude* and direction of the tail risk. - **Relative Mode:** Displays the **Contribution Ratios** of each component (-1.0 to 1.0). This isolates the *structure/quality* of the asymmetry (e.g., "Is the skewness driven by the trend or by the candle shapes?"). 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting transforms inputs into logarithmic space, analyzing the skewness of *returns* rather than absolute prices. (Essential for correct statistical properties). - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all moment calculations, emphasizing high-participation moves. 5. **Skewness Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (peaks/valleys) in the *Total Skewness* line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Skewness Lines:** The skewness lines can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes comprehensive alerts for: - Skewness magnitude (High Positive / High Negative). - Character changes (Inter-Bar vs. Intra-Bar dominance). - Total Skewness pivot (High/Low) detection. --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine0
Volume Weighted Intra Bar LR CorrelationThis indicator analyzes market character by providing a detailed view of correlation. It applies a Linear Regression model to intra-bar price action, dissecting the total correlation of each bar into three distinct components. Key Features: 1. **Three-Component Correlation Decomposition:** The indicator separates correlation based on the 'Estimate Bar Statistics' option. - **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates correlation based on the selected `Source` (this results mainly in 'Trend' and 'Residual' correlation). - **Decomposition Mode (`Estimate Bar Statistics` = ON):** The indicator uses a statistical model ('Estimator') to calculate *within-bar* correlation. (Assumption: In this mode, the `Source` input is **ignored**, and an estimated mean for each bar is used instead). This separates correlation into: - **Trend Correlation (Green/Red):** Correlation explained by the regression's slope (Directional Alignment). - **Residual Correlation (Yellow):** Correlation from price oscillating around the regression line (Mean-Reversion/Cointegration). - **Within-Bar Correlation (Blue):** Correlation from the high-low range of each bar (Microstructure/Noise). 2. **Visual Decomposition Logic:** Total Correlation is the primary metric displayed. Since Correlation Coefficients are not linearly additive, this indicator plots the *exact* Total Correlation and partitions the area underneath based on the Covariance Ratio. This ensures the displayed total correlation remains mathematically accurate while showing relative composition. 3. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Displays the *total* correlation as a stacked area chart, partitioned by the ratio of the three components. - **Relative Mode:** Displays the direct *energy ratio* (proportion) of each component relative to the total (0-1), ideal for identifying the dominant market character. 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting calculates an **Exponential Regression Curve** (log-space), making the analysis suitable for growth assets. - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all regression and correlation calculations. 5. **Correlation Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (highs and lows) in the *total* correlation line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Correlation Lines:** The correlation lines can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes comprehensive alerts for: - Correlation magnitude (High Positive / High Inverse). - Correlation character changes/emerging/fading. - Total Correlation pivot (High/Low) detection. **Caution! Real-Time Data Behavior (Intra-Bar Repainting)** This indicator uses high-resolution intra-bar data. As a result, the values on the **current, unclosed bar** (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final **after the main chart bar has closed.** --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine3
Volume Weighted Intra Bar CorrelationThis indicator analyzes market character by providing a detailed view of correlation. It uses data from a lower, intra-bar timeframe to separate the total correlation of a single bar into two distinct components. Key Features: 1. **Intra-Bar Correlation Decomposition:** For each bar on the chart, the indicator analyzes the underlying price action on a smaller timeframe ('Intra-Bar Timeframe') and quantifies two types of correlation: - **Between-Bar Correlation (Directional):** Calculated from price movements *between* the intra-bar candles. This component represents the **macro-movement** correlation within the main bar. - **Within-Bar Correlation (Non-Directional):** Calculated from price fluctuations *inside* each intra-bar candle. This component represents the **microstructure/noise** correlation. 2. **Visual Decomposition Logic:** Total Correlation is the primary metric displayed. Since Correlation Coefficients are not linearly additive, this indicator plots the *exact* Total Correlation and partitions the area underneath based on the Covariance Ratio. This ensures the displayed total correlation remains mathematically accurate while showing relative composition. 3. **Dual Display Modes:** The indicator offers two modes to visualize this information: - **Absolute Mode:** Plots the *total* correlation as a stacked column chart, showing the *absolute magnitude* of correlation and the contribution of each component. - **Relative Mode:** Plots the components as a 100% stacked column chart (scaled from 0 to 1), focusing purely on the *energy ratio* of 'between-bar' (macro) and 'within-bar' (micro) correlation. 4. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting calculates an **Exponential Regression Curve** (log-space), making the analysis suitable for comparing assets with different scales (e.g., BTC vs EURUSD). - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all mean and covariance calculations. 5. **Correlation Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (highs and lows) in the *total* correlation line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 6. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 7. **Multi-Timeframe (MTF) Capability:** - **MTF Analysis Lines:** The entire intra-bar analysis can be run on a higher timeframe (using the `Timeframe` input), with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 8. **Integrated Alerts:** Includes alerts for: - Correlation magnitude (High Positive / High Inverse). - Correlation character changes/emerging/fading. - Total Correlation pivot (High/Low) detection. **Caution: Real-Time Data Behavior (Intra-Bar Repainting)** This indicator uses high-resolution intra-bar data. As a result, the values on the **current, unclosed bar** (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final **after the main chart bar has closed.** --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine0
Volume Weighted LR CorrelationThis indicator analyzes the structural relationship between two assets by decomposing the Total Correlation into three distinct, interpretable components using a Weighted Linear Regression model and a Hybrid Copula Estimator. Key Features: 1. **Hybrid Copula Estimator:** Unlike standard correlation, which often fails on High/Low range data, this indicator fuses two metrics to ensure mathematical rigor: - **Magnitude:** Derived from Rogers-Satchell Volatility (robust to trend). - **Direction:** Derived from Log-Returns. This allows for precise correlation estimates even on intra-bar data. 2. **Three-Component Correlation Decomposition:** The indicator separates correlation based on the 'Estimate Bar Statistics' option. - **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates correlation based on the selected `Source`. - **Decomposition Mode (`Estimate Bar Statistics` = ON):** The indicator uses a statistical model ('Estimator') to calculate *within-bar* correlation. This separates the relationship into: - **Trend Correlation (Green/Red):** Correlation of the regression slopes. Indicates if assets are trending in the same direction. - **Residual Correlation (Yellow):** Correlation of the noise around the trend (Cointegration). Indicates if assets mean-revert together, even if trends differ. - **Within-Bar Correlation (Blue):** Correlation of the microstructure (intra-bar volatility). 3. **Visual Decomposition Logic:** Total Correlation is the primary metric displayed. Since Correlation Coefficients are not linearly additive, this indicator calculates the *exact* Total Correlation and partitions the area/ratios based on the additive Covariance Decomposition. This ensures the displayed total correlation remains mathematically accurate. 4. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Displays the *Total Correlation* as the main line, with the background filled by the stacked components (Trend, Residual, Within). Shows the *magnitude* of the relationship. - **Relative Mode:** Displays the **Energy Ratios** (-1.0 to 1.0) of each component using L1-Normalization. This isolates the *structure/quality* of the relationship (e.g., "Is the correlation driven by Trend or just by Noise?"). 5. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting calculates an **Exponential Regression Curve** (log-space), creating a constant percentage variance environment. Essential for comparing assets with different scales (e.g., BTC vs EURUSD). - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all regression and covariance calculations. 6. **Correlation Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (highs and lows) in the *Total Correlation* line. - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 7. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 8. **Multi-Timeframe (MTF) Capability:** - **MTF Correlation Lines:** The correlation lines can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 9. **Integrated Alerts:** Includes comprehensive alerts for: - Correlation magnitude (High Positive / High Inverse). - Correlation character changes/emerging/fading. - Total Correlation pivot (High/Low) detection. --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine2
Volume Weighted CorrelationThis indicator analyzes the structural relationship between two assets by decomposing the Total Correlation into two distinct, interpretable components: "Between-Bar" (Inter-Bar) and "Within-Bar" (Intra-Bar) correlation. Key Features: 1. **Hybrid Copula Estimator:** Unlike standard correlation, which often fails on High/Low range data, this indicator fuses two metrics to ensure mathematical rigor: - **Magnitude:** Derived from Rogers-Satchell Volatility. - **Direction:** Derived from Log-Returns. This allows for precise correlation estimates even on intra-bar data. 2. **Two-Component Correlation Decomposition:** The indicator separates correlation based on the 'Estimate Bar Statistics' option. - **Standard Mode (`Estimate Bar Statistics` = OFF):** Calculates correlation based on the selected `Source` (Close-to-Close). - **Decomposition Mode (`Estimate Bar Statistics` = ON):** The indicator uses a statistical model ('Estimator') to calculate *within-bar* correlation. This separates the relationship into: - **Between-Bar Correlation (Green/Red):** Correlation of the price paths (means). Indicates if the macro movements of the assets are aligned (Inter-Bar correlation). - **Within-Bar Correlation (Blue):** Correlation of the microstructure (Intra-Bar volatility/noise). 3. **Visual Decomposition Logic:** Total Correlation is the primary metric displayed. Since Correlation Coefficients are not linearly additive, this indicator calculates the *exact* Total Correlation and partitions the area/ratios based on the additive Covariance Decomposition (`CovTot = CovBtw + CovWtn`). This ensures the displayed total correlation remains mathematically accurate. 4. **Dual Display Modes:** The indicator offers two modes to visualize this decomposition: - **Absolute Mode:** Displays the *Total Correlation* as the main line, with the background filled by the stacked components (Between vs. Within). Shows the *magnitude* of the relationship. - **Relative Mode:** Displays the **Energy Ratios** (-1.0 to 1.0) of each component using L1-Normalization. This isolates the *structure/quality* of the relationship (e.g., "Is the correlation driven by price movement or just by volatility coupling?"). 5. **Calculation Options:** - **Normalization:** An optional 'Normalize' setting calculates an **Exponential Regression Curve** (log-space), creating a constant percentage variance environment. Essential for comparing assets with different scales (e.g., BTC vs EURUSD). - **Volume Weighting:** An option (`Volume weighted`) applies volume weighting to all mean and covariance calculations. 6. **Correlation Cycle Analysis:** - **Pivot Detection:** Includes a built-in pivot detector that identifies significant turning points (highs and lows) in the *Total Correlation* line. (Note: This is only visible in 'Absolute Mode'). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library. 7. **Note on Confirmation (Lag):** Pivot signals are confirmed using a lookback method. A pivot is only plotted *after* the `Pivot Right Bars` input has passed, which introduces an inherent lag. 8. **Multi-Timeframe (MTF) Capability:** - **MTF Correlation Lines:** The correlation lines can be calculated on a higher timeframe, with standard options to handle gaps (`Fill Gaps`) and prevent repainting (`Wait for...`). - **Limitation:** The Pivot detection (`Calculate Pivots`) is **disabled** if a Higher Timeframe (HTF) is selected. 9. **Integrated Alerts:** Includes comprehensive alerts for: - Correlation magnitude (High Positive / High Inverse). - Character changes (Inter-Bar vs. Intra-Bar dominance). - Total Correlation pivot (High/Low) detection. --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine2
Market Structure Event TrendThis indicator identifies and visualizes advanced market structure concepts (SMC) alongside classic price action analysis. It combines robust, non-repainting pivot detection with a sophisticated engine that tracks dual-layer trend states, structural breaks (BOS/CHoCH), and supply/demand zones (Order Blocks). Key Features: 1. **Non-Repainting Pivot Detection:** - Uses a standard lookback method (`left` and `right` bars) to identify historical pivot points. - **Note on Confirmation:** Pivots are only confirmed *after* the `Pivot Right Bars` input has passed. This is essential for ensuring the signal is non-repainting, but it introduces an inherent lag. - Automatically classifies the sequence of pivots according to Dow Theory: Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL). - **Flexible Pivot Algorithms:** Supports various underlying mathematical models for pivot detection provided by the core library 2. **Smart Money Concepts (SMC) Engine:** - **Dual-Layer Structure:** The engine distinguishes between significant **Major Structure** (Swing Points) and internal **Minor Structure** (Sub-Structure). This allows traders to separate the overarching trend from immediate order flow. - **Event Detection:** Automatically identifies and visualizes key events: - **BOS (Break of Structure):** Signals trend continuation when a validated High/Low is broken in the direction of the trend. - **CHoCH (Change of Character):** Signals a potential trend reversal when a significant structural level is breached against the trend. - **Pivot Classification:** Applies classic labels (HH, HL, LH, LL) while also detecting Equal Highs (EH) and Equal Lows (EL) based on a user-defined price tolerance. 3. **Automated Order Blocks:** - Identifies potential Supply and Demand zones (Order Blocks) formed at the precise origin of a structural break. - **Mitigation Tracking:** The indicator monitors price action in real-time and automatically removes or updates Order Blocks once they have been mitigated (tested/broken) by the price. - **Scope Awareness:** Distinguishes between Major Order Blocks (Swing origin) and Minor Order Blocks (Internal flow origin). 4. **Trend State Visualization & Dynamic S/R:** - A robust state machine analyzes the sequence of events to determine the current market trend (Bullish, Bearish, or Neutral) for both Major and Minor scopes. - **Dynamic Step-Lines:** Visualizes the trend structure directly on the chart, creating a "staircase" effect that highlights trailing stop levels. - **Extended Pivot Lines:** Extends dynamic horizontal lines from confirmed pivots that act as Support/Resistance and automatically terminate upon a structural break. 5. **Full Customization & Alerts:** - **Display Options:** Granular control over the visibility of Events, Labels, Symbols, and Lines. Supports "Relative" vs "Absolute" price change display. - **Visual Styling:** Extensive color customization for Bullish/Bearish scenarios and Major/Minor hierarchy. - **Comprehensive Alerts:** Set up precise alerts for: - New Pivot formations (e.g., "Pivot Higher High"). - Structural Events (e.g., "Major Bullish BOS detected"). - Trend State Changes (e.g., "Major Trend changed to Bullish", "Minor Trend no longer Bearish"). --- **DISCLAIMER** 1. **For Informational/Educational Use Only:** This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset. 2. **Use at Your Own Risk:** All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk. 3. **No Guarantee of Performance:** Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability. 4. **No Liability:** The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator. 5. **Signals Are Not Recommendations:** The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.Индикатор Pine Script®от AustrianTradingMachine22502
CPR OI Toolkit - All in one indicatorThis is experimental indicator which is an extend my pre triple EMA indicator. I have been using this indicator to identify potential entry and exit for commodity market. I had used it for couple of week and it helps. I would like to share with you. It is meant identify and analyze then plan your trade. I have developed this indicator using Google Antigravity , which is an awesome tool for developing trading indicator and strategies. My CPR OI tool kit includes following. Triple EMA Stochastic - for trend catching Previous Low/high base trial and visual indication Price action concepts Reversion logic. Visual indication - buy / sell / setup initialization / exit Visual dashboard. --- ## 🎨 Visual Signal Guide | Marker | Meaning | Action | |--------|---------|--------| | 🔵 Tiny Blue Circle | Stochastic bullish setup START | Wait for EMA + breakout | | 🟢 Green Triangle UP | **LONG ENTRY** - All conditions met | **ENTER LONG** | | 🔴 Red Triangle DOWN | **SHORT ENTRY** | **ENTER SHORT** | | 🟠 Orange Circle | **EXIT** - EMA1/2 cross | **CLOSE POSITION** | | 💧 Aqua "R" | Mean reversion long | Scalp opportunity | | 💜 Fuchsia "R" | Mean reversion short | Scalp opportunity | --- ## 💰 Open Interest Interpretation | Status | Price vs Prev | OI Change | Meaning | |--------|---------------|-----------|---------| | **Long Accumulation**🟢 | ↑ | ↑ | Bulls building positions | | **Short Accumulation**🔴 | ↓ | ↑ | Bears building positions | | **Short Covering**🟡 | ↑ | ↓ | Bears exiting (bullish) | | **Long Unwinding**🟠 | ↓ | ↓ | Bulls exiting (bearish) | --- ## 🔔 Alerts (All Enabled by Default) 1. "LONG Signal | Stochastic confirmed | EMA Bullish" 2. "SHORT Signal | Stochastic confirmed | EMA Bearish" 3. "EMA Alignment: BULLISH/BEARISH" 4. "Position CLOSED - Trailing Stop Hit" --- Индикатор Pine Script®от trade_crush88691
Support & Resistance Automated📌 Support and Resistance Automated (Pivot-Based) Support and Resistance Automated is a lightweight and fully automated indicator that plots key support and resistance levels using pivot highs and pivot lows. It helps traders quickly identify important price reaction zones without manual drawing. This indicator is especially useful for price-action traders, swing traders, and intraday traders who rely on clean charts and objective levels. 🔍 How It Works Pivot Highs → Resistance Levels Pivot Lows → Support Levels Each detected pivot creates a horizontal dotted line that extends forward, allowing you to observe how price reacts over time. Once a level is formed, it is kept permanently on the chart — no repainting, no disappearing levels. ⚙️ Customizable Settings You can easily adjust: Left & Right Pivot Bars – control how strong a pivot must be Line Extension Length Line Width Support & Resistance Colors Show / Hide Pivot Highs and Pivot Lows independently This flexibility allows the indicator to adapt to intraday, swing, or higher-timeframe analysis. ✅ Key Features ✔ Fully automatic support & resistance detection ✔ Based on proven pivot-point logic ✔ No repainting ✔ Clean, minimal chart appearance ✔ Unlimited support & resistance levels ✔ Works on all timeframes & instruments 📈 Best Use Cases Identifying key demand and supply zones Planning entries, targets, and stop-losses Confluence with price action, RSI, moving averages Breakout and rejection-based strategiesИндикатор Pine Script®от sameer_thorappa80
PyraTime 9 [Context Aware]PyraTime 9 is a highly customizable, noise-reduced mean-reversion indicator. While traditional sequential counting indicators are "blind" printing signals purely based on candle counts regardless of market conditions PyraTime 9 is Context Aware. It was built to solve the common problem of "catching falling knives" by filtering signals through sophisticated trend and momentum checks. Why use this over standard sequential counters? Significantly Less Noise: The "Context Aware" logic filters out low-probability signals that occur against the dominant trend. Intelligent Filtering: Unlike basic tools, you can choose how you validate trades. Filter signals using the 200 EMA, the "Master Angle" (Linear Regression Slope), or RSI Momentum. Cleaner Visuals: The chart only displays valid, high-probability 9s, keeping your workspace clean and focused. Key Features 1. Context-Aware Filtering Select how you want to validate your signals using the settings menu: EMA Trend: Filters signals based on price relation to the 200 EMA (e.g., only show Buy 9s if price is above the EMA). Master Angle: Filters signals based on the slope of Linear Regression. Both (Strict): Requires both the EMA trend and the Master Angle to align with the trade direction for maximum safety. 2. RSI Momentum Check An optional quality control filter. If enabled, the indicator ensures momentum is not already overextended against you before signaling (e.g., a Buy 9 is only valid if RSI < 50). 3. Live Performance Dashboard A premium, on-chart dashboard tracks the historical strike rate of the signals on your current timeframe. Real-Time Feedback: Instantly see if the current settings are profitable on the asset you are trading. Reaction Period: Customizable setting to define what constitutes a "Win." By default, it checks 5 bars after a signal to see if price moved in your favor. How to Use Select your Filter Mode: For trending markets, use "EMA Trend." For volatile/choppy markets, use "Master Angle." Wait for a 9: A green "9" indicates a potential buy setup; a red "9" indicates a potential sell setup. Check the Dashboard: Ensure the current asset/timeframe has a historically high strike rate (green text) before taking action. Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results.Индикатор Pine Script®от PyraTime16
Cody Order Block Finder with RegressionThe Cody Order Block Finder with Regression Channel is a comprehensive trading tool that combines order block identification with linear regression analysis. This dual-approach indicator is designed to help traders identify potential institutional order flow zones within the context of established market trends, providing a structured methodology for trade entry and exit decisions. Free Telegram Trading Community t.me Order Block Detection System Identifies potential institutional buying and selling zones based on specific candle patterns Configurable detection parameters including required subsequent candles and minimum percentage moves Three visual color schemes (Dark, Bright, Neon) for different chart backgrounds Options to display order blocks using wick ranges or body ranges Advanced filtering capabilities including size-based and ATR-based filters Historical display controls with options to show all order blocks or only the most recent instances Linear Regression Channel Customizable regression length from 1 to 5000 periods Upper and lower deviation channels with adjustable multipliers Pearson's R correlation coefficient display for trend strength assessment Flexible extension options for channel lines (left, right, both, or none) Visual channel fills between regression lines for clear trend identification Technical Specifications Detection Logic Bullish order blocks: Identified by a bearish candle followed by a specified number of consecutive bullish candles with minimum percentage movement Bearish order blocks: Identified by a bullish candle followed by a specified number of consecutive bearish candles with minimum percentage movement Size validation through configurable percentage thresholds Optional ATR filtering for volatility-adjusted order block identification Visual Elements Triangle markers indicating order block locations above or below relevant candles Extended lines marking order block boundaries with configurable right-side extension Informative labels displaying order block size percentages Dynamic trend labels based on regression slope analysis Adjustable transparency and coloring for all visual elements Alert System Context-aware alerts that only trigger in confirmed trends Buy alerts: Bullish order blocks detected during uptrends (positive regression slope) Sell alerts: Bearish order blocks detected during downtrends (negative regression slope) Customizable alert messages with trend context information Performance Optimization Maximum 500 lines and 500 labels for system resource management Efficient array-based line management for historical display controls Conditional calculations to reduce processing overhead Application for Traders This indicator serves multiple trading methodologies: Trend-following traders can use regression channels for trend identification Institutional flow traders can identify potential order block zones Swing traders can locate high-probability reversal areas Risk management through size and volatility filtering The combination of order block detection with regression trend analysis provides traders with a comprehensive tool for identifying potential trade setups that align with both institutional activity and broader market trends. The extensive customization options allow adaptation to various trading styles and market conditions.Индикатор Pine Script®от tonewayclothing44575
Cody Order Block FinderCody Order Block Finder Free Telegram Trading Community t.me Overview A professional order block detection indicator that identifies institutional supply and demand zones on any timeframe. This tool helps traders spot key reversal areas where institutional orders are likely placed, providing strategic levels for limit order entries. Key Features 🔍 Smart Order Block Detection Bullish Order Blocks: Identifies the last bearish candle before consecutive bullish candles Bearish Order Blocks: Identifies the last bullish candle before consecutive bearish candles Configurable Sensitivity: Adjust the number of consecutive candles required (1-50 periods) Minimum Move Filter: Set percentage threshold to filter only significant moves 🎨 Visual Customization Multiple Color Schemes: Choose from DARK, BRIGHT, or NEON themes Customizable Display: Show/hide bullish/bearish channels Line Extension: Extend OB lines to current bar for better visibility Historical View: Toggle between showing all historical OBs or only the latest ones 📊 Advanced Filtering OB Size Filter: Set minimum and maximum order block size as percentage of price ATR Filter: Filter OBs based on Average True Range multiples OB Strength Indicator: Color-coded OBs based on subsequent price move strength Wick/Body Selection: Choose to mark OBs using whole candle range or body only 🔔 Alert System Real-time Alerts: Get notified immediately when new order blocks form Customizable Messages: Set your own alert messages Once-per-OB Option: Prevent alert spam with single alert per OB 📈 Display Features Three-Line Channels: Shows high, low, and average levels for each OB Visual Shapes: Clear triangle markers above/below candles Info Panel: Displays latest OB statistics in a clean table format Data Window Info: View OB levels in TradingView's data window How to Use Setup Add indicator to your chart Configure periods (default: 5) - higher values = fewer but stronger OBs Set minimum % move (default: 0%) to filter significant moves Choose color scheme for your preference Trading Applications Limit Order Placement: Place buy limits at bullish OB lows, sell limits at bearish OB highs Stop Loss Reference: Set stops beyond OB extremes Reversal Confirmation: Use OBs as confluence with other indicators Support/Resistance: OB levels often act as future support/resistance Advanced Tips Combine with volume profile for higher probability zones Use on higher timeframes (4H, Daily) for more significant levels Look for OBs at key Fibonacci levels for added confluence Monitor price reactions when revisiting OBs Technical Details Programming Language: Pine Script v6 Overlay: Yes (draws directly on price chart) Max Lines: 500 (prevents chart clutter) Timeframe Compatibility: All timeframes (1min to Monthly) Market Compatibility: Forex, Stocks, Crypto, Futures Input Parameters Basic Settings Relevant Periods: Number of consecutive candles required (1-50) Min. Percent move: Minimum % move to validate OB (0.0-100.0) Color Scheme: DARK, BRIGHT, or NEON color themes Display Options Show latest Bullish/Bearish Channel: Toggle channel display Extend OB lines to right: Extend lines to current bar Show all historical OBs: Display all OBs or only latest Use whole range: Use High/Low or Open/Close for OB marking Advanced Filters Min/Max OB size (%): Filter by order block size Use ATR filter: Filter based on volatility Show OB Strength: Color code by subsequent move strength Alert Configuration Create alerts directly from the indicator by clicking "Create Alert" button on chart: Bullish OB alerts when green triangle appears Bearish OB alerts when red triangle appears Includes price and OB level information Best Practices Higher Timeframes First: Start on daily/4H to identify major levels Multiple Confluence: Combine with trend lines, Fibonacci, or moving averages Patience: Wait for price to return to OB levels for entries Risk Management: Always use appropriate position sizing and stops Support & Updates For updates and support, visit the script page. The indicator is regularly maintained for optimal performance across all markets and timeframes. Perfect for: Swing traders, position traders, institutional traders, and anyone looking to trade with the "smart money" flow using order flow concepts. Trading Styles: Works with all styles - scalping, day trading, swing trading, and investing. Experience Level: Suitable for beginners to advanced traders with clear visual cues and customizable settings. Индикатор Pine Script®от tonewayclothing77769
Previous HLC Single ChoiceThis indicator allows traders to visualize the High, Low, and Close (HLC) levels of a previous timeframe directly on their current chart. By plotting these key levels from a higher timeframe, traders can identify significant support and resistance zones, potential breakout levels, and the overall market context without needing to switch back and forth between different chart intervals. How it Works The script utilizes the request.security() function to fetch the High, Low, and Close data from the previous completed bar of a user-selected timeframe. Unlike static multi-timeframe indicators that might clutter the chart with too many lines, this script is designed for simplicity and flexibility. It uses the input.timeframe functionality, allowing you to select any standard or custom timeframe available on TradingView (e.g., 4-hour, Daily, Weekly, 3-Month, 12-Month) via a simple dropdown menu. Once a timeframe is selected, the indicator plots three distinct lines: Green Line: The High of the previous timeframe. Red Line: The Low of the previous timeframe. Orange Line: The Close of the previous timeframe. Usage Examples These levels often act as dynamic support and resistance. Breakouts: A move above the previous timeframe's High can signal bullish strength. Breakdowns: A drop below the previous timeframe's Low can signal bearish weakness. Ranges: The space between the High and Low often defines the trading range for the current session. Screenshots Ethereum (1D Chart / 6M Levels): Here we see the 6-Month High, Low, and Close plotted on a Daily chart. Note how the previous 6-month levels frame the long-term trend. Silver (2h Chart / 1W Levels): This example shows Silver on a 2-hour chart with Weekly levels. This is useful for intraday traders looking for weekly pivots. EURUSD (30m Chart / 480m Levels): A granular look at the Euro on a 30-minute chart using an 8-hour (480m) timeframe overlay. This helps identify mid-session reversals. Apple (1D Chart / 3M Levels): Apple stock on a Daily chart with Quarterly (3-Month) levels, highlighting major structural levels for swing trading. Settings Choose Timeframe: Select the specific timeframe you wish to overlay (Default is 3 Months). Disclaimer This script is for educational and informational purposes only. It DOES NOT constitute financial advice. Past performance is not indicative of future results. Always do your own research and risk management before trading.Индикатор Pine Script®от abgthecoder11
Dimensional Support ResistanceDimensional Support Resistance Overview Dimensional Support Resistance is an open-source overlay indicator that automatically detects and displays clean, non-overlapping support and resistance levels using pivot-based analysis with intelligent filtering. It identifies significant swing highs and lows, filters them by minimum distance to prevent visual clutter, and provides volume-confirmed bounce signals. What This Indicator Does The indicator calculates and displays: Dynamic Pivot Levels - Automatically detected swing highs and lows based on configurable pivot strength Distance Filtering - Ensures levels are spaced apart by a minimum percentage to prevent overlap S/R Zones - Visual zones around each level showing the price area of significance Bounce Detection - Identifies when price reverses at support or resistance levels Volume Confirmation - Strong signals require above-average volume for confirmation How It Works Pivot detection scans for swing highs and lows using a configurable strength parameter. A pivot low requires the low to be lower than all surrounding bars within the strength period. Signal Generation The indicator generates bounce signals using TradingView's built-in pivot detection combined with candle reversal confirmation: Support Bounce: Pivot low forms with bullish close (close > open) Resistance Bounce: Pivot high forms with bearish close (close < open) Strong Bounce: Bounce occurs with volume 1.5x above 20-period average A cooldown period of 15 bars prevents signal spam. Dashboard Panel A compact dashboard displays: Support - Count of active support levels Resistance - Count of active resistance levels Dashboard position is configurable (Top Left, Top Right, Bottom Left, Bottom Right). Visual Elements Support Lines - Green horizontal lines at support levels Resistance Lines - Red horizontal lines at resistance levels S/R Zones - Semi-transparent boxes around levels showing zone width Price Labels - S: and R: labels showing exact price of nearest levels BOUNCE Markers - Triangle shapes with text when price bounces at a level STRONG Markers - Label shapes when bounce occurs with high volume Input Parameters Lookback Period (default: 100) - Historical bars to scan for pivots Pivot Strength (default: 8) - Bars on each side required for valid pivot (higher = fewer but stronger levels) Max Levels Each Side (default: 2) - Maximum support and resistance levels displayed Zone Width % (default: 0.15) - Width of zones around each level as percentage of price Min Distance Between Levels % (default: 1.0) - Minimum spacing between levels to prevent overlap Show S/R Zones (default: true) - Toggle zone visualization Show Bounce Signals (default: true) - Toggle signal markers Support Color (default: #00ff88) - Color for support elements Resistance Color (default: #ff3366) - Color for resistance elements Suggested Use Cases Identify key support and resistance levels for entry and exit planning Use bounce signals as potential reversal confirmation Combine with other indicators for confluence-based trading decisions Monitor strong signals for high-probability setups with volume confirmation Timeframe Recommendations Works on all timeframes. Higher timeframes (4H, Daily) provide more significant levels with fewer signals. Lower timeframes show more granular structure but may produce more noise. Limitations Pivot detection requires lookback bars, so very recent pivots may not be immediately visible Bounce signals are based on pivot formation and may lag by the pivot strength period Levels are recalculated on each bar, so they may shift as new pivots form Open-Source and Disclaimer This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management and conduct your own analysis before trading. - Made with passion by officialjackofalltrades Индикатор Pine Script®от officialjackofalltradesОбновлено 3232 2 K