Options Series - Anchored VWAP Ribbonindicator with the objetive to automatically anchor AVWAP for the entire session without blowing the capacity of TRADINGVIEW plotting objects.
we shall observe a ribbon of vwaps aiming to spot trading oportunities within the "spaces" among the lines due to volatility bars.
market often uses those horizons as objetives.
this indicator will plot only the firt 30 min as the next one will plot the next 30, and then next 30.... and so ON until the end of the session.
Penunjuk dan strategi
Volume AlertVolume increase alert: triggers an icon and alert when the current volume is X times greater than the previous one. The multiplier value can be adjusted as needed.
Português:
Alerta de aumento de volume: dispara um ícone e alerta quando o volume atual é X vezes maior que o anterior. O valor do multiplicador pode ser ajustado conforme sua necessidade.
分层 + 手动分位 StochRSI(红蓝点版)用 getPercentile() 手动对数组排序取分位,避免引用不存在的 API。
ATR 数组 atrArr 定期 push/shift,实时分层。
对应波动层分别维护 lowArr/midArr/highArr,计算 osLine/obLine。
用两条 plot(..., style=plot.style_circles),掩码表达式 buySig ? osLine : na 与 sellSig ? obLine : na,只在穿越当根 K 线上画蓝/红圆点,且精准落在阈值线上。
Real-Time Price Line by Candle ColorThis indicator draws a horizontal line at the current price that updates in real time on each candle. The line:
Extends infinitely left and right
Changes color based on the current candle:
🟢 Green if the candle is bullish (close ≥ open)
🔴 Red if the candle is bearish (close < open)
Automatically clears and redraws each bar to reflect the latest price and direction
Use this as a simple but effective visual aid to track the live price and its directional bias.
Thor Youngs Camarilla Pivot GangstasCamarilla and Floor Pivots based on the great Thor Young's seminal book "A Complete Day Trading System". If you dont know, now you know.
ADX Supertrend | [DeV]The "ADX Supertrend" indicator is a user-friendly tool that blends two popular trading indicators—the Supertrend and the Average Directional Index (ADX)—to help traders spot trends and make smarter trading decisions. By combining these two, it offers a clearer picture of when a market is trending strongly and in which direction, while cutting down on misleading signals. Here’s a straightforward explanation of how each part works, how they team up, the benefits of using them together, and why the ADX makes the Supertrend even better.
Supertrend:
It's like a guide that follows the market’s price movements to tell you whether prices are trending up or down. It creates two lines, one above and one below the price, based on how much the market is bouncing around (its volatility). When the price moves above the upper line, it signals an uptrend (a good time to buy), and the indicator draws a line below the price to show support. When the price drops below the lower line, it signals a downtrend (a potential time to sell), and the line appears above the price as resistance. The Supertrend is great because it adjusts to market conditions, widening the gap between lines in wild markets and tightening it in calm ones.
Average Directional Index:
The ADX is all about measuring how strong a trend is, without caring whether it’s going up or down. Think of it as a meter that tells you if the market is charging forward with purpose or just drifting aimlessly. It uses a scale from 0 to 100, where higher numbers mean a stronger trend. For example, an ADX above 25 often suggests a solid trend worth paying attention to, while a low ADX signals a sleepy, sideways market. The ADX also looks at whether buyers or sellers are in control to confirm the trend’s direction.
Confluence:
The Supertrend is great at spotting trends, but it can be a bit trigger-happy, giving signals in markets that aren’t really trending. That’s where the ADX shines. It acts like a quality control check, making sure the Supertrend’s signals only count when the market is moving with conviction. By filtering out weak or messy trends, the ADX helps you avoid wasting time on trades that fizzle out. It also double-checks the trend’s direction, so you’re not just guessing whether buyers or sellers are in charge. This teamwork means you get signals that are more reliable and less likely to lead you astray, especially in tricky markets where prices bounce around without a clear path.
Multi-VWAP System🚀 Multi-VWAP System — Anchored VWAP & Deviation Bands
Overview
The Multi-VWAP System provides traders with a professional-grade approach to anchored VWAP analysis. Inspired by Brian Shannon's pioneering work on Anchored VWAP, this indicator automatically calculates and plots:
Current Session VWAP
Previous Session VWAP (also known as "2-Day VWAP")
High-of-Day (HOD) Anchored VWAP
Each VWAP can also display optional Standard Deviation Bands to highlight statistically significant deviations from the volume-weighted average price.
🔍 Why Anchored VWAP Matters
Volume Weighted Average Price (VWAP) is among the most critical institutional indicators, as it represents the average price paid for a stock adjusted by trading volume. This makes VWAP crucial for identifying fair value and significant areas of institutional activity.
Institutions utilize VWAP extensively to guide their execution algorithms. For instance, if price dips below a 2-day anchored VWAP (anchored to the previous session's open), many institutions interpret this as a discounted entry, potentially triggering large-scale buy programs. Conversely, sustained movement above VWAP signals strong buying pressure and bullish sentiment.
📌 Why Multiple Anchors?
Traders commonly anchor VWAPs at critical reference points:
Current Session VWAP:
Essential for day traders as a reference for intraday sentiment. Price action above this line generally indicates bullish sentiment, while price below signals bearish sentiment.
Previous Session (2-Day) VWAP:
Heavily used by institutions and swing traders, it provides insight into multi-session sentiment. Institutions commonly activate buy or sell programs based on whether price is trading at a premium or discount relative to this VWAP.
High-of-Day (HOD) VWAP:
Frequently used by momentum traders, this anchor captures sentiment after the most recent intraday high. Price above the HOD VWAP suggests sustained bullish momentum, while price below might signal weakening momentum.
🌟 Standard Deviation Bands
Each anchored VWAP in this indicator includes optional Standard Deviation Bands, highlighting statistical extremes. Traders use these bands to:
Identify potentially overextended moves (beyond +2σ or +3σ).
Gauge momentum strength (holding above +1σ).
Spot mean-reversion setups when price returns to VWAP after extreme moves.
🎨 Dynamic Background and Momentum Colorization
To visually highlight strength or weakness in price action relative to VWAP:
Dynamic Background Fill between Current and Previous VWAPs:
Green background appears when the Current VWAP is above the Previous VWAP and the linear regression slope (adjustable length) is positive, indicating bullish sentiment.
Red background appears when the Current VWAP is below the Previous VWAP and the slope is negative, indicating bearish sentiment.
No fill when conditions are mixed or momentum is uncertain.
Gold Fill above HOD VWAP:
When price action is above the High-of-Day VWAP and momentum (linear regression slope) is positive, a subtle gold shading appears, quickly highlighting bullish momentum.
⚙ Fully Customizable Settings
Session Times: Adjust session start and end times to match your specific market hours.
Standard Deviation Bands: Enable or disable each VWAP’s deviation bands individually and select how many bands (1σ, 2σ, or 3σ) you'd like to display.
Momentum Slope Length: Adjustable lookback for linear regression slope calculation—giving you full control of trend sensitivity.
🎯 Who Should Use This Indicator?
This indicator is perfect for:
Day Traders who want quick insights into intraday sentiment shifts.
Swing Traders tracking institutional footprints and seeking optimal entry/exit points.
Momentum Traders who rely on clearly visible momentum signals from HOD anchored VWAPs.
Institutional Traders and Professionals seeking sophisticated, institutionally-inspired VWAP analysis without manual anchoring.
📈 Summary of Features
✅ Automatic VWAP Anchors (Current Session, Previous Session, High-of-Day)
✅ Optional Standard Deviation Bands for each VWAP anchor
✅ Dynamic Background Coloring based on price action and momentum conditions
✅ Gold Momentum Highlight for quick bullish momentum identification above HOD VWAP
✅ Fully Customizable Inputs for precise personalization and flexibility
📢 Conclusion
The Multi-VWAP System isn't just another VWAP indicator. It's an institutional-level, dynamic, multi-dimensional analysis tool inspired by the work of Brian Shannon and leading institutional traders. It takes the guesswork out of anchoring and analysis, leaving you free to focus on identifying and executing high-probability trade setups.
Enjoy trading smarter—not harder. Happy Trading! 🚀📊
Key Recent Highs and LowsKey Recent Highs & Lows — Session‐Aware Market Structure
TL;DR
This tool plots the most important intraday price extremes for every U.S.‑equity trading segment—Early Premarket • Western Premarket • Regular Hours • Post‑Market Hours • Yesterday’s Range—and labels them so you can trade break‑outs, retests and mean‑reversion with instant context.
📐 Theory & Why These Levels Matter
Liquidity Pools
Visible session extremes attract resting orders (stop‑losses, take‑profits, opening prints). Price often accelerates into them and reacts at them.
Market Memory
The previous day’s high/low is a widely‑watched pivot for gap fills, overnight inventory corrections and multi‑day breakouts.
Mean‑Reversion Windows
Statistically, pre‑ and post‑market ranges are thin; an aggressive spike outside those bands often retraces when full liquidity returns.
Break‑Out Confirmation
A true breakout isn’t just a tick above RTH‑high—it usually closes or at least consolidates above the prior extreme. Seeing all bands lets you gauge whether a push is “real” or just probing thinner sessions.
Put simply, these levels help you decide:
Break‑out ➜ trade in the direction of expansion past a session extreme with follow‑through.
Fade/Mean‑Revert ➜ fade a spike that tags an extreme without commitment (e.g., hits Western‑Premkt‑High then stalls before RTH).
🔍 What the Script Draws
Session (UTC‑4 EST) Default Color / Style Typical Use‑Case
Early Premarket 4 – 7 AM Thick semi‑transparent orange line detect overnight retail spikes / fade plays
Western Premarket 7 – 9 : 30 AM Dashed orange‑red breakout watch as U.S. brokers open
Regular Session (RTH) 9 : 30 – 16 : 00 Bold teal dotted line core intraday structure; classic highs/lows
Post‑Market 16 – 23 : 59 Soft indigo band after‑hours news moves, earnings fades
Previous‑Day RTH Solid teal gap‑fill targets, trend continuation filters
(All colors, thicknesses and transparencies are editable in the settings.)
✨ Features
Real‑Time Updates
Levels refresh tick‑by‑tick inside their own session—no repainting later.
One‑Click Visibility Toggles
Show or hide any session extreme independently.
Clean Auto‑Labels
Optional right‑edge tags (“RTH High”, “Premkt Low”, etc.) keep your chart readable even when lines overlap.
Automatic Daily Reset
At midnight Eastern, buffers clear and yesterday’s extremes roll into the “Prev‑Day” pair.
Zero‑Noise Design
Transparencies and line styles are tuned so you can overlay on any symbol / timeframe without drowning candles.
📈 How to Trade with It
Intraday Breakout Strategy
Mark confluence (e.g., price pushes through Western Premkt High and Yesterday’s High).
Wait for a pullback that holds above the reclaimed band.
Enter with stop under that session line; target next band or measured‑move.
Fade / Mean‑Reversion
Pre‑market headline sends price 5 % above Early Premkt High.
Volume dries up before RTH open.
Short into exhaustion; cover near Western Premkt High or VWAP.
Gap‑Fill & Trend Days
Cash open gaps above Prev‑Day High.
If first 15‑min candle closes back inside yesterday’s range, bias shifts to downside fade.
If it holds above, treat gap as breakout and track RTH High extensions.
Pair it with volume‑profile, VWAP, or momentum oscillators for even higher‑confidence setups.
⚙️ Settings Cheat‑Sheet
Setting Effect
Show Regular / Premarket / Post‑market High/Low Master visibility per session
Show Previous Day High/Low Toggle yesterday’s anchor range
Show Session Labels Turn the right‑edge tags on/off
Style Panel Change each line’s color, width, transparency, dash/dot
🛠️ Best Practices
Works on any intraday timeframe (1‑min to 1‑hour).
Crypto or 24 h markets: adjust session times to match your exchange.
Combine with alerts (e.g., “price crossing RTH High”) for hands‑free monitoring.
Put KRHL on your chart and you’ll never wonder which high matters most again—because they’re all right there, clearly labeled and color‑coded. Trade breakouts or fades with confidence, armed with the exact market structure everyone else is watching.
CAN INDICATORCAN Moving Averages Indicator - Feature Guide
1. Multiple Moving Averages (20 MAs)
- Supports up to 20 individual moving averages
- Each MA can be independently configured:
- Enable/Disable toggle
- Length (period) setting
- Type selection (SMA, EMA, DEMA, VWMA, RMA, WMA)
- Color customization
- Individual timeframe settings when global timeframe is disabled
Pre-configured MA Settings:
1. MA1-8: SMA type
- Lengths: 20, 50, 100, 200, 365, 489, 600, 1460
2. MA9-20: EMA type
- Lengths: 30, 60, 120, 240, 300, 400, 500, 700, 800, 900, 1000, 2000
2. Global Timeframe Settings
Location: Global Settings group
Features:
- Use Global Timeframe: Toggle to use one timeframe for all MAs
- Global Timeframe: Select the timeframe to apply globally
3. Label Display Options
Location: Main Inputs section
Controls:
- Show MA Type: Display MA type (SMA, EMA, etc.)
- Show MA Length: Display period length
- Show Resolution: Display timeframe
- Label Offset: Adjust label position
4. Cross Alerts System
Location: Cross Alerts group
Features:
1. Price Crosses:
- Alerts when price crosses any selected MA
- Select MA to monitor (1-20)
- Triggers on crossover/crossunder
2. MA Crosses:
- Alerts when one MA crosses another
- Select fast MA (1-20)
- Select slow MA (1-20)
- Triggers on crossover/crossunder
5. Relative Strength (RS) Analysis
Location: Relative Strength group
Features:
- Select any MA to monitor (1-20)
- Compares MA to its own average
- Adjustable RS Length (default 14)
- Visual feedback via background color:
- Green: MA above its average (uptrend)
- Red: MA below its average (downtrend)
- Customizable colors and transparency
6. Moving Average Types Available
1. **SMA** (Simple Moving Average)
- Equal weight to all prices
2. **EMA** (Exponential Moving Average)
- More weight to recent prices
3. **DEMA** (Double Exponential Moving Average)
- Reduced lag compared to EMA
4. **VWMA** (Volume Weighted Moving Average)
- Incorporates volume data
5. **RMA** (Running Moving Average)
- Smoother than EMA
6. **WMA** (Weighted Moving Average)
- Linear weight distribution
Usage Tips
1. **For Trend Following:**
- Enable longer-period MAs (MA4-MA8)
- Use cross alerts between long-term MAs
- Monitor RS for trend strength
2. **For Short-term Trading:**
- Focus on shorter-period MAs (MA1-MA3, MA9-MA11)
- Enable price cross alerts
- Use multiple timeframe analysis
3. **For Multiple Timeframe Analysis:**
- Disable global timeframe
- Set different timeframes for each MA
- Compare MA relationships across timeframes
4. **For Performance:**
- Disable unused MAs
- Limit active alerts to necessary pairs
- Use RS selectively on key MAs
Fibonacci ReRSI LevelsOverview
The Fibonacci RSI Levels indicator plots key Fibonacci-based RSI levels directly on the price chart, offering a unique perspective on market momentum, potential reversal points, and support/resistance zones. By combining the Relative Strength Index (RSI) with Fibonacci retracement levels, this indicator helps traders identify overbought/oversold conditions, trend strength, and critical price levels for potential trading opportunities.
Key Features
Fibonacci RSI Levels: Plots five key levels—23.6% (Oversold), 38.2% (Downtrend Limit), 50.0% (Mid Level), 61.8% (Uptrend Limit), and 78.6% (Overbought)—based on a logarithmic RSI calculation.
Customizable Settings: Adjust the RSI length, line extension, timeframe, and level colors to suit your trading style.
Gradient Fills: Optional gradient fills between levels provide a visual representation of the price's position relative to key zones.
Multi-Timeframe Support: Use the current chart resolution or specify a custom timeframe (e.g., 1M, 5D, 240 for 4 hours) for flexible analysis.
Logarithmic RSI Calculation: Ideal for assets with exponential price movements, such as cryptocurrencies.
How It Works
The indicator uses a reverse-engineered RSI calculation, inspired by Giorgos Siligardos' concept, to determine price levels corresponding to specific Fibonacci RSI values. These levels are plotted as horizontal lines on the chart, each with a label showing the Fibonacci percentage and the exact price level. If enabled, gradient fills between the levels change color based on the price's position, enhancing visual interpretation.
Usage
Support and Resistance: The 38.2% and 61.8% levels often act as support and resistance in trending markets.
Overbought/Oversold Conditions: The 23.6% and 78.6% levels can indicate potential reversal points due to oversold or overbought conditions.
Trend Confirmation: The 50% level serves as a neutral zone or pivot point. Prices above this level may indicate an uptrend, while prices below suggest a downtrend.
Gradient Fills: Use the gradient fills to quickly assess the price's position within the key zones, aiding in decision-making for entries, exits, or reversals.
Interpretation
Uptrend: When the price is above the 50% level and approaching the 61.8% level, it may signal a strong uptrend.
Downtrend: When the price is below the 50% level and nearing the 38.2% level, it may indicate a downtrend.
Reversal Zones: Watch for price reactions near the 23.6% and 78.6% levels, as these can be areas of potential reversals.
Customization
RSI Length: Adjust the RSI period to fine-tune the sensitivity of the levels.
Line Extension: Control how far the levels extend into the future for better visualization.
Timeframe: Choose between the current chart resolution or a custom timeframe for multi-timeframe analysis.
Colors: Customize the colors of each level and enable gradient fills for enhanced visual clarity.
Bollinger Bands ETSOverview
Bollinger Bands ETstyle (BB ETS) is an advanced volatility and breakout detection indicator, building upon the classic Bollinger Bands. This script introduces adaptive ATR-based band width smoothing and clear squeeze detection, making it a versatile tool for traders seeking more responsive and actionable volatility analysis.
Features
Dual Bollinger Bands: Plots both standard and outer bands around a configurable moving average, allowing visualization of typical and extreme volatility ranges.
ATR-Based Band Smoothing (Optional): When enabled, the bands automatically widen during low-volatility periods using the Average True Range (ATR), reducing false signals and making the bands more adaptive.
Squeeze Detection (Optional): Highlights periods when the bands contract below a user-defined threshold, signaling potential breakout setups. Squeeze periods are visually marked with a background highlight for easy identification.
Customizable Settings: Users can adjust band length, standard deviation multipliers, ATR parameters, and squeeze thresholds. Both ATR smoothing and squeeze detection can be toggled on or off.
Clean Chart Output: The indicator overlays directly on price with clear, distinguishable visuals for all features.
How It Works
The indicator calculates a moving average (basis) and plots upper and lower bands at user-selected standard deviations.
If ATR smoothing is enabled, the band width expands by a multiple of the ATR, adapting to real-time volatility.
The script computes the relative band width ("bandwidth"). When this falls below your chosen threshold, the background is highlighted to indicate a "squeeze"-a period of reduced volatility that often precedes breakouts.
How to Use
Trend & Volatility Analysis: Use the bands to identify overbought/oversold conditions and current market volatility. Price touching or crossing the outer bands may signal trend exhaustion or continuation.
Breakout Anticipation: Watch for background highlights indicating a squeeze. These periods suggest the market is coiling for a potential significant move.
Adaptive Sensitivity: Enable ATR smoothing to keep bands relevant during both calm and volatile markets, reducing false signals in low-volatility conditions.
Customization: Adjust all parameters in the settings to match your trading style and the asset’s behavior.
Limitations
The indicator is designed for standard price charts and may not perform as intended on non-standard chart types (such as Renko or Heikin Ashi).
As with all technical tools, best results are achieved when used alongside other forms of analysis.
Summary
Bollinger Bands ETstyle (BB ETS) offers a modern, adaptive approach to volatility and breakout analysis by combining classic bands with ATR-based smoothing and clear squeeze visualization. It is suitable for trend-following and breakout strategies, and requires no additional scripts-simply apply to your chart and adjust the settings as needed.
Intraday Pivot Highs & Lows (Asia London NY)Intraday Pivot Highs & Lows (Asia London NY)
Script Description
This TradingView indicator is optimized for Forex, scalping, intraday, and day trading strategies. It accurately plots Pivot Points and levels, high/low, support and resistance levels. These are clearly identified to aid the trader during killzone sessions and session opens. Ideal for scalp trading, intraday sessions, and leveraging SMT (Smart Money Techniques). Utilize these Price Levels effectively during London Open, NY Open, and the Asia Session, utilizing Market Structure to pinpoint key levels and reversal zones for successful trading. Improve your Trade Setups, recognize reliable Chart Patterns, identify critical Price Pivots, and trade confidently off Institutional Levels.
This script marks the intraday pivot highs, lows and midpoints retracement levels for
Asia
London
New York
It also plots the previous day's high, low, midpoint, and 0.618 Fibonacci retracement levels, providing traders with critical price reference points for making intraday trading decisions.
Originality & Usefulness
This indicator uniquely integrates pivot calculations across three major Forex sessions (Asia, London, NY), clearly delineating session boundaries.
It enhances visibility by using distinct styling
solid for New York
dashed for London
dotted lines for Asia
And colour co-ordinated labeling, improving traders' ability to identify important intraday price action zones efficiently. Unlike standard pivot indicators, this script emphasizes session-specific trading dynamics.
### Key Features ###
Session-Based Levels: Automatically plots high, low, midpoint, and Fibonacci (.618) levels for each major session (Asia, London, NY).
Distinct Visual Cues: Lines and labels use session-specific styles and colors to easily differentiate between sessions.
Previous Day Reference: Clearly plots and labels yesterday's high, low, midpoint, and Fibonacci levels.
Flexible Visibility: Traders can set timeframe visibility to maintain clean charts on higher timeframes.
### How It Works
At the start of next day's session, previous session lines are cleared, ensuring the chart remains uncluttered.
High, low, midpoint, and Fibonacci retracement levels (.618) are dynamically calculated and displayed at the close of each session.
All session levels remain visible until the start of the next respective session, providing continuous actionable insights.
Trading Application:
Session highs and lows act as strong intraday support and resistance zones.
Midpoints and Fibonacci levels are effective for identifying potential reversal zones and retracements.
Daily levels provide a broader context, useful for gauging intraday volatility and range.
### Limitations and Considerations ##
Best used on liquid assets with clear session-based price action, such as Forex major pairs, if used on indexes make sure they contain 24 hour price action not just New York session.
This indicator is designed to streamline intraday trading by clearly marking essential pivot points and session-based levels, significantly improving traders' market context and decision-making accuracy. Can be used to enhance SMT decision making when scalping killzones.
EarlyBird MA Signals (MultiTimeFrame)Since there is the option in TradingView to set alerts on whole watchlists I wanted to have an indicator which alerts when a special "moving average crossing" on higher timeframe is happening.
I chose to be alerted when there is a "Golden/Death Cross" (SMA) on daily timeframe or when EMA20 crosses EMA50 on weekly timeframe. The plotshapes of the "higher timeframes" are visible on the "middle/lower timeframes". The lines are not visible when you add the indicator to your chart, you've to activate the checkbox.
Please check also my indicator "EMA (5,8,13,200) Strategy with Signals", maybe you want to combine both.
Ehlers Regime Dynamic CandlesCore Calculation Mechanism
The indicator uses advanced Ehlers signal processing techniques to identify market regimes and create dynamically colored candles that reflect market conditions.
Super Smoother Filter: Price data (open, high, low, close) is processed through an Ehlers Super Smoother Filter to reduce market noise while preserving important price movements. This creates a clearer signal for regime detection.
Autocorrelation Analysis: The core of regime detection uses autocorrelation functions at different lag periods:
Primary autocorrelation measures correlation between the current price and its previous value
Trending autocorrelation measures longer-term persistence in the data series
These values combined determine if the market is in a trending or choppy regime
(Image showing Ehlers custom candles vs default candlesticks)
Regime Strength Calculation:
-Raw signal from autocorrelation with user-defined threshold adjustment
-Adaptive scaling based on sensitivity parameter
-Optional volume validation that confirms signal strength using volume data
-Normalization to 0-1 range and smoothing for visual consistency
-Percentile ranking to provide contextually meaningful strength values
Fisher Transform: Applied to the smoothed price to identify statistical extremes, which helps adjust transparency levels during significant price movements.
Key Features & Components
Regime Detection: Identifies trending vs. choppy market conditions using Ehlers' autocorrelation techniques.
Dynamic Candle Coloring: Candles transition smoothly between three color states:
Bullish trending (typically green/teal)
Bearish trending (typically red/purple)
Choppy/neutral (typically blue/silver)
Volume Validation: Optional incorporation of volume data to confirm trend strength (stronger volume during trending periods increases confidence).
Adaptive Transparency: Candles become more opaque during statistically significant price movements based on Fisher Transform values.
Gradient Smoothing: Controls the visual transition between regime states for a more aesthetically pleasing appearance.
Customizable Colors and Style: Full control over all visual aspects including candle body/wick colors and transparency.
Configuration Options
Users can adjust the following parameters in the indicator settings:
Main Settings:
Cycle Length: Controls the lookback period for cycle detection. Lower values increase responsiveness but may introduce noise.
Gradient Smoothness: Determines how quickly colors transition when regime changes.
Trend Detection Threshold: Sets the autocorrelation strength required to classify a trend.
Trend Sensitivity: Scales regime strength calculation to produce a better distribution of values.
Use Volume: Toggles whether volume data is used to validate trend strength.
Color Settings:
Trending Regime Colors: Separate color options for bullish and bearish candle bodies and wicks.
Choppy Regime Colors: Color options for candle bodies and wicks during sideways/neutral markets.
Style Settings:
Candle Border Options: Toggle borders and adjust their color and transparency.
Adaptive Transparency: Enable/disable dynamic transparency based on statistical significance.
Base Transparency: Set the baseline transparency level for all candles.
Interpretation Notes
Color Transitions: As the market shifts between regimes, candle colors gradually transition, providing visual cues about market structure changes.
Regime Strength: The intensity of colors indicates the strength of the detected regime:
Strong trending regimes show vibrant trending colors
Weak or mixed regimes display colors closer to the choppy/neutral color
Transitions between regimes show gradient colors
Transparency Changes: More opaque candles indicate statistically significant price movements, while more transparent candles suggest routine or less significant price action.
Volume Interaction: When volume validation is enabled, trending colors become more pronounced during high volume trends and subdued during low volume periods.
Disclaimer: These are custom candles that are significantly different from normal candlesticks.
Unlike traditional candlesticks that display raw price data, these candles:
• Use Ehlers signal processing to filter and smooth price data
• Dynamically change color based on detected market regimes
• Show statistical significance through transparency
• May appear delayed compared to standard candles due to the filtering process
Traditional trading strategies dependent on candlestick patterns will not work with these.
Risk Disclaimer
Trading involves significant risk. This indicator is provided for analytical purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use sound risk management practices and never trade with capital you cannot afford to lose. The Ehlers Regime Dynamic Candles indicator should be used as part of a comprehensive trading approach, not as a standalone trading system.
SMCFunctionsLibrary "SMCFunctions"
findSwingPoints(high, low, swing_size)
Parameters:
high (float)
low (float)
swing_size (int)
detectBOS(close, high, low, prevHigh, prevLow, highActive, lowActive, bos_conf_type)
Parameters:
close (float)
high (float)
low (float)
prevHigh (float)
prevLow (float)
highActive (bool)
lowActive (bool)
bos_conf_type (string)
getBOSDetails(highBroken, lowBroken, prevHigh, prevLow, prevSwing, prevHighIndex, prevLowIndex, input_show_choch)
Parameters:
highBroken (bool)
lowBroken (bool)
prevHigh (float)
prevLow (float)
prevSwing (int)
prevHighIndex (int)
prevLowIndex (int)
input_show_choch (bool)
calculateRetracementLevels(start_price, end_price)
Parameters:
start_price (float)
end_price (float)
Closest Candle to EMA (CCE)🔍 Closest Candle to EMA (CCE)
The Closest Candle to EMA (CCE) indicator is a visual analytical tool designed to identify the historical price (candle close) that is closest to the current Exponential Moving Average (EMA) over a user-defined period. This allows traders to easily detect how price has interacted with the trend line recently, providing insights into potential mean reversion, support/resistance, and price convergence behavior.
📌 Key Features
✅ Highlights the candle with a closing price closest to the current EMA
✅ Customizable EMA length for various trading styles and timeframes
✅ Helps detect potential zones of trend interaction
✅ Supports analysis of price behavior near dynamic support/resistance
✅ Lightweight and non-intrusive visual overlay (red = closest price, blue = EMA)
🧠 How It Works
The script calculates the EMA using the user-defined length (default: 20).
It then scans the last N candles (equal to the EMA length) and finds the one whose closing price is closest to the current EMA value.
That close is highlighted in red, while the EMA is shown in blue.
This comparison helps traders understand the proximity of past price action to the current trend level.
💡 Use Cases
Mean Reversion Strategies – Spot when price historically reverts to the trend
Dynamic Support/Resistance Identification – Find levels where price respected or returned to the EMA
Consolidation Zone Analysis – Identify areas where price hovered around trend lines
Backtesting Trend Sensitivity – See how price reacted to EMA over time
⚙️ Settings
EMA Length – Set the number of periods used for EMA and comparison window (default: 20)
📊 Example Strategy Setup – EMA Touch with Reversal Candle
This indicator can be incorporated into a price-action strategy that combines candlestick patterns, EMA proximity, and volume confirmation. Here's a practical use case:
🔧 Note: This setup is designed specifically with the EMA length set to 9.
🔁 Bullish Setup – Hammer + EMA (in uptrend)
The market is in an uptrend, confirmed by EMA(9) sloping upward
A Hammer candlestick forms
The EMA (blue) must touch the lower shadow (wick) of the Hammer
It must not touch the candle body
Candle volume is above average
→ ✅ This may signal a bullish continuation opportunity
🔁 Bearish Setup – Shooting Star + EMA (in downtrend)
The market is in a downtrend, confirmed by EMA(9) sloping downward
A Shooting Star candlestick forms
The EMA (blue) must touch the upper shadow (wick) of the candle
It must not touch the candle body
Candle volume is above average
CB Composite Index LineThis indicator was defined by Constance Brown in her book, "TECHNICAL ANALYSIS FOR THE TRADING PROFESSIONAL", Second Edition, 2011, Published by McGraw Hill Publishing.
PORTFOLIO TABLE Simple [Titans_Invest]PORTFOLIO TABLE Simple
This is a simple table for you to monitor your assets or cryptocurrencies in your SPOT wallet without needing to access your broker’s website or wallet app.
⯁ HOW TO USE THIS TABLE❓
You only need to select the asset and enter the amount of each one.
The table will show how much you have of each asset and the total value of your portfolio.
You’ll be able to monitor up to 39 assets in real time.
⯁ CONVERT VALUES
You can also activate and select a currency for conversion.
For example, cryptocurrency assets are calculated in US dollars, but you can select euros as the conversion currency.
The values originally in dollars will then be displayed in euros.
⯁ Track your Portfolio in real time:
⯁ Add your local Currency to Convert Values:
⯁ Follow your Portfolio Live:
___________________________________________________________
📜 SCRIPT : PORTFOLIO TABLE Simple
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy!
___________________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
.ppdd- SPX **************** X2combo of multiple indicators, including VWAP, BB, Volume histogram, RSI, SMA, EMA, HLC, MAG7
MACD with Bollinger Band Signal + Histogram🔄 MACD with Bollinger Band Signal + Histogram
This advanced indicator is a unique variation of the classic MACD. Instead of using a traditional signal line, it overlays Bollinger Bands directly on the MACD line, allowing for a more dynamic and volatility-aware momentum analysis. It also includes a histogram that visualizes the divergence between the MACD line and the BB midline.
✅ Key Features:
Custom MACD Line: Based on user-defined fast and slow EMA periods.
Bollinger Band Signal:
Applied directly to the MACD line (not price).
Customizable period, standard deviation, color, and fill opacity.
Highlights volatility around the MACD to identify expansion and contraction phases.
Histogram:
Measures the difference between the MACD line and the BB midline.
Helps identify bullish or bearish momentum shifts.
Color-coded for clarity (green = bullish, red = bearish).
📌 Use Cases:
Identify momentum breakouts when MACD moves outside the BB envelope.
Spot trend weakening or reversal when MACD reverts to the BB basis.
Use histogram direction and color to confirm trend strength and momentum bias.
A powerful upgrade to the standard MACD for more volatility-sensitive signals.
Modern Economic Eras DashboardOverview
This script provides a historical macroeconomic visualization of U.S. markets, highlighting long-term structural "eras" such as the Bretton Woods period, the inflationary 1970s, and the post-2020 "Age of Disorder." It overlays key economic indicators sourced from FRED (Federal Reserve Economic Data) and displays notable market crashes, all in a clean and rescaled format for easy comparison.
Data Sources & Indicators
All data is loaded monthly from official FRED series and rescaled to improve readability:
🔵 Real GDP (FRED:GDP): Total output of the U.S. economy.
🔴 Inflation Index (FRED:CPIAUCSL): Consumer price index as a proxy for inflation.
⚪ Debt to GDP (FRED:GFDGDPA188S): Federal debt as % of GDP.
🟣 Labor Force Participation (FRED:CIVPART): % of population in the labor force.
🟠 Oil Prices (FRED:DCOILWTICO): Monthly WTI crude oil prices.
🟡 10Y Real Yield (FRED:DFII10): Inflation-adjusted yield on 10-year Treasuries.
🔵 Symbol Price: Optionally overlays the charted asset’s price, rescaled.
Historical Crashes
The dashboard highlights 10 major U.S. market crashes, including 1929, 2000, and 2008, with labeled time spans for quick context.
Era Classification
Six macroeconomic eras based on Deutsche Bank’s Long-Term Asset Return Study (2020) are shaded with background color. Each era reflects dominant economic regimes—globalization, wars, monetary systems, inflationary cycles, and current geopolitical disorder.
Best Use Cases
✅ Long-term macro investors studying structural market behavior
✅ Educators and analysts explaining economic transitions
✅ Portfolio managers aligning strategy with macroeconomic phases
✅ Traders using history for cycle timing and risk assessment
Technical Notes
Designed for monthly timeframe, though it works on weekly.
Uses close price and standard request.security calls for consistency.
Max labels/lines configured for broader history (from 1860s to present).
All plotted series are rescaled manually for better visibility.
Originality
This indicator is original and not derived from built-in or boilerplate code. It combines multiple economic dimensions and market history into one interactive chart, helping users frame today's markets in a broader structural context.
ZenLab ATR FNSThis indicator was created specifically for Zen Labs which includes a custom ATR (Average True Range) table that displays the ATR value for a selected period of candles.
ATR is a volatility indicator that measures the average range between high and low prices over a given number of periods. It helps traders assess how much an asset typically moves, providing valuable information for setting stop losses, take profits, or identifying market conditions. It adapts to changing market conditions, making it useful across different timeframes and asset classes.
How the ATR Indicator Works:
The ATR is based on the concept of True Range (TR), which is the greatest of the following three values:
- Current High minus Current Low
- Absolute value of Current High minus Previous Close
- Absolute value of Current Low minus Previous Close
Averaging the True Range:
Once the True Range is calculated for each period, the ATR is computed by averaging these True Ranges over a set number of periods and is displayed in the table.
Interpreting the ATR:
- A higher ATR value indicates higher volatility—prices are moving more significantly.
- A lower ATR value indicates lower volatility—prices are more stable and less active.
Enjoy!
- Rebel Empire