Risk-Based Position Size ProRisk-Based Position Size Indicator
Overview:
The Risk-Based Position Size Indicator helps traders determine the appropriate position size for each trade based on their total capital and risk percentage. This indicator dynamically calculates position size using two different methods:
Wick Range (High - Low): Calculates position size based on the total range of the candlestick.
Candle Body (Close - Open): Calculates position size using only the body of the candlestick, ignoring wicks.
It provides a visual representation of position sizing as a histogram and adjusts dynamically based on price movement.
Key Features:
✅ Two Calculation Modes:
Wick Range (Red Bars) – Uses the entire candlestick range (High - Low).
Candle Body (Blue Bars) – Uses only the difference between Close and Open.
✅ Customizable Risk Settings:
Define Total Capital (default: $100,000).
Set Risk Percentage per trade (default: 1%).
✅ Automatic Position Sizing:
Adjusts position size dynamically for each candlestick.
Prevents division errors when the range is zero.
✅ Rounding Option:
Toggle rounding of position size for better readability.
✅ Clear Visual Representation:
Displayed as a histogram for easy interpretation.
Red bars for Wick Range, Blue bars for Candle Body calculations.
How to Use:
Add the indicator to your TradingView chart.
Set your Total Capital and Risk Percentage in the settings.
Choose a Calculation Method:
Wick Range: Uses High - Low for sizing.
Candle Body: Uses absolute difference of Close - Open.
If desired, enable Round Position Size for easier interpretation.
Observe the histogram bars to see the calculated position size for each candle.
This indicator is useful for risk management, ensuring that position sizes are aligned with account size and market volatility. 🚀
New Features & Fixes:
✅ User can select decimal precision (0 to 5 places) from the settings.
✅ If rounding is enabled, values are rounded based on the chosen precision.
✅ If rounding is disabled, original values are shown without forced rounding.
✅ Wick Range (Red) & Candle Body (Blue) are still plotted together.
Now, you have full control over how many decimal places to display! 🎯
Indicadores y estrategias
Wyckoff Event Detection [Alpha Extract]Wyckoff Event Detection
A powerful and intelligent indicator designed to detect key Wyckoff events in real time, helping traders analyze market structure and anticipate potential trend shifts. Using volume and price action, this script automatically identifies distribution and accumulation phases, providing traders with valuable insights into market behavior.
🔶 Phase-Based Detection
Utilizes a phase detection algorithm that evaluates price and volume conditions to identify accumulation (bullish) and distribution (bearish) events. This method ensures the script effectively captures major market turning points and avoids noise.
🔶 Multi-Factor Event Recognition
Incorporates multiple event conditions, including upthrusts, selling climaxes, and springs, to detect high-probability entry and exit points. Each event is filtered through customizable sensitivity settings, ensuring precise detection aligned with different trading styles.
🔶 Customizable Parameters
Fine-tune event detection with adjustable thresholds for volume, price movement, trend strength, and event spacing. These inputs allow traders to personalize the script to match their strategy and risk tolerance.
// === USER INPUTS ===
i_volLen = input.int(20, "Volume MA Length", minval=1)
i_priceLookback = input.int(20, "Price Pattern Lookback", minval=5)
i_lineLength = input.int(15, "Line Length", minval=5)
i_labelSpacing = input.int(5, "Minimum Label Spacing (bars)", minval=1, maxval=20)
❓How It Works
🔶 Event Identification
The script scans for key Wyckoff events by analyzing volume spikes, price deviations, and trend shifts within a user-defined lookback period. It categorizes events into bullish (accumulation) or bearish (distribution) structures and plots them directly on the chart.
// === EVENT DETECTION ===
volMA = ta.sma(volume, i_volLen)
highestHigh = ta.highest(high, i_priceLookback)
lowestLow = ta.lowest(low, i_priceLookback)
🔶 Automatic Filtering & Cleanup
Unconfirmed or weak signals are filtered out using customizable strength multipliers and volume thresholds. Events that do not meet the minimum conditions are discarded to keep the chart clean and informative.
🔶 Phase Strength Analysis
The script continuously tracks bullish and bearish event counts to determine whether the market is currently in an accumulation, distribution, or neutral phase. This allows traders to align their strategies accordingly.
🔶 Visual Alerts & Labels
Detects and labels key Wyckoff events directly on the chart, providing immediate insights into market conditions:
- PSY (Preliminary Supply) and UT (Upthrust) for distribution phases.
- PS (Preliminary Support) and SC (Selling Climax) for accumulation phases.
- Labels adjust dynamically to avoid chart clutter and improve readability.
🔶 Entry & Exit Optimization
By highlighting supply and demand imbalances, the script assists traders in identifying optimal entry and exit points. Wyckoff concepts such as springs and upthrusts provide clear trade signals based on market structure.
🔶 Trend Confirmation & Risk Management
Observing how price reacts to detected events helps confirm trend direction and potential reversals. Traders can place stop-loss and take-profit levels based on Wyckoff phase analysis, ensuring strategic trade execution.
🔶 Table-Based Market Analysis (Table)
A built-in table summarizes:
- Market Phase: Accumulation, Distribution, or Neutral.
- Strength of Phase: Weak, Moderate, or Strong.
- Price Positioning: Whether price is near support, resistance, or in a trading range.
- Supply/Demand State: Identifies whether the market is supply or demand dominant.
🔶 Why Choose Wyckoff Market Phases - Alpha Extract?
This indicator offers a systematic approach to understanding market mechanics through the lens of Wyckoff's time-tested principles. By providing clear and actionable insights into market phases, it empowers traders to make informed decisions, enhancing both confidence and performance in various trading environments.
Clustering Volatility (ATR-ADR-ChaikinVol) [Sam SDF-Solutions]The Clustering Volatility indicator is designed to evaluate market volatility by combining three widely used measures: Average True Range (ATR), Average Daily Range (ADR), and the Chaikin Oscillator.
Each indicator is normalized using one of the available methods (MinMax, Rank, or Z-score) to create a unified metric called the Score. This Score is further smoothed with an Exponential Moving Average (EMA) to reduce noise and provide a clearer view of market conditions.
Key Features:
Multi-Indicator Integration: Combines ATR, ADR, and the Chaikin Oscillator into a single Score that reflects overall market volatility.
Flexible Normalization: (Supports three normalization methods)
MinMax: Scales values between the observed minimum and maximum.
Rank: Normalizes based on the relative rank within a moving window.
Z-score: Standardizes values using mean and standard deviation.
Dynamic Window Selection: Offers an automatic window selection option based on a specified lookback period, or a fixed window size can be used.
Customizable Weights: Allows the user to assign individual weights to ATR, ADR, and the Chaikin Oscillator. Optionally, weights can be normalized to sum to 1.
Score Smoothing: Applies an EMA to the computed Score to smooth out short-term fluctuations and reduce market noise.
Cluster Visualization: Divides the smoothed Score into a number of clusters, each represented by a distinct color. These colors can be applied to the price bars (if enabled) for an immediate visual indication of the current volatility regime.
How It Works:
Input & Window Setup: Users set parameters for indicator periods, normalization methods, weights, and window size. The indicator can automatically determine the analysis window based on the number of lookback days.
Calculation of Metrics: The indicator computes the ATR, ADR (as the average of bar ranges), and the Chaikin Oscillator (based on the difference between short and long EMAs of the Accumulation/Distribution line).
Normalization & Scoring: Each indicator’s value is normalized and then weighted to form a raw Score. This raw Score is scaled to a range using statistics from the chosen window.
Smoothing & Clustering: The raw Score is smoothed using an EMA. The resulting smoothed Score is then multiplied by the number of clusters to assign a cluster index, which is used to choose a color for visual signals.
Visualization: The smoothed Score is plotted on the chart with a color that changes based on its value (e.g., lime for low, red for high, yellow for intermediate values). Optionally, the price bars are colored according to the assigned cluster.
_____________
This indicator is ideal for traders seeking a quick and clear assessment of market volatility. By integrating multiple volatility measures into one comprehensive Score, it simplifies analysis and aids in making more informed trading decisions.
For more detailed instructions, please refer to the guide here:
Nifty/Gold RatioPrice of NIFTY in GOLD. Highs indicate that Gold is getting cheaper, Lows indicate Nifty is getting cheaper.
Clustering & Divergences (RSI-Stoch-CCI) [Sam SDF-Solutions]The Clustering & Divergences (RSI-Stoch-CCI) indicator is a comprehensive technical analysis tool that consolidates three popular oscillators—Relative Strength Index (RSI), Stochastic, and Commodity Channel Index (CCI)—into one unified metric called the Score. This Score offers traders an aggregated view of market conditions, allowing them to quickly identify whether the market is oversold, balanced, or overbought.
Functionality:
Oscillator Clustering: The indicator calculates the values of RSI, Stochastic, and CCI using user-defined periods. These oscillator values are then normalized using one of three available methods: MinMax, Z-Score, or Z-Bins.
Score Calculation: Each normalized oscillator value is multiplied by its respective weight (which the user can adjust), and the weighted values are summed to generate an overall Score. This Score serves as a single, interpretable metric representing the combined oscillator behavior.
Market Clustering: The indicator performs clustering on the Score over a configurable window. By dividing the Score range into a set number of clusters (also configurable), the tool visually represents the market’s state. Each cluster is assigned a unique color so that traders can quickly see if the market is trending toward oversold, balanced, or overbought conditions.
Divergence Detection: The script automatically identifies both Regular and Hidden divergences between the price action and the Score. By using pivot detection on both price and Score data, the indicator marks potential reversal signals on the chart with labels and connecting lines. This helps in pinpointing moments when the price and the underlying oscillator dynamics diverge.
Customization Options: Users have full control over the indicator’s behavior. They can adjust:
The periods for each oscillator (RSI, Stochastic, CCI).
The weights applied to each oscillator in the Score calculation.
The normalization method and its manual boundaries.
The number of clusters and whether to invert the cluster order.
Parameters for divergence detection (such as pivot sensitivity and the minimum/maximum bar distance between pivots).
Visual Enhancements:
Depending on the user’s preference, either the Score or the Cluster Index (derived from the clustering process) is plotted on the chart. Additionally, the script changes the color of the price bars based on the identified cluster, providing an at-a-glance visual cue of the current market regime.
Logic & Methodology:
Input Parameters: The script starts by accepting user inputs for clustering settings, oscillator periods, weights, divergence detection, and manual boundary definitions for normalization.
Oscillator Calculation & Normalization: It computes RSI, Stochastic, and CCI values from the price data. These values are then normalized using either the MinMax method (scaling between a lower and upper band) or the Z-Score method (standardizing based on mean and standard deviation), or using Z-Bins for an alternative scaling approach.
Score Computation: Each normalized oscillator is multiplied by its corresponding weight. The sum of these products results in the overall Score that represents the combined oscillator behavior.
Clustering Algorithm: The Score is evaluated over a moving window to determine its minimum and maximum values. Using these values, the script calculates a cluster index that divides the Score into a predefined number of clusters. An option to invert the cluster calculation is provided to adjust the interpretation of the clustering.
Divergence Analysis: The indicator employs pivot detection (using left and right bar parameters) on both the price and the Score. It then compares recent pivot values to detect regular and hidden divergences. When a divergence is found, the script plots labels and optional connecting lines to highlight these key moments on the chart.
Plotting: Finally, based on the user’s selection, the indicator plots either the Score or the Cluster Index. It also overlays manual boundary lines (for the chosen normalization method) and adjusts the bar colors according to the cluster to provide clear visual feedback on market conditions.
_________
By integrating multiple oscillator signals into one cohesive tool, the Clustering & Divergences (RSI-Stoch-CCI) indicator helps traders minimize subjective analysis. Its dynamic clustering and automated divergence detection provide a streamlined method for assessing market conditions and potentially enhancing the accuracy of trading decisions.
For further details on using this indicator, please refer to the guide available at:
Custom TABI Model with LayersCustom Top and Bottom Indicator (TABI) (Is a Trend Adaptive Blow-Off Indicator) -
User Guide & Description
Introduction
The TABI (Trend Adaptive Blow-Off Indicator) is a refined, multi-layered RSI tool designed to enhance trend analysis, detect momentum shifts, and highlight overbought/oversold conditions with a more nuanced, color-coded approach. This indicator is useful for traders seeking to identify key reversal points, confirm trend strength, and filter trade setups more effectively than traditional RSI.
By incorporating volume-based confirmation and divergence detection, TABI aims to reduce false signals and improve trade timing.
How It Works
TABI builds on the Relative Strength Index (RSI) by introducing:
A smoothed RSI calculation for better trend readability.
11 color-coded RSI levels, allowing traders to visually distinguish weak, neutral, and extreme conditions.
Volume-based confirmation to detect high-conviction moves.
Bearish & Bullish Divergence Detection, inspired by Market Cipher methods, to spot potential reversals early.
Overbought & Oversold alerts, with optional candlestick color changes to highlight trade signals.
Key Features
✅ Color-Coded RSI for Better Readability
The RSI is divided into multi-layered color zones:
🔵 Light Blue: Extremely oversold
🟢 Lime Green: Mild oversold, potential trend reversal
🟡 Yellow & Orange: Neutral, momentum consolidation
🟠 Dark Orange: Caution, overbought conditions developing
🔴 Red: Extreme overbought, possible exhaustion
✅ Divergence Detection
Bearish Divergence: Price makes higher highs, RSI makes lower highs → Potential top signal
Bullish Divergence: Price makes lower lows, RSI makes higher lows → Potential bottom signal
✅ Volume Confirmation Filter
Requires a 50% above-average volume spike for strong buy/sell signals, reducing false breakouts.
✅ Dynamic Labels & Alerts
🚨 Blow-Off Top Warning: If RSI is overbought + volume spikes + divergence detected
🟢 Oversold Bottom Alert: If RSI is oversold + bullish divergence
Candlestick color changes when extreme conditions are met.
How to Use
📌 Entry & Exit Signals
Buy Consideration:
RSI enters Green Zone (oversold)
Bullish divergence detected
Volume confirms the move
Sell Consideration:
RSI enters Red Zone (overbought)
Bearish divergence detected
Volume confirms exhaustion
📌 Trend Confirmation
Use the yellow/orange levels to confirm strong trends before entering counter-trend trades.
📌 Filtering Trade Noise
The RSI smoothing helps reduce false whipsaws, making it easier to read true momentum shifts.
Customization Options
🔧 User-Defined RSI Thresholds
Adjust the overbought/oversold levels to match your trading style.
🔧 Divergence Sensitivity
Modify the lookback period to fine-tune divergence detection accuracy.
🔧 Volume Thresholds
Set custom volume multipliers to control confirmation requirements.
Why This is Unique
🔹 Unlike traditional RSI, TABI visually maps RSI zones into layered gradients, making it easy to spot momentum shifts.
🔹 The multi-layered color scheme adds an intuitive, heatmap-like effect to RSI, helping traders quickly gauge conditions.
🔹 Incorporates CCF-inspired divergence detection and volume filtering, making signals more robust.
🔹 Dynamic labeling system ensures clarity without cluttering the chart.
Alerts & Notifications
🔔 TradingView Alerts Included
🚨 Blow-Off Top Detected → RSI overbought + volume spike + bearish divergence.
🟢 Oversold Bottom Detected → RSI oversold + bullish divergence.
Set alerts to receive notifications without watching the charts 24/7.
Final Thoughts
TABI is designed to simplify RSI analysis, provide better trade signals, and improve decision-making. Whether you're day trading, swing trading, or long-term investing, this tool helps you navigate market conditions with confidence.
🔥 Use it to detect high-probability reversals, confirm trends, and improve trade entries/exits! 🚀
[COW] Day Percent LevelsThis indicator plots on your chart 2 levels, the daily percentage changes required to know by most prop firms and other exchanges. 5% is often a cutoff point for prop firm day traders and can get you banned if you trade past these levels. This indicator allows you to adjust the percentage as well as the lines and labels to your liking.
This is key when using prop firms as it is a level you must be aware of when trading. This can help you avoid being banned, your account being closed, or other disciplinary action based on trading past these levels.
Enjoy!
AI Adaptive Oscillator [PhenLabs]📊 Algorithmic Adaptive Oscillator
Version: PineScript™ v6
📌 Description
The AI Adaptive Oscillator is a sophisticated technical indicator that employs ensemble learning and adaptive weighting techniques to analyze market conditions. This innovative oscillator combines multiple traditional technical indicators through an AI-driven approach that continuously evaluates and adjusts component weights based on historical performance. By integrating statistical modeling with machine learning principles, the indicator adapts to changing market dynamics, providing traders with a responsive and reliable tool for market analysis.
🚀 Points of Innovation:
Ensemble learning framework with adaptive component weighting
Performance-based scoring system using directional accuracy
Dynamic volatility-adjusted smoothing mechanism
Intelligent signal filtering with cooldown and magnitude requirements
Signal confidence levels based on multi-factor analysis
🔧 Core Components
Ensemble Framework : Combines up to five technical indicators with performance-weighted integration
Adaptive Weighting : Continuous performance evaluation with automated weight adjustment
Volatility-Based Smoothing : Adapts sensitivity based on current market volatility
Pattern Recognition : Identifies potential reversal patterns with signal qualification criteria
Dynamic Visualization : Professional color schemes with gradient intensity representation
Signal Confidence : Three-tiered confidence assessment for trading signals
🔥 Key Features
The indicator provides comprehensive market analysis through:
Multi-Component Ensemble : Integrates RSI, CCI, Stochastic, MACD, and Volume-weighted momentum
Performance Scoring : Evaluates each component based on directional prediction accuracy
Adaptive Smoothing : Automatically adjusts based on market volatility
Pattern Detection : Identifies potential reversal patterns in overbought/oversold conditions
Signal Filtering : Prevents excessive signals through cooldown periods and minimum change requirements
Confidence Assessment : Displays signal strength through intuitive confidence indicators (average, above average, excellent)
🎨 Visualization
Gradient-Filled Oscillator : Color intensity reflects strength of market movement
Clear Signal Markers : Distinct bullish and bearish pattern signals with confidence indicators
Range Visualization : Clean representation of oscillator values from -6 to 6
Zero Line : Clear demarcation between bullish and bearish territory
Customizable Colors : Color schemes that can be adjusted to match your chart style
Confidence Symbols : Intuitive display of signal confidence (no symbol, +, or ++) alongside direction markers
📖 Usage Guidelines
⚙️ Settings Guide
Color Settings
Bullish Color
Default: #2b62fa (Blue)
This setting controls the color representation for bullish movements in the oscillator. The color appears when the oscillator value is positive (above zero), with intensity indicating the strength of the bullish momentum. A brighter shade indicates stronger bullish pressure.
Bearish Color
Default: #ce9851 (Amber)
This setting determines the color representation for bearish movements in the oscillator. The color appears when the oscillator value is negative (below zero), with intensity reflecting the strength of the bearish momentum. A more saturated shade indicates stronger bearish pressure.
Signal Settings
Signal Cooldown (bars)
Default: 10
Range: 1-50
This parameter sets the minimum number of bars that must pass before a new signal of the same type can be generated. Higher values reduce signal frequency and help prevent overtrading during choppy market conditions. Lower values increase signal sensitivity but may generate more false positives.
Min Change For New Signal
Default: 1.5
Range: 0.5-3.0
This setting defines the minimum required change in oscillator value between consecutive signals of the same type. It ensures that new signals represent meaningful changes in market conditions rather than minor fluctuations. Higher values produce fewer but potentially higher-quality signals, while lower values increase signal frequency.
AI Core Settings
Base Length
Default: 14
Minimum: 2
This fundamental setting determines the primary calculation period for all technical components in the ensemble (RSI, CCI, Stochastic, etc.). It represents the lookback window for each component’s base calculation. Shorter periods create a more responsive but potentially noisier oscillator, while longer periods produce smoother signals with potential lag.
Adaptive Speed
Default: 0.1
Range: 0.01-0.3
Controls how quickly the oscillator adapts to new market conditions through its volatility-adjusted smoothing mechanism. Higher values make the oscillator more responsive to recent price action but potentially more erratic. Lower values create smoother transitions but may lag during rapid market changes. This parameter directly influences the indicator’s adaptiveness to market volatility.
Learning Lookback Period
Default: 150
Minimum: 10
Determines the historical data range used to evaluate each ensemble component’s performance and calculate adaptive weights. This setting controls how far back the AI “learns” from past performance to optimize current signals. Longer periods provide more stable weight distribution but may be slower to adapt to regime changes. Shorter periods adapt more quickly but may overreact to recent anomalies.
Ensemble Size
Default: 5
Range: 2-5
Specifies how many technical components to include in the ensemble calculation.
Understanding The Interaction Between Settings
Base Length and Learning Lookback : The base length determines the reactivity of individual components, while the lookback period determines how their weights are adjusted. These should be balanced according to your timeframe - shorter timeframes benefit from shorter base lengths, while the lookback should generally be 10-15 times the base length for optimal learning.
Adaptive Speed and Signal Cooldown : These settings control sensitivity from different angles. Increasing adaptive speed makes the oscillator more responsive, while reducing signal cooldown increases signal frequency. For conservative trading, keep adaptive speed low and cooldown high; for aggressive trading, do the opposite.
Ensemble Size and Min Change : Larger ensembles provide more stable signals, allowing for a lower minimum change threshold. Smaller ensembles might benefit from a higher threshold to filter out noise.
Understanding Signal Confidence Levels
The indicator provides three distinct confidence levels for both bullish and bearish signals:
Average Confidence (▲ or ▼) : Basic signal that meets the minimum pattern and filtering criteria. These signals indicate potential reversals but with moderate confidence in the prediction. Consider using these as initial alerts that may require additional confirmation.
Above Average Confidence (▲+ or ▼+) : Higher reliability signal with stronger underlying metrics. These signals demonstrate greater consensus among the ensemble components and/or stronger historical performance. They offer increased probability of successful reversals and can be traded with less additional confirmation.
Excellent Confidence (▲++ or ▼++) : Highest quality signals with exceptional underlying metrics. These signals show strong agreement across oscillator components, excellent historical performance, and optimal signal strength. These represent the indicator’s highest conviction trade opportunities and can be prioritized in your trading decisions.
Confidence assessment is calculated through a multi-factor analysis including:
Historical performance of ensemble components
Degree of agreement between different oscillator components
Relative strength of the signal compared to historical thresholds
✅ Best Use Cases:
Identify potential market reversals through oscillator extremes
Filter trade signals based on AI-evaluated component weights
Monitor changing market conditions through oscillator direction and intensity
Confirm trade signals from other indicators with adaptive ensemble validation
Detect early momentum shifts through pattern recognition
Prioritize trading opportunities based on signal confidence levels
Adjust position sizing according to signal confidence (larger for ++ signals, smaller for standard signals)
⚠️ Limitations
Requires sufficient historical data for accurate performance scoring
Ensemble weights may lag during dramatic market condition changes
Higher ensemble sizes require more computational resources
Performance evaluation quality depends on the learning lookback period length
Even high confidence signals should be considered within broader market context
💡 What Makes This Unique
Adaptive Intelligence : Continuously adjusts component weights based on actual performance
Ensemble Methodology : Combines strength of multiple indicators while minimizing individual weaknesses
Volatility-Adjusted Smoothing : Provides appropriate sensitivity across different market conditions
Performance-Based Learning : Utilizes historical accuracy to improve future predictions
Intelligent Signal Filtering : Reduces noise and false signals through sophisticated filtering criteria
Multi-Level Confidence Assessment : Delivers nuanced signal quality information for optimized trading decisions
🔬 How It Works
The indicator processes market data through five main components:
Ensemble Component Calculation :
Normalizes traditional indicators to consistent scale
Includes RSI, CCI, Stochastic, MACD, and volume components
Adapts based on the selected ensemble size
Performance Evaluation :
Analyzes directional accuracy of each component
Calculates continuous performance scores
Determines adaptive component weights
Oscillator Integration :
Combines weighted components into unified oscillator
Applies volatility-based adaptive smoothing
Scales final values to -6 to 6 range
Signal Generation :
Detects potential reversal patterns
Applies cooldown and magnitude filters
Generates clear visual markers for qualified signals
Confidence Assessment :
Evaluates component agreement, historical accuracy, and signal strength
Classifies signals into three confidence tiers (average, above average, excellent)
Displays intuitive confidence indicators (no symbol, +, ++) alongside direction markers
💡 Note:
The AI Adaptive Oscillator performs optimally when used with appropriate timeframe selection and complementary indicators. Its adaptive nature makes it particularly valuable during changing market conditions, where traditional fixed-weight indicators often lose effectiveness. The ensemble approach provides a more robust analysis by leveraging the collective intelligence of multiple technical methodologies. Pay special attention to the signal confidence indicators to optimize your trading decisions - excellent (++) signals often represent the most reliable trade opportunities.
Cryptogenik's Inflation-Adjusted Candles v2025Inflation-Adjusted Price Indicator by Cryptogenik
This indicator adjusts price data for inflation, allowing you to visualize how stock/asset prices would look with constant purchasing power. By using Consumer Price Index (CPI) data from FRED, it transforms nominal prices into inflation-adjusted values that reflect real-world purchasing power.
What This Indicator Does
The Inflation-Adjusted Price indicator converts traditional price charts to show what prices would be if the purchasing power of currency remained constant. This is essential for long-term analysis, as it removes the distortion caused by inflation when comparing prices across different time periods.
Key Features
Displays inflation-adjusted price candles alongside original prices
Uses official CPI data from the Federal Reserve (FRED:CPIAUCSL)
Allows easy comparison between nominal and real prices
Helps identify true price movements by filtering out the effects of inflation
Perfect for long-term investors and macroeconomic analysis
How To Use It
Apply the indicator to any chart
Green/red candles show the inflation-adjusted prices
Gray line shows the original unadjusted price
The information label displays the current CPI value
This indicator is particularly valuable for analyzing stocks, commodities, and other assets over periods of 5+ years, where inflation effects become significant. It helps answer the question: "Has this asset truly increased in value, or is the price increase just reflecting inflation?"
Technical Details
The indicator calculates adjusted prices using the formula: (price / CPI) * 100, which effectively shows prices as a percentage of current purchasing power. This approach normalizes all prices to a consistent standard, making historical comparisons more meaningful.
Cryptogenik's Inflation-Adjusted Candles v2025
Binance BTC Backwardation / ContangoThis indicator calculates difference between price of Binance BTCUSDT, and Binance BTCUSDT.P.
If the difference is negative, then it is backwardation.
If the difference is positive, then it is contango.
Opening Lines (M15, H1 & H4) with Wickless Candle DetectorTailored for day traders, this technical analysis indicator serves as a multi-timeframe opening price visualization tool, displaying real-time and historical opening price levels across three distinct time intervals to enhance pattern identification and strategic decision-making. Additionally, the tool incorporates a ‘Wickless Candle Detector’ feature, which annotates candles that open without upper or lower wicks. Empirical observations suggest these wickless candles often act as future price magnets, particularly in index futures such as the Nasdaq and S&P500, making them critical reference points for market analysis.
Key Features:
1) Multi-Timeframe Opening Price Visualization:
◦ Plots horizontal reference lines for opening prices across:
✓ 15-minute (M15)
✓ 1-hour (H1)
✓ 4-hour (H4) timeframes
◦ Lines dynamically extend throughout their respective periods or can be configured to a fixed bar offset
2) Wickless Candle Detection:
◦ Automatically marks wickless candles with a discrete symbol at their opening price level
◦ Symbols are removed upon either:
✓ Price breaching the opening level by ≥1 tick
✓ A 24-hour expiration period (whichever occurs first)
3) Customization and Flexibility:
◦ Toggle visibility for individual timeframes, historical opening lines, and the Wickless Candle Detector
◦ Full customization of visual elements (colors, line styles, symbols) to align with user preferences or trading platform themes
Broad Market MOEX### **Broad Market for Russia**
The **Broad Market for Russia** indicator provides a comparative analysis of the price deviation of major Russian stocks relative to their average closing price over a customizable lookback period. This tool helps traders identify market trends and detect relative strength or weakness among different assets.
### **How It Works:**
- The indicator calculates the **percentage deviation** of each stock’s current price from its **simple moving average (SMA)** over the defined **lookback period (in hours).**
- The **default lookback period is 24 hours**, but it can be adjusted based on the trader’s needs.
- It tracks major Russian assets, including **Gazprom, Sberbank, Lukoil, Rosneft, Norilsk Nickel, Yandex, and others**, alongside the currently selected instrument.
- Each stock’s deviation is plotted on a separate panel, allowing for quick visual comparison.
- **Positive deviation** indicates that the price is trading above its average, signaling potential **bullish momentum**.
- **Negative deviation** suggests the price is below its average, possibly indicating **bearish conditions**.
This indicator is particularly useful for traders in the Russian stock market who want to gauge broader market strength and detect divergence patterns across multiple assets.
---
### **Broad Market for Russia**
Индикатор **Broad Market for Russia** предоставляет сравнительный анализ отклонения цены крупнейших российских акций относительно их среднего значения за настраиваемый период. Этот инструмент помогает трейдерам выявлять рыночные тренды и определять относительную силу или слабость активов.
### **Как это работает:**
- Индикатор рассчитывает **процентное отклонение** текущей цены каждой акции от её **простого скользящего среднего (SMA)** за заданный **период анализа (в часах).**
- **Период анализа по умолчанию — 24 часа**, но его можно изменять в зависимости от предпочтений трейдера.
- В индикаторе отслеживаются **крупнейшие российские активы**, такие как **Газпром, Сбербанк, Лукойл, Роснефть, Норникель, Яндекс и другие**, а также текущий выбранный инструмент.
- Отклонение каждой акции отображается на отдельной панели, что позволяет быстро проводить визуальное сравнение.
- **Положительное отклонение** означает, что цена торгуется выше своего среднего значения, что может сигнализировать о **бычьем тренде**.
- **Отрицательное отклонение** указывает, что цена ниже своего среднего значения, что может свидетельствовать о **медвежьей тенденции**.
Этот индикатор особенно полезен для трейдеров российского фондового рынка, которые хотят оценить силу всего рынка и выявлять расхождения между различными активами.
Broad Market for Crypto**Broad Market for Crypto** indicator provides a comparative analysis of the price deviation of multiple major cryptocurrencies relative to their average closing price over a customizable lookback period. This tool helps traders identify market trends and spot relative strength or weakness among different assets.
### **How It Works:**
- The indicator calculates the percentage deviation of each cryptocurrency’s current price from its simple moving average (SMA) over the defined **lookback period (in hours).**
- The **default lookback period is 24 hours**, but it can be adjusted according to the trader's preference.
- It tracks major crypto assets, including **BTC, ETH, BNB, SOL, XRP, ADA, AVAX, LINK, DOGE, and TRX**, alongside the currently selected instrument.
- Each cryptocurrency’s deviation is plotted on a separate panel, allowing for quick visual comparison.
- Positive deviation indicates that the price is trading above its average, signaling potential bullish momentum.
- Negative deviation suggests the price is below its average, possibly indicating bearish conditions.
This indicator is particularly useful for crypto traders who want to gauge the broader market’s strength and detect divergence patterns across multiple assets.
---------------------------------------------------------------------------------
**Broad Market for Crypto - Описание индикатора**
Индикатор **Broad Market for Crypto** предоставляет сравнительный анализ отклонения цены различных крупных криптовалют относительно их среднего значения за настраиваемый период. Этот инструмент помогает трейдерам выявлять рыночные тренды и определять относительную силу или слабость активов.
### **Как это работает:**
- Индикатор рассчитывает **процентное отклонение** текущей цены каждой криптовалюты от её **простого скользящего среднего (SMA)** за заданный **период анализа (в часах)**.
- **Период анализа по умолчанию — 24 часа**, но его можно изменять в зависимости от предпочтений трейдера.
- В индикаторе отслеживаются основные криптоактивы: **BTC, ETH, BNB, SOL, XRP, ADA, AVAX, LINK, DOGE и TRX**, а также текущий выбранный инструмент.
- Отклонение каждой криптовалюты отображается на отдельной панели, что позволяет быстро проводить визуальное сравнение.
- **Положительное отклонение** означает, что цена торгуется выше своего среднего значения, что может сигнализировать о **бычьем тренде**.
- **Отрицательное отклонение** указывает, что цена ниже своего среднего значения, что может свидетельствовать о **медвежьей тенденции**.
Этот индикатор особенно полезен для криптотрейдеров, желающих оценить силу всего рынка и выявлять расхождения между различными активами.
TestMA-STATEOverview:
This Pine Script (version 6) is designed to generate trading events based on moving average (MA) behavior and dynamically calculated percentiles. It leverages a custom state machine library (version 7) from decrypt_capital to track and manage state transitions related to MA conditions, and it triggers alerts (and optionally, chart labels) when specific state transitions occur.
Key Components:
License & Metadata:
The script is distributed under the Mozilla Public License 2.0.
It carries copyright by decrypt_capital.
The title ("TestMA-STATE") and short title ("MA-STATE") are defined, and the script runs on an overlay with extended backtracking and drawing limits.
State Machine Integration:
The script imports the lib_statemachine_modified library (version 7) using the alias modSM.
A persistent state machine instance (MovingAverageDirection_SM) is created to manage various MA-related states.
Several state constants are defined to represent different market conditions, such as:
MA_SHORT_ABOVE_OVERBOUGHT: When the short MA low is above the overbought threshold.
MA_SHORT_CROSSUNDER_MID & MA_SHORT_CROSSUNDER_BIG: Conditions for bearish crossunders.
MA_SHORT_BELOW_OVERSOLD: When the short MA high is below the oversold threshold.
MA_SHORT_CROSSOVER_MID & MA_SHORT_CROSSOVER_BIG: Conditions for bullish crossovers.
Inputs & MA Calculation:
Users can choose the type of moving average (EMA, SMA, WMA, VWMA) and adjust lengths for short, mid, and big MAs.
Additional inputs include lookback length for percentile calculations and percentile thresholds for determining overbought and oversold boundaries.
The script computes:
Short MA Low and High: Based on the low and high series.
Mid MA and Big MA: Based on the average price (ohlc4).
Dynamic Percentile Boundaries:
Two functions (f_getPercentile() and f_getPercentileArr()) calculate dynamic percentile values from the MA data.
These functions determine the oversold and overbought boundaries used in the state transition conditions.
Timestamp & Alert Header Formatting:
A helper function (f_formatTimestamp()) formats timestamps into a human-readable form (e.g., "Tue 12 Mar 16:30").
This formatted time, along with ticker information and other details, is used to build an alert header.
State Transitions & Alerts:
The script calls the state machine’s step() method multiple times with conditions based on the relationship between MA values and the percentile boundaries.
For example:
A bullish condition is triggered when the short MA low moves above the overbought threshold.
A bearish condition is triggered when the short MA high falls below the oversold boundary.
Transitions are further refined by checking if the MA is rising or falling.
When specific state transitions occur (e.g., MA_SHORT_CROSSOVER_MID after MA_SHORT_BELOW_OVERSOLD), the script:
Checks that the transition is recent (using the barsSinceState() method).
Optionally creates a label on the chart.
Triggers an alert with a descriptive message.
Chart Plotting:
The script plots the calculated moving averages (short, mid, and optionally big) on the chart.
It also plots the dynamic percentile boundaries for visual reference.
Purpose & Usage:
Trading Signal Generation:
The primary goal is to monitor key MA conditions and trigger alerts when significant crossovers or crossunders occur. These events—such as bullish crossovers when the market recovers from oversold conditions or bearish crossunders when the market retracts from overbought conditions—can be used as trading signals.
Visualization:
Users have options to display the various moving averages and percentile boundaries directly on the chart, as well as optional labels that mark when an alert is generated.
Alerting:
When specific state transitions are detected, the script constructs and sends an alert message with a timestamp, ticker, and descriptive text, aiding traders in making timely decisions.
Moving Average Shift [ChartPrime]Moving Average Shift indicator combines multiple moving average (MA) types with a unique MA Shift Oscillator to help traders visualize trend direction, price deviations, and mean reversion states.
⯁ KEY FEATURES
Customizable Moving Averages: Choose from SMA, EMA, SMMA (RMA), WMA, or VWMA.
Trend-Based Coloring: Candles are dynamically colored based on price position relative to the MA.
MA Shift Oscillator: Identifies price deviations and potential mean reversion zones.
Threshold Filtering: Helps filter mean reversion signals using a user-defined threshold.
Diamond Signals for Mean Reversion: Plots diamonds on the chart when the oscillator crosses back above or below the threshold level.
Oscillator Color Coding: The oscillator has four color states:
Color 1: Above 0 and increasing.
Color 2: Above 0 and decreasing.
Color 3: Below 0 and increasing.
Color 4: Below 0 and decreasing.
⯁ HOW TO USE
Use the indicator to follow the trend based on MA direction and price relation to it.
The MA Shift Oscillator helps identify potential mean reversion points where price may revert toward the MA.
The threshold setting allows traders to filter out weak mean reversion signals and focus on significant shifts.
The four-color oscillator visually indicates trend momentum and potential trend shifts.
⯁ CONCLUSION
The Moving Average Shift indicator is a powerful tool that merges trend-following and mean reversion strategies into one comprehensive system. By allowing traders to select different types of moving averages, it provides flexibility in trend analysis while visually enhancing price action with dynamic candle coloring. The MA Shift Oscillator further strengthens decision-making by detecting deviations and highlighting potential mean reversion points.
Previous Day LevelsThis indicator plots the previous day's high, low, and 50% levels, providing a framework for analyzing price behavior relative to these key levels.
Full Description:
The Previous Day Levels indicator is a tool designed to help traders analyze price action based on key levels from the previous trading session. By plotting the high, low, and mid-point (50%) of the prior day’s range, traders can assess potential market bias and directional tendencies for the current trading day.
Key Features:
Plots the previous day’s high (100%), low (0%), and intermediate levels (25%, 50%, 75%).
Allows users to customize line visibility, color, style, and width.
Helps traders identify potential support and resistance zones.
Provides a bias framework for determining whether price is more likely to target the previous high or low based on behavior around the 50% level.
Use Case:
This indicator is particularly useful for intraday and short-term traders who incorporate price action into their strategy.
If price trades above the 50% level and holds, it suggests a bullish bias, indicating that price may aim for the previous day's high.
If price trades below the 50% level and holds, it suggests a bearish bias, indicating that price may aim for the previous day's low.
The high and low levels can act as key support and resistance zones, where price may react or reverse.
How to Use:
Apply the indicator to your chart.
Observe how price interacts with the 50% level.
Use price behavior around these levels to establish a directional bias.
Adjust the line styles and colors to match your personal preference.
Disclaimer:
This indicator is a tool for market analysis and does not provide financial advice. Always perform your own analysis and risk management when trading.
THE Bucknut test PARI (SPY)📌 THE Bucknut Test PARI – Market Momentum & Volatility Gauge
🔹 Description
THE Bucknut Test PARI Indicator is a momentum and volatility-based market gauge designed to provide clear, actionable insights on price movement. This indicator calculates a Price Action Relative Index (PARI) score to help traders evaluate risk and potential market reversals.
It utilizes exponential moving average (EMA)-based momentum, standard deviation volatility, and SPY correlation to generate a PARI score between 1-100. The score is then categorized into risk zones, helping traders identify when conditions are favorable for entries or caution is needed.
Ideal for intraday traders, options traders (including SPX 0DTE), and swing traders looking to gauge volatility-driven market shifts.
🔥 Features & Functionality
✅ Momentum Calculation via EMA Filtering – Ensures smooth, responsive signals.
✅ Volatility-Based Adjustments – Uses standard deviation-based volatility scaling.
✅ SPY Correlation Filtering – Helps align momentum signals with market sentiment.
✅ User-Defined Timeframe Settings – Adjusts dynamically based on selected time intervals.
✅ Customizable Risk Thresholds – Allows traders to define high-risk, neutral, and low-risk zones.
✅ Non-Repainting Algorithm – Ensures reliable, static signals without revision.
⚙️ Settings & Adjustments
Setting Default Value Description
Time Frame Mode "5m-15m" Choose between 1m-3m, 5m-15m, or 1H-Daily. Affects smoothing values.
Scaling Factor 10 Adjusts PARI score sensitivity. Higher values amplify movement.
Background Color Black Custom background for the indicator panel.
Background Transparency 85 Controls indicator panel opacity (0 = solid, 100 = invisible).
High-Risk Threshold 80 Above this level, market is in overbought/high-risk conditions.
Low-Risk Threshold 20 Below this level, market is oversold/low-risk for potential reversals.
Neutral Level 50 Middle ground where price action is balanced.
📈 How to Use THE Bucknut Test PARI
🔴 Above 80 (High-Risk Zone)
Market may be overheated, strong momentum may fade or reverse soon.
Caution with calls; potential put opportunities.
🟢 Below 20 (Low-Risk Zone)
Market is oversold, potential reversal or bounce incoming.
Consider long entries or avoiding shorts.
⚪ Between 20-80 (Neutral Zone)
Market is in equilibrium; follow primary trend direction.
No extreme risk, trend-following strategies preferred.
🔍 Example Use Cases
✔ Intraday Traders → Gauge market strength on short-term charts (1m-15m).
✔ SPX 0DTE Options Traders → Time high-confidence call/put setups.
✔ Swing Traders → Identify periods of excessive momentum or exhaustion.
Liquidity Market Seeking SwiftEdgeThis indicator is designed to identify potential liquidity levels on the chart by detecting swing highs and lows, which are often areas where stop-loss orders or significant orders accumulate. It visualizes these levels with horizontal lines and labels on the right side of the chart, color-coded based on volume to help traders understand where the market might seek liquidity.
How It Works
Swing Highs and Lows: The indicator uses the ta.pivothigh and ta.pivotlow functions to identify significant swing points over a user-defined lookback period (Swing Length). These points are considered potential liquidity levels where stop-loss orders might be placed.
Volume Analysis: The indicator compares the volume at each swing point to the average volume over a specified period (Volume Average Length). Levels with above-average volume are colored red, indicating higher liquidity, while levels with below-average volume are colored green.
Liquidity Visualization: Horizontal dashed lines are drawn at each identified level, extending across the chart. Labels on the right side display the estimated liquidity amount (simulated based on volume and a multiplier, Volume Multiplier for Liquidity).
Sell Signal: A "SELL NOW" label appears when the price approaches a liquidity level after an uptrend (detected using a simple moving average crossover). This suggests a potential reversal as the market may target liquidity at that level.
Strategy Concept: Market Seeking Liquidity
The indicator is based on the concept that markets often move toward areas of high liquidity, such as clusters of stop-loss orders or significant order accumulations. These liquidity pools are typically found around swing highs and lows, where traders place their stop-losses or large orders. By identifying these levels and highlighting those with higher volume (red lines), the indicator aims to show where the market might move to "grab" this liquidity. For example, after an uptrend, the market may reverse at a swing high to take out stop-losses above that level, providing liquidity for larger players to enter or exit positions.
Settings
Swing Length: The number of bars to look back for detecting swing highs and lows. Default is 20.
Liquidity Threshold: The price threshold for merging nearby levels to avoid duplicates. Default is 0.001.
Volume Average Length: The period for calculating the average volume to compare against. Default is 20.
Volume Multiplier for Liquidity: A multiplier to scale the volume into a simulated liquidity amount (displayed as "K"). Default is 1000.
Usage Notes
Use this indicator on any timeframe, though it may be more effective on higher timeframes (e.g., 1H, 4H) where swing points are more significant.
Red lines indicate levels with higher volume, suggesting stronger liquidity pools that the market might target.
Green lines indicate levels with lower volume, which may be less significant.
The "SELL NOW" signal is a basic example of how to use liquidity levels for trading decisions. It appears when the price approaches a liquidity level after an uptrend, but it should be used in conjunction with other analysis.
Adjust the Volume Multiplier for Liquidity to scale the displayed liquidity amounts based on your instrument (e.g., forex pairs may need a higher multiplier than indices).
SMA Trend Filter Oscillator (Adaptive)The "SMA Trend Filter Oscillator (Adaptive)" indicator is a technical analysis tool that helps traders determine the direction and strength of a trend based on an adaptive Simple Moving Average (SMA). The oscillator calculates the difference between the closing price and the SMA value, allowing for the visualization of price deviation from the average and the assessment of current market dynamics.
Key Features of the Indicator:
Adaptation to Time Frame: The indicator automatically adjusts the SMA length based on the current time frame, making it versatile for use across different time intervals. For example:
Monthly Time Frame: SMA with a length of 50.
Weekly Time Frame: SMA with a length of 40.
Daily Time Frame: SMA with a length of 20.
Hourly Time Frame: SMA with a length of 10.
Intraday Time Frames: SMA with a length of 5 (for time frames up to 15 minutes) or 7 (for others).
SMA-Based Oscillator: The oscillator is calculated as the difference between the closing price and the SMA value. This allows:
Bullish Trend Identification: When the oscillator is above zero (price is above SMA).
Bearish Trend Identification: When the oscillator is below zero (price is below SMA).
Visualization: The oscillator is displayed as a histogram, where:
Green Color indicates a bullish trend.
Red Color indicates a bearish trend.
The Zero Line (Gray) serves as a reference for trend reversal.
How to Use the Indicator:
Trend Identification: If the oscillator is above zero and colored green, it signals a bullish trend. If it is below zero and colored red, it indicates a bearish trend.
Trend Strength: The larger the oscillator value (in either direction), the stronger the trend. Small oscillator values (close to zero) may indicate sideways movement or weak trend.
Entry and Exit Points:
Buy: When the oscillator crosses the zero line from below to above (transition from red to green).
Sell: When the oscillator crosses the zero line from above to below (transition from green to red).
Signal Filtering: Use the indicator in combination with other technical analysis tools (e.g., RSI, MACD, or support/resistance levels) to confirm signals.
Advantages of the Indicator:
Adaptability: Automatic adjustment of SMA length to the current time frame makes it versatile.
Simplicity: Intuitive histogram visualization allows for quick assessment of market conditions.
Flexibility: Can be used on any market (stocks, forex, cryptocurrencies) and time frame.
Limitations:
Lag: Like any SMA-based indicator, it can lag due to the use of average values.
False Signals: In sideways markets (flat), the indicator may generate false signals.
Risk Management:
Always set stop-losses and take-profits to minimize losses.
Test the indicator on historical data before using it on a live account.
The "SMA Trend Filter Oscillator (Adaptive)" is a powerful tool for traders seeking to quickly evaluate trends and their strength. Its adaptability and simplicity make it suitable for both novice and experienced traders.
Индикатор "SMA Trend Filter Oscillator (Adaptive)" — это инструмент технического анализа, который помогает трейдерам определять направление тренда и его силу на основе адаптивной скользящей средней (SMA). Осциллятор рассчитывает разницу между ценой закрытия и значением SMA, что позволяет визуализировать отклонение цены от среднего значения и оценивать текущую рыночную динамику.
Основные особенности индикатора:
Адаптация к таймфрейму
Индикатор автоматически подстраивает длину SMA в зависимости от текущего таймфрейма, что делает его универсальным для использования на различных временных интервалах. Например:
Месячный таймфрейм (Monthly): SMA с длиной 50.
Недельный таймфрейм (Weekly): SMA с длиной 40.
Дневной таймфрейм (Daily): SMA с длиной 20.
Часовой таймфрейм (Hourly): SMA с длиной 10.
Внутридневные таймфреймы (Intraday): SMA с длиной 5 (для таймфреймов до 15 минут) или 7 (для остальных).
Осциллятор на основе SMA
Осциллятор рассчитывается как разница между ценой закрытия и значением SMA. Это позволяет:
Определять бычий тренд, когда осциллятор выше нуля (цена выше SMA).
Определять медвежий тренд, когда осциллятор ниже нуля (цена ниже SMA).
Визуализация
Осциллятор отображается в виде гистограммы, где:
Зелёный цвет указывает на бычий тренд.
Красный цвет указывает на медвежий тренд.
Линия нуля (серая) служит ориентиром для определения смены тренда.
Как использовать индикатор:
Определение тренда
Если осциллятор находится выше нуля и окрашен в зелёный цвет, это сигнализирует о бычьем тренде.
Если осциллятор находится ниже нуля и окрашен в красный цвет, это указывает на медвежий тренд.
Сила тренда
Чем больше значение осциллятора (в положительную или отрицательную сторону), тем сильнее тренд.
Небольшие значения осциллятора (близкие к нулю) могут указывать на боковое движение или слабость тренда.
Точки входа и выхода
Покупка (Buy): Когда осциллятор пересекает нулевую линию снизу вверх (переход из красной зоны в зелёную).
Продажа (Sell): Когда осциллятор пересекает нулевую линию сверху вниз (переход из зелёной зоны в красную).
Фильтрация сигналов
Используйте индикатор в сочетании с другими инструментами технического анализа (например, RSI, MACD или уровнями поддержки/сопротивления) для подтверждения сигналов.
Преимущества индикатора:
Адаптивность: Автоматическая настройка длины SMA под текущий таймфрейм делает индикатор универсальным.
Простота: Интуитивно понятная визуализация в виде гистограммы позволяет быстро оценить рыночную ситуацию.
Гибкость: Может использоваться на любых рынках (акции, форекс, криптовалюты) и таймфреймах.
Ограничения:
Запаздывание: Как и любой индикатор на основе SMA, он может запаздывать из-за использования средних значений.
Ложные сигналы: В условиях бокового движения (флэта) индикатор может генерировать ложные сигналы.
Управление рисками: Всегда устанавливайте стоп-лоссы и тейк-профиты, чтобы минимизировать потери.
Тестирование: Перед использованием на реальном счёте протестируйте индикатор на исторических данных.
Индикатор "SMA Trend Filter Oscillator (Adaptive)" — это мощный инструмент для трейдеров, которые хотят быстро оценить тренд и его силу. Его адаптивность и простота делают его подходящим как для начинающих, так и для опытных трейдеров
HTF Trend Tracker [BigBeluga]HTF Trend Tracker is a higher timeframe (HTF) trend tracking indicator designed to help traders identify significant trends, key levels, and market sentiment. The indicator dynamically adapts to the current price action, using HTF highs and lows to display trend direction and strength with detailed visuals.
🔵 Key Features:
Dynamic Trend Detection:
Uptrend is identified when the price closes above the HTF high.
Downtrend is detected when the price closes below the HTF low.
Midline changes color dynamically based on the trend direction:
Bullish Green: Indicates an uptrend.
Bearish Red: Indicates a downtrend.
Historical and Active HTF Levels:
Historic HTF highs and lows are displayed as dotted lines.
Current active HTF high and low levels are shown as solid lines.
Timeframe labels (e.g., "1D High" or "1D Low") mark the active levels for clarity.
Trend Change Signals:
A green checkmark (✓) is plotted when an uptrend starts.
A red cross (✕) appears when a downtrend begins.
Trend-Based Candle Coloring:
Candle colors change dynamically based on the trend and the price's distance from the midline:
Intense Bullish Green: Price is far above the midline during an uptrend.
Intense Bearish Red: Price is far below the midline during a downtrend.
Neutral Gray: Price is near the midline.
Users can customize the colors to suit their preferences.
🔵 Usage:
Identify uptrends and downtrends using the midline's color and the position of the close relative to the HTF levels.
Use solid lines and timeframe labels to track current HTF high and low levels.
Observe dotted lines for historical HTF levels to understand past price behavior.
Watch for checkmark (✓) and cross (✕) signals to spot trend changes and key market shifts.
Monitor candle colors to gauge trend intensity and proximity to the midline:
Intense colors signal strong trends, while neutral gray indicates consolidation near the midline.
HTF Trend Tracker is an essential tool for traders aiming to follow higher timeframe trends, identify key levels, and make data-driven decisions based on price dynamics and trend strength. Its customizable features allow for flexible integration into any trading strategy.
Liquidity Hunt SwiftEdgeThe "Liquidity Hunt Dashboard By SwiftEdge" indicator is designed to assist traders in identifying potential liquidity zones by placing a dynamic target line based on swing points and weighted liquidity. It leverages technical analysis tools such as SMA (Simple Moving Average), pivot points, and volume to predict market movements and provides daily statistics on hits and success rate. The target line updates automatically when the price hits it, adapting to the market trend (up, down, or neutral). A dashboard displays the current price, target level, prediction, and trend, making it easy to make informed trading decisions.
Features:
Target Line: A yellow dashed line marks the next expected liquidity level (up to approximately 20 pips away on 1m).
Prediction: Displays "Up (Chasing Sell Liquidity)," "Down (Chasing Buy Liquidity)," or "Neutral" based on trend and liquidity.
Daily Statistics: Tracks hits and success rate, resetting daily.
Trend Indicator: Shows market direction ("Up," "Down," or "Neutral") in the dashboard.
Dynamic Updates: The line moves to a new target level when the price hits the current target.
Recommended Settings for 1-Minute Timeframe:
For Indices (e.g., S&P 500):
Lookback Period: 180 (3 hours to capture more stable swing points).
Max Distance (%): 0.015 (approximately 15 pips, suitable for indices).
Cooldown Period: 5 (stabilizes after hits).
Line Duration: 60 (displays the line for 1 hour).
For Crypto (e.g., BTC/USD):
Lookback Period: 120 (2 hours to capture short-term swing points).
Max Distance (%): 0.024 (approximately 20 pips, suitable for volatile crypto markets).
Cooldown Period: 5.
Line Duration: 60.
For Forex (e.g., EUR/USD):
Lookback Period: 180 (3 hours for greater data density in less volatile markets).
Max Distance (%): 0.012 (approximately 10-12 pips, suitable for forex).
Cooldown Period: 5.
Line Duration: 60.
Guide for Higher Timeframes:
This indicator can be adapted for higher timeframes (e.g., 5m, 15m, 1H) by adjusting the settings to account for larger price movements and slower market dynamics. Follow these steps:
Select Your Timeframe: Switch your chart to the desired timeframe (e.g., 5m, 15m, or 1H).
Adjust Lookback Period: Increase the "Lookback Period" to cover a longer historical period. For example:
5m: Set to 360 (equivalent to 6 hours).
15m: Set to 480 (equivalent to 8 hours).
1H: Set to 720 (equivalent to 12 hours).
Adjust Max Distance (%): Higher timeframes require larger targets to account for bigger price swings. For example:
5m: Increase to 0.05 (approximately 50 pips).
15m: Increase to 0.1 (approximately 100 pips).
1H: Increase to 0.2 (approximately 200 pips).
Adjust Cooldown Period: On higher timeframes, you may want a longer cooldown to avoid frequent updates. For example:
5m: Set to 10.
15m: Set to 15.
1H: Set to 20.
Adjust Line Duration: Extend the duration the line is displayed to match the timeframe. For example:
5m: Set to 120 (equivalent to 10 hours).
15m: Set to 240 (equivalent to 60 hours).
1H: Set to 480 (equivalent to 20 days).
Monitor the Dashboard: The dashboard will still show the target level, prediction, and trend, but the values will now reflect the larger timeframe's dynamics.
Usage Instructions:
Set your chart to a 1-minute timeframe (or follow the higher timeframe guide).
Adjust the settings based on the market and timeframe (see recommendations above).
Monitor the dashboard for the current price, target level, and prediction.
Use the yellow line as a potential entry or exit level, and adjust your strategy based on the trend and statistics.
Notes:
This indicator is intended solely for educational and analytical purposes and should not be considered financial advice.
Test the indicator on a demo account before using it with real funds.
The indicator complies with TradingView guidelines by not providing trading advice, automated trading signals, or guarantees of profit.
OrangeCandle 4EMA 55 + Fib Bands + SignalsThe script is a TradingView indicator that combines three popular technical analysis tools: Exponential Moving Averages (EMAs), Fibonacci bands, and buy/sell signals based on these indicators. Here’s a breakdown of its features:
1. EMA Settings and Calculation:
The script calculates and plots several Exponential Moving Averages (EMAs) on the chart with different lengths:
Short-term EMAs: EMA 9, EMA 13, EMA 21, and EMA 55 (used for tracking short-term price trends).
Long-term EMAs: EMA 100 and EMA 200 (used to analyze longer-term trends).
These EMAs are plotted with different colors to visually distinguish between the short-term and long-term trends.
2. Fibonacci Bands:
The script calculates Fibonacci Bands based on the Average True Range (ATR) and a Simple Moving Average (SMA).
Fibonacci factors (1.618, 2.618, 4.236, 6.854, and 11.090) are used to determine the upper and lower bounds of five Fibonacci bands.
Upper Fibonacci Bands (e.g., fib1u, fib2u) represent resistance levels.
Lower Fibonacci Bands (e.g., fib1l, fib2l) represent support levels.
These bands are plotted with different colors for each level, helping traders identify potential price reversal zones.
3. Buy and Sell Signals:
Long Condition: A buy signal occurs when the price crosses above the EMA 55 (long-term trend indicator) and is above the lower Fibonacci band (support zone).
Short Condition: A sell signal occurs when the price crosses below the EMA 55 and is below the upper Fibonacci band (resistance zone).
These conditions trigger visual signals on the chart (green arrow for long, red arrow for short).
4. Alerts:
The script includes alert conditions to notify the trader when a long or short signal is triggered based on the crossover of price and EMA 55 near the Fibonacci support or resistance levels.
Long Entry Alert: Triggers when the price crosses above the EMA 55 and is near a Fibonacci support level.
Short Entry Alert: Triggers when the price crosses below the EMA 55 and is near a Fibonacci resistance level.
5. Visualization:
EMAs are plotted with distinct colors:
EMA 9 is aqua,
EMA 13 is purple,
EMA 21 is orange,
EMA 55 is blue (with thicker line width for emphasis),
EMA 100 is gray,
EMA 200 is black.
Fibonacci bands are plotted with different colors for each level:
Fib Band 1 (upper and lower) in white,
Fib Band 2 in green (upper) and red (lower),
Fib Band 3 in green (upper) and red (lower),
Fib Band 4 in blue (upper) and orange (lower),
Fib Band 5 in purple (upper) and yellow (lower).
Summary:
This script provides a comprehensive strategy for analyzing the market with multiple EMAs for trend detection, Fibonacci bands for support/resistance, and signals based on price action in relation to these indicators. The combination of these tools can assist traders in making more informed decisions by providing potential entry and exit points on the chart.
Enhanced ROC - Savitzky–Golay [AIBitcoinTrend]👽 Adaptive ROC - Savitzky–Golay (AIBitcoinTrend)
The Adaptive ROC - Savitzky–Golay redefines traditional Rate of Change (ROC) analysis by integrating Savitzky–Golay smoothing with volatility-adaptive normalization, allowing it to dynamically adjust across different market conditions. Unlike the standard ROC, which reacts rigidly to price changes, this advanced version refines trend signals while maintaining responsiveness to volatility.
Additionally, this indicator features real-time divergence detection and an ATR-based trailing stop system, equipping traders with a powerful toolset for momentum analysis, reversals, and trend-following strategies.
👽 What Makes the Adaptive ROC - Savitzky–Golay Unique?
Unlike conventional ROC indicators, this enhanced version leverages volatility-adjusted scaling and Z-score normalization to improve signal consistency across different timeframes and assets.
✅ Savitzky–Golay Smoothing – Reduces noise while preserving trend structure for clearer signals.
✅ Volatility-Adaptive Normalization – Ensures that overbought and oversold thresholds remain consistent across different markets.
✅ Real-Time Divergence Detection – Identifies early bullish and bearish divergence signals for potential reversals.
✅ Crossovers & ATR-Based Trailing Stops – Implements intelligent trade management with dynamic stop levels.
👽 The Math Behind the Indicator
👾 Savitzky–Golay Smoothing
The indicator applies a Savitzky–Golay filter to the raw ROC data, creating a smoother curve while preserving key inflection points. This technique prevents excessive lag while maintaining the integrity of price movements.
sg_roc = (roc_raw + 3*roc_raw + 5*roc_raw + 7*roc_raw + 5*roc_raw + 3*roc_raw + roc_raw ) / 25
👾 Volatility-Adaptive Scaling
By dynamically adjusting the smoothed ROC using standard deviation, the indicator ensures that momentum readings remain relative to the market’s current volatility.
volatility = ta.stdev(close, rocLength)
dynamicFactor = 1 / (1 + volatility / 100)
advanced_sg_roc = sg_roc * dynamicFactor
👾 Z-Score Normalization
To maintain a stable Overbought/Oversold structure across different markets, the ROC is normalized using a Z-score transformation, ensuring its values remain statistically relevant.
rocMean = ta.wma(advanced_sg_roc, lenZ)
rocStdev = ta.stdev(advanced_sg_roc, lenZ)
zRoc = (advanced_sg_roc - rocMean) / rocStdev
👽 How Traders Can Use This Indicator
👾 Divergence Trading Strategy
Bullish Divergence Setup:
Price makes a lower low, while the ROC forms a higher low.
A buy signal is confirmed when the ROC starts rising.
Bearish Divergence Setup:
Price makes a higher high, while the ROC forms a lower high.
A sell signal is confirmed when the ROC starts declining.
👾 Buy & Sell Signals with Trailing Stop
Bullish Setup:
✅ ROC crosses above the bullish trigger level → Buy Signal.
✅ A bullish trailing stop is placed at Low - (ATR × Multiplier).
✅ Exit if price crosses below the stop.
Bearish Setup:
✅ ROC crosses below the bearish trigger level → Sell Signal.
✅ A bearish trailing stop is placed at High + (ATR × Multiplier).
✅ Exit if price crosses above the stop.
👽 Why It’s Useful for Traders
Savitzky–Golay Filtering – Retains essential trend details while eliminating excessive noise.
Volatility-Adjusted Normalization – Makes overbought/oversold levels universally reliable across markets.
Real-Time Divergence Alerts – Identifies early reversal signals for optimal entries and exits.
ATR-Based Risk Management – Ensures stops dynamically adapt to market conditions.
Works Across Markets & Timeframes - Suitable for stocks, forex, crypto, and futures trading.
👽 Indicator Settings
ROC Period – Defines the number of bars used for ROC calculation.
Smoothing Strength – Adjusts the degree of Savitzky–Golay filtering.
Volatility Scaling – Enables or disables the adaptive volatility factor.
Enable Divergence Analysis – Turns on real-time divergence detection.
Lookback Period – Specifies the pivot detection period for divergences.
Enable Crosses Signals – Activates trade signals based on ROC crossovers.
ATR Multiplier – Controls the sensitivity of the trailing stop.
Disclaimer: This indicator is designed for educational purposes and does not constitute financial advice. Please consult a qualified financial advisor before making investment decisions.