Nasan Market Phase ClassifierThe Nasan Market Phase Classifier indicator designed to classify market phases using volume, volatility (or momentum), and statistical analysis. Here's a summary of how it works and what it does:
🔍 Core Concept
This indicator classifies the market into four phases based on volume and ATR (or optionally momentum):
High Volume / High ATR or Momentum (HV/HATR): Strong Trend
Low Volume / High ATR or Momentum (LV/HATR): False Breakout / Exhaustion
High Volume / Low ATR or Momentum (HV/LATR): Consolidation
Low Volume / Low ATR or Momentum (LV/LATR): Stagnation
⚙️ Key Settings
Short-Term Length: Used for the active market phase.
Long-Term Length: Used as the expected/benchmark distribution.
Use Momentum: Replaces volatility (ATR) with momentum (custom ROC-based formula).
Use Fixed Alpha: Toggles adaptive vs. fixed weighting in scoring (this is based on variation of the volatility - standard deviation of true range).
📊 How It Works
Volatility or Momentum Scoring:
Uses ATR-based or Momentum-based score depending on the setting.
Applies weighing (alpha) which is based on variability of the volatility itself.
Market Phase Count:
Measures how often each of the 4 volume/volatility combinations occur in:
Short-term window (observed phase)
Long-term window (expected distribution)
Category Proportions:
Calculates percentage share of each category (e.g., % time in HV/HATR).
Plots these on chart to visually see market phase dominance (can be used for screening of pine screener).
Statistical Testing:
IQV (Index of Qualitative Variation): Measures phase diversity (0 = focused, 1 = mixed).
Chi-Squared Test: Compares current vs. historical phase distribution.
Z-Test: Tests if current phase dominance is statistically significant.
📋 Outputs
On-Chart Plots and Tabels:
Strong Trend, False Breakout/Exhaustion, Consolidation, Stagnation
Strength Quality Plot: Trend strength normalized by IQV.
Dynamic Table (Top Right):
Shows each phase’s proportion (the current phase cell is highlighted in yellow), IQV, Chi² value, and current dominant phase. The current candle classification (text) is in purple.
Highlights the dominant phase classification and color-codes significance (the cell highlighted in green highly confident about the classification, orange intermediate confidence and red low confidence). This color coding is not just based on statistical significance it is based on IQV which takes into account how spread the proportions are.
🧠 Interpretation
A dominant HV/HATR phase with low IQV and high Z-Score indicates a strong and statistically significant trend.
High IQV suggests uncertainty or mixed market behavior.
Chi² spike indicates a shift from historical behavior can be used to see is the market behavior changing by changing the long term length say to 252 and short term length to 21 this will tell if the short term behavior is different from the past 252 day behavior.
Trend Analysis
[blackcat] L3 Trendmaster XOVERVIEW
The L3 Trendmaster X is an advanced trend-following indicator meticulously crafted to assist traders in identifying and capitalizing on market trends. This sophisticated tool integrates multiple technical factors, including Average True Range (ATR), volume dynamics, and price spreads, to deliver precise buy and sell signals. By plotting dynamic trend bands directly onto the chart, it offers a comprehensive visualization of potential trend directions, enabling traders to make informed decisions swiftly and confidently 📊↗️.
FEATURES
Customizable Input Parameters: Tailor the indicator to match your specific trading needs with adjustable settings:
Trendmaster X Multiplier: Controls the sensitivity of the ATR-based levels.
Trendmaster X Period: Defines the period over which the ATR is calculated.
Window Length: Specifies the length of the moving window for standard deviation calculations.
Volume Averaging Length: Determines how many periods are considered for averaging volume.
Volatility Factor: Adjusts the impact of volatility on the trend bands.
Core Technical Metrics:
Dynamic Range: Measures the range between high and low prices within each bar.
Candle Body Size: Evaluates the difference between open and close prices.
Volume Average: Assesses the cumulative On-Balance Volume relative to the dynamic range.
Price Spread: Computes the standard deviation of the price ranges over a specified window.
Volatility Factor: Incorporates volatility into the calculation of trend bands.
Advanced Trend Bands Calculation:
Upper Level: Represents potential resistance levels derived from the ATR multiplier.
Lower Level: Indicates possible support levels using the same ATR multiplier.
High Band and Low Band: Dynamically adjust to reflect current trend directions, offering a clear view of market sentiment.
Visual Representation:
Plots distinct green and red trend lines representing bullish and bearish trends respectively.
Fills the area between these trend lines and the middle line for enhanced visibility.
Displays clear buy ('B') and sell ('S') labels on the chart for immediate recognition of trading opportunities 🏷️.
Alert System:
Generates real-time alerts when buy or sell conditions are triggered, ensuring timely action.
Allows customization of alert messages and frequencies to align with individual trading strategies 🔔.
HOW TO USE
Adding the Indicator:
Open your TradingView platform and navigate to the "Indicators" section.
Search for " L3 Trendmaster X" and add it to your chart.
Adjusting Settings:
Fine-tune the input parameters according to your preferences and trading style.
For example, increase the Trendmaster X Multiplier for higher sensitivity during volatile markets.
Decrease the Window Length for shorter-term trend analysis.
Monitoring Trends:
Observe the plotted trend bands and labels on the chart.
Look for buy ('B') labels at potential support levels and sell ('S') labels at resistance levels.
Setting Up Alerts:
Configure alerts based on the generated buy and sell signals.
Choose notification methods (e.g., email, SMS) and set alert frequencies to stay updated without constant monitoring 📲.
Combining with Other Tools:
Integrate the Trendmaster X with other technical indicators like Moving Averages or RSI for confirmation.
Utilize fundamental analysis alongside the indicator for a holistic approach to trading.
Backtesting and Optimization:
Conduct thorough backtests on historical data to evaluate performance.
Optimize parameters based on backtest results to enhance accuracy and reliability.
Real-Time Application:
Apply the optimized settings to live charts and monitor real-time signals.
Execute trades based on confirmed signals while considering risk management principles.
LIMITATIONS
Market Conditions: The indicator might produce false signals in highly volatile or sideways-trending markets due to increased noise and lack of clear direction 🌪️.
Complementary Analysis: Traders should use this indicator in conjunction with other analytical tools to validate signals and reduce the likelihood of false positives.
Asset-Specific Performance: Effectiveness can vary across different assets and timeframes; therefore, testing on diverse instruments is recommended.
NOTES
Data Requirements: Ensure adequate historical data availability for accurate calculations and reliable signal generation.
Demo Testing: Thoroughly test the indicator on demo accounts before deploying it in live trading environments to understand its behavior under various market scenarios.
Parameter Customization: Regularly review and adjust parameters based on evolving market conditions and personal trading objectives.
Compare Strength with SLOPE Description
This indicator compares the relative strength between the current asset and a benchmark (e.g., BTC vs. ETH or AAPL vs. SPY) using a linear regression slope of their ratio over time.
The ratio is calculated as: close / benchmark
A linear regression slope is computed over a user-defined window
The slope represents trend strength: if it’s rising, the current asset is outperforming the benchmark
Plots
Gray Line: The raw ratio between the asset and benchmark
Orange Line: The slope of the ratio (shows momentum)
Background Color :
Green: The asset is significantly stronger than the benchmark
Red: The asset is significantly weaker than the benchmark
No color: No clear trend
Settings
Slope Window Length: Number of candles used in the regression (default = 10)
Slope Threshold: Sensitivity of trend detection. Smaller values detect weaker trends.
Example Use Cases
Style Rotation Strategy: Use the slope to determine whether "Growth" or "Value" style is leading.
Pair Trading / Relative Performance: Track which asset is leading in a pair (e.g., BTC vs ETH).
Factor Timing: Serve as a timing model to allocate between different sectors or factors.
Happy trading!
SPY Trend-Based Buy Signals🔹 Overview
This indicator identifies potential buy signals on any asset by combining MACD and Stochastic Oscillator crossovers, while using the SPY’s trend (via exponential moving averages) as a broader market filter.
It helps traders stay aligned with macro momentum and avoid counter-trend entries.
🔍 How it works
SPY Trend Filter (Daily Timeframe):
Pulls SPY (S&P 500 ETF) data using EMAs (5, 20, 80)
Categorizes SPY market trend with color codes:
🟢 Green: Strong uptrend (EMA5 > EMA20 > EMA80)
🟡 Yellow: Potential uptrend / early momentum (EMA5 < EMA20 > EMA80)
🔴 Red: Downtrend (EMA5 < EMA20 < EMA80)
🔵 Blue: Possible trend reversal or mixed trend (EMA5 > EMA20 < EMA80)
Buy Signal Conditions (Combined Logic):
A signal is only triggered when:
- SPY trend is either yellow or blue (indicating a neutral-to-bullish or early recovery environment)
-The Stochastic Oscillator's %D line is below 50, showing possible upside
- A bullish MACD crossover occurs on the current symbol
🟢 Green signal: MACD crossover occurs below 0 (early reversal)
🟠 Orange signal: MACD crossover occurs above 0 (momentum continuation)
📈 Visual Output
🟢 Green label below the bar when an early reversal setup occurs
🟠 Orange label above the bar when a trend continuation signal appears
✅ Best Use Case
Ideal for:
Swing traders and position traders
LEAPS (long-term options) traders aligning entries with SPY trend
Anyone seeking clean, contextual entries filtered by market momentum
⚠️ Note: This indicator is most effective when used on fundamentally strong stocks that are sector leaders with solid earnings growth and market presence. Use technical signals as a complement to quality fundamentals.
ℹ️ Clarification: The moving averages displayed on the chart (e.g., on QQQ) are for visual reference only, to help users understand the color logic of the SPY trend filter. The actual logic and signals are based on SPY’s moving averages, regardless of the charted symbol.
Volume Range Profile with Fair Value (Zeiierman)█ Overview
The Volume Range Profile with Fair Value (Zeiierman) is a precision-built volume-mapping tool designed to help traders visualize where institutional-level activity is occurring within the price range — and how that volume behavior shifts over time.
Unlike traditional volume profiles that rely on fixed session boundaries or static anchors, this tool dynamically calculates and displays volume zones across both the upper and lower ends of a price range, revealing point-of-control (POC) levels, directional volume flow, and a fair value drift line that updates live with each candle.
You’re not just looking at volume anymore. You’re dissecting who’s in control — and at what price.
⚪ In simple terms:
Upper Zone = The upper portion of the price range, showing concentrated volume activity — typically where selling or distribution may occur
Lower Zone = The lower portion of the price range, highlighting areas of high volume — often associated with buying or accumulation
POC Bin = The bin (price level) with the highest traded volume in the zone — considered the most accepted price by the market
Fair Value Trend = A dynamic trend line tracking the average POC price over time — visualizing the evolving fair value
Zone Labels = Display real-time breakdown of buy/sell volume within each zone and inside the POC — revealing who’s in control
█ How It Works
⚪ Volume Zones
Upper Zone: Anchored at the highest high in the lookback period
Lower Zone: Anchored at the lowest low in the lookback period
Width is user-defined via % of range
Each zone is divided into a series of volume bins
⚪ Volume Bins (Histograms)
Each zone is split into N bins that show how much volume occurred at each level:
Taller = More volume
The POC bin (Point of Control) is highlighted
Labels show % of volume in the POC relative to the whole zone
⚪ Buy vs Sell Breakdown
Each volume bin is split by:
Buy Volume = Close ≥ Open
Sell Volume = Close < Open
The script accumulates these and displays total Buy/Sell volume per zone.
⚪ Fair Value Drift Line
A POC trend is plotted over time:
Represents where volume was most active across each range
Color changes dynamically — green for rising, red for falling
Serves as a real-time fair value anchor across changing market structure
█ How to Use
⚪ Identify Key Control Zones
Use Upper/Lower Zone structures to understand where supply and demand is building.
Zones automatically adapt to recent highs/lows and re-center volume accordingly.
⚪ Follow Institutional Activity
Watch for POC clustering near price tops or bottoms.
Large volumes near extremes may indicate accumulation or distribution.
⚪ Spot Fair Value Drift
The fair value trend line (average POC price) gives insight into market equilibrium.
One strategy can be to trade a re-test of the fair value trend, trades are taken in the direction of the current trend.
█ Understanding Buy & Sell Volume Labels (Zone Totals)
These labels show the total buy and sell volume accumulated within each zone over the selected lookback period:
Buy Vol (green label) → Total volume where candles closed bullish
Sell Vol (red label) → Total volume where candles closed bearish
Together, they tell you which side dominated:
Higher Buy Vol → Bullish accumulation zone
Higher Sell Vol → Bearish distribution zone
This gives a quick visual insight into who controlled the zone, helping you spot areas of demand or supply imbalance.
█ Understanding POC Volume Labels
The POC (Point of Control) represents the price level where the most volume occurred within the zone. These labels break down that volume into:
Buy % – How much of the volume was buying (price closed up)
Sell % – How much was selling (price closed down)
Total % – How much of the entire zone’s volume happened at the POC
Use it to spot strong demand or supply zones:
High Buy % + High Total % → Strong buying interest = likely support
High Sell % + High Total % → Strong selling pressure = likely resistance
It gives a deeper look into who was in control at the most important price level.
█ Why It’s Useful
Track where fair value is truly forming
Detect aggressive volume accumulation or dumping
Visually split buyer/seller control at the most relevant price levels
Adapt volume structures to current trend direction
█ Settings Explained
Lookback Period: Number of bars to scan for highs/lows. Higher = smoother zones, Lower = reactive.
Zone Width (% of Range): Controls how much of the range is used to define each zone. Higher = broader zones.
Bins per Zone: Number of volume slices per zone. Higher = more detail, but heavier on resources.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
LinReg Heikin Ashi CandlesLinear Regression Heikin Ashi Candles will dramatically change how the candlesticks on your chart will appear. This script creates Heikin Ashi candles from the existing candlesticks and then applies wickless Linear Regression candles as an overlay. The result is an ultra smoothed 'Renko-like' chart that remains time-based and responsive.
Key Features:
Heikin Ashi Base: Provides a smoother representation of price trends by filtering out noise.
Linear Regression Candles on Heikin Ashi: Plots Linear Regression lines as candles on the Heikin Ashi chart, potentially highlighting the immediate trend direction and momentum within the smoothed data. Wicks are intentionally removed for a clearer focus on the linear progression.
Tillson T3 Moving Averages: Includes fast and slow T3 Moving Averages with customizable length and alpha. These smoothed moving averages can help identify trend direction and potential crossover signals. Users can toggle their visibility.
Volatility Bands: Integrates Volatility Bands based on Average True Range (ATR) with customizable length, ATR type (RMA, SMA, EMA, WMA), and inner/outer multipliers. These bands help gauge price volatility and potential reversal zones. Users can toggle the visibility of the basis line.
Customizable Colors: Allows users to customize the colors of the Linear Regression Heikin Ashi bullish and bearish candles.
How to Use:
This is an overlay on your chart so you'll need to 'hide' the existing candlesticks on your chart.
This indicator can be used on any timeframe from seconds to days to quickly identify market trend, gauge volatility, and potentially find entry/exit points. Consider looking for confluence between the candle color/direction, T3 MA crossovers, and price interaction with the Volatility Bands.
Note: This indicator plots Linear Regression directly on Heikin Ashi candles, removing wicks for a focus on the linear trend within the smoothed data. Adjust the input parameters to suit your trading style and the specific market conditions.
HUGE CREDIT to ugurvu who originally created the Linear Regression Candles indicator that my indicator pulls code from.
ICT Turtle Soup Ultimate V2📜 ICT Turtle Soup Ultimate V2 — Advanced Liquidity Reversal System
Overview:
The ICT Turtle Soup Ultimate V2 is a next-generation liquidity reversal indicator built on the principles of smart money concepts (SMC) and the classic ICT Turtle Soup setup. It is designed to detect false breakouts (liquidity grabs) at key swing points, enhanced by proprietary logic that filters out low-quality signals using a combination of trend context, kill zone timing, candle wick behavior, and multi-timeframe imbalance zones.
This tool is ideal for intraday traders seeking high-probability entry signals near liquidity pools and imbalance zones — where smart money makes its move.
🔍 What This Script Does
🧠 Liquidity Grab Detection (Turtle Soup Core Logic)
The script scans for recent swing highs/lows using a user-defined lookback.
A signal is generated when price breaks above/below a previous swing level but closes back inside — indicating a liquidity run and likely reversal.
A special Wick Trap Mode enhances this logic by detecting long-wick fakeouts — where the wick grabs stops but the candle body closes opposite the breakout direction.
📉 Trend Filter with ATR Buffer
Optional trend filter uses a simple moving average (SMA) to gauge market direction.
Instead of hard filtering, it applies an ATR-based buffer to allow for entries near the trend line, reducing signal suppression from micro-fluctuations.
🕰️ Kill Zone Session Filtering
Only show signals during institutional trading hours:
London Session
New York AM
Or any custom user-defined session
Helps traders avoid low-volume hours and focus on where stop hunts and price expansions typically occur.
🧱 Multi-Timeframe FVG Confluence (Optional)
Signal validation is strengthened by checking if price is within a higher timeframe Fair Value Gap — commonly used to identify imbalances or inefficiencies.
Filters out setups that lack underlying displacement or order flow justification.
🎨 Visual Feedback
Plots 🔺 bullish and 🔻 bearish markers at signal candles.
Optionally displays:
Swing High/Low Labels (SH / SL)
Reversal distance labels
Background color shading on valid signals
Includes built-in alerts for automated trade notification.
🔑 Unique Benefits
Wick Trap Detection: A proprietary approach to detecting stop hunts via wick behavior, not just candle closes.
ATR-based trend filtering: Avoids unnecessary filtering while still maintaining directional bias.
All-in-one system: No need to stack multiple indicators — swing detection, reversal logic, session filtering, and imbalance confirmation are all integrated.
💡 How to Use
Enable Wick Trap Mode to detect stealthy liquidity grabs with strong wicks.
Use Kill Zone filters to trade only when institutions are active.
Optionally enable FVG confluence to improve confidence in reversal zones.
Watch for Bullish signals near SL levels and Bearish signals near SH levels.
Combine with your own execution strategy or other SMC tools for optimal results.
🔗 Best Used With:
Maximize your edge by combining this script with complementary SMC-based tools:
✅ First FVG — Opening Range Fair Value Gap Detector
✅ ICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
✅ Liquidity Levels — Smart Swing Highs and Lows with horizontal line projections
ICT Turtle Soup (Liquidity Reversal)ICT Turtle Soup — Liquidity Reversal Detection
Classic Liquidity Trap Reversal Strategy for Smart Money Traders
This indicator implements the ICT Turtle Soup concept — a classic liquidity-based reversal pattern — which occurs when price runs above or below a recent swing level to grab liquidity, then sharply reverses. This pattern is commonly used in Smart Money Concepts (SMC) and Inner Circle Trader (ICT) strategies to anticipate false breakouts and high-probability reversals.
🔍 What This Script Does:
Identifies Swing Highs & Lows
Detects recent swing highs and lows using a customizable lookback period.
Tracks Liquidity Grabs
A bearish Turtle Soup setup is triggered when price breaks above a recent swing high but closes back below it.
A bullish Turtle Soup setup is triggered when price breaks below a recent swing low but closes back above it.
These conditions often signal liquidity traps, where price sweeps resting orders before reversing.
Plots Signals Directly on the Chart
Turtle Soup setups are marked with 🐢🔻 (bearish) and 🐢🔺 (bullish) labels.
Optional full-text labels can also be displayed for clarity and journaling.
Includes Alert Conditions
Alerts can be enabled to notify you of bullish or bearish Turtle Soup reversals in real-time.
⚙️ Customization Features:
Adjustable swing lookback period
Enable/disable Turtle Soup labels
Set label font size
Choose your preferred bullish/bearish signal colors
💡 How to Use:
Add this script to your chart (ideally on intraday timeframes such as 5m–15m).
Wait for a Turtle Soup signal near a key swing high/low or liquidity zone.
Combine with other confirmation tools (e.g., FVGs, Order Blocks, OTE) for stronger setups.
Use alerts to stay ahead of fast-moving reversals.
🧠 Why It Works:
Turtle Soup setups are rooted in liquidity theory — they exploit the market’s tendency to sweep obvious swing levels before reversing. These moves often trap retail traders and mark the beginning of Smart Money entries.
🔗 Best Used With:
Maximize the edge by combining this with other SMC tools:
✅ First FVG — Opening Range Fair Value Gap Detector
✅ ICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
✅ Liquidity Levels — Smart Swing Lows
Together, they create a complete ecosystem for identifying, confirming, and executing liquidity-driven trade setups with precision.
Liquidity Levels (Smart Swing Lows)Liquidity Levels — Smart Swing Low Detection
Efficient Liquidity Sweep Visualization for Smart Money Traders
This script automatically identifies and plots liquidity-rich swing lows based on pivot logic, filters them to remove redundant levels, and overlays daily highs/lows for added context — giving Smart Money Concept (SMC) traders a clean, actionable map of liquidity.
It’s designed to be minimal yet powerful: perfect for spotting potential liquidity grabs, mitigation zones, and sweep targets with zero chart clutter.
🔍 What This Script Does:
Detects Smart Swing Lows
Uses fixed pivot detection (left = 3, right = customizable) to identify structurally significant swing lows.
Filters out swing lows that are too close together using a percentage-based spacing threshold to reduce noise.
Mitigation Cleanup Logic
Tracks whether recent price action breaches past swing lows.
If breached, the swing level is automatically removed, keeping only relevant, unmitigated liquidity levels on your chart.
Plots Daily Highs and Lows
Each new trading day, horizontal rays mark the prior day’s high and low — useful for identifying resting liquidity and possible sweep zones.
Labeling and Style Customization
Optional labels for swing lows.
Full control over label size, color, and visibility to match any chart aesthetic.
Timeframe Filtering
Runs exclusively on 5m, 10m, and 15m charts to ensure optimal reliability and signal clarity.
⚙️ Customization Features:
Pivot sensitivity (Right side control)
Minimum distance between swing lows (in %)
Label visibility, size, and color
Line width and colors for both swing levels and daily highs/lows
Mitigation cleanup lookback length
💡 How to Use:
Add the script to a qualifying intraday chart (5–15m).
Use the swing low levels to monitor liquidity-rich zones.
Combine with your personal strategy to identify liquidity grabs, potential reversal zones, or entry points following a sweep.
Let the built-in cleanup logic remove any already-mitigated levels so you can focus on active targets.
🚀 What Makes It Unique:
This isn’t just another pivot plotter — it’s a smart, self-cleaning SMC tool designed for modern liquidity-based trading strategies.
A must-have for traders using concepts like liquidity grabs, mitigation blocks, or sweep-to-reverse trade models.
🔗 Best used in combination with:
✅ First FVG — Opening Range Fair Value Gap Detector: Pinpoint the day’s first imbalance zone for intraday setups.
✅ ICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels: Confluence-based entries powered by liquidity logic, order blocks, and premium/discount zones.
Used together, these scripts form a complete Smart Money toolkit — helping you build high-probability setups with confidence, clarity, and clean charts.
MACD [AlchimistOfCrypto]🌠 MACD Optimized with Python – Decoding the Chaos of Markets 🌠
Category: Trend Analysis 📈
"Like the dynamic systems studied in chaos theory, financial markets appear unpredictable at first glance. Yet, as Edward Lorenz demonstrated, even in apparent chaos reside harmonious mathematical structures. The MACD (Moving Average Convergence Divergence) represents this quest for order within disorder—a mathematical formulation that extracts coherent signals from price noise. By combining moving averages of different periods, this indicator reveals hidden cycles and precise moments when market energy shifts, like a pendulum obeying the immutable laws of physics."
📊 Technical Overview
The MACD Optimized with Python is a revolutionary take on the classic Moving Average Convergence Divergence indicator. Powered by Python-driven optimizations 🐍, it adapts to specific timeframes, delivering razor-sharp signals for traders seeking to navigate the market’s chaos with precision.
⚙️ How It Works
- Python-Optimized Parameters 🔧: Unlike the standard MACD (12,26,9), our version uses mathematically tailored parameters for each timeframe:
- 1H: 11/38/27
- 4H: 9/98/27
- 1D: 45/90/29
- 1W: 9/16/3
- 2W: 5/20/5
- Intuitive Visuals 🎨:
- Crossovers marked by colored dots 🟢🔴 for clear entry/exit signals.
- Histogram with a color gradient 🌈 to show direction and momentum intensity.
- Customizable Signals 🎯: Choose to display long, short, or both signals to match your trading style.
🚀 How to Use This Indicator
1. Select Your Timeframe ⏰: Choose the timeframe aligned with your trading horizon (1H, 4H, 1D, 1W, or 2W).
2. Spot Crossovers 🔍: Watch for the MACD line (green) crossing the signal line (red) to identify potential trend changes.
3. Confirm with Divergence ✅: Combine crossovers with price-MACD divergence for high-probability trend reversal signals.
📅 Release Notes
Unlock the hidden order of markets with this Python-optimized MACD. Stay tuned for future enhancements! ✨
🏷️ Tags
#Trading #TechnicalAnalysis #MACD #TrendAnalysis #Python #MultiTimeframe #Divergence #Momentum #TradingStrategy #RiskManagement #Forex #Stocks #Crypto #ChaosTheory #OptimizedTrading
First FVG Custom Time RangeFirst FVG — Opening Range Fair Value Gap Detector
Smart Money Opening Imbalance Strategy Tool
This script automatically detects and highlights the first Fair Value Gap (FVG) that forms between 9:30 and 10:00 AM Eastern Time (New York session open) — a critical period often referred to as the Opening Range. It’s designed for Smart Money traders looking to isolate early-morning inefficiencies that may influence market behavior throughout the trading day.
🔍 What This Script Does:
Automatically Detects the First FVG in the Opening Range
Scans price action between 9:30 and 10:00 AM ET and identifies the first valid bullish or bearish FVG that forms.
Only one FVG is shown per day — ensuring a clean, focused view.
Draws a Visual Zone
Once detected, the FVG zone is extended forward on the chart (customizable duration).
A labeled zone helps users track how price reacts to it throughout the session.
Optional Retest Alerts
Alerts you when price re-enters the zone — a potential reaction point used by SMC traders.
Customization Options
Set your preferred session time window
Adjust zone duration (in bars)
Customize label font size, colors, and visibility
Enable/disable alert on retest
📈 Why the First FVG Matters:
Time-Sensitive Setup: The first FVG typically forms no earlier than 9:31 AM ET and represents a potential “time distortion” or imbalance zone created by aggressive market participants during the open.
Behavioral Study: Many traders journal how price behaves around this zone each day — whether it acts as support, resistance, or gets traded through later in the session.
Predictive Value: Observing how this zone is respected or broken can provide anticipatory insight into intraday price action, rather than reactive analysis.
Great for New Traders: This opening FVG is often recommended as a starting reference point for building trade models and understanding how institutional imbalances unfold.
🚀 What Makes It Unique:
This tool doesn’t spam your chart with every FVG. It laser-focuses on a single, time-bound zone backed by institutional logic — the first presented imbalance of the day during the opening range.
Use it to:
Monitor price behavior around early inefficiencies
Plan journal entries and pattern recognition
Align intraday setups with a high-probability SMC model
Whether you’re scalping, journaling market structure, or refining entries based on liquidity behavior — this script helps you make the first 30 minutes count.
ICT SMC Liquidity Grabs and OBsICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
Smart Money Concepts Trading Assistant
This script is built for traders who follow ICT (Inner Circle Trader) and Smart Money Concepts. It intelligently combines three critical components of SMC trading: Liquidity Grabs, Order Blocks, and Fibonacci-based Optimal Trade Entry (OTE) zones — giving traders visual cues for potential high-probability reversals and entry points.
🔍 What This Script Does:
Detects Liquidity Grabs
Identifies swing highs/lows where price sweeps liquidity, then immediately reverses.
Labels them with orange markers when price takes out previous highs/lows but closes back inside.
Draws Order Blocks
After a liquidity grab, the script looks for strong bullish or bearish candles and automatically highlights the OB zone.
These OB zones are visualized with transparent colored boxes extending several bars forward.
Plots Fibonacci OTE Levels
Uses recent swing high/low pivots to dynamically draw customizable OTE retracement levels (e.g., 62% and 75%) for both long and short setups.
Highlights Optimal Entry Zones
Marks valid OTE-based buy/sell opportunities only when:
Liquidity has been taken,
Price enters the OTE zone,
And a strong confirming candle appears.
Adds visual zones, trade labels, and optional alerts for each qualified entry.
Includes Take Profit Targets
Automatically calculates take-profit levels based on previous structure and risk-reward ratios.
TP1 is the previous swing, and TP2 is an extended R-multiple (customizable by user).
⚙️ Customization Options:
Toggle each feature (Liquidity Grabs, OBs, Fibonacci Levels)
Adjust Fibonacci levels (default: 62% and 75%)
Set lookback period for liquidity checks
Customize the R-multiple for TP2 levels
💡 How to Use:
Enable desired features from the input panel.
Watch for Buy/Sell OTE zones highlighted in green/red.
Confirm with liquidity sweep and OB support for stronger signals.
Use the automatically generated TP levels to manage risk.
🚀 What Makes It Unique:
Unlike other open-source mashups, this script synchronizes multiple SMC concepts into a single tool that:
Waits for high-confidence conditions (not just blind fib or OB detection)
Validates entries using multiple confluences
Visually marks actionable setups
Automates trade management zones
Whether you're trend-trading, scalping, or swing trading ICT-style, this tool offers a streamlined, smart-money-aligned workflow directly on your chart.
ICT SMC Liquidity Grabs and OBsICT SMC Liquidity Grabs + OB + Fibonacci OTE Levels
Smart Money Concepts Trading Assistant
This script is built for traders who follow ICT (Inner Circle Trader) and Smart Money Concepts. It intelligently combines three critical components of SMC trading: Liquidity Grabs, Order Blocks, and Fibonacci-based Optimal Trade Entry (OTE) zones — giving traders visual cues for potential high-probability reversals and entry points.
🔍 What This Script Does:
Detects Liquidity Grabs
Identifies swing highs/lows where price sweeps liquidity, then immediately reverses.
Labels them with orange markers when price takes out previous highs/lows but closes back inside.
Draws Order Blocks
After a liquidity grab, the script looks for strong bullish or bearish candles and automatically highlights the OB zone.
These OB zones are visualized with transparent colored boxes extending several bars forward.
Plots Fibonacci OTE Levels
Uses recent swing high/low pivots to dynamically draw customizable OTE retracement levels (e.g., 62% and 75%) for both long and short setups.
Highlights Optimal Entry Zones
Marks valid OTE-based buy/sell opportunities only when:
Liquidity has been taken,
Price enters the OTE zone,
And a strong confirming candle appears.
Adds visual zones, trade labels, and optional alerts for each qualified entry.
Includes Take Profit Targets
Automatically calculates take-profit levels based on previous structure and risk-reward ratios.
TP1 is the previous swing, and TP2 is an extended R-multiple (customizable by user).
⚙️ Customization Options:
Toggle each feature (Liquidity Grabs, OBs, Fibonacci Levels)
Adjust Fibonacci levels (default: 62% and 75%)
Set lookback period for liquidity checks
Customize the R-multiple for TP2 levels
💡 How to Use:
Enable desired features from the input panel.
Watch for Buy/Sell OTE zones highlighted in green/red.
Confirm with liquidity sweep and OB support for stronger signals.
Use the automatically generated TP levels to manage risk.
🚀 What Makes It Unique:
Unlike other open-source mashups, this script synchronizes multiple SMC concepts into a single tool that:
Waits for high-confidence conditions (not just blind fib or OB detection)
Validates entries using multiple confluences
Visually marks actionable setups
Automates trade management zones
Whether you're trend-trading, scalping, or swing trading ICT-style, this tool offers a streamlined, smart-money-aligned workflow directly on your chart.
MarketTrend [AlchimistOfCrypto]🌌 MarketTrend – Unveil the Cosmic Harmony of Markets 🌌
"What we call 'trend' is merely an illusion of our limited perception of the space-time continuum of markets. Pivots are points of singularity where potential energy ⚡️ transforms into kinetic energy 🚀. The fourth dimension isn’t just time—it’s the simultaneous awareness of all temporal states. By observing mathematical laws across time scales, we unlock the secrets of the cosmic harmony of markets."
📊 Technical Overview
MarketTrend is a multi-timeframe trend analysis powerhouse 🔥 that tracks market direction across six timeframes simultaneously. It pinpoints pivot points 📍 to classify trends as bullish 🐂, bearish 🐻, or neutral ⚖️, presenting results in a sleek, easy-to-read table.
⚙️ How It Works
- The algorithm scans for pivot highs and pivot lows using a 20-bar lookback period 🔍.
- Bullish Trend 🟢: Price breaks above a previous pivot high.
- Bearish Trend 🔴: Price drops below a previous pivot low.
- Neutral Zone 🟡: Price consolidates until a breakout sparks a new trend.
🚀 How to Use This Indicator
1. Master Multi-Timeframe Analysis 🌍: Spot trend alignment across timeframes for a holistic view.
2. Seek Confluence ✅: Stronger signals emerge when multiple timeframes align.
3. Time Your Entries ⏰: Enter trades when shorter timeframes sync with larger ones for maximum precision.
4. Manage Risk 🛡️: Avoid countertrend trades when timeframes show unified direction.
Multi-Scale Slope Alignment FilterMulti-Scale Slope Alignment Filter (MSSA)
█ OVERVIEW
This indicator identifies periods where the market trend, measured by the slope of a linear regression line, is aligned across multiple time scales (short, medium, and long-term). It acts as a trend confirmation filter, visually highlighting when different trend perspectives agree. The core idea is that signals or trades taken in the direction of aligned slopes might have a higher probability of success.
It plots the calculated slopes in a separate pane and colors the main chart background based on the alignment status: green for bullish alignment, red for bearish alignment.
█ HOW IT WORKS
The indicator calculates the slope of a linear regression line for three different lookback periods defined by the user inputs (`Short-Term`, `Medium-Term`, `Long-Term`).
The "slope" is determined by comparing the value of the linear regression line at the current bar (`offset=0`) to its value on the previous bar (`offset=1`).
A positive difference indicates an upward sloping regression line (potential uptrend).
A negative difference indicates a downward sloping regression line (potential downtrend).
The core calculation for a single slope is:
ta.linreg(source, length, 0) - ta.linreg(source, length, 1)
Based on these three slopes, the alignment state is determined:
Bullish Alignment: All three slopes (Short, Medium, Long) are positive (greater than 0). This suggests an uptrend is confirmed across all measured scales.
Bearish Alignment: All three slopes are negative (less than 0). This suggests a downtrend is confirmed across all measured scales.
Neutral/Mixed: The slopes do not unanimously agree (i.e., some are positive while others are negative, or some are zero). This indicates conflicting signals or a potential consolidation phase.
█ HOW TO USE
The primary use of the Multi-Scale Slope Alignment Filter (MSSA) is as a trend confirmation tool or trade filter .
Consider taking long trades only when the background is green ( Bullish Alignment ). This acts as confirmation that the broader trend context supports the long idea.
Consider taking short trades only when the background is red ( Bearish Alignment ). This acts as confirmation that the broader trend context supports the short idea.
Consider being cautious or avoiding trades when there is no background color ( Neutral/Mixed Alignment ), as the trend direction is unclear or conflicting across different timeframes.
This indicator is generally not designed to provide direct entry or exit signals on its own. It works best when combined with your primary trading strategy or other indicators to filter their signals based on multi-timeframe trend agreement.
Example filter logic:
// Example Long Condition
primaryLongSignal = ta.crossover(fastMA, slowMA) // Your primary signal
longCondition = primaryLongSignal and isBullishAligned // Filter with MSSA
// Example Short Condition
primaryShortSignal = ta.crossunder(fastMA, slowMA) // Your primary signal
shortCondition = primaryShortSignal and isBearishAligned // Filter with MSSA
█ INPUTS / SETTINGS
Short-Term Slope Length: (Default: 20) The lookback period for calculating the short-term linear regression slope.
Medium-Term Slope Length: (Default: 50) The lookback period for calculating the medium-term linear regression slope.
Long-Term Slope Length: (Default: 100) The lookback period for calculating the long-term linear regression slope.
Source: (Default: close) The price data source used for the linear regression calculations (e.g., close, HLC3, OHLC4).
█ VISUALIZATION
Background Coloring: The background of the main price chart is colored to indicate the alignment state:
Green: Bullish Alignment (all slopes positive).
Red: Bearish Alignment (all slopes negative).
No Color: Neutral/Mixed Alignment.
Indicator Pane: A separate pane below the main chart displays:
Three lines representing the calculated slope values for the short (red), medium (blue), and long (yellow) terms.
A dashed horizontal line at zero, making it easy to visually distinguish positive (above zero) from negative (below zero) slopes.
█ SUMMARY
The MSSA indicator provides a visual filter based on the consensus of trend direction across short, medium, and long-term perspectives using linear regression slopes. It helps traders align their strategies with the prevailing multi-scale trend environment. Remember to use it as part of a comprehensive trading plan and always practice sound risk management. This tool provides analysis and is not financial advice.
GIGANEVA V6.61 PublicThis enhanced Fibonacci script for TradingView is a powerful, all-in-one tool that calculates Fibonacci Levels, Fans, Time Pivots, and Golden Pivots on both logarithmic and linear scales. Its ability to compute time pivots via fan intersections and Range interactions, combined with user-friendly features like Bool Fib Right, sets it apart. The script maximizes TradingView’s plotting capabilities, making it a unique and versatile tool for technical analysis across various markets.
1. Overview of the Script
The script appears to be a custom technical analysis tool built for TradingView, improving upon an existing script from TradingView’s Community Scripts. It calculates and plots:
Fibonacci Levels: Standard retracement levels (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range.
Fibonacci Fans: Trendlines drawn from a high or low point, radiating at Fibonacci ratios to project potential support/resistance zones.
Time Pivots: Points in time where significant price action is expected, determined by the intersection of Fibonacci Fans or their interaction with key price levels.
Golden Pivots: Specific time pivots calculated when the 0.5 Fibonacci Fan (on a logarithmic or linear scale) intersects with its counterpart.
The script supports both logarithmic and linear price scales, ensuring versatility across different charting preferences. It also includes a feature to extend Fibonacci Fans to the right, regardless of whether the user selects the top or bottom of the range first.
2. Key Components Explained
a) Fibonacci Levels and Fans from Top and Bottom of the "Range"
Fibonacci Levels: These are horizontal lines plotted at standard Fibonacci retracement ratios (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range (the "Range"). The Range is typically the distance between a significant high (top) and low (bottom) on the chart.
Example: If the high is $100 and the low is $50, the 0.618 retracement level would be at $80.90 ($50 + 0.618 × $50).
Fibonacci Fans: These are diagonal lines drawn from either the top or bottom of the Range, radiating at Fibonacci ratios (e.g., 0.382, 0.5, 0.618). They project potential dynamic support or resistance zones as price evolves over time.
From Top: Fans drawn downward from the high of the Range.
From Bottom: Fans drawn upward from the low of the Range.
Log and Linear Scale:
Logarithmic Scale: Adjusts price intervals to account for percentage changes, which is useful for assets with large price ranges (e.g., cryptocurrencies or stocks with exponential growth). Fibonacci calculations on a log scale ensure ratios are proportional to percentage moves.
Linear Scale: Uses absolute price differences, suitable for assets with smaller, more stable price ranges.
The script’s ability to plot on both scales makes it adaptable to different markets and user preferences.
b) Time Pivots
Time pivots are points in time where significant price action (e.g., reversals, breakouts) is anticipated. The script calculates these in two ways:
Fans Crossing Each Other:
When two Fibonacci Fans (e.g., one from the top and one from the bottom) intersect, their crossing point represents a potential time pivot. This is because the intersection indicates a convergence of dynamic support/resistance zones, increasing the likelihood of a price reaction.
Example: A 0.618 fan from the top crosses a 0.382 fan from the bottom at a specific bar on the chart, marking that bar as a time pivot.
Fans Crossing Top and Bottom of the Range:
A fan line (e.g., 0.5 fan from the bottom) may intersect the top or bottom price level of the Range at a specific time. This intersection highlights a moment where the fan’s projected support/resistance aligns with a key price level, signaling a potential pivot.
Example: The 0.618 fan from the bottom reaches the top of the Range ($100) at bar 50, marking bar 50 as a time pivot.
c) Golden Pivots
Definition: Golden pivots are a special type of time pivot calculated when the 0.5 Fibonacci Fan on one scale (logarithmic or linear) intersects with the 0.5 fan on the opposite scale (or vice versa).
Significance: The 0.5 level is the midpoint of the Fibonacci sequence and often acts as a critical balance point in price action. When fans at this level cross, it suggests a high-probability moment for a price reversal or significant move.
Example: If the 0.5 fan on a logarithmic scale (drawn from the bottom) crosses the 0.5 fan on a linear scale (drawn from the top) at bar 100, this intersection is labeled a "Golden Pivot" due to its confluence of key Fibonacci levels.
d) Bool Fib Right
This is a user-configurable setting (a boolean input in the script) that extends Fibonacci Fans to the right side of the chart.
Functionality: When enabled, the fans project forward in time, regardless of whether the user selected the top or bottom of the Range first. This ensures consistency in visualization, as the direction of the Range selection (top-to-bottom or bottom-to-top) does not affect the fan’s extension.
Use Case: Traders can use this to project future support/resistance zones without worrying about how they defined the Range, improving usability.
3. Why Is This Code Unique?
Original calculation of Log levels were taken from zekicanozkanli code. Thank you for giving me great Foundation, later modified and applied to Fib fans. The script’s uniqueness stems from its comprehensive integration of Fibonacci-based tools and its optimization for TradingView’s plotting capabilities. Here’s a detailed breakdown:
All-in-One Fibonacci Tool:
Most Fibonacci scripts on TradingView focus on either retracement levels, extensions, or fans.
This script combines:
Fibonacci Levels: Static horizontal lines for retracement and extension.
Fibonacci Fans: Dynamic trendlines for projecting support/resistance.
Time Pivots: Temporal analysis based on fan intersections and Range interactions.
Golden Pivots: Specialized pivots based on 0.5 fan confluences.
By integrating these functions, the script provides a holistic Fibonacci analysis tool, reducing the need for multiple scripts.
Log and Linear Scale Support:
Many Fibonacci tools are designed for linear scales only, which can distort projections for assets with exponential price movements. By supporting both logarithmic and linear scales, the script caters to a wider range of markets (e.g., stocks, forex, crypto) and user preferences.
Time Pivot Calculations:
Calculating time pivots based on fan intersections and Range interactions is a novel feature. Most TradingView scripts focus on price-based Fibonacci levels, not temporal analysis. This adds a predictive element, helping traders anticipate when significant price action might occur.
Golden Pivot Innovation:
The concept of "Golden Pivots" (0.5 fan intersections across scales) is a unique addition. It leverages the symmetry of the 0.5 level and the differences between log and linear scales to identify high-probability pivot points.
Maximized Plot Capabilities:
TradingView imposes limits on the number of plots (lines, labels, etc.) a script can render. This script is coded to fully utilize these limits, ensuring that all Fibonacci levels, fans, pivots, and labels are plotted without exceeding TradingView’s constraints.
This optimization likely involves efficient use of arrays, loops, and conditional plotting to manage resources while delivering a rich visual output.
User-Friendly Features:
The Bool Fib Right option simplifies fan projection, making the tool intuitive even for users who may not consistently select the Range in the same order.
The script’s flexibility in handling top/bottom Range selection enhances usability.
4. Potential Use Cases
Trend Analysis: Traders can use Fibonacci Fans to identify dynamic support/resistance zones in trending markets.
Reversal Trading: Time pivots and Golden Pivots help pinpoint moments for potential price reversals.
Range Trading: Fibonacci Levels provide key price zones for trading within a defined range.
Cross-Market Application: Log/linear scale support makes the script suitable for stocks, forex, commodities, and cryptocurrencies.
The original code was from zekicanozkanli . Thank you for giving me great Foundation.
EMA Crossover Strategy with Trailing Stop and AlertsPowerful EMA Crossover Strategy with Dynamic Trailing Stop and Real-Time Alerts
This strategy combines the simplicity and effectiveness of EMA crossovers with a dynamic trailing stop-loss mechanism for robust risk management.
**Key Features:**
* **EMA Crossover Signals:** Identifies potential trend changes using customizable short and long period Exponential Moving Averages.
* **Trailing Stop-Loss:** Automatically adjusts the stop-loss level as the price moves favorably, helping to protect profits and limit downside risk. The trailing stop percentage is fully adjustable.
* **Visual Buy/Sell Signals:** Clear buy (green upward label) and sell (red downward label) signals are plotted directly on the price chart.
* **Customizable Inputs:** Easily adjust the lengths of the short and long EMAs, as well as the trailing stop percentage, to optimize the strategy for different assets and timeframes.
* **Real-Time Alerts:** Receive instant alerts for buy and sell signals, ensuring you don't miss potential trading opportunities.
**How to Use:**
1. Add the strategy to your TradingView chart.
2. Customize the "Short EMA Length," "Long EMA Length," and "Trailing Stop Percentage" in the strategy's settings.
3. Enable alerts in TradingView to receive notifications when buy or sell signals are generated.
This strategy is intended to provide automated trading signals based on EMA crossovers with built-in risk management. Remember to backtest thoroughly on your chosen instruments and timeframes before using it for live trading.
#EMA
#Crossover
#TrailingStop
#Strategy
#TradingView
#TechnicalAnalysis
#Alerts
#TradingStrategy
VPSRVP Sovereign Reign (VPSR) - Advanced Volume Profile Analysis
A sophisticated volume analysis tool that provides deep insights into market participation and momentum through an intuitive visual interface. This indicator helps traders identify significant market moves, potential reversals, and institutional activity.
Key Features:
1. Smart Volume Analysis
• Dynamic volume profiling
• Institutional participation detection
• Abnormal volume identification
• Real-time momentum tracking
2. Advanced Visual System
• Color-coded volume bars
• Adaptive cloud formation
• Reversal pattern detection
• Fake-out warning system
Visual Components:
1. Volume Bars
• Green: Bullish pressure with normal volume
• Purple: Bearish pressure with normal volume
• White: Significant bullish participation
• Pink: Significant bearish participation
• Orange: High-probability reversal zones
2. Dynamic Cloud
• White Cloud: Bullish control zone
• Purple Cloud: Bearish control zone
• Cloud density indicates participation strength
• Adaptive to market conditions
Signal Interpretation:
1. Normal Market Conditions
• Green/Purple bars show directional pressure
• Cloud color indicates dominant force
• Cloud height shows average participation
2. Significant Events
• White/Pink bars signal major moves
• Orange bars highlight potential reversals
• Cloud expansion shows increasing activity
• Cloud contraction indicates consolidation
Customization Options:
• Volume MA Length: Smoothing factor
• Abnormal Volume Threshold: Sensitivity
• Cloud Display: Toggle visualization
• Color scheme optimization
Best Practices:
1. Multiple Timeframe Analysis
• Start with higher timeframes
• Confirm on lower timeframes
• Watch for confluence
2. Volume Analysis
• Compare to historical levels
• Monitor abnormal spikes
• Track participation trends
3. Trade Management
• Use as confirmation tool
• Wait for clear signals
• Monitor fake-out warnings
• Combine with price action
Trading Applications:
1. Trend Analysis
• Identify strong moves
• Spot weakening trends
• Detect consolidation
2. Reversal Detection
• Spot potential turning points
• Identify fake-outs
• Monitor institutional activity
3. Risk Management
• Volume-based position sizing
• Stop loss placement
• Profit target selection
The VP Sovereign Reign indicator excels at:
• Identifying significant market moves
• Detecting institutional participation
• Warning of potential reversals
• Highlighting fake-outs
• Providing clear market context
Risk Warning:
This indicator is designed as a technical analysis tool and should be used as part of a complete trading strategy. Past performance does not guarantee future results. Always employ proper risk management techniques.
Note: For optimal results, use in conjunction with price action analysis and other complementary indicators.
Head Hunter HHHead Hunter HH - Advanced Market Structure & Volume Analysis Indicator
This indicator combines volume analysis, price action, and VWAP to identify high-probability trading opportunities across multiple timeframes.
Key Features:
• Smart Volume Analysis: Detects institutional volume patterns using dynamic thresholds
• VWAP-Based Market Structure: Multiple standard deviation bands for precision entry/exit
• Daily Level Integration: Previous day's high, low, close, and current day's open
• Advanced Signal Classification: Regular, Super Strong, and Scalp signals
Signal Types:
1. Regular Signals (White/Purple Triangles)
• Volume-confirmed reversals
• Institutional price levels
• Technical momentum alignment
2. Super Strong Signals (Green/Red Diamonds)
• High-volume breakouts
• Strong momentum confirmation
• Multiple timeframe alignment
3. Scalp Signals (Green/Magenta Circles)
• Quick reversal opportunities
• VWAP deviation analysis
• Volume surge confirmation
Visual Components:
• VWAP with Standard Deviation Bands
• 50 MA (optional)
• Daily Reference Levels
• Color-coded signals based on strength
• Bar color changes on confirmed signals
Best Practices:
• Most effective on higher timeframes (1H+)
• Use with major pairs/instruments
• Combine signals with support/resistance
• Monitor volume confirmation
• Wait for candle close confirmation
This indicator helps identify institutional order flow and high-probability reversal zones by analyzing volume patterns, price action, and market structure, providing traders with multiple confirmation layers before entry.
Note: Results may vary based on market conditions and timeframe selection. Always use proper risk management.
Aurora Flow Oscillator [QuantAlgo]The Aurora Flow Oscillator is an advanced momentum-based technical indicator designed to identify market direction, momentum shifts, and potential reversal zones using adaptive filtering techniques. It visualizes price momentum through a dynamic oscillator that quantifies trend strength and direction, helping traders and investors recognize momentum shifts and trading opportunities across various timeframes and asset class.
🟢 Technical Foundation
The Aurora Flow Oscillator employs a sophisticated mathematical approach with adaptive momentum filtering to analyze market conditions, including:
Price-Based Momentum Calculation: Calculates logarithmic price changes to measure the rate and magnitude of market movement
Adaptive Momentum Filtering: Applies an advanced filtering algorithm to smooth momentum calculations while preserving important signals
Acceleration Analysis: Incorporates momentum acceleration to identify shifts in market direction before they become obvious
Signal Normalization: Automatically scales the oscillator output to a range between -100 and 100 for consistent interpretation across different market conditions
The indicator processes price data through multiple filtering stages, applying mathematical principles including exponential smoothing with adaptive coefficients. This creates an oscillator that dynamically adjusts to market volatility while maintaining responsiveness to genuine trend changes.
🟢 Key Features & Signals
1. Momentum Flow and Extreme Zone Identification
The oscillator presents market momentum through an intuitive visual display that clearly indicates both direction and strength:
Above Zero: Indicates positive momentum and potential bullish conditions
Below Zero: Indicates negative momentum and potential bearish conditions
Slope Direction: The angle and direction of the oscillator provide immediate insight into momentum strength
Zero Line Crossings: Signal potential trend changes and new directional momentum
The indicator also identifies potential overbought and oversold market conditions through extreme zone markings:
Upper Zone (>50): Indicates strong bullish momentum that may be approaching exhaustion
Lower Zone (<-50): Indicates strong bearish momentum that may be approaching exhaustion
Extreme Boundaries (±95): Mark potentially unsustainable momentum levels where reversals become increasingly likely
These zones are displayed with gradient intensity that increases as the oscillator moves toward extremes, helping traders and investors:
→ Identify potential reversal zones
→ Determine appropriate entry and exit points
→ Gauge overall market sentiment strength
2. Customizable Trading Style Presets
The Aurora Flow Oscillator offers pre-configured settings for different trading approaches:
Default (80,150): Balanced configuration suitable for most trading and investing situations.
Scalping (5,80): Highly responsive settings for ultra-short-term trades. Generates frequent signals and catches quick price movements. Best for 1-15min charts when making many trades per day.
Day Trading (8,120): Optimized for intraday movements with faster response than default settings while maintaining reasonable signal quality. Ideal for 5-60min or 4h-12h timeframes.
Swing Trading (10,200): Designed for multi-day positions with stronger noise filtering. Focuses on capturing larger price swings while avoiding minor fluctuations. Works best on 1-4h and daily charts.
Position Trading (14,250): For longer-term position traders/investors seeking significant market trends. Reduces false signals by heavily filtering market noise. Ideal for daily or even weekly charts.
Trend Following (16,300): Maximum smoothing that prioritizes established directional movements over short-term fluctuations. Best used on daily and weekly charts, but can also be used for lower timeframe trading.
Countertrend (7,100): Tuned to detect potential reversals and exhaustion points in trends. More sensitive to momentum shifts than other presets. Effective on 15min-4h charts, as well as daily and weekly charts.
Each preset automatically adjusts internal parameters for optimal performance in the selected trading context, providing flexibility across different market approaches without requiring complex manual configuration.
🟢 Practical Usage Tips
1/ Trend Analysis and Interpretation
→ Direction Assessment: Evaluate the oscillator's position relative to zero to determine underlying momentum bias
→ Momentum Strength: Measure the oscillator's distance from zero within the -100 to +100 range to quantify momentum magnitude
→ Trend Consistency: Monitor the oscillator's path for sustained directional movement without frequent zero-line crossings
→ Reversal Detection: Watch for oscillator divergence from price and deceleration of movement when approaching extreme zones
2/ Signal Generation Strategies
Depending on your trading approach, multiple signal strategies can be employed:
Trend Following Signals:
Enter long positions when the oscillator crosses above zero
Enter short positions when the oscillator crosses below zero
Add to positions on pullbacks while maintaining the overall trend direction
Countertrend Signals:
Look for potential reversals when the oscillator reaches extreme zones (±95)
Enter contrary positions when momentum shows signs of exhaustion
Use oscillator divergence with price as additional confirmation
Momentum Shift Signals:
Enter positions when oscillator changes direction after establishing a trend
Exit positions when oscillator direction reverses against your position
Scale position size based on oscillator strength percentage
3/ Timeframe Optimization
The indicator can be effectively applied across different timeframes with these considerations:
Lower Timeframes (1-15min):
Use Scalping or Day Trading presets
Focus on quick momentum shifts and zero-line crossings
Be cautious of noise in extreme market conditions
Medium Timeframes (30min-4h):
Use Default or Swing Trading presets
Look for established trends and potential reversal zones
Combine with support/resistance analysis for entry/exit precision
Higher Timeframes (Daily+):
Use Position Trading or Trend Following presets
Focus on major trend identification and long-term positioning
Use extreme zones for position management rather than immediate reversals
🟢 Pro Tips
Price Momentum Period:
→ Lower values (5-7) increase sensitivity to minor price fluctuations but capture more market noise
→ Higher values (10-16) emphasize sustained momentum shifts at the cost of delayed response
→ Adjust based on your timeframe (lower for shorter timeframes, higher for longer timeframes)
Oscillator Filter Period:
→ Lower values (80-120) produce more frequent directional changes and earlier response to momentum shifts
→ Higher values (200-300) filter out shorter-term fluctuations to highlight dominant market cycles
→ Match to your typical holding period (shorter holding time = lower filter values)
Multi-Timeframe Analysis:
→ Compare oscillator readings across different timeframes for confluence
→ Look for alignment between higher and lower timeframe signals
→ Use higher timeframe for trend direction, lower for earlier entries
Volatility-Adaptive Trading:
→ Use oscillator strength to adjust position sizing (stronger = larger)
→ Consider reducing exposure when oscillator reaches extreme zones
→ Implement tighter stops during periods of oscillator acceleration
Combination Strategies:
→ Pair with volume indicators for confirmation of momentum shifts
→ Use with support/resistance levels for strategic entry and exit points
→ Combine with volatility indicators for comprehensive market context
Change of Character FanChange of Character Fan
Overview
The Change of Character Fan is designed to help traders detect shifts (changes of character) in market direction and sentiment before they become fully visible through traditional candlestick analysis. Instead of relying solely on the shape or close of candlesticks, this indicator offers a direct, real-time look at the internal price action occurring within a single bar. This visibility into intrabar dynamics can potentially allow traders to enter or exit trades earlier, minimize false signals, and reduce their dependence on multiple lower-timeframe charts.
How it Works:
The indicator plots a "fan" consisting of five distinct slope lines within the current bar. Each line represents the internal trend of price movement based on user-defined lower timeframe data intervals.
By default, these intervals are set to 3, 5, 8, 13, and 21 samples from 1-second timeframe data.
Each line only appears when it has collected the minimum required number of intrabar data points.
The fan lines use a progressive opacity scale (lighter to darker), visually highlighting the confidence level or probability of directional continuation within the current bar.
At the open of every new bar, the fan disappears completely and gradually reappears as new data is gathered, ensuring clarity and eliminating outdated signals.
Understanding the Mathematics: Linear Regression Model
This indicator is built around the concept of a linear regression model. Linear regression is a statistical technique used to model and analyze relationships between variables—in this case, time (independent variable) and price (dependent variable).
How Linear Regression Works:
Linear regression fits a straight line (called a "line of best fit") through a set of data points, minimizing the overall distance between each point and the line itself.
Mathematically, this is achieved by minimizing the squared differences (errors) between the observed values (actual prices) and the predicted values (prices on the line).
The linear model used here can be expressed in the form:
y = mx + b
where:
𝑦
y is the predicted price,
𝑥
x represents time (each data sample interval),
𝑚
m is the slope of the line, representing the direction and velocity of the trend,
𝑏
b is the intercept (the theoretical price when x=0).
Why a Linear Model is Beneficial in this Indicator:
Simplicity and Reliability: Linear regression is simple, robust, and widely accepted as a baseline predictive model. It requires minimal computational resources, providing instant updates in real-time trading conditions.
Immediate Directional Feedback: The slope derived from linear regression immediately communicates the directional tendency of recent price action. A positive slope indicates upward pressure, and a negative slope signals downward pressure.
Noise Reduction: Even when price fluctuations are noisy or erratic, linear regression summarizes overall direction clearly, making it easier to detect genuine directional shifts (change of character) rather than random price noise.
Intrabar Analysis: Traditional candlestick analysis relies on fully formed candles, potentially delaying signals. By using linear regression on very short-term (intrabar) data, traders can detect shifts in momentum more quickly, providing an earlier signal than conventional candle patterns alone.
Practical Application:
This indicator helps traders to visually identify:
Early Trend Reversals: Intrabar analysis reveals momentum shifts potentially signaling reversals before they become obvious on conventional candles.
Momentum Continuations: Confidence is gained when all lines in the fan are clearly pointing in the same direction, indicating strong intrabar conviction.
Reduced False Signals: Traditional candlestick signals (e.g., hammer candles) sometimes produce false signals due to intrabar noise. By looking directly into intrabar dynamics, traders gain better context on whether candle patterns reflect genuine directional change or merely noise.
Important Requirements and Recommendations:
Subscription Requirements:
A TradingView subscription that supports sub-minute data (e.g., 1-second or 5-second resolution) is strongly recommended.
If your subscription doesn't include this data granularity, you must use a 1-minute lower timeframe, significantly reducing responsiveness. In this scenario, it's best suited for a 15-minute or higher chart, adjusting intervals to shorter periods.
Live Data Essential:
Real-time market data subscription is essential for the accuracy and effectiveness of this indicator.
Using delayed data reduces responsiveness and weakens the indicator's primary advantage.
Recommended Settings for Different Chart Timeframes:
1-minute chart: Use 1-second lower timeframe intervals (default intervals: 3, 5, 8, 13, 21).
5-minute chart: Adjust to a 5- or 10-second lower timeframe, possibly reducing intervals to shorter periods (e.g., 3, 5, 8, 10, 12).
15-minute or higher charts: Adjust lower timeframe to 1-minute if granular data is unavailable, with reduced interval lengths to maintain responsiveness.
Conclusion:
The Change of Character Fan empowers traders with early insight into directional shifts within each candle, significantly enhancing reaction speed, signal accuracy, and reducing dependency on multiple charts. Built on robust linear regression mathematics, it combines clarity, responsiveness, and ease-of-use in a powerful intrabar analysis tool.
Trade smarter, see sooner, and react faster.
EMA6–EMA18 Trend Signal SystemThis is a dual-timeframe trend-following indicator designed for intraday traders.
It combines exponential moving averages (EMAs) from two timeframes:
1-hour EMA6 and EMA18 are used to define the major trend direction.
If EMA6 > EMA18 on the hourly chart, the background turns green (indicating an uptrend).
If EMA6 < EMA18, the background turns red (indicating a downtrend).
Entry signals are triggered only on the 15-minute chart:
A long signal appears when EMA6 crosses above EMA18 during an hourly uptrend.
A short signal appears when EMA6 crosses below EMA18 during an hourly downtrend.
Signal arrows are plotted directly on the chart:
Green triangle up = Long signal
Red triangle down = Short signal
Both EMA6 and EMA18 are plotted for visual reference.
This setup helps align lower timeframe entries with higher timeframe trend confirmation, offering traders more precise entry points and reducing noise.
—
The script is intended for use on 15-minute charts and works best in trending markets.
© All rights reserved. Author: hank552
Exponential Trend [AlgoAlpha]OVERVIEW
This script plots an adaptive exponential trend system that initiates from a dynamic anchor and accelerates based on time and direction. Unlike standard moving averages or trailing stops, the trend line here doesn't follow price directly—it expands exponentially from a pivot determined by a modified Supertrend logic. The result is a non-linear trend curve that starts at a specific price level and accelerates outward, allowing traders to visually assess trend strength, persistence, and early-stage reversal points through both base and volatility-adjusted extensions.
CONCEPTS
This indicator builds on the idea that trend-following tools often need dynamic, non-static expansion to reflect real market behavior. It uses a simplified Supertrend mechanism to define directional context and anchor levels, then applies an exponential growth function to simulate trend acceleration over time. The exponential growth is unidirectional and resets only when the direction flips, preserving trend memory. This method helps avoid whipsaws and adds time-weighted confirmation to trends. A volatility buffer—derived from ATR and modifiable by a width multiplier—adds a second layer to indicate zones of risk around the main trend path.
FEATURES
Exponential Trend Logic : Once a directional anchor is set, the base trend line accelerates using an exponential formula tied to elapsed bars, making the trend stronger the longer it persists.
Volatility-Adjusted Extension : A secondary band is plotted above or below the base trend line, widened by ATR to visualize volatility zones, act as soft stop regions or as a better entry point (Dynamic Support/Resistance).
Color-Coded Visualization : Clear green/red base and extension lines with shaded fills indicate trend direction and confidence levels.
Signal Markers & Alerts : Triangle markers indicate confirmed trend reversals. Built-in alerts notify users of bullish or bearish direction changes in real-time.
USAGE
Use this script to identify strong trends early, visually measure their momentum over time, and determine safe areas for entries or exits. Start by adjusting the *Exponential Rate* to control how quickly the trend expands—the higher the rate, the more aggressive the curve. The *Initial Distance* sets how far the anchor band is placed from price initially, helping filter out noise. Increase the *Width Multiplier* to widen the volatility zone for more conservative entries or exits. When the price crosses above or below the base line, a new trend is assumed and the exponential projection restarts from the new anchor. The base trend and its extension both shift over time, but only reset on a confirmed reversal. This makes the tool especially useful for momentum continuation setups or trailing stop logic in trending markets.
Moving Average Trend ToolsI. How M.A.T.T. Adds Value to the TradingView Community:
The "Moving Average Trend Tools" (M.A.T.T.) is a versatile Pine Script v6 indicator that empowers traders with clear trend analysis, reliable trade signals, and real-time insights. Its intuitive design and robust features make it a valuable addition to the TradingView Community Scripts by catering to traders of all levels. Here’s why it stands out:
Clear Trend Visualization: M.A.T.T. plots a moving average (MA) with dynamic coloring—green for rising, red for falling, and gray for flat—based on a user-defined lookback period. This simplifies trend interpretation, helping traders quickly assess market momentum.
Reliable Trade Signals : The script identifies price crossovers above or below the MA, plotting green circles for bullish crosses and red for bearish, confirmed on closed bars to prevent repainting. These signals guide entry and exit points for trend-following or reversal strategies.
Real-Time Extension Detection : M.A.T.T. calculates percentage price deviations from the MA, displaying real-time labels when thresholds (e.g., 6%) are exceeded. This highlights overextended moves, ideal for spotting reversals or pullbacks, with alerts to keep traders informed.
Extensive Customization : Traders can tailor the MA type (SMA, EMA, WMA, HMA), length, colors, line width, and label sizes. This flexibility supports diverse strategies across markets like stocks, forex, and crypto, from scalping to swing trading.
Automated Alerts : Alert conditions for crossovers and extensions integrate seamlessly with TradingView’s system, enabling traders to stay updated without constant chart monitoring.
M.A.T.T. combines trend analysis, signal generation, and overextension detection into a single, user-friendly tool. Its accessibility, reliability, and educational value for Pine Script learners make it a compelling contribution to the community.
II. What M.A.T.T. Does, How It Works, and Its Originality:
What It Does :
M.A.T.T. enhances trend analysis and trade decision-making through three core features:
Dynamic MA Visualization: Plots a customizable MA (SMA, EMA, WMA, or HMA) with trend-based coloring to reflect rising, falling, or flat market conditions.
Price Crossover Signals : Marks bullish (green circles) and bearish (red circles) crossovers, confirmed on closed bars, with alerts for trade opportunities.
Price Extension Labels : Displays real-time percentage deviations of price from the MA, with alerts when user-defined thresholds are breached, signaling potential reversals.
How It Works :
M.A.T.T. leverages Pine Script v6 for precise calculations and user-friendly outputs:
Inputs: Users select MA type, length, lookback period, colors, and thresholds for extensions, plus label styles and sizes for customization.
MA Calculation : A switch function computes the chosen MA (e.g., ta.ema(close, 21) for EMA). Trend direction is determined using ta.rising or ta.falling over the lookback period, coloring the MA accordingly.
Crossover Logic : Bullish crossovers (close > ma and close < ma ) and bearish crossovers (close < ma and close > ma ) are plotted as circles on confirmed bars (barstate.isconfirmed) to ensure reliability. Alerts trigger only on the first bar of a crossover.
Extension Logic : Percentage deviations are calculated as ((price - ma) / ma) * 100, using the high for above-MA extensions and low for below. Labels appear in real-time when thresholds are exceeded, with alerts on transitions to avoid noise.
Why It’s Original
M.A.T.T. distinguishes itself through a unique blend of features and thoughtful design:
All-in-One Design : It integrates dynamic MA coloring, non-repainting crossover signals, and real-time extension detection, addressing trend identification, trade signals, and overextension warnings in one tool—unlike most MA indicators that focus on a single aspect.
Real-Time Extension Labels : Displaying percentage deviations with customizable thresholds is a rare feature, ideal for volatile markets and not commonly found in standard scripts.
Non-Repainting Signals : Confirmed crossover signals enhance reliability for live trading, setting M.A.T.T. apart from less rigorous indicators.
Optimized Alert Condtions : Alerts trigger only on transitions (e.g., first bar of a crossover or extension), reducing noise and improving usability.
Visual and Functional Flexibility : Support for four MA types, extensive customization, and a clean interface (dynamic colors, tiny circles, clear labels) make it adaptable and user-friendly.
While MA plotting or crossovers exist elsewhere, M.A.T.T.’s seamless integration, real-time extension detection, alert conditions, and focus on reliability and customization create a distinctive, practical tool. Its balance of simplicity and sophistication makes it a unique asset for the TradingView community.