EMA/VWAP/Volume/MACD指标// === 控制输出 ===
macd_plot_line = show_macd ? macd_line : na
macd_signal_plot = show_macd ? signal_line : na
macd_hist_plot = show_macd ? hist_line : na
adx_plot_line = show_adx ? adx : na
plusdi_plot_line = show_adx ? diplus : na
minusdi_plot_line = show_adx ? diminus : na
// === 绘制 MACD ===
plot(macd_plot_line, title="MACD Line", color=color.new(color.aqua, 0))
plot(macd_signal_plot, title="Signal Line", color=color.new(color.orange, 0))
plot(macd_hist_plot, title="Histogram", style=plot.style_columns,
color=macd_hist_plot >= 0 ? color.new(color.green, 0) : color.new(color.red, 0))
Patrones de gráficos
MACD-V with RSI Gradient## Overview
MACD-V is a volatility-adjusted momentum indicator that normalizes MACD using ATR. This version adds a dynamic RSI-based background gradient to highlight momentum zones visually.
## Features
- **MACD-V Line**: EMA-based momentum normalized by ATR
- **Signal Line**: EMA of MACD-V
- **Histogram**: Color-coded based on slope and polarity
- **RSI Gradient Background**: Shading from bright green (RSI > 75) to bright red (RSI < 30), with intermediate tones for momentum context
## Use Case
Designed for 30-minute oil futures charts, this indicator helps identify:
- Trend strength and reversals
- Momentum zones using RSI shading
- Pullback opportunities and exhaustion zones
## Inputs
- Fast EMA (default: 12)
- Slow EMA (default: 26)
- Signal EMA (default: 9)
- ATR Length (default: 26)
## Notes
- RSI shading is purely visual—no alerts are wired in yet
- Histogram renders behind MACD-V and Signal lines for clarity
- Colors are tuned for dark charts
## Credits
The MACD-v is an indicator created in 2015 by Alex Spiroglou
and presented to the public in 2022
as a paper called: "𝗠𝗔𝗖𝗗-𝘃: 𝗩𝗼𝗹𝗮𝘁𝗶𝗹𝗶𝘁𝘆 𝗡𝗼𝗿𝗺𝗮𝗹𝗶𝘀𝗲𝗱 𝗠𝗼𝗺𝗲𝗻𝘁𝘂𝗺"
It received the following Awards:
1. “𝐅𝐨𝐮𝐧𝐝𝐞𝐫𝐬 𝐀𝐰𝐚𝐫𝐝” (2022),
for advances in Active Investment Management
from the National Association of Active Investment Managers (NAAIM)
2. “𝐂𝐡𝐚𝐫𝐥𝐞𝐬 𝐇. 𝐃𝐨𝐰 𝐀𝐰𝐚𝐫𝐝” (2022)
for outstanding research in Technical Analysis,
from the Chartered Market Technicians Association (CMTA)
The RSI Gradient was my idea, but quite frankly, if I go looking around I suppose I'll find that others had the same idea.
This is the first time I've ever published any code, so if I stepped on anyone's toes. I'm sorry.
(SPY to ES) ETF→Futures Multi-Level (10 Levels + Select All)Converts selected ETF levels (SPY or QQQ) into equivalent futures levels (ES or NQ).
Uses live price ratio between ETF and futures for real-time level translation.
Supports 10 independent levels (A–J) with user-defined ETF price inputs.
Provides checkboxes to toggle each level’s visibility or show all at once.
Applies smoothing (ta.sma) to reduce noise from short-term price movement.
Lets user customize each line’s color, width, and style (solid, dashed, dotted).
Automatically updates lines as new bars form without user interaction.
Uses persistent line objects to keep levels stable when scrolling or zooming.
Adapts to either SPY→ES or QQQ→NQ depending on the “Convert SPY?” toggle.
Draws clean horizontal lines without legend clutter for visual precision.
SOME ONE PUBLISHED THIS FUNCTIONALITY FOR A CHARGE SO I MADE IT FREE.
-rA
Asia Range Breakout Table (Narrowness)
Asia Range Breakout Table (Narrowness)
Overview
The Asia Range Breakout Table (Narrowness) is a professional trading tool designed to analyze and display range characteristics across key Asian trading sessions. This indicator provides real-time visual feedback on market range narrowness, helping traders identify potential breakout opportunities based on historical range comparisons. Better to use in M5 or M15 timeframe.
Key Features
- Multi-Session Analysis : Tracks 6 crucial Asian market sessions:
- ORB Pre (Tokyo Pre-open)
- ORB First (Tokyo First)
- Sydney Box
- Tokyo Launch Box
- 2nd Session Pre-Open
- 2nd ORB (Tokyo 2nd Session)
- Historical Comparison : Compares current session ranges against 44 days of historical data
- Visual Color Coding :
- 🟢 Narrowest (<10%) - Extremely compressed ranges
- 🟢 Narrow (10-59%) - Below average ranges
- 🟣 Normal (60-79%) - Typical range behavior
- 🔴 Wide (≥80%) - Expanded range conditions
- Customizable Display : Adjustable table position and text size
- Session Toggle : Enable/disable individual sessions based on your trading focus
How It Works
The indicator calculates the high-low range for each defined session and ranks it against historical data using percentile analysis. This helps traders quickly identify:
- Unusually narrow ranges that may indicate impending breakouts
- Expanded ranges suggesting increased volatility
- Normal range behavior for context
Use Cases
- Breakout Trading : Identify sessions with compressed ranges for potential breakout setups
- Volatility Assessment : Gauge market conditions across different Asian sessions
- Session Analysis : Understand range behavior during specific market hours
- Risk Management : Adjust position sizing based on range characteristics
Input Parameters
- Session Toggles : Enable/disable individual session tracking
- Table Position : Choose from four corner positions
- Text Size : Adjust table readability (Tiny, Small, Normal, Big)
Ideal For
- Asian session traders
- Breakout strategy enthusiasts
- Volatility analysis
- Multi-timeframe analysts
- Professional and retail traders focusing on Asian markets
Disclaimer
This tool is for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own research and risk management before trading.
Wyckoff Accumulation / Distribution Detector (v3)🌱 Spring (Bullish Wyckoff Signature)
🧠 Definition
A Spring happens when price dips below a well-defined support level, usually near the end of an accumulation phase, then quickly reverses back above support.
This is not ordinary volatility — it's usually intentional by large operators (“Composite Man”) to:
Trigger stop-losses of weak holders
Create the illusion of a breakdown to scare late sellers in
Absorb all remaining supply at low prices
Launch the next markup leg once weak hands are flushed out
🧭 Typical Spring Characteristics
Feature Behavior
Location Near the bottom of a trading range after a decline
Price Action Temporary breakdown below support, then sharp reversal above
Volume Usually low to average on the break, indicating lack of real selling pressure. Sometimes a volume surge on the reversal as strong hands step in
Candle Often shows a long lower wick, closes back inside the range
Intent Shakeout of weak holders, allow institutions to accumulate more quietly
📈 Why It's Bullish
Springs typically mark the final test of supply. If price can dip below support and immediately recover, it means:
Selling pressure is exhausted (no follow-through)
Strong hands are absorbing remaining shares
A bullish breakout is often imminent
🪤 Upthrust (Bearish Wyckoff Signature)
🧠 Definition
An Upthrust is the mirror image of a Spring. It happens when price pokes above a resistance level, usually near the end of a distribution phase, but then fails to hold above it and falls back inside the range.
This is typically smart money distributing to eager buyers:
Late breakout traders pile in
Institutions sell into that strength
Price collapses back into the range, trapping breakout buyers
🧭 Typical Upthrust Characteristics
Feature Behavior
Location Near the top of a trading range after a rally
Price Action Temporary breakout above resistance, then quick reversal down
Volume Frequently low on the breakout, suggesting a lack of real buying interest — or sometimes high but with no progress, showing hidden selling
Candle Often shows a long upper wick, closes back inside the range
Intent Trap breakout buyers, provide liquidity for institutional sellers to unload near highs
📉 Why It's Bearish
Upthrusts show demand failure and supply swamping:
Buyers cannot sustain the breakout.
The sharp reversal signals large players are exiting.
Typically precedes markdown phases or sharp declines.
📝 Trading Implications
Spring → Often followed by a sign of strength rally → good long entry if confirmed with volume expansion and follow-through.
Upthrust → Often followed by a sign of weakness → short setups, especially if the next rally fails at lower highs.
The script looks for:
🌱 Spring:
Price makes a low below recent pivot support,
Closes back above,
Does so on low volume → likely a shakeout.
🪤 Upthrust:
Price makes a high above recent pivot resistance,
Closes back below,
On low volume → likely a bull trap.
Price Change x% from Prior CloseThis indicator identifies candles where price moved a specified percentage below the prior candle's Close price.
The script plots a gray bar at the threshold price for each candle and a green up-arrow for candles where the price crosses below the threshold price.
The Threshold Price Percentage can be set in the indicator settings window.
Flag Breakout Bullish Daily TF by SidHemFlag Breakout Bullish Daily TF by SidHem
Overview:
This indicator helps analyze Bullish Flag Breakouts (Rectangle) on the Daily Time Frame, providing a clear visual and tabular summary of key levels, stop-loss zones, expected pattern target and metrics. Traders can quickly assess breakout validity, risk/reward, and target achievement without manual calculations.
Please Note:
Flags are not auto-detected. Traders input four key dates: Pole start, Pole high, Cloth bottom, and Breakout candle. The indicator then calculates and plots all essential levels—including Pole, Cloth, Breakout Open/Close/Mean, Stop Loss, and Expected Pattern Target prices. This allows users who understand flag patterns but are unsure how to calculate targets or SL to efficiently work with the pattern.
Features:
Visualization: Highlights Pole, Cloth, and Breakout candles with horizontal rays, optional diagonal Pole lines, V-Arms, and filled boxes for clarity.
Dynamic Table Summary:
Displays symbol, Pole Low/High, Cloth Bottom, Breakout Open/Close/Mean, Expected Pattern Target, Stop Loss (3 methods, preferably on closing basis), Pole Height, Risk/Reward Ratio, Bars to Breakout, Estimated Time Frame, Pattern Summary, Flag Breakout status, and Volume strength.
Target & SL Labels: Plots target and SL lines on the chart with Expected Pattern Target, Target Achieved, and SL labels.
Customizable Appearance: Adjustable table rows, label sizes, colors, styles, widths, and transparency.
Purpose:
Accurately analyzes Bullish Flag Breakouts by entering only the four required dates; all plotting, calculation, and table generation are automated.
Experimental Supertrend [CHE]Experimental Supertrend — Combines EMA crossovers for trend regime detection with an adaptive ATR-based hull that selects the narrowest band to contain recent highs and lows, minimizing false breaks in varying volatility.
Summary
This indicator overlays a dynamic supertrend boundary around a midline derived from dual EMAs, using EMA crossovers to switch between bullish and bearish regimes. The hull adapts by evaluating multiple ATR periods and selecting the tightest one that fully encloses price action over a specified window, which helps in creating more stable trend lines that hug price without excessive gaps or breaches. Fills between the midline and hull provide visual cues for trend strength, darkening temporarily after regime changes to highlight transitions. Alerts trigger on crossovers, and markers label entry points, making it suitable for trend-following setups where standard supertrends might whipsaw. Overall, it offers robustness through auto-adjustment, reducing sensitivity to noise while maintaining responsiveness to genuine shifts.
Motivation: Why this design?
Standard supertrend indicators often flip prematurely in choppy markets due to fixed multipliers that do not account for localized volatility patterns, leading to frequent false signals and eroded confidence in trends. This design addresses that by incorporating an EMA-based regime filter for directional bias and an auto-adaptive hull that dynamically tunes the band width based on recent price containment needs. By prioritizing the narrowest effective enclosure, it avoids over-wide bands in calm periods that cause lag or under-wide ones in volatility spikes that invite breaks, providing a more consistent trailing reference without manual tweaking.
What’s different vs. standard approaches?
- Reference baseline: Diverges from the classic ATR-multiplier supertrend, which uses a single fixed period and constant factor applied to close or high/low deviations.
- Architecture differences:
- Auto-selection from candidate ATR lengths to find the optimal period for current conditions.
- Dynamic multiplier clamped between floor and cap values, adjusted by padding to ensure reliable containment.
- Regime-gated rendering, where hull position flips based on EMA relative positioning.
- Post-transition visual fading to emphasize change points without altering core logic.
- Practical effect: Charts show tighter, more reactive bands that rarely breach during trends, reducing visual clutter from flips; the adaptive nature means less intervention across assets, as the hull self-adjusts to volatility clusters rather than applying a one-size-fits-all scale.
How it works (technical)
The indicator first computes two EMAs from close prices using lengths derived from a preset pair or manual inputs, establishing a midline as their average. This midline serves as the central reference for the hull. True range values are then smoothed into multiple ATR candidates using exponential weighting over the specified lengths. For each candidate, deviations of recent highs and lows from the midline are ratioed against the ATR to determine a required multiplier that would enclose all extremes in the containment window—the highest ratio plus padding sets the base, clamped to user-defined bounds. Among valid candidates (those with sufficient history), the one yielding the narrowest overall band width is selected. The hull boundaries are then offset from the midline by this multiplier times the chosen ATR, and further smoothed with a fixed EMA to reduce jitter. Regime direction from EMA comparison gates which boundary acts as support or resistance, with initialization seeding arrays on the first bar to handle state persistence. No higher timeframe data is used, so all logic runs on the chart's native bars without lookahead.
Parameter Guide
EMA Pair — Selects preset lengths for fast and slow EMAs, influencing regime sensitivity and midline stability. Default: "21/55". Trade-offs/Tips: Faster pairs like "9/21" increase cross frequency for scalping but raise false signals; slower like "50/200" smooths for swings, potentially missing early turns. Use Manual for fine control.
Manual Fast — Sets fast EMA length when Manual mode is active; shorter values make regime switches quicker. Default: 21. Trade-offs/Tips: Lower than 10 risks over-reactivity; pair with slow at least double for clear separation.
Manual Slow — Sets slow EMA length when Manual mode is active; longer values anchor the midline more firmly. Default: 55. Trade-offs/Tips: Above 100 adds lag in trends; balance with fast to avoid perpetual neutrality.
ATR Lengths (comma-separated) — Defines candidate periods for ATR smoothing; more options allow finer auto-selection. Default: "7,10,14,21,28,35". Trade-offs/Tips: Fewer candidates speed computation but may miss optimal fits; keep under 10 for efficiency.
Containment Window — Number of recent bars the hull must fully enclose highs/lows of; larger windows favor stability. Default: 50. Trade-offs/Tips: Shorter (under 20) adapts faster to breaks but increases breach risk; longer smooths but delays response.
Min Multiplier Floor — Lowest allowed multiplier for hull width; prevents overly tight bands in low volatility. Default: 0.5. Trade-offs/Tips: Raise to 0.75 for conservative enclosures; too low allows pinches that flip easily.
Max Multiplier Cap — Highest allowed multiplier; caps expansion in spikes to avoid wide, lagging bands. Default: 1.0. Trade-offs/Tips: Lower to 0.75 tightens overall; higher permits more room but risks detachment from price.
Padding (+) — Adds buffer to the auto-multiplier for safer containment without exact touches. Default: 0.05. Trade-offs/Tips: Increase to 0.10 in gappy markets; minimal values hug closer but may still breach on outliers.
Fill Between (Mid ↔ Supertrend) — Toggles shaded area between midline and active hull for trend visualization. Default: true. Trade-offs/Tips: Disable for cleaner charts; pairs well with transparency tweaks.
Base Fill Transparency (0..100) — Sets default opacity of fills; higher values make them subtler. Default: 80. Trade-offs/Tips: Under 50 overwhelms price action; adjust with darken boost for emphasis.
Darken on Trend Change — Enables temporary opacity increase after regime shifts to spotlight transitions. Default: true. Trade-offs/Tips: Off for steady visuals; on aids spotting reversals in real-time.
Darken Fade Bars — Duration in bars for the darken effect to ramp back to base; longer prolongs highlight. Default: 8. Trade-offs/Tips: Shorter (4-6) for fast-paced charts; longer holds attention on changes.
Darken Boost at Change (Δ transp) — Intensity of opacity reduction at crossover; higher values make shifts more prominent. Default: 50. Trade-offs/Tips: Cap at 70 to avoid blackout; tune down if fades obscure details.
Show Supertrend Line — Displays the active hull boundary as a line. Default: true. Trade-offs/Tips: Hide for fill-only views; linewidth fixed at 3 for visibility.
Show EMA Cross Markers — Places circles and labels at crossover points for entry cues. Default: true. Trade-offs/Tips: Disable in clutter; labels show "Buy"/"Sell" at absolute positions.
Alert: EMA Cross Up (Long) — Triggers notification on bullish crossover. Default: true. Trade-offs/Tips: Pair with filters; once-per-bar frequency.
Alert: EMA Cross Down (Short) — Triggers notification on bearish crossover. Default: true. Trade-offs/Tips: Use for exits; ensure broker integration.
Show Debug — Reveals internal diagnostics like selected ATR details (if implemented). Default: false. Trade-offs/Tips: Enable for troubleshooting selections; minimal overhead.
Reading & Interpretation
Bullish regime shows a green line below price as support, with upward fill from midline; bearish uses red line above as resistance, downward fill. Crossovers flip the active boundary, marked by tiny green/red circles and "Buy"/"Sell" labels at the hull level. Fills start at base transparency but darken sharply at changes, fading over the specified bars to signal fresh momentum. If the hull rarely breaches during trends, containment is effective; frequent touches without flips indicate tight adaptation. Debug mode (when enabled) overlays text or plots for selected length and multiplier, helping verify auto-choices.
Practical Workflows & Combinations
- Trend following: Enter long on green "Buy" label above prior low structure; confirm with higher high. Trail stops along the green hull line, tightening as fills stabilize post-fade.
- Exits/Stops: Conservative exit on opposite crossover or hull breach; aggressive hold until fade completes if volume supports. Use darken boost as a volatility cue—high delta suggests waiting for confirmation.
- Multi-asset/Multi-TF: Defaults suit forex/stocks on 15m-4h; for crypto, widen containment to 75 for gaps. Layer on volume oscillator for cross filters; avoid on low-liquidity assets where ATR candidates skew.
Behavior, Constraints & Performance
Closed-bar logic ensures signals confirm at bar end, with live bars updating hull adaptively but no repaints since no future data or security calls are used. Arrays persist ATR states across bars, initialized once with candidates parsed from string. Small fixed loops (over 6 lengths max, inner up to 50) run per bar, capped by max_bars_back=500 for history needs. Resources stay low with 500 labels/lines limits, but dense charts may hit on markers. Known limits include initial lag until containment history builds (50+ bars), potential wide bands on gaps, and suboptimal selections if candidates omit ideal lengths.
Sensible Defaults & Quick Tuning
Start with "21/55" pair, 50-window, 0.5-1.0 multipliers, and 80% transparency for balanced responsiveness on daily charts. For too many flips, raise min floor to 0.75 or add lengths like "42"; for sluggishness, shorten window to 30 or pick faster pair. In high-vol environments, boost padding to 0.10; for smoother visuals, extend fade bars to 12.
What this indicator is—and isn’t
This is a visualization and signal layer for trend regime and adaptive boundaries, aiding entry/exit timing in directional markets. It is not a standalone system—pair with price structure, risk sizing, and broader context. Not predictive of turns, just reactive to containment and crosses.
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.
Happy trading
Chervolino
EDGAR Weekly Overview (EWO)EDGAR Weekly Overview (EWO) helps you trade with confidence — no more guessing where price will go next.
This indicator clearly shows where the market is likely to reach, reject, or bounce, using dynamic weekly base, support, and resistance levels.
You’ll instantly see key zones for your take profit (TP) and stop loss (SL), helping you plan trades with precision instead of emotion.
🔒 Invite-Only Script – access available only to authorized users.
Dollar Volume Ownership Gauge Dollar Volume Ownership Gauge (DVOG)
By: Mando4_27
Version: 1.0 — Pine Script® v6
Overview
The Dollar Volume Ownership Gauge (DVOG) is designed to measure the intensity of real money participation behind each price bar.
Instead of tracking raw share volume, this tool converts every bar’s trading activity into dollar volume (price × volume) and highlights the transition points where institutional capital begins to take control of a move.
DVOG’s mission is simple:
Show when the crowd is trading vs. when the institutions are buying control.
Core Concept
Most retail traders focus on share count (volume) — but institutions think in dollar exposure.
A small-cap printing a 1-million-share candle at $1 is very different from a 1-million-share candle at $10.
DVOG normalizes this by displaying total traded dollar value per bar, then color-codes and alerts when the volume of money crosses key thresholds.
This exposes the exact moments when ownership is shifting — often before major breakouts, reclaims, or exhaustion reversals.
How It Works
Dollar Volume Calculation
Each candle’s dollar volume is computed as close × volume.
Data is aggregated from the 5-minute timeframe regardless of your current chart, allowing consistent institutional-flow detection on any resolution.
Threshold Logic
Two customizable levels define interest zones:
$500K Threshold → Early or moderate institutional attention.
$1M Threshold → High-conviction or aggressive accumulation.
Both levels can be edited to fit different market caps or trading styles.
Bar Coloring Scheme
Red = Dollar Volume ≥ $1,000,000 → Significant institutional activity / control bar.
Green = Dollar Volume ≥ $500,000 and < $1,000,000 → Emerging accumulation / transition bar.
Black = Below $500,000 → Retail or low-interest zone.
(Colors are intentionally inverted from standard expectation: when volume intensity spikes, the bar turns hotter in tone.)
Plot Display
Histogram style plot displays 5-minute aggregated dollar volume per bar.
Dotted reference lines mark $500K and $1M levels, with live right-hand labels for quick reading.
Optional debug label shows current bar’s dollar value, closing price, and raw volume for transparency.
Alerts & Conditions
DVOG includes three alert triggers for hands-off monitoring:
Alert Name Trigger Message Purpose
Green Bar Alert – Dollar Volume ≥ $500K When dollar volume first crosses $500K “Institutional interest starting on ” Signals early money entering.
Dollar Volume ≥ $500K Same as above, configurable “Early institutional interest detected…” Broad alert option.
Dollar Volume ≥ $1M When dollar volume first crosses $1M “Significant money flow detected…” Indicates heavy institutional presence or ignition bar.
You can enable or disable alerts via checkbox inputs, allowing you to monitor just the levels that fit your style.
Interpretation & Use Cases
Identify Institutional “Ignition” Points:
Watch for sudden green or red DVOG bars after long low-volume consolidation — these often precede explosive continuation moves.
Confirm Breakouts & Reclaims:
If price reclaims a key level (HOD, neckline, or coil top) and DVOG flashes green/red, odds strongly favor follow-through.
Spot Trap Exhaustion:
After a flush or low-volume fade, the first strong green/red DVOG bar can mark the institutional reclaim — the moment retail control ends.
Filter Noise:
Ignore standard volume spikes. DVOG only reacts when dollar ownership materially changes hands, not when small traders churn shares.
Customization
Setting Default Description
$500K Threshold 500,000 Lower limit for “Green” institutional attention.
$1M Threshold 1,000,000 Upper limit for “Red” heavy institutional control.
Show Alerts ✅ Enable or disable global alerts.
Alert on Green Bars ✅ Toggle only the $500K crossover alerts.
Adjust thresholds to match the liquidity of your preferred tickers — for example, micro-caps may use $100K/$300K, while large-caps might use $5M/$20M.
Reading the Output
Black baseline = Noise / retail chop.
First Green bar = Smart money starts building position.
Red bar(s) = Ownership shift confirmed — institutions active.
Flat-to-rising pattern in DVOG = Sustained accumulation; often aligns with strong trend continuation.
Summary
DVOG transforms raw volume into actionable context — showing you when capital, not hype, is moving.
It’s particularly effective for:
Momentum and breakout traders
Liquidity trap reclaims (Kuiper-style setups)
Identifying early ignition bars before halts
Confirming frontside strength in micro-caps
Use DVOG as your ownership radar — the visual cue for when the market stops being retail and starts being real.
DM ziggy lines..Use on chart
1
0
Understand What ZigZag Shows
The ZigZag connects swing points:
Up move (Bull leg) → identifies higher swing lows (potential start of uptrend)
Down move (Bear leg) → identifies lower swing highs (potential start of downtrend)
It doesn’t repaint here (since you used a non-repainting logic), so signals are confirmed once the line appears.
Entry Logic (Trend-Following Style)
You can trade in the direction of the last confirmed ZigZag leg:
Long entry idea
Wait for the ZigZag to plot a bullish leg (green line in your script).
Confirm the higher low (price doesn’t break below the last swing low).
Enter when a candle closes above the recent swing high or with bullish momentum (e.g., a bullish engulfing candle).
📉 Short entry idea
Wait for the ZigZag to plot a bearish leg (red line).
Confirm the lower high (price doesn’t break above the last swing high).
Enter when a candle closes below the recent swing low or with bearish momentum.
. Exit or Stop-Loss
Stop-loss: Place just beyond the most recent swing point (ZigZag high/low).
Take-profit: Use risk/reward (e.g. 1:2 ratio) or next opposite ZigZag point.
Example:
Long trade after green ZigZag up-leg → stop below last swing low → exit near next swing high (red ZigZag reversal).
Optional Enhancements
You can combine the ZigZag logic with:
RSI or MACD → to confirm momentum.
Moving averages → to confirm overall trend.
Volume spikes → to confirm strong swing reversals.
Lakshman Rekha [CSN]Description:
Lakshman Rekha is a powerful and intelligently designed indicator that automatically identifies Support and Resistance levels using advanced mathematical algorithms based on the Gann Fortune methodology. It dynamically calculates and plots Daily, Weekly, Monthly, and Yearly levels to help traders recognize crucial price zones, potential reversal areas, and breakout points with exceptional accuracy.
This indicator seamlessly integrates the Gann Fortune Algorithm with the Relative Strength Index (RSI) and the Simple Moving Average (SMA) to deliver a well-structured and reliable trading system.
It uses the following configurations on a 5-minute timeframe:
SMA (14-period)
RSI (10-period)
Trading Approach:
In Nifty, traders are advised to book profits after a 60-point move or apply a trailing stop to capture extended trends.
In Bank Nifty, the recommended target or trailing level is 100 points for optimal trade management.
Lakshman Rekha offers traders a balanced combination of algorithmic precision, technical confluence, and price-action reliability.
We are providing free access to this indicator, allowing users to test, experience, and contribute valuable insights to enhance its performance.
This indicator is ideally suited for intraday and short-term swing traders seeking a systematic approach that blends mathematical structure, momentum analysis, and trend confirmation for consistent trading outcomes.
Outside Candle Session Breakout [CHE]Outside Candle Session Breakout
Session - anchored HTF levels for clear market-structure and precise breakout context
Summary
This indicator is a relevant market-structure tool. It anchors the session to the first higher-timeframe bar, then activates only when the second bar forms an outside condition. Price frequently reacts around these anchors, which provides precise breakout context and a clear overview on both lower and higher timeframes. Robustness comes from close-based validation, an adaptive volatility and tick buffer, first-touch enforcement, optional retest, one-signal-per-session, cooldown, and an optional trend filter.
Pine version: v6. Overlay: true.
Motivation: Why this design?
Short-term breakout tools often trigger during noise, duplicate within the same session, or drift when volatility shifts. The core idea is to gate signals behind a meaningful structure event: a first-bar anchor and a subsequent outside bar on the session timeframe. This narrows attention to structurally important breaks while adaptive buffering and debouncing reduce false or mid-run triggers.
What’s different vs. standard approaches?
Baseline: Simple high-low breaks or fixed buffers without session context.
Architecture: Session-anchored first-bar high/low; outside-bar gate; close-based confirmation with an adaptive ATR and tick buffer; first-touch enforcement; optional retest window; one-signal-per-session and cooldown; optional EMA trend and slope filter; higher-timeframe aggregation with lookahead disabled; themeable visuals and a range fill between levels.
Practical effect: Cleaner timing at structurally relevant levels, fewer redundant or late triggers, and better multi-timeframe situational awareness.
How it works (technical)
The chart timeframe is mapped to an analysis timeframe and a session timeframe.
The first session bar defines the anchor high and low. The setup becomes active only after the next bar forms an outside range relative to that first bar.
While active, the script tracks these anchors and checks for a breakout beyond a buffered threshold, using closing prices or wicks by preference.
The buffer scales with volatility and is limited by a minimum tick floor. First-touch enforcement avoids mid-run confirmations.
Optional retest requires a pullback to the raw anchor followed by a new close beyond the buffered level within a user window.
Optional trend gating uses an EMA on the analysis timeframe, including an optional slope requirement and price-location check.
Higher-timeframe data is requested with lookahead disabled. Values can update during a forming higher-timeframe bar; waiting and confirmation mitigate timing shifts.
Parameter Guide
Enable Long / Enable Short — Direction toggles. Default: true / true. Reduces unwanted side.
Wait Candles — Minimum bars after outside confirmation before entries. Default: five. More waiting increases stability.
Close-based Breakout — Confirm on candle close beyond buffer. Default: true. For wick sensitivity, disable.
ATR Buffer — Enables adaptive volatility buffer. Default: true.
ATR Multiplier — Buffer scaling. Default: zero point two. Increase to reduce noise.
Ticks Buffer — Minimum buffer in ticks. Default: two. Protects in quiet markets.
Cooldown Bars — Blocks new signals after a trigger. Default: three.
One Signal per Session — Prevents duplicates within a session. Default: true.
Require Retest — Pullback to raw anchor before confirming. Default: false.
Retest Window — Bars allowed for retest completion. Default: five.
HTF Trend Filter — EMA-based gating. Default: false.
EMA Length — EMA period. Default: two hundred.
Slope — Require EMA slope direction. Default: true.
Price Above/Below EMA — Require price location relative to EMA. Default: true.
Show Levels / Highlight Session / Show Signals — Visual controls. Default: true.
Color Theme — “Blue-Green” (default), “Monochrome”, “Earth Tones”, “Classic”, “Dark”.
Time Period Box — Visibility, size, position, and colors for the info box. (Optional)
Reading & Interpretation
The two level lines represent the session’s first-bar high and low. The filled band illustrates the active session range.
“OUT” marks that the outside condition is confirmed and the setup is live.
“LONG” or “SHORT” appears only when the breakout clears buffer, debounce, and optional gates.
Background tint indicates sessions where the setup is valid.
Alerts fire on confirmed long or short breakout events.
Practical Workflows & Combinations
Trend-following: Keep close-based validation, ATR buffer near the default, one-signal-per-session enabled; add EMA trend and slope for directional bias.
Retest confirmation: Enable retest with a short window to prioritize cleaner continuation after a pullback.
Lower-timeframe scalping: Reduce waiting and cooldown slightly; keep a small tick buffer to filter micro-whips.
Swing and position context: Increase ATR multiplier and waiting; maintain once-per-session to limit duplicates.
Timeframe Tiers and Trader Profiles
The script adapts its internal mapping based on the chart timeframe:
Under fifteen minutes → Analysis: one minute; Session: sixty minutes. Useful for scalpers and high-frequency intraday reads.
Between fifteen and under sixty minutes → Analysis: fifteen minutes; Session: one day. Suits day traders who need intraday alignment to the daily session.
Between sixty minutes and under one day → Analysis: sixty minutes; Session: one week. Serves intraday-to-swing transitions and end-of-day planning.
Between one day and under one week → Analysis: two hundred forty minutes; Session: two weeks. Fits swing traders who monitor multi-day structure.
Between one week and under thirty days → Analysis: one day; Session: three months. Supports position traders seeking quarterly context.
Thirty days and above → Analysis: one day; Session: twelve months. Provides a broad annual anchor for macro context.
These tiers are designed to keep anchors meaningful across regimes while preserving responsiveness appropriate to the trader profile.
Behavior, Constraints & Performance
Signals can be validated on closed bars through close-based logic; enabling this reduces intrabar flicker.
Higher-timeframe values may evolve during a forming bar; waiting parameters and the outside-bar gate reduce, but do not remove, this effect.
Resource footprint is light; the script uses standard indicators and a single higher-timeframe request per stream.
Known limits: rare setups during very quiet periods, sensitivity to gaps, and reduced reliability on illiquid symbols.
Sensible Defaults & Quick Tuning
Start with close-based validation on, ATR buffer on with a multiplier near zero point two, tick buffer two, cooldown three, once-per-session on.
Too many flips: increase the ATR multiplier and cooldown; consider enabling the EMA filter and slope.
Too sluggish: reduce the ATR multiplier and waiting; disable retest.
Choppy conditions: keep close-based validation, increase tick buffer, shorten the retest window.
What this indicator is—and isn’t
This is a visualization and signal layer for session-anchored breakouts with stability gates. It is not a complete trading system, risk framework, or predictive engine. Combine it with structured analysis, position sizing, and disciplined risk controls.
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
KI-StageSpot V2KI-StageSpot V2 is a stage analysis and base-tracking tool that overlays key moving averages, highlights crossovers, and marks base highs, lows, and breakouts — now visible on both weekly and daily charts. It also displays each base’s depth and duration stats with customizable labels, alerts, and styling options.
Settings:
1. Start Date → Manually select:
→ After Stage 1 lockout rally, or
→ 1 week before Stage 2’s first base
2. End Date → Choose up to your desired review point (for backtesting).
3. Label View → Compact or Expanded
4. Alert Levels → Identify and adjust for faulty bases
XonTrades Exit Flow | by Bu-RashidThis indicator detects potential institutional exit points and reversal zones using a powerful confluence model combining:
Volume spike analysis (institutional activity)
CVD trend flips (smart money flow reversal)
Price–CVD divergence (hidden accumulation/distribution)
Liquidity sweep detection (stop-run exhaustion)
When these elements align, the indicator highlights possible Exit Flow zones, signaling where smart capital may be closing or reversing positions.
It’s optimized for XAU/USD (Gold) and NAS100 (Nasdaq) on 5-minute and 15-minute charts, with customizable strictness for traders who prefer early or confirmed signals.
Recommended use:
Apply as a confirmation layer alongside your main strategy to identify exhaustion points and institutional exits before trend reversals.
— Developed and engineered by Bu-Rashid (XonTrades1UAE)
Multi-Resolution RSI with Machine LearningMulti-Resolution RSI
Developed by imaclone.x.
Last Updated: August 21st 2025
A single indicator that fuses my ML-RSI.ai pipeline with a classic multi-timeframe RSI. One script, dual-resolution oscillators if desired, plus a machine-learning similarity engine and modular signal-processing layers.
What it does
* Primary RSI augmented with KNN similarity engine (K, lookback, weighting). Feature embeddings include RSI magnitude, RSI momentum, volatility surface, regression slope, and price momentum vectors.
* Adaptive smoothing stack: Kalman filter recursion, Double EMA cascades, or ALMA convolution.
* Multi-resolution control for the primary oscillator timeframe.
* Optional *second* RSI projected from any timeframe for hierarchical confluence.
* Advanced visuals: upper/lower thresholds, midline, background regime highlighting, crossovers, and B/S event labels.
* Color architectures: None, Trend-Following (50-line bifurcation), or Impulse (band-breach). Optional bar tinting for full-chart context.
Inputs (groups)
* Timeframe Settings: primary + secondary RSI TF/lengths.
* Levels & Visuals: thresholds, highlights, cross events, B/S markers.
* RSI Base: smoothing toggle, MA class, ALMA sigma.
* KNN Machine Learning: enable, K neighbors, historical window, feature dimensionality, ML weighting.
* Advanced Filtering: method + intensity.
* Coloring: None, Trend-Following, Impulse.
Signals
* B flag when ML-RSI crosses upward through the lower threshold.
* S flag when ML-RSI crosses downward through the upper threshold.
* Secondary RSI = higher-timeframe confirmation, not standalone trigger.
Usage notes
* Raise ML weight + feature dimensionality for deeper similarity recognition; lower them for classic oscillator behavior.
* Kalman recursion delivers adaptive, low-lag smoothing; Double EMA and ALMA yield stronger dampening.
* Typical config: intraday primary RSI + higher-TF secondary RSI for regime anchoring.
Changelog
* v6 merge: Unified CM-style MTF RSI framework with my KNN-enhanced kernel and filter stack. One composite indicator replaces multiple scripts.
Credits
* MTF band logic inspired by earlier open-source frameworks.
* ML kernel and implementation by imaclone.x.
Disclaimer
For research and algorithmic experimentation only. No signals guaranteed.
And please kindly, for the love of God, DYOFR.
Prime Market Profile [xontrades1uae]indicator designed for high-precision intraday and scalping analysis.
It dynamically maps market structure, value areas (VAH/VAL), and point of control (POC), providing a clear visual view of where liquidity, balance, and breakout levels form throughout the session.
Features:
Real-time TPO construction for active sessions.
Automatic or custom tick calibration for gold, indices, or forex.
Highlighted POC, Value Area, and Initial Balance Range.
Smart visual clustering to detect congestion, breakout zones, and key volume nodes.
Compatible with short timeframes (1m–15m) for scalpers and day traders.
Signature:
Developed & customized by Bu-Rashid | xontrades1uae
“Precision. Liquidity. Control.” 💹
NFTs vs SOL - Momentum Divergence DetectionNFTs vs SOL – Momentum Divergence Detection:
See when NFT activity (proxy volumes) leads or lags SOL momentum.
This is an indicator that I designed to compare Solana’s price momentum with aggregated NFT market activity. It converts both into standardized z-scores for direct comparison, then measures their divergence. The resulting signal highlights when NFT trading activity begins to move ahead of, or behind, SOL price action.
Core Function:
• Measures SOL’s momentum using Rate of Change (ROC), then standardizes and smooths it.
• Combines multiple NFT-related token volumes (BLUR, LOOKS, TNSR, MAGIC, APE, optionally ME and PENGU), applies log normalization, weighting, and smoothing to form a composite NFT activity score.
• Plots their difference (NFT Z − SOL Z) as a histogram to visualize lead/lag phases.
Interpretation:
• div > 0: NFT activity exceeds SOL momentum → potential early signal for upside.
• div < 0: NFT activity trails SOL momentum → possible cooling or lag.
• Zero-line crosses: indicate leadership changes between NFTs and SOL.
On-Chart Visualization:
• Orange histogram: divergence (lead/lag strength).
• Purple line: NFT composite z-score.
• Blue line: SOL momentum z-score.
• Green/Red markers: lead or lag signals.
• Top-right table: rolling correlation and active proxies.
Usage:
Apply to 30m–1D charts.
Enter exchange-prefixed NFT tickers (e.g., KUCOIN:BLURUSDT).
Adjust weights to emphasize liquid tokens.
Interpret lead/lag crosses within the broader market structure, using trend and volume as confirmation.
Recommended Presets:
• Swing trading: 1D or 4H charts, smoother settings for stability.
• Active setups: 2H or 1H charts, lower smoothing for responsiveness.
Key Notes:
• Requires valid tickers and sufficient lookback history.
• Use crosses as context, not direct trade signals.
• High correlation = synchronous behavior; low correlation = decoupled regime.
Summary:
A contextual radar for Solana traders tracking NFT market flow. It helps identify when NFT trading activity begins leading or lagging SOL’s momentum which often signals shifts in speculative energy and trend strength.
Copyright © 2025 imaclone (Zen Silva). All rights reserved.
License: Private. No copying, sharing, or derivative works.
Stocktech.in - MidasStocktech.in – Midas: All-in-one charting indicator featuring neutral candles, trend guide bands, StockTech info table, and high-volume markers (HVQ/HVY/HVE) for quick visual volume analysis. Fully customizable and toggleable.
EDGAR Weekly Overview (EWO)EDGAR Weekly Overview (EWO) helps you trade with confidence — no more guessing where price will go next.
This indicator clearly shows where the market is likely to reach, reject, or bounce, using dynamic weekly base, support, and resistance levels.
You’ll instantly see key zones for your take profit (TP) and stop loss (SL), helping you plan trades with precision instead of emotion.
🔒 Invite-Only Script – access available only to authorized users.