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.
═════════════════════════════════════════════════════════════
Chỉ báo và chiến lược
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.
Hull MA with Support/Resistance📊 Combined Hull MA & Support/Resistance Indicator
🌟 Core Features Overview
This indicator integrates two powerful tools:
Hull Moving Average (Hull MA) - An optimized MA variant that reduces lag and closely follows price action.
Dynamic Support/Resistance System - Automatically identifies key price levels based on market structure.
Dual Advantage: Simultaneously identifies trends with Hull MA while pinpointing critical price zones for optimal entries.
⚙️ How It Works
Component Functionality Key Attributes Hull MA
- Trend identification
- Reversal signals via color changes - Low latency
- Color-coded (green/red) momentum
Support/Resistance - Key level detection
- Noise filtering via pivot points - Auto-adjusting
- Extended line visualization
📈 Practical Applications Trend Trading:
Buy when Hull MA turns green + price breaks Resistance
Sell when Hull MA turns red + price breaks Support
Breakout/Pullback Strategies:
Combine S/R breakouts with Hull MA slope for signal confirmation
Risk Management:
Place stop-loss orders beyond nearest S/R levels
⚡ Performance Optimization
Default Settings:
Hull MA: 16 periods (ideal for H1/D1 timeframes)
S/R: 1-bar pivot (short-term swing points)
Advanced Customization:
Increase Hull MA sensitivity by reducing periods
Widen S/R zones with Left/Right Bars >1
📌 Critical Notes
• Most effective in trending markets
• Recommended to combine with volume or RSI for confirmation
• Always backtest across multiple timeframes before live trading
💡 Pro Tip: Use Hull MA as primary trend filter - only trade when price retests S/R levels aligned with the MA's color.
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.
Prior sessions High/Low/MidThis indicator highlights the High, Low, and Midpoint of the most recently completed trading sessions. It helps traders visualize key price levels from the previous session that often act as support, resistance, or reaction zones.
It draws horizontal lines for the high and low of the last completed session, as well as the midpoint, which is calculated as the average of the high and low. These lines extend to the right side of the chart, remaining visible as reference levels throughout the day.
You can independently enable or disable the Tokyo, London, and New York sessions depending on your preferences. Each session has adjustable start and end times, as well as time zone settings, so you can align them accurately with your trading strategy.
This indicator is particularly useful for intraday and swing traders who use session-based levels to define market structure, bias, or areas of interest. Session highs and lows often align with institutional activity and can be key turning points in price action.
Please note that this script is designed to be used only on intraday timeframes such as 1-minute to 4-hour charts. It will not function on daily or higher timeframes.
Pivot detector🧠 Pivot Detector – Multi-condition Reversal Signal with Trend & Time Filters
This indicator is specifically optimized for Bitcoin trading, combining classic reversal patterns with volume, trend, and session filters.
🟢 Long signals:
- RSI crossing up from oversold (RSI < 30)
- MACD histogram crossing above zero
- Price touching the lower Bollinger Band with OBV reversal
- Bullish engulfing pattern + volume spike
🔴 Short signals:
- RSI crossing down from overbought (RSI > 70)
- MACD histogram crossing below zero
- Price touching upper Bollinger Band + OBV failure
- Bearish engulfing pattern + volume spike
⚙️ Additional filters:
- ❌ Signals are blocked during low-volatility range zones (ADX < 20 or narrow standard deviation)
- ✅ Longs only allowed during active hours: 00–02, 07–09, 13–15 UTC
- ✅ Shorts only triggered outside strong uptrend (ADX > 25 with DI+ dominance)
📊 Best used on:
- ✅ Bitcoin / BTCUSDT
- ✅ 15m, 30m, 1H, 4H charts
🎯 Strategy focus:
- Captures short-term reversals in volatile but trendable markets
- Filters out traps and low-quality signals during sideways conditions
- Best used with manual confirmation or as part of a composite system
Alerts are built-in for both long and short triggers.
⚠️ This tool is still in its experimental phase and may require further adjustments as it's tested and improved.
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.
Multi-Factor Reversal AnalyzerMulti-Factor Reversal Analyzer – Quantitative Reversal Signal System
OVERVIEW
Multi-Factor Reversal Analyzer is a comprehensive technical analysis toolkit designed to detect market tops and bottoms with high precision. It combines trend momentum analysis, price action behavior, wave oscillation structure, and volatility breakout potential into one unified indicator.
This indicator is not a random mix of tools — each module is carefully selected for a specific purpose. When combined, they form a multi-dimensional view of the market, merging trend analysis, momentum divergence, and volatility compression to produce high-confidence signals.
Why Combine These Modules?
Module Combination Ideas & How to Use Them
Factor A: Trend Detector + Gold Zone
Concept:
• The Trend Detector (light yellow histogram) evaluates market strength:
• Histogram trending downward or staying below 50 → bearish conditions;
• Trending upward or staying above 50 → bullish conditions.
• The Gold Zone identifies areas of volatility compression — typically a prelude to explosive market moves.
Practical Application:
• When the Gold Zone appears and the Trend Detector is bearish → likely downside move;
• When the Gold Zone appears and the Trend Detector is bullish → likely upside breakout.
• Note: The Gold Zone does not mean the bottom is in. It is not a buy signal on its own — always combine it with other modules for directional bias.
Factor B: PAI + Wave Trend
Concept:
• PAI (Price Action Index) is a custom oscillator that combines price momentum with volatility dispersion, displaying strength zones:
• Green area → bullish dominance;
• Red area → bearish pressure.
• Wave Trend offers smoothed crossover signals via the main and signal lines.
Practical Application:
• When PAI is in the green zone and Wave Trend makes a bullish crossover → potential reversal to the upside;
• When PAI is in the red zone and Wave Trend shows a bearish crossover → potential start of a downtrend.
Factor C: Trend Detector + PAI
Concept:
• Combines directional trend strength with price action strength to confirm setups via confluence.
Practical Application:
• Trend Detector histogram bottoms out + PAI enters the green zone → high chance of upward reversal;
• Histogram tops out + PAI in the red zone → increased likelihood of downside continuation.
Multi-Factor Confluence (Advanced Use)
• When Trend Detector, PAI, and Wave Trend all align in the same direction (bullish or bearish), the directional signal becomes significantly more reliable.
• This setup is especially useful for trend-following or swing trade entries.
KEY FEATURES
1. Multi-Layer Reversal Logic
• Combines trend scoring, oscillator divergence, and volatility squeezes for triangulated reversal detection.
• Helps traders distinguish between trend pullbacks and true reversals.
2. Advanced Divergence Detection
• Detects both regular and hidden divergences using pivot-based confirmation logic.
• Customizable lookback ranges and pivot sensitivity provide flexible tuning for different market styles.
3. Gold Zone Volatility Compression
• Highlights pre-breakout zones using custom oscillation models (RSI, harmonic, Karobein, etc.).
• Improves anticipation of breakout opportunities following low-volatility compressions.
4. Trend Direction Context
• PAI and Trend Score components provide top-down insight into prevailing bias.
• Built-in “Straddle Area” highlights consolidation zones; breakouts from this area often signal new trend phases.
5. Flexible Visualization
• Color-coded trend bars, reversal markers, normalized oscillator plots, and trend strength labels.
• Designed for both visual discretionary traders and data-driven system developers.
USAGE GUIDELINES
1. Applicable Markets
• Suitable for stocks, crypto, futures, and forex
• Supports reversal, mean-reversion, and breakout trading styles
2. Recommended Timeframes
• Short-term traders: 5m / 15m / 1H — use Wave Trend divergence + Gold Zone
• Swing traders: 4H / Daily — rely on Price Action Index and Trend Detector
• Macro trend context: use PAI HTF mode for higher timeframe overlays
3. Reversal Strategy Flow
• Watch for divergence (WT/PAI) + Gold Zone compression
• Confirm with Trend Score weakening or flipping
• Use Straddle Area breakout for final trigger
• Optional: enable bar coloring or labels for visual reinforcement
• The indicator performs optimally when used in conjunction with a harmonic pattern recognition tool
4. Additional Note on the Gold Zone
The “Gold Zone” does not directly indicate a market bottom. Since it is displayed at the bottom of the chart, it may be misunderstood as a bullish signal. In reality, the Gold Zone represents a compression of price momentum and volatility, suggesting that a significant directional move is about to occur. The direction of that move—upward or downward—should be determined by analyzing the histogram:
• If histogram momentum is weakening, the Gold Zone may precede a downward move.
• If histogram momentum is strengthening, it may signal an upcoming rebound or rally.
Treat the Gold Zone as a warning of impending volatility, and always combine it with trend indicators for accurate directional judgment.
RISK DISCLAIMER
• This indicator calculates trend direction based on historical data and cannot guarantee future market performance. When using this indicator for trading, always combine it with other technical analysis tools, fundamental analysis, and personal trading experience for comprehensive decision-making.
• Market conditions are uncertain, and trend signals may result in false positives or lag. Traders should avoid over-reliance on indicator signals and implement stop-loss strategies and risk management techniques to reduce potential losses.
• Leverage trading carries high risks and may result in rapid capital loss. If using this indicator in leveraged markets (such as futures, forex, or cryptocurrency derivatives), exercise caution, manage risks properly, and set reasonable stop-loss/take-profit levels to protect funds.
• All trading decisions are the sole responsibility of the trader. The developer is not liable for any trading losses. This indicator is for technical analysis reference only and does not constitute investment advice.
• Before live trading, it is recommended to use a demo account for testing to fully understand how to use the indicator and apply proper risk management strategies.
CHANGELOG
v1.0: Initial release featuring integrated Price Action Index, Trend Strength Scoring, Wave Trend Oscillator, Gold Zone Compression Detection, and dual-type divergence recognition. Supports higher timeframe (HTF) synchronization, visual signal markers, and diversified parameter configurations.
Lunar Cycle Tracker - (Moon + 3 Mercury Retrogrades)This script overlays the lunar and Mercury retrograde cycles directly onto your chart, helping traders visualize natural timing intervals that may influence market behavior.
Key Features:
🌑 New Moon & Full Moon Markers:
Vertical lines and labels indicate new and full moon events each month. You can fully customize their colors.
🌗 Last Quarter Moon Fill:
A soft pink background highlights the last quarter moon phase (from 7.4 days after the full moon to the next new moon).
🪐 Three Mercury Retrograde Zones:
Highlight up to three retrograde periods per year with customizable date inputs and background color. Great for spotting potential reversal or volatility windows.
Customization:
Moon event dates and colors
Manual input for Mercury retrograde periods (year, month, day)
Full compatibility with all timeframes (1H, 4H, daily, etc.)
Great for astro-cycle traders, Gann-based analysts, or anyone who respects time symmetry in the markets.
Fully customizable & works across all timeframes.
This tool was created by AngelArt as part of a larger astro-market model using lunar timing and planetary retrogrades for cycle-based market analysis.
No Trading ZoneNo trading zone
This indicator highlights the time range between 03:00 and 11:00 UTC as a "danger zone" for trading.
Based on data-driven backtesting, this period consistently showed:
- High frequency of moving average (MA) crossovers without meaningful trend
- A high concentration of sideways market conditions
- Increased likelihood of false breakouts and stop-loss hunting
On average, strong directional trends tend to emerge after 12:00 UTC, especially between 12:00–15:00 UTC.
Avoiding trades during this time zone can help reduce exposure to low-probability setups and enhance strategy reliability.
Cumulative Delta Volume DivergenceCDV Divergence Indicator. Trading is about probabilities and no one indicator is going to give you a definite Buy/Sell signal. There are false positives. It can't tell you how high or low the price will go before it turns around. This is not financial advice. This is just a helpful addition to your toolbox :)
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.
TRAMA - Trend Regularity Adaptive Moving AverageThe TRAMA Line is an advanced, adaptive moving average that adjusts its speed based on market volatility. It’s designed to react quickly to price momentum shifts while filtering out noise — making it perfect for scalping, intraday, and swing trading.
What Makes It Special:
📊 Adaptive Sensitivity: Speeds up during high momentum, slows down during consolidation.
🎯 More responsive than traditional EMAs or SMAs, giving early signals without excessive false alarms.
🔄 Works great as a dynamic trend filter — price staying above = uptrend, below = downtrend.
🧠 Based on price movement regularity, which helps detect clean pullbacks and trend continuations.
In Your Indicator:
TRAMA acts as the main trend line to detect:
Trend direction
Pullbacks
Reversals
Combined with MACD, RSI, and ATR, it helps determine whether a move is likely to continue or reverse.
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)
Key Trading Session Times (UK) with DST AdjustTradingView Pine Script for London Killzone with DST Adjustment
What This Script Does:
This script highlights three important trading sessions on the chart:
Asia Session (12:00 AM – 6:00 AM UK)
London Session (6:30 AM – 9:00 AM UK)
New York Session (1:00 PM – 3:00 PM UK)
It will highlight these sessions using background colors, and it automatically adjusts the session times for Daylight Saving Time (DST).
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
HMA Breakdown [NLR]Hull Moving Average (HMA) is a great trend-following tool — it's smooth, fast, and more responsive than traditional MAs like EMA or SMA. But the problem?
Sometimes it gives signals that look sharp but are misleading — especially in noisy markets or when the price is chopping around.
This script breaks down the inner mechanics of the HMA to give you more context:
Are the inputs to HMA actually diverging?
Is there momentum behind the move?
Is this trend about to reverse or just a pullback?
By plotting the components of HMA — and layering signal bands, color logic, and optional trend overlays — it gives you a visual breakdown of what's really going on under the hood.
What this indicator shows
HMA Trend (Main Line)
The Hull Moving Average (HMA) is plotted in bold, colored red or green based on internal conditions (not just price slope).
WMA Components (Fast & Slow)
Shows the two WMAs used inside the HMA calculation:
WMA Half (faster) — reacts quickly to price
WMA Full (slower) — smoother, less reactive
Their difference and crossover gives you clues on whether momentum is building or fading.
Signal & Band Structure
A calculated upper band and lower band are used to track when HMA is leading or lagging momentum.
When the HMA is below the band, trend may be weakening - this helps you filter false signals.
TMA Candle (Optional Visual)
A synthetic candle shows whether the smoothed average is rising or falling compared to a few candles back.
This is a simple visual cue to spot inflection points in the trend.
EMA Trend Overlay (Optional)
A pair of short-term EMAs built on a smoothed source helps you catch micro-trends or align your entries with the bigger trend.
Can act as an early heads-up or a trend confirmation layer.
What problem it solves
Noisy Signals: Helps filter out weak or fake trend signals often seen in HMA-only systems.
Visual Breakdown: Lets you see how each component of the HMA is behaving — so you’re not flying blind.
Momentum Confirmation: Adds layered confirmation using fast-vs-slow WMA cross, signal bands, and mini trend overlays.
Best Used For:
Trend-following traders who use HMA or WMA strategies
Filtering entries/exits in momentum-based systems
Visually confirming when a trend is real vs fake
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
Previous 5 Days High/Low (RTH)Absolutely! Here's a detailed explanation of each part of the Pine Script we just built. This script is designed for intraday charts (e.g., 5-min, 15-min, 1-hour) and shows the high and low of the 5th most recent trading day, based on NASDAQ regular trading hours (RTH), which are 9:30 AM to 4:00 PM (New York time).
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!"
King Crypto Crossover BotThe Simple SMA Crossover Bot is a streamlined yet robust algorithmic signal generator, architected to detect dynamic trend inflection points using dual-period simple moving average convergence and divergence.
Leveraging the intersection logic of short-term and long-term moving averages, this system highlights potential breakout and reversal zones by precisely identifying crossover and crossunder events — critical junctures where bullish or bearish momentum transitions often begin.
Designed for traders who value clarity and precision, the bot deploys high-visibility chart markers and configurable real-time alert conditions, enabling seamless integration with webhook-based automation systems. This makes it ideal for hybrid manual-automated trading strategies or full automation when paired with third-party trade execution layers.
Whether used standalone or as part of a broader multi-indicator framework, this crossover engine offers a solid foundation for systematic trading strategies in crypto, forex, or equities markets.
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.