ORBopen range breakout- if the prices move out this band in the morning opening sess then long if no then short
Bande e canali
Dow Theory - AnchorTime Linear Regression Channel🧭 Dow Theory – AnchorTime Linear Regression Channel
Not moving. Not smoothing. Just anchored price structure from the point that matters.
Unlike traditional regression channels that constantly shift with every new candle, this indicator allows you to anchor your channel to a fixed historical time, letting you draw a stable trend channel that reflects the real structure of price since that exact point.
🚫 Why It Was Built:
No moving averages
No smoothing techniques
This ensures that you don't distort the structure when the market moves fast, slow, or with inconsistent volatility.
Traditional regression channels recalculate and slide continuously, making it nearly impossible to identify a reliable structure for breakout or long-term channel trading.
🎯 What It Does:
You choose an anchor time (e.g., a major pivot low or breakout).
The channel is drawn from that fixed point to now, using raw price data only.
Automatically adjusts upper/lower boundaries based on actual price deviation – not based on average noise.
🧱 Why It Matters in Dow Theory:
In Dow Theory, identifying major trends requires knowing where they started.
This tool helps you:
Lock in a structural starting point
Track channel integrity over long periods
Prepare for breakouts with full visual context
⚙️ Key Features:
Fully customizable slope calculation method (Close, OHLC, Median, Typical)
Dynamic buffer-based channel deviation
Static anchor = stable channel
Clean labels and clear visual hierarchy
Dow Theory - High Timeframe Linear Regression Channel🧭 Dow Theory – High Timeframe Linear Regression Channel
No moving averages. No smoothing. Just clean structure, drawn directly from price.
This indicator is built for serious price action traders who need to stay aligned with the true structure of the market - especially when volatility shifts or price moves in irregular waves. Unlike indicators that rely on moving averages or smoothed data, this tool is based purely on confirmed high-timeframe raw price movement.
⚙️ How It Works:
Detects highs and lows from your chosen higher timeframe (e.g., H1 or H4).
Draws real-time trendlines and parallel regression channels based on true price action — no smoothing involved.
When price closes beyond the channel, the indicator breaks the trend visually and structurally.
In sideways phases, it automatically draws clean horizontal boundaries to define consolidation zones.
❌ What It Doesn’t Do:
No moving averages
No exponential or weighted filters
No price smoothing
→ Which means no distortion when price moves with inconsistent speed or volatile ranges.
🌟 Key Features:
Trend-aligned trading made visual: Clearly see if structure is trending or ranging.
Auto break detection: Trendlines are removed once structure is invalidated.
100% price-based logic: No repainting, no lag.
Customizable visuals: Adjust timeframe, color, line style, and more.
🧪 Perfect For:
Traders who avoid lagging indicators and want real structure.
Systems that require clean, event-driven signals based on HTF behavior.
Navigating fast or irregular markets without being misled by artificial smoothing.
Dow Theory - Low timeframe Linear Regression Channel🔍 Dow Theory - Minor Trend: Linear Regression Channel for Low Timeframes
Catch Every Move. No Smoothing. No Delay. Pure Price Action.
This indicator redefines how you analyze minor trends on low timeframes by applying Dow Theory principles without relying on traditional smoothing techniques like moving averages. Instead, it maps trends using pure candle high and low points, capturing even the smallest structural shifts with surgical precision.
🧠 What Makes It Special?
Unlike traditional linear regression channels that smooth price across fixed windows (which often fail during high volatility or abrupt moves), this tool is built to react instantly, adapting to the true pulse of the market—the candle’s own highs and lows. The result: no lag, no distortion, and no compromise during fast, slow, wide, or tight market phases.
🧩 Core Functionalities:
Minor Trend Mapping: Automatically identifies and draws channels using candle-by-candle pivot detection (not swing highs/lows).
Adaptive Channel Drawing: Draws real-time parallel channels as soon as a valid trend structure is detected—uptrend, downtrend, or sideway range.
Break Detection Logic: Highlights when price breaks above or below the current channel to anticipate trend shifts.
Sideway Detection: Dynamically tracks contraction phases using overlapping pivot structures.
No Repainting: All lines are fixed and historical; what you see is what really happened.
Fully Customizable:
Change trendline colors for bullish, bearish, or sideway zones.
Adjustable line width and style (solid, dashed, dotted).
Toggle on/off channel lines for clarity.
💡 Why Use This?
If you’re tired of average-based indicators that get whipsawed in volatile markets, this is your surgical tool for clarity. Whether you’re scalping, building entry logic, or looking to automate setups—this indicator gives you the raw market structure in its cleanest, most responsive form.
ENJOY!
Turtle Trading System + ATRTurtle Trading System + ATR
This Pine Script v5 indicator implements a Turtle Trading System with ATR integration.
It plots a 20-day high (red), 20-day low (blue), and an ATR-based level (orange) shifted upward by a user-defined percentage (default 5%).
Customizable inputs include lookback period (default 20), ATR period (default 14), and ATR offset.
Dynamic labels show the 20-day high, low, and ATR values at the current bar, updating with price.
Suitable for trend-following strategies, it highlights breakout and volatility levels.
Multiple of Net Asset Value (mNAV)This TradingView indicator calculates and displays the multiple of Net Asset Value (mNAV) for a selected symbol. It uses the asset symbol held, the quantity of assets held, and the number of outstanding shares to compute mNAV per share. The indicator compares the current price to mNAV, showing how many times the asset is trading above or below its mNAV. Users can configure up to four custom mNAV multiples for reference lines, helping to visualize overvaluation or undervaluation relative to mNAV. Ideal for analyzing ETFs, trusts, or crypto funds with transparent holdings.
Crypto Breadth | AlphaNatt\ Crypto Breadth | AlphaNatt\
A dynamic, visually modern market breadth indicator designed to track the strength of the top 40 cryptocurrencies by measuring how many are trading above their respective 50-day moving averages. Built with precision, branding consistency, and UI enhancements for fast interpretation.
\ 📊 What This Script Does\
* Aggregates the performance of \ 40 major cryptocurrencies\ on Binance
* Calculates a \ breadth score (0.00–1.00)\ based on how many tokens are above their moving averages
* Smooths the breadth with optional averaging
* Displays the result as a \ dynamic, color-coded line\ with aesthetic glow and gradient fill
* Provides automatic \ background zones\ for extreme bullish/bearish conditions
* Includes \ alerts\ for key threshold crossovers
* Highlights current values in an \ information panel\
\ 🧠 How It Works\
* Pulls real-time `close` prices for 40 coins (e.g., XRP, BNB, SOL, DOGE, PEPE, RENDER, etc.)
* Compares each coin's price to its 50-day SMA (adjustable)
* Assigns a binary score:
• 1 if the coin is above its MA
• 0 if it’s below
* Aggregates all results and divides by 40 to produce a normalized \ breadth percentage\
\ 🎨 Visual Design Features\
* Smooth blue-to-pink \ color gradient\ matching the AlphaNatt brand
* Soft \ glow effects\ on the main line for enhanced legibility
* Beautiful \ multi-stop fill gradient\ with 16 transition zones
* Optional \ background shading\ when extreme sentiment is detected:
• Bullish zone if breadth > 80%
• Bearish zone if breadth < 20%
\ ⚙️ User Inputs\
* \ Moving Average Length\ – Number of periods to calculate each coin’s SMA
* \ Smoothing Length\ – Smooths the final breadth value
* \ Show Background Zones\ – Toggle extreme sentiment overlays
* \ Show Gradient Fill\ – Toggle the modern multicolor area fill
\ 🛠️ Utility Table (Top Right)\
* Displays live breadth percentage
* Shows how many coins (e.g., 27/40) are currently above their MA
\ 🔔 Alerts Included\
* \ Breadth crosses above 50%\ → Bullish signal
* \ Breadth crosses below 50%\ → Bearish signal
* \ Breadth > 80%\ → Strong bullish trend
* \ Breadth < 20%\ → Strong bearish trend
\ 📈 Best Used For\
* Gauging overall market strength or weakness
* Timing trend transitions in the crypto market
* Confirming trend-based strategies with broad market support
* Visual dashboard in macro dashboards or strategy overlays
\ ✅ Designed For\
* Swing traders
* Quantitative investors
* Market structure analysts
* Anyone seeking a macro view of crypto performance
Note: Not financial advise
Alanna IndicatorThe Alanna Indicator is a sophisticated analysis tool designed to move beyond simple price action and uncover the fundamental drivers behind a stock's behavior. Instead of relying on a single lagging indicator, this script provides a multi-dimensional view of a stock's character by adapting the Nobel prize-winning Fama-French Five-Factor Model and combining it with the power of Momentum.
The core of this indicator is its ability to identify a stock's current "Factor Regime"—whether it is being perceived by the market primarily as a Value, Growth, Momentum, or other type of stock. By detecting shifts between these regimes and confirming them with price momentum, the Alanna Indicator generates high-conviction signals for potential entries and exits.
Normalized Fibonacci Retracement (MTF/LOG)A question: Instead of creating indicators that constantly plot Fibonacci Retracement levels in a visually overwhelming way, why don't we redefine them on a different scale? 🤨
Overview
The Normalized Fibonacci Retracement indicator converts price data to a 0-100 scale based on the selected timeframe's high-low range, displaying normalized candlesticks alongside standard Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%). This normalization reveals patterns that may be hidden in absolute price charts and allows consistent analysis across different instruments.
Originality
By normalizing prices to percentages, this indicator enables pattern recognition independent of absolute price levels. The same formation at $10-$20 and $1000-$2000 appears identical on the normalized scale, helping traders identify recurring structures across various assets and timeframes.
Concepts
The indicator uses a simple formula to transform price data into percentages. This creates a bounded scale where patterns become comparable regardless of the underlying asset's price range. The normalized view often reveals symmetries and relationships not visible in traditional price charts.
Mechanics
The system tracks highs and lows within the selected timeframe as anchor points. When a new period begins, fresh boundaries are established and prices recalculated. Trend direction is determined by timing of extremes. Linear scaling uses direct percentage calculation, while logarithmic scaling applies exponential interpolation for assets with large percentage moves.
Functions
Timeframe Selection: Higher timeframe analysis on any chart resolution
Normalized Display: OHLC data converted to 0-100 percentage scale
Fibonacci Levels: Standard retracement levels plotted automatically
Scaling Options: Linear or logarithmic calculation methods
Pattern Recognition: Reveals formations hidden in absolute price charts
Moving Average: Optional 20-period SMA overlay
Notes
Ensure chart data covers the full selected timeframe for accurate calculations. Use logarithmic scaling for volatile assets with large percentage moves. The normalized scale is effective at revealing patterns and structures that remain consistent across different price ranges, making it particularly useful for comparative analysis and pattern-based trading strategies.
I hope it helps everyone. Do not forget to manage your risk. And trade as safely as possible. Best of luck!
Unified Signals + BB Expansion Filtercan be universal use for different futures product but yet to fine tune for individual use
Delta Volume Movement TrackerOverview
This Pine Script, titled "Delta Volume Movement Tracker," is a sophisticated volume analysis tool designed to run in a separate pane below the main price chart. Its primary purpose is to dissect market activity by analyzing volume data from a lower timeframe to provide a clearer picture of the real buying and selling pressure behind price movements.
The core concept is to look at the volume delta (up-tick volume minus down-tick volume) from a faster timeframe (e.g., 1-minute) and correlate it with the price action on the current chart. This allows the indicator to distinguish between different market scenarios, such as strong, confirmed buying versus selling pressure that occurs even as the price rises.
Key Components
1. Lower Timeframe Volume Delta
The script's engine is the ta.requestUpAndDownVolume() function. It pulls detailed volume data from a user-specified lower timeframe. This provides a high-resolution view of the order flow. From this, it calculates the delta, which is the net difference between buying and selling volume.
Positive Delta: More volume occurred on up-ticks than down-ticks, suggesting buying pressure.
Negative Delta: More volume occurred on down-ticks than up-ticks, suggesting selling pressure.
2. Categorizing Price and Volume Interaction
The script intelligently categorizes market action by looking at both the direction of the price change and the sign of the volume delta. This creates four distinct conditions:
Strong Buying (upPositiveDelta): Price is moving up, AND the volume delta is positive. This is a confirmation signal, indicating that the upward price move is supported by aggressive buying.
Selling into Strength (upNegativeDelta): Price is moving up, BUT the volume delta is negative. This is a divergence, suggesting that despite the price rise, larger players may be distributing or selling into the rally.
Buying into Weakness (downPositiveDelta): Price is moving down, BUT the volume delta is positive. This is also a divergence, suggesting that buyers are stepping in to absorb the selling pressure, potentially indicating a bottom.
Strong Selling (downNegativeDelta): Price is moving down, AND the volume delta is negative. This is a confirmation signal, indicating that the downward price move is supported by aggressive selling.
3. Price-Weighted Summation
Instead of just counting the occurrences, the script calculates a rolling sum for each category over a lookbackPeriod. Crucially, it weights these values by the close price, effectively measuring the monetary value of the flow in each category. This gives more significance to volume that occurs at higher price levels.
How It Appears on the Chart
The indicator plots the two most powerful confirmation signals as columns to make them easy to interpret:
Green Columns (upBuySum): Represents the cumulative, price-weighted value of "Strong Buying." Taller green bars indicate significant and sustained buying pressure.
Red Columns (downSellSum): Represents the cumulative, price-weighted value of "Strong Selling." Taller red bars indicate significant and sustained selling pressure.
EMA Lines: Smooth exponential moving averages of both the buying and selling plots are overlaid to help identify the prevailing trend in order flow.
Filled Zones: The areas beneath the zero line and the plotted columns are filled with color, making it easy to visually gauge the magnitude of buying or selling pressure at a glance.
In summary, this indicator provides a nuanced view of market dynamics, helping traders see beyond simple price action to understand the strength and conviction of the buyers and sellers driving the trend.
Machine Learning RSI with MatrixThe "Machine Learning RSI with Matrix," is an adaptive version of the traditional Relative Strength Index (RSI). It's designed to dynamically adjust to changing market conditions by learning from past price action. Instead of using a fixed calculation, it employs machine learning concepts to create a more responsive and nuanced momentum oscillator.
Core Concepts
At its heart, the indicator analyzes market characteristics like momentum and volatility over a long lookback period. It uses this information to:
Cluster Market Regimes: It categorizes the market's volatility into different states or "clusters." This allows the indicator to behave differently in calm, normal, or highly volatile environments.
Store Patterns: A unique "matrix" system stores recent RSI patterns corresponding to each volatility cluster. This creates a memory of what has happened before in similar market conditions, helping it anticipate future behavior.
Generate Probabilistic Signals: It runs thousands of Monte Carlo simulations on each bar. These simulations use weighted random probabilities based on current momentum and volatility to generate a forward-looking, probabilistic signal.
Dynamic and Adaptive Features
This isn't a static tool. Its key strength lies in its ability to adapt in real-time:
Self-Adjusting RSI Length: The indicator continuously compares its predicted RSI value to a more traditional RSI calculation. The "error" between these two is then used to dynamically adjust the RSI calculation length, making it shorter for faster response in volatile markets and longer for smoother signals in trending markets.
Adaptive Learning Rate: The speed at which the indicator adapts can be set to automatically adjust based on market volatility, allowing it to learn faster when the market is moving quickly.
Recursive Memory: The final output includes a "memory" component, which is a feedback loop from its own recent values. This helps create a smoother, more stable signal that is less prone to sudden spikes.
Final Output and Visualization
The final plotted value is a sophisticated blend of multiple elements: the adaptive RSI, the true RSI, the cluster average, and the memory average. This combined signal provides a comprehensive view of momentum.
Dynamic Thresholds: The overbought and oversold levels are not fixed at 70 and 30. They move up and down based on a Z-Score of the price, which measures how extreme the current price is relative to its recent history. This helps avoid premature signals in strong trends.
Adaptive Trend & Whale Vol + POCAdaptive Trend & Whale Vol + POC — powerful multi-tool indicator combining adaptive trend, whale volume spikes, RSI divergences, and volume-based POC to enhance trade entries and exits with clear signals and alerts.
Quantum Scalper Pro – Adaptive EMA/VWAP Hybrid Engine🧠 Quantum Scalper Pro – Adaptive EMA/VWAP Hybrid Engine
Experimental version under development
This strategy combines a hybrid technical analysis system based on:
Multiple EMAs and smoothed VWAP
Higher timeframe trend confirmation
Dynamic ATR-based breakout entries
Engulfing patterns and RSI divergences
Adaptive risk management and smart re-entry logic
📈 The algorithm includes filters for consolidation zones, abnormal volume, outlier candles, and dynamically adjusts key parameters based on the selected timeframe.
🛡️ The risk management system is fully adaptive, scaling take-profit and stop-loss levels based on current volatility (ATR), with exit logic triggered by EMA/MVWAP crossovers or RSI overbought/oversold conditions.
⚠️ IMPORTANT:
This is an experimental strategy. Past performance does not guarantee future results. Please use it strictly for backtesting or demo accounts while evaluating its behavior across different assets and market conditions.
Bull Momentum GaugeBull Momentum Gauge
The Bull Momentum Gauge is a powerful momentum oscillator designed to identify the underlying strength and sustainability of major market trends. Instead of trying to predict tops and bottoms, this indicator helps traders and investors ride long-term bull markets by signaling when momentum is building and when it is starting to fade.
What it Does
At its core, this tool measures how statistically "stretched" or "compressed" an asset's price is relative to its long-term (1-year) trend. It does this by:
Calculating the price's deviation from its 365-day moving average.
Normalizing this deviation into a Z-score to measure its statistical significance.
Comparing the inverted Z-score to its own 200-day moving average to gauge the momentum of the trend itself.
The result is a single, smooth line that oscillates around a zero value.
How to Use It
The signals are simple and based on the indicator's relationship to the zero line:
Green Line (Gauge below 0): This indicates that the price has been compressed relative to its long-term trend and is now showing signs of building upward momentum. A cross into the green zone can be interpreted as a potential entry signal for a new bull run.
Red Line (Gauge above 0): This suggests that the price has become over-extended or "stretched" and the upward momentum is beginning to weaken. A cross into the red zone can be used as a potential exit signal, indicating it may be time to take profits and wait for the next cycle.
This indicator is designed to work across multiple timeframes (Daily, Weekly, Monthly) and provides a clear, data-driven framework for navigating major market cycles.
Triangular Fib🔍 Features
- Dynamic Lookback & Projection: Automatically adjusts the range and projection horizon based on timeframe changes.
- Triangular Fibonacci Arms: Projects fib levels upward and downward from high/low extremes to highlight potential price inflections.
- Volatility-Shaded Equilibrium: Visual zone highlights areas of consolidation or energy buildup before breakouts.
- Breakout Alerts: Detects and signals bullish/bearish breakouts from triangular fib thresholds.
- Auto-Traced Triangle Wedge: Dotted wedge lines visually represent narrowing price action from range extremes to midpoint.
Ideal for traders who seek visual clarity, price symmetry, and alert-driven decision-making across multiple timeframes. Whether you're swing trading or intraday scouting, this script provides a richly layered roadmap of market potential.
Not financial advice.
52SIGNAL RECIPE CCI Linreg Bands═══ 52SIGNAL RECIPE CCI Linreg Bands ═══
◆ Overview
52SIGNAL RECIPE CCI Linreg Bands is an advanced technical indicator that combines the CCI (Commodity Channel Index) with Linear Regression Bands. This indicator visualizes the volatility of the CCI using linear regression bands, helping to clearly identify overbought/oversold areas and more accurately capture potential trend reversal points.
─────────────────────────────────────
◆ Key Features
• CCI-Based Overbought/Oversold Analysis: Uses the traditional CCI indicator to identify overbought/oversold conditions in the market
• Integrated Linear Regression Bands: Applies linear regression analysis to the CCI to visually represent the direction and strength of trends
• Dual Overbought/Oversold Levels: Sets overbought/oversold levels for both CCI and Linear Regression Bands to increase the accuracy of signals
• Advanced Visualization: Intuitive chart analysis is possible with color changes according to trend direction and clear band display
• Multiple Alert Settings: Alert functions for various conditions ensure you don't miss important trading moments
─────────────────────────────────────
◆ Technical Foundation
■ CCI (Commodity Channel Index)
• Basic Settings: 20-period CCI with Weighted Moving Average (WMA) applied
• Calculation Method: Measures the deviation from the average price normalized to a specific range
• Overbought/Oversold Levels: Default values set to +150 (overbought) and -150 (oversold)
■ Linear Regression Bands
• Period: Default value of 100 days
• Deviation: Default value of 4.5 standard deviations
• Center Line: The center line of the linear regression analysis for the CCI values
• Band Width: Displays the range of volatility around the center line based on the calculated standard deviation
• Overbought/Oversold Levels: Default values set to +250 (overbought) and -250 (oversold)
─────────────────────────────────────
◆ Practical Applications
■ Identifying Trading Signals
• Buy Signal:
▶ When the CCI falls below the oversold level (-150)
▶ When the lower band of the Linear Regression Bands falls below the oversold level (-250)
▶ When both conditions are met simultaneously (extreme oversold state) - a strong buy signal
• Sell Signal:
▶ When the CCI rises above the overbought level (+150)
▶ When the upper band of the Linear Regression Bands rises above the overbought level (+250)
▶ When both conditions are met simultaneously (extreme overbought state) - a strong sell signal
■ Trend Analysis
• Uptrend: When the linear regression center line is rising and the CCI is moving above the zero line
• Downtrend: When the linear regression center line is falling and the CCI is moving below the zero line
• Trend Strength: The wider the gap between the bands, the greater the volatility; the narrower, the more stable the trend
■ Divergence Confirmation
• Bearish Divergence: Price forms a new high, but the CCI is lower than the previous high (potential bearish signal)
• Bullish Divergence: Price forms a new low, but the CCI is higher than the previous low (potential bullish signal)
─────────────────────────────────────
◆ Advanced Setting Options
■ CCI Setting Adjustments
• CCI Source: Selectable options include Close (default), Open, High, Low, HL2, HLC3, OHLC4, etc.
• CCI Length: Adjust to lower values for short-term volatility, higher values for long-term trends
■ Linear Regression Setting Adjustments
• Period: Use lower values (20-50) for short-term analysis, higher values (100-200) for long-term analysis
• Deviation: Higher values create wider bands (more signals), lower values create narrower bands (more accurate signals)
■ Overbought/Oversold Level Adjustments
• CCI Levels: Adjust to more extreme values (±200) in highly volatile markets
• Linear Regression Band Levels: Adjustable to ±300 or ±200 depending on market conditions
─────────────────────────────────────
◆ Synergy with Other Indicators
• Bollinger Bands: Use alongside Bollinger Bands on the price chart to compare price volatility with CCI volatility
• MACD: Use with MACD for momentum and trend confirmation
• Fibonacci Retracement: Check CCI Linreg Bands signals with key support/resistance levels
• Moving Averages: Combine moving average crossovers with CCI Linreg Bands signals to improve reliability
─────────────────────────────────────
◆ Conclusion
52SIGNAL RECIPE CCI Linreg Bands provides a powerful and accurate technical analysis tool by combining traditional CCI with linear regression analysis. The dual overbought/oversold system increases the accuracy of trading signals and clearly visualizes trend direction and strength to help traders make decisions. You can achieve optimal results by adjusting various settings to match your trading style and market conditions.
─────────────────────────────────────
※ Disclaimer: Past performance does not guarantee future results. Always use appropriate risk management strategies.
═══ 52SIGNAL RECIPE CCI 선형회귀 밴드 ═══
◆ 개요
52SIGNAL RECIPE CCI 선형회귀 밴드는 CCI(Commodity Channel Index)와 선형회귀 밴드를 결합한 고급 기술적 지표입니다. 이 지표는 선형회귀 밴드를 사용하여 CCI의 변동성을 시각화하여 과매수/과매도 영역을 명확하게 식별하고 잠재적인 추세 반전 지점을 더 정확하게 포착하는 데 도움을 줍니다.
─────────────────────────────────────
◆ 주요 특징
• CCI 기반 과매수/과매도 분석: 전통적인 CCI 지표를 사용하여 시장의 과매수/과매도 상태를 식별
• 통합된 선형회귀 밴드: CCI에 선형회귀 분석을 적용하여 추세의 방향과 강도를 시각적으로 표현
• 이중 과매수/과매도 레벨: CCI와 선형회귀 밴드 모두에 과매수/과매도 레벨을 설정하여 신호의 정확도 향상
• 고급 시각화: 추세 방향에 따른 색상 변화와 명확한 밴드 표시로 직관적인 차트 분석 가능
• 다중 알림 설정: 다양한 조건에 대한 알림 기능으로 중요한 트레이딩 시점을 놓치지 않도록 보장
─────────────────────────────────────
◆ 기술적 기반
■ CCI (Commodity Channel Index)
• 기본 설정: 20기간 CCI에 가중이동평균(WMA) 적용
• 계산 방법: 평균 가격에 대한 편차를 측정하여 정규화한 값으로 표현
• 과매수/과매도 레벨: 기본값으로 +150(과매수)과 -150(과매도) 설정
■ 선형회귀 밴드
• 기간: 기본값 100일
• 편차: 기본값 4.5 표준편차
• 중심선: CCI 값에 대한 선형회귀 분석의 중심선
• 밴드 폭: 계산된 표준편차에 기반하여 중심선 주변의 변동성 범위 표시
• 과매수/과매도 레벨: 기본값으로 +250(과매수)와 -250(과매도) 설정
─────────────────────────────────────
◆ 실용적 응용
■ 트레이딩 신호 식별
• 매수 신호:
▶ CCI가 과매도 레벨(-150) 아래로 떨어질 때
▶ 선형회귀 밴드의 하단이 과매도 레벨(-250) 아래로 떨어질 때
▶ 두 조건이 동시에 충족될 때(극단적 과매도 상태) - 강한 매수 신호
• 매도 신호:
▶ CCI가 과매수 레벨(+150) 위로 상승할 때
▶ 선형회귀 밴드의 상단이 과매수 레벨(+250) 위로 상승할 때
▶ 두 조건이 동시에 충족될 때(극단적 과매수 상태) - 강한 매도 신호
■ 추세 분석
• 상승 추세: 선형회귀 중심선이 상승하고 CCI가 0선 위로 움직일 때
• 하락 추세: 선형회귀 중심선이 하락하고 CCI가 0선 아래로 움직일 때
• 추세 강도: 밴드 사이의 간격이 넓을수록 변동성이 크고, 좁을수록 추세가 안정적
■ 다이버전스 확인
• 약세 다이버전스: 가격이 신고점을 형성하지만 CCI가 이전 고점보다 낮을 때(잠재적 약세 신호)
• 강세 다이버전스: 가격이 신저점을 형성하지만 CCI가 이전 저점보다 높을 때(잠재적 강세 신호)
─────────────────────────────────────
◆ 고급 설정 옵션
■ CCI 설정 조정
• CCI 소스: 선택 가능한 옵션에는 종가(기본값), 시가, 고가, 저가, HL2, HLC3, OHLC4 등이 포함
• CCI 길이: 단기 변동성을 위해 낮은 값으로, 장기 추세를 위해 높은 값으로 조정
■ 선형회귀 설정 조정
• 기간: 단기 분석을 위해 낮은 값(20-50), 장기 분석을 위해 높은 값(100-200) 사용
• 편차: 높은 값은 더 넓은 밴드(더 많은 신호), 낮은 값은 더 좁은 밴드(더 정확한 신호) 생성
■ 과매수/과매도 레벨 조정
• CCI 레벨: 변동성이 큰 시장에서는 더 극단적인 값(±200)으로 조정
• 선형회귀 밴드 레벨: 시장 상황에 따라 ±300 또는 ±200으로 조정 가능
─────────────────────────────────────
◆ 다른 지표와의 시너지
• 볼린저 밴드: 가격 차트의 볼린저 밴드와 함께 사용하여 가격 변동성과 CCI 변동성 비교
• MACD: 모멘텀과 추세 확인을 위해 MACD와 함께 사용
• 피보나치 되돌림: CCI 선형회귀 밴드 신호를 주요 지지/저항 레벨과 함께 확인
• 이동평균선: 이동평균 교차와 CCI 선형회귀 밴드 신호를 결합하여 신뢰성 향상
─────────────────────────────────────
◆ 결론
52SIGNAL RECIPE CCI 선형회귀 밴드는 전통적인 CCI와 선형회귀 분석을 결합하여 강력하고 정확한 기술적 분석 도구를 제공합니다. 이중 과매수/과매도 시스템은 트레이딩 신호의 정확도를 높이고 추세 방향과 강도를 명확하게 시각화하여 트레이더의 의사 결정을 돕습니다. 다양한 설정을 트레이딩 스타일과 시장 상황에 맞게 조정하여 최적의 결과를 얻을 수 있습니다.
─────────────────────────────────────
※ 면책 조항: 과거 성과가 미래 결과를 보장하지 않습니다. 항상 적절한 리스크 관리 전략을 사용하세요.
52SIGNAL RECIPE RSI Linreg Bands═══ 52SIGNAL RECIPE RSI Linreg Bands ═══
◆ Overview
52SIGNAL RECIPE RSI Linreg Bands is an advanced technical indicator that combines the RSI (Relative Strength Index) with Linear Regression Bands. This indicator visualizes the volatility of the RSI using linear regression bands, helping to clearly identify overbought/oversold areas and more accurately capture potential trend reversal points.
─────────────────────────────────────
◆ Key Features
• RSI-Based Overbought/Oversold Analysis: Uses the traditional RSI indicator to identify overbought/oversold conditions in the market
• Integrated Linear Regression Bands: Applies linear regression analysis to the RSI to visually represent the direction and strength of trends
• Dual Overbought/Oversold Levels: Sets overbought/oversold levels for both RSI and Linear Regression Bands to increase the accuracy of signals
• Advanced Visualization: Intuitive chart analysis is possible with color changes according to trend direction and clear band display
• Multiple Alert Settings: Alert functions for various conditions ensure you don't miss important trading moments
─────────────────────────────────────
◆ Technical Foundation
■ RSI (Relative Strength Index)
• Basic Settings: 14-period RSI with 5-period Weighted Moving Average (WMA) applied
• Calculation Method: Measures the relative strength of gains and losses, expressed as a value between 0-100
• Overbought/Oversold Levels: Default values set to 70 (overbought) and 30 (oversold)
■ Linear Regression Bands
• Period: Default value of 100 days
• Deviation: Default value of 2.5 standard deviations
• Center Line: The center line of the linear regression analysis for the RSI values
• Band Width: Displays the range of volatility around the center line based on the calculated standard deviation
• Overbought/Oversold Levels: Default values set to 85 (overbought) and 15 (oversold)
─────────────────────────────────────
◆ Practical Applications
■ Identifying Trading Signals
• Buy Signal:
▶ When the RSI falls below the oversold level (30)
▶ When the lower band of the Linear Regression Bands falls below the oversold level (15)
▶ When both conditions are met simultaneously (extreme oversold state) - a strong buy signal
• Sell Signal:
▶ When the RSI rises above the overbought level (70)
▶ When the upper band of the Linear Regression Bands rises above the overbought level (85)
▶ When both conditions are met simultaneously (extreme overbought state) - a strong sell signal
■ Trend Analysis
• Uptrend: When the linear regression center line is rising and the RSI is moving above the midline (50)
• Downtrend: When the linear regression center line is falling and the RSI is moving below the midline (50)
• Trend Strength: The wider the gap between the bands, the greater the volatility; the narrower, the more stable the trend
■ Divergence Confirmation
• Bearish Divergence: Price forms a new high, but the RSI is lower than the previous high (potential bearish signal)
• Bullish Divergence: Price forms a new low, but the RSI is higher than the previous low (potential bullish signal)
─────────────────────────────────────
◆ Advanced Setting Options
■ RSI Setting Adjustments
• RSI Source: Selectable options include Close (default), Open, High, Low, HL2, HLC3, OHLC4, etc.
• RSI Length: Adjust to lower values for short-term volatility, higher values for long-term trends
■ Linear Regression Setting Adjustments
• Period: Use lower values (20-50) for short-term analysis, higher values (100-200) for long-term analysis
• Deviation: Higher values create wider bands (more signals), lower values create narrower bands (more accurate signals)
■ Overbought/Oversold Level Adjustments
• RSI Levels: Adjust to more extreme values (80/20) in highly volatile markets
• Linear Regression Band Levels: Adjustable to 90/10 or 80/20 depending on market conditions
─────────────────────────────────────
◆ Synergy with Other Indicators
• Bollinger Bands: Use alongside Bollinger Bands on the price chart to compare price volatility with RSI volatility
• MACD: Use with MACD for momentum and trend confirmation
• Fibonacci Retracement: Check RSI Linreg Bands signals with key support/resistance levels
• Moving Averages: Combine moving average crossovers with RSI Linreg Bands signals to improve reliability
─────────────────────────────────────
◆ Conclusion
52SIGNAL RECIPE RSI Linreg Bands provides a powerful and accurate technical analysis tool by combining traditional RSI with linear regression analysis. The dual overbought/oversold system increases the accuracy of trading signals and clearly visualizes trend direction and strength to help traders make decisions. You can achieve optimal results by adjusting various settings to match your trading style and market conditions.
─────────────────────────────────────
※ Disclaimer: Past performance does not guarantee future results. Always use appropriate risk management strategies.
═══ 52SIGNAL RECIPE RSI 선형회귀 밴드 ═══
◆ 개요
52SIGNAL RECIPE RSI 선형회귀 밴드는 RSI(상대강도지수)와 선형회귀 밴드를 결합한 고급 기술적 지표입니다. 이 지표는 선형회귀 밴드를 사용하여 RSI의 변동성을 시각화하여 과매수/과매도 영역을 명확하게 식별하고 잠재적인 추세 반전 지점을 더 정확하게 포착하는 데 도움을 줍니다.
─────────────────────────────────────
◆ 주요 특징
• RSI 기반 과매수/과매도 분석: 전통적인 RSI 지표를 사용하여 시장의 과매수/과매도 상태를 식별
• 통합된 선형회귀 밴드: RSI에 선형회귀 분석을 적용하여 추세의 방향과 강도를 시각적으로 표현
• 이중 과매수/과매도 레벨: RSI와 선형회귀 밴드 모두에 과매수/과매도 레벨을 설정하여 신호의 정확도 향상
• 고급 시각화: 추세 방향에 따른 색상 변화와 명확한 밴드 표시로 직관적인 차트 분석 가능
• 다중 알림 설정: 다양한 조건에 대한 알림 기능으로 중요한 트레이딩 시점을 놓치지 않도록 보장
─────────────────────────────────────
◆ 기술적 기반
■ RSI (상대강도지수)
• 기본 설정: 14기간 RSI에 5기간 가중이동평균(WMA) 적용
• 계산 방법: 상승과 하락의 상대적 강도를 측정하여 0-100 사이의 값으로 표현
• 과매수/과매도 레벨: 기본값으로 70(과매수)과 30(과매도) 설정
■ 선형회귀 밴드
• 기간: 기본값 100일
• 편차: 기본값 2.5 표준편차
• 중심선: RSI 값에 대한 선형회귀 분석의 중심선
• 밴드 폭: 계산된 표준편차에 기반하여 중심선 주변의 변동성 범위 표시
• 과매수/과매도 레벨: 기본값으로 85(과매수)와 15(과매도) 설정
─────────────────────────────────────
◆ 실용적 응용
■ 트레이딩 신호 식별
• 매수 신호:
▶ RSI가 과매도 레벨(30) 아래로 떨어질 때
▶ 선형회귀 밴드의 하단이 과매도 레벨(15) 아래로 떨어질 때
▶ 두 조건이 동시에 충족될 때(극단적 과매도 상태) - 강한 매수 신호
• 매도 신호:
▶ RSI가 과매수 레벨(70) 위로 상승할 때
▶ 선형회귀 밴드의 상단이 과매수 레벨(85) 위로 상승할 때
▶ 두 조건이 동시에 충족될 때(극단적 과매수 상태) - 강한 매도 신호
■ 추세 분석
• 상승 추세: 선형회귀 중심선이 상승하고 RSI가 중간선(50) 위로 움직일 때
• 하락 추세: 선형회귀 중심선이 하락하고 RSI가 중간선(50) 아래로 움직일 때
• 추세 강도: 밴드 사이의 간격이 넓을수록 변동성이 크고, 좁을수록 추세가 안정적
■ 다이버전스 확인
• 약세 다이버전스: 가격이 신고점을 형성하지만 RSI가 이전 고점보다 낮을 때(잠재적 약세 신호)
• 강세 다이버전스: 가격이 신저점을 형성하지만 RSI가 이전 저점보다 높을 때(잠재적 강세 신호)
─────────────────────────────────────
◆ 고급 설정 옵션
■ RSI 설정 조정
• RSI 소스: 선택 가능한 옵션에는 종가(기본값), 시가, 고가, 저가, HL2, HLC3, OHLC4 등이 포함
• RSI 길이: 단기 변동성을 위해 낮은 값으로, 장기 추세를 위해 높은 값으로 조정
■ 선형회귀 설정 조정
• 기간: 단기 분석을 위해 낮은 값(20-50), 장기 분석을 위해 높은 값(100-200) 사용
• 편차: 높은 값은 더 넓은 밴드(더 많은 신호), 낮은 값은 더 좁은 밴드(더 정확한 신호) 생성
■ 과매수/과매도 레벨 조정
• RSI 레벨: 변동성이 큰 시장에서는 더 극단적인 값(80/20)으로 조정
• 선형회귀 밴드 레벨: 시장 상황에 따라 90/10 또는 80/20으로 조정 가능
─────────────────────────────────────
◆ 다른 지표와의 시너지
• 볼린저 밴드: 가격 차트의 볼린저 밴드와 함께 사용하여 가격 변동성과 RSI 변동성 비교
• MACD: 모멘텀과 추세 확인을 위해 MACD와 함께 사용
• 피보나치 되돌림: RSI 선형회귀 밴드 신호를 주요 지지/저항 레벨과 함께 확인
• 이동평균선: 이동평균 교차와 RSI 선형회귀 밴드 신호를 결합하여 신뢰성 향상
─────────────────────────────────────
◆ 결론
52SIGNAL RECIPE RSI 선형회귀 밴드는 전통적인 RSI와 선형회귀 분석을 결합하여 강력하고 정확한 기술적 분석 도구를 제공합니다. 이중 과매수/과매도 시스템은 트레이딩 신호의 정확도를 높이고 추세 방향과 강도를 명확하게 시각화하여 트레이더의 의사 결정을 돕습니다. 다양한 설정을 트레이딩 스타일과 시장 상황에 맞게 조정하여 최적의 결과를 얻을 수 있습니다.
─────────────────────────────────────
※ 면책 조항: 과거 성과가 미래 결과를 보장하지 않습니다. 항상 적절한 리스크 관리 전략을 사용하세요.
Intraday Trend Pro📈 Intraday Trend Pro — Multi-Timeframe Smart Indicator
Unlock precision in your intraday trading with Intraday Trend Pro, a powerful and versatile indicator built for serious traders. This tool is designed to:
✅ Identify the True Intraday Trend
Quickly and clearly spot bullish or bearish trends using a refined algorithm that filters out noise and false signals.
✅ Smart Entry & Stop Loss Suggestions
The script dynamically suggests optimal entry points and protective stop-loss levels, helping you manage risk and improve trade timing.
✅ Multi-Timeframe Analysis (MTF)
Enable the optional MTF mode to blend higher timeframes with the current chart for a more reliable signal confirmation, enhancing your confidence before entering a trade.
✅ Works Seamlessly Across Assets
Whether you’re trading indices like BankNifty, commodities like XAU/USD, or high-volume stocks, this indicator adjusts to deliver actionable insights.
✅ Customization Made Easy
Input controls allow you to fine-tune the trend settings, select timeframes, and adapt to your unique strategy—whether scalping or holding through the day.
Use Cases:
Confirming trend strength before entering trades
Determining accurate support/resistance for SL placement
Avoiding sideways markets and false breakouts
Aligning trades with higher timeframe momentum
Ideal For:
Intraday traders and scalpers looking for a clean, accurate, and multi-timeframe-aware tool to improve consistency.
Range & Consolidation DetectorHello friends,
I’m excited to share my latest discovery with you — the Range & Consolidation Detector. This script is built on a unique methodology I’m truly proud of. It uses no traditional indicators like ADX, RSI, or ATR — just pure statistics and mathematics under the hood. No parameters to tweak, no settings to guess — it just works, right out of the box.
🛠️ How It Works
At its core is a proprietary formula that reliably identifies ranging conditions across all tickers and timeframes. It’s simple, robust, and consistent — exactly what traders need to spot sideways markets without noise or lag.
🔥 Key Features
Pine Script v6 – Uses the latest version for maximum performance
Zero configuration – No inputs to adjust, no hidden settings — the algorithm works automatically
Optimized performance – Runs efficiently for smooth charting
Universal compatibility – Works flawlessly on any asset and timeframe, in every market condition — from euphoric peaks to choppy ranges
📸 Visual Examples
If you’d like access or have any questions, feel free to reach out to me directly via DM.
👋 Good luck and happy trading!
The Great Anchors: Dual AVWAP Powered by RSI
The Great Anchors
*Dual Anchored Volume Weighted Average Price Powered by RSI*
---
📌 Overview
The Great Anchors is a dual AVWAP-based indicator that resets dynamically using RSI extremes — either from the current asset or a master symbol (e.g., BTCUSDT). It identifies meaningful shifts in price structure and momentum using these "anchored" levels.
It’s designed to help traders spot trend continuations, momentum inflection points, and entry signals aligned with overbought/oversold conditions — but only when the market confirms through volume-weighted price direction.
---
🛠 Core Logic
• AVWAP 1 (favwap): Anchored when RSI reaches overbought levels (top anchor)
• AVWAP 2 (savwap): Anchored when RSI reaches oversold levels (bottom anchor)
• AVWAPs are recalculated each time a new OB/OS condition is triggered — acting like "fresh anchors" at key market turning points.
---
⚙️ Key Features
🔁 Auto or Manual RSI Thresholds
→ Automatically determines dynamic RSI OB/OS levels based on past peaks and troughs, or lets you set fixed levels.
🧠 Master Symbol Control
→ Use the RSI of a separate asset (like BTCUSDT, ETHUSDT, SOLUSDT, BNBUSDT, SUPRAUSDT) or indices (like TOTAL, TOTAL2, BFR) to control resets — ideal for tracking how BTC/major coins impacts altcoins/others.
🔍 Trend-Filtering Signal Logic
→ Signals are filtered for less noise and are triggered when:
- Both AVWAPs are rising (bullish) or falling (bearish)
- Price action confirms the structure
🎯 Visual Markers & Alerts
→ "💥" for bullish signals and "🔥" for bearish ones. Alerts included for automation or push notifications.
---
🎯 How to Use It
1. Add the indicator to your chart.
2. Choose whether to use RSI from the current symbol or a master symbol (e.g., BTC).
3. Select auto-adjusted or manual OB/OS levels.
4. Watch for:
- AVWAP(s) making a significant change (at this point it's one of the AVWAPs resetting)
- Check if price flip it upwards or downwards
- If price goes above both AVWAPs thats a likely bullish trend
- If price can't go above both AVWAPs up and fall bellow both that's a likely bearish trend
- Price retesting upper AVWAP and bounce
- likely bullish continuation
- Price retesting lower AVWAP and dip
- likely bearish continuation
- Signal icons on chart ("💥 - Bullish" or "🔥- Bearish")
Best suited for:
• Swing traders
• Momentum traders
• Traders timing altcoin entries using BTC/Major asset's RSI
---
🔔 Signal Explanation
💥 Bullish Signal =
• Both AVWAPs rising
• Higher lows in price structure
• Bullish candle close
• Triggered from overbought RSI reset
🔥 Bearish Signal =
• Both AVWAPs falling
• Lower highs in price structure
• Bearish candle close
• Triggered from oversold RSI reset
Signals reset by opposite signals to prevent noise or overfitting.
---
⚠️ Tips & Notes
• Use AVWAPs as dynamic support/resistance, even without signal triggers
• Pair with volume or divergence tools for stronger confirmation
---
🧩 Credits & Philosophy
This tool is built with a simple philosophy:
"Anchor your trades to meaningful moments in price — not arbitrary time."
The dual AVWAP concept helps you see how price reacts after momentum peaks, giving you a cleaner bias and more precise trade setups.
---
Harmonic Pattern Detector [The_lurker]
📊 Harmonic Pattern Detector
An advanced indicator designed to automatically detect and visualize harmonic patterns on price charts with high accuracy. It is based on Fibonacci ratios, ZigZag structures, and pivot points, offering traders precise identification of potential reversal zones.
The indicator supports detection of 13 major harmonic patterns: Gartley, Butterfly, Bat, Crab, Deep Crab, AB=CD, Cypher, Shark, Three Drives, Wolfe Waves, 5-0, Black Swan, and Anti-Gartley.
Each pattern is matched using ideal Fibonacci ratios with a customizable error margin. Patterns are validated only if the similarity score (accuracy) is greater than or equal to 80%, ensuring reliable signals.
🔎 How It Works:
1️⃣ Pivot Point Detection
The indicator uses a function to find major swing highs and lows (`findPivots`), based on a configurable pattern length (default is 18 candles). These pivots are stored in arrays: `pivotPrices`, `pivotBars`, and `pivotDirections`.
2️⃣ ZigZag Construction
With the pivots detected, the indicator constructs a ZigZag structure by connecting the relevant price points using `buildZigZag`. These lines represent the fundamental price movements forming harmonic shapes.
3️⃣ Fibonacci Ratio Calculation
From the ZigZag, the indicator extracts points labeled X, A, B, C, and D, then calculates key Fibonacci ratios:
* XAB = |B-A| / |X-A|
* ABC = |C-B| / |A-B|
* XAD = |D-A| / |X-A|
4️⃣ Pattern Matching Algorithm
Each pattern has its ideal Fibonacci ranges. The ratios are compared with these ranges using adjustable error margins:
ERROR_MARGIN_MIN = (100 - DETECT_ERROR_MARGIN_PERCENT) / 100
ERROR_MARGIN_MAX = (100 + DETECT_ERROR_MARGIN_PERCENT) / 100
If all required ratios for a pattern fall within these bounds, the pattern is considered a potential match.
5️⃣ Similarity Score Calculation
To evaluate accuracy, each pattern gets a similarity score by comparing actual vs. ideal ratios. For example:
simXAB = min(xabRatio / idealXAB, idealXAB / xabRatio)
simABC = min(abcRatio / idealABC, idealABC / abcRatio)
simXAD = min(xadRatio / idealXAD, idealXAD / xadRatio)
similarity = (simXAB + simABC + simXAD) / 3
Only patterns with a similarity ≥ MIN\_RATING\_PERCENT (default 80%) are shown.
6️⃣ Visual Output
When a pattern is detected, it is displayed by connecting the points X→A→B→C→D. A label is drawn at point D showing:
* Pattern Name
* Emoji (e.g., 🦋 for Gartley)
* Similarity percentage (e.g., "92%")
Patterns are color-coded:
🟢 Green for Bullish
🔴 Red for Bearish
⚙️ Configurable Settings:
* ENABLE_PATTERN_DETECTION`: Toggle to enable or disable pattern detection
* PATTERN_LENGTH_INPUT`: Number of candles to consider for structure
* DETECT_ERROR_MARGIN_PERCENT`: Controls allowed deviation from ideal Fibonacci ratios
* MIN_RATING_PERCENT`: Minimum similarity percentage to display a pattern (e.g., 80%)
🎨 Display Customization:
* Customize ZigZag lines (solid, dotted, dashed)
* Control thickness, color, and style of lines
* Adjust label font size, position, and visibility
* Enable or disable specific pattern types
* Modify Fibonacci levels used per pattern
Labels include emojis for easier recognition:
🦋 Gartley | 🐝 Butterfly | 🦈 Shark | 🐺 Wolfe Waves | 🦢 Black Swan | ⚡ Anti-Gartley
📚 Pattern Definitions:
Gartley: XAB ≈ 0.618, ABC ≈ 0.382–0.886, XAD ≈ 0.786
Butterfly: XAB ≈ 0.786, XAD ≈ 1.272
Bat: XAB ≈ 0.382–0.50, XAD ≈ 0.886
Crab / Deep Crab: XAD ≈ 1.618–1.902
AB=CD: AB equals CD (symmetrical moves)
Cypher: ABC ≈ 1.13–1.414, XAD ≈ 0.786
Shark: XAD ≈ 1.0–1.13
Three Drives: Three legs with Fibonacci extensions
Wolfe Waves: Geometrically aligned points, XAD ≈ 1.272–1.618
5-0: CD retraces 50% of previous wave
Black Swan: Rare, sharp pattern, XAD ≈ 3.618–4.236
Anti-Gartley: Reverse Gartley with custom ratios
📈 Target Markets:
This indicator is effective for analyzing:
✔ Forex
✔ Stocks
✔ Crypto
✔ Commodities (Gold, Oil, etc.)
Suitable for multiple trading styles:
* Scalping
* Swing Trading
* Position Trading
✨ Key Features:
✅ 13 harmonic patterns supported
✅ Automatic detection with accuracy scoring
✅ Adjustable error margins
✅ Fully customizable display
✅ Pattern-specific toggles
✅ Bullish/Bearish color-coded output
✅ Informative labels with pattern name, emoji, and similarity
⚠️ Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial, investment, or trading advice. Use it in conjunction with your own strategy and risk management. Neither TradingView nor the developer is liable for any financial decisions or losses.
كاشف الأنماط التوافقية 📊
مؤشر متطور مصمم للكشف التلقائي عن الأنماط التوافقية على مخططات الأسعار وتصورها بدقة عالية. يعتمد على نسب فيبوناتشي، وهياكل الزجزاج، ونقاط الارتكاز، مما يوفر للمتداولين تحديدًا دقيقًا لمناطق الانعكاس المحتملة.
يدعم المؤشر الكشف عن 13 نمطًا توافقيًا رئيسيًا: جارتلي، الفراشة، الخفاش، السلطعون، السلطعون العميق، AB=CD، السايفر، القرش، ثلاثة محركات، موجات وولف، 5-0، البجعة السوداء، ومضاد جارتلي.
يتم مطابقة كل نمط باستخدام نسب فيبوناتشي مثالية مع هامش خطأ قابل للتخصيص. لا يتم التحقق من صحة الأنماط إلا إذا كانت درجة التشابه (الدقة) أكبر من أو تساوي 80%، مما يضمن إشارات موثوقة.
🔎 كيفية العمل:
1️⃣ اكتشاف نقاط الارتكاز
يستخدم المؤشر دالة للعثور على قمم وقيعان التأرجح الرئيسية (`findPivots`)، بناءً على طول نمط قابل للتخصيص (الطول الافتراضي هو 18 شمعة). تُخزّن هذه النقاط المحورية في مصفوفات: `pivotPrices`، `pivotBars`، `pivotDirections`.
2️⃣ بناء ZigZag
بعد اكتشاف النقاط المحورية، يُنشئ المؤشر بنية ZigZag بربط نقاط السعر ذات الصلة باستخدام `buildZigZag`. تُمثل هذه الخطوط تحركات الأسعار الأساسية مُشكّلةً أشكالًا توافقية.
3️⃣ حساب نسبة فيبوناتشي
من ZigZag، يستخرج المؤشر النقاط المُسمّاة X، A، B، C، وD، ثم يحسب نسب فيبوناتشي الرئيسية:
* XAB = |B-A| / |X-A|
* ABC = |C-B| / |A-B|
* XAD = |D-A| / |X-A|
4️⃣ خوارزمية مطابقة الأنماط
لكل نمط نطاقات فيبوناتشي مثالية. تُقارن النسب بهذه النطاقات باستخدام هوامش خطأ قابلة للتعديل:
ERROR_MARGIN_MIN = (100 - DETECT_ERROR_MARGIN_PERCENT) / 100
ERROR_MARGIN_MAX = (100 + DETECT_ERROR_MARGIN_PERCENT) / 100
إذا وقعت جميع النسب المطلوبة للنمط ضمن هذه الحدود، يُعتبر النمط مطابقًا محتملًا.
5️⃣ حساب درجة التشابه
لتقييم الدقة، يحصل كل نمط على درجة تشابه بمقارنة النسب الفعلية بالنسب المثالية. على سبيل المثال:
simXAB = min(xabRatio / idealXAB, idealXAB / xabRatio)
simABC = min(abcRatio / idealABC, idealABC / abcRatio)
simXAD = min(xadRatio / idealXAD, idealXAD / xadRatio)
التشابه = (simXAB + simABC + simXAD) / 3
يتم عرض الأنماط التي يكون تشابهها ≥ MIN\_RATING\_PERCENT (الافتراضي 80%) فقط.
6️⃣ المخرجات المرئية
عند اكتشاف نمط، يتم عرضه بتوصيل النقاط X→A→B→C→D. يتم رسم علامة عند النقطة D تُظهر:
* اسم النمط
* رمز تعبيري (مثل 🦋 لنمط جارتلي)
* نسبة التشابه (مثل "92%))
الأنماط مُرمَّزة بالألوان:
🟢 أخضر للارتفاع
🔴 أحمر للانخفاض
⚙️ إعدادات قابلة للتخصيص:
* تمكين كشف النمط: تفعيل أو تعطيل كشف النمط
* إدخال طول النمط: عدد الشموع المُراد حسابها للهيكل
* كشف الخطأ: نسبة الهامش: يتحكم في الانحراف المسموح به عن نسب فيبوناتشي المثالية
* الحد الأدنى لنسبة التشابه لعرض النمط (مثل 80%)
🎨 تخصيص العرض:
* تخصيص خطوط متعرجة (متصلة، منقطة، متقطعة)
* التحكم في السُمك واللون ونمط الخطوط
* ضبط حجم خط التسمية وموضعه ووضوحه
* تفعيل أو تعطيل أنواع أنماط محددة
* تعديل مستويات فيبوناتشي المستخدمة لكل نمط
تتضمن التسميات رموزًا تعبيرية لتسهيل التعرف عليها:
🦋 جارتلي | 🐝 فراشة | 🦈 سمكة قرش | 🐺 موجات وولف | 🦢 بجعة سوداء | ⚡ نمط مضاد لـ غارتلي
📚 تعريفات الأنماط:
غارتلي: XAB ≈ 0.618، ABC ≈ 0.382–0.886، XAD ≈ 0.786
فراشة: XAB ≈ 0.786، XAD ≈ 1.272
خفاش: XAB ≈ 0.382–0.50، XAD ≈ 0.886
سرطان البحر/سرطان البحر العميق: XAD ≈ 1.618–1.902
AB=CD: AB يساوي CD (حركات متماثلة)
سايفر: ABC ≈ 1.13–1.414، XAD ≈ 0.786
شارك: XAD ≈ 1.0–1.13
ثلاثة أرجل: ثلاثة أرجل مع فيبوناتشي امتدادات
موجات وولف: نقاط متوازية هندسيًا، XAD ≈ 1.272–1.618
5-0: تصحيح CD بنسبة 50% من الموجة السابقة
البجعة السوداء: نمط نادر وحاد، XAD ≈ 3.618–4.236
مضاد جارتلي: جارتلي معكوس بنسب مخصصة
📈 الأسواق المستهدفة:
هذا المؤشر فعال لتحليل:
✔ الفوركس
✔ الأسهم
✔ العملات المشفرة
✔ السلع (الذهب، النفط، إلخ)
مناسب لأنماط تداول متعددة:
* المضاربة السريعة
* تداول التأرجح
* تداول المراكز
✨ الميزات الرئيسية:
✅ دعم 13 نمطًا توافقيًا
✅ كشف تلقائي مع تسجيل الدقة
✅ هوامش خطأ قابلة للتعديل
✅ شاشة قابلة للتخصيص بالكامل
✅ مفاتيح تبديل خاصة بالأنماط
✅ مخرجات مرمزة بالألوان للصعود/الهبوط
✅ تسميات توضيحية مع النمط الاسم، والرموز التعبيرية، والتشابه
⚠️ إخلاء مسؤولية:
هذا المؤشر لأغراض تعليمية وتحليلية فقط. لا يُمثل نصيحة مالية أو استثمارية أو تداولية. استخدمه بالتزامن مع استراتيجيتك الخاصة وإدارة المخاطر. لا يتحمل TradingView ولا المطور مسؤولية أي قرارات مالية أو خسائر.
Smart Range Zones [Dr. Hafiz]Smart Range Zones
Description:
This indicator highlights key market zones — High Range, Mid Range, and Low Range — to help traders visually understand dynamic support and resistance levels.
✅ High Range: Potential supply/resistance area
✅ Mid Range: Fair value or equilibrium zone
✅ Low Range: Potential demand/support area
The zones are calculated based on the highest and lowest price over a user-defined period (default: 130 bars) and dynamically projected forward.
🔸 EMA 15 Line is included as an optional trend filter — helping confirm direction or trend alignment.
🔧 Features:
Auto-calculated High/Mid/Low zones
Real-time dynamic projections
Right-aligned zone labels inside each box
Clean visual structure
Toggle for showing/hiding EMA 15
📌 Best suited for:
Intraday & swing traders
Range breakouts and rejections
Trend confirmation with EMA
Created and published by Dr. Hafiz, modified under the MPL 2.0 license.