Smart Pivot Trend█ OVERVIEW
Smart Pivot Trend is a market structure–based trend indicator that combines swing pivots, volatility adaptation (ATR), and dynamic range levels to determine which side of the market is in control — buyers or sellers. Instead of moving averages, trend direction is defined through structural breaks inside pivot ranges.
The indicator visualizes the active trend, evolving market structure, and historical support/resistance levels created at moments of control shifts. It helps identify trend transitions, structure breaks, and areas where price has an increased probability of reaction.
█ CONCEPT
Built around adaptive swing structure. The core idea is that trend emerges from market structure, not from price relative to an average.
- Swing highs and swing lows form the current structural range.
- Two internal percentage-based levels inside this range act as decision zones.
- Break above the upper level → bullish control.
- Break below the lower level → bearish control.
To prevent structure from becoming outdated during strong moves, pivots are dynamically adjusted when price deviates beyond ATR × multiplier. This mechanism makes the structure volatility-aware rather than static.
As a result, the indicator combines:
- a dynamic, living market structure (active pivot trend)
- static “market memory” levels marking previous control shifts
█ FEATURES
Calculations
- Swing pivots as the foundation of market structure
- Internal range levels as structural decision zones
- ATR-based adaptive pivot correction (volatility-aware structure)
- Smooth Factor — controls the degree of structural correction relative to price; defines how fast pivots adapt during strong moves
- Trend change detection through structural range breaks
Visualization
- Active trend line based on current structure
- Historical support/resistance levels plotted at trend flips
- Triangles marking breaks of those levels
- Gradient fill between price and the active trend line
- Trend-based coloring (green = bullish, red = bearish)
- Optional candle coloring based on current structural trend (bullish / bearish control)
Signals
- BUY / SELL — on structural trend changes
- Bullish Break / Bearish Break — when historical levels are broken
- Impulse breaks (when candles break levels with strong momentum)
Alerts
- Trend change to bullish
- Trend change to bearish
- Resistance break
- Support break
█ HOW TO USE
Main settings:
- Swing Length — sensitivity of swing detection
- Lower / Upper Level — internal structural decision levels
- ATR Length / Multiplier — influence of volatility on pivot adaptation
- Smooth Factor — speed of structural adjustment to price
- Visual options — colors, hiding lines, deleting broken levels, color candles by trend
Trend logic:
- Price above active pivot low → bullish structure
- Price below active pivot high → bearish structure
█ APPLICATION
Trend-following
- The indicator can act as a directional filter for signals from other tools.
- Entries are taken only when signals from external indicators (e.g., RSI, MACD, momentum tools, price action setups, breakout systems) align with the current Smart Pivot Trend direction.
- Highest probability occurs when entries happen during pullbacks to the active trend line in the direction of the prevailing structure.
Market structure shifts
- A trend flip represents a transfer of control between buyers and sellers.
- These moments often precede larger moves because the swing structure changes.
Breakout trading
- Historical levels mark areas where control previously changed.
- Their break often leads to volatility expansion and impulsive movement.
Pullback trading
- The active trend line acts as dynamic support/resistance.
- Pullbacks to this line in strong trends often provide favorable risk-to-reward setups.
█ ADAPTATION TO TRADING STYLE
The Swing Length and Smooth Factor parameters allow the indicator to be tailored to different trading styles:
Shorter Swing Length + higher Smooth Factor
- structure reacts faster
- more frequent trend shifts
- suitable for scalping and intraday trading
Longer Swing Length + lower Smooth Factor
- slower structural changes
- filters minor fluctuations
- better suited for swing trading and longer-term positions
This allows the indicator to function both as a fast micro-structure engine and as a stable higher-level trend filter.
█ NOTES
- This is a structural analysis tool, not a standalone trading system
- Best results come when combined with key S/R levels, higher timeframe context, and price action
- In ranging markets, trend flips may occur more frequently — a natural behavior of structure-based systems
تحليل الاتجاه
Simple moving averageThis indicator is based on simple moving average
if you are struggling where to get in to the market it can help you to fine the entries by increasing moving average number you can remove the wrong buy sell signals.
DEMA Volatility SuperTrend | RakoQuantDEMA Volatility SuperTrend is a clean trend-regime indicator built for volatile markets such as crypto.
It combines a Double Exponential Moving Average (DEMA) baseline with a standard deviation volatility envelope, then applies classic SuperTrend trailing logic to produce persistent bullish and bearish regimes.
This tool is designed for traders who want a smooth but responsive trend structure without relying on ATR alone.
Core Concept
This indicator answers one simple question:
Are we currently in a bullish trend regime or a bearish trend regime?
It does this by building a dynamic volatility corridor around a DEMA baseline and flipping only when price breaks beyond the active band.
How It Works
1. DEMA Baseline (fast + low lag)
A DEMA is used instead of a normal EMA to reduce lag while maintaining smooth trend behavior.
2. Volatility Engine (Standard Deviation)
Volatility bands are created using:
Raw Source Volatility
Classic standard deviation behavior
Residual vs Baseline Volatility
Measures deviations from the DEMA baseline for cleaner regime detection
Band formula:
Upper Band = baseline + multiplier × stdev
Lower Band = baseline − multiplier × stdev
3. SuperTrend Trailing Regime Logic
Instead of flipping every touch, the bands trail using SuperTrend persistence rules:
Bull regime → active lower band acts as support
Bear regime → active upper band acts as resistance
Flips occur only when price breaks beyond the trailing band.
Visual System
Bull regime: Ice-Blue active band
Bear regime: Violet active band
Optional faint inactive bands provide structure
Optional fill highlights the active regime corridor
Optional candle painting matches the regime state instantly
Alerts Included
Bull Flip Alert → regime turns bullish
Bear Flip Alert → regime turns bearish
Perfect for automation or regime-based filtering.
How to Use
✅ Trend filter for swing trading
✅ Regime confirmation layer for systems
✅ Works best on higher timeframes (4H / 1D)
✅ Combine with momentum or breakout triggers for entries
Inputs Summary
DEMA Length → baseline responsiveness
Volatility Length + Multiplier → band width + sensitivity
Volatility Mode → raw vs residual volatility
Flip Source → Close or HL2 for regime switching
Visual toggles → fill, candles, inactive rails
Screenshot Placement
📸 Example chart / screenshot:
Tip: show one bullish flip + one bearish flip with candle painting enabled.
Momentum Adaptive EMA | RakoQuantMomentum Adaptive EMA is a trend-following moving average system designed to dynamically adjust its responsiveness based on market momentum.
Instead of using a fixed smoothing speed like a normal EMA, this indicator becomes fast in strong moves and slow in choppy conditions, producing a cleaner adaptive trend structure.
This version also introduces a secondary POT Moving Average for smooth regime confirmation.
Core Idea
This indicator answers one key question:
Is momentum accelerating enough to justify a faster trend response?
By adapting the EMA’s smoothing factor in real time, the indicator avoids the two classic problems of moving averages:
Lag in strong trends
Whipsaws in sideways markets
How It Works
1. Momentum-Based Adaptivity Engine
The indicator measures momentum using a Rate-of-Change style move:
ROC = current price − price N bars ago
That momentum is normalized by volatility:
Momentum Strength = |ROC| ÷ stdev(ROC)
This produces a clean, scale-independent momentum score.
2. Adaptive EMA (Dynamic Alpha)
Instead of a constant EMA alpha, smoothing is adjusted between:
Alpha Min → slow mode (stable markets)
Alpha Max → fast mode (strong trend markets)
Adaptivity is controlled by:
k (Strength Parameter)
High momentum → EMA reacts faster
Low momentum → EMA smooths more
3. POT Moving Average (Weighted Trend Anchor)
A second moving average is calculated using a Power-Weighted POT MA, where the most recent values receive heavier weight:
Stronger emphasis on recent trend shifts
Smooth confirmation without volatility bands
This creates a clean dual-average regime filter:
Adaptive EMA = fast regime line
POT MA = slower structure anchor
Regime Signals
Trend regime is defined by crossovers:
Bullish regime: Adaptive EMA crosses above POT MA
Bearish regime: Adaptive EMA crosses below POT MA
Optional persistence keeps regimes stable instead of flipping constantly.
Visual System
Bull regime → Ice Blue trend state
Bear regime → Navy trend state
Candle painting optionally matches the active regime
The result is a clean institutional trend overlay with adaptive behavior.
Alerts Included
Bull Break Alert → Adaptive EMA crosses ABOVE POT MA
Bear Break Alert → Adaptive EMA crosses BELOW POT MA
Useful for automation or confirmation systems.
How to Use
✅ Trend filter for directional trading
✅ Adaptive MA replacement for classic EMA systems
✅ Works well on higher timeframes (4H / 1D)
✅ Combine with breakouts, momentum triggers, or volume tools for entries
Inputs Summary
Momentum Length → speed of momentum detection
Normalization Length → volatility scaling window
Alpha Min / Alpha Max → slow vs fast response bounds
Adaptivity Strength (k) → aggressiveness of adaptation
POT Length + Power → smoothing of the confirmation MA
Persistent Regime Toggle → stability vs live switching
Candle Paint Toggle → visual regime clarity
Screenshot Placement
📸 Example chart / screenshot: (insert image here)
Tip: show a strong bull trend + one bearish flip so users understand the adaptive behavior.
Venu Dynamic Supply and Demand Zones [AlgoAlpha]Dynamic Supply and Demand Zones by AlgoAlpha
Modified to show percentages to right side of Supply and Demand zones
Batoot Algo PureBatoot Algo (Pure Analysis Mode)
Indicator Overview
Batoot Algo is an advanced technical analysis indicator based on:
Price Action and geometric chart patterns
Higher Timeframe (HTF) trend filtering
Volume confirmation
Breakout & Retest logic
Head & Shoulders pattern detection
Analysis-only indicator. No Buy/Sell labels on the chart. Alerts and Dashboard only.
The goal is clean charts and smarter trading decisions.
---
Entry Modes
Aggressive (Breakout)
Immediate entry on breakout
Requires:
Confirmed breakout
High volume
Optional trend alignment
Conservative (Retest)
Breakout → Wait for retest → Confirmation candle
Reduces false signals
Suitable for patient trading
---
HTF Trend Filter
Uses EMA crossover on higher timeframe:
EMA 50
EMA 200
EMA50 > EMA200 → Bullish EMA50 < EMA200 → Bearish
Filter can be enabled or disabled in settings.
---
Price Patterns Detected
Automatically detects and draws:
Bullish / Bearish Flags
Channels
Triangles / Pennants
Rising Wedge (Bearish)
Falling Wedge (Bullish)
The area between support and resistance lines is dynamically filled based on the pattern.
---
Yellow Candle (High Volume)
Yellow candles indicate High Volume.
Triggered when:
Current candle volume >= Average volume of last 20 candles × volume multiplier
Default multiplier: 1.5
Confirms strong breakouts. Not a standalone entry signal.
---
Head & Shoulders Detection
Supports:
Head & Shoulders (Bearish)
Inverse Head & Shoulders (Bullish)
Neckline drawn automatically. Breakout validated with volume. Pattern status shown in Dashboard.
---
Dashboard
Displays:
Entry Mode (Aggressive / Conservative)
HTF Trend
Current Pattern
Head & Shoulders Status
Market Status: ENTRY BUY, ENTRY SELL, WAIT RETEST, SCANNING
---
Alerts
Alerts trigger only when:
Pattern confirmed
Breakout / Retest logic satisfied
High volume confirmed
Trend filter (if enabled) passes
No trade labels plotted on chart.
---
License & Attribution
Licensed under Creative Commons Attribution 4.0 (CC BY 4.0)
Free to use and modify. Attribution required. Removing or changing the author name is not allowed.
---
This indicator is for technical analysis purposes only and is not financial advice. Always use proper risk management.
---
Clean chart, smart analysis, better trading decisions.
AMT Orderflow Profile + Imbalance Highlight + DashboardAMT Orderflow Profile + Imbalance Highlight + Dashboard
This indicator is a price-bin-based orderflow profile designed to expose where aggressive participation is concentrated and sustained, not just where volume traded.
Unlike traditional volume profiles that show where activity occurred, this script focuses on how volume behaved inside price, separating buying and selling pressure and highlighting only statistically dominant imbalance.
🔹 Why This Script Is Original
Most volume profiles and orderflow tools suffer from one or more of the following:
Single-bin imbalance noise
Repeating alerts from already-accepted imbalance
Visual imbalance that does not align with alerts
No distinction between fresh initiative vs historical volume
This script solves those issues by combining price-bin profiling, directional volume classification, and strict imbalance persistence rules into one unified model.
The result is a contextual orderflow tool, not a signal spammer.
🔹 How It Works (Concepts)
Price-Based Binning
The script divides the price range of the lookback window into fixed bins.
Directional Volume Separation
Buy volume: candles closing above open
Sell volume: candles closing below open
Bin-Level Imbalance Calculation
A bin is imbalanced only when one side controls a configurable percentage of total volume:
Side Volume ÷ (Buy + Sell Volume) ≥ Threshold
Persistence Requirement (Noise Filter)
Imbalance is only considered valid when it appears across 3 or more consecutive bins, filtering out isolated prints.
Fresh Print Enforcement
Alerts trigger only when imbalance first appears, never while it persists or after it has already been accepted by price.
🔹 Visual Output
Each bin is drawn as a horizontal box
Imbalanced bins display:
Bold borders
Highlighted background
Text label: BUY IMB or SELL IMB
Box width represents relative volume intensity
Alerts are mathematically locked to these visual labels, ensuring perfect alignment between what you see and what you’re alerted on.
🔹 How Traders Use It
This tool is best used for:
Identifying initiative buying or selling
Spotting absorption vs acceptance
Confirming auction direction within a larger framework
Providing orderflow context alongside VWAP, IB, CVD, or market structure
It is not intended as a standalone entry signal, but as a confirmation and context engine.
🔹 Alerts (Non-Repainting)
BUY alert → fresh 3+ bin buy-side imbalance
SELL alert → fresh 3+ bin sell-side imbalance
Alerts do not repeat unless imbalance fully disappears and reappears
⚠️ Notes
Candle-based volume (not tick footprint)
Non-repainting
Designed for futures and liquid markets
Best used with clean charts for clarity
Buyers & sellers Candle Control Dominance Zone @MaxMaserati 3.0Description
The Buyers & Sellers Candle Control Dominance Zone is a surgical price-action tool designed to identify and project key supply and demand zones derived from candle anatomy across multiple timeframes.
By splitting candles into "Sellers Control" (upper wick/shadow) and "Buyers Control" (lower wick/shadow) regions, this script visualizes exactly where price rejection and absorption are occurring. With the new HTF Engine, you can now view these institutional rejection zones from a Higher Timeframe (e.g., 4H) while trading on a Lower Timeframe (e.g., 15m).
How it Works
The indicator identifies specific "Control Zones" based on the battle between buyers and sellers:
Live Control (Current & HTF): Real-time monitoring of the developing candle. See a 4H wick forming live while watching the 1m chart.
Last Closed Control (Current & HTF): Projects the zones from the most recently completed candle.
Dominance Zones (BuBC & BeBC):
BuBC (Bullish Body Close): A "Dominance Zone" triggered when a candle closes above the previous candle's high. Signifies strong bullish momentum.
BeBC (Bearish Body Close): A "Dominance Zone" triggered when a candle closes below the previous candle's low. Signifies aggressive selling pressure.
Key Features
Multi-Timeframe (MTF) Overlay: Plot 4H, Daily, or Weekly control zones directly on your lower timeframe scalping charts.
Smart Labeling: HTF labels automatically update to show the zone type (e.g., "Sellers Control (Live) ") and whether the last candle was a Dominance candle (BuBC/BeBC).
Dynamic Extension: Zones are projected forward to help you catch retests of rejection levels.
Alerts Included: Built-in alerts trigger when price crosses into a Dominance Zone (BuBC/BeBC), allowing you to set it and forget it.
Can be use as:
Support & Resistance: Use Buyers Control zones (lower wicks) as demand zones for longs and Sellers Control zones (upper wicks) as supply zones for shorts.
Trend Confirmation: A BuBC zone often acts as a launchpad for continued upside. If price falls back into a BuBC zone and rejects, it is a high-probability continuation signal.
Fractal Entry: Use the HTF zones to find the "Big Picture" levels, then use the Current TF zones to refine your entry with precision.
Settings
Display Filter: Toggle Current TF zones (Live, Closed, BuBC, BeBC) independently.
Higher Timeframe Settings: Enable/Disable HTF overlay and select your preferred timeframe (e.g., 240 for 4H).
Visuals: Fully adjustable transparency, colors, and extension lengths to keep your chart clean.
Trapped Traders EBPThe Trapped Traders Indicator is used to predict overall Market bias, with green being longs, and red being shorts.
The autofibs are 0%,25%,50%,and 100%. After an autofib and directional bias is generated, you'll want to look for an entry on a lower time frame somewhere between the 25% and 50% ideally.
A simple trading plan:
Use the indicator on the 4 Hour chart. Wait until you get an autofib. Zoom down to the 5 minute chart and wait for price to reach the 25% retracement. Look for an entry using an entry model of your choice. For example: an engulfing 5 minute bar in the direction of your bias, an order block, fair value gap, or choch in your favor.
This method of trading was introduced to me by Omar Agag. Cheers to prosperity, brother!
Good luck! And happy trading!
EMA Based TMA Bands [NeuraAlgo]EMA Based TMA Bands
Overview
EMA Based TMA Bands is a volatility-adaptive trend and reversal indicator that combines a Triangular Moving Average (TMA) with EMA-weighted smoothing and dynamic deviation bands. It is designed to identify trend direction, overextended price conditions, and potential reversal points with high visual clarity.
The indicator plots a central TMA line along with three upper and three lower volatility bands, automatically adapting to market conditions.
Core Concepts
1. Triangular Moving Average (TMA)
The TMA is calculated using triangular weighting, giving more importance to central bars.
This creates a smoother and more stable average compared to SMA or EMA.
The TMA acts as the main equilibrium price level.
2. EMA-Weighted Enhancement
An additional EMA-style weighting is applied using a custom coefficient.
This allows fine-tuning between smoothness and responsiveness.
Lower coefficient = smoother behavior
Higher coefficient = faster reaction to price changes
Volatility Bands
The bands are calculated using a weighted variance model:
Positive and negative deviations are tracked separately.
This allows asymmetric volatility response in bullish and bearish conditions.
Band Structure
Inner Band – Primary deviation
Middle Band – 1.15× deviation
● Outer Band – 1.30× deviation
These bands help identify:
● Overbought and oversold zones
● Volatility expansion and contraction
● Mean reversion opportunities
Trend Detection
Trend direction is determined by the slope of the TMA, normalized by ATR.
● Bullish Trend: TMA slope rising beyond threshold
● Bearish Trend: TMA slope falling beyond threshold
● Flat Market: No significant slope
The TMA line automatically changes color based on trend state.
Trading Signals
Buy Signal
A buy signal is triggered when:
● Price previously closes below the lower band
● A bullish candle forms on the current bar
● Suggests rejection of lower volatility zone
Sell Signal
A sell signal is triggered when:
● Price previously closes above the upper band
● A bearish candle forms on the current bar
● Suggests rejection of upper volatility zone
Signals are displayed as small triangle markers on the chart.
Inputs
Main Settings
● TMA Period: Length of the triangular moving average
● EMA Period: Length of EMA-weighted smoothing
● EMA Coefficient: Controls EMA influence
● Band Deviation: Controls band width
● Price Source: Input price (default: HLC3)
● Trend Threshold: Sensitivity of trend detection
Art Settings
● Bullish Color: Color used for bullish bands and signals
● Bearish Color: Color used for bearish bands and signals
Best Use Cases
● Trend continuation trading
● Mean reversion strategies
● Volatility expansion setups
● Support and resistance visualization
Notes
● Best used on intraday to swing timeframes
● Works well with price action confirmation
● Not a repainting indicator, but smoothing introduces natural lag
Developed by NeuraAlgo
SwiftEdge ApexThis open-source indicator is designed to help traders visually identify aggressive volume activity ("big trades"), place it in the context of dynamic price deviation from an exponentially weighted VWAP, track a developing Point of Control (POC) during a user-defined session, and highlight potential absorption or exhaustion patterns.
Core Components and Original Integration:
Adaptive VWAP with EWMA Deviation Bands
Instead of a standard cumulative VWAP, the script calculates an exponentially weighted moving average (EWMA) of variance on price-volume data (using a user-adjustable lambda sensitivity). This produces smoother, faster-adapting standard deviation bands (1σ to 3σ) that highlight statistically significant price extensions more responsively than simple moving averages.
Tiered Big Trade Detection (Footprint-Style Bubbles)
Volume is compared against a simple moving average over a user-defined lookback period. Trades exceeding customizable multipliers (1.2× to 8×) and a minimum volume threshold are flagged.
For Premium users, the bubble is plotted at the volume-weighted average price within the bar's 1-second sub-bars (true footprint precision). Non-Premium users fall back to the bar's close price (no errors occur). Bubble size scales with multiplier strength, with white outlines on the largest ones for clarity, and bubbles are colored green/red based on candle direction.
Live Session-Based POC
Volume is accumulated at price levels (rounded to 10 ticks) starting from a configurable session time (default 09:00). The array resets on new sessions or daily changes, producing a developing POC line that acts as a potential value-area magnet or support/resistance reference.
Absorption & Exhaustion Filters
Absorption: High-volume bars with unusually small range (below average range × user multiplier) are marked with lime/red triangles — suggesting hidden buying/selling pressure.
Exhaustion: Extremely high-volume bars with tiny bodies (small close-open relative to range) receive a background tint and "EXH" label — indicating potential climactic activity or fatigue.
How the Elements Work Together:
The VWAP bands provide overall market context (is price extended?). Big-trade bubbles show where aggressive participants are active. The session POC adds a developing fair-value reference. Absorption and exhaustion signals help interpret whether big volume is being met with resistance (absorption → possible continuation) or capitulation (exhaustion → possible reversal). Together they create a layered "smart money footprint" overlay rather than isolated plots.
How to Use the Indicator:
Apply to liquid instruments with reliable volume data (futures, major stocks, large-cap crypto).
In the "Big Trade Bobler" settings:
Adjust lookback period and minimum volume to reduce noise.
Tune multipliers (lower = more signals, higher = stronger but rarer events).
Turn "Use Premium Bubbles" off if you do not have TradingView Premium (script gracefully uses bar close instead of 1-second data).
Set session start hour/minute for POC calculation (e.g., NYSE open at 9:30).
Enable/disable absorption triangles and exhaustion highlights/labels based on preference.
Interpretation tips:
Watch for clusters of large bubbles near VWAP ±2σ/3σ or close to the POC line.
Absorption on trend bars may indicate continuation.
Exhaustion often appears at swing highs/lows and can precede reversals.
Important Limitations:
1-second footprint precision requires TradingView Premium; non-Premium accounts use standard bar close (still functional but less granular).
Volume data quality depends on the symbol and data feed (tick volume is used as proxy on forex/crypto).
This is a discretionary visualization tool — not a mechanical strategy, no entry/exit signals, and no performance backtest is included.
Volume spikes and patterns do not predict future price movement with certainty; always use in combination with your own analysis and proper risk management.
Peaks and Troughs📄 Script Description – EN (English)
Peaks and Troughs (P&T) is a price action indicator that identifies confirmed swing highs (peaks) and swing lows (troughs) based on structural trend changes.
Key features:
Trend-break based peak and trough confirmation
Optional engulfing signal at confirmed swing points
Body-break based Mother Bar (Outside Bar) range marking
Clean chart output with only the latest active levels
Unified alert system using Any alert() function call
Designed for discretionary trading, market structure analysis and automation-ready alerting.
----------------------------------------------------
📄 Script Description – HU (Magyar)
A Peaks and Troughs (P&T) egy price action alapú indikátor, amely megerősített csúcs- (peak) és völgypontokat (trough) azonosít trendváltás alapján.
Főbb jellemzők:
Trendtörés alapú peak és trough meghatározás
Opcionális engulfing jelzés megerősített swing pontokon
Body-break alapú Mother Bar (Outside Bar) tartomány jelölés
Letisztult chart, mindig csak az aktuális szintekkel
Egységes riasztási rendszer (Any alert() function call)
Diszkrecionális kereskedéshez, market structure elemzéshez és automatizált riasztásokhoz optimalizálva.
Worldclassedge [Patrick nill]plotshape(long, title="BUY", text="Long▲", style=shape.labelup, textcolor=color.white, size=size.auto, location=location.belowbar, color=color.green)
plotshape(short, title="SELL", text="Short▼", style=shape.labeldown, textcolor=color.white, size=size.auto, location=location.abovebar, color=color.red)
alertcondition(long, title="BUY", message="Long▲")
alertcondition(short, title="SELL", message="Short▼")
// VWAP
anchor = input.string("Session", title="Anchor Period")
MILLIS_IN_DAY = 86400000
dwmBarTime = timeframe.isdwm ? time : request.security(syminfo.tickerid, "D", time)
dwmBarTime := na(dwmBarTime) ? nz(dwmBarTime ) : dwmBarTime
var periodStart = time - time
makeMondayZero(dayOfWeek) => (dayOfWeek + 5) % 7
isMidnight(t) => hour(t) == 0 and minute(t) == 0
isSameDay(t1, t2) => dayofmonth(t1) == dayofmonth(t2) and month(t1) == month(t2) and year(t1) == year(t2)
isOvernight() => not (isMidnight(dwmBarTime) or request.security(syminfo.tickerid, "D", isSameDay(time, time_close), lookahead=barmerge.lookahead_on))
tradingDayStart(t) => timestamp(year(t), month(t), dayofmonth(t), 0, 0)
numDaysBetween(t1, t2) =>
diff = math.abs(tradingDayStart(t1) - tradingDayStart(t2))
diff / MILLIS_IN_DAY
tradingDay = isOvernight() ? tradingDayStart(dwmBarTime + MILLIS_IN_DAY) : tradingDayStart(dwmBarTime)
isNewPeriod() =>
var isNew = false
if tradingDay != nz(tradingDay )
isNew := switch anchor
"Session" => na(tradingDay ) or tradingDay > tradingDay
"Week" => makeMondayZero(dayofweek(periodStart)) + numDaysBetween(periodStart, tradingDay) >= 7
"Month" => month(periodStart) != month(tradingDay) or year(periodStart) != year(tradingDay)
"Year" => year(periodStart) != year(tradingDay)
=> false
isNew
srcVWAP = hlc3
var float sumSrc = 0
var float sumVol = 0
if isNewPeriod()
periodStart := tradingDay
sumSrc := 0
sumVol := 0
if not na(srcVWAP) and not na(volume)
sumSrc += srcVWAP * volume
sumVol += volume
vwapValue = sumSrc / sumVol
plot(vwapValue, title="VWAP", color=color.red, linewidth=3)
// =
enableCloud = input.bool(false, "Enable Cloud")
lenn = input.int(20, "Period")
mult = input.float(2.5, "StdDev Multiplier")
tc = input.int(25, "Gauge Size", minval=3)
upColor = input.color(#00ffbb, "Up Color")
downColor = input.color(#ff1100, "Down Color")
basis = ta.sma(close, lenn)
upper1 = basis + ta.stdev(close, lenn) * mult
lower1 = basis - ta.stdev(close, lenn) * mult
// TP
var int position = 0
if long
position := 1
else if short
position := -1
THMA ~ CharonQuantTHMA is a high-precision trend following indicator designed to detect market transitions early while filtering out low-quality, low-momentum conditions.
Built on the Hull Moving Average framework, THMA extends the concept into a triple-nested structure that significantly reduces lag without sacrificing smoothness. The result is a fast, stable trend line that adapts well to volatile markets such as crypto, forex, and intraday equities.
Signals are not generated in isolation. Every long or short condition is validated through three independent filters :
Trend alignment via a higher-timeframe EMA
Directional control using DI (+DI / −DI)
Trend strength confirmation through ADX
Only when all filters align does a final signal trigger, helping suppress noise and whipsaw during ranging markets.
Visual Design
Persistent THMA state coloring
Long, muted gold (#D4A017)
Short, deep burgundy (#6B2A3A)
Lighter confirmation states when conditions are partially met
Trend EMA and dynamic price reference
ADX with threshold displayed in a separate pane
Alerts
Two native alert conditions are included:
THMA Long
Fires when finalLong becomes true
Condition, price > THMA, price > Trend EMA, ADX > threshold, +DI > −DI
THMA Short
Fires when finalShort becomes true
Condition, price < THMA, price < Trend EMA, ADX > threshold, −DI > +DI
Alert messages include exchange and ticker placeholders for automation and webhook use.
Important
No indicator replaces discipline or context.
THMA exists to reduce uncertainty, not eliminate risk.
Use it to escort price through volatility, not to chase it.
Alg0 Hal0 RSI 4555
The Alg0 ۞ Hal0 RSI 4555 is a trend-following momentum indicator designed to capture high-probability entries during market pullbacks. It combines a customizable Trend Filter (Moving Average) with a specialized "Armed & Triggered" RSI logic to avoid choppy markets and fakeouts.
1. How the Logic Works
This indicator uses a two-step process to generate signals, ensuring you only enter when momentum is confirmed.
The Trend Filter: The background color tells you the primary trend. If the price is above the Moving Average, the background is Green (Bullish). If below, it is Red (Bearish).
The "Arming" Phase: To prevent chasing "overbought" prices, the script must first see a pullback.
Longs: RSI must drop below 40 while the trend is Bullish.
Shorts: RSI must rise above 60 while the trend is Bearish.
The Trigger: Once "Armed," the script waits for a momentum shift.
LONG Signal: RSI crosses above 55.
SHORT Signal: RSI crosses below 45.
2. Key Visual Features
Dynamic Background: Instantly identifies the macro trend based on your chosen MA (SMA, EMA, HMA, WMA, or ALMA).
Momentum Labels: "LONG" and "SHORT" labels appear directly on the chart when all conditions are met.
Divergence Detection: Automatically plots Bullish and Bearish divergences to warn you of potential trend exhaustion.
Customizable Levels: The four key RSI levels (60, 55, 45, 40) are fully adjustable to fit different assets or timeframes.
3. Settings Guide
RSI Settings: Adjust the RSI length (default is 14) and toggle Divergence labels on/off.
Background Logic: Choose your preferred Moving Average style. ALMA is recommended for the smoothest trend filtering, while SMA/EMA are better for classic trend following.
Custom Levels: Fine-tune the 45/55 trigger points. For more aggressive entries, move these closer to the 50-midline. For more conservative entries, spread them further apart.
4. Best Practices
The "Neutral Zone": The area between 45 and 55 is the "No Man's Land." Wait for a clean candle close and a label before entering a trade.
Risk Management: Use the Recent Swing High/Low or the Trend MA as a logical stop-loss level.
Trade by Design - v0.0.1Trade by Design - v0.0.1
📊 Overview
This indicator displays key price levels based on New York trading session times (17:00 NYT). It helps traders identify important support and resistance levels from the previous day, previous week, and the current trading day.
💡 Inspiration
This indicator was inspired by concepts presented in this video: www.youtube.com
Thanks to Annii, her youtube channel is www.youtube.com
Also you can check this video about Mastering the UK session www.youtube.com
I created this indicator for my personal trading needs and decided to share it with the community. Please note that this indicator is in its early development stage (v0.0.1) and may be updated or improved over time based on feedback and my trading experience.
📈 What It Displays
1. Previous Week Levels (HoW / LoW) - Orange
HoW (High of Week): The highest price reached during the previous week
LoW (Low of Week): The lowest price reached during the previous week
Week starts at Sunday 17:00 New York Time
2. Previous Day Levels (HoD / LoD) - Aqua/Cyan
HoD (High of Day): The highest price reached during the previous trading day
LoD (Low of Day): The lowest price reached during the previous trading day
Trading day starts at 17:00 New York Time (aligned with futures market open)
3. Initial Day Levels (iH / iL) - Green
iH (Initial High): The current day's running high
iL (Initial Low): The current day's running low
Displays the percentage range between iH and iL in parentheses
Optional: Include or exclude the gap period (17:00-20:00 NYT)
⚙️ Settings
Colors
Prev Week (LoW/HoW): Color for weekly levels (default: orange)
Prev Day (LoD/HoD): Color for daily levels (default: aqua)
Initial Day (iL/iH): Color for current day levels (default: green)
Style
Line width: Thickness of the lines (1-5)
Line transparency: Transparency for current lines (0-90%)
Historical line transparency: Additional transparency for historical lines (0-90%)
Line style: Solid, Dashed, or Dotted
Label offset: Distance of labels from current price (in bars)
Label size: Tiny, Small, Normal, or Large
History
Number of weeks to display: How many weeks of historical data to show (1-10)
Show historical HoD/LoD: Toggle to show/hide previous days' HoD/LoD levels
Show historical iH/iL: Toggle to show/hide previous days' iH/iL levels
Initial Day (iH/iL)
Include gap (17:00-20:00 NYT):
✅ Checked: iH/iL calculation starts at 17:00 NYT
❌ Unchecked: iH/iL calculation starts at 20:00 NYT (excludes pre-market gap)
🕐 Time Reference
All times are based on New York Time (America/New_York timezone):
17:00 NYT: Start of the trading day (aligned with futures/forex session)
20:00 NYT: Alternative start time for iH/iL when gap is excluded
📝 Label Naming Convention
Current Levels:
HoW, LoW (Previous Week)
HoD, LoD (Previous Day)
iH, iL (Current Day) - includes percentage range
Historical Levels (when enabled):
HoW2, LoW2, HoW3, LoW3... (Older weeks)
HoD2, LoD2, HoD3, LoD3... (Older days)
iH1, iL1, iH2, iL2... (Previous days' initial ranges)
🎯 How to Use
Support & Resistance: Use HoW/LoW and HoD/LoD as potential support and resistance levels
Range Trading: Monitor the iH/iL percentage to gauge daily volatility
Breakout Trading: Watch for price breaking above HoD/HoW or below LoD/LoW
Multi-Timeframe Analysis: Enable multiple weeks to see longer-term levels
⚠️ Disclaimer
This indicator is in early development (v0.0.1) and was created for personal trading use
Past price levels do not guarantee future support/resistance
Always use proper risk management and combine with other analysis methods
This is not financial advice - trade at your own risk
🔄 Version History
v0.0.1 (Current)
Initial release
Previous week high/low (HoW/LoW)
Previous day high/low (HoD/LoD)
Initial day high/low (iH/iL) with percentage range
Multiple weeks history support
Customizable colors, transparency, and label sizes
Gap inclusion/exclusion option for iH/iL
💬 Feedback
This indicator is a work in progress. If you have suggestions for improvements or find any issues, please leave a comment below. Your feedback helps make this tool better for everyone!
Happy Trading! 📈
ICT Pro [KTY]Hi, I'm Kim Thank You 👋
KTY = Kim Thank You (김땡큐)
【ICT Pro】📊
Essential ICT tools for Smart Money trading.
5 core features to identify institutional order flow and high-probability trade setups.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 NEW TO THIS INDICATOR?
Open Settings and hover over the (i) icon on each feature for detailed tooltips.
Check the 📚 User Guide section at the bottom of Settings for quick reference.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Order Block (OB)
Price zones where Smart Money executed large buy/sell orders, acting as strong support/resistance levels.
- Bullish OB: Last bearish candle before an up move → Support
- Bearish OB: Last bullish candle before a down move → Resistance
📈 Box Display Info
- Vol: Volume at OB formation
- (%): Upper/Lower volume balance ratio
- Closer to 100% = Balanced buy/sell
- Lower = Strong one-sided order flow → Stronger S/R zone
📍 OB Body Lines
- Dotted lines showing candle body position within OB
- Use for precise entry points
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Liquidity Zone
Areas where stop-loss orders are clustered around swing highs/lows, becoming targets for Smart Money.
- Buyside Liquidity: Stop-losses above highs where shorts get liquidated
- Sellside Liquidity: Stop-losses below lows where longs get liquidated
- Liquidity Sweep: Price hunts stops then reverses sharply
📈 Box Display Info
- (%): Relative size compared to recent volume
- Higher = More stop orders clustered
- More likely to be a major target for Smart Money
💡 Quick reversal after liquidity break = Reversal signal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Fair Value Gap (FVG)
A gap created when price moves rapidly between 3 candles, where price tends to return to fill this zone.
- Bullish FVG: Forms during sharp rallies → Acts as support on pullbacks
- Bearish FVG: Forms during sharp drops → Acts as resistance on bounces
- CE (Consequent Encroachment): 50% level of FVG, key reaction level
📈 Box Display Info
- (%): Relative size compared to recent volume
- Higher = FVG formed by stronger move
- Acts as stronger S/R zone
💡 FVG overlapping with OB = Higher reliability
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Market Structure
Analyzes price swing highs/lows to identify current trend and reversal points.
- CHoCH (Change of Character): Trend reversal signal - first sign of direction change
- BOS (Break of Structure): Trend continuation signal - structure break in existing direction
⚙️ Structure Options
- INTERNAL: Short-term structure (fast reaction, more signals)
- EXTERNAL: Long-term structure (slower reaction, higher reliability)
- ALL: Display both internal + external structure
💡 CHoCH = Look for reversal | BOS = Trend continues
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Trend Candles
Candle colors change based on market structure (BOS/CHoCH) direction.
- Bullish Color: After bullish structure break
- Bearish Color: After bearish structure break
💡 Color change = Potential trend shift
💡 Quickly identify overall market direction at a glance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HIGHER RELIABILITY SETUPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Higher timeframe = More reliable signals
- Multiple features pointing to same price zone
(e.g. OB + FVG overlap = Strong confluence)
- Trend Candles + Market Structure direction aligned
- Quick reversal after Liquidity sweep
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TRADING TIPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Identify Liquidity targets first
2. Wait for price to reach OB or FVG zone
3. Confirm with Market Structure (CHoCH/BOS)
4. Enter at OB body lines or FVG CE level
5. Stop loss below/above the zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is for educational purposes only.
Not financial advice. Always do your own research.
Past performance does not guarantee future results.
Key Levels - Prop Trader JourneyKey Levels – Prop Trader Journey (Intraday Levels + Clean Right-Side Layout)
This indicator plots session-based reference levels commonly used for intraday futures/stocks, with a focus on clean chart layout and label collision handling.
What it plots (toggle each on/off)
Today’s RTH High/Low (TDH/TDL)
Opening Range High/Low (ORH/ORL) based on the first N minutes after RTH open
Pre-Market High/Low (PMH/PML) based on the premarket session window
First Hour High/Low (1HH/1HL) based on the first N minutes after RTH open
Yesterday’s RTH High/Low (YDH/YDL) captured at the next RTH open
RTH Open price
RTH Average line (AVG) using a selectable source (HL2 / HLC3 / OHLC4 / HLCC4)
This Week / Last Week levels (O/H/L/C + Avg) from the weekly timeframe
Optional Session Open level at a configurable time (default 18:00 NY)
2 Custom price levels (optional extend-left)
How levels are calculated (high level)
The script detects whether the current bar is inside RTH / Pre-Market / Opening Range / First Hour using your chosen time zone and session templates.
High/Low levels update in real time while inside each session window. Premarket levels are cached so they remain visible after premarket ends.
Weekly levels are pulled from the weekly timeframe to provide higher-timeframe context.
Display modes
Compact mode: levels are drawn in a compact “right-side” layout using a configurable right offset and line length.
Pivot mode: levels originate from the bar where the level was established/updated and extend toward the right.
Label collision handling (the “unique” part)
When multiple levels are close together, labels can overlap. This script supports:
Merge: combine nearby levels into one label within a tick threshold
Stack: show separate labels stacked vertically
Merge + Stack (4+): merge normally, but stack when there are many levels
This helps visualize confluence/stacked zones without clutter.
Customization
Every level has its own color / line style / width controls. Labels have adjustable text/bg/size, and custom levels can extend left by a user-defined number of bars.
How to use with you trade
Use these levels as reaction areas (support/resistance, rejection, breakout/retest). When labels “stack” or multiple names appear merged at similar prices, that signals confluence—often a more important zone than a single level.
Rishii's EMA Trend EngineThis indicator is a dual-EMA trend framework designed to improve intraday decision-making by filtering out sideways market noise and highlighting only meaningful trend participation.
It uses a fast and slow EMA to define trend direction, while applying an HLC3-based color logic to show whether price is respecting each EMA. Candles turn green or red only when both the trend alignment and price participation conditions are satisfied. Neutral candles can be shown in white to visually remove noise and make valid candles stand out.
Additional filters such as EMA slope detection and optional higher-timeframe bias help avoid false signals during ranging conditions. A background trend zone and first-candle markers after EMA crossover further improve clarity without cluttering the chart.
How it helps
Clearly shows when the market is trending vs sideways
Highlights only those candles where price is truly participating in the trend
Filters out most whipsaws caused by flat EMAs BITSTAMP:BTCUSD
Combines trend bias, momentum, and participation in one clean view
Caution
This is a trend-following tool, not a reversal indicator.
When EMAs are flat and candles turn white, avoid trading
Do not treat every green/red candle as an entry; wait for proper structure.
Always use proper stop-loss and position sizing.
VWAP Confluence Pro█ OVERVIEW
VWAP Confluence Pro is a high-precision trading indicator that combines VWAP with multiple confirmation filters to generate reliable buy and sell signals. Unlike basic VWAP crossover strategies that produce excessive noise, this indicator requires alignment across six independent conditions before triggering a signal, dramatically reducing false entries while capturing high-probability setups.
█ FEATURES
Multi-Layer Confirmation System
The indicator employs a strict confluence approach requiring all of the following conditions to align:
- VWAP Cross: Price must cross above (buy) or below (sell) the VWAP line
- VWAP Trend: The VWAP itself must be rising for buys or falling for sells, confirming directional bias
- Price Trend: A 20-period moving average filter ensures trades align with the prevailing trend
- Volume Confirmation: Signals only trigger when volume exceeds 1.5x the 20-bar average, indicating institutional participation
- RSI Filter: Buys require RSI between 50-60 (bullish momentum without overbought conditions), sells require 40-50 (bearish momentum without oversold conditions)
- MACD Momentum: MACD must confirm directional bias with the MACD line above the signal line for buys, below for sells
Signal Cooldown Period
A configurable cooldown mechanism (default 10 bars) prevents signal clustering and overtrading by ensuring adequate spacing between alerts. This feature is critical for maintaining discipline and avoiding choppy market conditions.
Visual Elements
- Purple VWAP Line: The cornerstone of the strategy, plotted with high visibility
- Green Up Arrows: Buy signals appear below price candles when all conditions align
- Red Down Arrows: Sell signals appear above price candles when all conditions align
- Blue Trend MA: A semi-transparent moving average provides visual trend context
- Background Shading: Subtle green/red backgrounds indicate when multiple confluence factors are aligned, even without a cross
█ HOW TO USE
Timeframe Selection
This indicator is optimized for intraday trading on 1-minute to 15-minute charts, where VWAP is most effective. It can also be used on hourly charts for swing trade entries or daily charts with appropriate parameter adjustments.
Parameter Optimization
All key parameters are customizable through the indicator settings:
- VWAP Deviation %: Controls sensitivity (default 0.8%). Lower values = stricter signals
- Volume Multiplier: Defines volume threshold (default 1.5x). Higher values = stronger volume confirmation required
- Trend Filter Length: Moving average period (default 20). Adjust based on your timeframe
- Cooldown Period: Minimum bars between signals (default 10). Increase for slower markets
- RSI/MACD Settings: Standard values provided, adjust for specific instruments if needed
Trading Strategy
1 — Wait for a signal arrow to appear (green for buy, red for sell)
2 — Confirm the background shading supports the signal direction
3 — Enter on the close of the signal candle or the open of the next candle
4 — Set stop loss below/above the recent swing low/high or the VWAP line
5 — Take profit at logical resistance/support levels or when opposing confluence develops
Best Practices
- Only take long trades when price is above a rising VWAP
- Only take short trades when price is below a falling VWAP
- Avoid trading during low volume periods (first/last 15 minutes of sessions)
- Use the background shading to gauge overall market bias between signals
- Consider increasing the cooldown period in choppy or range-bound conditions
█ LIMITATIONS
- This indicator is designed for trending markets and will produce fewer signals during consolidation periods
- The strict confluence requirements mean you may miss some valid moves in exchange for higher signal quality
- VWAP resets at the start of each session, making it less reliable on 24-hour markets without session breaks (use anchored VWAP for crypto/forex)
- Requires real-time volume data to function properly, less effective on thinly traded instruments
- Not suitable for scalping strategies requiring rapid entries, as the cooldown mechanism intentionally limits signal frequency
█ NOTES
Signal Quality Over Quantity
This indicator prioritizes accuracy over frequency. You may only see 1-3 signals per session on lower timeframes, but each signal represents a setup where trend, momentum, and volume are all aligned. This approach is designed to keep you out of low-probability trades and focused on the best opportunities.
Customization Encouraged
The default parameters provide a solid foundation, but different instruments and timeframes may benefit from optimization. Test the indicator across various settings to find what works best for your specific trading style and markets.
═════════════════════════════════════════════════════════════════════════
This indicator synthesizes best practices from institutional VWAP trading with momentum confirmation from RSI and MACD. By requiring multiple independent factors to align, it filters out the noise common in single-indicator systems and focuses on setups where probability favors directional moves.
ES to SPX Lead (RTH Adaptive)Very simple script designed especially to trade CFD but also scalping.
Only RTH (you'll understand why)
Not a stand-alone indicator, e.g., an external event may hit the index and /ES leading nature will become meaningless. Same with a sudden crash on a Mag7 stock.
Uses Z Score to evaluate if /Es is leading SPX (or not) and /ES VWAP to establish bullish (+1) or bearish territory (-1). Histogram is the product of Z Score times VWAP status, red or green depending.
Z score goes from -2 to +2.
Zscore reading: 0.4 < |Z| < 1.2 is the trading zone.
|Z| <0.4 is sort of neutral shifting gears zone, a no-trade and may be transition moment.
Middle numbers show max. limits based on actual volatility (i.e. when to exit and when definitely not to enter a trade).
Grey stripes is NO TRADE zone.
Final number is the composite histogram value.
So:
Textbook bullish: /ES above VWAP and Z Score positive
Textbook negative: /ES below VWAP and Z score negative
If Green Histogram & negative Z Score, you may enter bearish pullback trades making sure Z score is in the sweet spot bracket.
If Red histogram & negative Z score, it's a conflict state, signals are not alined. Holds a bullish nature but it may be a warning sign.
Script produced by Chat GPT after several iterations.
FX-CLINIC/ ICT/ LIQUIDITY SWEEPICT Indicator
Show Liquidity sweep
Automatic updated
created by FX-CLINIC






















