Volume TargetThis tool highlights unusual volume by comparing it against a moving average benchmark. Users can set the average type/length and define a volume target as a percentage of that average. The script colors bars and provides alerts when volume exceeds the target
อินดิเคเตอร์และกลยุทธ์
EMA 3 vs EMA 21 % Difference AdjustableTitle: EMA 3 vs EMA 21 % Difference with Adjustable Labels
Description:
This script calculates the percentage difference between EMA 3 and EMA 21 and displays it directly on the chart as a label. Labels are shown only when the difference exceeds a user-defined threshold, helping traders easily spot significant deviations.
Features:
Calculates EMA 3 and EMA 21.
Displays percentage difference as labels above or below candles.
Adjustable label style and size.
User-defined percentage threshold for label visibility.
Plots EMA lines for visual reference.
Ideal for traders who want to monitor short-term EMA divergence relative to a longer-term trend in a clean and customizable way.
EMA + Bollinger + VWAP bySaMAll in one
EMA 20/50/200
BOLLINGER
VWAP
All in one for perfect market watching
MOM + MACD + RSI + DIV bySaMAll indicators in ONE
MOMENTUM
MACD
RSI
DIVERGENCE
All in one scaled for perfect market watching
Institutions order spikes spotter//@version=5
indicator("Volume Spike — QuickFire (TF-Adaptive)", overlay=true, max_labels_count=500)
//––– Helpers –––
barsFromMinutes(mins, avgBarMs) =>
ms = mins * 60000.0
int(math.max(2, math.round(ms / math.max(1.0, nz(avgBarMs, 60000.0)))))
alphaFromLen(lenBarsFloat) =>
lb = math.max(2.0, lenBarsFloat)
2.0 / (lb + 1.0) // EMA alpha
//––– Inputs –––
useMinutesHorizon = input.bool(true, "Use Minutes Horizon (TF-adaptive)")
presetMinutes = input.string("120","Horizon Preset (min)", options= )
horizonMinutes = input.int(240, "Custom Horizon (min) if preset OFF", minval=10, maxval=24*60)
usePresetMins = input.bool(true, "Use Preset")
// Sensitivity (LOOSE defaults)
multK = input.float(2.2, "K: vol > baseline × K", minval=1.1, step=0.1)
zThresh = input.float(2.5, "Z: vol > mean + Z·stdev", minval=1.5, step=0.1)
requireBoth = input.bool(false, "Require BOTH (K & Z). If OFF → EITHER")
// Optional filters (OFF by default)
useNewExtreme = input.bool(false, "Require New Extreme vs Prior Max (OFF)")
priorWinBarsInp = input.int(100, "Prior-Max Window (bars)", minval=20, maxval=5000)
priorFactor = input.float(1.20, "New Extreme ≥ priorMax ×", minval=1.0, step=0.05)
minDollarVol = input.float(0.0, "Min Dollar-Volume (price×vol×mult) — 0=off", step=1.0)
contractMult = input.float(1.0, "Contract/Dollar Multiplier (e.g., NQ 20, MNQ 2)", step=0.1)
sessionOnly = input.bool(false, "Restrict to Session (OFF)")
sess = input.session("0830-1600", "Session (exchange tz)")
earlyDetect = input.bool(true, "Early Intrabar Detection")
cooldownMins = input.int(10, "Cooldown Minutes", minval=0, maxval=24*60)
markerSize = input.string("normal", "Marker Size", options= )
showLabel = input.bool(false, "Show ratio label")
shadeNear = input.bool(true, "Shade near-misses (only one condition)")
colUp = color.new(color.teal, 0)
colDn = color.new(color.red, 0)
colBgHit = color.new(color.yellow, 80)
colBgNear = color.new(color.silver, 88)
//––– Derived (minutes → bars → alphas) –––
avgBarMs = ta.sma(time - time , 50)
useMin = usePresetMins ? str.tonumber(presetMinutes) : horizonMinutes
lenEffBars = useMinutesHorizon ? barsFromMinutes(useMin, avgBarMs) : useMin
lenEffF = float(lenEffBars)
alphaVol = alphaFromLen(lenEffF)
alphaATR = alphaFromLen(math.max(10.0, lenEffF/2.0))
cooldownBars = useMinutesHorizon ? barsFromMinutes(cooldownMins, avgBarMs) : cooldownMins
//––– Guards –––
inSess = sessionOnly ? not na(time(timeframe.period, sess)) : true
//––– EW stats (no series-int) –––
vol = volume
var float vMean = na
var float vVar = na
vMeanPrev = nz(vMean , vol)
vMean := na(vMean ) ? vol : vMeanPrev + alphaVol * (vol - vMeanPrev)
delta = vol - vMeanPrev
vVar := na(vVar ) ? 0.0 : (1.0 - alphaVol) * (nz(vVar ) + alphaVol * delta * delta)
vStd = math.sqrt(math.max(vVar, 0.0))
// EW ATR (for optional anatomy later if you want)
trueRange = math.max(high - low, math.max(math.abs(high - close ), math.abs(low - close )))
var float atrEW = na
atrEW := na(atrEW ) ? trueRange : atrEW + alphaATR * (trueRange - atrEW )
// Intrabar scaling
elapsedMs = barstate.isrealtime ? (timenow - time) : nz(avgBarMs, 0)
frac = earlyDetect ? math.max(0.0, math.min(1.0, elapsedMs / math.max(1.0, nz(avgBarMs, 1)))) : 1.0
// Thresholds
thMult = nz(vMean, 0) * multK
thZ = nz(vMean, 0) + zThresh * vStd
thMultEf = thMult * frac
thZEf = thZ * frac
condMult = vol > thMultEf
condZ = vol > thZEf
condCore = requireBoth ? (condMult and condZ) : (condMult or condZ)
// Optional filters (default OFF)
priorMax = ta.highest(vol , priorWinBarsInp)
condNewMax = not useNewExtreme or (vol >= priorMax * priorFactor)
dollarVol = close * vol * contractMult
condDVol = (minDollarVol <= 0) or (dollarVol >= minDollarVol)
// Cooldown
var int lastSpikeBar = -1000000000
coolOK = (bar_index - lastSpikeBar) > cooldownBars
// Final event (minimal gates)
isSpike = inSess and condCore and condNewMax and condDVol and coolOK
// Near-miss shading (only one condition true)
nearMiss = shadeNear and inSess and not isSpike and (condMult != condZ) and (condMult or condZ)
// Severity
ratio = nz(vol) / nz(vMean, 1.0)
dirUp = close >= open
// Update cooldown stamp
if isSpike
lastSpikeBar := bar_index
//––– Plotting –––
bgcolor(isSpike ? colBgHit : nearMiss ? colBgNear : na)
isUp = isSpike and dirUp
isDn = isSpike and not dirUp
// const-size markers
plotshape(markerSize == "tiny" and isUp, title="Spike Up tiny", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.tiny)
plotshape(markerSize == "small" and isUp, title="Spike Up small", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.small)
plotshape(markerSize == "normal" and isUp, title="Spike Up normal", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.normal)
plotshape(markerSize == "large" and isUp, title="Spike Up large", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.large)
plotshape(markerSize == "huge" and isUp, title="Spike Up huge", style=shape.triangleup, color=colUp, location=location.belowbar, size=size.huge)
plotshape(markerSize == "tiny" and isDn, title="Spike Dn tiny", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.tiny)
plotshape(markerSize == "small" and isDn, title="Spike Dn small", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.small)
plotshape(markerSize == "normal" and isDn, title="Spike Dn normal", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.normal)
plotshape(markerSize == "large" and isDn, title="Spike Dn large", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.large)
plotshape(markerSize == "huge" and isDn, title="Spike Dn huge", style=shape.triangledown, color=colDn, location=location.abovebar, size=size.huge)
// Optional label
if showLabel and isSpike
y = dirUp ? low : high
st = dirUp ? label.style_label_down : label.style_label_up
c = dirUp ? colUp : colDn
label.new(bar_index, y, str.tostring(ratio, "#.##x"), xloc=xloc.bar_index, style=st, textcolor=color.white, color=c)
// Alerts
alertcondition(isSpike, title="Volume Spike (Any)", message="Volume spike detected.")
alertcondition(isSpike and isUp, title="Volume Spike Up", message="UP volume spike.")
alertcondition(isSpike and isDn, title="Volume Spike Down", message="DOWN volume spike.")
// Hidden refs (optional)
plot(ratio, title="Severity Ratio", display=display.none)
plot(dollarVol, title="Dollar Volume", display=display.none)
plot(atrEW, title="EW ATR", display=display.none)
S&D Elite Pro Timing V4S&D Pro Elite — Pro Timing (PT)
A clean, signal-first Supply & Demand tool that maps institutional-style zones and prints a compact PT (Pro Timing) label only when a timing setup forms inside an active zone. Minimal UI, no clutter—just zones and timing where they matter.
Why
Some zones hold, some don’t. The trader’s job is to reduce noise. This tool is built to elevate signal-to-noise, remove distractions, and focus execution on the most structured areas of price.
What it does
Maps Supply & Demand zones across multiple timeframes with optional Quality Score (0–100) and opacity tinting.
Pro structures (Rally-Base-Rally / Drop-Base-Drop) via ATR-based impulse/continuation and a tight-base check.
PT labels (buy/sell) appear only when a Pro Timing setup forms in the zone (you choose what “inside” means: close inside / any overlap / wick only / full-body inside).
Mitigation-aware: optionally stop reacting to a zone after any touch, body touch, or a minimum penetration %.
One-switch control: Show Pro Zones master toggle, plus per-TF switches (3m…Weekly).
Alerts: PT Buy / PT Sell.
PT = Pro Timing
A compact price-timing confirmation detected when specific price-action conditions align within an S&D zone. Presented as a single, clean label—no counts or numerals.
How it works (brief)
Zone detection: impulse → base → continuation using ATR thresholds and base compactness; optional rule that the base sits inside the impulse range. Zones project right; broken zones auto-remove.
Quality Score: weighted blend of impulse strength, base tightness, and continuation body, with an inside-base bonus. You can filter out low-score zones and/or tint opacity by quality.
PT inside the zone: the PT label prints only when price meets your chosen zone-touch mode and the internal timing criteria.
Repainting
Forming Zones ON: boxes may change while the higher-TF candle is open (early heads-up by design).
Forming Zones OFF: zones and PT labels use confirmed data for the selected timeframes.
Settings (at a glance)
Pro Zone Options: Show Pro Zones (master), Forming Zones, per-TF toggles (3m…Weekly), Force Lower-TF Aggregation (1m base).
RBR/DBD Filter: Impulse min body × ATR(14), Base max body % of impulse, Base inside prior impulse (on/off), Continuation min body × ATR(14).
Quality Score: toggle, min score filter, opacity tint, adjustable weights (Impulse / Base / Continuation) + inside-base bonus.
PT × Zone Filter: Only show inside zones; trigger mode (Close inside / Overlap / Wick only / Body inside); stop after mitigation (Any touch / Body / Penetration ≥ %).
Visuals: Buy/Sell label colors + text colors; optional text inside zones (TF label, quality).
Recommended starting values
Zone Difference Scale: 1.6–2.0
Impulse min body × ATR: 1.6
Base max body %: 0.40–0.60
Continuation min body × ATR: 1.0–1.2
Min Quality Score: 60
Touch mode: Overlap (any part) for discovery; then tighten to Body inside or Wick only.
Usage tips
Start with 15m / 1h / 4h to build the backbone, add LTFs once structure is clear, and treat PT as timing confirmation inside structure—combine with trend/session/context and manage risk.
Script by Loganscottfx.
Educational tool; not financial advice. Markets involve risk.
Published as an indicator (not a strategy).
Thiru TOI TrackerThe "Thiru TOI Tracker" is a Pine Script (version 6) indicator designed to mark specific trading session time windows (London, NY AM, and NY PM) on a chart with vertical and horizontal lines and labels.
It highlights key time-of-interest (TOI) periods for traders, such as London (2:45-3:15 AM and 3:45-4:15 AM), NY AM (9:45-10:15 AM and 10:45-11:15 AM), and NY PM (1:45-2:15 PM and 2:45-3:15 PM) in the New York timezone.
The script includes customizable visual settings (line style, width, colors, and label sizes), timeframe filters, and memory cleanup to optimize performance.
S&D Elite Pro Timing V4S&D Pro Elite — Pro Timing (PT)
A clean, signal-first Supply & Demand tool that maps institutional-style zones and prints a compact PT (Pro Timing) label only when a timing setup forms inside an active zone. Minimal UI, no clutter—just zones and timing where they matter.
Why
Some zones hold, some don’t. The trader’s job is to reduce noise. This tool is built to elevate signal-to-noise, remove distractions, and focus execution on the most structured areas of price.
What it does
Maps Supply & Demand zones across multiple timeframes with optional Quality Score (0–100) and opacity tinting.
Pro structures (Rally-Base-Rally / Drop-Base-Drop) via ATR-based impulse/continuation and a tight-base check.
PT labels (buy/sell) appear only when a Pro Timing setup forms in the zone (you choose what “inside” means: close inside / any overlap / wick only / full-body inside).
Mitigation-aware: optionally stop reacting to a zone after any touch, body touch, or a minimum penetration %.
One-switch control: Show Pro Zones master toggle, plus per-TF switches (3m…Weekly).
Alerts: PT Buy / PT Sell.
PT = Pro Timing
A compact price-timing confirmation detected when specific price-action conditions align within an S&D zone. Presented as a single, clean label—no counts or numerals.
How it works (brief)
Zone detection: impulse → base → continuation using ATR thresholds and base compactness; optional rule that the base sits inside the impulse range. Zones project right; broken zones auto-remove.
Quality Score: weighted blend of impulse strength, base tightness, and continuation body, with an inside-base bonus. You can filter out low-score zones and/or tint opacity by quality.
PT inside the zone: the PT label prints only when price meets your chosen zone-touch mode and the internal timing criteria.
Repainting
Forming Zones ON: boxes may change while the higher-TF candle is open (early heads-up by design).
Forming Zones OFF: zones and PT labels use confirmed data for the selected timeframes.
Settings (at a glance)
Pro Zone Options: Show Pro Zones (master), Forming Zones, per-TF toggles (3m…Weekly), Force Lower-TF Aggregation (1m base).
RBR/DBD Filter: Impulse min body × ATR(14), Base max body % of impulse, Base inside prior impulse (on/off), Continuation min body × ATR(14).
Quality Score: toggle, min score filter, opacity tint, adjustable weights (Impulse / Base / Continuation) + inside-base bonus.
PT × Zone Filter: Only show inside zones; trigger mode (Close inside / Overlap / Wick only / Body inside); stop after mitigation (Any touch / Body / Penetration ≥ %).
Visuals: Buy/Sell label colors + text colors; optional text inside zones (TF label, quality).
Recommended starting values
Zone Difference Scale: 1.6–2.0
Impulse min body × ATR: 1.6
Base max body %: 0.40–0.60
Continuation min body × ATR: 1.0–1.2
Min Quality Score: 60
Touch mode: Overlap (any part) for discovery; then tighten to Body inside or Wick only.
Usage tips
Start with 15m / 1h / 4h to build the backbone, add LTFs once structure is clear, and treat PT as timing confirmation inside structure—combine with trend/session/context and manage risk.
Turtle cloudsTurtle clouds is a clean trading indicator that combines the classic Turtle 20-bar breakout strategy with an EMA cloud filter. It only generates signals when price wicks into the EMA cloud and rejects, confirming the breakout direction. Arrows appear bar-aligned, highlighting high-probability long and short setups while filtering trades with trend confluence.
✅ How it works now:
Long signal only triggers when:
The price wicks into the EMA cloud (low <= EMA zone)
Closes above the EMA cloud
Breaks the previous 20-bar high
EMA trend confirms bullish (emaFast > emaSlow)
Short signal only triggers when:
The price wicks into the EMA cloud (high >= EMA zone)
Closes below the EMA cloud
Breaks the previous 20-bar low
EMA trend confirms bearish (emaFast < emaSlow)
Arrows are bar-aligned and will not float or repaint.
[blackcat] L2 Trend LinearityOVERVIEW
The L2 Trend Linearity indicator is a sophisticated market analysis tool designed to help traders identify and visualize market trend linearity by analyzing price action relative to dynamic support and resistance zones. This powerful Pine Script indicator utilizes the Arnaud Legoux Moving Average (ALMA) algorithm to calculate weighted price calculations and generate dynamic support/resistance zones that adapt to changing market conditions. By visualizing market zones through colored candles and histograms, the indicator provides clear visual cues about market momentum and potential trading opportunities. The script generates buy/sell signals based on zone crossovers, making it an invaluable tool for both technical analysis and automated trading strategies. Whether you're a day trader, swing trader, or algorithmic trader, this indicator can help you identify market regimes, support/resistance levels, and potential entry/exit points with greater precision.
FEATURES
Dynamic Support/Resistance Zones: Calculates dynamic support (bear market zone) and resistance (bull market zone) using weighted price calculations and ALMA smoothing
Visual Market Representation: Color-coded candles and histograms provide immediate visual feedback about market conditions
Smart Signal Generation: Automatic buy/sell signals generated from zone crossovers with clear visual indicators
Customizable Parameters: Four different ALMA smoothing parameters for various timeframes and trading styles
Multi-Timeframe Compatibility: Works across different timeframes from 1-minute to weekly charts
Real-time Analysis: Provides instant feedback on market momentum and trend direction
Clear Visual Cues: Green candles indicate bullish momentum, red candles indicate bearish momentum, and white candles indicate neutral conditions
Histogram Visualization: Blue histogram shows bear market zone (below support), aqua histogram shows bull market zone (above resistance)
Signal Labels: "B" labels mark buy signals (price crosses above resistance), "S" labels mark sell signals (price crosses below support)
Overlay Functionality: Works as an overlay indicator without cluttering the chart with unnecessary elements
Highly Customizable: All parameters can be adjusted to suit different trading strategies and market conditions
HOW TO USE
Add the Indicator to Your Chart
Open TradingView and navigate to your desired trading instrument
Click on "Indicators" in the top menu and select "New"
Search for "L2 Trend Linearity" or paste the Pine Script code
Click "Add to Chart" to apply the indicator
Configure the Parameters
ALMA Length Short: Set the short-term smoothing parameter (default: 3). Lower values provide more responsive signals but may generate more false signals
ALMA Length Medium: Set the medium-term smoothing parameter (default: 5). This provides a balance between responsiveness and stability
ALMA Length Long: Set the long-term smoothing parameter (default: 13). Higher values provide more stable signals but with less responsiveness
ALMA Length Very Long: Set the very long-term smoothing parameter (default: 21). This provides the most stable support/resistance levels
Understand the Visual Elements
Green Candles: Indicate bullish momentum when price is above the bear market zone (support)
Red Candles: Indicate bearish momentum when price is below the bull market zone (resistance)
White Candles: Indicate neutral market conditions when price is between support and resistance zones
Blue Histogram: Shows bear market zone when price is below support level
Aqua Histogram: Shows bull market zone when price is above resistance level
"B" Labels: Mark buy signals when price crosses above resistance
"S" Labels: Mark sell signals when price crosses below support
Identify Market Regimes
Bullish Regime: Price consistently above resistance zone with green candles and aqua histogram
Bearish Regime: Price consistently below support zone with red candles and blue histogram
Neutral Regime: Price oscillating between support and resistance zones with white candles
Generate Trading Signals
Buy Signals: Look for price crossing above the bull market zone (resistance) with confirmation from green candles
Sell Signals: Look for price crossing below the bear market zone (support) with confirmation from red candles
Confirmation: Always wait for confirmation from candle color changes before entering trades
Optimize for Different Timeframes
Scalping: Use shorter ALMA lengths (3-5) for 1-5 minute charts
Day Trading: Use medium ALMA lengths (5-13) for 15-60 minute charts
Swing Trading: Use longer ALMA lengths (13-21) for 1-4 hour charts
Position Trading: Use very long ALMA lengths (21+) for daily and weekly charts
LIMITATIONS
Whipsaw Markets: The indicator may generate false signals in choppy, sideways markets where price oscillates rapidly between support and resistance
Lagging Nature: Like all moving average-based indicators, there is inherent lag in the calculations, which may result in delayed signals
Not a Standalone Tool: This indicator should be used in conjunction with other technical analysis tools and risk management strategies
Market Structure Dependency: Performance may vary depending on market structure and volatility conditions
Parameter Sensitivity: Different markets may require different parameter settings for optimal performance
No Volume Integration: The indicator does not incorporate volume data, which could provide additional confirmation signals
Limited Backtesting: Pine Script limitations may restrict comprehensive backtesting capabilities
Not Suitable for All Instruments: May perform differently on stocks, forex, crypto, and futures markets
Requires Confirmation: Signals should always be confirmed with other indicators or price action analysis
Not Predictive: The indicator identifies current market conditions but does not predict future price movements
NOTES
ALMA Algorithm: The indicator uses the Arnaud Legoux Moving Average (ALMA) algorithm, which is known for its excellent smoothing capabilities and reduced lag compared to traditional moving averages
Weighted Price Calculations: The bear market zone uses (2low + close) / 3, while the bull market zone uses (high + 2close) / 3, providing more weight to recent price action
Dynamic Zones: The support and resistance zones are dynamic and adapt to changing market conditions, making them more responsive than static levels
Color Psychology: The color scheme follows traditional trading psychology - green for bullish, red for bearish, and white for neutral
Signal Timing: The signals are generated on the close of each bar, ensuring they are based on complete price action
Label Positioning: Buy signals appear below the bar (red "B" label), while sell signals appear above the bar (green "S" label)
Multiple Timeframes: The indicator can be applied to multiple timeframes simultaneously for comprehensive analysis
Risk Management: Always use proper risk management techniques when trading based on indicator signals
Market Context: Consider the overall market context and trend direction when interpreting signals
Confirmation: Look for confirmation from other indicators or price action patterns before entering trades
Practice: Test the indicator on historical data before using it in live trading
Customization: Feel free to experiment with different parameter combinations to find what works best for your trading style
THANKS
Special thanks to the TradingView community and the Pine Script developers for creating such a powerful and flexible platform for technical analysis. This indicator builds upon the foundation of the ALMA algorithm and various moving average techniques developed by technical analysis pioneers. The concept of dynamic support and resistance zones has been refined over decades of market analysis, and this script represents a modern implementation of these timeless principles. We acknowledge the contributions of all traders and developers who have contributed to the evolution of technical analysis and continue to push the boundaries of what's possible with algorithmic trading tools.
Shark EfficiencyShock! Indicator — Description
This indicator measures how efficient or inefficient each candle is compared to recent volatility. It uses two calculations:
Residual (R):
Compares the actual candle return to what would be expected based on an exponential weighted moving average (EWMA) of intraday variance.
Positive residuals mean the candle moved farther than expected (inefficient); negative residuals mean the move was smaller or more controlled (efficient).
Histogram (H):
Compares realized variance (RV) of recent candles to bipower variation (BV), which estimates what volatility should be if there were no large jumps.
A large positive histogram value means the candle was an inefficient “jump” relative to normal volatility.
A negative histogram value means the candle was efficient, moving in line with expected variance.
Both Residual and Histogram are plotted bar-by-bar, with green bars showing efficient moves and red bars showing inefficient moves.
How to read it:
Efficient bullish candle: Price closed up, Residual < 0, Histogram < 0.
Efficient bearish candle: Price closed down, Residual < 0, Histogram < 0.
Inefficient bullish candle: Price closed up, Residual > 0, Histogram > 0.
Inefficient bearish candle: Price closed down, Residual > 0, Histogram > 0.
This lets you see not just whether price moved, but whether that move was efficient (controlled, sustainable) or inefficient (overextended, unsustainable).
Inputs:
alpha sets the percentile for efficiency thresholds (default 0.10 = 10/90 bands).
lambda controls the decay speed of the EWMA used to smooth variance.
winCov sets the lookback window for realized/bipower variance.
shockLen and jumpLen control how many bars are used in the “shock” and “jump” tests.
Usage:
Inefficient spikes (large positive Residual + Histogram) often mark exhaustion or blowoff moves.
Efficient shifts in the opposite direction can confirm reversals.
The tool is designed for intraday trading, especially in futures and indices, to spot when price is moving in line with liquidity versus when it is stretched and vulnerable.
Aslan - OscillatorOSCILLATOR
Various helpful confluences to boost your winrate.
Features:
Hyperwave
Divergences
Smart money flow
Potential reversal conditions
Engulfing Pro v1Engulfing Pro v1 — Pro Inside (C2-in-wick) signals
Engulfing Pro v1 finds a precise three-bar sequence designed to catch clean continuations or turns after an impulsive move. The signal—called Pro Inside—fires when price closes back inside the wick of a prior engulfing bar, often indicating a controlled pullback into freshly swept liquidity.
What it detects
Engulfing pre-condition (Bars -2 → -1):
A strict bullish or bearish body engulfing occurs one bar before the signal (larger body, full body containment).
Pro Inside signal (Bar 0 / C2):
The current bar (C2) closes inside the wick of the engulfing bar (C1):
Bullish: C2 closes inside C1’s upper wick
Bearish: C2 closes inside C1’s lower wick
Optional C3 confirmation (info only):
The next bar closes beyond C2’s extreme (above for bullish, below for bearish).
Why it matters
The “close-inside-wick” structure frequently marks a measured pullback after momentum just flipped (engulfing), offering a clear, rules-based entry with defined invalidation.
Inputs
Show Pro Inside (Bullish) — toggle bullish signals
Show Pro Inside (Bearish) — toggle bearish signals
Change bar color on signal (C2) — color C2 (lime/red)
Plot markers — C2 triangles and ✔ on C3 confirmations
Boundary padding (ticks) — nudge wick bounds to reduce marginal touches
Visuals & Alerts
Markers:
“C2” triangle up/down on qualifying bars
“✔” circle on C3 confirmations
Alert names:
Pro Inside (Bullish)
Pro Inside (Bearish)
Pro Inside — Bullish C3 confirmation
Pro Inside — Bearish C3 confirmation
How to use (ideas, not advice)
Entry: Aggressive at/after C2 close; conservative on C3 confirmation.
Stops: Common placements beyond the opposite side of C2, or beyond C1’s wick.
Confluence: Pair with market structure, higher-timeframe bias, or Supply & Demand zones for selectivity.
Timeframes/markets: Works on any symbol/TF; adapt padding for volatility.
Notes
Evaluates on bar close (no look-ahead).
Visual/alert tool for study and workflow—not financial advice.
Always forward-test and risk-manage appropriately.
Aslan - Signals, Overlays & PA Toolkit [6.4]SIGNALS & OVERLAYS INDICATOR
Next-generation trading signals powered by advanced algorithms, paired with precision overlays for added confidence.
Features:
3 Signal Models: Contrarian, Confirmation & Kernel
6 Asset-Class Specific Signal Filters
Auto Fibonacci Retracements
Dynamic Kernel-Based Support & Resistance
Trend Status Meter (Bar Coloring)
Volatility Bands (Standard Deviation)
PRICE ACTION TOOLKIT
Comprehensive price action analysis designed to highlight key market POIs and institutional levels with clarity.
Features:
Full Multi-Timeframe Functionality
Institutional Volumized Supply & Demand
Market Structure (BOS, MSS, CHoCH, EQL, EQH)
Displacement & Inducement Zones
Fair Value Gaps & Liquidity Mapping
Key Levels & Session Levels
Point of Control & Dealing Ranges
Equilibrium Tracking
Smart Trendlines & Trendline Signals
Trend Following S/R Fibonacci StrategyTrend Following S/R Fibonacci Strategy
Trend Following S/R Fibonacci Strategy
Aslan - Signals, Overlay & PA Toolkit [6.4]⟪ SIGNALS AND OVERLAYS INDICATOR ⟫
Cutting-edge trading signals driven by advanced algorithms, as well as helpful overlays to give extra confidence.
Three signal models (Contrarian, Confirmation and Kernel)
6 Signal filters each built for a separate asset class
Auto Fibonacci retracement
Dynamic kernel S&R
Trend status meter (Bar color)
Volatility bands (Standard Deviation)
⟪ PRICE ACTION TOOLKIT ⟫
Effectively analyzes complex price action so you don’t miss key market POIs.
FULL Multi timeframe functionality
Institutional Volumised S&D
Market structure (BOS, MSS, CHoCH, EQL, EQH)
Displacement
Inducement zones
Fair value gaps
Liquidity
Key levels
Session levels
Point of control
Dealing range
Equillibrium
Trendlines & Trendline signals
Silent Trigger Silent Trigger combines widely used concepts under one scoring engine. Each module adds weight only when its conditions are met:
1. Higher-Timeframe (HTF) context
• Requests 1H and the next HTF up (e.g., 4H/D) with request.security(...) on confirmed bars only.
• Uses RSI(14) and a MACD line (EMA12–EMA26 difference) for bias.
• By default HTF weights the score. There is an option to require HTF alignment if you prefer a hard filter.
2. Market regime
• ADX for trend strength.
• Bollinger Band width and a fractal-energy proxy to detect squeeze/coiling vs expansion.
3. Smart-money / Wyckoff structure
• High-volume narrow bars, absorption, spring/upthrust, and liquidity grabs past recent swing highs/lows.
4. Momentum & divergences
• RSI and MACD-line divergences (regular + hidden) and simple exhaustion checks.
5. Fair Value Gaps (FVG)
• 3-bar gap with mid-gap revisit confirmation.
6. Volume context
• Relative volume and a compact 10-bin rolling volume profile to locate HVN proximity.
7. Sessions / time filter
• Optional London/NY “kill zone” participation filter.
8. Correlation (optional)
• Simple BTC trend check for USD-quoted markets.
Pre-Move (yellow) logic:
Triggers only when the market is compressed (squeeze/low fractal energy), ADX is rising, the MACD histogram is near zero (pressure building), and there is a money-flow impulse (MFI slope and/or OBV Z-score spike).
The yellow diamond is plotted on the side of the expected move:
• Below for bullish reversals / Above for bullish breakouts.
• Above for bearish reversals / Below for bearish breakouts.
A built-in cooldown keeps yellows from spamming.
⸻
What appears on the chart
• Bull diamond (green): Total score ≥ your threshold and > bear score.
• Bear diamond (magenta): Mirror of the above.
• Pre-move (yellow): Early heads-up; use it with HTF context and structure.
All diamonds are intentionally tiny to minimize clutter.
⸻
Key settings
• Signal Mode & Min Probability – tighten/loosen confirmations.
• Use Higher TF in Scoring – soft weighting (default).
• Require HTF Alignment – optional hard gate.
• Module toggles – Smart Money, Wyckoff, FVG, Correlation, Sessions.
• Pre-Move – enable, cooldown bars, MFI levels, OBV Z-score threshold.
⸻
How to use (practical)
1. Choose a TF that matches your style (5–15m intraday, 1H–4H swing).
2. Read HTF bias first; trade in that direction unless structure clearly supports a reversal.
3. Treat yellow as “get ready.” Act only when a green/magenta prints with structure (S/R, FVG, HVN) and acceptable risk.
4. Place stops beyond the liquidity level or FVG midpoint; size positions conservatively.
⸻
Repainting & HTF policy
• No lookahead is used anywhere.
• request.security is called on confirmed bars; the HTF MACD line is computed inside the HTF context (single series), not by indexing a tuple.
• Signals are designed for bar-close confirmation. Intra-bar alerts can change until the bar closes.
⸻
Limitations (honest)
• Money-flow features depend on volume quality; thin/synthetic volume reduces reliability.
• Pre-moves can fail during unscheduled news shocks or when HTF trend is dominant.
• This is not financial advice. You are responsible for entries, exits, and risk.
⸻
Alerts
Built-in bull/bear alerts include direction and a probability bucket (Basic/Moderate/Strong/Extreme).
Pre-move yellows are primarily visual; you can still set an alert on their plot condition if desired.
⸻
Why this isn’t a “mashup”
• A single probability engine blends HTF bias, structure (liquidity/Wyckoff/FVG), regime, and volume into a score, rather than stacking unrelated indicators.
• A pre-move detector that requires compression + rising trend energy + money-flow impulse, and places the marker on the side of the expected move, with cooldown control.
• A lightweight rolling HVN check to bias continuation vs mean-reversion near key nodes.
⸻
Changelog (summary)
• Current release: pre-move module, HTF hard-gate option, tiny diamonds, clarified HTF/no-repaint policy, session filter tidy-up.
DaDaSto Current / Previous D, W, M High/Low
This script plots the current and previous Month/Week/Day High and Low. It allows for custom color and label inputs.
The original script credit to @The-Hunter
H1 Pivot Close Lines (Blue) — gaps_on v4H1 Pivot Close Lines (Blue) — gaps_on v4
Auto draw line for close price in pivot
Theil-Sen Line Filter [BackQuant]Theil-Sen Line Filter
A robust, median-slope baseline that tracks price while resisting outliers. Designed for the chart pane as a clean, adaptive reference line with optional candle coloring and slope-flip alerts.
What this is
A trend filter that estimates the underlying slope of price using a Theil-Sen style median of past slopes, then advances a baseline by a controlled fraction of that slope each bar. The result is a smooth line that reacts to real directional change while staying calm through noise, gaps, and single-bar shocks.
Why Theil-Sen
Classical moving averages are sensitive to outliers and shape changes. Ordinary least squares is sensitive to large residuals. The Theil-Sen idea replaces a single fragile estimate with the median of many simple slopes, which is statistically robust and less influenced by a few extreme bars. That makes the baseline steadier in choppy conditions and cleaner around regime turns.
What it plots
Filtered baseline that advances by a fraction of the robust slope each bar.
Optional candle coloring by baseline slope sign for quick trend read.
Alerts when the baseline slope turns up or down.
How it behaves (high level)
Looks back over a fixed window and forms many “current vs past” bar-to-bar slopes.
Takes the median of those slopes to get a robust estimate for the bar.
Optionally caps the magnitude of that per-bar slope so a single volatile bar cannot yank the line.
Moves the baseline forward by a user-controlled fraction of the estimated slope. Lower fractions are smoother. Higher fractions are more responsive.
Inputs and what they do
Price Source — the series the filter tracks. Typical is close; HL2 or HLC3 can be smoother.
Window Length — how many bars to consider for slopes. Larger windows are steadier and slower. Smaller windows are quicker and noisier.
Response — fraction of the estimated slope applied each bar. 1.00 follows the robust slope closely; values below 1.00 dampen moves.
Slope Cap Mode — optional guardrail on each bar’s slope:
None — no cap.
ATR — cap scales with recent true range.
Percent — cap scales with price level.
Points — fixed absolute cap in price points.
ATR Length / Mult, Cap Percent, Cap Points — tune the chosen cap mode’s size.
UI Settings — show or hide the line, paint candles by slope, choose long and short colors.
How to read it
Up-slope baseline and green candles indicate a rising robust trend. Pullbacks that do not flip the slope often resolve in trend direction.
Down-slope baseline and red candles indicate a falling robust trend. Bounces against the slope are lower-probability until proven otherwise.
Flat or frequent flips suggest a range. Increase window length or decrease response if you want fewer whipsaws in sideways markets.
Use cases
Bias filter — only take longs when slope is up, shorts when slope is down. It is a simple way to gate faster setups.
Stop or trail reference — use the line as a trailing guide. If price closes beyond the line and the slope flips, consider reducing exposure.
Regime detector — widen the window on higher timeframes to define major up vs down regimes for asset rotation or risk toggles.
Noise control — enable a cap mode in very volatile symbols to retain the line’s continuity through event bars.
Tuning guidance
Quick swing trading — shorter window, higher response, optionally add a percent cap to keep it stable on large moves.
Position trading — longer window, moderate response. ATR cap tends to scale well across cycles.
Low-liquidity or gappy charts — prefer longer window and a points or ATR cap. That reduces jumpiness around discontinuities.
Alerts included
Theil-Sen Up Slope — baseline’s one-bar change crosses above zero.
Theil-Sen Down Slope — baseline’s one-bar change crosses below zero.
Strengths
Robust to outliers through median-based slope estimation.
Continuously advances with price rather than re-anchoring, which reduces lag at turns.
User-selectable slope caps to tame shock bars without over-smoothing everything.
Minimal visuals with optional candle painting for fast regime recognition.
Notes
This is a filter, not a trading system. It does not account for execution, spreads, or gaps. Pair it with entry logic, risk management, and higher-timeframe context if you plan to use it for decisions.
Keylevels [KAWS]Overview
The Keylevels Indicator is designed to provide traders with a clear and structured view of important market reference points. It automatically detects and plots session highs and lows, weekly and monthly levels, as well as the previous day’s range. These levels are presented directly on the chart as dynamic lines with optional text labels, offering a consistent framework for understanding price action across multiple time horizons.
Understanding the Concepts
What are Key Levels?
Key levels are significant price points that often serve as reference markers in market activity. They represent areas where the market has previously established boundaries (highs and lows) within sessions, days, weeks, or months. Such levels can highlight where price has repeatedly reacted, providing insight into areas of potential importance.
Why Sessions Matter
Financial markets operate globally, and trading sessions (Asia, London, New York) reflect the activity of different regions. Each session produces distinct highs and lows that can serve as key markers for subsequent price behavior. By capturing these levels automatically, the indicator helps visualize how markets transition from one trading phase to another.
Higher Timeframe Levels
Weekly and monthly highs and lows, as well as the previous day’s range, provide broader structural reference points. These levels are often used to assess whether the market is respecting or breaking significant boundaries over time.
How the Indicator Works
The indicator automatically tracks and plots:
Session Levels: Highs and lows of the Asia, London, and New York sessions.
Session Open Price: A clear reference line marking the opening price of a chosen session.
Daily Levels: Previous day’s high and low, updated at the start of each new day.
Weekly Levels: High and low of the current week, with automatic reset each new week.
Monthly Levels: High and low of the current month, updated dynamically.
Each level is displayed with customizable line styles, colors, and labels. Labels can include text only or also display the exact price, depending on user preference. The indicator further supports the option to extend lines into the future, allowing for ongoing visibility of these reference points.
Customization Options
Display Control: Enable or disable specific sessions, daily, weekly, or monthly levels.
Visual Styling: Adjust line colors, thickness, and style (solid, dashed, dotted).
Labels: Choose whether to display text, include price information, and set text size.
Session Settings: Define your preferred timezone and session open times for accuracy across global markets.
Line Extension: Decide whether levels should extend into the future or stop when broken.
Important Considerations
This indicator is a technical reference tool. It does not generate buy or sell signals but instead provides structural context by highlighting where the market has established significant levels. As with any technical tool, it is most effective when integrated into a broader trading framework that includes market structure, trend analysis, and risk management.
Macro Glass DashboardMacro Glass Dashboard (Free, off-chart)
What it is: A sleek panel that summarizes multi-timeframe trend health—no clutter on your candles.
What you see: 3 TFs (configurable) with fast/slow EMA alignment, distance from the long baseline, and a momentum heat strip.
When to use it: Swing planning, top-down scans, or as a second monitor overlay.
Why it’s free: A read-only dashboard to keep you aligned with higher-timeframe flow before you deploy capital.
Pro tip: Require at least 2 of 3 TFs showing “UP” before you consider long setups on your trading TF.
Prism Ribbon LitePrism Ribbon Lite (Free)
What it is: A glossy, on-chart trend ribbon that makes market state obvious at a glance—perfect for streamers and screenshots.
What you see: Three EMAs with a smooth color-fill, a soft Bollinger channel glow, optional session VWAP, and a compact HUD (trend, RVOL, BB z-width).
When to use it: Any timeframe, any symbol, when you want a beautiful, low-noise read of expansion vs balance.
Why it’s free: It’s a visual compass—no signals, no backtesting—so you can learn market structure without distractions.
Pro tip: Use the ribbon color + VWAP alignment to decide if you should even be looking for longs/shorts before applying your actual system.