LiquidityPulse Higher Timeframe Consecutive Candle Run LevelsLiquidityPulse Higher Timeframe Consecutive Candle Run Levels
Research suggests that financial markets can alternate between trend-persistence and mean-reversion regimes, particularly at short (intraday) or very long timeframes. Extended directional moves, whether prolonged intraday rallies or sell-offs, also carry a statistically higher chance of retracing or reversing (Safari & Schmidhuber, 2025). In addition, studies examining support and resistance behaviour show that swing highs or lows formed after strong directional moves may act as structurally and psychologically important price levels, where subsequent price interactions have an increased likelihood of stalling or bouncing rather than passing through directly (Chung & Bellotti, 2021). By highlighting higher-timeframe candle runs and marking their extremal levels, this indicator aims to display areas where directional momentum previously stopped, providing contextual "watch levels" that traders may incorporate into their broader analysis.
How this information is used in the indicator:
When a sequence of consecutive higher-timeframe candles prints in the same direction, the indicator highlights the lower-timeframe chart with a green or red background, depending on whether the higher-timeframe run was bullish or bearish. The highest high (for a bull run) or lowest low (for a bear run) of that sequence forms a recent extremum, and this value is plotted as a swing-high or swing-low level. These levels appear only after the required number of consecutive higher-timeframe candles (set by the user) have closed, and they continue updating as long as the higher-timeframe streak remains intact. A level "freezes" and stops updating only when an opposite-colour higher-timeframe candle closes (e.g., a red candle ending a bull run, or a green candle ending a bear run). Once frozen, the level remains fixed to preserve that structural information for future analysis or retests. The number of past bull/bear levels displayed on the chart is also adjustable in the settings.
Why capture a level after a long directional run:
When price moves in one direction for several consecutive candles (e.g. 4, 5, or more), it reflects strong directional bias, often associated with momentum, liquidity imbalance, or liquidity grabs. Once that sequence breaks, the final level reached marks a point of exhaustion or structural resistance/support, where that bias failed to continue. These inflection points are often used by traders and trading algorithms to assess potential reversals, retests, or breakout setups. By freezing these levels once the run ends, the indicator creates a map of historically significant price zones, allowing traders to observe how price behaves around them over time.
Additional information displayed by the indicator:
Each detected run includes a label showing the run length (the number of consecutive higher-timeframe candles in the streak) along with the source timeframe used for detection. The indicator also displays an overstretch marker: this numerical value appears when the total size of the candle bodies within the run exceeds a user-defined multiple of the average higher-timeframe body size (default: 1.5x). This helps highlight runs that were unusually strong or extended relative to typical volatility. You can also enable alerts that trigger when this overstretch ratio exceeds a higher threshold.
Key Settings
Timeframe: Choose which HTF to analyse (e.g., 15m, 1h, 4h)
Minimum Candle Run Length: Define how many consecutive candles are needed to trigger a level (e.g., 4)
Overstretch Settings: Customize detection threshold and alert trigger (in multiples of average body size)
Background Tints: Enable/disable visual highlights for bull and bear runs
Display Capacity: Choose how many past bull/bear levels to show
How Traders Can Use This Indicator
Traders can:
-Watch levels for retests, reversals, breakouts, or consolidation
-Identify areas where price showed strong directional conviction
-Spot extended or aggressive moves based on overstretch detection
-Monitor how price reacts when retesting prior run levels
-Build confluence with your existing levels, zones, or indicators
Disclaimer
This tool does not reflect true order flow, liquidity, or institutional positioning. It is a visual aid that highlights specific candle behaviour patterns and does not produce predictive signals. All analysis is subject to interpretation, and past price behaviour does not imply future outcomes.
References:
Trends and Reversion in Financial Markets on Time Scales from Minutes to Decades (Sara A. Safari & Christof Schmidhuber, 2025)
Evidence and Behaviour of Support and Resistance Levels in Financial Time Series (Chung & Bellotti, 2021)
Indicadores e estratégias
MTF Alignment & Key Levelsso this one is specifically for the 1hr and 4hr time frame. but what it does is alert you once the monthly weekly and daily timeframes align with a trend in a certain direction wether its bearish or bullish but then it will mark out key levels on the 1hr and 4hr time frame to indicate when price breaks through that level to enter a trade in the direction of the higher timeframes alignment.
Daily Range Box (RIC) V0.2This update enhances the "Daily Range Box" indicator by adding user-configurable inputs for colors and line styles. Users can now customize the box border color and the midline color independently through dedicated color picker inputs. Additionally, separate dropdown menus allow selection of line styles (Solid, Dashed, or Dotted) for both the box border and the midline, enabling personalized visualization while maintaining the core functionality of drawing daily range boxes with midlines across all timeframes.
EMA Crossover CandlesEMA Crossover Candles
This indicator colors your chart candles based on the relationship between two Exponential Moving Averages (EMAs).
How It Works
Green Candles - When the Fast EMA is above the Slow EMA, indicating bullish momentum
Red Candles - When the Fast EMA is below the Slow EMA, indicating bearish momentum
Settings
Source - The price data used for EMA calculations (default: close)
Fast Length - Period for the fast EMA (default: 5)
Slow Length - Period for the slow EMA (default: 10)
How To Use
This indicator provides a quick visual reference for trend direction. Green candles suggest the short-term trend is bullish, while red candles suggest bearish conditions. This can help you:
Identify trend direction at a glance
Filter trades in the direction of the trend
Spot potential trend changes when candle colors shift
Tips
Adjust the Fast and Slow Length settings to match your trading timeframe
Shorter periods = more responsive but more false signals
Longer periods = smoother but slower to react to trend changes
Consider hiding default candles in Chart Settings for a cleaner look
Note: This indicator is for informational purposes only and should not be used as the sole basis for trading decisions. Always use proper risk management and consider combining with other forms of analysis.
Feel free to modify this to match your style or add any additional details you'd like to include.Claude is AI and can make mistakes. Please double-check responses. Opus 4.5
Wheel Strategy SMAsPlots the 200 SMA and 50 SMA- For CSP, look for a strike price that is at or just below teh 200 sma
Reversal (Heikin Ashi-ready)This indicator detects bullish and bearish reversal patterns based purely on price action relative to prior candles. It is designed to be Heikin Ashi–compatible, meaning it can optionally use HA OHLC values rather than standard candles.
The script identifies:
Bullish reversals (V Up triangles)
Bearish reversals (V Down triangles)
It uses a two-stage system:
Context detection (a potential reversal setup forms).
Confirmation detection (price breaks a key level within a specified number of bars).
Indicator ***TuYa*** V8.2 – HH/HL MTF + Peak Mid ZoneIndicator TuYa V8.0 – HH/HL MTF + Peak Mid Zone
TuYa V8.0 combines multi-timeframe market structure with a Peak Reaction midline to create clean, rule-based reversal and trend entries – designed primarily for 1-minute execution with 1-hour bias.
🧠 Core Concept
This indicator fuses three ideas:
HTF Peak Reaction Midline (1H)
Uses a Peak Reaction style logic on the higher timeframe (HTF, default: 1H).
Identifies a reaction high and reaction low, then calculates their midpoint → the Peak Mid Zone.
This midline acts as a dynamic sentiment divider (above = premium / below = discount).
Multi-Timeframe HH/HL/LH/LL Structure
HTF structure (1H): detects HH, HL, LH, LL using pivot highs/lows.
LTF structure (1m): detects HH, HL, LH, LL on the execution timeframe (chart TF, intended for 1m).
HTF → LTF Confirmation Window
After a 1H structure event (HH, HL, LL, LH), the indicator opens a confirmation window of up to N LTF candles (default: 10 x 1m bars).
Within that window, the required 1m structure event must occur to confirm an entry.
🎯 Signal Logic
All entries are generated on the LTF (e.g. 1m chart), using HTF (e.g. 1H) bias + Peak Mid Zone:
1️⃣ Price ABOVE Peak Mid (Bullish premium zone)
Reversal SELL
HTF: HH (Higher High)
Within N 1m bars: LTF HH
→ SELL signal (fading HTF strength near premium)
Trend/Bullish BUY
HTF: HL (Higher Low)
Within N 1m bars: LTF LL
→ BUY signal (buying dips in an uptrend above midline)
2️⃣ Price BELOW Peak Mid (Bearish discount zone)
Reversal BUY
HTF: LL (Lower Low)
Within N 1m bars: LTF LL
→ BUY signal (catching potential reversal from discount)
Trend/Bearish SELL
HTF: LH (Lower High)
Within N 1m bars: LTF HH
→ SELL signal (shorting strength in a downtrend below midline)
Signals are plotted as small BUY/SELL triangles on the chart and exposed via alert conditions.
🧾 Filters & Options
⏳ HTF → LTF Delay Window
Input: “Max 1m bars after HTF trigger” (default: 10)
After a 1H HH/HL/LL/LH event, the indicator waits up to N LTF candles for the matching 1m structure pattern.
If no match occurs within the window, no signal is generated.
📉 RSI No-Trade Zone (HTF)
Toggle: Use RSI no-trade zone
Inputs:
RSI Length (HTF)
No-trade lower bound (default 45)
No-trade upper bound (default 65)
If HTF RSI is inside the defined band (e.g. 45–65), signals are blocked (no-trade regime), helping to avoid noisy mid-range conditions.
You can turn this filter ON/OFF and adjust the band dynamically.
🧱 5m OB / Direction Filter (Optional)
Toggle: Use 5m OB direction filter
Timeframe: Configurable (default: 5m).
Uses a simple directional proxy on the OB timeframe:
For BUY signals → require a bullish candle on OB timeframe.
For SELL signals → require a bearish candle on OB timeframe.
When enabled, this adds an extra layer of confluence by aligning entries with the short-term directional context.
⚙️ Key Inputs (Summary)
Timeframes
HTF (Peak Reaction & Structure): default 60 (1H)
Peak Reaction
Lookback bars (HTF)
ATR multiplier for zones
Show/Hide Peak Mid line
Structure
Pivot left/right bars (for HH/HL/LH/LL swings)
Toggle structure labels (HTF & LTF)
Confirmation
Max LTF bars after HTF trigger (default 10, fully configurable)
RSI Filter
Use filter (on/off)
RSI length
No-trade range (low/high)
5m OB Filter
Use filter (on/off)
OB timeframe (default 5m)
📡 Alerts & Automation
The script includes alertconditions for both BUY and SELL signals, with JSON-formatted alert messages suitable for routing to external bridges (e.g. bots, MT5/MT4, n8n, etc.).
Each alert includes:
Symbol
Side (BUY / SELL)
Price / Entry
SL & TP placeholders (from hidden plots, ready to be wired to your own logic)
Time
Performance tag
CommentCode (for strategy/type tagging on the receiver side)
You can attach these alerts to a webhook and let your execution engine handle SL/TP and order management.
📌 How to Use
Attach the indicator to a 1-minute chart.
Set HTF timeframe to 60 (or your preferred higher timeframe).
Optionally enable:
RSI regime filter
5m OB direction filter
Watch for:
Price relative to the Peak Mid line
BUY/SELL triangles that respect HTF structure + LTF confirmation + filters.
For automation, create alerts using the built-in conditions and your preferred JSON alert template.
⚠️ Disclaimer
This tool is for educational and informational purposes only.
It is not financial advice and does not guarantee profits. Always test thoroughly in replay / paper trading before using with live funds, and trade at your own risk.
Credit Spread RegimeThe Credit Market as Economic Barometer
Credit spreads are among the most reliable leading indicators of economic stress. When corporations borrow money by issuing bonds, investors demand a premium above the risk-free Treasury rate to compensate for the possibility of default. This premium, known as the credit spread, fluctuates based on perceptions of economic health, corporate profitability, and systemic risk.
The relationship between credit spreads and economic activity has been studied extensively. Two papers form the foundation of this indicator. Pierre Collin-Dufresne, Robert Goldstein, and Spencer Martin published their influential 2001 paper in the Journal of Finance, documenting that credit spread changes are driven by factors beyond firm-specific credit quality. They found that a substantial portion of spread variation is explained by market-wide factors, suggesting credit spreads contain information about aggregate economic conditions.
Simon Gilchrist and Egon Zakrajsek extended this research in their 2012 American Economic Review paper, introducing the concept of the Excess Bond Premium. They demonstrated that the component of credit spreads not explained by default risk alone is a powerful predictor of future economic activity. Elevated excess spreads precede recessions with remarkable consistency.
What Credit Spreads Reveal
Credit spreads measure the difference in yield between corporate bonds and Treasury securities of similar maturity. High yield bonds, also called junk bonds, carry ratings below investment grade and offer higher yields to compensate for greater default risk. Investment grade bonds have lower yields because the probability of default is smaller.
The spread between high yield and investment grade bonds is particularly informative. When this spread widens, investors are demanding significantly more compensation for taking on credit risk. This typically indicates deteriorating economic expectations, tighter financial conditions, or increasing risk aversion. When the spread narrows, investors are comfortable accepting lower premiums, signaling confidence in corporate health.
The Gilchrist-Zakrajsek research showed that credit spreads contain two distinct components. The first is the expected default component, which reflects the probability-weighted cost of potential defaults based on corporate fundamentals. The second is the excess bond premium, which captures additional compensation demanded beyond expected defaults. This excess premium rises when investor risk appetite declines and financial conditions tighten.
The Implementation Approach
This indicator uses actual option-adjusted spread data from the Federal Reserve Economic Database (FRED), available directly in TradingView. The ICE BofA indices represent the industry standard for measuring corporate bond spreads.
The primary data sources are FRED:BAMLH0A0HYM2, the ICE BofA US High Yield Index Option-Adjusted Spread, and FRED:BAMLC0A0CM, the ICE BofA US Corporate Index Option-Adjusted Spread for investment grade bonds. These indices measure the spread of corporate bonds over Treasury securities of similar duration, expressed in basis points.
Option-adjusted spreads account for embedded options in corporate bonds, providing a cleaner measure of credit risk than simple yield spreads. The methodology developed by ICE BofA is widely used by institutional investors and central banks for monitoring credit conditions.
The indicator offers two modes. The HY-IG excess spread mode calculates the difference between high yield and investment grade spreads, isolating the pure compensation for below-investment-grade credit risk. This measure is less affected by broad interest rate movements. The HY-only mode tracks the absolute high yield spread, capturing both credit risk and the overall level of risk premiums in the market.
Interpreting the Regimes
Credit conditions are classified into four regimes based on Z-scores calculated from the spread proxy.
The Stress regime occurs when spreads reach extreme levels, typically above a Z-score of 2.0. At this point, credit markets are pricing in significant default risk and economic deterioration. Historically, stress regimes have coincided with recessions, financial crises, and major market dislocations. The 2008 financial crisis, the 2011 European debt crisis, the 2016 commodity collapse, and the 2020 pandemic all triggered credit stress regimes.
The Elevated regime, between Z-scores of 1.0 and 2.0, indicates above-normal risk premiums. Credit conditions are tightening. This often occurs in the build-up to stress events or during periods of uncertainty. Risk management should be heightened, and exposure to credit-sensitive assets may be reduced.
The Normal regime covers Z-scores between -1.0 and 1.0. This represents typical credit conditions where spreads fluctuate around historical averages. Standard investment approaches are appropriate.
The Low regime occurs when spreads are compressed below a Z-score of -1.0. Investors are accepting below-average compensation for credit risk. This can indicate complacency, strong economic confidence, or excessive risk-taking. While often associated with favorable conditions, extremely tight spreads sometimes precede sudden reversals.
Credit Cycle Dynamics
Beyond static regime classification, the indicator tracks the direction and acceleration of spread movements. This reveals where credit markets stand in the credit cycle.
The Deteriorating phase occurs when spreads are elevated and continuing to widen. Credit conditions are actively worsening. This phase often precedes or coincides with economic downturns.
The Recovering phase occurs when spreads are elevated but beginning to narrow. The worst may be over. Credit conditions are improving from stressed levels. This phase often accompanies the early stages of economic recovery.
The Tightening phase occurs when spreads are low and continuing to compress. Credit conditions are very favorable and improving further. This typically occurs during strong economic expansions but may signal building complacency.
The Loosening phase occurs when spreads are low but beginning to widen from compressed levels. The extremely favorable conditions may be normalizing. This can be an early warning of changing sentiment.
Relationship to Economic Activity
The predictive power of credit spreads for economic activity is well-documented. Gilchrist and Zakrajsek found that the excess bond premium predicts GDP growth, industrial production, and unemployment rates over horizons of one to four quarters.
When credit spreads spike, the cost of corporate borrowing increases. Companies may delay or cancel investment projects. Reduced investment leads to slower growth and eventually higher unemployment. The transmission mechanism runs from financial conditions to real economic activity.
Conversely, tight credit spreads lower borrowing costs and encourage investment. Easy credit conditions support economic expansion. However, excessively tight spreads may encourage over-leveraging, planting seeds for future stress.
Practical Application
For equity investors, credit spreads provide context for market risk. Equities and credit often move together because both reflect corporate health. Rising credit spreads typically accompany falling stock prices. Extremely wide spreads historically have coincided with equity market bottoms, though timing the reversal remains challenging.
For fixed income investors, spread regimes guide sector allocation decisions. During stress regimes, flight to quality favors Treasuries over corporates. During low regimes, spread compression may offer limited additional return for credit risk, suggesting caution on high yield.
For macro traders, credit spreads complement other indicators of financial conditions. Credit stress often leads equity volatility, providing an early warning signal. Cross-asset strategies may use credit regime as a filter for position sizing.
Limitations and Considerations
FRED data updates with a lag, typically one business day for the ICE BofA indices. For intraday trading decisions, more current proxies may be necessary. The data is most reliable on daily timeframes.
Credit spreads can remain at extreme levels for extended periods. Mean reversion signals indicate elevated probability of normalization but do not guarantee timing. The 2008 crisis saw spreads remain elevated for many months before normalizing.
The indicator is calibrated for US credit markets. Application to other regions would require different data sources such as European or Asian credit indices. The relationship between spreads and subsequent economic activity may vary across market cycles and structural regimes.
References
Collin-Dufresne, P., Goldstein, R.S., and Martin, J.S. (2001). The Determinants of Credit Spread Changes. Journal of Finance, 56(6), 2177-2207.
Gilchrist, S., and Zakrajsek, E. (2012). Credit Spreads and Business Cycle Fluctuations. American Economic Review, 102(4), 1692-1720.
Krishnamurthy, A., and Muir, T. (2017). How Credit Cycles across a Financial Crisis. Working Paper, Stanford University.
Volatility-Dynamic Risk Manager MNQ [HERMAN]Title: Volatility-Dynamic Risk Manager MNQ
Description:
The Volatility-Dynamic Risk Manager is a dedicated risk management utility designed specifically for traders of Micro Nasdaq 100 Futures (MNQ).
Many traders struggle with position sizing because they use a fixed Stop Loss size regardless of market conditions. A 10-point stop might be safe in a slow market but easily stopped out in a high-volatility environment. This indicator solves that problem by monitoring real-time volatility (using ATR) and automatically suggesting the appropriate Stop Loss size and Position Size (Contracts) to keep your dollar risk constant.
Note: This tool is hardcoded for MNQ (Micro Nasdaq) with a tick value calculation of $2 per point.
📈 How It Works
-This script operates on a logical flow that adapts to market behavior:
-Volatility Measurement: It calculates the Average True Range (ATR) over a user-defined length (Default: 14) to gauge the current "speed" of the market.
-State Detection: Based on the current ATR, the script classifies the market into one of three states:
Low Volatility: The market is chopping or moving slowly.
Normal Volatility: Standard trading conditions.
High Volatility: The market is moving aggressively.
Dynamic Stop Loss Selection: Depending on the detected state, the script selects a pre-defined Stop Loss (in points) that you have configured for that specific environment.
Position Sizing Calculation: Finally, it calculates how many MNQ contracts you can trade so that if your Stop Loss is hit, you do not lose more than your defined "Max Risk per Trade."
🧮 Methodology & Calculations
Since this script handles risk management, transparency in calculation is vital.
Here is the exact math used:
ATR Calculation: Contracts = Max Risk / Risk Per Contract
⚙️ Settings
You can fully customize the behavior of the risk manager via the settings panel:
Risk Management
-Max Risk per Trade ($): The maximum amount of USD you are willing to lose on a single trade.
Volatility Thresholds (ATR)
-ATR Length: The lookback period for volatility calculation.
-Upper Limit for LOW Volatility: If ATR is below this number, the market is "Low Volatility."
-Lower Limit for HIGH Volatility: If ATR is above this number, the market is "High Volatility." (Anything between Low and High is considered "Normal").
Stop Loss Settings (Points)
-SL for Low/Normal/High: Define how wide your stop loss should be in points for each of the three market states.
Visual Settings
-Color Theme: Switch between Light and Dark modes.
-Panel Position: Move the dashboard to any corner or center of your chart.
-Panel Size: Adjust the scale (Tiny to Large) to fit your screen resolution.
📊 Dashboard Overview
-The on-screen panel provides a quick-glance summary for live execution:
-Market State: Color-coded status (Green = Low Vol, Orange = Normal, Red = High Vol).
-Current ATR: The live volatility reading.
-Suggested SL: The Stop Loss size you should enter in your execution platform.
-CONTRACTS: The calculated position size.
-Est. Loss: The actual dollar amount you will lose if the stop is hit (usually slightly less than your Max Risk due to rounding down).
Who is this for?
-Discretionary and systematic futures traders on MNQ (/MNQ or MES also works with small adjustments)
-Anyone who wants perfect risk consistency regardless of whether the market is asleep or exploding
-Traders who hate manual position-size calculations on every trade
No repainting
Works on any timeframe
Real-time updates on every bar
Overlay indicator (no signals, pure risk-management tool)
⚠️ Disclaimer
This tool is for informational and educational purposes only. It calculates mathematical position sizes based on user inputs. It does not execute trades, nor does it guarantee profits. Past performance (volatility) is not indicative of future results. Always manually verify your order size before executing trades on your broker platform.
Session Highs and Lows🔑 Key Levels: Session Liquidity & Structure Mapper
The Key Levels indicator is an essential tool for traders as it automatically plots and projects critical Highs and Lows established during key trading sessions. These levels represent major liquidity pools and define the current market structure, serving as high-probability targets, support, or resistance for the remainder of the trading day.
⚙️ Core Functionality
The indicator operates in two distinct modes, tailored for different asset classes:
1. Asset Class Mode (Toggle)
You can switch between two predefined setups depending on the asset you are trading:
Stock Mode (RTH/ETH): Designed for US stocks and futures (e.g., NQ, ES, YM). It tracks and projects levels for Regular Trading Hours (RTH) (09:30-16:00) and Extended Hours (ETH) (16:00-09:30).
Forex/Default Mode (Asia/London/NY): Designed for global markets (e.g., currency pairs). It tracks and projects levels for the three major liquidity sessions: Asia (19:00-03:00), London (03:00-09:30), and New York (09:30-16:00).
🗺️ Key Levels Mapped
The script continuously tracks and plots the most significant structural levels:
Current Session High/Low: The running high and low of the currently active session.
Previous Session High/Low: The confirmed high and low from the most recently completed session. These are often targeted by market makers.
Previous Day High/Low (PDH/PDL): The high and low of the prior 24-hour day, acting as major structural boundaries and a crucial macro market filter.
🎛️ Advanced Liquidity Management
The indicator is built with specific controls for high-level liquidity analysis:
Extend Through Sweeps (Critical Setting):
OFF (Recommended): The projected line is automatically stopped or deleted the moment the price candle wicks or closes past it. This visually confirms that the liquidity at that level has been "swept" or "mitigated."
ON: The line extends indefinitely, treating the level as simple support/resistance, regardless of interaction.
Previous vs. Current View: You can select a checkbox (e.g., Use PREVIOUS London Level) to hide the current session's running levels and only display the static, confirmed high/low from the prior completed session. This helps declutter the chart and focus only on the confirmed structural levels.
Show Older History: Toggle to keep lines from prior days visible, allowing you to track multi-day structural context.
🎯 Trading Application
The lines plotted by the Key Levels indicator provide immediate, actionable information:
Bias Filter: Use the PDH/PDL to determine the overall market context. Trading above the PDH suggests a bullish bias, while trading below the PDL suggests a bearish bias.
Manipulation/Entry: Wait for price to aggressively sweep a Previous Session High/Low (line stops extending). This often signals a liquidity grab or "manipulation" phase. Look for entries in the opposite direction for the main move (Distribution).
Targets: Key levels (especially unmitigated ones) serve as excellent, objective take-profit targets for active trades.
Madrid Ribbon with ST/TEMA Filter + Hourly Trend
Madrid Moving Average Ribbon with SuperTrend/TEMA Filter + Hourly Trend Open Line
This advanced technical indicator combines three powerful trading tools into one comprehensive system for identifying trend direction, momentum, and key support/resistance levels.
📊 What's Included:
1. Madrid Moving Average Ribbon (18 EMAs/SMAs)
Displays 18 configurable moving averages (5-100 periods) creating a visual "ribbon" effect
Color-coded system: LIME (strong bullish), GREEN (bullish), MAROON (weak bearish), RED (strong bearish), GRAY (neutral/filtered)
Choose between Exponential (EMA) or Simple (SMA) moving averages
The ribbon helps identify trend strength, direction, and potential reversals
2. SuperTrend/TEMA Filter System
Zero-lag Triple Exponential Moving Average (TEMA) for fast trend detection
SuperTrend indicator using ATR-based volatility bands
Combined filter logic: Only displays ribbon colors when BOTH SuperTrend AND TEMA confirm the trend direction
Reduces false signals and whipsaw during choppy market conditions
Fully customizable parameters (Fast/Slow TEMA periods, ATR multiplier, MA length)
Can be toggled ON/OFF to see unfiltered Madrid Ribbon
3. Hourly Trend Open Line
Plots the opening price of your selected higher timeframe (default: 1-hour)
Acts as dynamic support/resistance and trend bias indicator
Background coloring: Green when price is above the line (bullish bias), Red when below (bearish bias)
Customizable timeframe from 1-minute to Daily
Great for multi-timeframe analysis and confirming trade direction
🎯 How to Use:
Trend Following: Enter long when ribbon turns LIME/GREEN, enter short when MAROON/RED
Trend Confirmation: Use the Hourly Trend Open Line to confirm direction - trade longs above the line, shorts below
Filter Noise: Enable SuperTrend/TEMA filter to remove low-probability setups in ranging markets
Exit Signals: Watch for ribbon color changes or price crossing the Hourly Trend Open Line
⚡ Alert System:
Filtered Buy Signal: When trend changes to bullish (confirmed by both SuperTrend and TEMA)
Filtered Sell Signal: When trend changes to bearish (confirmed by both SuperTrend and TEMA)
Filtered Trend Change: Any trend direction change
⚙️ Customization Options:
Toggle SuperTrend/TEMA filter on/off
Adjust TEMA periods (Fast: 22, Slow: 144 default)
Modify SuperTrend settings (ATR multiplier, MA length)
Change Hourly Trend timeframe
Customize all colors and line widths
Choose EMA or SMA for ribbon calculation
💡 Best Practices:
Works on all timeframes and instruments
Use higher timeframe Trend Open Line for swing trading
Combine with volume analysis for confirmation
Best suited for trending markets; consider disabling in tight ranges
Test settings on your specific instrument for optimal performance
📝 Note: This indicator requires the 'loxx/loxxexpandedsourcetypes/4' library for TEMA calculations.
This indicator is ideal for traders who want a comprehensive, all-in-one solution for trend identification, momentum analysis, and multi-timeframe confluence.
**MACD + RSI + MFI by IspatialResources – Multi-Tool Indicator**
This indicator is a **multi-functional technical analysis tool** that combines the following professional oscillators into a single panel:
* ✅ **Customizable MACD**
* ✅ **Advanced RSI with Moving Average and Bollinger Bands**
* ✅ **Money Flow Index (MFI)**
* ✅ **Module-based enable/disable system**
* ✅ **Fully configurable alerts**
It is designed to help identify **overbought and oversold conditions, trend strength, and momentum shifts**, improving market reading across multiple assets.
---
### 🔹 INCLUDED MODULES
**1️⃣ MACD**
* Fast and slow moving average settings
* Selectable MA type (SMA / EMA)
* Dynamic histogram
* Momentum change alerts
**2️⃣ Advanced RSI**
* Classic RSI with dynamic levels
* Moving average applied to RSI
* Optional **Bollinger Bands on RSI**
* Visual overbought and oversold signals
* Extreme condition alerts
**3️⃣ MFI (Money Flow Index)**
* Buying and selling pressure detection
* Overbought and oversold zones
* Ideal for volume and strength analysis
---
### 🔹 SUPPORTED MARKETS
This indicator can be used on:
* 📈 Cryptocurrencies
* 📊 Stock Indices
* 💱 Forex
* 📉 Stocks
It works on **all timeframes**: intraday, swing trading, and long-term analysis.
---
### 🔹 HOW TO USE IT
* Enable or disable each module from the settings panel.
* Use the **RSI with bands** to detect extreme zones.
* Confirm potential entries with the **MACD**.
* Filter false signals with the **MFI**.
* Combine it with market structure, support, and resistance.
---
### ⚠️ RISK DISCLAIMER
This indicator is **for educational and technical analysis purposes only**.
**It does not constitute financial advice and does not guarantee results.**
Trading involves risk, and each user is responsible for their own decisions.
---
### 👤 AUTHOR
Created by **Ismael** as a personal tool for market analysis and study.
---
🚀 If you find this indicator useful, feel free to support it with a “like” for future updates.
Opening Range ICT 3-Bar FVG + Engulfing Signals (Overlay)Beta testing
open range break out and retest of FVG.
Still working on making it accurate so bear with me
Liquidations (TV Source / Manual / Proxy) Cruz Pro Stack + Liquidations (TV Source / Manual / Proxy) is a high-confluence crypto trading indicator built to merge reversal detection, volatility timing, structure confirmation, and liquidation pressure into one clean decision engine.
This script combines five pro-grade components:
1) RSI Divergence (Regular + Hidden)
Detects early momentum shifts at tops and bottoms to anticipate reversals before price fully reacts.
2) BBWP (Bollinger Band Width Percentile)
Identifies volatility compression and expansion cycles to time breakout conditions and avoid low-quality chop.
3) Market Structure (BOS / CHOCH proxy)
Confirms trend continuation or change-of-character using swing breaks for more reliable directional bias.
4) Liquidations Layer (3 Modes)
Adds liquidation-driven context for where price is likely to squeeze or flush next:
TV Source: Use TradingView’s built-in Liquidations plot when available.
Manual Totals: Paste 12h/24h/48h long/short totals for higher-level regime bias.
Proxy (Volume Shock): A fallback approximation for spot charts using volume + candle direction.
The script automatically converts your chart timeframe into rolling 12/24/48-hour windows, then computes a weighted liquidation bias and a spike detector to flag potential exhaustion moves.
5) Confluence Score + Signals
A simple scoring engine highlights high-probability setups when multiple factors align.
Signals are printed only when divergence + structure + volatility context agree with liquidation pressure.
How to use
Best on BTC/ETH perps across 15m–4H.
For maximum accuracy:
Add TradingView’s Liquidations indicator (if your exchange/symbol supports it).
Set Liquidations Mode = TV Source.
Select the Liquidations plot as the source.
If that plot can’t be selected, switch to Proxy or Manual Totals.
What this indicator is designed to improve
Earlier reversal recognition
Cleaner breakout timing
Structure-confirmed entries
Better risk management around liquidation-driven moves
Fewer low-quality trades during dead volatility
5-Min Range Breakout (09:30 NY on MNQ)This is a 5 - min orb strat that a youtuber mentioned and i had a manual look for a while and thought it was actually pretty good but my results are bad. Feel free to look yourself with this code.
Basically this strat is using the 5min orb then go down to 1min timeframe and wait for a breakout with FVG confirmation. So candle after breaking candle is our entry only if FVG is formed.
However i do notice if you dump this code onto 5min timefraem and above you start consistently making money but it is a very small amount for me so you all can have it. Good starter strat on 5min or 10min timeframe
Regime Filter [BigBeluga] Modified by Claude to move tableThis is a copy of Regime Filter that has been modified by Anthropic's Claude to move the overlay table to different positions.
6M Low Net Change Detector (Label Last Bar) PB6M Low Net Change Detector (Label Last Bar) PB for POC script
Alert candle Bull/BearThis simple indicator allows you to be notified if the candle closes long or short, according to your timeframe.
GOLD 5m Buy/Sell Pro//@version=5
indicator("GOLD 5m Buy/Sell Pro", overlay = true, timeframe = "5", timeframe_gaps = true)
Regular Volume Indicator with 30-Day Average PointsRegular Volume Indicator with past 30-days average lines.
If the day's trading volume is more than that, it will have a dot pop out.





















