Enhanced OB Retest Strategy v7.0The OB Retest Strategy is a full Order Block retest trading system that detects, plots, and trades OB zones across multiple timeframes. It uses structure breaks, retrace depth, and ATR filters to identify strong reversal or continuation setups.
⸻
⚙️ Core Features
• Multi-timeframe OB detection using break-of-structure (BOS) logic
• Automatic zone creation for bullish and bearish order blocks
• Smart merging of overlapping OB zones
• Dynamic flip-zone logic that turns invalidated OBs into new zones
• Wick zone detection for high-precision entries
• ATR-based trailing stop and optional breakeven
• Adjustable retrace depth, breakout %, and ATR filters
• Built-in performance table showing PnL, win rate, and total trades
• Fully backtestable with date range and commission control
⸻
🧠 Logic Summary
1. Detects a BOS on the higher timeframe.
2. Identifies the last opposing candle as the valid OB.
3. Validates the OB based on ATR size and breakout strength.
4. Waits for price to retest the zone to a set depth.
5. Executes trades and manages exits using trailing stop or breakeven.
6. Flips invalidated zones automatically.
⸻
💡 Usage Tips
• Best used on 1H to 4H charts for swing setups.
• Tune ATR and breakout thresholds for your market’s volatility.
• Combine with higher-timeframe bias or liquidity levels for better accuracy.
⸻
⚠️ Notes
• For educational and testing purposes only.
• Backtested results do not predict future performance.
• Always test before live use.
Educational
Unicorn Trade Indicator - Enhanced V1This code also contains pinescripts from iFVG (BPR) by Algorize and Visualizing displacement by tradeforopp who have kindly provided them as open source.
An ICT Unicorn is where a breaker block is traded through which incorporates a fair value gap. I decided to code this indicator as I couldn't find an existing free indicator on Trading View that performed adequately.
This indicator will highlight breaker blocks and when broken will post an Unicorn emoji and send an alert if requested. The last 3 breaker blocks are displayed, the prior boxes are labled PBB and are shown as red for bearish and green for bullish. After the main Unicorn is posted, the code continues to mark market structure shifts.
As all trading strategies work better with confluence I have added several other features which is very useful for people who are restricted on the number of indicators that can place on a single chart.
I have added iFVG (BPR) by Algoryze and Visualizing displacement by tradeforopp which have kindly been made open source by the authors. My thanks to them for their hard work.
Unicorn alerts will only be sent when a yellow displacement candle ( from the Visualizing displacement code) is present along with the Unicorn as this is the best type of Unicorn to trade.
The number of fvg's and bpr's from the code by Algoryze can be adjusted in the settings.
Also to add confluence I have used my own code to display liquidity depth boxes made popular by toodegrees.
I hope you find this indicator useful.
Price–Volume Anomaly DetectorDescription
This indicator identifies unusual relationships between price strength and trading volume. By analyzing expected intraday volume behavior and comparing it with current activity, it highlights potential exhaustion, absorption, or expansion events that may signal changing market dynamics.
How It Works
The script profiles average volume by time of day and compares current volume against this adaptive baseline. Combined with normalized price movement (ATR-based), it detects conditions where price and volume diverge:
Exhaustion: Strong price move on low volume (potential fade)
Absorption: Weak price move on high volume (potential reversal)
Expansion: Strong price move on high volume (momentum continuation)
Key Features
Adaptive time-based volume normalization
Configurable sensitivity thresholds
Optional visibility for each anomaly type
Adjustable label transparency and offset
Light Mode support: label text automatically adjusts for dark or light chart backgrounds
Lightweight overlay design
Inputs Overview
Volume Profile Resolution: Defines time bucket size for expected volume
[* ]Lookback Days: Controls how quickly the profile adapts
Price / Volume Thresholds: Tune anomaly sensitivity
Show Expansion / Exhaustion / Absorption: Toggle specific labels
Label Transparency & Offset: Adjust chart visibility
How to Use:
Apply the indicator to any chart or timeframe.
Observe where labels appear:
🔴 Exhaustion: strong price, weak volume
🔵 Absorption: weak price, strong volume
🟢 Expansion: strong price, strong volume
Use these as context clues, not trade signals — combine with broader volume or trend analysis.
How It Helps
Reveals hidden price–volume imbalances
Highlights areas where momentum may be fading or strengthening
Enhances understanding of market behavior beyond raw price action
⚠️Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
EMA 9 & 26 + Bollinger Bands — Auto AlertsHere’s a professional **TradingView description** you can use when publishing your new version of the indicator with alerts 👇
---
## 🟢 EMA 9 & 26 + Bollinger Bands — Auto Buy/Sell Alerts
This indicator combines **EMA crossover strategy** and **Bollinger Bands** to generate high-clarity **Buy/Sell signals** for any market (crypto, forex, stocks).
It also includes **automatic alerts** that notify you the moment a new signal appears — perfect for traders using 3-minute or 5-minute charts such as ETHUSDT, BTCUSDT, or other pairs.
---
### ⚙️ **Core Features**
* **EMA 9 & EMA 26 Crossover Logic**
* 💚 **BUY** when EMA 9 crosses above EMA 26 → start of bullish momentum
* ❤️ **SELL** when EMA 9 crosses below EMA 26 → start of bearish momentum
* **Bollinger Bands Overlay**
* Visualize volatility and spot potential breakout or retracement zones
* **Real-Time Alerts**
* Instant notification as soon as a BUY or SELL signal appears
* Works seamlessly on any timeframe (3m / 5m / 15m / 1h / 4h / 1D)
* **Color-Coded Labels**
* BUY = Aqua-Green (#00FFCC)
* SELL = Pink-Red (#FF007F)
---
### 🔔 **How to Set Up Alerts**
1. Add the indicator to your chart.
2. Choose your symbol (e.g., **ETHUSDT**) and timeframe (**3 min or 5 min**).
3. Click the **Alarm Clock ⏰ → Create Alert**.
4. Under **Condition**, select this indicator → choose **BUY Signal** or **SELL Signal**.
5. Choose “Once per bar” or “Once per bar close”.
6. Enable **App**, **Email**, or **Webhook** notifications.
---
### 💡 **Best Use**
* Ideal for **scalpers** and **short-term trend traders**
* Works on any liquid asset (crypto, forex, stocks, indices)
* Combine with **RSI**, **volume**, or **support/resistance** for stronger confirmation
---
### ⚠️ **Disclaimer**
This indicator is a **technical tool**, not financial advice. Always confirm signals with your own analysis and risk management strategy.
---
Would you like me to make a **short SEO-optimized summary** (under 250 characters) for the *TradingView Public Library card* — e.g. what shows under the title when people browse indicators?
Aynet- True Wick Projector for Non-Standard ChartsTechnical Explanation: "Data Projection and Synchronization"
This script is, at its core, a "data projection" tool. The fundamental technical problem it solves is compensating for the information loss that occurs when using different data visualization models.
1. The Core Problem: Information Loss
Standard Charts (Time-Based): Normal candlesticks are time-based. Each candle represents a fixed time interval (like 1 hour or 1 day) and displays the complete Open, High, Low, and Close (OHLC) data for that period. The "wicks" show the volatility and the extreme price points (the High and Low).
Non-Standard Charts (Price/Momentum-Based): Charts like Kagi, Renko, or Line Break filter out time. Their only concern is price movement. While one Renko box or Kagi line is forming, 10 or more time-based candles might have formed in the background. During this "noise filtering" process, the true high and low values (the wicks) from those underlying candles are lost.
The problem is this: A trader looking at a non-standard chart cannot see how high or low the price actually went while that block or line was forming. This is a critical loss of information regarding market volatility, support/resistance levels, and price rejection.
2. The Technical Solution: A "Dual Data Stream"
This script intelligently combines two different data streams to compensate for this information loss:
Main Stream (Current Chart): The open and close data from your active Kagi, Renko, etc., chart.
Secondary Stream (Projected Data): The high and low data from the underlying standard (time-based) chart.
3. The Code's Methodical Steps
Step 1: Identifying the Data Source (syminfo...)
This step precisely identifies the source for the secondary data stream. By using syminfo.prefix + ":" + syminfo.ticker (e.g., "NASDAQ:AAPL"), it guarantees that the data is pulled from the exact correct instrument and exchange.
Step 2: Data Request & "Lookahead" Synchronization (request.security)
This is the most critical part of the operation.
request.security(...): This is the function Pine Script uses to pull data from another dataset (the secondary stream) onto the current chart.
: This tells the function, "The only data I care about is the 'High' and 'Low' of the standard candle from that timeframe."
lookahead = barmerge.lookahead_on (The Critical Key): This command solves the "time paradox."
Normally (without this): request.security fetches data from the last completed bar. But as your Kagi bar is currently forming, the standard candle is also currently forming. This would cause the data to always be one bar behind (lag).
With lookahead_on: This permits the script to "look ahead" at the data from the currently forming, incomplete standard bar. Because of this, as your Kagi bar moves, the true wick data is updated in real-time. This achieves real-time synchronization.
Step 3: Visual Engineering (plotcandle)
After the script retrieves the data, it must "draw" it. However, it only wants to draw the wicks, not the candle bodies.
bodyTop and bodyBottom: First, it finds the top and bottom of the current Kagi bar's body (using math.max(open, close)).
Plotting the Upper Wick (Green):
It calls the plotcandle function and instructs it to draw a fake candle.
It fixes this fake candle's Open, Low, and Close (open, low, close) values to the top of the Kagi bar's body (bodyTop).
It only sets the High (high) value to the realHigh it fetched with request.security.
The result: A wick is drawn from the bodyTop level up to the realHigh level, with no visible body.
Plotting the Lower Wick (Red):
It applies the reverse logic.
It fixes the fake candle's Open, High, and Close values to the bottom of the Kagi bar's body (bodyBottom).
It only sets the Low (low) value to the realLow.
The result: A lower wick is drawn from bodyBottom down to realLow.
Invisibility (color.new(color.white, 100)):
In both plotcandle calls, the color (body color) and bordercolor are set to 100 transparency. This makes the "fake" candle bodies completely invisible, leaving only the colored wicks.
Conclusion (Technical Summary)
This script reclaims the volatility data (the wicks) that is naturally sacrificed by non-standard charts.
It achieves this with technical precision by creating a secondary data stream using request.security and synchronizing it with zero lag using the lookahead_on parameter.
Finally, it intelligently manipulates the plotcandle function (by creating invisible bodies) to project this lost data onto your Kagi/Renko chart as an "augmented reality" layer. This allows a trader to benefit from the clean, noise-filtered view of a non-standard chart without losing access to the full picture of market volatility.
Momentum Flow Build w/ FVG v2Good day.
The Momentum Flow Build w/ FVG v2 indicator
shows the previous session levels of Asia and London,
and the 5 min NY open levels (for 15 min go to 15 min chart).
The indicator also shows the FVGs.
The idea is that if price reaches a key level, we then
watch the level for whether price respects FVGs with a
retracement and engulfing candle at the FVG, or whether
price inverts the FVG (IFVG).
Cool. Be encouraged. Peace
Dual RVI Divergence Detector: Volatility + Vigor
This script combines two distinct but complementary momentum oscillators—the Relative Volatility Index (RVI Volatility) by Donald Dorsey and the Relative Vigor Index (RVI Vigor) by John Ehlers—into a single, unified divergence detection system.
Why combine them?
RVI Volatility measures the directional consistency of volatility, helping identify overbought/oversold conditions based on price dispersion.
RVI Vigor measures the strength of price movement relative to its range, reflecting market conviction through the relationship between open/close and high/low.
While both are called "RVI", they are fundamentally different indicators with unique mathematical foundations. Using them together provides convergent confirmation: when both oscillators show bullish (or bearish) divergence at the same time, the signal gains statistical robustness. This reduces false positives compared to using either in isolation.
Key Original Enhancements (by Carlos Mauricio Vizcarra, 2025):
Dynamic normalization: The Vigor oscillator (normally centered near 0) is scaled to the 0–100 range of the Volatility RVI, enabling direct visual comparison in a single panel without distortion.
Independent divergence logic: Each oscillator retains its own pivot detection, divergence conditions (regular + hidden), and visual markers ("R"/"H" labels + connecting lines).
User-controlled visibility: Traders can toggle each RVI on/off to focus on one signal or compare both.
Full compliance with MPL 2.0: Original authors are credited, and all reused concepts are properly attributed.
How to Use:
Look for aligned divergences (e.g., bullish divergence on both RVIs) for high-probability reversals.
Use hidden divergences for trend-continuation signals.
The SMA filters (configurable) help smooth noise.
All alerts are included for automated scanning.
Note: This is not a simple "mashup". It solves a real analytical problem: comparing structurally different oscillators on equal visual footing while preserving their unique divergence behaviors—something not available in any single existing indicator.
Additional Compliance Notes :
No emoji or non-ASCII characters in title
English-first description (you may add Spanish after if desired)
Clear justification for combining two indicators
Explanation of calculations (Dorsey vs. Ehlers)
Highlight of original contributions (normalization, dual divergence logic, UI controls)
No promotion, links, or contact info
Clean chart recommended: publish with only this script active, no other indicators or drawings
Zendog V3 Indicator DCAThis strategy is same as Zendog v3 but edited to be backtest compatible for SO additions through indicator
for Longs
Safety order type = External indicator
External indicator = RSI 30/70 : Long Trigger
Safety Order Value = 1
for Shorts
Safety order type = External indicator
External indicator = RSI 30/70 : Short Trigger
Safety Order Value = 2
Market Opens + Killzones — New York, London & Tokyo (SMC/ICT)Market Opens + Killzones — New York, London & Tokyo (SMC/ICT) — PueblaATH
Trade where liquidity is born .
This clean, professional overlay marks the world’s three most influential trading sessions — New York , London , and Tokyo — plus the London–New York overlap, giving you an instant visual map of when and where real price delivery happens.
Every opening is drawn with precise session lines and full-height killzone blocks that extend from the very top to the very bottom of your chart — so you’ll never miss the market’s true rhythm again.
🔍 What You’ll See
New York Killzone (08:30 – 10:30 NY) → Gray block
London Killzone (07:00 – 10:00 London) → Dark-gray block
Tokyo Killzone (09:00 – 11:00 Tokyo) → Black block
London–New York Overlap (13:30 – 16:00 London) → Orange block
Each killzone fills the entire column, creating crystal-clear time partitions.
Session openings are marked with vertical lines (solid or dotted), labeled, and fully adjustable.
⚙️ Features
🌍 True market timezones — Auto-adjusts for daylight saving (no manual changes needed).
🕒 Session opening lines with customizable width, color, and label.
🧱 Full-height killzone blocks for maximum clarity on any timeframe.
🔄 Daily auto-reset — clean sessions, no repaint, no overlap.
🧭 Minimal, efficient, and accurate — ideal for ICT/SMC traders.
💡 Perfect For
Intraday & scalping traders who operate within session volatility.
ICT / Smart Money Concepts enthusiasts who time executions by liquidity windows.
Anyone wanting precise visual timing of market sessions on any pair or asset.
⚡ Quick Tips
Focus on London + New York if you trade major liquidity shifts.
Set line width to 3 – 4 for best visibility.
Keep block transparency between 60–75 % for a clean balance.
Combine with structure or liquidity tools for maximum precision.
🧠 In Short
“ Simple. Accurate. Powerful. ”
Instantly identify when true liquidity enters the market — and align your executions with the world’s most active trading hours.
Created by: PueblaATH
RVI with SMA Smoothing and Divergence SignalsThis script enhances the Relative Volatility Index (RVI)—originally introduced by Donald Dorsey in 1993—by integrating three complementary analytical features:
1. SMA-based smoothing of the RVI line to reduce noise and clarify the underlying volatility momentum trend.
2. Automated detection of regular and hidden divergences between price action (highs/lows) and RVI pivots, using robust `ta.pivotlow` and `ta.pivothigh` logic with configurable lookback and search ranges.
3. Visual labels ("R" for regular, "H" for hidden) and color-coded pivot markers to help traders quickly identify potential reversal or continuation zones.
Unlike basic RVI implementations, this version is designed to highlight momentum-price decoupling, a key concept in technical analysis. The divergence engine is synchronized with RVI’s unique 0–100 scale and volatility-based calculation, ensuring signals are contextually relevant—not generic overlays.
How it works:
- RVI is computed using standard deviation of directional price changes, normalized to 0–100.
- A user-defined SMA (default: 14 periods) smooths the RVI for trend clarity.
- Divergences are confirmed only when both a valid price pivot and a corresponding RVI pivot occur within a configurable bar range (default: 5–60 bars).
- Hidden bearish divergences are disabled by default to reduce noise on short-term charts.
Suggested use:
- Regular bullish divergences near the 20 (oversold) level may signal exhaustion of a downtrend.
- Regular bearish divergences above 80 (overbought) can warn of upward momentum loss.
- Combine with price structure (support/resistance) for higher-probability setups.
This script is **not a simple mashup**: the integration of divergence logic with RVI’s volatility-based nature, parameterized sensitivity controls, and clean visualization provides a cohesive analytical tool not found in standard indicators.
> Disclaimer: This script is for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Past performance is not indicative of future results.
—
Créditos:
- RVI concept: Donald Dorsey (1993)
- Divergence methodology: Standard technical analysis practice
- Implementation and enhancements: © Carlos Mauricio Vizcarra (2025)
- Licensed under MPL 2.0
EMA 9 & 26 + Bollinger Bands — Colored Buy/Sell LabelsHere’s a **professional TradingView description** you can use when publishing or sharing your indicator 👇
---
### 🟢 **EMA 9 & 26 + Bollinger Bands — Buy/Sell Labels**
This indicator combines the **Exponential Moving Average (EMA) crossover strategy** with **Bollinger Bands** to provide clear and visually optimized **Buy/Sell signals** for trend-following traders.
---
#### 🔍 **Core Features**
* **EMA 9 & EMA 26 Crossover Logic**
* *BUY signal*: when EMA 9 crosses **above** EMA 26 (bullish trend).
* *SELL signal*: when EMA 9 crosses **below** EMA 26 (bearish trend).
* **Bollinger Bands Overlay**
* Visualize volatility and identify overbought/oversold zones.
* **Color-Coded Labels**
* 💚 **BUY** → Aqua-green label (`#00FFCC`)
* ❤️ **SELL** → Pink-red label (`#FF007F`)
* **Alert Ready**
* Set TradingView alerts for both crossover events directly from the chart.
---
#### ⚙️ **Customizable Inputs**
* Short EMA Length → *default: 9*
* Long EMA Length → *default: 26*
* Bollinger Band Length → *default: 20*
* Bollinger Band Multiplier → *default: 2.0*
---
#### 💡 **How to Use**
1. Add this script to your TradingView chart.
2. Choose your preferred timeframe (works well on 5m, 15m, 1H, or 4H).
3. Watch for **BUY/SELL labels** to confirm potential entry or exit points.
4. Combine with volume or RSI for stronger confluence.
---
#### ⚠️ **Notes**
* This tool is designed for educational and analytical purposes.
* Always confirm entries with additional technical or fundamental analysis.
---
Would you like me to write a **shorter version (SEO-optimized)** for the *TradingView public library page* (under 300 characters), or keep this as your full-page script description?
Relative Vigor Index with Divergence and SMA FilterThis script implements the Relative Vigor Index (RVI), originally developed by John Ehlers, enhanced with three practical analytical layers:
1. Configurable SMA filter applied to the RVI line (default: 14 periods) to smooth noise and clarify the underlying momentum trend.
2. Automated divergence detection between price action and the RVI oscillator, identifying both:
- Regular divergences ("R"): potential reversal signals (e.g., price makes a lower low while RVI makes a higher low).
- Hidden divergences ("H"): potential continuation signals (e.g., price makes a higher low while RVI makes a lower low).
3.Visual aids: labeled markers ("R"/"H") and connecting lines to make divergence patterns immediately recognizable.
Unlike basic RVI implementations, this version is designed to highlight momentum-price decoupling—a core concept in technical analysis—using robust pivot detection (`ta.pivotlow`/`ta.pivothigh`) with user-defined lookback and search ranges (default: 5–60 bars). The SMA filter helps traders distinguish between genuine momentum shifts and short-term volatility.
How it works:
- The RVI is calculated as the ratio of smoothed (close – open) to smoothed (high – low), reflecting the idea that in uptrends, closes tend to occur near highs, and in downtrends, near lows.
- Divergences are confirmed only when both a valid price pivot and a corresponding RVI pivot occur within the specified bar range.
- Hidden bearish divergences are disabled by default to reduce noise on shorter timeframes.
Suggested use:
- Use regular bullish divergences near negative RVI extremes as potential long setups.
- Watch for regular bearish divergences at positive RVI peaks as early reversal warnings.
- Combine with support/resistance or trend structure for higher-confidence entries.
This script is not a simple mashup: the integration of divergence logic with the RVI’s unique behavior, configurable sensitivity, and clean visualization provides a cohesive analytical tool that goes beyond standard implementations.
> Disclaimer: This script is for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Past performance is not indicative of future results.
—
Credits:
- Relative Vigor Index concept: John Ehlers
- Divergence methodology: Standard technical analysis practice
- Implementation and enhancements: © Carlos Mauricio Vizcarra (2025)
- Licensed under MPL 2.0
VIX Overnight Unch or Up AlertThis indicator alerts when VIX opens the day unchanged or higher on the day. If in fact VIX opens up unchanged or higher, it will display near the first bar of the day, previous day's close time and level and the opening time and level. The close time is typically 16:15 New York Time and the opening time is 09:30 or the first print a few minutes later. I use TVC:VIX instead of CBOT because TVC for me is real time. I also use the 1 minute chart and the script is coded as 1 minute.
Custom Drawdown LevelsInput fields for three custom percentages.
Calculation of drawdown levels from the all-time high.
Plotting horizontal lines at those levels.
Alerts v6The strategy includes:
✅ EMA-based trend direction (fast vs slow)
✅ RSI filtering for overbought/oversold control
✅ ADX confirmation for strong trend validation
✅ Pullback & BOS detection for precision entries
✅ Per-bar change logic for adaptive entry timing
✅ Session/day gating to control trading hours
✅ JSON alert integration for AI trading bots or webhooks
This script is Pine Script v6 compatible and optimized for automated alert-based trading setups such as AI trading bots, webhook systems, and VPS-linked executions.
Recommended Timeframes: 5m, 15m, 30m
Markets: XAUUSD, FX pairs, indices, and metals
First 15 Minutes From OpenHighlights the first 15 minutes after open and the tick value between high and low
Market Opens + Killzones — Tokyo, London & New York (Pro)Market Opens + Institutional Killzones — Tokyo, London & New York (Pro)
This indicator automatically plots the opening times and Institutional Killzones for the three most important financial centers in the world: Tokyo, London, and New York.
Designed for SMC / ICT traders, it provides a precise visual map of when liquidity, volatility, and institutional order flow are most active.
🕓 Sessions Included:
Tokyo → Opening Line (09:00 JST) | Killzone 09:00–11:00 JST
London → Opening Line (08:00 London) | Killzone 07:00–10:00 London
New York → Opening Line (09:30 NY) | Killzone 08:30–10:30 NY
London–New York Overlap → 13:30–16:00 London / 08:30–11:00 NY
⚙️ Features:
Opening lines for each major market
Configurable colors, line styles, and transparencies
Optional Killzones (session blocks) for each region
Auto-adjusts for Daylight Saving Time (DST)
Works on any timeframe and any symbol
💡 Usage:
Use it to align your analysis with the times when institutional traders are active — the most likely moments for liquidity grabs, reversals, or true directional moves.
Combine with other concepts like Liquidity Pools, Fair Value Gaps, Order Blocks, and Session Bias for maximum precision.
© javierpueblamolina — Built for Smart Money Traders.
RVI Divergence Detector with Custom SMA Filter (v6)This script enhances the classic Relative Vigor Index (RVI) by integrating divergence detection with a user-configurable SMA filter applied directly to the RVI oscillator. The goal is to help traders identify high-probability reversal and continuation signals by combining momentum analysis with dynamic baseline filtering.
How it works:
- The RVI measures the conviction behind price moves by comparing closing vs. opening prices relative to the high-low range over a 10-period window.
- Divergences are detected when price makes a new high/low but the RVI does not:
- Regular Bullish: Price makes a lower low, RVI makes a higher low → potential reversal up.
- Hidden Bullish: Price makes a higher low, RVI makes a lower low → trend continuation.
- Inverse logic applies for bearish cases.
- A customizable SMA (default: 14 periods) is plotted on the RVI line. This acts as a dynamic reference to assess whether divergences occur in strong momentum zones (far from SMA) or neutral zones (near SMA), helping filter out weaker signals.
- Users can adjust:
- Pivot lookback range (min/max bars)
- SMA period (1–200)
- Visibility of bullish/bearish and hidden/regular divergences
Why this version adds value:
Unlike basic RVI scripts, this adaptation introduces a configurable trend filter (SMA) and clear visual labeling ("D" for regular, "H" for hidden) with colored lines (green/red) connecting oscillator and price pivots—making divergences instantly recognizable. The logic is optimized for both scalping (short SMA) and swing trading (longer SMA).
Credits:
Based on the original RVI divergence concept by madoqa. This is an open-source adaptation under the Mozilla Public License 2.0. No financial advice. Use at your own risk.
Trappin Previous Timeframe LevelsTrappin Previous Timeframe Levels (Trappin PTL)
Overview
Trappin PTL is a comprehensive multi-timeframe support and resistance indicator that displays key price levels from multiple timeframes on a single chart. This indicator helps traders identify critical price zones where reversals or breakouts are likely to occur, making it ideal for both intraday and swing trading strategies.
💡 Origin Story
I got tired of manually drawing these lines that I learned from watching Wallstreet Trapper on Trappin Tuesdays YouTube live streams. After repeatedly marking the same previous timeframe levels on every chart, I decided to automate the process. Hope it helps you as much as it helps me!
Key Features
📊 Multiple Timeframe Levels
The indicator tracks and displays high/low levels from:
Previous Hour (PHH/PHL) - Purple lines
Previous Day (PDH/PDL) - Green lines
Previous Week (PWH/PWL) - Yellow lines
Previous Month (PMH/PML) - Blue lines
All-Time High (ATH) - Red line
52-Week High - Orange line
🎨 Fully Customizable
Colors - Change the color of each timeframe independently
Line Styles - Choose between Solid, Dashed, or Dotted lines
Line Widths - Adjust thickness from 1-4 pixels
All settings organized in intuitive groups for easy access
📍 Smart Line Extension
Lines extend back to show when the level was established
Lines project forward to show current relevance
Historical context helps identify key support/resistance zones
🏷️ Clear Price Labels
Each level displays its exact price value (no currency symbols)
Labels positioned horizontally to avoid overlap
Adaptive text color for visibility on any chart theme (dark or light mode)
Why "Trappin"?
The name is a tribute to Wallstreet Trapper and his Trappin Tuesdays YouTube live streams, where I learned the importance of marking previous timeframe levels. The name also reflects the indicator's purpose: identifying price levels where traders often get "trapped" - whether it's bulls getting trapped below resistance or bears getting trapped above support. These levels represent zones where significant order flow and liquidity exist, making them prime areas for reversals or breakouts.
Credits
Created by resoh
Inspired by Wallstreet Trapper and Trappin Tuesdays YouTube live streams
This indicator is provided for educational and informational purposes. Always practice proper risk management and conduct your own analysis before making trading decisions.
Version History
v1.0 - Initial Release
Multi-timeframe high/low levels
All-time high tracking
52-week high tracking
Fully customizable colors, styles, and widths
Adaptive labels with price display
Smart line extension showing historical context
FX Sessions by m_cptForex Intraday Sessions Indicator, config time in UTC-4. Support 4 main sessions, smooth end-to-start candles mode, without gaps if your sessions has config like:
1) 19:00 - 03:00
2) 02:00 - 03:00
3) 03:00 -11:00
No excluded last candles issue on all TFs.
Working on LTF up to 1h TF since its intraday sessions indicator.






















