ATR Trailing Stop Without tradepanel Open✅ Only plots ATR trailing stop line
✅ Only colors candles
✅ No trades / entries
✅ No “Strategy Tester” panel
✅ No arrows, markers, or trade lists
Графические паттерны
Forecast PriceTime Oracle [CHE] Forecast PriceTime Oracle — Prioritizes quality over quantity by using Power Pivots via RSI %B metric to forecast future pivot highs/lows in price and time
Summary
This indicator identifies potential pivot highs and lows based on out-of-bounds conditions in a modified RSI %B metric, then projects future occurrences by estimating time intervals and price changes from historical medians. It provides visual forecasts via diagonal and horizontal lines, tracks achievement with color changes and symbols, and displays a dashboard for statistical overview including hit rates. Signals are robust due to median-based aggregation, which reduces outlier influence, and optional tolerance settings for near-misses, making it suitable for anticipating reversals in ranging or trending markets.
Motivation: Why this design?
Standard pivot detection often lags or generates false signals in volatile conditions, missing the timing of true extrema. This design leverages out-of-bounds excursions in RSI %B to capture "Power Pivots" early—focusing on quality over quantity by prioritizing significant extrema rather than every minor swing—then uses historical deltas in time and price to forecast the next ones, addressing the need for proactive rather than reactive analysis. It assumes that pivot spacing follows statistical patterns, allowing users to prepare entries or exits ahead of confirmation.
What’s different vs. standard approaches?
- Reference baseline: Diverges from traditional ta.pivothigh/low, which require fixed left/right lengths and confirm only after bars close, often too late for dynamic markets.
- Architecture differences:
- Detects extrema during OOB runs rather than post-bar symmetry.
- Aggregates deltas via medians (or alternatives) over a user-defined history, capping arrays to manage resources.
- Applies tolerance thresholds for hit detection, with options for percentage, absolute, or volatility-adjusted (ATR) flexibility.
- Freezes achieved forecasts with visual states to avoid clutter.
- Practical effect: Charts show proactive dashed projections instead of retrospective dots; the dashboard reveals evolving hit rates, helping users gauge reliability over time without manual calculation.
How it works (technical)
The indicator first computes a smoothed RSI over a specified length, then applies Bollinger Bands to derive %B, flagging out-of-bounds below zero or above one hundred as potential run starts. During these runs, it tracks the extreme high or low price and bar index. Upon exit from the OOB state, it confirms the Power Pivot at that extreme and records the time delta (bars since prior) and price change percentage to rolling arrays.
For forecasts, it calculates the median (or selected statistic) of recent deltas, subtracts the confirmation delay (bars from apex to exit), and projects ahead by that adjusted amount. Price targets use the median change applied to the origin pivot value. Lines are drawn from the apex to the target bar and price, with a short horizontal at the endpoint. Arrays store up to five active forecasts, pruning oldest on overflow.
Tolerance adjusts hit checks: for highs, if the high reaches or exceeds the target (adjusted by tolerance); for lows, if the low drops to or below. Once hit, the forecast freezes, changing colors and symbols, and extends the horizontal to the hit bar. Persistent variables maintain last pivot states across bars; arrays initialize empty and grow until capped at history length.
Parameter Guide
Source: Specifies the data input for the RSI computation, influencing how price action is captured. Default is close. For conservative signals in noisy environments, switch to high; using low boosts responsiveness but may increase false positives.
RSI Length: Sets the smoothing period for the RSI calculation, with longer values helping to filter out whipsaws. Default is 32. Opt for shorter lengths like 14 to 21 on faster timeframes for quicker reactions, or extend to 50 or more in strong trends to enhance stability at the cost of some lag.
BB Length: Defines the period for the Bollinger Bands applied to %B, directly affecting how often out-of-bounds conditions are triggered. Default is 20. Align it with the RSI length: shorter periods detect more potential runs but risk added noise, while longer ones provide better filtering yet might overlook emerging extrema.
BB StdDev: Controls the multiplier for the standard deviation in the bands, where wider settings reduce false out-of-bounds alerts. Default is 2.0. Narrow it to 1.5 for highly volatile assets to catch more signals, or broaden to 2.5 or higher to emphasize only major movements.
Show Price Forecast: Enables or disables the display of diagonal and target lines along with their updates. Default is true. Turn it off for simpler chart views, or keep it on to aid in trade planning.
History Length: Determines the number of recent pivot samples used for median-based statistics, where more history leads to smoother but potentially less current estimates. Default is 50. Start with a minimum of 5 to build data; limit to 100 to 200 to prevent outdated regimes from skewing results.
Max Lookahead: Limits the number of bars projected forward to avoid overly extended lines. Default is 500. Reduce to 100 to 200 for intraday focus, or increase for longer swing horizons.
Stat Method: Selects the aggregation technique for time and price deltas: Median for robustness against outliers, Trimmed Mean (20%) for a balanced trim of extremes, or 75th Percentile for a conservative upward tilt. Default is Median. Use Median for even distributions; switch to Percentile when emphasizing potential upside in trending conditions.
Tolerance Type: Chooses the approach for flexible hit detection: None for exact matches, Percentage for relative adjustments, Absolute for fixed point offsets, or ATR for scaling with volatility. Default is None. Begin with Percentage at 0.5 percent for currency pairs, or ATR for adapting to cryptocurrency swings.
Tolerance %: Provides the relative buffer when using Percentage mode, forgiving small deviations. Default is 0.5. Set between 0.2 and 1.0 percent; higher values accommodate gaps but can overstate hit counts.
Tolerance Points: Establishes a fixed offset in price units for Absolute mode. Default is 0.0010. Tailor to the asset, such as 0.0001 for forex pairs, and validate against past wick behavior.
ATR Length: Specifies the period for the Average True Range in dynamic tolerance calculations. Default is 14. This is the standard setting; shorten to 10 to reflect more recent volatility.
ATR Multiplier: Adjusts the ATR scale for tolerance width in ATR mode. Default is 0.5. Range from 0.3 for tighter precision to 0.8 for greater leniency.
Dashboard Location: Positions the summary table on the chart. Default is Bottom Right. Consider Top Left for better visibility on mobile devices.
Dashboard Size: Controls the text scaling for dashboard readability. Default is Normal. Choose Tiny for dense overlays or Large for detailed review sessions.
Text/Frame Color: Sets the color scheme for dashboard text and borders. Default is gray. Align with your chart theme, opting for lighter shades on dark backgrounds.
Reading & Interpretation
Forecast lines appear as dashed diagonals from confirmed pivots to projected targets, with solid horizontals at endpoints marking price levels. Open targets show a target symbol (🎯); achieved ones switch to a trophy symbol (🏆) in gray, with lines fading to gray. The dashboard summarizes median time/price deltas, sample counts, and hit rates—rising rates indicate improving forecast alignment. Colors differentiate highs (red) from lows (lime); frozen states signal validated projections.
Practical Workflows & Combinations
- Trend following: Enter long on low forecast hits during uptrends (higher highs/lower lows structure); filter with EMA crossovers to ignore counter-trend signals.
- Reversal setups: Short above high projections in overextended rallies; use volume spikes as confirmation to reduce false breaks.
- Exits/Stops: Trail stops to prior pivot lows; conservative on low hit rates (below 50%), aggressive above 70% with tight tolerance.
- Multi-TF: Apply on 1H for entries, 4H for time projections; combine with Ichimoku clouds for confluence on targets.
- Risk management: Position size inversely to delta uncertainty (wider history = smaller bets); avoid low-liquidity sessions.
Behavior, Constraints & Performance
Confirmation occurs on OOB exit, so live-bar pivots may adjust until close, but projections update only on events to minimize repaint. No security or HTF calls, so no external lookahead issues. Arrays cap at history length with shifts; forecasts limited to five active, pruning FIFO. Loops iterate over small fixed sizes (e.g., up to 50 for stats), efficient on most hardware. Max lines/labels at 500 prevent overflow.
Known limits: Sensitive to OOB parameter tuning—too tight misses runs; assumes stationary pivot stats, which may shift in regime changes like low vol. Gaps or holidays distort time deltas.
Sensible Defaults & Quick Tuning
Defaults suit forex/crypto on 1H–4H: RSI 32/BB 20 for balanced detection, Median stats over 50 samples, None tolerance for exactness.
- Too many false runs: Increase BB StdDev to 2.5 or RSI Length to 50 for filtering.
- Lagging forecasts: Shorten History Length to 20; switch to 75th Percentile for forward bias.
- Missed near-hits: Enable Percentage tolerance at 0.3% to capture wicks without overcounting.
- Cluttered charts: Reduce Max Lookahead to 200; disable dashboard on lower TFs.
What this indicator is—and isn’t
This is a forecasting visualization layer for pivot-based analysis, highlighting statistical projections from historical patterns. It is not a standalone system—pair with price action, volume, and risk rules. Not predictive of all turns; focuses on OOB-derived extrema, ignoring volume or news impacts.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Engulfing Failure & Overlap Zones [HASIB]🧭 Overview
Engulfing Failure & Overlap Zones is a smart price action–based indicator that detects failed engulfing patterns and overlapping zones where potential liquidity traps or reversal setups often occur.
It’s designed to visually highlight both bullish and bearish failed engulfing areas with clean labels and zone markings, making it ideal for traders who follow Smart Money Concepts (SMC) or price action–driven trading.
⚙️ Core Concept
Engulfing patterns are powerful reversal signals — but not all of them succeed.
This indicator identifies:
When a Buy Engulfing setup fails and overlaps with a Sell Engulfing zone, and
When a Sell Engulfing setup fails and overlaps with a Buy Engulfing zone.
These overlapping areas often represent liquidity grab zones, reversal points, or Smart Money manipulation levels.
🎯 Key Features
✅ Detects both Buy and Sell Engulfing Failures
✅ Highlights Overlapping (OL) zones with colored rectangles
✅ Marks Buy EG OL / Sell EG OL labels automatically
✅ Fully customizable visuals — colors, padding, and zone styles
✅ Optimized for both scalping and swing trading
✅ Works on any timeframe and any instrument
⚡ How It Helps
Identify liquidity traps before reversals happen
Visually see Smart Money overlap zones between opposing engulfing structures
Strengthen your entry timing and confirmation zones
Combine with your own SMC or ICT-based trading setups for higher accuracy
📊 Recommended Use
Use on higher timeframes (e.g., M15, H1, H4) to confirm major liquidity zones.
Use on lower timeframes (e.g., M1–M5) for precision entries inside the detected zones.
Combine with tools like Order Blocks, Break of Structure (BOS), or Fair Value Gaps (FVG).
🧠 Pro Tip
When a failed engulfing overlaps with an opposite engulfing zone, it often signals market maker intent to reverse price direction after liquidity has been taken. Watch these zones closely for strong reaction candles.
BRIMSTONE SESSION INDICATOR🧭 Brimstone Session Indicator
Brimstone Session Indicator highlights global trading sessions (Asia, London/Frankfurt, New York) and key Kill Zones, showing when real liquidity and volatility enter the market.
⸻
🔍 Why It’s Useful
Markets move in time cycles, not just price.
This tool makes institutional timing visible — so you instantly see:
• Session ranges & volatility shifts
• Liquidity grabs and reversals in Kill Zones
• Perfect timing for precision entries (ICT / SMC style)
⸻
⚔️ Kill Zones
Fully customizable timing windows for liquidity hunts, stop raids, and engineered moves — where the market is most likely to attack highs/lows.
⸻
🎯 Built For
• ICT / Smart Money Traders
• Intraday scalpers & bias traders
• Anyone who trades price + time, not price alone
BRIMSTONE SESSION INDICATOR🧭 Brimstone Session Indicator
Brimstone Session Indicator highlights global trading sessions (Asia, London/Frankfurt, New York) and key Kill Zones, showing when real liquidity and volatility enter the market.
⸻
🔍 Why It’s Useful
Markets move in time cycles, not just price.
This tool makes institutional timing visible — so you instantly see:
• Session ranges & volatility shifts
• Liquidity grabs and reversals in Kill Zones
• Perfect timing for precision entries (ICT / SMC style)
⸻
⚔️ Kill Zones
Fully customizable timing windows for liquidity hunts, stop raids, and engineered moves — where the market is most likely to attack highs/lows.
⸻
🎯 Built For
• ICT / Smart Money Traders
• Intraday scalpers & bias traders
• Anyone who trades price + time, not price alone
Mean reversion strategyThis is mean reversion strategy.
Use this strategy with MTF.
This strategy has low risk reward ratio but drawdowns are also limited
Engulfing Detector [HASIB]Description:
Engulfing Detector is a clean and powerful candlestick pattern indicator designed to automatically detect Bullish and Bearish Engulfing setups on any chart and any timeframe.
This tool helps traders easily spot reversal zones and potential trend continuation entries by highlighting high-probability engulfing candles with clear visual signals.
🔹 Features:
Detects both Bullish and Bearish Engulfing patterns in real time
Works on all timeframes and all assets (Forex, Crypto, Stocks, Indices)
Customizable color alerts for bullish and bearish signals
Lightweight, fast, and optimized for smooth performance
Perfect for price action traders and candlestick strategy lovers
📈 Created with precision and simplicity by Hasib, for traders who love clarity and confidence in their charts.
HELAL TRICKS FOREX NY TimeThe indicator marks the New York session opening candle at 9:30 AM (New York time), drawing horizontal lines at its high and low. These levels remain visible until 7:00 PM, helping traders identify key breakout and reversal zones during the most volatile session of the day. Developed by Helal – Tricks Forex, this tool simplifies New York session analysis for smarter intraday trading decisions.
༒LIQUIDITY༒ 🧠 Indicator Description: ༒LIQUIDITY༒
The ༒LIQUIDITY༒ indicator visualizes a dynamic liquidity and liquidation level heatmap based on changes in Open Interest (OI) from Binance futures markets.
It highlights precise areas where clusters of leveraged LONG and SHORT positions are likely to be liquidated, offering traders a clear view of liquidity zones.
---
⚙️ Key Features:
📉 Liquidity Heatmap: Displays potential liquidation levels derived from Open Interest data.
⚡ Three customizable leverage levels to detect high and low liquidation ranges.
🧩 Intrabar resolution control for multi-timeframe analysis (1m, 5m, 15m, etc.).
🎚️ Signal filtering (optional): Focus on significant Open Interest spikes only.
🎨 Progressive color gradient: Colors change according to contract size, creating a clear heatmap of risk clusters.
🔔 Built-in alerts when LONG or SHORT clusters get swept by price action.
---
🧭 How to Read It:
Green/Yellow zones: Indicate areas with a high concentration of LONG liquidations, potential downside liquidity targets.
Blue/Purple zones: Show SHORT liquidation clusters, often acting as upside liquidity targets.
The more intense the color, the greater the contract volume at that price level.
---
💡 Usage Tips:
Best combined with Smart Money Concepts (SMC) tools, Order Blocks, or Fair Value Gaps (FVG).
Recommended for timeframes between 5 minutes and 1 hour for optimal clarity and performance.
Adjust the scale and dispersion factor to fine-tune the map’s precision and visual clarity.
Herd Flow Oscillator — Volume Distribution Herd Flow Oscillator — Scientific Volume Distribution (herd-accurate rev)
A composite order-flow oscillator designed to surface true herding behavior — not just random bursts of buying or selling.
It’s built to detect when market participants start acting together, showing persistent, one-sided activity that statistically breaks away from normal market randomness.
Unlike traditional volume or momentum indicators, this tool doesn’t just look for “who’s buying” or “who’s selling.”
It tries to quantify crowd behavior by blending multiple statistical tests that describe how collective sentiment and coordination unfold in price and volume dynamics.
What it shows
The Herd Flow Oscillator works as a multi-layer detector of crowd-driven flow in the market. It examines how signed volume (buy vs. sell pressure) evolves, how persistent it is, and whether those actions are unusually coordinated compared to random expectations.
HerdFlow Composite (z) — the main signal line, showing how statistically extreme the current herding pressure is.
When this crosses above or below your set thresholds, it suggests a high probability of collective buying or selling.
You can optionally reveal component panels for deeper insight into why herding is detected:
DVI (Directional Volume Imbalance): Measures the ratio of bullish vs. bearish volume.
If it’s strongly positive, more volume is hitting the ask (buying); if negative, more is hitting the bid (selling).
LSV-style Herd Index : Inspired by academic finance measures of “herding.”
It compares how often volume is buying vs. selling versus what would happen by random chance.
If the result is significantly above chance, it means traders are collectively biased in one direction.
O rder-Flow Persistence (ρ 1..K): Averages autocorrelation of signed volume over several lags.
In simpler terms: checks if buying/selling pressure tends to continue in the same direction across bars.
Positive persistence = ongoing coordination, not just isolated trades.
Runs-Test Herding (−Z) : Statistical test that checks how often trade direction flips.
When there are fewer direction changes than expected, it means trades are clustering — a hallmark of herd behavior.
Skew (signed volume): Measures whether signed volume is heavily tilted to one side.
A positive skew means more aggressive buying bursts; a negative skew means more intense selling bursts.
CVD Slope (z): Looks at the slope of the Cumulative Volume Delta — essentially how quickly buy/sell pressure is accelerating.
It’s a short-term flow acceleration measure.
Shapes & background
▲ “BH” at the bottom = Bull Herding; ▼ “BH-” at the top = Bear Herding.
These markers appear when all conditions align to confirm a herding regime.
Persistence and clustering both confirm coordinated downside flow.
Core Windows
Primary Window (N) — the main sample length for herding calculations.
It’s like the "memory span" for detecting coordinated behavior. A longer N means smoother, more reliable signals.
Short Window (Nshort) — used for short-term measurements like imbalance and slope.
Smaller values react faster but can be noisy; larger values are steadier but slower.
Long Window (Nlong) — used for z-score normalization (statistical scaling).
This helps the indicator understand what’s “normal” behavior over a longer horizon, so it can spot when things deviate too far.
Autocorr lags (acLags) — how many steps to check when measuring persistence.
Higher values (e.g., 3–5) look further back to see if trends are truly continuing.
Calculation Options
Price Proxy for Tick Rule — defines how to decide if a trade is “buy” or “sell.”
hlc3 (average of high, low, and close) works as a neutral, smooth price proxy.
Use ATR for scaling — keeps signals comparable across assets and timeframes by dividing by volatility (ATR).
Prevents high-volatility periods from dominating the signal.
Median Filter (bars) — smooths out erratic data spikes without heavily lagging the response.
Odd values like 3 or 5 work best.
Signal Thresholds
Composite z-threshold — determines how extreme behavior must be before it counts as “herding.”
Higher values = fewer, more confident signals.
Imbalance threshold — the minimum directional volume imbalance to trigger interest.
Plotting
Show component panels — useful for analysts and developers who want to inspect the math behind signals.
Fill strong herding zones — purely visual aid to highlight key periods of coordinated trading.
How to use it (practical tips)
Understand the purpose: This is not just a “buy/sell” tool.
It’s a behavioral detector that identifies when traders or algorithms start acting in the same direction.
Timeframe flexibility:
15m–1h: reveals short-term crowd shifts.
4h–1D: better for swing-trade context and institutional positioning.
Combine with structure or trend:
When HerdFlow confirms a bullish regime during a breakout or retest, it adds confidence.
Conversely, a bearish cluster at resistance may hint at a crowd-driven rejection.
Threshold tuning:
To make it more selective, increase zThr and imbThr.
To make it more sensitive, lower those thresholds but expand your primary window N for smoother results.
Cross-market consistency:
Keep “Use ATR for scaling” enabled to maintain consistency across different instruments or timeframes.
Denoising:
A small median filter (3–5 bars) removes flicker from volume spikes but still preserves the essential crowd patterns.
Reading the components (why signals fire)
Each sub-metric describes a unique “dimension” of crowd behavior:
DVI: how imbalanced buying vs selling is.
Herd Index: how biased that imbalance is compared to random expectation.
Persistence (ρ): how continuous those flows are.
Runs-Test: how clumped together trades are — clustering means the crowd’s acting in sync.
Skew: how lopsided the volume distribution is — sudden surges of one-sided aggression.
CVD Slope: how strongly accelerating the current directional flow is.
When all of these line up, you’re seeing evidence that market participants are collectively moving in the same direction — i.e., true herding.
Multi-Indicator Divergence Detector ProMulti-Indicator Divergence Detector Pro - High Quality Filter System
Overview
This advanced divergence detection tool identifies high-probability reversal opportunities by simultaneously analyzing 11 technical indicators with an intelligent quality scoring system. Unlike traditional divergence detectors that generate excessive false signals, this indicator filters divergences based on professional trading criteria to focus only on significant trend reversals.
What Makes This Original
Quality Scoring System (10-point scale): Each divergence is evaluated across 7 professional criteria including RSI extreme zones, volume confirmation, price deviation from moving averages, ATR volatility filter, and trend strength analysis
Core Indicator Weighting: Prioritizes divergences from the most reliable indicators (RSI, MACD, OBV) with additional scoring when multiple core indicators align
Customizable Filter Thresholds: Traders can adjust minimum quality scores (recommended 4-6) and individual filter parameters to match their trading style
Multi-Indicator Resonance Detection: Identifies when 3+ indicators simultaneously show divergence, significantly improving signal reliability
Key Features
Detects both regular and hidden divergences across 11 indicators: MACD, MACD Histogram, RSI, Stochastic, CCI, Momentum, OBV, VWmacd, Chaikin Money Flow, MFI, and external indicators
Real-time quality score display on chart labels (⭐ rating system)
Dedicated high-quality divergence alerts for significant signals
Configurable pivot point detection and maximum bar lookback
Clean visual presentation with customizable line styles and colors
Built on Pine Script v6 for optimal performance
How It Works
The indicator scans price action and technical indicators for divergence patterns where price makes a new high/low but the indicator fails to confirm. The quality filter then evaluates each divergence using multiple criteria:
RSI Extreme Zones (+2 points): Divergences in overbought (>70) or oversold (<30) regions are weighted higher
Volume Confirmation (+1 point): Requires volume expansion above 1.5x the 20-period average
Price Deviation (+1 point): Price must be significantly distant from MA50 (default 8%+)
Core Indicator Weight (+2 points): When RSI, MACD, and OBV show alignment
ATR Volatility (+1 point): Price movement exceeds 1.5x ATR threshold
Trend Strength (+1 point): Strong trending conditions increase reversal significance
Multi-Indicator Resonance (+1 point): 4+ indicators showing divergence simultaneously
How to Use
Apply indicator to your chart
Enable "High Quality Divergence Filter" in settings
Set minimum quality score (4 = balanced, 6 = conservative, 3 = aggressive)
Bullish divergences appear below price with upward labels
Bearish divergences appear above price with downward labels
Quality scores display as ⭐ ratings when enabled
Configure alerts for high-quality divergence notifications
Recommended Settings
Conservative Mode: Min score 6, enable all filters, 3+ indicator minimum
Balanced Mode: Min score 4 (default), standard thresholds
Aggressive Mode: Min score 3, 2+ indicator minimum
Best Practices
Use on daily or 4-hour timeframes for most reliable signals
Combine with price action confirmation (candlestick patterns, support/resistance)
Higher quality scores (6+) typically precede stronger reversals
RSI extreme zone divergences are particularly powerful at major turning points
Consider the broader market context and trend
Important Notes
This indicator is designed to identify potential reversals in established trends. It works best when strong trends show signs of exhaustion. Past performance does not guarantee future results. Always use proper risk management and confirm signals with additional analysis.
Title: Multi-Indicator Divergence Detector Pro (Quality Filter)
Category: Oscillators
Tags: divergence, RSI, MACD, OBV, reversal, quality-filter, multi-indicator, trend-reversal
Image Plotter [theUltimator5]Image Plotter is a visual alerting tool that drops fun, high-contrast ASCII (braille) art (e.g., Rocket, Cat “hang in there”, Babe Ruth, etc.) directly on your price chart when a technical trigger fires. It’s designed for quick, glanceable callouts without cluttering your chart with lines or sub-indicators.
If there are any specific images you would like to be able to add to your plot, please comment with the image you want to see and if it is reasonable, I will add it.
How it works
On each bar close, the script evaluates your selected Trigger Source. When the condition is true, it places a label that contains the selected ASCII art at a configurable offset above or below the candle.
You can choose to only keep the most recent art on the chart, or accumulate every trigger as a historical breadcrumb trail.
Positioning uses either the bar’s high (for above-candle placements) or low (for below-candle placements), then applies your vertical % offset and horizontal bar shift.
Inputs & Controls
Trigger Source
Select which condition will fire the ASCII placement:
RSI Oversold / Overbought — Triggers on cross through the threshold (under/over).
MACD Bullish Cross / Bearish Cross — MACD line crossing the Signal line.
BB Lower Touch / BB Upper Touch — Price crossing below the lower band / above the upper band.
Stochastic Oversold / Overbought — %K crossing through your thresholds.
Volume Spike — Current volume > (Volume MA × Spike Multiplier).
Price Cross MA — Close crossing above the chosen moving average (bullish only).
Custom Condition — Optional user condition (see “Custom Condition” below).
Plot Mode
Latest Only — The indicator deletes the previous label and keeps only the newest trigger on chart.
Every Trigger — Leaves all triggered labels on the chart (historical markers).
Note: TradingView caps the number of labels per script; this indicator sets max_labels_count=500. Heavy triggering can still hit limits.
Practical usage tips
Choose “Latest Only” for cleanliness if your trigger is frequent. Use “Every Trigger” when you want a visual audit trail.
Tune vertical offset by symbol — low-priced tickers may need a smaller %; volatile names may need more spacing.
Quick start
Add the indicator to any chart (any timeframe).
Pick a Trigger Source (e.g., RSI Oversold) and set thresholds/lengths.
Choose ASCII Image, Position Above/Below, Offsets, and Plot Mode.
(Optional) Enable Custom Condition and select your Custom Plot Source.
Create an Alert on “ASCII Trigger Alert” using Once Per Bar Close.
Have a variant you’d like (e.g., bearish MA cross, multi-alert pack by trigger, or time-window filters)? Tell me what workflow you want and I’ll tailor the script/description to match.
REQH/L [TakingProphets]OVERVIEW
This indicator identifies and maintains liquidity reference levels derived from swing highs and swing lows, then flags Relative Equal Highs (REQH) and Relative Equal Lows (REQL) when two active levels are within a user-defined distance.
It is intended for educational study of liquidity behavior and market structure. It does not predict price, provide signals, or recommend trades.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
• Provide a consistent, rule-based way to mark possible equal-high/equal-low liquidity pools.
• Help users journal, review, and study how price interacts with those pools.
• Keep charts clear by automatically managing lines/labels and optionally fading traded-through levels.
This is an indicator, not a strategy. No entries, exits, or performance claims are made.
-----------------------------------------------------------------------------------------------
CONCEPTS AND DEFINITIONS
-----------------------------------------------------------------------------------------------
• Swing High / Swing Low: local extrema used to seed candidate liquidity levels.
• Buyside Liquidity (BSL): swing highs (potential buy-side stops).
• Sellside Liquidity (SSL): swing lows (potential sell-side stops).
• Relative Equal Highs (REQH): two unswept highs within a small price distance.
• Relative Equal Lows (REQL): two unswept lows within a small price distance.
• Traded-Through: a level is considered taken once price trades past it (high > level for BSL, low < level for SSL).
-----------------------------------------------------------------------------------------------
HOW IT WORKS (ALGORITHMIC FLOW)
-----------------------------------------------------------------------------------------------
Swing Detection
• Uses built-in pivot functions with a fixed swingStrength = 1.
• On a confirmed pivot high, a BSL level is created; on a pivot low, an SSL level is created.
• Each level stores: price, bar index, line handle, label handle, and status flags.
REQH / REQL Identification
• A constant REQ_THRESHOLD = 2.0 is used to test proximity between active levels of the same side.
• For BSL (highs): when two highs are within threshold, the higher level is kept and flagged REQH; the other is removed.
• For SSL (lows): when two lows are within threshold, the lower level is kept and flagged REQL; the other is removed.
• When a level is flagged, its line is revealed in side color and its label updates to “REQH” or “REQL”.
Traded-Through Handling
• If price trades through an active level (high > BSL price, or low < SSL price), two behaviors are possible:
– If Keep Traded-Through Levels = OFF: the level is deleted.
– If ON: the level is marked traded, its color is faded (opacity ≈ 75), and the line’s extension is frozen at the trade-through bar.
Line/Label Maintenance
• Lines are created initially invisible (fully transparent). Flagging reveals the line in color.
• Labels can be shown/hidden; placement can be Left (at level start, with left offset) or Right (at current bar, with right offset).
• All active lines extend to the right as bars progress.
-----------------------------------------------------------------------------------------------
KEY INPUTS
-----------------------------------------------------------------------------------------------
• Buyside Level Color (default #089981)
• Sellside Level Color (default #E91E63)
• Line Style (Solid / Dashed / Dotted) and Width
• Show Labels (on/off), Label Placement (Left/Right)
• Keep Traded-Through Levels (on/off), Traded Opacity (~75)
• REQ Threshold (fixed in code at 2.0 by default; represents the max distance between two levels to be considered “relative equal”)
Note: In this version, swingStrength is fixed to 1 inside the script. If you want a user control here, I can expose it as an input.
-----------------------------------------------------------------------------------------------
PRACTICAL USAGE
-----------------------------------------------------------------------------------------------
• Identify potential equal-high/equal-low zones using objective proximity logic.
• Observe if those zones attract price or are traded through during your session study.
• Journal how often flagged REQH/REQL zones remain intact versus get swept.
• Combine with your own analysis and risk framework; this script is informational only.
-----------------------------------------------------------------------------------------------
VISUAL BEHAVIOR AND STYLE
-----------------------------------------------------------------------------------------------
• Flagged levels are plotted in side color (buyside/sellside).
• Right-placement keeps labels aligned near the most recent bar for clarity; Left-placement anchors labels near the origin index.
• When keep-traded-levels is enabled, faded color indicates the level has been traded through, while preserving the historical reference.
-----------------------------------------------------------------------------------------------
LIMITATIONS AND TECHNICAL NOTES
-----------------------------------------------------------------------------------------------
• Timeframe and symbol volatility will influence the usefulness of a fixed REQ threshold. For very high-priced or low-priced instruments, consider adjusting the threshold in code to suit your market’s tick/point value.
• Using swingStrength = 1 introduces more sensitivity; users who prefer fewer, stronger pivots may wish to expose this as an input and increase it.
• No look-ahead is used; pivots are confirmed using standard pivot confirmation.
• Arrays and line/label objects are bounded by max_lines_count = 500; extremely long sessions or dense markets may require reducing visual retention.
• The script does not compute performance, signals, or recommendations.
-----------------------------------------------------------------------------------------------
ORIGINALITY AND VALUE
-----------------------------------------------------------------------------------------------
• Implements a simple, explicit REQ proximity engine that only reveals and labels lines after they qualify as REQH/REQL, keeping charts clean.
• Provides deterministic deletion or fading behavior once levels are traded through, preserving historical context when desired.
• Uses a clear line/label management model with consistent right-extension and optional label offsets to avoid overlap.
-----------------------------------------------------------------------------------------------
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is provided solely for educational and informational purposes.
It does not constitute financial advice, trading signals, or a recommendation to buy or sell any instrument.
Past behavior of price structures does not guarantee future results.
Users are fully responsible for their own decisions and outcomes.
This description is self-contained and does not solicit purchases or external contact.
Mark the New York trading session hours(纽约交易时间段标注)Apply background shading for New York time.
(纽约时间背景着色)
04:00 ~ 09:00
09:00 ~ 09:30
09:30 ~ 12:00
No shading needed after 12 AM as I'll be asleep.
(12点我睡觉了就不着色了。)
REMS Synergy OverlayThis 3rd generation REMS indicator builds upon the foundations assessing the relationships between RSI, EMAs, MACDs, and Stochastic RSI across multiple timeframes. Designed to help traders identify less frequent, but high probability entries across 2 time frames. Uses 3 levels of confluence indicators for both long and short moves.
Confluence Level 1 (Highest Conviction):
Evaluates selected criteria across both timeframes. All selected criteria must be in confluence to trigger signal.
Confluence Level 2 (Moderate Conviction):
Selected criteria can be selected by each timeframe individually. All selected criteria must be in confluence to trigger signal.
Confluence Level 3 (Lower/supportive confluence):
Of the selected criteria, this level can evaluate a set number of conditions that must be met. Number of conditions is user-defined.
Includes VWAP and 4 EMAs as optional visual representations.
Includes 'Enhanced Candles' than can colour code candlesticks for better visual identification. (off by default)
Originally designed with 5 minute and 2 minute timeframes in mind, and pairs well with REMS First Strike and/or REMS Snap Shot indicators.
Values coded below:
RSI
-Primary: Length = 14, Smoothing = 20 (via SMA)
-Secondary: Length = 7, Smoothing = 20 (via SMA)
Stochastic RSI
Primary:
-RSI Length = 14
-Stochastic Length = 8
-%K = 3, %D = 3
Secondary:
-RSI Length = 7
-Stochastic Length = 7
-%K = 3, %D = 2
MACD - applied to both timeframes
-Fast = 12, Slow = 26, Signal = 9
TFPV — FULL Radial Kernel MA (Short/Long, Time Folding, Colored)TFPV is a pair of adaptive moving averages built with a radial kernel (Gaussian/Laplacian/Cauchy) on a joint metric of time, price, and volume. It can “fold” time along the market’s dominant cycle so that bars separated by entire cycles still contribute as if they were near each other—helpful for cyclical or range-bound markets. The short/long lines auto-color by regime and include cross alerts.
What it does
Radial-kernel averaging: Weights past bars by their distance from the current bar in a 3-axis space:
Time (αₜ): linear distance or cycle-aware phase distance
Price (αₚ): normalized by robust price scale
Volume (αᵥ): normalized by (log) volume scale
Time folding: Choose Linear (standard) or Circular using:
Homodyne (Hilbert) dominant period, or
ACF (autocorrelation) dominant period
This compresses distances for bars that are one or more full cycles apart, improving smoothing without lagging trends.
Adaptive scales: Price/volume bandwidths use Robust MAD, Stdev, or ATR. Optional Super Smoother center reduces noise before measuring distances.
Visual regime coloring: Short above Long → teal (bullish). Short below Long → orange (bearish). Optional fill highlights the spread.
How to read it
Trend filter: Trade in the direction of the color (teal bullish, orange bearish).
Crossovers: Short crossing above Long often marks early trend continuation after pullbacks; crossing below can warn of weakening momentum.
Spread width: A widening gap suggests strengthening trend; a shrinking gap hints at consolidation or a possible regime change.
Key settings
Lengths
Short/Long window: Lookback for each radial MA. Short reacts faster; Long stabilizes the regime.
Kernel & Metric
Kernel: Gaussian, Laplacian, or Cauchy (default). Cauchy is heavier-tailed (keeps more outliers), Gaussian is tighter.
Axis weights (αₜ, αₚ, αᵥ): Importance of time/price/volume distances. Increase a weight to make that axis matter more.
Ignore weights below: Hard cutoff for tiny kernel weights to speed up/clean contributions.
Time Folding
Topology: Linear (standard MA behavior) or Circular (Homodyne/ACF) (cycle-aware).
Cycle floor/ceil: Bounds for the dominant period search.
σₜ mode: Auto sets time bandwidth from the detected period (or length in Linear mode) × multiplier; Manual fixes σₜ in bars.
Price/Volume Scaling
Price scale: Robust MAD (outlier-resistant), Stdev, or ATR (trend-aware).
σₚ/σᵥ multipliers: Bandwidths for price/volume axes. Larger values = looser matching (smoother, more lag).
Use log(volume): Stabilizes volume’s scale across regimes; recommended.
Kernel Center
Price center: Raw (close) or Super Smoother to reduce noise before measuring price distance.
Plotting
Plot source: Show/hide the input source.
Fill between lines: Visual emphasis of the short/long spread.
Tips
Start with defaults: Cauchy, Circular (Homodyne), Robust MAD, log-volume on.
For choppy/cyclical symbols, Circular time folding often reduces false flips.
If signals feel too twitchy, either increase Short/Long lengths or raise σₚ/σᵥ multipliers (looser kernel).
For strong trends with regime shifts, try ATR price scaling.