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! 🚀
Analisis Trend
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!
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
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
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
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.
Supertrend + Stochastic RSIThe Supertrend + Stochastic RSI indicator is designed for scalping and short-term trading, combining the trend-following power of the Supertrend with the momentum insights of the Stochastic RSI to generate reliable buy and sell signals. This indicator aims to reduce false signals by requiring confirmation from both trend direction and momentum, making it suitable for traders targeting quick, high-probability trades in fast-moving markets on lower timeframes (e.g., 1-minute to 15-minute charts).
How It Works
The indicator integrates two technical components to produce actionable signals:
Supertrend for Trend Direction:
The Supertrend, calculated with a default length of 10 and a factor of 3.0, identifies the prevailing trend. It plots a line above or below the price, turning green when the trend is bullish (price above Supertrend) and red when bearish (price below Supertrend). This helps traders stay aligned with the market’s direction, reducing trades against the trend.
Stochastic RSI for Momentum Confirmation:
The Stochastic RSI, computed over a 14-period RSI with 3-period smoothing for %K and %D lines, measures momentum. A buy signal is generated when the %K line crosses above the oversold level (default: 20), indicating potential upward momentum, while a sell signal occurs when %K crosses below the overbought level (default: 80), suggesting downward momentum.
Signal Generation
Signals are produced only when both conditions align, using the previous bar’s values to prevent repainting:
Buy Signal: The Stochastic RSI %K crosses above the oversold level, and the Supertrend confirms a bullish trend (price above Supertrend). Displayed as a green upward triangle below the bar.
Sell Signal: The Stochastic RSI %K crosses below the overbought level, and the Supertrend confirms a bearish trend (price below Supertrend). Displayed as a red downward triangle above the bar.
Range + VWAP + Gann Levels + ZL AMA + Gann Square Num# Multi-Strategy Market Analysis Indicator
## Overview
This comprehensive indicator combines several powerful technical analysis tools to help traders identify potential price movements, market trends, and key support/resistance levels. By integrating price range prediction, volume-weighted averages, adaptive moving averages, and Gann-based mathematical levels, this indicator provides a complete toolkit for market analysis.
## Components & How They Work
### 1. Range Calculator
**What it does:** Calculates the expected price range based on current volatility, useful for predicting potential price movements during a specific time period.
**How it works:**
- Uses the current price level and VIX (Volatility Index) to estimate how far the price might move in a given number of days
- Applies the square root of time principle (volatility grows with the square root of time)
- Displays upper and lower bounds of the expected price range
- Shows the calculation details in a convenient table
**How to use it:**
- Enter the current price level, VIX value, and number of days
- red line indicates potential resistance
- green line indicates potential support
- Useful for options trading, setting stop-loss levels, or preparing for upcoming market events
### 2. Gann Square Numbers
**What it does:** Identifies mathematically significant price levels based on square numbers.
**How it works:**
- Takes the square root of the current price
- Calculates the next 5 square numbers above the current price (upper levels)
- Calculates the 5 square numbers below the current price (lower levels)
- Draws these levels as horizontal lines on the chart
**How to use it:**
- Pink lines (upper levels) show potential resistance levels
- Blue lines (lower levels) show potential support levels
- These mathematical levels often coincide with significant market reactions
- Based on W.D. Gann's theory that price tends to respect mathematical square numbers
### 3. Zero Lag Adaptive Moving Average (AMA)
Bullish Scenario
Bearish Scenario
**What it does:** Provides a dynamic moving average that adapts to changing market conditions, reducing lag during trends while filtering noise during sideways markets.
**How it works:**
- Calculates an "Efficiency Ratio" that measures the directional movement relative to volatility
- Adjusts the smoothing factor based on market efficiency
- Uses a faster smoothing factor during trending markets and slower smoothing during sideways markets
- Background color changes to indicate the trend direction (green for uptrend, red for downtrend)
**How to use it:**
- When price is above the AMA line with green background: Strong uptrend
- When price is below the AMA line with red background: Strong downtrend
- Helpful for trend identification and potential entry/exit points
### 4. Gann Stepline Levels
**What it does:** Creates dynamic support and resistance levels based on multiple SMAs (Simple Moving Averages) of different lengths.
**How it works:**
- Calculates two key dynamic levels:
- Gann 50% Level: Average of 90 and 144-period SMAs
- Gann Level: Average of six different SMAs (90, 144, 180, 216, 240, 288)
- These levels adjust automatically as the market evolves
**How to use it:**
- Blue line (Gann 50% Level) acts as dynamic support in uptrends and resistance in downtrends
- Orange line (Gann Level) serves as a longer-term trend indicator
- Price interaction with these levels often indicates potential reversal or continuation points
### 5. Anchored VWAP (Volume-Weighted Average Price)
**What it does:** Shows the average price weighted by volume starting from a specific anchor point.
**How it works:**
- Calculates the average price weighted by volume from a chosen anchor period (Session, Day, Week, Month)
- Resets calculations at the beginning of each new period
- Shows where the current price is relative to the average trading price
**How to use it:**
- Price above VWAP: Bullish bias, buyers are in control
- Price below VWAP: Bearish bias, sellers are in control
- VWAP often acts as dynamic support/resistance level
- Institutional traders often use VWAP for order execution
## Key Benefits
- **Comprehensive Analysis:** Combines volatility-based, trend-following, volume-weighted, and mathematical approaches
- **Multi-timeframe Perspective:** Different components operate on various timeframes for a complete market view
- **Visual Clarity:** Color-coded lines and background help quickly identify market conditions
- **Customizable Components:** Range Calculator, VWAP, and Gann Square Numbers can be adjusted to fit your trading style
## How to Interpret When Used Together
- **Strong Trend Confirmation:** When AMA shows a trend and price respects the Gann Dynamic levels
- **Reversal Signals:** When price reaches the expected range bounds and encounters a Gann Square Number
- **High-Probability Zones:** Areas where multiple components show support/resistance at similar levels
- **Volatility Assessment:** Compare the expected range from the Range Calculator with the actual price movement
This indicator combines statistical, trend-following, and mathematical approaches to market analysis, providing traders with a well-rounded view of market conditions and potential price movements.
SuperTrade ST1 StrategyOverview
The SuperTrade ST1 Strategy is a long-only trend-following strategy that combines a Supertrend indicator with a 200-period EMA filter to isolate high-probability bullish trade setups. It is designed to operate in trending markets, using volatility-based exits with a strict 1:4 Risk-to-Reward (R:R) ratio, meaning that each trade targets a profit 4× the size of its predefined risk.
This strategy is ideal for traders looking to align with medium- to long-term trends, while maintaining disciplined risk control and minimal trade frequency.
How It Works
This strategy leverages three key components:
Supertrend Indicator
A trend-following indicator based on Average True Range (ATR).
Identifies bullish/bearish trend direction by plotting a trailing stop line that moves with price volatility.
200-period Exponential Moving Average (EMA) Filter
Trades are only taken when the price is above the EMA, ensuring participation only during confirmed uptrends.
Helps filter out counter-trend entries during market pullbacks or ranges.
ATR-Based Stop Loss and Take Profit
Each trade uses the ATR to calculate volatility-adjusted exit levels.
Stop Loss: 1× ATR below entry.
Take Profit: 4× ATR above entry (1:4 R:R).
This asymmetry ensures that even with a lower win rate, the strategy can remain profitable.
Entry Conditions
A long trade is triggered when:
Supertrend flips from bearish to bullish (trend reversal).
Price closes above the Supertrend line.
Price is above the 200 EMA (bullish market bias).
Exit Logic
Once a long position is entered:
Stop loss is set 1 ATR below entry.
Take profit is set 4 ATR above entry.
The strategy automatically exits the position on either target.
Backtest Settings
This strategy is configured for realistic backtesting, including:
$10,000 account size
2% equity risk per trade
0.1% commission
1 tick slippage
These settings aim to simulate real-world conditions and avoid overly optimistic results.
How to Use
Apply the script to any timeframe, though higher timeframes (1H, 4H, Daily) often yield more reliable signals.
Works best in clearly trending markets (especially in crypto, stocks, indices).
Can be paired with alerts for live trading or analysis.
Important Notes
This version is long-only by design. No short positions are executed.
Ideal for swing traders or position traders seeking asymmetric returns.
Users can modify the ATR period, Supertrend factor, or EMA filter length based on asset behavior.
NeuroTrendNeuroTrend is an advanced, self-adjusting trend analysis system that continuously adapts to changing market conditions using volatility-aware smoothing, momentum weighting, and intelligent trend classification. It provides real-time trend detection, confidence scoring, early reversal warnings, and slope projection, all delivered through a coaching dashboard and structured rule-based commentary system.
At its core, NeuroTrend uses two EMAs whose smoothing lengths change automatically based on current volatility, measured by the ATR relative to price, and momentum bias, measured by RSI displacement from the neutral level. These adaptive EMAs create a flexible baseline that adjusts to the pace of the market. From these EMAs, the system calculates angular slope and derives a slope power score, which reflects directional momentum weighted by volatility.
NeuroTrend classifies each bar into one of five market phases: Impulse, Cooling, Reversal Risk, Stall, or Neutral. This classification is based on slope strength, slope variability, and RSI behavior. Each phase offers specific context for whether to enter, continue, or avoid a position.
The indicator uses what is referred to as a neural memory engine, which is inspired by the idea of memory but is not a neural network or machine learning model. Instead, it is a statistical recalibration system that adjusts thresholds using recent ATR conditions and slope standard deviation. This allows the indicator to remain aligned with the current market environment without the need for manual tuning.
Although NeuroTrend is fully adaptive, it includes inputs for the base fast and slow EMAs. These inputs define the central anchor points around which the adaptive logic operates. This gives the trader the ability to control the default behavior of the indicator while still benefiting from real-time responsiveness to volatility and momentum.
To assess the strength of a trend, NeuroTrend computes a confidence score based on four elements: DMI trend strength, directional bias from DI+ and DI–, slope normalization, and volatility efficiency measured by ATR in relation to EMA distance. This score is used to inform alerts, commentary, and dashboard visualization.
The indicator also includes a slope projection engine that estimates near-term direction based on slope change and acceleration. This projection is scaled and clamped using a dynamic volatility factor to prevent unrealistic or unstable values.
Reversal and stall detection are built in. Reversal detection is based on slope collapsing, sign flipping, and RSI weakness. Stall detection is triggered when slope magnitude is low, RSI is flat, and ATR is compressed. These filters help prevent entries in low-quality or high-risk environments.
The system also includes AI-style commentary. This feature is not powered by machine learning or natural language processing. It is rule-based, using prioritized conditions to generate clear statements that reflect the current market state. Messages such as "Strong trend forming" or "Reversal risk rising" are created by predefined logic that adapts to the market.
A visual dashboard is provided on the chart. It displays the current phase, trend direction, slope score, confidence level, reversal status, stall condition, and projected slope angle. This helps traders interpret market behavior at a glance without scanning multiple indicators.
Alerts are triggered only when specific conditions are met: trend strength must be in the impulse phase, confidence must be high, and there must be no active reversal or stall conditions. This ensures alerts are reserved for high-quality setups with strong directional alignment.
Disclaimer:
This script is intended for educational and informational use only. It does not constitute financial advice. The author accepts no responsibility for any trading or investment decisions made using this tool. Always do your own research and consult a licensed financial advisor before making financial decisions.
LANZ Strategy 2.0🔷 LANZ Strategy 2.0 — London Breakout Confirmation with Structural Swing Protection
LANZ Strategy 2.0 is a structured trading system that leverages the last confirmed market direction before the London session to define directional bias and manage trades based on key structural swing levels. It is tailored for intraday traders looking to capitalize on early London volatility with built-in risk management and visual clarity.
🧠 Core Components:
Directional Confirmation (Pre-London Bias): Validates the last breakout or structural move from the 15-minute timeframe before 02:15 a.m. New York time (start of the London session), establishing the expected market direction.
Time-Based Execution: Executes potential entries strictly at 02:15 a.m. NY time, using market structure to support Long or Short bias.
Dynamic Swing-Based SL System: Allows user to select between three SL protection models: First Swing (most recent structural point) Second Swing (prior level) Total Coverage (includes both swings + extra buffer) This supports flexibility based on trader profile or market conditions.
Visual Risk Mapping: All SL and TP levels are clearly plotted.
End-of-Session Management: Positions are automatically evaluated for closure at 11:45 a.m. NY time. SL, TP, or manual close outcomes are labeled accordingly.
📊 Visual Features:
Labels for 1st and 2nd swing levels upon entry.
Dynamic lines projecting SL/TP levels toward the end of the session.
Session background coloring for Pre-London, Execution, and NY sessions.
Real-time percentage outcome labels (+2.00%, -1.00%, or net % at session end).
Automatic deletion of previous visuals on new entries for clean charting.
⚙️ How It Works:
Detects last structural breakout on the 15m timeframe before 02:15 a.m. NY.
On the 02:15 a.m. candle, executes a Long or Short logic entry.
Plots corresponding SL and TP based on selected swing model.
Monitors price action: If TP or SL is hit, labels it accordingly. If no exit is hit, trade closes manually at 11:45 a.m. NY with net result shown.
Optional logic to reverse entries if market structure breaks before execution.
🔔 Alerts:
Daily execution alert at 02:15 a.m. NY (prompting manual review or action).
Optional alert logic can be extended for SL/TP hits or structure breaks.
📝 Notes:
Designed for semi-automated or discretionary intraday trading.
Best used on Forex pairs or indices with strong London session behavior.
Adjustable parameters include session hours, swing SL type, and buffer settings.
Credits:
Developed by LANZ, this script combines time-based execution with dynamic structure protection, offering a disciplined framework for participating in the London session breakout with clear visuals and risk logic.
ICT iFVG Detector and Alert [by ote618]Description
This script detects ICT - fair value gaps (FVG) formed by price gaps between Candle 1 and Candle 3, then monitors the next 5 candles for an inverse fair value gap (iFVG).
What It Detects
Bullish FVG: When Candle 1 high is below Candle 3 low (BISI)
Bearish FVG: When Candle 1 low is above Candle 3 high (SIBI)
Once an FVG is detected, the script checks the next 5 candles:
A Bullish FVG becomes a Bearish IFVG if price closes below Candle 1 high
A Bearish FVG becomes a Bullish IFVG if price closes above Candle 1 low
Only the first bar that validates the FVG triggers the transition to an IFVG.
Visual Output
A shaded rectangle is plotted to mark the original FVG zone (from Candle 1 to Candle 3)
Color-coded:
Red for Bearish IFVG (validated Bullish IG)
Green for Bullish IFVG (validated Bearish IG)
The rectangle extends from Candle 1 to the validating bar
Alerts
You can receive alerts when an FVG becomes an IFVG:
Configurable to fire only on selected timeframes (1m, 5m, 15m, 60m)
Alerts include the direction and the chart timeframe
Settings
Enable Alerts For Timeframe: Choose which timeframe(s) trigger alerts
This tool helps traders identify inverse FVGs (iFVG), a useful ICT concept.
Internal Market Structure + Order BlocksInternal Market Structure + Order Blocks
This indicator combines internal market structure shifts with order block detection to help traders identify key zones of institutional interest and potential trend reversals. It highlights bullish and bearish engulfing conditions that mark the formation of valid order blocks, and it plots internal structure shifts—early signals that may precede a larger move.
Key Features:
-Bullish & Bearish Order Blocks: Highlighted with shaded boxes (green for bullish, red for bearish) following engulfing price action.
-Internal Structure Shifts: Small black triangles show early signs of a potential reversal, offering a unique perspective beyond standard structure analysis.
-Engulfing Breakouts: Marks when price breaks previous opposing structure, confirming new directional intent.
-Alerts Included: Get notified on key structure breaks and internal shifts to stay ahead of potential setups.
This tool is designed to support price action trading by visually mapping key structural changes and zones of interest directly on your chart. It is not intended to function as a standalone trading strategy , but rather as a supplementary tool to inform your own analysis and discretion.
Note: The arrows, polylines, and colored trendlines shown in the chart example are not generated by the indicator. They have been added manually for illustration purposes to demonstrate how the indicator can be used to trace market structure. Likewise, the order blocks in the example are manually drawn and may differ slightly from the indicator's automatic calculations, serving only to enhance visual clarity.
Zero Lag AMA# Zero Lag AMA Indicator
## Overview
The High Probability AMA Indicator is a sophisticated trend-following tool that adapts to market conditions by dynamically adjusting its smoothing factor based on market efficiency. Unlike standard moving averages with fixed parameters, this indicator becomes more responsive during trending markets and more stable during choppy, sideways markets.
### Adaptive Moving Average (AMA)
The AMA adjusts its sensitivity to price changes based on market conditions:
- In trending markets: The AMA closely follows price movements with minimal lag
- In ranging markets: The AMA filters out noise by smoothing price action
### Efficiency Ratio (ER)
The indicator measures market efficiency using the Efficiency Ratio:
ER = Direction / Volatility
Where:
- **Direction** is the absolute net change in price over a period (how far price has moved)
- **Volatility** is the sum of all absolute price changes over the same period (how much price has fluctuated)
The ER ranges between 0 and 1:
- Values close to 1 indicate a strong trend (efficient market movement)
- Values close to 0 indicate a choppy market (inefficient market movement)
### Variable Smoothing Constant
Based on the Efficiency Ratio, the indicator calculates a smoothing constant between two extremes:
- A fast smoothing constant for trending markets
- A slow smoothing constant for ranging markets
The formula is:
SC = ²
Where:
- FastSC = 2/(fastPeriod + 1)
- SlowSC = 2/(slowPeriod + 1)
## Key Features
### Dynamic Volatility Measurement
The indicator calculates price volatility using standard deviation over a customizable period, which helps contextualize price movements relative to recent market conditions.
### AMA Slope Analysis
The indicator tracks the AMA's slope (rate of change) to determine trend direction and strength, providing valuable context beyond just price position relative to the AMA line.
### Visual Trend Identification
The chart background changes color based on trend conditions:
- Green background indicates bullish conditions (price above AMA and positive slope)
- Red background indicates bearish conditions (price below AMA and negative slope)
## Parameters
### Essential Parameters
- **Fast Period (default: 9)**: Controls the most responsive the AMA can be during strong trends
- **Slow Period (default: 15)**: Controls how smooth the AMA becomes during choppy markets
- **Volatility Period (default: 14)**: Period for calculating price standard deviation
- **Efficiency Ratio Period (default: 20)**: Period for calculating the Efficiency Ratio
### Appearance Settings
- **AMA Line Color**: Customize the color of the Adaptive Moving Average line
## How to Use This Indicator
### Trend Identification
The primary use is identifying the current market trend:
- The AMA line direction indicates the overall trend
- Background colors provide quick visual confirmation of trend state
- Price position relative to the AMA line shows the current market bias
### Market Context
- Monitor the AMA slope to gauge trend strength
- Use volatility readings to assess market conditions
- Pay attention to how closely the AMA follows price - tight following indicates trending markets
### Optimal Trading Conditions
- Most reliable signals occur when price breaks and closes beyond the AMA line while the AMA slope confirms the direction
- The indicator performs best on higher timeframes (1H, 4H, Daily) for strategic positions
- Can also be effective on lower timeframes (5m,15m, 30m) when combined with other confirmation tools
## Best Practices
1. **Multiple Timeframe Analysis**: Confirm signals across different timeframes for higher probability setups
2. **Complementary Indicators**: Combine with:
- Volume indicators to confirm trend strength
- Oscillators for potential reversal points
- Support/resistance levels for entry and exit points
3. **Parameter Optimization**: Adjust parameters based on:
- The specific instrument being traded
- Your trading timeframe
- Current market volatility conditions
## Technical Implementation Details
The indicator uses a sophisticated calculation approach:
1. Calculates the Efficiency Ratio using price direction and volatility
2. Determines the appropriate smoothing constant based on market efficiency
3. Applies the smoothing constant to current and previous AMA values
4. Analyzes AMA slope and price position to determine market conditions
5. Provides visual feedback through line color and background shading
This implementation avoids the lag present in traditional moving averages while still filtering market noise, making it particularly valuable during transitions between trending and ranging market conditions.
TTM Scalper AlertTTM Scalper Alert — Real-Time Pivot Detector
Description:
This is a custom implementation of the classic TTM Scalper Alert, adapted to show early pivot detection and trend structure tracking in real-time. The script identifies potential highs and lows before the full pivot confirmation—giving traders an early edge—and removes outdated signals once pivots are confirmed.
It supports two levels of detection:
Fast Alert Pivots : Identified after Alert Period candles confirm a local reversal.
Confirmed Pivots : Validated only after Pivot Period candles on both sides ensure a true swing high/low.
How It Works:
Fast Detection (Early Pivots):
Detected after Alert Period (AP) candles. These are provisional signals, shown as triangle labels (▲▼) near current price. Only the latest signal is shown; previous fast pivots are deleted to avoid clutter.
Confirmed Pivots:
Detected with a full lookback of Pivot Period (PP) on both sides of the candle. Shown using plotshape with triangle markers (▲▼). Serve as anchors for price structure analysis (HH-HL or LL-LH tracking).
Custom Source Option:
Users can choose to base pivots on High/Low or Close/Open range. Helps adjust sensitivity depending on volatility or bar structure.
How to Interpret:
Trend & Market Structure:
Use Confirmed Pivots (plotshapes) to analyze market structure:
HH → HL: Uptrend
LL → LH: Downtrend
Watch for breaks in structure for possible reversals
Early Alerts:
The floating labels (▲▼) represent early warnings of a potential pivot. Use them to anticipate:
Short-term exhaustion
Quick scalping entries
Divergence setups
Inputs:
Source : Choose from High/Low or Close/Open — affects how pivots are calculated
Alert Period : How fast the script detects an early reversal pattern (used for entry timing)
Pivot Period : How many candles before/after to confirm a full pivot (used for structural analysis)
Best For:
Traders who follow price action and structure
Scalpers and intraday traders who want early signals
Anyone using pivot highs/lows for confluence with other tools (like RSI divergence, Bollinger Bands, VWAP, etc.)
Pro Tips:
Combine this with:
Trend Magic or Supertrend for directional bias
Volume spike filters to confirm reversal intent
RSI/CCI divergence to strengthen reversal pivots
Adjust Alert Period to tune early signal sensitivity (lower = faster but noisier)
Pullback Setup HelperThe Pullback Setup Helper is a visual tool designed to assist traders in identifying high-probability pullback entry zones in both bullish and bearish trends. It dynamically calculates support and resistance pullback areas using a combination of recent price extremes and ATR-based volatility measures.
The indicator plots two main zones: one for potential long setups beneath recent highs, and another for short setups above recent lows. These zones are derived from configurable multipliers of the ATR to define depth and width, with an additional buffer to allow for slight overshoots or market noise.
Signals are generated when price enters a pullback zone and closes in the direction of the trend, using a relaxed condition (close > previous close for longs, close < previous close for shorts) to increase signal frequency. Entry signals appear as triangles on the chart, with optional alerts available for both long and short scenarios.
This tool is best used as a contextual guide to support trend-continuation trades, particularly when combined with additional confirmation from momentum or volume indicators.
Live ICT Manipulation Candle [London Session, DST]📌 Live ICT Manipulation Candle
🔍 What This Script Does:
This indicator highlights the most volatile ( manipulative ) candle during the London session, based on range and volume, in real-time. It is designed specifically for intraday traders who follow ICT ( Inner Circle Trader ) concepts.
Key Features:
Tracks and highlights the manipulation candle between 3:00 AM to 5:00 AM NY time, adjusted for daylight savings (DST).
Displays a colored box around the manipulation candle and optionally shows a "Manipulation" label ( see chart below ).
Works on 1m, 5m, or 15m charts only — ensures high accuracy and alignment with ICT intraday concepts.
Designed for clarity during live session development.
⚠️ Disclaimer & Transparency:
This script was previously removed by TradingView due to being published with protected ( closed ) source code. I apologize for that oversight.
If you're studying ICT concepts or trading the London session volatility, this script can help you visually anchor the key manipulation point each day!
The indicator doesn't put the circles on. I put them to show the key manipulation areas per London session.
Happy trading and stay sharp!
@TJT_Pro
RunRox - Entry Model🎯 RunRox Entry Model is an all-in-one reversal-pattern indicator engineered to help traders accurately identify key price-reversal points on their charts. It will be part of our premium indicator package and improve the effectiveness of your trading strategies.
The primary concept of this indicator is liquidity analysis, making it ideal for Smart Money traders and for trading within market structure. At the same time, the indicator is universal and can be integrated into any strategy. Below, I will outline the full concept of the indicator and its settings so you can better understand how it works.
🧬 CONCEPT
In the screenshot below, I’ll schematically illustrate the core idea of this indicator. It’s one of the patterns that the indicator automatically detects on the chart using a two-timeframe approach. We use the higher timeframe to identify liquidity zones, and the lower timeframe to capture liquidity removal and structure breaks. The schematic is shown in the screenshot below.
Our indicator includes three entry models in total , and I will discuss its functionality and features in more detail later in this post.
💡 FEATURES
Three entry models
PO3 HTF Bar
Entry Area
Optimization for each Entry Area
Filters
HTF FVG
Alert customization
Next, we will examine each entry model in detail.
🟠 ENTRY MODEL 1
The first model is the core one we’ll work with; all other models rely on its structure and construction. In the screenshot below, I’ll schematically show the complete model.
As shown in the screenshot above, we display higher-timeframe candles on the current chart to better visualize the entry model and keep the trader informed of what’s happening on the larger timeframe. The screenshot also highlights both the Long and Short models, as well as the Entry Area, which I will explain in more detail below.
The schematic model on the lower timeframe is shown in the screenshot above. It illustrates that after the Entry Model forms, we draw the Entry Area on the next candle and wait for a price pullback into this zone for the optimal trade entry. Statistically, before moving higher, the price typically revisits the Entry Area, covering the imbalances created by MSS; thus, the Entry Area represents the ideal entry point.
🟩 Entry Area
Once the Entry Model has formed, we focus on identifying the optimal pullback zone for taking a position. To determine which retracement area performs best, we conducted extensive historical backtesting on potential zones and selected those that consistently delivered the strongest results. This process yields Entry Areas with the highest probability of a successful reversal.
On the screenshot above, you can see an example of the Entry Area and which zones carry a higher versus lower probability of reversal. Zones rendered with greater transparency have historically delivered weaker results than the more opaque zones. The deeper-colored areas represent the optimal entry zones and can improve your risk-reward ratio by allowing you to enter at more favorable prices.
It’s important to remember that the entire Entry Area functions as a potential zone for scaling into a position. However, if your risk-to-reward ratio isn’t favorable, you can wait for the price to retrace to lower levels within the Entry Area and enter with a more attractive risk-to-reward.
🟢 Pattern Rating
Each entry model receives a rating in the form of green circles next to its name 🟢. The rating ranges from one to four circles, based on the historical performance of similar patterns. To calculate this rating, we backtest past data by analyzing candle behavior during the model’s formation and assign circles according to how similar patterns performed historically.
Example Ratings:
🟢 – One circle
🟢🟢 – Two circles
🟢🟢🟢 – Three circles
🟢🟢🟢🟢 – Four circles
The more green circles a model has, the more reliable it is—but it’s crucial to rely on your own analysis when identifying strong reversal points on the chart. This rating reflects the model’s historical performance and does not guarantee future results, so keep that in mind!
Below is a screenshot showing four model variations with different ratings on the chart.
⚠️ Unconfirmed Pattern
Entry Model 1 is designed so that, until the higher-timeframe candle closes, the pattern remains unconfirmed and is hidden on the chart. For traders who prefer to see setups as they form, there’s a dedicated feature that displays the unconfirmed pattern at the moment of its appearance - triggered by the Market Structure Shift - before the HTF candle closes. The screenshot below shows what the pattern looks like prior to confirmation.
‼️IMPORTANT: Until the pattern is confirmed and the higher-timeframe candle has closed, the model may disappear from the chart if price reverses and the HTF candle closes below the previous bar. Therefore, this mode is suitable only for experienced traders who want to see market moves in advance. Remember that the pattern can be removed from the chart, so we recommend waiting for the HTF candle to close before deciding to enter a trade.‼️
✂️ Filters
For the primary model, there are four filters designed to enhance entry points or exclude less-confirmed patterns. The filters available in the indicator are:
Bounce Filter
Market Shift Mode
Same Wave Filter
Only with Divergence
I will explain how each of these filters works below.
- Bounce Filter
The Bounce Filter identifies significant deviations of price from its mean and only displays the Entry Model once the asset’s price moves beyond the average level. The screenshot below illustrates how this appears on the chart.
The actual average-price calculation is more sophisticated than what’s shown in the screenshot, that image is just an illustrative example. When the price deviates significantly from the N-bar average, we start looking for the Entry Model. This approach works particularly well in range-bound markets without a clear trend, as it lets you trade strong deviations from the mean.
- Market Shift Mode
This filter works by detecting the initial impulse that triggered the liquidity sweep on the previous higher-timeframe candle, and then holding the Market Structure Shift level at that point after the sweep. If the filter is turned off, price may move higher following the liquidity removal, creating a new MSS level and potentially producing a false structure shift and entry signal on the formed model.
This filter helps you more accurately identify genuine shifts - but keep in mind that the model can still perform well without it, so choose the setting that best suits your trading style.
- Same Wave Filter
The Same Wave Filter removes entry models that form without a clear lower-timeframe structure when liquidity is swept from the previous higher-timeframe candle. In other words, if the prior HTF candle and the current one belong to the same impulse wave - without any retracements on the LTF - the model is filtered out.
Keep in mind that this filter may also exclude patterns that could have produced positive results, so whether to enable it depends on your trading system.
- Only with Divergence
The Only with Divergence filter detects divergence between the lows of successive candles and indicators like RSI. When the low that swept liquidity diverges from the previous candle’s low, the indicator displays a “DIV” label. Although RSI is cited as an example, our divergence calculation is more advanced. This filter highlights patterns where low divergence signals genuine liquidity manipulation and a likely aggressive price reversal.
🌀 Model Settings
Trade Direction: Choose whether to display models for Long or Short trades.
Fractal: Select between automatic fractal detection—which adapts the lower-timeframe (LTF) and higher-timeframe (HTF) candles—or Custom.
Custom Fractal: When Custom is selected, manually specify the LTF and HTF timeframes used to detect the patterns.
History Pattern Limit: Set the maximum number of patterns to display on the chart to keep it clean and uncluttered.
🎨 Model Style
You can flexibly customize the model’s appearance by choosing your preferred line thickness, color, and the other settings we discussed above.
🔵 ENTRY MODEL 2
This model appears under specific conditions when Model 1 cannot form. It’s a price-reversal model constructed according to different rules than the first model. The screenshot below shows how it looks on the chart.
This model forms less frequently than Model 1 but delivers equally strong performance and is displayed as a position-entry zone.
Like the Entry Area in Entry Model 1, this zone is calculated automatically and highlights the best entry levels: areas that showed the strongest historical results are rendered in a brighter shade.
🎨 Model Style
You can flexibly customize the style of Entry Model 2 - its color, opacity, visibility, and the average price of the previous candle.
🟢 ENTRY MODEL 3
Entry Model 3 is a continuation pattern that only forms after Entry Model 1 has completed and delivered the necessary price move to trigger Model 3.
Below is a schematic illustration of how Model 3 is intended to work.
🎨 Model Style
As with the previous models, you can flexibly customize the style of this zone.
⬆️ HTF CANDLES
One of the standout features of this indicator is the ability to plot higher-timeframe (HTF) candles directly on your lower-timeframe (LTF) chart, giving you clear visualization of the entry models and insight into what’s unfolding on the larger timeframe.
You can fully customize the HTF candles - select their style, the number of bars displayed, and tweak various settings to match your personal trading style.
HTF FVG
Fair Value Gaps (FVGs) can also be drawn on the HTF candles themselves, enabling you to spot key liquidity or interest zones at a glance, without switching between timeframes.
Additionally, you can view all significant historical HTF highs and lows, with demarcation lines showing where each HTF candle begins and ends.
All these options let you tailor the HTF candle display on your chart and monitor multiple timeframes’ trends in a single view.
📶 INFO PANEL
Instrument: the market symbol on which the model is detected
Fractal Timeframes: the LTF and HTF fractal periods used to locate the pattern
HTF Candle Countdown: the time remaining until the higher-timeframe candle closes
Trade Direction: the direction (Long or Short) in which the model is searched for entry
🔔 ALERT CUSTOMIZATION
And, of course, you can configure any alerts you need. There are seven alert types available:
Confirmed Entry Model 1
Unconfirmed Entry Model 1
Confirmed Entry Model 2
Confirmed Entry Model 3
Entry Area 1 Trigger
Entry Area 2 Trigger
Entry Area 3 Trigger
You also get a custom macro field where you can enter any placeholders to fully personalize your alerts. Below are example macros you can use in that field.
{{event}} - Event name ('New M1')
{{direction}} - Trade direction ('Long', 'Short')
{{area_beg}} - Entry Area Price
{{area_end}} - Entry Area Price
{{exchange}} - Exchange ('Binance')
{{ticker}} - Ticker ('BTCUSD')
{{interval}} - Timeframe ('1s', '1', 'D')
{{htf}} - High timeframe ('15', '60', 'D')
{{open}}-{{close}}-{{high}}-{{low}} - Candle price values
{{htf_open}}-{{htf_close}}-{{htf_high}}-{{htf_low}} - Last confirmed HTF candle's price
{{volume}} - Candle volume
{{time}} - Candle open time in UTC timezone
{{timenow}} - Signal time in UTC timezone
{{syminfo.currency}} - 'USD' for BTCUSD pair
{{syminfo.basecurrency}} - 'BTC' for BTCUSD pair
✅ USAGE EXAMPLES
Now I’ll demonstrate several ways to apply this indicator across different trading strategies.
Primarily, it’s most effective within the Smart Money framework - where liquidity and manipulation are the core focus - so it integrates seamlessly into your SMC-based approach.
However, it can also be employed in other strategies, such as classic technical analysis or Elliott Wave, to capitalize on reversal points on the chart.
Example 1
The first example illustrates forming a downtrend using a Smart Money strategy. After the market structure shifts and the first BOS is broken, we begin looking for a short entry.
Once Entry Model 1 is established, a Fair Value Gap appears, which we use as our position-entry zone. The nearest target becomes the newly formed BOS level.
In this trade, it was crucial to wait for a strong downtrend to develop before hunting for entries. Therefore, we waited for the first BOS to break and entered the trade to ride the continuation of the downtrend down to the next BOS level.
Example 2
The next example illustrates a downtrend developing with a Fair Value Gap on the 1-hour timeframe. The FVG is also displayed directly on the HTF candles in the chart.
The pattern forms within the HTF Fair Value Gap, indicating that we can balance this inefficiency and ride the continuation of the downtrend.
The target can simply be a 1:2 or 1:3 risk–reward ratio, as in our case.
📌 CONCLUSION
These two examples illustrate how this indicator can be used to identify reversals or trend continuations. In truth, there are countless ways to incorporate this tool, and each trader can adapt the model to fit their own strategy.
Always remember to rely on your own analysis and only enter trades when you feel confident in them.
Q Momentum FlowQ Momentum Flow
A hybrid trend engine combining breakout-driven momentum shifts with adaptive volatility bands. Designed for traders who want clear entries, intelligent exits, and a balance between reactivity and noise control.
🔧 Core Features
1. Momentum Shift Detection
• Uses dynamic breakout levels (ATR-based) to identify impulse-driven price shifts.
• Filters weak moves by enforcing a cooldown period and direction alternation.
2. Adaptive Trend Framework
• Trend direction is derived from a dual-EMA anchor with dynamic volatility bands.
• Sensitivity automatically adjusts based on smoothed price deviation.
3. Entry & Exit System
• Buy and sell arrows appear on valid momentum + trend alignment.
• Exit markers signal early trend weakening before full reversal.
• Arrows and labels are visually separated to reduce chart clutter.
4. Alerts (Fully Integrated)
• Buy and Sell alerts on valid entry triggers.
• Separate alerts for early exits based on weakening trend conditions.
• Compatible with automation or notification setups.
⚙️ Configurable Inputs
• Trend Length — Controls how fast the adaptive bands react.
• Smoothing — Smooths volatility for more stable band generation.
• Sensitivity — Adjusts band width and breakout tolerance.
• Visual Settings — Customize background color, arrow styles, and label size.
• Exit Logic — Built-in reversal detection to signal when trend weakens.
📈 How to Use
• Follow Buy/Sell arrows for directional entries.
• Stay in trade until either:
— Opposite signal appears, or
— “Exit” label triggers based on adaptive trend weakening.
• Use background and bar colors for regime clarity.
Dynamic Trade Signal Validator (DTSV)The Dynamic Trade Signal Validator (DTSV) is designed to filter false trade signals while generating reliable, frequent trade opportunities. False signals, which lead to unprofitable trades, often occur in choppy or low-momentum markets. The DTSV combines Hull Moving Average (HMA) crossovers, Average True Range (ATR) breakout confirmation, and MACD histogram momentum filtering to ensure signals align with trend, volatility, and momentum, making it ideal for day trading or swing trading across assets like stocks, forex, or cryptocurrencies.
How It Works
The DTSV uses three components to validate trade signals, balancing frequency and reliability:
HMA Crossover for Trend Direction:
Two HMAs (default: 9-period fast, 21-period slow) detect trend changes. A buy signal triggers when the fast HMA crosses above the slow HMA (bullish), and a sell signal when it crosses below (bearish). HMAs reduce lag compared to traditional MAs, enabling more responsive trend detection.
ATR Breakout Confirmation:
The 14-period ATR ensures significant price movement by requiring the bar’s range (high minus low) to exceed the ATR multiplied by 1.0 (adjustable). This confirms volatility, reducing false signals in stagnant markets.
MACD Histogram Momentum Filter:
The MACD (default: 12, 26, 9) histogram confirms momentum. Buy signals require a positive histogram (bullish momentum), and sell signals need a negative histogram (bearish momentum), ensuring directional strength.
Signal Generation
Buy signals (green triangles below bars) occur when a bullish HMA crossover, ATR breakout, and positive MACD histogram align. Sell signals (red triangles above bars) require a bearish crossover, ATR breakout, and negative histogram. This triple confirmation minimizes false trades while maintaining frequent signals.
Antony.N4A - ORB Quartile Strategy vv4 06_30_25📌 Antony.N4A - ORB Quartile Strategy vv4
This script implements a fully automated Opening Range Breakout (ORB) trading strategy, engineered for precision execution within predefined market windows. It is compatible with both New York and London sessions, and integrates advanced internal logic including trend validation, breakout confirmation, position scaling, and risk-defined stop/target management.
🧠 Core Logic Overview:
ORB Range Calculation: Based on configurable session time (default: 09:30–09:45 EST)
Entry Window: Trade initiations are permitted only within a defined intraday range
Trend Validation Filters: Proprietary EMA-based mechanisms to confirm directional bias
Contract Sizing Engine: Dynamically adjusts trade size to respect a per-trade risk ceiling
Risk Parameters: Designed to cap maximum loss per trade at approximately $300–400
🎯 Trade Management Rules:
Entry:
Triggered at the close of a 5-minute candle that confirms a directional breakout of the ORB
Stop Loss:
Enforced via structural breakout invalidation levels (Quartile boundaries and mid-range buffer)
Profit Targeting:
- 75% of position is closed at the first standard deviation (SD1) level
- Remaining 25% is trailed to extended targets, with stop-loss adjusted to breakeven post-partial
No pyramiding, re-entries are limited by cooldown logic and session controls
📊 Backtest Performance (Oct 2024 – Apr 2025):
Total Trades: 36
Win Rate: 64%
Worst Losing Streak: 4 consecutive trades
Worst Month: January 2025 (-1.49R)
Net Performance: +21.5R
Strategy tested on NQ futures with NY session breakout configuration
This strategy is intended for disciplined intraday traders seeking a structured, semi-mechanical approach to volatility expansion. It is best used in high-liquidity markets and news-driven sessions.
Current Fractal High/Low (Dynamic)
This indicator dynamically tracks the most recent confirmed Fractal High and Fractal Low across any timeframe using custom left/right bar configurations.
🔍 Key Features:
Detects Fractal Highs and Lows based on user-defined pivot settings.
Draws a green line and label ("FH") at the most recent Fractal High.
Draws a red line and label ("FL") at the most recent Fractal Low.
All lines extend from the confirmation bar to the current candle.
Automatically removes old lines and labels for a clean, uncluttered chart.
🛠️ Customizable Inputs:
Left & Right bars for pivot sensitivity
Line width for visibility
📌 Use Cases:
Identifying structure shifts
Recognizing key swing points
Supporting liquidity and breakout strategies
💡 Fractals are confirmed only after the full formation of the pattern (left and right bars). This ensures reliability over reactivity.
This script is designed for intraday to swing traders who want a reliable way to visualize market turning points with minimal noise.