Chart Patterns (PRO) [ActiveQuants]Unlock the full potential of chart pattern trading with Chart Patterns (PRO) ! This advanced indicator goes beyond basic detection, offering a comprehensive suite of tools for serious traders. Automatically identify an extensive range of reversal and continuation patterns, complete with projected price targets , visually appealing pattern fills , and a sophisticated multi-status alert system .
How It Works
The indicator employs a sophisticated multi-stage process:
Precision Pivot Detection: At its heart, the indicator identifies significant swing highs and lows (pivot points) using an optimized internal period. These pivots are the fundamental building blocks for all pattern recognition. ( Users can toggle visibility of these pivots ).
Advanced Pattern Recognition Engine: Sequences of these pivot points are meticulously analyzed against a vast library of predefined geometric conditions to identify chart patterns. This includes checks for relative pivot heights/lows, slope analysis of trendlines, and ATR-based proportionality for patterns like Head & Shoulders.
Dynamic Status Tracking & Invalidation:
- Active: A pattern's initial structure is identified (e.g., two tops of a Double Top, or the converging trendlines of a Pennant). The pattern is developing.
- Confirmed: The pattern completes, and price breaks out/down from a key level (e.g., neckline, trendline) in the expected direction. Price targets are plotted upon confirmation.
- Invalidated: If price breaks out/down in the opposite direction of what's expected for an "Active" pattern, or if a new pivot forms that structurally compromises an "Active" Double Top/Bottom or Head & Shoulders before its confirmation, the pattern is marked "Invalid".
Price Target Projection: For confirmed patterns (excluding simple HH/LL structures), the indicator automatically calculates and plots potential price targets based on common technical analysis principles (e.g., pattern height projected from the breakout point).
█ DETECTED CHART PATTERNS
Chart Patterns (PRO) identifies a comprehensive list of 20 patterns, categorized for clarity:
I. Simple Market Structures:
Lower Low (LL): Indicates bearish pressure, potentially forming part of a larger downtrend.
Lower Low & Lower High (LL & LH): Stronger confirmation of a bearish trend.
Higher High (HH): Signals bullish strength, potentially part of an uptrend.
Higher High & Higher Low (HH & HL): Stronger confirmation of a bullish trend.
II. Reversal Patterns:
These patterns typically signal a potential end of the current trend and the beginning of a new one in the opposite direction.
Double Top (DT): Bearish reversal. Two distinct peaks at similar levels.
Double Bottom (DB): Bullish reversal. Two distinct troughs at similar levels.
Head and Shoulders (H&S): Bearish reversal. A central peak (head) flanked by two smaller peaks (shoulders).
Inverse Head and Shoulders (Inv H&S): Bullish reversal. A central trough (head) flanked by two smaller troughs (shoulders).
Rising Wedge From Uptrend (RW From UT): Bearish reversal. Converging trendlines with an upward slant during an uptrend.
Falling Wedge From Downtrend (FW From DT): Bullish reversal. Converging trendlines with a downward slant during a downtrend.
Bearish Ascending Triangle (Reversal): Bearish reversal. A horizontal resistance line with rising support, typically occurring after a downtrend.
Bullish Descending Triangle (Reversal): Bullish reversal. A horizontal support line with falling resistance, typically occurring after an uptrend.
III. Continuation Patterns:
These patterns typically suggest a temporary pause in the prevailing trend, after which the trend is likely to resume.
Rising Wedge From Downtrend (RW From DT): Bearish continuation. An upward-slanted consolidation during a downtrend.
Falling Wedge From Uptrend (FW From UT): Bullish continuation. A downward-slanted consolidation during an uptrend.
Bearish Pennant: Bearish continuation. A small symmetrical triangle (converging trendlines) after a sharp downward move.
Bullish Pennant: Bullish continuation. A small symmetrical triangle (converging trendlines) after a sharp upward move.
Bearish Flag: Bearish continuation. A short, rectangular consolidation (parallel trendlines, often upward sloping) after a sharp downward move.
Bullish Flag: Bullish continuation. A short, rectangular consolidation (parallel trendlines, often downward sloping) after a sharp upward move.
Bearish Descending Triangle: Bearish continuation. Horizontal support and a descending resistance line during a downtrend.
Bullish Ascending Triangle: Bullish continuation. Horizontal resistance and an ascending support line during an uptrend.
█ KEY FEATURES
- Automatic Price Target Projection:
Once a pattern is "Confirmed," a price target is automatically plotted on the chart.
Targets are calculated based on established technical methods, typically measuring the height of the pattern and projecting it from the breakout point.
Includes a label displaying the target price level. Toggle with Show Price Targets .
- Advanced Multi-Status Alerts:
Never miss an opportunity with highly configurable alerts.
Receive notifications when a pattern is:
- Developing (Active): Get an early heads-up.
- Confirmed: Act on breakout signals.
- Invalidated: Re-assess your strategy quickly.
Alerts automatically include the pattern type and its status (e.g., "Double Top - Confirmed ✅").
Additional contextual information included by default: Ticker Symbol, Chart Timeframe, Current Price, and Projected Target Price (for confirmed patterns).
Enable/disable all alerts via the Enable Alerts setting.
- Comprehensive Pattern Validation & Invalidation:
Patterns like Wedges, Triangles, Pennants, and Flags are monitored for breakouts. A breakout in the expected direction confirms the pattern; a breakout in the opposite direction invalidates it.
Double Tops/Bottoms and Head & Shoulders have pre-confirmation invalidation logic: if a new pivot forms that compromises the pattern's structure before the neckline breaks, the pattern is marked "Invalid". This helps filter out weaker setups.
ATR is used internally for proportional checks in patterns like Head & Shoulders, ensuring more reliable formations.
- Superior Visualizations:
Pattern Fills: Wedges, Triangles, Pennants, and Flags are visually enhanced with a semi-transparent fill between their trendlines, making them easy to spot.
Clear Necklines & Trendlines: Critical lines for patterns are drawn clearly.
Distinct Labels: Each pattern receives a main label (e.g., "H&S", "BullP"). Double Tops/Bottoms and H&S also get individual component labels (Top 1/2, Shoulder 1/Head/Shoulder 2).
Customizable Colors: Set distinct colors for bullish and bearish patterns.
- Pattern Display Control:
Toggle visibility for each of the 20 individual pattern types.
Filter displayed patterns by their status: All , Active , Confirmed , or Invalid .
Control historical depth with Show Last History (Bars) .
- Pivot Point Engine:
The indicator uses an optimized internal lookback period for robust pivot detection.
Optionally display these pivot high and low markers on your chart, with customizable colors.
█ USER INPUTS
Visibility and Common Styling
- Show Last History (Bars):
Number of recent bars the indicator will analyze and plot patterns on.
Default: 3000. Min: 10.
- Patterns (Visibility Filter):
Filters displayed patterns based on their status.
Options: All, Active, Confirmed, Invalid.
Default: All.
- Show Price Targets:
Toggles the display of calculated price targets for confirmed patterns.
Default: Enabled.
- Bearish Color:
Sets the color for bearish patterns and their components.
Default: Red.
- Bullish Color:
Sets the color for bullish patterns and their components.
Default: Green.
Pivot Points
- Show Pivot Highs:
Toggles the visibility of detected pivot high markers.
Default: Enabled.
- Show Pivot Lows:
Toggles the visibility of detected pivot low markers.
Default: Enabled.
- Pivot Highs Color:
Color for pivot high markers.
Default: #ff5252 (Reddish).
- Pivot Lows Color:
Color for pivot low markers.
Default: #089981 (Greenish).
Pattern Toggles (Grouped by Type)
- Simple Structures:
Lower Low (Default: Enabled)
Lower Low & Lower High (Default: Enabled)
Higher High (Default: Enabled)
Higher High & Higher Low (Default: Enabled)
- Reversal Patterns:
Double Tops (Default: Enabled)
Double Bottoms (Default: Enabled)
Head and Shoulders (Default: Enabled)
Inverse Head and Shoulders (Default: Enabled)
Rising Wedges From Uptrend (Default: Enabled)
Falling Wedges From Downtrend (Default: Enabled)
Bearish Ascending Triangles (Reversal context) (Default: Enabled)
Bullish Descending Triangles (Reversal context) (Default: Enabled)
- Continuation Patterns:
Rising Wedges From Downtrend (Default: Enabled)
Falling Wedges From Uptrend (Default: Enabled)
Bearish Pennants (Default: Enabled)
Bullish Pennants (Default: Enabled)
Bearish Flags (Default: Enabled)
Bullish Flags (Default: Enabled)
Bearish Descending Triangles (Continuation context) (Default: Enabled)
Bullish Ascending Triangles (Continuation context) (Default: Enabled)
Alerts
- Enable Alerts:
Master switch to enable or disable all alert notifications from this indicator.
Default: Enabled. ( Alert messages are pre-configured to include Pattern Type, Status, Symbol, Timeframe, Price, and Target Price when applicable and confirmed ).
█ UNDERSTANDING PATTERN INVALIDATION
Trendline Patterns (Wedges, Triangles, Pennants, Flags): An "Active" pattern is invalidated if price breaks its trendlines in the direction opposite to the expected breakout before a confirmation occurs. E.g., an Active Bullish Pennant is invalidated if price breaks below its lower trendline.
Neckline Patterns (Double Tops/Bottoms, H&S): An "Active" pattern can be invalidated before a neckline break if a new pivot point forms that violates the pattern's structural integrity.
Example (Double Top): If Top 1, Neckline (P5), and Top 2 form (Active status), but before price breaks below P5, a new swing low forms at or above P5, the Double Top is invalidated. This indicates a failure to break support and potential renewed strength.
█ ALERTS GUIDE
Add the " Chart Patterns (PRO) " indicator to your chart.
Ensure Enable Alerts is checked in the indicator settings.
In TradingView, click the "Alert" icon (clock) in the right toolbar or press ALT + A .
In the "Create Alert" dialog:
- Condition: Select " Chart Patterns (PRO) ".
- For the condition dropdown below it, choose " Any alert() function call ". This will trigger for any alert generated by the script.
- Interval: Choose whatever interval you want the alert to be triggered.
- Expiration: Choose the expiration date.
Customize your alert notification preferences (popup, email, webhook, etc.) and click " Create ".
You will now receive alerts for pattern status changes (Developing, Confirmed, Invalidated) with detailed information.
█ CONCLUSION
The Chart Patterns (PRO) indicator is an indispensable tool for traders aiming to optimize their workflow. By automatically identifying and drawing classical chart patterns, it eliminates the need for manual chart analysis, thereby enabling users to dedicate substantially less time to chart monitoring. Its comprehensive detection, coupled with actionable insights like price targets and a meticulous status tracking system with alerts, provides a significant analytical edge. Automate your pattern recognition and drawing, and concentrate on making informed trading decisions with enhanced efficiency.
█ IMPORTANT NOTES
⚠ Confirmation is Crucial: While "Active" patterns provide early warnings, always await "Confirmed" status (e.g., neckline/trendline breaks) and consider volume and broader market context.
⚠ Non-Repainting Logic: Pattern detection and status updates are based on confirmed price bars and pivot points. Once a pattern is fully formed and its status set (Active, Confirmed, Invalid), it will not repaint its historical state. Initial drawing of "Active" patterns extends to the current bar and updates dynamically.
⚠ Combine with Other Tools: No indicator is a standalone solution. Use Chart Patterns (PRO) in conjunction with other forms of analysis (e.g., fundamental analysis, other indicators, volume analysis) and robust risk management .
⚠ Historical Data: Ensure sufficient historical data on your chart for patterns to form and be detected accurately. The Show Last History (Bars) setting can manage this.
⚠ Lagging Nature: By their very definition, chart patterns are lagging indicators as they require a sequence of price action and several pivot points to complete their formation.
█ RISK DISCLAIMER
Trading involves substantial risk of loss and is not suitable for all investors. The Chart Patterns (PRO) indicator and its generated information are for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Chart patterns and projected targets indicate potential price movements based on historical tendencies but do not guarantee future results. Always conduct your own due diligence, consider multiple factors, and consult with a qualified financial advisor before making investment decisions. Past performance is not indicative of future results.
📈 Happy trading! 🚀
Indicators and strategies
Moving Volume-Weighted Avg Price, % Channel, BBsThis script includes:
- Moving Volume-Weighted Average Price line.
- User-defined % band above and below, very useful for "breakout" signals, and mentally adjusting to the magnitude of price swings when viewing an automatic scale on the price axis.
- Volume-Weighted Bollinger Bands, which are more sensitive to volume.
More detail:
- This is like TV's basic VWAP in concept, except the major flaw in that is that it has reset periods that you can't override, and the volume is cumulative until the next hard reset. The 'reset' is OK for securities trading, that resets every day anyway. But not for crypto - and not if/when securities trading goes 24/7. Also, the denominator accumulating over the entire period is also *not* OK, because then what is shown means something different as the day progresses - which kind of makes it useless. In other words, it starts out very sensitive to volume, and gets progressively more numb to it as they day progresses, and starts flattening out.
- This fixes both problems, by using a user-definable moving window for the average. Essentially combining SMA with volume-weighting.
- You may also find an invaluable trading aid, in the % bands above and below.
- What can optionally be shown is standard deviation bands, aka Bollinger bands. The advantage over regular BB is that it's volume-weighted. Since it is already calculated on a moving average, the period for the standard deviation has been shortened by default, and the magnitude increased, to better approximate regular Bollinger Bands - but it's still more responsive to volume.
Max Trend Points [BigBeluga]🔵 OVERVIEW
A clean and powerful tool for identifying major trend shifts and quantifying the strength of each move using dynamically calculated price extremes.
This indicator helps traders visualize the most significant trend changes by plotting trend direction lines and dynamically tracking the highest or lowest point within each trend leg. It’s ideal for identifying key price impulses and measuring their magnitude in real time.
🔵 CONCEPTS
Uses an adaptive trend-following logic based on volatility envelopes created from HMA of the price range (high - low).
Identifies trend direction and flips when price breaks above or below these dynamic envelopes.
Tracks swing highs and lows within the current trend leg to highlight trend extremes.
Calculates and displays the percentage gain or drop from trend start to trend peak/valley.
🔵 FEATURES
Trend Shift Detection:
Plots a colored trend line (uptrend or downtrend) that updates based on price action volatility.
Impulse Mapping:
Draws a dashed line between the point of trend change (close) and the current trend leg's extreme (highest high or lowest low).
Percentage Labeling:
Displays a floating label showing the exact percent change from the trend start to the current extreme.
Real-Time Adjustments:
As the trend progresses, the extreme point and the percent label update automatically to reflect new highs/lows.
🔵 HOW TO USE
Look for the trend color shift and circular marker to identify a new potential trend direction.
Use the dashed lines and percent label to evaluate the strength and potential maturity of each move.
Combine this tool with support/resistance levels or other indicators to identify confluence zones.
Adjust the "Factor" input to make the trend detection more or less sensitive depending on your timeframe.
🔵 CONCLUSION
Max Trend Points is an efficient visual indicator for understanding the structure and magnitude of trending moves. It provides essential feedback on how far a trend has traveled, where momentum may be peaking, and when a shift may be underway—all with real-time adaptability and clean presentation.
Volumetric Entropy IndexVolumetric Entropy Index (VEI)
A volume-based drift analyzer that captures directional pressure, trend agreement, and entropy structure using smoothed volume flows.
---
🧠 What It Does:
• Volume Drift EMAs : Shows buy/sell pressure momentum with adaptive smoothing.
• Dynamic Bands : Bollinger-style volatility wrappers react to expanding/contracting drift.
• Baseline Envelope : Clean structural white rails for mean-reversion zones or trend momentum.
• Background Shading : Highlights when both sides (up & down drift) are in agreement — green for bullish, red for bearish.
• Alerts Included : Drift alignment, crossover events, net drift shifts, and strength spikes.
---
🔍 What Makes It Different:
• Most volume indicators rely on bars, oscillators, or OBV-style accumulation — this doesn’t.
• It compares directional EMAs of raw volume to isolate real-time bias and acceleration.
• It visualizes the twisting tension between volume forces — not just price reaction.
• Designed to show when volatility is building inside the volume mechanics before price follows.
• Modular — every element is optional, so you can run it lean or fully loaded.
---
📊 How to Use It:
• Drift EMAs : Watch for one side consistently dominating — sharp spikes often precede breakouts.
• Bands : When they tighten and start expanding, it often signals directional momentum forming.
• Envelope Lines : Use as high-probability reversal or continuation zones. Bands crossing envelopes = potential thrust.
• Background Color : Green/red backgrounds confirm volume agreement. Can be used as a filter for other signals.
• Net Drift : Optional smoothed oscillator showing the difference between bullish and bearish volume pressure. Crosses above or below zero signal directional bias shifts.
• Drift Strength : Measures pressure buildup — spikes often correlate with large moves.
---
⚙️ Full Customization:
• Turn every layer on/off independently
• Modify all colors, transparencies, and line widths
• Adjust band width multiplier and envelope offset (%)
• Toggle bonus plots like drift strength and net baseline
---
🧪 Experimental Tools:
• Smoothed Net Drift trace
• Drift Strength signal
• Envelope lines and dynamic entropy bands with adjustable math
---
Built for signal refinement. Made to expose directional imbalance before the herd sees it.
Created by @Sherlock_Macgyver
Granville's 8 Rules Visualizer 🧠 Granville’s 8 Rules Indicator
I’ve created a Pine Script indicator that visually implements **Granville’s Eight Rules**, one of the foundational theories for price movement relative to a moving average (MA). This tool helps traders better time entries and exits based on momentum shifts and MA behavior.
---
### 📈 What is Granville’s Law?
Joseph Granville’s theory suggests that **price and moving average (typically SMA)** interactions produce **8 recurring signals**:
* **4 Buy signals** (B1–B4)
* **4 Sell signals** (S1–S4)
These rules help identify the beginning or continuation of bullish and bearish trends.
---
### 🔍 Indicator Logic
This indicator uses a simple 20-period SMA (modifiable) and tracks price action in relation to it. Each signal is drawn as a triangle with a label (`B1` to `B4` or `S1` to `S4`), based on the following rules:
#### ✅ Buy Signals:
* **B1**: Price crosses above a rising MA (classic breakout)
* **B2**: Price pulls back below a rising MA, then begins rising again
* **B3**: Price bounces off a falling MA
* **B4**: Price is above a rising MA but temporarily drops
#### ❌ Sell Signals:
* **S1**: Price crosses below a falling MA
* **S2**: Price pulls back above a falling MA, then starts dropping again
* **S3**: Price bounces down off a rising MA
* **S4**: Price is below a falling MA but temporarily rises
---
### 🛠 How to Use It:
1. **Trend Confirmation**: Use the moving average slope (rising or falling) as your trend filter.
2. **Entry Timing**: Look for Buy signals (B1–B4) in uptrends and Sell signals (S1–S4) in downtrends.
3. **Avoid Noise**: Combine with volume or volatility filters (e.g. ATR or squeeze) to eliminate weak setups.
4. **Customize**: Adjust the MA type or length to fit your market (e.g. EMA for crypto, SMA for FX).
---
### 💡 Example Strategies:
* Pair **B1 + rising volume** for early trend entries
* Use **B2/B4** for retracement-based entries
* Exit on **S3/S4** for profit taking or stop logic
Happy trading!
Super Stoch ScalperTheoretically, the higher the number, the stronger the signal.
However, in this mixed up world, the 1 and 2 seems stronger than the 4 at times. That's why I'm still working at McDonald's.
Number over candle = Short.
Number under candle = Long.
Best used for scalping.
God help you with your exits.
Daily Average 5m Candle SizeThis indicator measures the average size of each 5 min candle then works out the end of day average for you. Very important for profit targets and stops
Suvorov Pro SFP+Indicator: Logic-based Swing Failure Pattern (SFP)
What is the logic of my indicator based on and what makes it unique:
1. The indicator can calculate extreme candles that close with huge shadows and a small body and it works on any timeframe.
2. The indicator analyzes the volumes on which the desired bar was closed. This function is customizable. That is, you can build a search for signals according to your trading strategy, based on the number of volumes. What does this mean - you select the number of previous bars where the indicator calculates the average value and based on these numbers, you can set up: how many times the desired candle should be larger than the previous average volume.
3. Since SFP is based on the removal of important liquidity, the search for such situations occurs from swing structures (swing high/low). When these parameters are found on the chart (on history), the indicator draws the situation and shows where important liquidity was removed and why the trading situation appeared right now.
4. The indicator gives recommendations on possible takes and stops.
The structure of takes has a built-in logic for searching for previous swings to remove liquidity, as well as searching for imbalances to cover them (50 and 100%).
5. For TP (Take Profit): there are 3 TPthat can be adjusted to your trading strategy (Risk/Profit). For example: you always trade from 2 to 1 on the 1st Take, 3 to 1 on the second, 5 to 1 on the third: you can set all this in the indicator and all your targets will be detected by the indicator, taking into account the logic of searching for important ranges. If, for example, in your 3 to 1 range there are no important zones for TP, then the indicator writes that NaN (not found).
6. The indicator works on any timeframe.
7. The indicator has a built-in RSI logic, which comes as an additional function to the indicator. If this function is enabled, then trading situations are detected only when there is a divergence (from the swing point to the extreme bar that has formed).
5-Min Candle Ranges (Last 1000)Average candle size for 1000 candles. This indicators looks at the volatility of candles and averages the size of the candles.
US Growth Momentum Index (UGMI)US Growth Momentum Index (UGMI) is a macroeconomic indicator designed to reflect the current economic health of the United States. The index combines four key economic factors—Industrial Production (INDPRO), Retail Sales (RSAFS), Unemployment Rate (UNRATE), and the 10Y-2Y Yield Curve Spread—and aggregates them into a single line representing overall growth momentum.
The UGMI is based on Z-Score calculations for each of these components, helping to identify whether the U.S. economy is in an expansionary growth phase or a contractionary recession phase.
How to Read the UGMI:
Core Growth Line (Blue): This is the main line representing the aggregated growth momentum. It is calculated using the Z-scores of the key economic indicators.
0 Line: The 0 line represents the neutral zone. If the UGMI is above the 0 line, it suggests that the economy is expanding. Below the 0 line indicates contraction or a potential recession.
Zones Above 1: When the UGMI is above 1, it represents a strong expansionary phase or boom, possibly signaling the top of a bull market or local peak.
Zones Below -1: When the UGMI falls below -1, it indicates a severe recession or significant contraction in the economy.
Color Coding:
Green: When the UGMI is above the 1 line, the background turns green, indicating a strong growth phase.
Red: When the UGMI is below -1, the background turns red, representing a recession or significant economic downturn.
This indicator helps traders and investors to understand whether the economy is growing or contracting, and is especially useful for identifying potential market tops or turning points.
Liquidity Sweep DetectorThe Liquidity Sweep Detector represents a technical analysis tool specifically designed to identify market microstructure patterns typically associated with institutional trading activity. According to Harris (2003), institutional traders frequently employ tactics where they momentarily break through price levels to trigger stop orders before redirecting the market in the opposite direction. This phenomenon, commonly referred to as "stop hunting" or "liquidity sweeping," constitutes a significant aspect of institutional order flow analysis (Osler, 2003). The current implementation provides retail traders with a means to identify these patterns, potentially aligning their trading decisions with institutional movements rather than becoming victims of such strategies.
Osler's (2003) research documents how stop-loss orders tend to cluster around significant price levels, creating concentrations of liquidity. Taylor (2005) argues that sophisticated institutional participants systematically exploit these liquidity clusters by inducing price movements that trigger these orders, subsequently profiting from the ensuing price reaction. The algorithmic detection of such patterns involves several key processes. First, the indicator identifies swing points—local maxima and minima—through comparison with historical price data within a definable lookback period. These swing points correspond to what Bulkowski (2011) describes as "significant pivot points" that frequently serve as liquidity zones where stop orders accumulate.
The core detection algorithm utilizes a multi-stage process to identify potential sweeps. For high sweeps, it monitors when price exceeds a previous swing high by a specified threshold percentage, followed by a bearish candle that closes below the original swing high level. Conversely, for low sweeps, it detects when price drops below a previous swing low by the threshold percentage, followed by a bullish candle closing above the original swing low. As noted by Lo and MacKinlay (2011), these price patterns often emerge when large institutional players attempt to capture liquidity before initiating significant directional moves.
The indicator maintains historical arrays of detected sweep events with their corresponding timestamps, enabling temporal analysis of market behavior following such events. Visual elements include horizontal lines marking sweep levels, background color highlighting for sweep events, and an information table displaying active sweeps with their corresponding price levels and elapsed time since detection. This visualization approach allows traders to quickly identify potential institutional activity without requiring complex interpretation of raw price data.
Parameter customization includes adjustable lookback periods for swing point identification, sweep threshold percentages for signal sensitivity, and display duration settings. These parameters allow traders to adapt the indicator to various market conditions and timeframes, as markets demonstrate different liquidity characteristics across instruments and periods (Madhavan, 2000).
Empirical studies by Easley et al. (2012) suggest that retail traders who successfully identify and act upon institutional liquidity sweeps may achieve superior risk-adjusted returns compared to conventional technical analysis approaches. However, as cautioned by Chordia et al. (2008), such patterns should be considered within broader market context rather than in isolation, as their predictive value varies significantly with overall market volatility and liquidity conditions.
References:
Bulkowski, T. (2011). Encyclopedia of Chart Patterns (2nd ed.). John Wiley & Sons.
Chordia, T., Roll, R., & Subrahmanyam, A. (2008). Liquidity and market efficiency. Journal of Financial Economics, 87(2), 249-268.
Easley, D., López de Prado, M., & O'Hara, M. (2012). Flow Toxicity and Liquidity in a High-frequency World. The Review of Financial Studies, 25(5), 1457-1493.
Harris, L. (2003). Trading and Exchanges: Market Microstructure for Practitioners. Oxford University Press.
Lo, A. W., & MacKinlay, A. C. (2011). A Non-Random Walk Down Wall Street. Princeton University Press.
Madhavan, A. (2000). Market microstructure: A survey. Journal of Financial Markets, 3(3), 205-258.
Osler, C. L. (2003). Currency Orders and Exchange Rate Dynamics: An Explanation for the Predictive Success of Technical Analysis. Journal of Finance, 58(5), 1791-1820.
Taylor, M. P. (2005). Official Foreign Exchange Intervention as a Coordinating Signal in the Dollar-Yen Market. Pacific Economic Review, 10(1), 73-82.
OFC - Position Clusters🧭 OFC – Position Clusters ATS-edition
Visualize where traders are positioning — and where they’re unwinding.
The OFC – Position Clusters indicator is a precision profiling tool for crypto markets, designed to highlight zones of potential position buildup and liquidation based on Open Interest Delta and a proportional model of Volume Delta.
This script reveals directional intent at key price levels by tracking where open interest and volume converge.
It offers an intuitive histogram-based view to expose:
📈 Long Open Clusters (green): zones where aggressive buying and new long positions dominate
📉 Short Open Clusters (red): areas of dominant short interest
📤 Long Close Clusters (purple): long-side liquidation zones
📥 Short Close Clusters (aqua): short unwinds or short squeeze exits
🔍 Use Cases: See the Story Behind the Price
🪤 Detect Trapped Traders: Spot clusters where aggressive longs/shorts built positions — only to have price reverse. These zones often lead to squeezes or forced exits.
📊 Identify Passive Accumulation: Long clusters near range lows (without price breakout) may signal stealth accumulation ahead of a move.
📈 Confirm Breakouts with Position Flow: Watch for open clusters shifting with price to validate directional conviction.
🧨 Fade Exhaustion Moves: Dense closing clusters into key resistance/support may signal end-of-move behavior or late chasers.
🛠 Key Features:
🕒 Time Window Control – Analyze any custom period, from minutes to weeks
📊 Histogram Resolution Selector – Choose your level of detail
🔄 Live vs Static Mode – Toggle real-time updates for intraday or historical reviews
📐 Profile Offset Slider – Shift the visualization away from price bars for clarity
🪲 Built-in Debug Panel – View parameters and time diagnostics in one place
Use this indicator to uncover market footprints left by large participants — not just where price moved, but how traders positioned within it.
Uber TDFI - Trend Direction & Force Index [UTS]The TDFI indicator is a highly precise and faithful adaptation of Mladen's well-known Trend Direction Force Index (TDFT), originally developed in MQ4 format and published on Forex-Station. This TradingView implementation has been meticulously crafted to mirror the exact behavior and calculation logic of the original, ensuring that users experience the same accuracy and analytical depth that made the MQ4 version widely respected among professional traders.
What sets TDFI apart from other trend indicators is its robust foundation and flexibility:
Authentic Calculation Method: Unlike simplified or reinterpreted versions, this script stays true to Mladen’s original computation method, delivering consistent results aligned with his vision of trend force analysis.
26 Moving Average Options: TDFI incorporates a comprehensive selection of 26 moving average types, allowing traders to tailor the trend detection mechanism to suit various market conditions and personal trading styles. This level of configurability is rarely seen and provides a substantial edge in both backtesting and live decision-making.
Advanced Smoothing Capabilities: The indicator supports quadratic smoothing and includes adjustable phase and smooth parameters, further enhancing signal clarity and responsiveness. These features replicate the full feature set of the original MQ4 version, offering granular control over the indicator’s behavior.
TDFI is designed for traders who prioritize precision, adaptability, and analytical fidelity. Whether you are building a new strategy or enhancing an existing one, this tool offers the depth and reliability required for serious technical analysis.
Trend Methods
Trend-determining method offers 26 high quality Moving averages to choose.
"SMA", Simple Moving Average, R. H. Hooker, 1901
"EMA", Exponential Moving Average, P. N. Haurlan, early 1960s
"MDMA", McGinley Dynamic MA, John R. McGinley, 1990s
"DSEMA", Double Smoothed EMA, William Blau, year unknown
"DEMA", Double EMA, Patrick G. Mulloy, 1994
"TEMA", Triple EMA, Patrick G. Mulloy, 1994
"WMA", Weighted MA, Author and year unknown
"PWMA", Parabolic Weighted MA, Author and year unknown
"VWMA", Volume Weighted MA, Author and year unknown
"HULL", Hull MA, Alan Hull, 2005, year unknown
"TMA", Triangular MA, Author and year unknown
"B2P", Two Pole Ehlers Butterworth, John F. Ehlers, 2004
"S2P", Two Pole Ehlers Smoother, John F. Ehlers, year unknown
"S3P", Three Pole Ehlers Smoother, John F. Ehlers, year unknown
"SINE", Sine Weighted MA, Author and year unknown
"LINREG", Linear Regression Value (LSMA), Author and year unknown
"ILINREG", Integral of Linear Regression Slope, Author and year unknown
"NLMA", Non Lag MA, Author and year unknown
"ZLMA", Zero Lag MA, Author and year unknown
"SMOOTHER", Smoother, Author and year unknown
"SSM", Super Smoother, John F. Ehlers, year unknown
"ALMA", Arnaud Legoux MA, Arnaud Legoux, year unknown
"KAMA", Kaufman Adaptive MA, Perry J. Kaufman, 1998
"FRAMA", Fractal MA, John F. Ehlers, year unknown
"RMA", Running MA, J. Welles Wilder Jr., 1978
"JMA", Jurik Moving Average, Mark Jurik, year unknown
Signals
The indicator displays buy/sell signals on trigger-line cross, optionally on zero line cross.
Long Signal
Short Signal
Alerts
Each chart signal can trigger an alert with the same name. To avoid multiple alerts being triggered within a single candle, it is recommended to wait for the candle to close and use the 'Once Per Bar Close' setting.
Long Signal
Short Signal
About
Name: Uber TDFI - Trend Direction & Force Index
Created: 2025/04/02
PineScript: v6
Uber TDFI - Lite: Trend Direction & Force Index [UTS]The TDFI indicator is a highly precise and faithful adaptation of Mladen's well-known Trend Direction Force Index (TDFT), originally developed in MQ4 format and published on Forex-Station. This TradingView implementation has been meticulously crafted to mirror the exact behavior and calculation logic of the original, ensuring that users experience the same accuracy and analytical depth that made the MQ4 version widely respected among professional traders.
What sets TDFI apart from other trend indicators is its robust foundation and flexibility:
Authentic Calculation Method: Unlike simplified or reinterpreted versions, this script stays true to Mladen’s original computation method, delivering consistent results aligned with his vision of trend force analysis.
26 Moving Average Options: TDFI incorporates a comprehensive selection of 26 moving average types, allowing traders to tailor the trend detection mechanism to suit various market conditions and personal trading styles. This level of configurability is rarely seen and provides a substantial edge in both backtesting and live decision-making.
Advanced Smoothing Capabilities: The indicator supports quadratic smoothing and includes adjustable phase and smooth parameters, further enhancing signal clarity and responsiveness. These features replicate the full feature set of the original MQ4 version, offering granular control over the indicator’s behavior.
TDFI is designed for traders who prioritize precision, adaptability, and analytical fidelity. Whether you are building a new strategy or enhancing an existing one, this tool offers the depth and reliability required for serious technical analysis.
Trend Methods
Trend-determining method offers 26 high quality Moving averages to choose.
"SMA", Simple Moving Average, R. H. Hooker, 1901
"EMA", Exponential Moving Average, P. N. Haurlan, early 1960s
"MDMA", McGinley Dynamic MA, John R. McGinley, 1990s
"DSEMA", Double Smoothed EMA, William Blau, year unknown
"DEMA", Double EMA, Patrick G. Mulloy, 1994
"TEMA", Triple EMA, Patrick G. Mulloy, 1994
"WMA", Weighted MA, Author and year unknown
"PWMA", Parabolic Weighted MA, Author and year unknown
"VWMA", Volume Weighted MA, Author and year unknown
"HULL", Hull MA, Alan Hull, 2005, year unknown
"TMA", Triangular MA, Author and year unknown
"B2P", Two Pole Ehlers Butterworth, John F. Ehlers, 2004
"S2P", Two Pole Ehlers Smoother, John F. Ehlers, year unknown
"S3P", Three Pole Ehlers Smoother, John F. Ehlers, year unknown
"SINE", Sine Weighted MA, Author and year unknown
"LINREG", Linear Regression Value (LSMA), Author and year unknown
"ILINREG", Integral of Linear Regression Slope, Author and year unknown
"NLMA", Non Lag MA, Author and year unknown
"ZLMA", Zero Lag MA, Author and year unknown
"SMOOTHER", Smoother, Author and year unknown
"SSM", Super Smoother, John F. Ehlers, year unknown
"ALMA", Arnaud Legoux MA, Arnaud Legoux, year unknown
"KAMA", Kaufman Adaptive MA, Perry J. Kaufman, 1998
"FRAMA", Fractal MA, John F. Ehlers, year unknown
"RMA", Running MA, J. Welles Wilder Jr., 1978
"JMA", Jurik Moving Average, Mark Jurik, year unknown
Signals
The indicator displays buy/sell signals on trigger-line cross, optionally on zero line cross.
Long Signal
Short Signal
Alerts
Each chart signal can trigger an alert with the same name. To avoid multiple alerts being triggered within a single candle, it is recommended to wait for the candle to close and use the 'Once Per Bar Close' setting.
Long Signal
Short Signal
Lite Version Constraints
The 'Lite' version keeps things easy, focused on forex and EUR/USD.
About
Name: Uber TDFI - Lite: Trend Direction & Force Index
Created: 2025/04/02
PineScript: v6
Functionally Weighted Moving AverageOVERVIEW
An anchor-able moving average that weights historical prices with mathematical curves (shaping functions) such as Smoothstep , Ease In / Out , or even a Cubic Bézier . This level of configurability lends itself to more versatile price modeling, over conventional moving averages.
SESSION ANCHORS
Aside from VWAP, conventional moving averages do not allow you to use the first bar of each session as an anchor. This can make averages less useful near the open when price is sufficiently different from yesterdays close. For example, in this screenshot the EMA (blue) lags behind the sessionally anchored FWMA (yellow) at the open, making it slower to indicate a pivot higher.
An incrementing length is what makes a moving average anchor-able. VWAP is designed to do this, indefinitely growing until a new anchor resets the average (which is why it doesn't have a length parameter). But conventional MA's are designed to have a set length (they do not increment). Combining these features, the FWMA treats the length like a maximum rather than a set length, incrementing up to it from the anchor (when enabled).
Quick aside: If you code and want to anchor a conventional MA, the length() function in my UtilityLibrary will help you do this.
Incrementing an averages length introduces near-anchor volatility. For this reason, the FWMA also includes an option to saturate the anchor with the source , making values near the anchor more resistant to change. The following screenshot illustrates how saturation affects the average near the anchor when disabled (aqua) and enabled (fuchsia).
AVERAGING MATH
While there's nothing special about the math, it's worth documenting exactly how the average is affected by the anchor.
Average = Dot Product / Sum of Weights
Dot Product
This is the sum of element-wise multiplication between the Price and Weight arrays.
Dot Product = Price1 × Weight1 + Price2 × Weight2 + Price3 × Weight3 ...
When the Price and Weight arrays are equally sized (aka. the length is no longer incrementing from the anchor), there's a 1-1 mapping between Price and Weight indices. Anchoring, however, purges historical data from the Price array, making it temporarily smaller. When this happens, a dot product is synthesized by linearly interpolating for proportional indices (rather than a 1-1 mapping) to maintain the intended shape of weights.
Synthetic Dot Product = FirstPrice × FirstWeight + ... MidPrice × MidWeight ... + LastPrice × LastWeight
Sum of Weights
Exactly what it sounds like, the sum of weights used by the dot product operation. The sum of used weights may be less than the sum of all weights when the dot product is synthesized.
Sum of Weights = Weight1 + Weight2 + Weight3 ...
CALCULATING WEIGHTS
Shaping functions are mathematical curves used for interpolation. They are what give the Functionally Weighted Moving Average its name, and define how each historical price in the look back period is weighted.
The included shaping functions are:
Linear (conventional WMA)
Smoothstep (S curve)
Ease In Out (adjustable S curve)
Ease In (first half of Ease In Out)
Ease Out (second half of Ease In Out)
Ease Out In (eases out and then back in)
Cubic Bézier (aka. any curve you want)
In the following screenshot, the only difference between the three FWMA's is the shaping function (Ease In, Ease In Out, and Ease Out) illustrating how different curves can influence the responsiveness of an average.
And here is the same example, but with anchor saturation disabled .
ADJUSTING WEIGHTS
Each function outputs a range of values between 0 and 1. While you can't expand or shrink the range, you can nudge it higher or lower using the Scalar . For example, setting the scalar to -0.2 remaps to , and +0.2 remaps to . The following screenshot illustrates how -0.2 (lightest blue) and +0.2 (darkest blue) affect the average.
Easing functions can be further adjusted with the Degree (how much the shaping function curves). There's an interactive example of this here and the following illustrates how a degrees 0, 1, and 20 (dark orange, orange, and light orange) affect the average.
This level of configurability completely changes how a moving average models price for a given length, making the FWMA extremely versatile.
INPUTS
You can configure:
Length (how many historical bars to average)
Source (the bar value to average)
Offset (horizontal offset of the plot)
Weight (the shaping function)
Scalar (how much to adjust each weight)
Degree (how much to ease in / out)
Bézier Points (controls shape of Bézier)
Divisor & Anchor parameters
Style of the plot
BUT ... WHY?
We use moving averages to anticipate trend initialization, continuation, and termination. For a given look back period (length) we want the average to represent the data as accurately and smoothly as possible. The better it does this, the better it is at modeling price.
In this screenshot, both the FWMA (yellow) and EMA (blue) have a length of 9. They are both smooth, but one of them more accurately models price.
You wouldn't necessarily want to trade with these FWMA parameters, but knowing it does a better job of modeling price allows you to confidently expand the model to larger timeframes for bigger moves. Here, both the FWMA (yellow) and EMA (blue) have a length of 195 (aka. 50% of NYSE market hours).
INSPIRATION
I predominantly trade ETF derivatives and hold the position that markets are chaotic, not random . The salient difference being that randomness is entirely unpredictable, and chaotic systems can be modeled. The kind of analysis I value requires a very good pricing model.
The term "model" sounds more intimidating than it is. Math terms do that sometimes. It's just a mathematical estimation . That's it. For example, a regression is an "average regressing" model (aka. mean reversion ), and LOWESS (Locally Weighted Scatterplot Smoothing) is a statistically rigorous local regression .
LOWESS is excellent for modeling data. Also, it's not practical for trading. It's computationally expensive and uses data to the right of the point it's averaging, which is impossible in realtime (everything to the right is in the future). But many techniques used within LOWESS are still valuable.
My goal was to create an efficient real time emulation of LOWESS. Specifically I wanted something that was weighted non-linearly, was efficient, left-side only, and data faithful. Incorporate trading paradigms (like anchoring) and you get a Functionally Weighted Moving Average.
The formulas for determining the weights in LOWESS are typically chosen just because they seem to work well. Meaning ... they can be anything, and there's no justification other than "looks about right". So having a variety of functions (aka. kernels) for the FWMA, and being able to slide the weight range higher or lower, allows you to also make it "look about right".
William Cleveland, prominent figure in statistics known for his contributions to LOWESS, preferred using a tri-cube weighting function. Using Weight = Ease Out In with the Degrees = 3 is comparable to this. Enjoy!
BooRSI📘 BooRSI – Multi-Dimensional RSI Framework with Advanced Visual Context
BooRSI is not just another RSI overlay. It is a multi-layered momentum framework that blends traditional RSI dynamics with a set of enhanced visual and structural components to help traders identify market imbalances, momentum shifts, and confluence zones across multiple timeframes. The indicator was designed to assist both discretionary and systematic traders in spotting RSI-based inflection points with greater clarity and context.
🔍 What Makes BooRSI Different?
Unlike standard RSI tools, BooRSI provides a modular visualization layer that lets you:
View RSI in both candle format and classic line mode, making intrabar momentum shifts visible.
Plot dynamic or static Fibonacci retracement levels directly on the RSI scale — useful for identifying confluence between RSI pullbacks and trend continuation zones.
Activate a weekly RSI vs weekly RSI MA crossover highlight, enabling long-term trend filters directly within the intraday or daily RSI window.
Apply subtle gradient band fills to the 30–50–70 zones to enhance zone memory without overwhelming the visual space.
Toggle a custom RSI Moving Average for smoother signal interpretation.
🧠 Underlying Logic & Structure
RSI Calculation: Classic RSI with adjustable OHLC input (default: close). When in “Candle Mode,” it uses RSI(Open), RSI(High), RSI(Low), RSI(Close) to form OHLC candles for intrabar detail.
RSI MA Filter: A secondary SMA (default: 14) smooths RSI values to assist in trend determination.
Fibonacci Mapping: Based on a fixed or dynamic length (default: 55), key Fib levels (38.2%, 50%, 61.8%, etc.) are plotted on the RSI window to map out overreaction or pullback zones.
Multi-Timeframe Context: The system calculates weekly RSI and its moving average, then uses background highlights to show whether the current trend aligns with the higher timeframe momentum direction.
⚙️ Default Settings
Parameter Default Description
RSI Length 14 Base RSI period
RSI MA Length 14 SMA on RSI for trend filtering
Fibonacci Lookback 55 Length for Fibo level projections
Show 30/50/70 Bands True Gradient fill zones for RSI decision zones
Show Fibonacci Levels False Optional – static/dynamic Fib lines on RSI
Candle Mode False Switch between RSI line and RSI OHLC candles
Fibo Style Toggle True Switch between solid, dashed or dotted lines
🎯 Best Use Cases
Momentum Filters: For trend-based strategies, use RSI-MA and HTF background for filter alignment.
Reversal Signals: Use RSI candles to spot strong rejection patterns inside extreme zones.
Mean-Reversion Timing: Combine Fibonacci levels with 30–70 bands to fine-tune entries.
⚠️ Important Note
This is a closed-source indicator due to proprietary RSI candle mapping logic and unique Fibonacci interaction methods. However, this description fully discloses how the tool works and how it adds value beyond a basic RSI implementation.
BooRSI – Çok Katmanlı RSI Çerçevesi
BooRSI, klasik RSI göstergesini birden fazla katmanda zenginleştirerek momentum değişimlerini, aşırı alım/aşırı satım bölgelerini ve farklı zaman dilimi trendlerini daha net görmenizi sağlar:
Çubuk ve Çizgi Modu: RSI’yı hem OHLC mumları hem de klasik çizgi olarak gösterebilir, böylece intrabar hareketleri de izlenebilir.
RSI MA Filtreleme: RSI üzerine uygulanan SMA (varsayılan 14) trend yönünü belirlemenize yardımcı olur.
Fibonacci Seviyeleri: RSI ölçeği üzerinde dinamik veya sabit Fibonacci retracement çizgileri (38.2%, 50%, 61.8% vb.) ekleyerek dönüş ve devam bölgelerini tespit eder.
Haftalık Konteks: Günlük veya daha kısa zaman diliminde, haftalık RSI ve haftalık RSI MA kesişimlerini arka plan rengiyle vurgular.
Gradient 30/50/70 Bantları: Karar bölgelerini boğucu olmayan degradelerle öne çıkarır.
Bu kapalı kaynak gösterge, RSI mum haritalama ve Fib etkileşimindeki özgün mantığı nedeniyle gizlidir; açıklama ise nasıl çalıştığını tam olarak ortaya koyar.
Market Sentiment Index US Top 40 [Pt]▮Overview
Market Sentiment Index US Top 40 [Pt} shows how the largest US stocks behave together. You pick one simple measure—High Low breakouts, Above Below moving average, or RSI overbought/oversold—and see how many of your chosen top 10/20/30/40 NYSE or NASDAQ names are bullish, neutral, or bearish.
This tool gives you a quick view of broad-market strength or weakness so you can time trades, confirm trends, and spot hidden shifts in market sentiment.
▮Key Features
► Three Simple Modes
High Low Index: counts stocks making new highs or lows over your lookback period
Above Below MA: flags stocks trading above or below their moving average
RSI Sentiment: marks overbought or oversold stocks and plots a small histogram
► Universe Selection
Top 10, 20, 30, or 40 symbols from NYSE or NASDAQ
Option to weight by market cap or treat all symbols equally
► Timeframe Choice
Use your chart’s timeframe or any intraday, daily, weekly, or monthly resolution
► Histogram Smoothing
Two optional moving averages on the sentiment bars
Markers show when the faster average crosses above or below the slower one
► Ticker Table
Optional on-chart table showing each ticker’s state in color
Grid or single-row layout with adjustable text size and color settings
▮Inputs
► Mode and Lookback
Pick High Low, Above Below MA, or RSI Sentiment
Set lookback length (for example 10 bars)
If using Above Below MA, choose the moving average type (EMA, SMA, etc.)
► Universe Setup
Market: NYSE or NASDAQ
Number of symbols: 10, 20, 30, or 40
Weights: on or off
Timeframe: blank to match chart or pick any other
► Moving Averages on Histogram
Enable fast and slow averages
Set their lengths and types
Choose colors for averages and markers
► Table Options
Show or hide the symbol table
Select text size: tiny, small, or normal
Choose layout: grid or one-row
Pick colors for bullish, neutral, and bearish cells
Show or hide exchange prefixes
▮How to Read It
► Sentiment Bars
Green means bullish
Red means bearish
Near zero means neutral
► Zero Line
Separates bullish from bearish readings
► High Low Line (High Low mode only)
Smooth ratio of highs versus lows over your lookback
► MA Crosses
Fast MA above slow MA hints rising breadth
Fast MA below slow MA hints falling breadth
► Ticker Table
Each cell colored green, gray, or red for bull, neutral, or bear
▮Use Cases
► Confirm Market Trends
Early warning when price makes highs but breadth is weak
Catch rallies when breadth turns strong while price is flat
► Spot Sector Rotation
Switch between NYSE and NASDAQ to see which group leads
Watch tech versus industrial breadth to track money flow
► Filter Trade Signals
Enter longs only when breadth is bullish
Consider shorts when breadth turns negative
► Combine with Other Indicators
Use RSI Sentiment with trend tools to spot overextended moves
Add volume indicators in High Low mode for breakout confirmation
► Timeframe Analysis
Daily for big-picture bias
Intraday (15-min) for precise entries and exits
FX Currency Strength DashboardFX Currency Strength Dashboard (1H, 2H, 8H, 5D, 30D)
The FX Currency Strength Dashboard is a multi-timeframe performance analyzer for the 8 major currencies:
EUR, USD, GBP, JPY, AUD, NZD, CAD, CHF.
It displays the relative strength or weakness of each currency over five timeframes:
1 Hour
2 Hours
8 Hours
5 Days
30 Days
🧮 How It Works
Performance Measurement:
For each currency, the indicator calculates the average rate of change (ROC) across 7 currency pairs that represent that currency (e.g. EURUSD, EURJPY, EURCHF, etc.).
Directional Adjustment:
For quote-side currencies (e.g. USD in EURUSD), the ROC is inverted (i.e., negative) to correctly reflect the base currency's strength.
Averaging:
The 7 ROC values per currency are averaged to produce a clean, comparable strength score for that currency in each timeframe.
Table Display:
A real-time table shows strength scores for all 8 currencies.
The strongest currency per timeframe is highlighted in green.
The weakest currency is highlighted in red.
Neutral or middle values appear in gray.
Updates:
The dashboard refreshes every 5 bars on the 1H chart to reduce load and improve performance.
CRT Finder (WanHakimFX)📈 Liquidity Grab Indicator with MTF Confluence & Alerts
🔍 Overview:
The Liquidity Grab Indicator is designed to detect precise moments when price sweeps liquidity — either by wicking below recent lows (bullish LQH) or above recent highs (bearish LQL) — followed by a clear rejection. It combines this logic with multi-timeframe confirmation and trend filters, making it a powerful tool for identifying high-probability reversal setups.
⚙️ How It Works:
✅ Liquidity Sweep Logic (LQH / LQL)
Bullish (LQH):
Current candle wicks below the previous low
Closes above the previous candle body
Confirms potential bullish reversal
Bearish (LQL):
Current candle wicks above the previous high
Closes below the previous candle body
Confirms potential bearish reversal
✅ Additional Conditions:
Must occur during London or New York sessions.
Requires trend confluence:
LQH = Price must be above SMMA 60/100/200
LQL = Price must be below SMMA 60/100/200
🧠 Multi-Timeframe Confluence:
The indicator scans for LQH/LQL sweeps across:
Daily
4H
1H
30M
15M
If a sweep occurs on any of these timeframes, an alert is triggered and a triangle marker appears on the chart for real-time visual confluence.
📊 Visual Features:
Green/Red labels for active timeframe sweeps.
Dotted wick lines to show liquidity zones from the previous candle.
Colored triangle markers for MTF sweep alerts.
🛠 Strategy Usage:
This indicator is best used as a trigger tool in a confluence-based strategy:
Use higher-timeframe MTF LQH/LQL markers for directional bias.
Wait for matching sweep on your entry timeframe (e.g., M1/M5).
Enter on confirmation candle or break of structure.
Target imbalances, FVGs, or previous highs/lows.
Risk-managed entries using sweep candle's high/low as stop.
📢 Alerts:
✅ Bullish Sweep (LQH) on any timeframe
✅ Bearish Sweep (LQL) on any timeframe
Uber Baseline V2 - NNFX Edition [UTS]Uber Baseline V2 – NNFX Edition
Uber Baseline V2 – NNFX Edition is a highly customizable baseline component designed for seamless integration into any trading system. Tailored specifically for the No Nonsense Forex (NNFX) methodology, it serves as a powerful trend filter—helping traders stay aligned with the dominant market direction while avoiding low-probability trades during consolidation.
Choose from 26 high-quality moving averages to find the perfect-fitting baseline for your trading style. Whether you're trend-following or building a complete NNFX stack, this tool adapts to your strategy with precision and clarity.
Usage
🧭 Baseline as Trend Filter
Direction: Trade only in the direction of the baseline. A long entry is only valid if the price closes above the baseline; a short entry only if it closes below.
As VP explains, the baseline “is making sure you are getting into trades that are trending, keeping you out of trades that aren’t trending” and signals exits when trends fail.
📈 Entry Rule (Baseline Cross + ATR)
Baseline Cross: An entry occurs only when price crosses and closes on the opposite side of the baseline.
ATR Zone: The close must lie within a ±1×ATR band around the baseline. In other words, price must close within “the 1 ATR zone of the baseline”.
Confirmations: All primary/secondary confirmation indicators and volume must agree with the move.
“An entry should occur when price crosses the baseline and the price is within the 1 ATR zone of the baseline and all of your indicators agreeing.”
🔁 Beyond-ATR & Pullback Rule
No Immediate Entry: If a baseline signal occurs while price is outside the ±1×ATR band, do not enter immediately. Treat this as a pullback scenario.
Wait for Retrace:
“WATCH for next candle” – enter only when the next bar closes back within the 1×ATR band around the baseline.
If price had closed beyond 1×ATR, only enter when a subsequent candle closes within 1×ATR of the baseline, with all indicators still aligned.
“If Price closes within 1×ATR of Baseline you can enter trade.”
⏳ One-Candle Rule
Filter Lag: If the primary confirmation (C1) fires but the secondary or volume indicators have not yet signaled, you may delay entry by one bar.
Second Chance Entry:
“You can wait one more candle after and enter if your secondary indicator and/or volume indicator have caught up and are giving you a signal.”
This delay is allowed only once per signal and all conditions must be met on the second candle.
Moving Averages
Trend-determining method offers 26 high quality Moving averages to choose.
"SMA", Simple Moving Average, R. H. Hooker, 1901
"EMA", Exponential Moving Average, P. N. Haurlan, early 1960s
"MDMA", McGinley Dynamic MA, John R. McGinley, 1990s
"DSEMA", Double Smoothed EMA, William Blau, year unknown
"DEMA", Double EMA, Patrick G. Mulloy, 1994
"TEMA", Triple EMA, Patrick G. Mulloy, 1994
"WMA", Weighted MA, Author and year unknown
"PWMA", Parabolic Weighted MA, Author and year unknown
"VWMA", Volume Weighted MA, Author and year unknown
"HULL", Hull MA, Alan Hull, 2005, year unknown
"TMA", Triangular MA, Author and year unknown
"B2P", Two Pole Ehlers Butterworth, John F. Ehlers, 2004
"S2P", Two Pole Ehlers Smoother, John F. Ehlers, year unknown
"S3P", Three Pole Ehlers Smoother, John F. Ehlers, year unknown
"SINE", Sine Weighted MA, Author and year unknown
"LINREG", Linear Regression Value (LSMA), Author and year unknown
"ILINREG", Integral of Linear Regression Slope, Author and year unknown
"NLMA", Non Lag MA, Author and year unknown
"ZLMA", Zero Lag MA, Author and year unknown
"SMOOTHER", Smoother, Author and year unknown
"SSM", Super Smoother, John F. Ehlers, year unknown
"ALMA", Arnaud Legoux MA, Arnaud Legoux, year unknown
"KAMA", Kaufman Adaptive MA, Perry J. Kaufman, 1998
"FRAMA", Fractal MA, John F. Ehlers, year unknown
"RMA", Running MA, J. Welles Wilder Jr., 1978
"JMA", Jurik Moving Average, Mark Jurik, year unknown
Signals
The indicator displays buy/sell signals, Beyond-ATR signals, and recommends when a pullback entry is possible.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
Alerts
Each chart signal can trigger an alert with the same name. To avoid multiple alerts being triggered within a single candle, it is recommended to wait for the candle to close and use the 'On Bar Close' setting.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
About
Name: Uber Baseline V2 - NNFX Edition
Created: 2025/05/09
PineScript: v6
Hybrid Swing/Day Alert System - PLATINUM EditionThis indicator is a complete trading assistant designed for crypto swing and day traders, built to identify high-probability long and short setups based on a multi-confirmation system.
Strategy Logic
The system scans and confirms entries only when 6 major confluences align:
1. EMA Trend: Price is above or below the EMA 9, 21, and 200 (bullish or bearish trend).
2. RSI Zone: RSI(14) is between 40-60 (ideal reversal zone).
3. Volume Confirmation: Volume is declining on pullback and then spikes.
4. Accumulation/Distribution: A/D line rising (for longs) or falling (for shorts).
5. Fibonacci Pullback Zone: Automatic detection of swing high/low and checks if price is inside the golden zone (0.5-0.618).
Built-In Alerts
- Long Setup Confirmed - Short Setup Confirmed - Setup Forming: Monitor
Conclusion
This script is ideal for disciplined traders who value confluence-based entries, risk/reward logic, and trend-aligned trades. Perfect for semi-automated trading via alerts or manual execution.6. Candle Pattern: Bullish (hammer, doji, engulfing) or Bearish (rejection wick, engulfing, doji).
Visual Features
- Long Entry: Green square
- Short Entry: Red triangle
- Pre-Signal Alert: Blue circle (confluence forming)
- Dynamic Table: Displays all 6 confirmations in real time
- Fibonacci Zones: Auto-plotted long/short retracement zones
- Customizable: Turn on/off alerts, overlays, and direction filters
Best Use Cases
- 4H/Daily: Trend confirmation
- 1H: Entry execution
- 15min: Scalping (use cautiously)
- Works great with BTC, ETH, SOL, XAU, and meme coins
Uber Baseline V2 - Lite: NNFX Edition [UTS]Uber Baseline V2 – NNFX Edition
Uber Baseline V2 – NNFX Edition is a highly customizable baseline component designed for seamless integration into any trading system. Tailored specifically for the No Nonsense Forex (NNFX) methodology, it serves as a powerful trend filter—helping traders stay aligned with the dominant market direction while avoiding low-probability trades during consolidation.
Choose from 26 high-quality moving averages to find the perfect-fitting baseline for your trading style. Whether you're trend-following or building a complete NNFX stack, this tool adapts to your strategy with precision and clarity.
Usage
🧭 Baseline as Trend Filter
Direction: Trade only in the direction of the baseline. A long entry is only valid if the price closes above the baseline; a short entry only if it closes below.
As VP explains, the baseline “is making sure you are getting into trades that are trending, keeping you out of trades that aren’t trending” and signals exits when trends fail.
📈 Entry Rule (Baseline Cross + ATR)
Baseline Cross: An entry occurs only when price crosses and closes on the opposite side of the baseline.
ATR Zone: The close must lie within a ±1×ATR band around the baseline. In other words, price must close within “the 1 ATR zone of the baseline”.
Confirmations: All primary/secondary confirmation indicators and volume must agree with the move.
“An entry should occur when price crosses the baseline and the price is within the 1 ATR zone of the baseline and all of your indicators agreeing.”
🔁 Beyond-ATR & Pullback Rule
No Immediate Entry: If a baseline signal occurs while price is outside the ±1×ATR band, do not enter immediately. Treat this as a pullback scenario.
Wait for Retrace:
“WATCH for next candle” – enter only when the next bar closes back within the 1×ATR band around the baseline.
If price had closed beyond 1×ATR, only enter when a subsequent candle closes within 1×ATR of the baseline, with all indicators still aligned.
“If Price closes within 1×ATR of Baseline you can enter trade.”
⏳ One-Candle Rule
Filter Lag: If the primary confirmation (C1) fires but the secondary or volume indicators have not yet signaled, you may delay entry by one bar.
Second Chance Entry:
“You can wait one more candle after and enter if your secondary indicator and/or volume indicator have caught up and are giving you a signal.”
This delay is allowed only once per signal and all conditions must be met on the second candle.
Moving Averages
Trend-determining method offers 26 high quality Moving averages to choose.
"SMA", Simple Moving Average, R. H. Hooker, 1901
"EMA", Exponential Moving Average, P. N. Haurlan, early 1960s
"MDMA", McGinley Dynamic MA, John R. McGinley, 1990s
"DSEMA", Double Smoothed EMA, William Blau, year unknown
"DEMA", Double EMA, Patrick G. Mulloy, 1994
"TEMA", Triple EMA, Patrick G. Mulloy, 1994
"WMA", Weighted MA, Author and year unknown
"PWMA", Parabolic Weighted MA, Author and year unknown
"VWMA", Volume Weighted MA, Author and year unknown
"HULL", Hull MA, Alan Hull, 2005, year unknown
"TMA", Triangular MA, Author and year unknown
"B2P", Two Pole Ehlers Butterworth, John F. Ehlers, 2004
"S2P", Two Pole Ehlers Smoother, John F. Ehlers, year unknown
"S3P", Three Pole Ehlers Smoother, John F. Ehlers, year unknown
"SINE", Sine Weighted MA, Author and year unknown
"LINREG", Linear Regression Value (LSMA), Author and year unknown
"ILINREG", Integral of Linear Regression Slope, Author and year unknown
"NLMA", Non Lag MA, Author and year unknown
"ZLMA", Zero Lag MA, Author and year unknown
"SMOOTHER", Smoother, Author and year unknown
"SSM", Super Smoother, John F. Ehlers, year unknown
"ALMA", Arnaud Legoux MA, Arnaud Legoux, year unknown
"KAMA", Kaufman Adaptive MA, Perry J. Kaufman, 1998
"FRAMA", Fractal MA, John F. Ehlers, year unknown
"RMA", Running MA, J. Welles Wilder Jr., 1978
"JMA", Jurik Moving Average, Mark Jurik, year unknown
Signals
The indicator displays buy/sell signals, Beyond-ATR signals, and recommends when a pullback entry is possible.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
Alerts
Each chart signal can trigger an alert with the same name. To avoid multiple alerts being triggered within a single candle, it is recommended to wait for the candle to close and use the 'On Bar Close' setting.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
Lite Version Constraints
The 'Lite' version keeps things easy, focused on forex and EUR/USD.
About
Name: Uber Baseline V2 – Lite: NNFX Edition
Created: 2025/05/09
PineScript: v6
MSTR mNAV IndicatorStrategy mNAV Indicator
Script contains hard-coded historic share counts and BTC holdings of Strategy Inc. ( NASDAQ:MSTR ). Using these, we derived the Bitcoin mNAV multiple for the company. The formula used in this script looks like the following:
mNAV = (Fully Diluted Shares Outstanding * NASDAQ:MSTR ) / (BTC holdings * BITSTAMP:BTCUSD )
This value appears in the Blue tag at the right hand side of the chart on the latest bar. In addition, the script displays mNAV layers below and above the normal ticker chart. These are computed by taking fixing a value for the mNAV (e.g. mNAV=3) and solving the equation above for the NASDAQ:MSTR price that would equate to having that mNAV.
The user is able to configure the number of said mNAV lines to draw but is limited from mNAV = 1 up to mNAV = 20.
Why is the script private?
This script includes data on the relative count of fully diluted shares for Strategy ( NASDAQ:MSTR ) that was manually determined by the author after going through countless hours of SEC disclosures. Since there is no publicly available repository for this information and the author would like to retain the right to make this available at a later date, the script is kept private.
Long Short dom📊 Long Short dom (VI+) — Custom Vortex Trend Strength Indicator
This indicator is a refined version of the Vortex Indicator (VI) designed to help traders identify trend direction, momentum dominance, and potential long/short opportunities based on VI+ and VI– dynamics.
🔍 What It Shows:
• VI+ (Green Line): Measures upward trend strength.
• VI– (Red Line): Measures downward trend strength.
• Histogram (optional): Displays the difference between VI+ and VI–, helping visualize which side is dominant.
• Background Coloring: Highlights bullish or bearish dominance zones.
• Zero Line: A visual baseline to enhance clarity.
• Highest/Lowest Active Lines: Real-time markers for the strongest directional signals.
⸻
🛠️ Inputs:
• Length: Vortex calculation period (default 14).
• Show Histogram: Enable/disable VI+–VI– difference bars.
• Show Trend Background: Toggle colored zones showing trend dominance.
• Show Below Zero: Decide whether to display values that fall below 0 (for advanced use).
⸻
📈 Strategy Insights:
• When VI+ crosses above VI–, it indicates potential long momentum.
• When VI+ crosses below VI–, it signals possible short pressure.
• The delta histogram (VI+ – VI–) helps you quickly see shifts in momentum strength.
• The background shading provides an intuitive visual cue to assess trend dominance at a glance.
⸻
🚨 Built-in Alerts:
• Bullish Cross: VI+ crosses above VI– → possible entry long.
• Bearish Cross: VI+ crosses below VI– → possible entry short.
⸻
✅ Ideal For:
• Trend-following strategies
• Identifying long/short bias
• Confirming entries/exits with momentum analysis
⸻
This tool gives you clean, real-time visual insight into trend strength and shift dynamics, empowering smarter trade decisions with clarity and confidence.