FVG Alerts v1.0This indicator automatically spots fair value gaps on your TradingView chart. It marks bullish gaps where price jumped up and bearish gaps where price dropped down. You see clear colored boxes around each gap for quick visual identification. The first valid bullish gap of the day triggers a one‑time alert so you catch prime opportunities. Behind the scenes it checks that gaps are significant by looking at price movement strength. It also confirms that volume was higher than usual during the gap bar for added reliability. Additionally it considers past order blocks to ensure gaps happen near key areas. As soon as price returns into a gap zone the boxes automatically disappear to keep your chart neat. You can choose any higher timeframe for gap detection to match your trading style. Colors for bullish and bearish gaps are fully customizable so they stand out on your setup. Sensitivity settings let you adjust how small or large a gap must be to appear. The indicator manages how many past zones to track so you never overload your chart. Alert conditions are named clearly for easy integration with TradingView notifications. You can link those alerts to email, SMS, or webhook services for instant updates. No coding is required to get started—all options are available in the input menu.
This tool streamlines gap‑based trading by automating every step from detection to alerting. It saves you time by filtering out weak or insignificant gaps before showing them. With clear visuals you can focus on price action without digging through raw data. The dynamic reset ensures you only get one first‑bull alert per day, preventing noise. Custom timeframe selection allows you to spot gaps on any timeframe from minutes to days. The automatic cleanup keeps your workspace clutter‑free and responsive. You choose how many past gaps to keep visible, so you control chart complexity. Built‑in risk‑control filters help you avoid traps where price gap zones lack follow‑through. Alerts pop up right on the chart and can be sent to external apps for mobile convenience. Visual customization options include box opacity, line thickness, and extend length. Everything is wrapped in a straightforward interface that traders at any level can use. Whether you are scalping or swing trading this indicator adapts to your pace. It brings professional gap‑analysis techniques within reach without programming skills. By focusing on high‑confidence gaps you can refine entries and exits more effectively. Overall this indicator empowers traders to spot strong gap setups and act quickly.
Chỉ báo và chiến lược
ALDAYEL CANDLES🔍 ALDAYEL CANDLES – Indicator Description
ALDAYEL CANDLES is a precision-focused candlestick pattern indicator designed to highlight only the most reliable reversal signals on the chart. It filters out weak setups and noisy price action to deliver clean, high-quality trade opportunities.
✅ Key Features:
Reversal Patterns Covered:
Bullish Engulfing
Bearish Engulfing
Hammer
Shooting Star
Doji
High-Accuracy Filters Applied:
Trend Confirmation using EMA20 & EMA50
High Volume Validation (above 20-period average)
Strong Candle Body (based on ATR)
No signals during range-bound markets
Custom Signal Table:
Displays the latest 5 clean signals
Includes: Pattern name, direction, and strength
Uses alternating background shades for clarity and easy reading
Visual Chart Labels:
Clear signal icons: 🔼, 🔽, 🔨, ⭐, ⚪
Signal positions above or below bars for visual clarity
Alert Support:
Alerts are generated for each valid signal type
Ideal for automation or notifications via webhook
🎯 Why Use ALDAYEL CANDLES?
Unlike most candlestick indicators that produce dozens of unreliable signals, this tool focuses on quality over quantity. It's ideal for traders who want:
Clean charting
Strong confirmation
Fewer false entries
Confidence in reversals
🧠 Recommended Usage:
Use on 15min, 1H, or Daily timeframes
Combine with support/resistance or trendlines for extra confluence
Ideal for both swing and intraday trading
🔍 مؤشر ALDAYEL CANDLES – شرح تفصيلي
ALDAYEL CANDLES هو مؤشر احترافي مصمم لاكتشاف أقوى نماذج الشموع الانعكاسية بدقة عالية، من خلال فلترة الإشارات الضعيفة والعشوائية والتركيز فقط على الفرص القوية والواضحة في السوق.
✅ المميزات الرئيسية:
النماذج التي يكتشفها المؤشر:
نموذج الابتلاع الشرائي (Bullish Engulfing)
نموذج الابتلاع البيعي (Bearish Engulfing)
شمعة المطرقة (Hammer)
شمعة النجم الساقط (Shooting Star)
شمعة الدوجي (Doji)
فلترة احترافية للإشارات:
تأكيد الاتجاه باستخدام متوسطات EMA20 و EMA50
تأكيد الحجم (الفوليوم) بشرط أن يكون أعلى من المتوسط
تأكيد أن جسم الشمعة قوي باستخدام مؤشر ATR
تجاهل الإشارات أثناء تحرك السوق بشكل عرضي (Range)
جدول إشارات مميز:
يعرض آخر 5 إشارات قوية فقط
يحتوي على: نوع النموذج، الاتجاه، قوة الإشارة
تصميم احترافي بخلفية متدرجة لسهولة القراءة
رموز مرئية على الشارت:
🔼 🔽 🔨 ⭐ ⚪ لتوضيح نوع النموذج مباشرة
توضع الإشارة فوق أو تحت الشمعة حسب النوع
تنبيهات جاهزة:
ينبهك مباشرة عند ظهور أي نموذج مؤكد
مثالي للربط مع إشعارات أو Webhook تلقائي
🎯 لماذا تستخدم مؤشر ALDAYEL CANDLES؟
على عكس معظم المؤشرات التي ترسم إشارات كثيرة وضعيفة، هذا المؤشر يعتمد على مبدأ:
القليل القوي أفضل من الكثير المزعج
مناسب للمتداولين الذين يبحثون عن:
شارت نظيف وواضح
إشارات دقيقة
تقليل الفرص الوهمية
دعم الثقة في قرارات الدخول
🧠 أفضل طريقة للاستخدام:
ينصح باستخدامه على الفريمات: 15 دقيقة، ساعة، يومي
يُفضل دمجه مع مناطق دعم ومقاومة أو ترندات
مناسب للتداول اليومي أو التداول السوينغ
Multi-Timeframe Market Structure Bars v2Summary
This script presents a real‑time dashboard of market structure across multiple user‑defined horizons, using color‑coded bars to signal bullish or bearish bias on each timeframe. Traders gain an instant, consolidated view of market sentiment—from longer‑term to ultra‑short‑term—without switching charts, enabling faster, more informed decisions.
What It Is
The Multi‑Timeframe Market Structure Bars indicator displays a row of bold bars—one per timeframe—in a dedicated panel, each bar changing color to reflect the underlying market bias on that timeframe.
Rather than plotting price or overlays on your main chart, it offers a snapshot‑style layout, with the topmost bar representing your longest timeframe and the bottom bar your shortest.
Core Functionality
Unified Trend Vision: By stacking multiple bars vertically, the script condenses what would otherwise be separate trend analyses into a single glance.
Configurable Horizons: Each bar’s timeframe is fully adjustable, so you can tailor the display to any set of periods—e.g., weekly down to one‑minute—matching your trading style.
Instant Bias Signals: As market conditions shift, individual bars switch color immediately, revealing structure shifts across all monitored timeframes.
Benefits to Traders
Speedy Decision‑Making: Quickly confirm whether short‑term moves align with the broader trend, reducing hesitation and late entries.
Avoids Context Switching: No need to flip between multiple charts—everything you need is in one concise panel.
Enhanced Trade Filters: Use the dashboard as a pre‑filter, only taking setups when multiple bars indicate the same bias.
Visual Clarity: The bold, high‑contrast design ensures even rapid chart scrolling or zooming won’t obscure your read on the market.
How to Use
Set Your Timeframes
Input your preferred periods for each bar (e.g., “Daily,” “4H,” “1H,” “15m,” “5m”).
Monitor Bar Colors
Green (or your bullish color) means that timeframe’s structure supports upward bias; red (or bearish) means downward.
Align with Your Strategy
Only initiate trades when the majority (or all) of bars point in your intended direction, ensuring multi‑horizon agreement.
Set Alerts on Flips
Create alerts tied to bar‑color changes to be notified the moment a key timeframe shifts, keeping you on top of evolving conditions.
Practical Tips & Considerations
Non‑Repainting Behavior: Signals reflect confirmed shifts and will not retroactively change once drawn, giving you confidence in their reliability.
Lag Awareness: Like any structure‑based tool, rapid spikes or whipsaws can lead to delayed flips; consider coupling with price‑action checks.
Panel Placement: Since this indicator runs in a separate pane, you can stack it above or below other context tools (e.g., volume profiles) for a layered analysis.
Complementary Use: Best employed as a confirmation layer rather than a standalone signal generator—combine it with entry triggers or risk‑management rules for optimal results.
By abstracting complex, multi‑timeframe analysis into a simple, intuitive interface, this indicator empowers you to maintain a clear, consolidated view of market structure—helping you spot alignment, filter trades, and react quickly without revealing every calculation detail under the hood.
Swing + 3-Bar Breakout(Mastersinnifty)Overview:
This script is a hybrid trading tool designed to combine swing-based reversal detection with 3-bar breakout confirmation, offering traders multiple perspectives on both early reversals and trend continuation setups.
It integrates:
• ZigZag-based Swing Detection — to help identify significant market turning points.
• Momentum Validation — using RSI and Rate of Change (ROC) to filter and strengthen signal confidence.
• 3-Bar Breakout Confirmation — for traders seeking breakouts after structural consolidations.
• Dynamic Trailing Stop Logic — using ATR to manage exit risk while allowing trades room to develop.
• Swing Projection Levels — to plot theoretical price targets based on measured moves from prior swings.
═════════════════════════════════════════════════════════════
What Makes This Script Unique:
Unlike basic ZigZag or momentum scripts, this indicator combines multiple layers of logic:
• Structural detection via swings,
• Momentum filtering via RSI and ROC,
• Breakout confirmation through multi-bar validation,
• Automated projection targets for reference,
• Real-time risk management via trailing stops.
This approach provides flexibility for both reversal and continuation trades in one package.
═════════════════════════════════════════════════════════════
Who This Is Useful For:
• Swing Traders — for identifying higher-lows & lower-highs during trend shifts.
• Scalpers & Intraday Traders — thanks to fast-reacting momentum filters.
• Breakout Traders — with automated breakout signals after price compression.
• Risk Managers — through built-in trailing stop logic for visual exit planning.
• Price Action Analysts — who appreciate calculated swing projection targets.
═════════════════════════════════════════════════════════════
How to Use:
• Swing Identification:
• The script automatically marks swing highs and lows, allowing you to spot trend change zones via HL (Higher Lows) and LH (Lower Highs) labels.
• Momentum Confirmation:
• Trade signals trigger when swing points align with extreme RSI readings and ROC crosses a defined threshold, confirming both price reaction and velocity.
• Breakout Detection:
• Additional breakout signals are generated when the price crosses key swing levels defined by the lookback period, highlighting possible continuation trades.
• Risk Management Tools:
• ATR-based trailing stops are plotted once a signal is triggered, offering dynamic risk control.
• Swing projection levels are calculated and plotted to visualize potential price destinations.
═════════════════════════════════════════════════════════════
⚠️ Disclaimer:
This script is intended as an analytical tool for chart-based trading insights. It does not guarantee profits or predict future outcomes. Trading carries risk, and past performance is not indicative of future results. Always perform your own due diligence before making trading decisions.
SMA Buy/Sell with AveragingSMA Buy/Sell with Averaging Recovery
Overview
This indicator combines Simple Moving Averages (SMAs) with a strategic buy/sell system and an innovative averaging recovery mechanism. Designed for traders seeking to capitalize on market dips, it identifies main trade opportunities and highlights potential averaging entries when prices drop significantly, providing detailed summaries of gains or losses.
Key Features
Triple SMA Strategy: Uses 20, 50, and 200-period SMAs to generate buy and sell signals based on price position and SMA alignment.
Buy Signal: Triggered when the price is below all SMAs, and SMAs are aligned (200 > 50 > 20).
Sell Signal: Triggered when the price is above all SMAs, and SMAs are inversely aligned (200 < 50 < 20).
Averaging Opportunity: Marks an averaging entry when the price drops 10% below the main buy price, ideal for cost-averaging strategies.
Recovery Tracking: Displays gains when the price recovers to the original buy price, showing the percentage gain and days to recover.
Detailed Summaries: Provides main trade summaries on sell signals (days held and gain/loss %) and averaging recovery summaries (days and gain %).
Customizable Display: Offers flexible settings to tailor the indicator to your trading style.
Settings
Show Only Averaging Trades: When enabled, hides main buy/sell signals and summaries, displaying only averaging signals and recovery summaries for trades with a 10% price drop.
Show Only Profitable Trades: When enabled, shows only trade summaries (main or averaging) with gains, hiding those with losses, while still displaying buy and averaging signals for context.
How It Works
Plots three SMAs (20, 50, 200) for trend analysis.
Generates clear buy/sell signals with labeled entry points.
Identifies averaging opportunities when the price falls 10% from the buy price, marking the entry with a distinct label.
Tracks recovery to the original buy price, providing a summary of gains and duration.
Customizable settings allow traders to focus on averaging strategies or profitable trades only.
Use Cases
Swing Traders: Use main buy/sell signals for trend-following strategies.
Cost-Averaging Traders: Leverage averaging signals to buy additional positions during dips.
Performance Analysts: Filter for profitable trades to evaluate high-return setups.
Visuals
Green Labels: Main buy signals and profitable main trade summaries.
Red Labels: Loss-making main trade summaries (hidden if "Show Only Profitable" is enabled).
Pink Labels: Averaging signals and recovery summaries.
All labels are positioned for clarity, with main trade summaries above the price and averaging recovery below.
Why Use This Indicator?
This indicator is perfect for traders who want a robust SMA-based system with built-in averaging and recovery tracking. Its customizable settings make it versatile for various trading styles, whether focusing on main trades, averaging opportunities, or only profitable outcomes. Enhance your trading with clear, actionable signals and detailed performance insights.
Connect With Us
Visit our website for more trading tools and resources: www.profitlens.in
Follow us on Twitter for updates: x.com
Note
Best used on higher timeframes (e.g., daily) for reliable signals.
Always combine with other analysis tools and risk management strategies.
Pine Script v5 compatible.
Disclaimer
This indicator is for informational and educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.
Market Timing(Mastersinnifty)Overview:
Market Timing (Mastersinnifty) is a historical pattern similarity visualization tool designed to assist traders in studying market behavior. The script analyzes the current price structure and compares it to thousands of historical patterns to identify a structurally similar past scenario. Once a match is found, the subsequent price path from history is projected onto the chart for reference.
This offers traders a clear visual scenario to support their decision-making process, particularly in recognizing potential rhythm continuations or shifts based on past behavior. The tool adapts dynamically across multiple timeframes, including intraday, daily, weekly, and monthly.
═════════════════════════════════════════════════════════════
Key Features:
• Identifies historical price patterns that are structurally similar to the present session.
• Projects past price evolution onto the current chart for visual reference.
• Supports automatic or manual adjustment of projection length.
• Designed for use on intraday, daily, weekly, and monthly timeframes.
• Offers an alternative way to visualize historical context without generating direct trade signals.
═════════════════════════════════════════════════════════════
Who May Benefit:
• Traders interested in market structure repetition and price symmetry.
• Analysts who prefer visual scenario planning over rigid indicator-based signals.
• Both intraday and swing traders seeking supplementary tools for decision support.
═════════════════════════════════════════════════════════════
How to Use:
• Apply the script to any asset class — indices, equities, commodities, forex, or cryptocurrencies.
• Select the desired timeframe.
• Choose whether to let the script automatically set the projection length or define a custom range.
• Use the projected lines as visual scenarios:
• Upward slope: suggests historical follow-through was bullish.
• Downward slope: suggests historical follow-through was bearish.
• Flat movement: suggests historical sideways action.
For best results, combine this tool with price action studies, volume analysis, and momentum indicators.
═════════════════════════════════════════════════════════════
Disclaimer:
This tool does not predict future price movements. It provides a visual reference based on historical similarity. Market conditions change constantly, and past price behavior may not repeat. This script is for research and educational purposes only. Always apply sound risk management.
═════════════════════════════════════════════════════════════
Multi-Timeframe 20 EMA Horizontal LinesThis script plots horizontal lines at the 20 EMA values across multiple timeframes:
Daily, Weekly, Monthly, 3-Month, and 6-Month.
Each line is displayed in semi-transparent orange to keep the chart clean and minimal.
Trend Exhaustion Counter🔢 How It Works
The Trend Exhaustion Counter consists of two main phases:
1️⃣ Setup
Begins when the close price is greater (or less) than the close 4 bars earlier.
Each bar that meets the condition increments the count.
A complete Setup = 9 consecutive bars that meet the rule:
In an uptrend: close > close
In a downtrend: close < close
Once the 9-count is complete, the market is considered to be in a short-term exhaustion phase.
2️⃣ Trend Exhaustion Counter (Optional Phase)
A secondary phase that counts to 13 (less common in simplified versions).
Confirms potential exhaustion after Setup.
More conservative, but signals stronger reversals.
🟢 Bullish Signal
A 9-count to the downside suggests selling may be exhausted, indicating a potential bottom and reversal upward.
🔴 Bearish Signal
A 9-count to the upside suggests buying may be exhausted, signaling a potential top and reversal downward.
🎯 Usage Tips
Best used in trending markets to identify trend exhaustion.
Works well with support/resistance levels, volume, and candlestick patterns.
Can be combined with other indicators (like RSI or MACD) for confirmation.
📉 Limitations
False signals can occur in choppy, sideways markets.
It doesn’t predict trend direction—only possible exhaustion.
Zagzag indicatorThis indicator combines three powerful tools—Bollinger Bands, VWAP (Volume Weighted Average Price), and EMA (Exponential Moving Average)—into a single, easy-to-use overlay for your TradingView charts. With customizable settings for each component, you can analyze price volatility, identify trend direction, and spot potential support and resistance levels all at once. The script also includes example buy and sell signals based on the relationship between price, Bollinger Bands, and VWAP, making it a versatile addition to any trader’s toolkit. Inspired by the Trendoscope community, this all-in-one solution streamlines your chart setup and enhances your technical analysis.
Rolling Beta against SPY📈 Pine Script Showcase: Rolling Beta Against SPY
Understanding how your favorite stock or ETF moves in relation to a benchmark like the S&P 500 can offer powerful insights into risk and exposure. This script calculates and visualizes the rolling beta of any asset versus the SPY ETF (which tracks the S&P 500).
🧠 What Is Beta?
Beta measures the sensitivity of an asset's returns to movements in the broader market. A beta of:
- 1.0 means the asset moves in lockstep with SPY,
- >1.0 indicates higher volatility than the market,
- <1.0 implies lower volatility or possible defensive behavior,
- <0 suggests inverse correlation (e.g., hedging instruments).
🧮 How It Works
This script computes rolling beta over a user-defined window (default = 60 periods) using classic linear regression math:
- Calculates daily returns for both the asset and SPY.
- Computes covariance between the two return streams.
- Divides by the variance of SPY returns to get beta.
⚙️ Customization
You can adjust the window size to control the smoothing:
- Shorter windows capture recent volatility changes,
- Longer windows give more stable, long-term estimates.
📊 Visual Output
The script plots the beta series dynamically, allowing you to observe how your asset’s correlation to SPY evolves over time. This is especially useful in regime-change environments or during major macroeconomic shifts.
💡 Use Cases
- Portfolio construction: Understand how your assets co-move with the market.
- Risk management: Detect when beta spikes—potentially signaling higher market sensitivity.
- Market timing: Use beta shifts to infer changing investor sentiment or market structure.
📌 Pro Tip: Combine this rolling beta with volatility, Sharpe ratio, or correlation tracking for a more robust factor-based analysis.
Ready to add a layer of quantitative insight to your chart? Add the script to your watchlist and start analyzing your favorite tickers against SPY today!
Smart Zone Engine – Gnome Intelligence v3.4Smart Zone Engine – Gnome Intelligence v3.4 is an adaptive support & resistance strategy built on a “genome” metaphor that continually evolves to find the most reliable pivot zones. It overlays dynamic boxes on your chart, identifies key swing highs/lows, and then uses a grid‑based Gnome population—plus occasional Scout explorers—to optimize zone parameters (lookback, height multiplier, spacing) in real‑time.
Key Features
Grid‑Gnome Genome Engine
Initializes a fixed grid of Gnomes, each with its own lookback period, zone height factor and minimum spacing
Every mutationFreq bars, the highest‑XP Gnome spawns a mutated offspring to neighboring grid cells
Random “explorer” Gnomes occasionally try unoccupied cells to avoid local maxima
Scout Genome Layer
Up to maxScouts temporary Scouts enter the field every scoutFreq bars for rapid parameter testing
Scouts live for scoutLife bars; if one outperforms all regular Gnomes, it’s promoted to permanent status
Support/Resistance Zone Lifecycle
Detects pivots with dynamic height based on recent range and the dominant Gnome’s height multiplier
Creates color‑coded boxes (green = support, red = resistance) that extend zoneExtendBars bars forward
Tracks bounce counts; zones turn yellow after 10 respected bounces, then self‑delete once broken twice
Flip logic converts support → resistance (and vice versa) when price breaches and re‑bounces from the opposite side
Optional Debug Table
Toggle showGnomeDebug to display a top‑right table of each Gnome’s XP and score, color‑tagged if it’s a Scout
Performance & Parameter Plots
Four bottom‑panel plots for the dominant Gnome’s lookback, zone height factor, spacing and XP score
Enables you to see exactly how the genome engine is adapting over time
How to Use
Add “Smart Zone Engine – Gnome Intelligence v3.4” to your chart as a strategy or indicator.
Adjust inputs under the “Gnome Intelligence” section:
- maxZones – maximum simultaneous boxes
- mutationFreq, exploreChance – control evolutionary speed & exploration
- scoutFreq, scoutLife, maxScouts – tune the Scout testing layer
(Optional) Enable Show Gnome Debug Table to monitor each cell’s XP in real‑time.
Watch price interact with the colored zones—green for support, red for resistance—and observe flips and lifecycle changes.
Designed for advanced traders who want their S/R zones to self‑tune and adapt without manual parameter hunting, this strategy brings an evolutionary AI twist to classic pivot‑based zone detection. Adjust the genome settings to match your timeframe and let the Gnomes do the heavy lifting.
MAEngineLibLibrary "MAEngineLib"
ma_sma(source, length)
Parameters:
source (float)
length (int)
ma_ema(source, length)
Parameters:
source (float)
length (simple int)
ma_dema(source, length)
Parameters:
source (float)
length (simple int)
ma_tema(source, length)
Parameters:
source (float)
length (simple int)
ma_wma(source, length)
Parameters:
source (float)
length (int)
ma_hma(source, length)
Parameters:
source (float)
length (simple int)
ma_vwma(source, length)
Parameters:
source (float)
length (int)
ma_kijun(length)
Parameters:
length (int)
ma_alma(source, length)
Parameters:
source (float)
length (int)
ma_kama(source, length)
Parameters:
source (float)
length (int)
ma_hullmod(source, length)
Parameters:
source (float)
length (int)
selectMA(type, source, length)
Parameters:
type (string)
source (float)
length (simple int)
Bitcoin Bayesian Fit with Residual HistogramTitle: Bayesian Bitcoin Power Law Indicator with Residuals Histogram
Description:
This Pine Script implements a sophisticated Bitcoin (BTC) price indicator based on a power-law relationship between BTC price and time, modeled using Bayesian regression. The indicator provides a robust framework for understanding BTC price trends, highlighting key statistical levels, and visualizing the bimodal nature of BTC price behavior through a residual distribution histogram.
Features:
Power Law Model with Confidence Levels:
Models BTC price as a power-law function of time using Bayesian regression, displaying the median trendline.
Includes multiple confidence intervals to reflect statistical uncertainty.
Plots a support power-law line, set at 2 standard deviations below the median trend, serving as a critical lower bound for price expectations.
Bimodal Residual Histogram:
Displays a histogram in a lower panel, illustrating the distribution of model residuals (difference between actual BTC price and the power-law model) over a default 100-day window (user-configurable).
Highlights the bimodal nature of BTC price behavior, with two distinct regimes:
Core Power Law: Represents periods (approximately 2 years) when BTC price closely follows the power-law trend, typically when below the median power-law line.
Turbulent Flow BTC: Captures periods when BTC price is above the median power-law line, exhibiting more chaotic, bull-run behavior.
The histogram provides a range of possible prices based on the observed residual distribution, aiding in probabilistic price forecasting.
Purpose:
This indicator is designed for traders and analysts seeking to understand BTC price dynamics through a statistically grounded power-law model. The confidence levels and support line offer clear benchmarks for trend and support analysis, while the bimodal histogram provides insight into whether BTC is in a stable "Core Power Law" phase or a volatile "Turbulent Flow" phase, enabling better decision-making based on market regime.
Usage Notes:
Use the histogram to determine whether BTC is in the Core Power Law (below the power-law trend) or Turbulent Flow (above the trend) regime to contextualize price behavior.
Adjust the residual window (default 100 days) to analyze different timeframes for the distribution.
The support power-law line (2 standard deviations below) serves as a critical level for identifying potential price floors.
Access: Invite-only. Contact the script author for access requests or further details. Also signup for 15 more power law indicators:
www.patreon.com
NY AM Session Quartile LinesNY AM Session Quartile Lines
This script automatically divides the New York AM session (6:00 AM to 12:00 PM NY time) into four clear quartiles.
It helps traders visualize the market structure by marking each new quartile with customizable vertical lines.
🔹 Features:
Configurable session start time (NY time).
Adjustable line color, width, and style (solid, dashed, or dotted).
Clean, lightweight design that fits any trading style.
Works across all instruments and timeframes that cover the NY session.
🔹 Perfect for:
Intraday traders who focus on New York session dynamics.
Identifying accumulation, manipulation, and distribution phases across the session.
Structuring the AM session into logical market segments for better planning and analysis.
🎯 Default Settings:
Start Hour: 6:00 AM NY
Line Style: Dashed
Line Color: Black
Line Width: 2
Global Liquidity Index vs BTCTitle: Bitcoin Price Model Based on Global Liquidity Power Law
Description:
This Pine Script implements a predictive Bitcoin (BTC) price model derived from an observed power-law relationship between BTC price and Global Liquidity (specifically Global M2). The model is based on the relationship BTC ~ GL^9.3, where GL represents Global M2, and the best correlation is achieved with an 85-period lead in GL, making it a leading indicator for BTC price movements.
Features:
BTC Price Model:
Calculates a BTC price model using the power-law relationship (BTC ~ GL^9.3) with an 85-period lead in Global Liquidity data.
The model is superimposed on the chart using forced overlay for clear visualization of the predicted BTC price trend relative to actual price.
Directional Oscillator:
Displayed in a lower panel, the oscillator compares the structural similarity between the actual BTC price and the GL-based price model.
Computes the win rate of the averaged BTC price (over a 1-year period) versus the price model to highlight structural alignment.
Projects future oscillator values based on the 85-period lead in the GL model, providing insight into potential price direction.
Purpose:
This script serves as a predictive tool for traders and analysts by leveraging the leading relationship between Global Liquidity and BTC price. The overlay model and oscillator provide both a visual and quantitative framework to anticipate BTC price trends and assess structural alignment with global economic indicators.
Usage Notes:
Ensure Global M2 data is accessible or provided as an input for accurate calculations. It works best when used with the "All Time History" BTCUSD index.
The 85-period lead in GL allows for forward-looking projections, making this tool suitable for strategic planning.
The oscillator aids in confirming the structural validity of the model, enhancing confidence in its projections.
Access: Invite-only. Contact the script author for access requests or additional details.
Also signup for 15 more power law indicators here: www.patreon.com
Reddington Smart Liquidity Hunter### Description of the "Reddington Smart Liquidity Hunter" Indicator
**Brief Description**: This indicator is designed for trading cryptocurrency pairs, identifying liquidity zones and potential entry points based on trend analysis, volume, volatility, and market manipulation signals. It uses clouds (trend and manipulative), "diamond" signals, and stop-loss/take-profit levels for position management.
**Core Principles**:
1. **Clouds**:
- **Long Cloud** (green): EMA > SMA, indicates a bullish trend.
- **Short Cloud** (red): EMA < SMA, indicates a bearish trend.
- **Manipulative Cloud** (gray): High volatility (large candle) with low volume, signaling potential market traps.
2. **Diamonds**: Entry signals (◆) appear with significant volume, RSI > 50 (for longs) or RSI < 50 (for shorts), and a confirming candle.
3. **Liquidity Zones**: Marked at 20-period lows/highs, indicating potential reversal points.
4. **Position Management**: Sets stop-loss (based on ATR) and take-profit (4% from entry price). Positions close upon hitting SL/TP or an opposing signal.
5. **External Factors**: Considers BTC trend and VIX index to gauge market volatility.
**How to Trade**:
- **Long Entry**: Green "▲" signal (diamond with RSI, volume, and cloud confirmation). Enter at candle close, set SL below candle low, TP at +4%.
- **Short Entry**: Red "▼" signal (similar to long, but for bearish setup). SL above candle high, TP at -4%.
- **Exit**: Close position upon hitting SL/TP or when an opposing signal (reversal) appears.
- **Filters**: Watch clouds (avoid manipulative ones), BTC trend (trade in its direction), and VIX (high VIX = higher risk).
**Traded Coins**: BTCUSDT.P, ETHUSDT.P, SOLUSDT.P, XRPUSDT.P.
**Timeframes**: 15M, 1H, 4H, 1D, 1W. Parameters (EMA, SMA, ATR, etc.) adjust for each timeframe to optimize signals.
**Recommendations for Additional Tools**:
1. **Support/Resistance Levels**: Use to confirm liquidity zones and key levels.
2. **MACD or Stochastic**: Filter false signals (e.g., overbought/oversold conditions).
3. **News Flow**: Monitor major events (regulation, macroeconomics) impacting VIX and BTC.
4. **Risk Management**: Limit risk to 1-2% of capital per trade, use trailing stops to lock in profits.
5. **BTC Correlation**: Check other pairs' movements relative to BTC to confirm trends.
**Disclaimer from Reddington**:
"My friends, the 'Reddington Smart Liquidity Hunter' is my trusty companion in the crypto jungle, but it’s no crystal ball. Trading is an art full of risks. Always verify signals, stay informed about news, and never risk more than you can afford to lose. I merely point the way—you walk the path. Good luck and keep a cool head!"
Sigma-Level1-Sigma-Level Indicator (for 28 FX Pairs)
This TradingView indicator calculates and visualizes the 1-sigma price projection range for the current FX pair, based on implied volatility (IV) and a user-defined reference price.
🔧 User Inputs
1. Implied Volatility (IV) Selection
You can choose which volatility term to apply:
ON (Overnight)
1W (1 Week)
1M (1 Month)
Each currency pair uses manually entered IV values (in %), grouped by base currency (USD, EUR, GBP, etc.).
www.investing.com
2. Base Price Selection
You can define the price level used as the anchor for the sigma projection:
CurrentPrice — live market price
YesterdayClose — close of the previous day
LastHourClose — close of the last 1-hour candle
LastFriday — weekly close from last Friday
LastMonthClose — close of the previous monthly candle
LastYearClose — close of the previous yearly candle
These values are retrieved using the appropriate timeframe (D, W, M, 12M, or 60 for hourly).
📐 How the Calculation Works
The indicator calculates the 1σ range using this formula:
1σ Range = basePrice × (IV / √N) / 100
Where:
basePrice is the selected anchor price.
IV is the selected implied volatility for the current pair.
N is the number of periods per year, depending on the IV term:
√252 for ON (trading days)
√52 for 1W (weeks)
√12 for 1M (months)
The upper and lower bands are then:
1σ Up = basePrice + range
1σ Down = basePrice - range
These bands are plotted only during the current calendar week.
🖼️ Visual Output
Green Line: 1σ Upper Boundary
Red Line: 1σ Lower Boundary
Labels show the exact 1σ values at the most recent bar
⚠️ Disclaimer
This indicator is for informational and analytical purposes only. It does not constitute financial advice, a trading signal, or a guarantee of future performance. Always perform your own research and consult with a qualified financial advisor before making trading decisions.
tafirstlibGeneral Purpose: Starts by stating it's a collection of utility functions for technical analysis.
Core Functionality Areas: Mentions key categories like:
Extrema detection (isMin, isMax, etc.)
Condition checking over time (isMachedInRange, isContinuous, etc.)
Rate of change analysis (isSlowDown)
Moving average calculation (getMA)
Advanced Features: Highlights the more complex functions:
Visualization helpers (getColorNew)
Moving Regression (mr) for smoothing/trend
Cycle analysis (bpDom)
Overall Goal: Concludes by stating the library's aim – simplifying development and enabling complex analysis.
Library "tafirstlib"
TODO: add library description here
isSlowDown(data)
isSlowDown
Parameters:
data (float) : array of numbers
Returns: boolean
isMin(data, maeLength)
isMin
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isMax(data, maeLength)
isMax
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isMinStopped(data, maeLength)
isMinStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isMaxStopped(data, maeLength)
isMaxStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isLongMinStopped(data, maeLength, distance)
isLongMinStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
distance (int) : number
Returns: boolean
isLongMaxStopped(data, maeLength, distance)
isLongMaxStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
distance (int) : number
Returns: boolean
isMachedInRangeSkipCurrent(data, findRange, findValue)
isMachedInRangeSkipCurrent
Parameters:
data (bool) : array of numbers
findRange (int) : number
findValue (bool) : number
Returns: boolean
isMachedInRange(data, findRange, findValue)
isMachedInRange
Parameters:
data (bool) : array of numbers
findRange (int) : number
findValue (bool) : number
Returns: boolean
isMachedColorInRange(data, findRange, findValue)
isMachedColorInRange isMachedColorInRange(series color data, int findRange, color findValue)
Parameters:
data (color) : series of color
findRange (int) : int
findValue (color) : color
Returns: boolean
countMachedInRange(data, findRange, findValue)
countMachedInRange
Parameters:
data (bool) : array of numbers
findRange (int) : number
findValue (bool) : number
Returns: number
getColor(data)
getColor
Parameters:
data (float) : array of numbers
Returns: color
getColorNew(data)
getColorNew
Parameters:
data (float) : array of numbers
Returns: color
isColorBetter(color_data)
isColorBetter
Parameters:
color_data (color) : array of colors
Returns: boolean
isColorWorst(color_data)
isColorWorst
Parameters:
color_data (color) : array of colors
Returns: boolean
isColorBetter2(color_data)
isColorBetter2
Parameters:
color_data (color) : array of colors
Returns: boolean
isColorWorst2(color_data)
isColorWorst2
Parameters:
color_data (color) : array of colors
Returns: boolean
isDecreased2Bar(data)
isDecreased2Bar
Parameters:
data (float) : array of numbers
Returns: boolean
isContinuousAdvance(targetSeries, range2Find, howManyException)
isContinuousAdvance
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
howManyException (int) : number
Returns: boolean
isContinuous(targetSeries, range2Find, truefalse)
isContinuous
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
truefalse (bool) : boolean
Returns: boolean
isContinuousNotNow(targetSeries, range2Find, truefalse)
isContinuousNotNow
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
truefalse (bool) : boolean
Returns: boolean
isContinuousTwoFactors(targetSeries, range2Find, truefalse)
isContinuousTwoFactors
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
truefalse (bool) : boolean
Returns: boolean
findEventInRange(startDataBarIndex, neededDataBarIndex, currentBarIndex)
findEventInRange
Parameters:
startDataBarIndex (int) : number
neededDataBarIndex (int) : number
currentBarIndex (int) : number
Returns: boolean
findMin(firstdata, secondata, thirddata, forthdata)
findMin
Parameters:
firstdata (float) : number
secondata (float) : number
thirddata (float) : number
forthdata (float) : number
Returns: number
findMax(firstdata, secondata, thirddata, forthdata)
findMax
Parameters:
firstdata (float) : number
secondata (float) : number
thirddata (float) : number
forthdata (float) : number
Returns: number
getMA(src, length, mav)
getMA
Parameters:
src (float) : number
length (simple int) : number
mav (string) : string
Returns: number
mr(mrb_src, mrb_window, mrb_degree)
Parameters:
mrb_src (float)
mrb_window (int)
mrb_degree (int)
bpDom(maeLength, bpw, mult)
Parameters:
maeLength (int)
bpw (float)
mult (float)
My Trading Bot with 2R Take Profit- *Moving Averages*: It calculates two moving averages—a fast one (shorter period) and a slow one (longer period). When the fast moving average crosses above the slow moving average, it signals a potential long trade, and when it crosses below, it signals a short trade.
- *Risk Management*: The script incorporates a7 stop-loss and take-profit mechanism. The stop-loss is set at 1R (meaning 1% of the price), and the take-profit is set at 2R (double the risk distance). This ensures a risk-reward ratio of 1:2.
- *Trade Execution*: When a crossover or crossunder happens, the strategy opens trades accordingly and sets stop-loss/take-profit levels. Once the price reaches the stop-loss or take-profit, the trade automatically closes.
This foundational script provides a framework for automated trading, but it can be enhanced with additional filters, conditions, and adjustments to better fit your trading style.
Liquidity Fair Value Bands | QuantumResearch 🔹 Liquidity Fair Value Bands | QuantumResearch
A Dynamic Liquidity-Based Fair Value Model Using Volume-Weighted Linear Regression and Deviation Bands
📘 Overview
The Liquidity Fair Value Bands is a specialized volatility and valuation indicator designed to help traders identify dynamic fair value zones based on liquidity-adjusted price behavior. Unlike standard deviation bands or traditional moving averages, this tool integrates volume-weighted linear regression to estimate a fair value baseline — a more accurate representation of price equilibrium under active market participation.
This script is not a simple mashup of existing indicators. It introduces a novel concept by fusing the following elements:
📊 Volume-Weighted Linear Regression (VWLR) to determine the fair value baseline
📈 Standard Deviation Bands layered around this baseline to visualize statistically significant deviations
🔄 Trend Signals derived from slope direction and baseline crossover
🎨 Gradient-Based Visual Modes for enhanced readability
🚨 Built-in Alerts for overbought/oversold and trend breakout conditions
🧠 Concept & Calculation
🟩 1. Fair Value Baseline (Core Innovation)
The baseline is calculated using a volume weighted linear regression.
This formula ensures that higher-volume periods influence the regression line more heavily, offering a liquidity-aware estimate of what the asset is “really worth” based on market consensus.
A positive slope indicates a growing fair value — bullish environment
A negative slope signals declining fair value — bearish environment
📏 2. Deviation Bands
Three layers of symmetric deviation bands are plotted above and below the baseline, each representing a multiple of standard deviation (1σ, 2σ, 3σ) over the same lookback period:
Upper Bands highlight statistically significant overvaluation
Lower Bands indicate undervaluation and potential reversion zones
These zones are visualized using translucent color fills to help traders instantly interpret risk/reward conditions.
🔄 3. Trend Detection
Optionally, the indicator displays up/down arrows when the price crosses the fair value baseline and a new trend is forming:
✅ Uptrend: Price crosses above baseline and baseline slope increases
🔻 Downtrend: Price drops below baseline and slope declines
These dynamic signals allow you to react to trend reversals early, rather than waiting for lagging confirmation.
🎯 How to Use
This tool excels in trend-trading, mean reversion, and liquidity-based fair value analysis.
✅ Buy Zones: Price enters lower bands (e.g. -1σ to -3σ) during lower fair value zone
❌ Sell Zones: Price enters upper bands (e.g. +1σ to +3σ) during higher fair value
🕵️♂️ Fair Value Confirmation: Flat baseline in consolidating markets helps avoid chop
📈 Trend Entry: Use baseline crossovers and band inflections to time entries
⚙️ Customization Features
🔧 Adjustable regression length and offset
🎨 Eight visual modes for light/dark themes
🔔 Optional alerts for significant band breaches (1σ, 2σ, 3σ)
🟡 Toggle individual band visibility (1st, 2nd, 3rd) for cleaner UI
⚡ Optional trend signal arrows
🧪 Interpretation Example
If the current price trades 2+ standard deviations above the liquidity-based fair value line, it likely indicates:
A short-term overbought market
Potential for mean reversion
Or signal that a strong trend breakout is underway (confirm with slope direction)
✅ Why It’s Unique
This is not just a Bollinger Bands variant — it is a liquidity-aware fair value model with enhanced statistical depth. The baseline adapts to both price and volume, unlike simple moving averages that assume equal importance across all candles.
It combines three important market principles:
🎯 Price Action
🏦 Liquidity Weighting
📊 Volatility Analysis
All in one clean and visually intuitive script.
📢 Disclaimer
This indicator is for educational purposes only and is not financial advice. Always use additional confluence and proper risk management in your trading.
Bullish Bearish Move Forecast with RSI & Volume Confirmation🎯 Purpose
This strategy is designed to generate high-confidence long and short entries by combining:
Trend confirmation from moving averages
Momentum via MACD-like divergence
Stochastic oscillator conditions
Optional filters: RSI and Volume
⚙️ How It Works
✅ Trend Detection:
Uses 3 Simple Moving Averages (10, 30, 100 periods)
Looks for price crossing above (bullish) or below (bearish)
✅ Momentum Signal:
A custom MACD-style crossover of medians identifies momentum shifts
✅ Stochastic Confirmation:
Confirms entries when the market is emerging from oversold (for longs) or overbought (for shorts)
✅ Signal Agreement:
Each of the 3 components gives a +1 or -1
Entry only occurs if all 3 agree (i.e., total score = +3 or -3)
✅ Additional Filters (Toggleable):
RSI: Must be > 50 for long, < 50 for short (default = ON)
Volume: Volume must be greater than its 20-period average (default = ON)
🟢 Long Entry Requirements
All 3 core signals align bullishly
RSI filter passes (if enabled)
Volume filter passes (if enabled)
No recent long signal on previous bar
🔴 Short Entry Requirements
All 3 core signals align bearishly
RSI < 50 and high volume (if filters enabled)
No recent short signal on previous bar
💼 Backtesting & Risk Management
✅ Customizable Settings
Go to settings (⚙️ icon in the strategy pane):
Take Profit (%) – Default: 3%
Stop Loss (%) – Default: 2%
Toggle RSI and Volume filters on/off
✅ Built-in Trade Logic
Longs exit at +TP or -SL
Shorts exit at -TP or +SL
📊 Visual Features
Green “LONG” labels below bars
Red “SHORT” labels above bars
Triangle markers indicate entry candles
🧪 How to Use in TradingView
Click on the Pine Editor tab
Paste the script and click Add to Chart
Go to the Strategy Tester tab to view performance
Use the gear icon ⚙️ to customize parameters
Toggle filters and adjust TP/SL for optimization
TPO Block Szie HelperTPO Assistant Overview
The TPO Assistant is a tool designed to enhance the use of Time-Price Opportunity (TPO) charts by offering dynamic guidance on block size selection based on recent market volatility. It serves as a precision aid in adapting TPO structure to different market conditions, improving both clarity and usability of TPO-based analysis.
Key Functionality
By statistically analyzing the volatility of the past N days, the assistant calculates a recommended block size for the current ticker. This value can be manually entered into the official TPO indicator on TradingView, helping users align the chart resolution with the underlying market’s price behavior.
In markets where price movement elasticity varies significantly, a fixed block size may not offer sufficient resolution. This tool solves that problem by providing an adaptive estimate—guiding users in refining TPO segmentation and supporting better structural interpretations.
Use Cases
Volatility-aware block sizing: Automatically suggests a block size that reflects current market conditions.
TPO merge/split support: Helps refine how TPOs are grouped or separated, depending on market rhythm.
SP (Significant Point) estimation aid: Provides stronger context for defining key levels within the TPO framework.
Benefits
Precision alignment with market behavior: Enhances resolution of TPO charts to better reflect real-time volatility shifts.
Minimizes trial and error: Offers a quantitative starting point for block size decisions, reducing guesswork.
Adaptive and context-sensitive: Useful in both trending and ranging markets, with no need for constant manual adjustments.
Disclaimer
This tool is intended as an analytical aid only and does not constitute financial advice. Market volatility is inherently uncertain, and this assistant should be used in conjunction with a comprehensive trading strategy.
Filtered Stochastic MA🔴 Filtered Stochastic MA (FSM) 🔴
Filtered Stochastic MA (FSM) is an all‑in‑one overlay that combines an adaptive moving average, momentum analysis, and dual volatility bands to give you clear, actionable levels on any chart.
🔧 Core Components
Center MA with “Custom” Filters
Choose from familiar SMAs, EMAs, WMAs, HMAs, RMAs … or select “Custom 1” and “Custom 2” for two proprietary smoothing methods that react gracefully in both trends and chop.
Tune the length to match your style—from fast scalp MAs (10–20) to smoother swing MAs (50+).
Hidden Stochastic Momentum
A built‑in %K/%D oscillator runs quietly under the hood, helping the bands adapt to shifting momentum without cluttering your chart.
Dual SuperTrend‑Style Bands
Band 1 (standard multipliers) hugs the Center MA to mark early support/resistance.
Band 2 (double multipliers) creates a wider envelope for breakout thresholds and over‑extension signals.
Both fade or highlight based on market direction for instant visual cues.
⚙️ Key Settings
Setting Description
MA Type & Length Pick your smoothing style and period.
Stochastic Length Controls momentum sensitivity.
Band Multipliers ATR & StdDev factors for Band 1 (and ×2 for Band 2).
Color Controls Customize colors and opacity for each band and the MA.
Non‑Repainting Lock signals to the previous bar for extra safety.
📈 How to Trade with FSM
1. Trend‑Following Entries
Long when price pulls back toward Support Band 1 in an uptrend (price > Center MA and Support Band 1 is rising).
Short when price rallies into Resistance Band 1 in a downtrend (price < Center MA and Resistance Band 1 is falling).
Example: On a 15 min chart of EUR/USD, set MA = 20 EMA, ATR = 1, StdDev = 1. When price dips to the green Band 1 and then closes back above it, risk a long with stop just below the band.
2. Breakout & Exhaustion Plays
A decisive close above Resistance Band 2 signals a strong breakout. Look to ride the impulse or wait for a retest of Band 2 as support.
Conversely, a break below Support Band 2 can mark trend exhaustion or a reversal opportunity.
Example: On a 1 hour BTCUSD chart with MA = 50 (Custom 1), watch for candle closes beyond the outer fuchsia band—enter on a successful retest for better risk/reward.
3. Mean‑Reversion Scalp Setups
In range or low‑volatility conditions, price swings outside Band 1 often snap back toward the Center MA. Fade these extremes on fast timeframes (1–5 min).
Example: On a 5 min Apple stock chart, when the price spikes above Resistance Band 1 and fails to hold, short toward the Center MA for a quick scalp.
4. Momentum Confirmation
Use the hidden stochastic readings (via the Data Window or your own alerts) to confirm entries:
Favor long setups when momentum is rising.
Avoid shorts when momentum remains strong above 50, even if bands are touched.
FSM brings together smoothing, momentum, and volatility in a single, clean overlay. Adjust the “Custom” filters and band widths to match your market and timeframe, and use the examples above as a starting point to build your own high‑probability setups.
Add “Filtered Stochastic MA (FSM)” to your TradingView chart today and turn noisy data into precision entry and exit zones!
Caution:
This is an educational idea, past performance or what you see on a chart may not be repeatable behavior. Trade at your own risk.
Regards!
Bullish & Bearish Engulfing ProHello Traders!
Overview
The Bullish & Bearish Engulfing Pro indicator is a powerful pattern recognition tool that identifies key reversal points and trend continuation opportunities. These engulfing patterns often mark the beginning of a significant price move and are widely used in technical analysis. For example, in an uptrend, a Bullish Engulfing pattern can provide an ideal pullback entry signal.
This indicator combines traditional candlestick theory with advanced technical filters like trend direction and volatility analysis to offer traders precise, high-confidence signals.
Key Features :
Accurate pattern detection:
Uses refined algorithms to detect true Bullish and Bearish Engulfing patterns, filtering out noise and false positives.
Trend filter:
Customizable Simple Moving Average (SMA) ensures trades are aligned with the market’s broader trend, improving trade success rates.
Volatility awareness:
ATR-based filtering ensures that only statistically significant engulfing patterns are highlighted.
Visual clarity:
Bullish and Bearish Engulfing patterns are displayed with distinct, customizable colors and labels for instant recognition.
Flexible customization:
Users can adjust detection criteria, SMA settings, and visual options to suit their personal strategy.
Filtered signal display:
Option to visualize filtered-out signals to better understand how the logic makes its decisions.
Bullish Engulfing Pattern
Appears after a downtrend or during a pullback in an uptrend
Consists of two candles
A smaller bearish candle
Followed by a larger bullish candle that completely engulfs the previous body
Bearish Engulfing Pattern
Appears after an uptrend or during a pullback in a downtrend
Consists of two candles
A smaller bullish candle
Followed by a larger bearish candle that completely engulfs the previous body
Key differences in this implementation
What makes this indicator unique
Trend and volatility filters
Ensure patterns occur in meaningful market conditions
Comprehensive pattern analysis:
Factors in candle body ratios, wick sizes, and relative size to past candles for smarter detection
Adaptive to market conditions:
Dynamic thresholds based on ATR allow pattern recognition to adjust to different volatility regimes
Educational value:
Visualizing rejected patterns helps traders build intuition and refine their discretion
How to Trade with this Indicator
Engulfing patterns can signal strong reversals or pullback continuations. Use them with trend and volume confirmation to maximize their effectiveness.
snapshot
Bullish Opportunities:
Look for Bullish Engulfing patterns (aqua-colored candles and labels) during or after a pullback in an uptrend.
Bearish Opportunities:
Watch for Bearish Engulfing patterns (orange-colored candles and labels) during or after a rally in a downtrend.
Entry: Enter on the next bar open after the engulfing candle completes.
Stop loss: 2 ticks below/above the engulfing candle’s low/high.
Take profit: Aim for at least a 2R target, a swing high/low or manage the tradewith a trailing stop.
Trend Alignment:
For higher win probability, take trades only in the direction of the SMA-defined trend.
Note: To ensure the candle coloring appears correctly, place the indicator at the top of the object tree.