SMA Pro (Tick)Simple moving average based on 100 ticks, by default. Use for high volume markets like ES, NQ, and RTY.
Cycles
mp.mood UTC Sessions boxes tg - picabloEN:
UTC Sessions — wick-bounded boxes. Draws compact transparent rectangles for Tokyo, London, New York, Sydney, and Frankfurt sessions in UTC. Each box spans the session time and auto-fits vertically to candle wicks (high/low) of the current timeframe. Labels appear in the top-left of each box. Colors, transparency, and sessions are configurable.
UK:
UTC Sessions — прямокутники за сесіями. Малює лаконічні прозорі квадрати для сесій Tokyo, London, New York, Sydney та Frankfurt у UTC. Кожен квадрат охоплює час сесії та автоматично підлаштовує вертикальні межі під тіні свічок (high/low) поточного таймфрейму. Підпис у верхньому лівому куті. Кольори, прозорість і набір сесій налаштовуються.
Chaos Theory Pro # Anyone who has paid for this script previously, please DM as per author instructions to continue your lifetime access
## The Edge: Smart Zone-Based Trading
This indicator's primary advantage lies in its zone-based approach that naturally encompasses critical areas of support and resistance. These zones capture key market structures including:
- High-volume price clusters
- Support-to-resistance (and resistance-to-support) transitions
- Other significant price action areas
By identifying these zones, the indicator addresses two of the most challenging problems in trading : optimal stop loss placement and take profit targeting.
---
## How to Use This Indicator
### Entry Rules: Limit Orders Only
Critical: All entries must be LIMIT orders. Never use market orders or stop orders.
Here's why:
- Why limit orders? The zones represent areas of strong support and resistance (an unintended but beneficial feature of the indicator's design). Price frequently pulls back to these zones before continuing, giving you optimal entry opportunities.
- Why not market orders? You'll miss the better prices at the zone boundaries.
- Why not stop orders? These zones are areas of intense market activity. Price often "spikes" through zone borders to capture liquidity before reversing in the intended direction. Stop orders would get triggered on these false moves.
Proper Entry Technique:
1. Wait for the candle/bar to close
2. Place your limit order at the zone border
3. Let price come to you
### Take Profit Strategy
Target the next zone (recommended) or multiple zones ahead based on your risk appetite. The simplest and most consistent approach is single-zone targeting.
---
## Your Responsibility: Confluence Analysis
The indicator tells you WHERE to enter, WHERE to place your stop loss, and WHERE to take profit. But you must determine WHEN to trade by identifying confluences.
### Minimum Requirement: 3 Confluences
Before placing any order, look for at least three confirming signals from:
- Divergences : RSI, MFI, or CVD candles
- Volume analysis : Volume Profile
- Order flow : Footprint charts
- Price action : Candlestick patterns
- Market theories : Wyckoff, Dow Theory, Elliott Wave
- Other technical tools of your choice
### You Have Time
The indicator provides alerts when price approaches a zone . During the pullback, you have time to conduct thorough confluence analysis. Only place your limit order after identifying your 3+ confluences.
---
## Alternative Approaches
If you backtest and find that market entries work better for your specific strategy (e.g., using moving average crossovers or other triggers), you're free to adapt the method. However, the limit order approach outlined above is designed to work consistently for everyone, regardless of whether they have an existing strategy.
---
## How the Indicator Works: The Mathematical Foundation
### Based on Chaos Theory - A Predictive, Not Reactive System
This indicator represents a fundamentally different approach to market analysis. Unlike traditional indicators that describe what price has done (using averages, volume, volatility), this system predicts where price will go using chaos theory mathematics.
Key Principle : Price behaves as a complex dynamical system that is highly sensitive to initial conditions - similar to weather patterns or planetary orbits. While we cannot predict when price will reach a destination, we can predict where it will likely travel within probability bounds.
### What Makes This Different
Traditional Indicators:
- React to historical data with lagging signals
- Use linear mathematics and statistical averages
- Assume markets are random or follow simple patterns
This Chaos Theory Approach:
- Proactively identifies future probability zones
- Uses non-linear complex systems mathematics
- Treats markets as chaotic but mathematically predictable
- Applies universal mathematical laws (no curve fitting needed)
### The Butterfly Effect in Trading
Small changes at critical junctures can cascade into major trend changes. The indicator identifies these critical probability zones - mathematical "attractors" toward which price is naturally drawn.
### Understanding the Zones
Orange Zones : Mathematical probability destinations where price is likely to expand
Activation Rule : Price must close outside any zone (full candle body, not just wicks) to activate the next probability destination
Primary Principle : Once activated, price travels to the next zone before closing back behind the originating zone border
Red Dots : Indicate areas where valid zone sets were available for trading. Empty spaces mean price closed past the highest/lowest zone or zones were invalidated.
### Probability-Based Performance
The indicator includes a statistics panel that measures real-time success rates - tracking how often price reaches predicted zones before invalidation. This transparent performance measurement allows you to verify probability calculations for your specific symbol and timeframe.
### Universal Application
Because this is based on fundamental mathematical principles (not optimized parameters), it works consistently across:
- All markets: Forex, stocks, crypto, commodities
- All timeframes: From scalping to position trading
- All conditions: No adjustments needed for different instruments
Important Understanding : Price is a fractal structure with multiple initial conditions forming and clashing simultaneously. External events and market manipulation can interfere with natural system progression. This is why we provide probabilities, not certainties.
---
Summary : This indicator gives you the framework—precise zones for entries, stops, and targets based on chaos theory mathematics. You provide the timing through confluence analysis. Together, this creates a complete, systematic approach to trading with probability on your side.
---
## Technical Features & Alert System
### Alert System Enhancement
Alert Type Selector:
* "Limit Alerts" (pending orders) vs "Normal Alerts" (market orders)
* 8 fully customizable alert message templates with placeholder support:
* Limit Long Entry
* Limit Short Entry
* Normal Long Entry
* Normal Short Entry
* Limit Long TP/Cancel
* Limit Short TP/Cancel
* Normal Long TP
* Normal Short TP
### Placeholder System
Dynamic placeholder replacement function supporting:
* {SYMBOL} - Trading pair/instrument
* {ENTRY} - Entry price level
* {SL} - Stop loss price level
* {TP} - Take profit price level
* {COMMENT} - Additional trade notes
* {TIMEFRAME} - Current chart timeframe
* {TIME} - Alert trigger time
* {ZONE} - Zone identifier
Users can customize alert messages while maintaining data accuracy across all automated trading platforms.
### Alert Trigger Points
* Entry alerts fire when zone breakout occurs (i == 0)
* TP alerts fire when take profit conditions are met
* Unique zone identifiers prevent duplicate alerts per zone set (format: Z L/S )
### Input Parameters
Converted hardcoded values to adjustable inputs for maximum flexibility:
* Lookback Period : 10-500 (default 50)
* Value Area Share : 0.1-0.9 (default 0.3)
* Show Volume Profile Stats : Toggle on/off
* Has Premium Subscription : Toggle on/off
* Vertical Display : Toggle on/off
### Code Compliance
* All line.new(), label.new(), and table.new() calls formatted on single lines per PineScript v6 requirements
* Proper variable declarations to prevent compilation errors
* Optimized for maximum performance and stability
Core Logic : All original zone calculation, validation, and visualization logic remains intact and unchanged.
TurtleTrader Intraday Extended by exp3rts🐢 TurtleTrader Intraday Extended by exp3rts
A modern intraday adaptation of the classic Turtle Trading strategy, optimized for short-term breakout trading with built-in risk management, pyramiding, and optional trend filters.
This strategy captures strong directional moves by entering breakouts from price channels, using ATR-based stop losses and controlled position scaling.
🔑 Key Features:
📈 Channel Breakout Entries: Buy/sell on breakout of highest highs or lowest lows
🛑 Dynamic ATR Stop Loss: Automatically calculated from market volatility
🔁 Pyramiding: Adds up to 4 positions as price moves in your favor
🔄 Directional Mode: Choose Long-only or Short-only mode
🧠 Skip After Win Option: Avoid overtrading by skipping the next entry after a profitable trade
📊 Optional EMA Display: Plot up to 3 EMAs for trend filtering or visual confirmation
📉 On-Chart ATR Label: Displays real-time ATR metrics (including ½N size used in classic Turtle rules)
⚙️ Strategy Inputs:
Entry/Exit channel length
ATR multiplier and period
Entry delay (bar offset)
Optional trade filter after profitable trades
Show/hide EMAs and ATR label
🧪 Best For:
Intraday breakout traders (works well on 5m–1h timeframes)
Traders who prefer mechanical rules and structured risk
Anyone testing volatility-based entries and exits
Inspired by the original Turtle Trading system — redesigned for modern markets with more intraday flexibility and visual enhancements.
Intraday Key OpensIntraday Key Opens plots the key session and cycle opening prices: 90-minute cycles opens, New York open, Asia open, and 9:30 US market open. Each line is labeled, color-coded, and can be toggled on/off independently. Designed for intraday traders to quickly identify important price levels and session pivots.
Needle XRThe Didi Index with Full Validation is a technical indicator developed for the TradingView platform, based on the concept of the Didi Index, created by Odir Aguiar (Didi). It uses the relationship between three exponential moving averages (EMAs) of different periods to identify trend reversal or continuation points, known as "needle points." To increase signal reliability, the indicator incorporates validations from four widely used technical indicators: MACD, TRIX, DMI/ADX, and Stochastic. Buy and sell signals are displayed only when all validation conditions are met, ensuring greater accuracy.
The indicator is plotted in a separate panel below the price chart, displaying the Didi Index lines (positive and negative), a central reference line, and clear buy (green triangles) and sell (red triangles) signals.
Doji Buy Signal (3-min, Body ≤ 6%)Doji Buy Signal (3-min, Body ≤ 6%) will give a Buy Signal when Doji Candle is formed
Doji Buy Signal (3-min, Body ≤ 6%)Doji Buy Signal (3-min, Body ≤ 6%) will give a buy signal when dojo candle is formed
3 Red Heikin Ashi with Higher Lows3 Red Heikin Ashi with Higher Lows. Will Give a Buy Signal when 3 Red Heikin Ashi with Higher Lows is formed
Advantage RSI PredictorThe Relative Strength Index (RSI) is a widely used momentum oscillator that measures the speed and change of price movements, typically on a scale from 0 to 100, to identify overbought (above 70) or oversold (below 30) conditions. However, its reliance on historical data limits its ability to predict future price movements. To overcome this, an advanced indicator—termed the Advanced RSI Predictor (ARP)—can be developed to provide predictive bands for RSI levels, enhancing its forecasting potential.The ARP leverages machine learning techniques, such as Long Short-Term Memory (LSTM) networks, combined with traditional RSI calculations to forecast future RSI values and establish confidence intervals or bands. These bands represent a range within which the RSI is likely to fluctuate over a specified period, offering traders a probabilistic perspective on momentum shifts. The indicator starts with the standard RSI computation, using a 14-period lookback as a foundation, but enriches this by incorporating additional inputs like moving averages, volatility measures (e.g., Bollinger Bands width), and trading volume. These features are processed through an LSTM model trained on historical price and RSI data to predict future RSI trajectories.The output includes upper and lower predictive bands, typically set at a 95% confidence level, surrounding a central forecasted RSI line. For example, if the current RSI is 45, the ARP might project a band from 40 to 50 over the next five days, indicating potential momentum stability or a range for overbought/oversold thresholds. The bands adapt dynamically to market conditions—narrowing during stable trends and widening during volatile periods—using real-time data updates. This adaptability allows traders to anticipate breakouts or reversals before they manifest on the price chart.Validation can be strengthened through backtesting against historical data, ensuring the ARP’s bands align with significant market turns. This indicator proves especially valuable in trending markets, where traditional RSI levels (e.g., 70 or 30) may falter, offering a sophisticated tool for informed trading or investment decisions.
Sessions [Trade Tribe HQ]Color-coded session ranges with ADR% labels to help you trade smarter, not harder.
This tool marks New York, London, Tokyo, and Sydney sessions, showing their ranges, highs/lows, VWAPs, and ADR%.
🔹 Key Features
Colored session boxes (NY, London, Tokyo, Sydney)
Session highs & lows, VWAP, and trendlines
Dashboard showing active sessions, volume, and %ADR
ADR% labels at session close
🔹 How It Helps
Spot session traps, moves, and reversals faster
Manage expectations using ADR% (no chasing over-extended moves)
Identify overlap zones (London → NY) for volatility spikes
Simplify cycle tracking across global markets
Market Sessions Marker—making it easy to see where the energy has been spent and where opportunity is building next.
Created with ❤️ by TraderChick – part of the Trade Tribe HQ community.
If you found this tool useful, check out my profile for more strategies, classes, and resources.
Dubas_timing_macrosChanged script for my presonal user. Changed script for my presonal user. Changed script for my presonal user. Changed script for my presonal user
Bollinger Breakout MarkersSubtle triangle markers that indicate when price extends out of the Bollinger bands to indicate overbought and oversold conditions
Foxbrady D/G CrossFoxbrady D/G Cross - Golden Cross & Death Cross Indicator**
A clean and simple indicator that identifies Golden Cross and Death Cross events using the classic 50-day and 200-day simple moving averages.
Features:
- Blue line: 50-day SMA (fast moving average)
- Red line: 200-day SMA (slow moving average)
- Green "GC" label appears at the exact crossover point when a Golden Cross occurs (bullish signal)
- Red "DC" label appears at the exact crossover point when a Death Cross occurs (bearish signal)
- Built-in alert conditions for both events
- Customizable MA periods to suit your trading style
How to Use:
The Golden Cross (50 MA crossing above 200 MA) is traditionally viewed as a bullish long-term signal, while the Death Cross (50 MA crossing below 200 MA) is considered a bearish indicator. This indicator makes it easy to spot these events historically and receive alerts when they occur in real-time.
Perfect for swing traders and long-term investors looking to identify major trend changes.
EBCLUB 📌 Indicator Summary – XAUUSD (Fano Chart)
This indicator is designed for traders who work with Smart Money (SMC/ICT) concepts and need a clear reading of key levels and market imbalances.
🔑 Key Features:
Daily and Weekly Levels:
Open Day: Opens the daily session to clearly define the range reference.
PDL/PDH (Previous Day Low/High): High-impact levels used as liquidity magnets.
Current Day High (H4 or Intraday): Tracks short-term structures.
Market Sessions (UTC):
Visualizes which session is active (London, New York, Tokyo, Sydney).
Helps identify when volatility tends to increase.
Liquidity Blocks and Institutional Zones:
Indicates areas of imbalance and accumulation (colored rectangles).
Facilitates the identification of possible entries or continuations.
Nth Candle by exp3rtsThis lightweight and versatile TradingView indicator highlights every Xth candle on your chart, making it easy to spot cyclical price behavior or track specific intervals in the market.
- Custom Interval – Choose how often candles should be highlighted (e.g., every 5th, 10th, or
20th bar).
- Color Coding – Highlighted candles are shaded green if bullish and red if bearish, giving you
quick visual insights into momentum at those intervals.
- Clean Overlay – The indicator draws directly on your main chart without clutter, so you can
combine it with your favorite setups and strategies.
Use this tool to:
1) Identify repeating patterns and cycles
2) Mark periodic reference candles
3) Support discretionary trading decisions with clear visual cues
Hour/Day/Month Optimizer [CHE] Hour/Day/Month Optimizer — Bucketed seasonality ranking for hours, weekdays, and months with additive or compounded returns, win rate, simple Sharpe proxy, and trade counts
Summary
This indicator profiles time-of-day, day-of-week, and month-of-year behavior by assigning every bar to a bucket and accumulating its return into that bucket. It reports per-bucket score (additive or compounded), win rate, a dispersion-aware return proxy, and trade counts, then ranks buckets and highlights the current one if it is best or worst. A compact on-chart table shows the top buckets or the full ranking; a last-bar label summarizes best and worst. Optional hour filtering and UTC shifting let you align buckets with your trading session rather than exchange time.
Motivation: Why this design?
Traders often see repetitive timing effects but struggle to separate genuine seasonality from noise. Static averages are easily distorted by sample size, compounding, or volatility spikes. The core idea here is simple, explicit bucket aggregation with user-controlled accumulation (sum or compound) and transparent quality metrics (win rate, a dispersion-aware proxy, and counts). The result is a practical, legible seasonality surface that can be used for scheduling and filtering rather than prediction.
What’s different vs. standard approaches?
Reference baseline: Simple heatmaps or average-return tables that ignore compounding, dispersion, or sample size.
Architecture differences:
Dual aggregation modes: additive sum of bar returns or compounded factor.
Per-bucket win rate and trade count to expose sample support.
A simple dispersion-aware return proxy to penalize unstable averages.
UTC offset and optional custom hour window.
Deterministic, closed-bar rendering via a lightweight on-chart table.
Practical effect: You see not only which buckets look strong but also whether the observation is supported by enough bars and whether stability is acceptable. The background tint and last-bar label give immediate context for the current bucket.
How it works (technical)
Each bar is assigned to a bucket based on the selected dimension (hour one to twenty-four, weekday one to seven, or month one to twelve) after applying the UTC shift. An optional hour filter can exclude bars outside a chosen window. For each bucket the script accumulates either the sum of simple returns or the compounded product of bar factors. It also counts bars and wins, where a win is any bar with a non-negative return. From these, it derives:
Score: additive total or compounded total minus the neutral baseline.
Win rate: wins as a percentage of bars in the bucket.
Dispersion-aware proxy (“Sharpe” column): a crude ratio that rises when average return improves and falls when variability increases.
Buckets are sorted by a user-selected key (score, win rate, dispersion proxy, or trade count). The current bar’s bucket is tinted if it matches the global best or worst. At the last bar, a table is drawn with headers, an optional info row, and either the top three or all rows, using zebra backgrounds and color-coding (lime for best, red for worst). Rendering is last-bar only; no higher-timeframe data is requested, and no future data is referenced.
Parameter Guide
UTC Offset (hours) — Shifts bucket assignment relative to exchange time. Default: zero. Tip: Align to your local or desk session.
Use Custom Hours — Enables a local session window. Default: off. Trade-off: Reduces noise outside your active hours but lowers sample size.
Start / End — Inclusive hour window one to twenty-four. Defaults: eight to seventeen. Tip: Widen if rankings look unstable.
Aggregation — “Additive” sums bar returns; “Multiplicative” compounds them. Default: Additive. Tip: Use compounded for long-horizon bias checks.
Dimension — Bucket by Hour, Day, or Month. Default: Hour. Tip: Start Hour for intraday planning; switch to Day or Month for scheduling.
Show — “Top Three” or “All”. Default: Top Three. Trade-off: Clarity vs. completeness.
Sort By — Score, Win Rate, Sharpe, or Trades. Default: Score. Tip: Use Trades to surface stable buckets; use Win Rate for skew awareness.
X / Y — Table anchor. Defaults: right / top. Tip: Move away from price clusters.
Text — Table text size. Default: normal.
Light Mode — Light palette for bright charts. Default: off.
Show Parameters Row — Info header with dimension and span. Default: on.
Highlight Current Bucket if Best/Worst — Background tint when current bucket matches extremes. Default: on.
Best/Worst Barcolor — Tint colors. Defaults: lime / red.
Mark Best/Worst on Last Bar — Summary label on the last bar. Default: on.
Reading & Interpretation
Score column: Higher suggests stronger cumulative behavior for the chosen aggregation. Compounded mode emphasizes persistence; additive mode treats all bars equally.
Win Rate: Stability signal; very high with very low trades is unreliable.
“Sharpe” column: A quick stability proxy; use it to down-rank buckets that look good on score but fluctuate heavily.
Trades: Sample size. Prefer buckets with adequate counts for your timeframe and asset.
Tinting: If the current bucket is globally best, expect a lime background; if worst, red. This is context, not a trade signal.
Practical Workflows & Combinations
Trend following: Use Hour or Day to avoid initiating trades during historically weak buckets; require structure confirmation such as higher highs and higher lows, plus a momentum or volatility filter.
Mean reversion: Prefer buckets with moderate scores but acceptable win rate and dispersion proxy; combine with deviation bands or volume normalization.
Exits/Stops: Tighten exits during historically weak buckets; relax slightly during strong ones, but keep absolute risk controls independent of the table.
Multi-asset/Multi-TF: Start with Hour on liquid intraday assets; for swing, use Day. On monthly seasonality, require larger lookbacks to avoid overfitting.
Behavior, Constraints & Performance
Repaint/confirmation: Calculations use completed bars only; table and label are drawn on the last bar and can update intrabar until close.
security()/HTF: None used; repaint risk limited to normal live-bar updates.
Resources: Arrays per dimension, light loops for metric building and sorting, `max_bars_back` two thousand, and capped label/table counts.
Known limits: Sensitive to sample size and regime shifts; ignores costs and slippage; bar-based wins can mislead on assets with frequent gaps; compounded mode can over-weight streaks.
Sensible Defaults & Quick Tuning
Start: Hour dimension, Additive, Top Three, Sort by Score, default session window off.
Too many flips: Switch to Sort by Trades or raise sample by widening hours or timeframe.
Too sluggish/over-smoothed: Switch to Additive (if on compounded) or shorten your chart timeframe while keeping the same dimension.
Overfit risk: Prefer “All” view to verify that top buckets are not isolated with tiny counts; use Day or Month only with long histories.
What this indicator is—and isn’t
This is a seasonality and scheduling layer that ranks time buckets using transparent arithmetic and simple stability checks. It is not a predictive model, not a complete trading system, and it does not manage risk. Use it to plan when to engage, then rely on structure, confirmation, and independent risk management for entries and exits.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Relative Strength (RS) By @Byte2Bull📈 Relative Strength (RS) By @Byte2Bull
📌 Overview
This indicator plots a Relative Strength (RS) line that compares the performance of the chart symbol to any benchmark symbol (index, ETF, or stock). By comparing the stock’s price movement to that of the benchmark, this tool highlights whether a stock is outperforming or underperforming the market.
RS value = (Price of symbol / Price of benchmark) × 100
It highlights hidden leaders and emerging strength through dynamic line plots, customizable moving average, and powerful new high detection features, enabling more informed trading decisions.
🛠 Key Features
⦿ Custom Benchmark Selection
Compare any stock with your chosen benchmark (default: NSE:NIFTYMIDSML400), such as NIFTY50, BANKNIFTY, or sector indices.
⦿ Relative Strength Line with Dynamic Coloring
Green when RS is above its moving average (strength/outperformance).
Red when RS is below its moving average (weakness/underperformance).
⦿ Configurable Moving Average
Apply either EMA or SMA over RS with customizable length. This helps smooth out volatility and provides a clear reference trend.
⦿ New High Detection
Marks when RS makes a new high.
Highlights when RS makes a new high before price does → a powerful early signal of hidden strength.
⦿ MA Crossover
Optional marker for when RS crosses above its moving average, signaling potential start of leadership.
⦿ Visual Enhancements
Adjustable line thickness.
Fill area between RS and its MA with green/red shading for quick interpretation.
Customizable colors for all key signals.
⦿ Built-in Alerts
Set alerts for:
RS New High
RS New High Before Price
Bullish MA Crossover
🎯 How to Use
⦿ Identify Market Leaders:
A stock with RS consistently above its MA is likely leading the market.
⦿ Spot Early Strength:
If RS makes a new high before the stock price, it may signal strong relative demand — often preceding breakouts.
⦿ Filter Weakness:
Stocks with RS below the MA are lagging and may be best avoided during bullish phases.
⦿ Combine with Price Action & Volume:
RS works best alongside price breakouts, trend analysis, and volume confirmations.
Auto Market Bias Dashboard |TG|Overview
The Auto Market Bias Dashboard is a Pine Script v5 indicator developed on the TradingView platform. This tool automatically calculates and visualizes the market bias for the selected asset (crypto, forex, or futures). By analyzing the market structure across different timeframes (Weekly, Daily, 4-Hour, 1-Hour), it identifies bullish, bearish, or neutral trends. Its main purpose is to provide traders with a quick summary to simplify the decision-making process. The indicator is optimized particularly for 1-hour and higher timeframes and issues warnings on lower timeframes.
How It Works?
The indicator uses a scoring system based on 7 fundamental questions for each timeframe. Each question evaluates market dynamics and assigns a score of +1 (bullish), -1 (bearish), or 0 (neutral):
Is the Trend in an Upward Direction? – The closing price is checked against the 20-period SMA.
Has the Previous Candle's High Been Breached? – For breakout analysis, the close is evaluated against the previous candle's high/low.
Was Respect Paid to PDA? (FVG/Sweep) – Market structure alignment is sought through Fair Value Gap (FVG) detection (calculated specifically for each TF).
Is Volume Increasing in the Direction of Price? – Volume is compared to its 20-period SMA and the candle direction (TF-specific).
Does the Correlated Asset Show the Same Bias? – Trend alignment is checked with the selected correlated asset (e.g., ES1!, MNQ1!, MES1!); neutral conditions are supported.
Market Structure – Reversal signals are sought through pivot high/low detection (high: bearish, low: bullish).
Has Volatility Increased? – ATR (14 periods) and its SMA (20 periods) are combined with the candle direction (TF-specific).
The total bias for each timeframe is calculated (/7). The overall bias combines the weekly score with double weighting ((Weekly × 2) + Daily + 4H + 1H = /28). Results:
Positive (>0): Bullish (Green) – Buying opportunity.
Negative (<0): Bearish (Red) – Selling opportunity.
Zero: Neutral (Silver) – Indecisive.
Auto Fibonacci Retracements with Alerts [SwissAlgo]AUTO-FIBONACCI RETRACEMENT: LEVELS, ALERTS & PD ZONES
Automatically maps Fibonacci retracement levels with Premium/Discount (PD) zones and configurable alerts for technical analysis study.
------------------------------------------------------------------
FEATURES
Automatic Fibonacci Levels Detection
Identifies swing extremes (reference high and low to map retracements) from a user-defined trend start date and trend indication automatically
Calculates 20 Fibonacci levels (from -2.618 to +2.618) automatically
Dynamically updates Fib levels as price action develops, anchoring the bottom (in case of uptrends) or the top (in case of downtrends)
Detects potential Trend's Change of Character automatically
Premium/Discount (PD) zone visualization based on trend and price extremes
Visual Components
Dotted horizontal lines for each Fibonacci level
'Premium' and 'discount' zone highlighting
Change of Character (CHoCH) marker when a trend anchor breaks (a bottom is broken after an uptrend, a top is broken after a downtrend)
Adaptive label colors for light/dark chart themes
Alert System
Configurable alerts for all Fibonacci levels
Requires 2 consecutive bar closes for confirmation (reduces false signals)
CHoCH alert when a locked extreme is broken
Set up using "Any alert() function call" option
------------------------------------------------------------------
USE CASES
Two Primary Use Cases:
1. PROSPECTIVE TREND MAPPING (Real-Time Tracking)
Set start date at or just before an anticipated swing extreme to track levels as the trend develops:
For Uptrend : Place start date near a bottom. The bottom level locks after consolidation, while the top updates in real-time as the price climbs higher
For Downtrend : Place start date near a top. The top-level locks after consolidation, while the bottom updates in real-time as the price falls lower
This mode tracks developing price action against Fibonacci levels as the swing unfolds.
2. RETROSPECTIVE ANALYSIS (Historical Swing Study)
Set the start date at a completed swing extreme to analyze how the price interacted (and is interacting) with the Fibonacci levels:
Both high and low are already established in the historical data
Levels remain static for analysis purposes
Useful for analyzing price behavior relative to Fibonacci levels, studying retracement dynamics, and assessing a trading posture
------------------------------------------------------------------
HOW TO USE
Set 'Start Date' : Select Start Date (anchor point) at or just before the swing extreme (bottom for uptrend, top for downtrend)
Choose Trend Direction (Up or Down): direction is known for retrospective analysis, uncertain for prospective analysis
Update the start date when significant structure breaks occur to begin analyzing a new swing cycle.
Configure alerts as needed for your analysis
------------------------------------------------------------------
TECHNICAL DETAILS
♦ Auto-Mapped Fibonacci Retracement Levels:
2.618, 2.000, 1.618, 1.414, 1.272, 1.000, 0.882, 0.786, 0.618, 0.500, 0.382, 0.236, 0.118, 0.000, -0.272, -0.618, -1.000, -1.618, -2.000, -2.618
♦ Premium/Discount (PD) Zones:
Uptrend: Green (discount zone) = levels 0 to 0.5 | Red (premium zone) = levels 0.5 to 1.0
Downtrend: Red (premium zone) = levels 0 to 0.5 | Green (discount zone) = levels 0.5 to 1.0
The yellow line represents the 0.5 equilibrium level
♦ Lock Mechanism:
The indicator monitors for new extremes to detect a Change of Character in the trend (providing visual feedback and alerts). It locks the anchor swing extreme after a timeframe-appropriate consolidation period has elapsed (varies from 200 bars on second charts to 1 bar on monthly charts) to detect such potentially critical events.
------------------------------------------------------------------
IMPORTANT NOTES
This is an educational tool for technical analysis study. It displays historical and current price relationships to Fibonacci levels but does not predict future price movements or provide trading recommendations.
DISCLAIMER: This indicator is for educational and informational purposes only. It does not constitute financial advice or trading signals. Past price patterns do not guarantee future results. Trading involves substantial risk of loss. Always conduct your own analysis and consult with qualified financial professionals before making trading decisions. By using this indicator, you acknowledge and agree to these limitations.