HTFSweep – Structure & ResolveThis indicator isolates higher timeframe Open, High, Low, and Close levels and projects them onto lower timeframes.
It is designed as a structural lens, not a trading signal — a tool for experienced operators who study how intraday price interacts with higher‑timeframe liquidity anchors.
Key Features:
Selectable higher timeframe (default: Daily).
Plots Open, High, Low, Close lines across intraday charts.
Bullish/Bearish candle bodies shaded for context.
Background fill between High and Low for zone visualization.
Purpose:
This script is not a “buy/sell” tool. It is a scope, intentionally minimal, highlighting a repeating place of structural and liquidity significance. Use it to track sweeps of higher‑timeframe levels and confirm structural shifts intraday.
⚠️ Disclaimer: This script provides market structure visualization only. It does not generate trading signals or financial advice.
COMEX_MINI:MGC1!
Penunjuk dan strategi
Fibonacci-Based Volume Flow (VFI)Fibonacci-based Volume Flow is an advanced next-generation evolution of LazyBear’s original VFI script that calculates and averages up to 21 Fibonacci-based VFI pairings to create a smoothed composite volume flow signal. This unique and powerful approach reduces noise, adapts to volatility, and provides a clearer view of trend strength and market structure across all timeframes. It also includes dynamic fibonacci guide levels, adaptive lookbacks, EMA crossovers, and structure-aware pivot labeling to help traders identify high-quality reversals, confirm directional bias, and detect divergences with greater precision. It's ideal for traders looking to enhance momentum analysis through volume-based confirmation.
🧠 Key Features🧠
🔹 Multi-VFI Fibonacci Fusion🔹
Blends up to 21 VFI signals (5, 13, 21, 34… up to 610) into smartly paired averages (e.g., 13/34, 55/144) — forming a smoothed composite VFI that’s more adaptive, less noisy, and highly responsive across market conditions.
🔸🔸 Dynamic Lookbacks🔸 🔸
Automatically adjusts histogram high/low tracking based on your chart’s timeframe — no more static tuning. Perfect for scalping fast charts or confirming long-term trends.
🟥🟩 Color-Coded Histogram🟥🟩
Visualizes VFI momentum with gradient coloring.
🧩🧩 Signal Crossovers 🧩🧩
Color-coded crossover lines persistently show bullish or bearish dominance.
Includes three powerful crossover systems:
➖5/13 VFI: Fast, early reversal detection
➖8/21 VFI: Swing-trading sweet spot
➖55/144 VFI: Trend confirmation across long cycles
🏷️ 🏷️Pivot Structure Labels🏷️🏷️
Labels oscillator swings with full structural logic:
➖HH, HL, LH, LL, EQ
➖Displays percent change, price at pivot, oscillator reading
➖Smart coloring detects divergence & trend continuation
📈 📈Dynamic Histogram Guides📈📈
Optional zero and ±50% bands anchor histogram levels based on real histogram extremes, not static thresholds — visually frame momentum shifts with context.
📍 📍Persistent High/Low Pivot Lines📍📍
Track the most significant histogram pivots (not price) across time, with smart labels:
➖Volume flow structure zones
➖Label shows price at pivot, oscillator level, and bars since event
➖Ideal for spotting divergence zones, momentum failures, and trend exhaustion.
🔍 🔍Volatility Table (ATR%)🔍🔍
💡Shows real-time volatility compression or expansion
💡Uses multiple ATR periods (e.g., 14 & 55) for short- and medium-term comparison
💡Helps traders understand whether momentum is likely to continue or stall
🔩🔩Volume-weighted VFI baselines🔩🔩
🟢A daily session-based VWAP of the VFI, which resets each day and highlights intraday volume flow context.
🟠A rolling VWA of VFI, which acts like a VWMA over a fixed window (e.g., 55 bars), smoothing short-term fluctuations and supporting trend/momentum confirmation.
These VWAP-style overlays help traders identify strength vs. weakness relative to volume-weighted baselines — useful for divergence spotting, mean reversion setups, or breakout confirmation.
🧰 🧰Under the Hood: How It Works🧰🧰
🔧 Core VFI Logic
Based on LazyBear’s foundational VFI:
➖Uses log returns of price (HLC3)
➖Filters insignificant moves using volatility-weighted thresholds
➖Normalizes volume via adaptive capping (e.g., 2.5× average)
🌀 Composite Blend System
Each VFI instance is smoothed and then fused via user-selectable pairs. This creates a customizable average VFI representing short, mid, and long-term pressure — one value, many time horizons.
📊 EMA Signal Layer
Crosses trigger persistent color shifts in signal lines, making trend strength clear at a glance.
VFI blend feeds into EMA crossovers. You can toggle visibility for:
➖Fast (5/13)
➖Medium (8/21)
➖Slow (55/144)
🧭 Pivot Framework
Structure logic only compares pivots on same-side polarity:
➖Highs compare to highs above zero
➖Lows compare to lows below zero
This avoids nonsensical comparisons and preserves logical sequences (HH → LH → HL).
🧱 Dynamic Labels
All pivots and persistent levels display:
➖Oscillator value
➖Price value
➖Structure tag (e.g., LH, HL)
➖% change from prior pivot
➖Lookback info
➖Bar age
Unlike traditional VFI:
✅ It blends timeframes with Fibonacci precision
✅ Uses dynamic, volatility-aware logic
✅ Embeds visual structure & divergence intelligence
✅ Enhances entry confidence and exit timing
🔧 This isn’t just an indicator — it’s a volume-informed decision engine.
Ideal For:
🔶Trend-followers wanting cleaner volume-based confirmation
🔶Reversal traders spotting structure + divergence
🔶Scalpers or investors needing adaptable signals
🔶Those who loved LazyBear's VFI
📌 Final Note:
As powerful as Fibonacci Blended Volume Flow is, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages, or support/resistance levels. Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
Dollar Volume + SD [ZTD]### So, What's the Big Deal with SD Dollar Volume?
TL:DR
What you see:
1. $ Volume = (Price * Volume) / 1M (we divide it by 1M by default so you don't have to look at 12 digits but you can select between 100k/1M/10M)
2. User selected M.A. period with difference sources
3. Up to 4 Standard Deviation from that M.A.
4. Color coded (explained below)
That's it, no fancy useless multi color rainbows. Functional, bringing depth and clarity to your analysis based on reality not optical illusion.
--------------
The Long version
You know how we've always looked at volume? It's a classic, but it's got a blind spot. A million shares traded when a stock is at $10 is a completely different ballgame from a million shares traded when it's at $200. The first is $10M in action; the second is $200M. Traditional volume treats them the same, but they are not the same story.
That's the whole idea behind the **Dollar Volume Standard Deviation (SD $VVOLUME)** indicator. Instead of just counting shares, it tracks the **actual dollar amount** ( also refered as Dollar Volume) changing hands. This gives you a much clearer picture of the real financial power behind a price move. It helps you see when the "big money" is truly stepping in or backing off.
Think about it this way: after a 20% drop on earnings, you might see a 10% volume increase and think, "Wow, buyers are stepping in!" But if you look at the *value traded*, it might actually be lower than the day before because the share price is so much cheaper. This indicator cuts through that noise.
What about that smaller stock you bought that suddenly doubles in prices in a matter of months. Do you really thing the volume you are looking at carries any meaning anymore?
On longer time frame? Think about Volume traded vs Value Traded on NVDA for example. Looking at volume alone on those charts is absolutely meaningless. I even wonder why volume alone ever existed in the first place as an indicator.
### How to Use It in Your Trading
This isn't just theory; here’s how you can actually use it to make better decisions.
#### Reading the Indicator
The indicator is designed to be visual and intuitive. Here’s what you're looking at:
* **The Bars:** Each bar on the indicator represents the total dollar value traded during that period. Bigger bar, more money moved.
* **The White Line:** This is your baseline—the moving average of the value traded. It shows you the normal level of money flow for that stock.
* **Bar Colors (The Important Part):**
* **Direction:** **Green** means the stock closed higher in that period. **Red** means it closed lower. Simple enough.
* **Intensity:** This is the real magic. The brightness or intensity of the color tells you how significant that money flow was. A dull, faded bar means the value traded was pretty average. A **bright, intense bar** means the value was way above normal (usually 1 or 2 standard deviations away from the average). *That's* when you need to pay attention.
#### Actionable Signals for Your Strategy
* **Spotting High-Conviction Moves:** When you see a bright, intense red or green bar that towers over the others, that's a signal of major conviction. Big players are making a decisive move, either buying up everything in sight or dumping their positions. This is your cue that something significant is happening.
* **Confirming a Trend's Strength:** Are you in a strong uptrend? Look for a consistent pattern of bright green bars. This tells you that significant capital is flowing in to support the rising price. It's confirmation that the trend has legs.
* **Catching a Weakening Trend (Divergence):** This is a powerful one. Imagine the stock price is grinding out new highs, but on the SD
V
VOLUME
indicator, the bars are getting smaller and less intense. That's a major red flag. It shows that even though the price is inching up, the real money isn't following. There's no conviction, and the trend could be about to reverse.
* **Gauging Liquidity:** If the bars are consistently low and dull, it's a sign that interest in the stock is drying up. It's a good way to spot illiquid conditions and avoid getting trapped in a stock that's hard to get out of.
Ultimately, SD SEED_YASHALGO_NSE_BREADTH:VOLUME helps you see the market from a different angle. It's not just about the noise of shares being traded; it's about following the money.
Adaptive Weighted Regression Channel (AWRC)Short Description:
The Adaptive Weighted Regression Channel (AWRC) is an advanced technical analysis tool that plots a dynamic regression channel based on the recent price action. The centerline is a linear regression (trendline) fitted to the selected price source over a rolling window. The channel boundaries are placed above and below the regression line by a user-selected multiple of the weighted standard deviation.
What makes AWRC unique is its ability to optionally weight each bar’s importance in the regression using Volume, ATR (Average True Range), or Recency Decay, offering a channel that can adapt to market volatility, participation, or trend acceleration.
Parameter Explanations:
length: Number of bars for the regression window (how many recent candles are included). Higher values = smoother, less sensitive channel.
StdDev Multiplier (mult): Controls the channel width. 2.0 is classic; higher = wider channels, lower = tighter.
Enable Weighting?: Turn ON to activate weighting of each bar. If OFF, all bars are equally weighted (classic regression channel).
Weight Type: Select what to use for weights (only active if Enable Weighting is ON):
"Volume": Higher volume bars have more influence on the regression.
"ATR": Bars with higher volatility (as measured by ATR) have more influence.
"Decay": More recent bars are given more weight (controlled by Decay parameter).
Decay: If Weight Type is "Decay", this controls the rate of recency decay. (e.g. 0.98 = slow decay; 0.90 = fast decay; values close to 1 mean a longer memory.)
Source for the calculation (src): Selects which price is regressed. Default is hl2 (average of high and low); you can choose close, open, etc.
Recommended Parameters:
For general use: length = 34, mult = 2.0, Enable Weighting = OFF, src = hl2
For volume-aware channel: Enable Weighting = ON, Weight Type = "Volume"
For volatility sensitivity: Enable Weighting = ON, Weight Type = "ATR"
For extra focus on recent price: Enable Weighting = ON, Weight Type = "Decay", Decay = 0.95 or 0.98
For swing trading: length = 21–55, mult = 1.5–2.5
For intraday/scalping: length = 10–20, mult = 1.0–1.5
Usage Tips:
The regression line shows the "best fit" trend for the selected window.
The channel captures the typical range; price breaking outside the channel can signal strength, exhaustion, or breakout.
Volume and ATR weighting help the channel adapt to market participation or volatility spikes.
Decay weighting locks onto the most recent trend direction quickly.
Adjust parameters to fit your timeframe and market volatility.
Use AWRC to spot trending moves, reversals, or overextensions.
Try different weighting and channel settings to match your trading style!
Period Highlighter ProPeriod Highlighter Pro is a versatile Pine Script indicator designed to visually highlight specific time periods on your TradingView charts, making it easier to analyze seasonal patterns, trading sessions, or specific weekdays. With customizable settings for months, weekdays, or intraday time ranges, this tool adapts to your trading strategy, allowing you to focus on key periods with precision.
Features
Flexible Highlight Modes: Choose from three modes to highlight:
Month Range: Highlight specific months or a range (e.g., March to June) for seasonal analysis.
Weekday Range: Highlight specific weekdays (e.g., Mondays or Monday to Wednesday) for weekly pattern analysis.
Time Range: Highlight daily time windows (e.g., 15:30–22:00) for intraday session analysis, restricted to weekdays.
Customizable Timezone: Set any IANA timezone (e.g., America/New_York, Europe/London) or UTC offset to align highlights with your preferred market hours.
Historical Range Control: Define how far back to apply highlights with options for years (Month Range), weeks (Weekday Range), or days (Time Range).
Visual Customization: Choose your highlight color to match your chart style.
User-Friendly Inputs: Intuitive dropdowns and tooltips guide you through configuring each mode, ensuring only relevant settings are adjusted.
How It Works
Select a highlight mode and configure the corresponding settings:
Month Range: Pick a start month and an optional end month (or "Disabled" for a single month) and set the number of years back.
Weekday Range: Choose a start weekday and an optional end weekday (or "Disabled" for a single day) and set the number of weeks back.
Time Range: Specify a start and end time (24-hour format) and the number of weekdays back. The indicator then applies a semi-transparent background color to chart bars that meet your criteria, making it easy to spot relevant periods.
Use Cases
Seasonal Traders: Highlight specific months to analyze recurring market patterns.
Day Traders: Focus on active trading sessions (e.g., New York open) with precise time range highlighting.
Weekly Pattern Analysts: Isolate specific weekdays to study price behavior.
Global Traders: Adjust for any timezone to align with your market of interest.
Why Use Period Highlighter Pro?
This indicator simplifies time-based analysis by providing a clear visual overlay for your chosen periods. Whether you're studying historical trends or focusing on specific trading hours, Period Highlighter Pro offers the flexibility and precision to enhance your chart analysis.
Licensed under the Mozilla Public License 2.0.
X EMA EQThe X EMA EQ is a versatile technical analysis tool designed to overlay price action with customizable Exponential Moving Averages (EMAs) and real-time equilibrium levels. Ideal for intraday traders, it blends trend-following and mean-reversion concepts to highlight both directional bias and potential value zones.
🔹 Key Features:
1. Dual EMA Visualization
Plot up to two user-defined EMAs (default: 20 and 50 periods).
Independently toggle and style each EMA to suit your strategy.
Helps track short- and mid-term trend dynamics with clarity.
2. Running Equilibrium Bands
Displays a real-time dynamic price range based on the highest high and lowest low over a user-defined rolling window (default: 15 minutes).
Includes upper/lower quartile lines and a central midpoint, giving structure to intraday price movement.
Useful for identifying compression, breakouts, and fair value zones.
3. Linear Regression Overlay (Optional)
Apply a smoothed linear regression curve across the same time window.
Highlights directional momentum and price mean trajectory.
Valuable for assessing slope bias and trend strength over the equilibrium period.
4. Intraday Timeframe Optimization
Designed specifically for intraday charts with minute-based resolutions (30 seconds to 60 minutes).
Auto-adjusts logic based on the current chart’s timeframe.
5. Clean Visual Design
Minimalist and translucent color schemes ensure readability without clutter.
All components are independently toggleable for full customization.
⚙️ Settings Overview:
EMA Settings: Enable/disable each EMA, set lengths and colors.
Time & Price Settings: Define the running equilibrium period (in minutes), control visibility of bands and regression line, and adjust styling.
X EMA EQ offers a compact yet powerful visual framework for traders seeking to align with short-term trend structure while keeping an eye on evolving price balance zones.
Daily Volatility/Amplitude Probability DashboardSummary
This indicator provides a powerful statistical deep-dive into an asset's daily volatility. It moves beyond simple range indicators by calculating the historical probability of a trading day reaching certain amplitude levels.
The results are presented in a clean, interactive dashboard that highlights the current day's performance in real-time, allowing traders to instantly gauge if the current volatility is normal, unusually high, or unusually low compared to history.
This tool is designed to help traders answer a critical question: "Based on past behavior, what is the likelihood that today's range will be at least X%?"
Key Concepts Explained
1. Daily Amplitude (%)
The indicator first calculates the amplitude (or range) of every historical daily candle and expresses it as a percentage of that day's opening price.
Formula: (Daily High - Daily Low) / Daily Open * 100
This normalization allows for a consistent volatility comparison across different price levels and time periods.
2. Cumulative Probability Distribution
Instead of showing the probability of a day's final range falling into a small, exclusive bin (e.g., "exactly between 1.0% and 1.5%"), this indicator uses a cumulative model. It answers the question, "What is the probability that the daily range will be at least a certain value?"
For example, if the row for "≥ 2%" shows a probability of 12.22%, it means that historically, 12.22% of all trading days have had a total range of 2% or more. This is incredibly useful for risk management and setting realistic expectations.
Core Features
Statistical Dashboard: Presents all data in a clear, easy-to-read table on your chart.
Cumulative Probability Model: Instantly see the historical probability of the daily range reaching or exceeding key percentage levels.
Real-Time Highlight & Arrow (→): The dashboard isn't just historical. It actively tracks the current, unfinished day's amplitude and highlights the corresponding row with a color and an arrow (→). This provides immediate context for the current session's price action.
Timeframe Independent: You can use this indicator on any chart timeframe (e.g., 5-minute, 1-hour, 4-hour), and it will always fetch and calculate using the correct daily data.
Clean & Professional UI: Features a monospace font for perfect alignment and a simple, readable design.
Fully Customizable: Easily adjust the dashboard's position, text size, and the amount of historical data used for the analysis.
How to Use & Interpret the Data
This indicator is not a trading signal but a powerful tool for statistical context and decision-making.
Risk Management: If you see that an asset has only a 5% historical probability of moving more than 3% in a day, you can set stop-losses more intelligently and avoid being overly aggressive with your targets on a typical day.
Setting Profit Targets: Gauge realistic intra-day profit targets. If a stock is already up 2.5% and has historically only moved more than 3% on rare occasions, you might consider taking profits.
Options Trading: Volatility is paramount for options. This tool helps you visualize the expected range of movement, which can inform decisions on strike selection for strategies like iron condors or straddles.
Identifying Volatility Regimes: Quickly see if the current day is a "normal" low-volatility day or an "abnormal" high-volatility day that could signal a major market event or trend initiation.
Dashboard Breakdown
→ (Arrow): Points to the bin corresponding to the current, live day's amplitude.
Amplitude Level: The minimum amplitude threshold. The format "≥ 1.5%" means "greater than or equal to 1.5%".
Days Reaching Level: The raw number of historical days that had an amplitude equal to or greater than the level in the first column.
Prob. of Reaching Level (%): The percentage of total days that reached that amplitude level (Days Reaching Level / Total Days Analyzed).
Settings
Position: Choose where the dashboard appears on your chart.
Text Size: Adjust the font size for better readability on your screen resolution.
Max Historical Days to Analyze: Set the lookback period for the statistical analysis. A larger number provides a more robust statistical sample but may take slightly longer to load initially.
Enjoy this tool and use it to add a new layer of statistical depth to your trading analysis.
ZenAlgo - ADXThis open-source indicator builds upon the official Average Directional Index (ADX) implementation by TradingView. It preserves the core logic of the original ADX while introducing additional visualization features, configurability, and analytical overlays to assist with directional strength analysis.
Core Calculation
The script computes the ADX, +DI, and -DI based on smoothed directional movement and true range over a user-defined length. The smoothing is performed using Wilder’s method, as in the original implementation.
True Range is calculated from the current high, low, and previous close.
Directional Movement components (+DM, -DM) are derived by comparing the change in highs and lows between consecutive bars.
These values are then smoothed, and the +DI and -DI are expressed as percentages of the smoothed True Range.
The difference between +DI and -DI is normalized to derive DX, which is further smoothed to yield the ADX value.
The indicator includes a selectable signal line (SMA or EMA) applied to the ADX for crossover-based visualization.
Visualization Enhancements
Several plots and conditions have been added to improve interpretability:
Color-coded histograms and lines visualize DI relative to a configurable threshold (default: 25). Colors follow the ZenAlgo color scheme.
Dynamic opacity and gradient coloring are used for both ADX and DI components, allowing users to distinguish weak/moderate/strong directional trends visually.
Mirrored ADX is internally calculated for certain overlays but not directly plotted.
The script also provides small circles and diamonds to highlight:
Crossovers between ADX and its signal line.
DI crossing above or below the 25 threshold.
Rising ADX confirmed by rising DI values, with point size reflecting ADX strength.
Divergence Detection
The indicator includes optional detection of fractal-based divergences on the DI curve:
Regular and hidden bullish and bearish divergences are identified based on relative fractal highs/lows in both price and DI.
Detected divergences are optionally labeled with 'R' (Regular) or 'H' (Hidden), and color-coded accordingly.
Fractal points are defined using 5-bar patterns to ensure consistency and reduce false positives.
ADX/DI Table
When enabled, a floating table displays live values and summaries:
ADX value , trend direction (rising/falling), and qualitative strength.
DI composite , trend direction, and relative strength.
Contextual power dynamics , describing whether bulls or bears are gaining or losing strength.
The background colors of the table reflect current trend strength and direction.
Interpretation Guidelines
ADX indicates the strength of a trend, regardless of its direction. Values below 20 are often considered weak, while those above 40 suggest strong trending conditions.
+DI and -DI represent bullish and bearish directional movements, respectively. Crossovers between them are used to infer trend direction.
When ADX is rising and either +DI or -DI is dominant and increasing, the trend is likely strengthening.
Divergences between DI and price may suggest potential reversals but should be interpreted cautiously and not in isolation.
The threshold line (default 25) provides a basic filter for ignoring low-strength conditions. This can be adjusted depending on the market or timeframe.
Added Value over Existing Indicators
Fully color-graded ADX and DI display for better visual clarity.
Optional signal MA over ADX with crossover markers.
Rich contextual labeling for both divergence and threshold events.
Power dynamics commentary and live table help users contextualize current momentum.
Customizable options for smoothing type, divergence display, table position, and visual offsets.
These additions aim to improve situational awareness without altering the fundamental meaning of ADX/DI values.
Limitations and Disclaimers
As with any ADX-based tool, this indicator does not indicate market direction alone —it measures strength, not trend bias.
Divergence detection relies on fractal patterns and may lag or produce false positives in sideways markets.
Signal MA crossovers and DI threshold breaks are not entry signals , but contextual markers that may assist with timing or filtering other systems.
The table text and labels are for visual assistance and do not replace proper technical analysis or market context.
Hurst Exponent Adaptive Filter (HEAF) [PhenLabs]📊 PhenLabs - Hurst Exponent Adaptive Filter (HEAF)
Version: PineScript™ v6
📌 Description
The Hurst Exponent Adaptive Filter (HEAF) is an advanced Pine Script indicator designed to dynamically adjust moving average calculations based on real time market regimes detected through the Hurst Exponent. The intention behind the creation of this indicator was not a buy/sell indicator but rather a tool to help sharpen traders ability to distinguish regimes in the market mathematically rather than guessing. By analyzing price persistence, it identifies whether the market is trending, mean-reverting, or exhibiting random walk behavior, automatically adapting the MA length to provide more responsive alerts in volatile conditions and smoother outputs in stable ones. This helps traders avoid false signals in choppy markets and capitalize on strong trends, making it ideal for adaptive trading strategies across various timeframes and assets.
Unlike traditional moving averages, HEAF incorporates fractal dimension analysis via the Hurst Exponent to create a self-tuning filter that evolves with market conditions. Traders benefit from visual cues like color coded regimes, adaptive bands for volatility channels, and an information panel that suggests appropriate strategies, enhancing decision making without constant manual adjustments by the user.
🚀 Points of Innovation
Dynamic MA length adjustment using Hurst Exponent for regime-aware filtering, reducing lag in trends and noise in ranges.
Integrated market regime classification (trending, mean-reverting, random) with visual and alert-based notifications.
Customizable color themes and adaptive bands that incorporate ATR for volatility-adjusted channels.
Built-in information panel providing real-time strategy recommendations based on detected regimes.
Power sensitivity parameter to fine-tune adaptation aggressiveness, allowing personalization for different trading styles.
Support for multiple MA types (EMA, SMA, WMA) within an adaptive framework.
🔧 Core Components
Hurst Exponent Calculation: Computes the fractal dimension of price series over a user-defined lookback to detect market persistence or anti-persistence.
Adaptive Length Mechanism: Maps Hurst values to MA lengths between minimum and maximum bounds, using a power function for sensitivity control.
Moving Average Engine: Applies the chosen MA type (EMA, SMA, or WMA) to the adaptive length for the core filter line.
Adaptive Bands: Creates upper and lower channels using ATR multiplied by a band factor, scaled to the current adaptive length.
Regime Detection: Classifies market state with thresholds (e.g., >0.55 for trending) and triggers alerts on regime changes.
Visualization System: Includes gradient fills, regime-colored MA lines, and an info panel for at-a-glance insights.
🔥 Key Features
Regime-Adaptive Filtering: Automatically shortens MA in mean-reverting markets for quick responses and lengthens it in trends for smoother signals, helping traders stay aligned with market dynamics.
Custom Alerts: Notifies on regime shifts and band breakouts, enabling timely strategy adjustments like switching to trend-following in bullish regimes.
Visual Enhancements: Color-coded MA lines, gradient band fills, and an optional info panel that displays market state and trading tips, improving chart readability.
Flexible Settings: Adjustable lookback, min/max lengths, sensitivity power, MA type, and themes to suit various assets and timeframes.
Band Breakout Signals: Highlights potential overbought/oversold conditions via ATR-based channels, useful for entry/exit timing.
🎨 Visualization
Main Adaptive MA Line: Plotted with regime-based colors (e.g., green for trending) to visually indicate market state and filter position relative to price.
Adaptive Bands: Upper and lower lines with gradient fills between them, showing volatility channels that widen in random regimes and tighten in trends.
Price vs. MA Fills: Color-coded areas between price and MA (e.g., bullish green above MA in trending modes) for quick trend strength assessment.
Information Panel: Top-right table displaying current regime (e.g., "Trending Market") and strategy suggestions like "Follow trends" or "Trade ranges."
📖 Usage Guidelines
Core Settings
Hurst Lookback Period
Default: 100
Range: 20-500
Description: Sets the period for Hurst Exponent calculation; longer values provide more stable regime detection but may lag, while shorter ones are more responsive to recent changes.
Minimum MA Length
Default: 10
Range: 5-50
Description: Defines the shortest possible adaptive MA length, ideal for fast responses in mean-reverting conditions.
Maximum MA Length
Default: 200
Range: 50-500
Description: Sets the longest adaptive MA length for smoothing in strong trends; adjust based on asset volatility.
Sensitivity Power
Default: 2.0
Range: 1.0-5.0
Description: Controls how aggressively the length adapts to Hurst changes; higher values make it more sensitive to regime shifts.
MA Type
Default: EMA
Options: EMA, SMA, WMA
Description: Chooses the moving average calculation method; EMA is more responsive, while SMA/WMA offer different weighting.
🖼️ Visual Settings
Show Adaptive Bands
Default: True
Description: Toggles visibility of upper/lower bands for volatility channels.
Band Multiplier
Default: 1.5
Range: 0.5-3.0
Description: Scales band width using ATR; higher values create wider channels for conservative signals.
Show Information Panel
Default: True
Description: Displays regime info and strategy tips in a top-right panel.
MA Line Width
Default: 2
Range: 1-5
Description: Adjusts thickness of the main MA line for better visibility.
Color Theme
Default: Blue
Options: Blue, Classic, Dark Purple, Vibrant
Description: Selects color scheme for MA, bands, and fills to match user preferences.
🚨 Alert Settings
Enable Alerts
Default: True
Description: Activates notifications for regime changes and band breakouts.
✅ Best Use Cases
Trend-Following Strategies: In detected trending regimes, use the adaptive MA as a trailing stop or entry filter for momentum trades.
Range Trading: During mean-reverting periods, monitor band breakouts for buying dips or selling rallies within channels.
Risk Management in Random Markets: Reduce exposure when random walk is detected, using tight stops suggested in the info panel.
Multi-Timeframe Analysis: Apply on higher timeframes for regime confirmation, then drill down to lower ones for entries.
Volatility-Based Entries: Use upper/lower band crossovers as signals in adaptive channels for overbought/oversold trades.
⚠️ Limitations
Lagging in Transitions: Regime detection may delay during rapid market shifts, requiring confirmation from other tools.
Not a Standalone System: Best used in conjunction with other indicators; random regimes can lead to whipsaws if traded aggressively.
Parameter Sensitivity: Optimal settings vary by asset and timeframe, necessitating backtesting.
💡 What Makes This Unique
Hurst-Driven Adaptation: Unlike static MAs, it uses fractal analysis to self-tune, providing regime-specific filtering that's rare in standard indicators.
Integrated Strategy Guidance: The info panel offers actionable tips tied to regimes, bridging analysis and execution.
Multi-Regime Visualization: Combines adaptive bands, colored fills, and alerts in one tool for comprehensive market state awareness.
🔬 How It Works
Hurst Exponent Computation:
Calculates log returns over the lookback period to derive the rescaled range (R/S) ratio.
Normalizes to a 0-1 value, where >0.55 indicates trending, <0.45 mean-reverting, and in-between random.
Length Adaptation:
Maps normalized Hurst to an MA length via a power function, clamping between min and max.
Applies the selected MA type to close prices using this dynamic length.
Visualization and Signals:
Plots the MA with regime colors, adds ATR-based bands, and fills areas for trend strength.
Triggers alerts on regime changes or band crosses, with the info panel suggesting strategies like momentum riding in trends.
💡 Note:
For optimal results, backtest settings on your preferred assets and combine with volume or momentum indicators. Remember, no indicator guarantees profits—use with proper risk management. Access premium features and support at PhenLabs.
BCbc script using everything to detect the thing we need and using every volume % wise to see dry wet
Sat Stacking Strategies Simulation (SSSS)Sat Stacking Strategies Simulation (SSSS)
This indicator simulates and compares different Bitcoin stacking strategies over time, allowing you to visualize performance, cost basis, and stacking behavior directly on your chart.
Core Features:
Three Stacking Strategies
• Trend-Based – Stack only when price is above/below a long-term SMA.
• Stack the Dip – Buy during sharp pullbacks or oversold conditions.
• Price Zone – Stack only in “cheap”, “fair”, or “expensive” zones based on a simulated Short-Term Holder (STH) cost basis.
Always Stack Benchmark
Compare your chosen strategy against a simple “Always Stack” approach for a real-world DCA reference.
Performance Metrics Table
Track:
• Total Fiat Added
• Total BTC Accumulated
• Current Value
• Average Cost per BTC
• PnL %
• CAGR
• Sharpe Ratio & Stdev
• Stack Events & Time Underwater
Advanced Options
• Simulate cash-secured puts on unused fiat.
• Simulate covered calls on BTC holdings.
• Roll over unused stacking amounts for future buys.
This tool is designed for Bitcoiners, stackers, and DCA enthusiasts who want to backtest and visualize their stacking plan—whether you keep it simple or go full quant.
Sometimes the best alpha is just showing up every week with your wallet open… and occasionally wearing a helmet. 🪖💰
Monthly Open Lines (Historical, Accurate)📝 Description:
This indicator plots horizontal lines at every monthly open across the entire chart, helping traders easily identify key support/resistance levels based on the start of each month.
✅ Accurately tracks all historical monthly opens
✅ Lines extend fully across the screen (like regular horizontal lines)
✅ Black lines for clean, minimal visual impact
✅ Works on any timeframe (intraday, daily, etc.)
📊 Ideal For:
Price action traders
Support/resistance mapping
Monthly level breakout strategies
Institutional order flow tracking
Ayman – Full Smart Suite Auto/Manual Presets + PanelIndicator Name
Ayman – Full Smart Suite (OB/BoS/Liq/FVG/Pin/ADX/HTF) + Auto/Manual Presets + Panel
This is a multi-condition trading tool for TradingView that combines advanced Smart Money Concepts (SMC) with classic technical filters.
It generates BUY/SELL signals, draws Stop Loss (SL) and Take Profit (TP1, TP2) levels, and displays a control panel with all active settings and conditions.
1. Main Features
Smart Money Concepts Filters:
Order Block (OB) Zones
Break of Structure (BoS)
Liquidity Sweeps
Fair Value Gaps (FVG)
Pin Bar patterns
ADX filter
Higher Timeframe EMA filter (HTF EMA)
Two Operating Modes:
Auto Presets: Automatically adjusts all settings (buffers, ATR multipliers, RR, etc.) based on your chart timeframe (M1/M5/M15).
Manual Mode: Fully customize all parameters yourself.
Trade Management Levels:
Stop Loss (SL)
TP1 – partial profit
TP2 – full profit
Visual Panel showing:
Current settings
Filter status
Trend direction
Last swing levels
SL/TP status
Alerts for BUY/SELL conditions
2. Entry Conditions
A BUY signal is generated when all these are true:
Trend: Price above EMA (bullish)
HTF EMA: Higher timeframe trend also bullish
ADX: Trend strength above threshold
OB: Price in a valid bullish Order Block zone
BoS: Structure break to the upside
Liquidity Sweep: Sweep of recent lows in bullish context
FVG: A bullish Fair Value Gap is present
Pin Bar: Bullish Pin Bar pattern detected (if enabled)
A SELL signal is generated when the opposite conditions are met.
3. Stop Loss & Take Profits
SL: Placed just beyond the last swing low (BUY) or swing high (SELL), with a small ATR buffer.
TP1: Partial profit target, defined as a ratio of the SL distance.
TP2: Full profit target, based on Reward:Risk ratio.
4. How to Use
Step 1 – Apply Indicator
Open TradingView
Go to your chart (recommended: XAUUSD, M1/M5 for scalping)
Add the indicator script
Step 2 – Choose Mode
AUTO Mode: Leave “Use Auto Presets” ON – parameters adapt to your timeframe.
MANUAL Mode: Turn Auto OFF and adjust all lengths, buffers, RR, and filters.
Step 3 – Filters
In the Filters On/Off section, enable/disable specific conditions (OB, BoS, Liq, FVG, Pin Bar, ADX, HTF EMA).
Step 4 – Trading the Signals
Wait for a BUY or SELL arrow to appear.
SL and TP levels will be plotted automatically.
TP1 can be used for partial close and TP2 for full exit.
Step 5 – Alerts
Set alerts via BUY Signal or SELL Signal to receive notifications.
5. Best Practices
Scalping: Use M1 or M5 with AUTO mode for gold or forex pairs.
Swing Trading: Use M15+ and adjust buffers/ATR manually.
Combine with price action confirmation before entering trades.
For higher accuracy, wait for multiple filter confirmations rather than acting on the first arrow.
6. Summary Table
Feature Purpose Can Disable?
Order Block Finds key supply/demand zones ✅
Break of Structure Detects trend continuation ✅
Liquidity Sweep Finds stop-hunt moves ✅
Fair Value Gap Confirms imbalance entries ✅
Pin Bar Price action reversal filter ✅
ADX Trend strength filter ✅
HTF EMA Higher timeframe confirmation ✅
TR37This indicator plots a 377-day Exponential Moving Average (EMA) based on the closing price, ideal for long-term trend analysis. The EMA emphasizes recent price movements while smoothing out short-term fluctuations. A label "TR37" with white text is displayed at the end of the line for clear identification.
Ayman Entry Signal – Ultimate PRO (Scalping Gold Settings)1. Overview
This indicator is a professional gold scalping tool built for TradingView using Pine Script v6.
It combines multiple price action and technical filters to generate high-probability Buy/Sell signals with built-in trade management features (TP1, TP2, SL, Break Even, Partial Close, Stats tracking).
It is optimized for XAUUSD but can be applied to other assets with proper setting adjustments.
2. Key Features
Multi-Condition Trade Signals – EMA trend, Break of Structure, Order Blocks, FVG, Liquidity Sweeps, Pin Bars, Higher Timeframe confirmation, Trend Cloud, SMA Cross, and ADX.
Full Trade Management – Auto-calculates lot size, SL, TP1, TP2, Break Even, Partial Close.
Dynamic Chart Drawing – Entry lines, SL/TP lines, trade boxes, and real-time PnL.
Statistics Panel – Tracks wins, losses, breakeven trades, and total PnL over selected dates.
Customizable Filters – All filters can be turned ON/OFF to match your strategy.
3. Main Inputs & Settings
Account Settings
Capital ($) – Total trading capital.
Risk Percentage (%) – Risk per trade.
TP to SL Ratio – Risk-to-reward ratio.
Value Per Point ($) – Value per pip/point for lot size calculation.
SL Buffer – Extra points added to SL to avoid stop hunts.
Take Profit Settings
TP1 % of Full Target – Fraction of TP1 compared to TP2.
Move SL to Entry after TP1? – Activates Break Even after TP1.
Break Even Buffer – Extra points when moving SL to BE.
Take Partial Close at TP1 – Option to close half at TP1.
Signal Filters
ATR Period – For SL/TP calculation buffer.
EMA Trend – Uses EMA 9/21 crossover for trend.
Break of Structure (BoS) – Requires structure break confirmation.
Order Block (OB) – Validates trades within OB zones.
Fair Value Gap (FVG) – Confirms trades inside FVGs.
Liquidity Sweep – Checks if liquidity zones are swept.
Pin Bar Confirmation – Uses candlestick patterns for extra confirmation.
Pin Bar Body Ratio – Controls strictness of Pin Bar filter.
Higher Timeframe Filters (HTF)
HTF EMA Confirmation – Confirms lower timeframe trades with higher timeframe trend.
HTF BoS – Confirms with higher timeframe structure break.
HTF Timeframe – Selects higher timeframe.
Advanced Filters
SuperTrend Filter – Confirms trades based on SuperTrend.
ADX Filter – Filters out low volatility periods.
SMA Cross Filter – Uses SMA 8/9 cross as filter.
Trend Cloud Filter – Uses EMA 50/200 as a cloud trend filter.
4. How It Works
Buy Signal Conditions
EMA 9 > EMA 21 (trend bullish)
Optional filters (BoS, OB, FVG, Liquidity Sweep, Pin Bar, HTF confirmations, ADX, SMA Cross, Trend Cloud) must pass if enabled.
When all active filters pass → Buy signal triggers.
Sell Signal Conditions
EMA 9 < EMA 21 (trend bearish)
Same filtering process but for bearish conditions.
When all active filters pass → Sell signal triggers.
5. Trade Execution & Management
When a signal triggers:
Lot size is auto-calculated based on risk % and SL distance.
SL is placed beyond recent swing high/low + ATR buffer.
TP1 and TP2 are calculated from the SL using the reward-to-risk ratio.
Break Even: If enabled, SL moves to entry price after TP1 is hit.
Partial Close: If enabled, half of the position closes at TP1.
Trade Exit: Full exit at TP2, SL hit, or partial close at TP1.
6. Chart Display
Entry Line – Shows entry price.
SL Line – Red dashed line at stop loss level.
TP1 Line – Lime dashed line for TP1.
TP2 Line – Green dashed line for TP2.
PnL Labels – Displays real-time profit/loss in $.
Trade Box – Visual area showing trade range.
Pin Bar Shapes – Optional, marks Pin Bars.
7. Statistics Panel
Stats Header – Shows “Stats”.
Total Trades
Wins
Losses
Breakeven Trades
Total PnL
Can be reset or filtered by date.
8. How to Use
Load the Indicator in TradingView.
Select Gold (XAUUSD) on your preferred scalping timeframe (1m, 5m, 15m).
Adjust settings:
Use default gold scalping settings for quick start.
Enable/disable filters according to your style.
Wait for a Buy/Sell alert.
Confirm visually that all desired conditions align.
Place trade with calculated lot size, SL, and TP levels shown on chart.
Let trade run – the indicator manages Break Even & Partial Close if enabled.
9. Recommended Timeframes
Scalping: 1m, 5m, 15m
Day Trading: 15m, 30m, 1H
Swing: 4H, Daily (adjust settings accordingly)