[DEM] Heikin Ashi Barcolors Heikin Ashi Barcolors is designed to apply smoothed Heikin Ashi calculations to regular candlestick charts and color the price bars based on the resulting Heikin Ashi trend direction to reduce market noise and provide clearer visual trend identification. The indicator first applies EMA smoothing to the standard OHLC values, then calculates Heikin Ashi values using the traditional formulas (averaged close, modified open based on previous values, and adjusted high/low), and applies an additional layer of EMA smoothing to the Heikin Ashi results. The bars are colored teal when the smoothed Heikin Ashi close is above the smoothed Heikin Ashi open (indicating bullish conditions) and red when the close is below the open (indicating bearish conditions), effectively transforming the visual appearance of regular candlesticks to reflect the smoother, trend-following characteristics of Heikin Ashi methodology while maintaining the original price structure.
Candlestick analysis
[DEM] Floating Reversal Signal (With Backtesting) Floating Reversal Signal (With Backtesting) is designed to identify potential reversal opportunities by detecting counter-trend momentum shifts using a combination of SuperTrend analysis, ATR-based candle size filtering, and RSI oversold/overbought conditions. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table. The strategy generates buy signals when price forms a bullish candle during a SuperTrend downtrend, with the previous candle's body size falling within specified ATR multiplier ranges (default 0.5x to 2x) and RSI showing oversold conditions below a configurable threshold, while sell signals are triggered under opposite conditions during uptrends with overbought RSI readings, aiming to capture "floating" reversal setups where price temporarily moves against the prevailing trend before resuming in the original direction.
[DEM] Fair Value Gaps Fair Value Gaps is designed to identify and visualize institutional Fair Value Gaps (FVGs) on the price chart by detecting three-candle patterns where a significant price gap exists between non-adjacent candles, indicating areas where price moved too quickly and left behind unfilled liquidity zones. The indicator identifies bullish FVGs when the current low exceeds the high from two bars ago by more than a configurable ATR multiplier (default 1.1), and bearish FVGs when the low from two bars ago exceeds the current high by the same threshold, ensuring only significant gaps are marked. When detected, the indicator draws semi-transparent boxes around the gap areas with midline references, colors the chart background green for bullish gaps and red for bearish gaps, and maintains these visual markers as potential support/resistance levels where institutional traders may look to fill orders, helping traders identify key price levels where future reversals or continuations might occur.
[DEM] Exit Signals Exit Signals is designed to identify potential exit points for existing positions by detecting specific candlestick patterns that suggest momentum exhaustion or reversal conditions using ATR-based size requirements. The indicator generates sell signals (red X marks above bars) when either a large bullish candle from the previous session (body size greater than 0.5x ATR over 50 periods) is followed by a bearish close near the previous open, or when the current candle shows exceptionally strong bullish momentum (body size greater than 1.3x ATR over 26 periods). Conversely, buy signals (blue X marks below bars) are triggered when a large bearish candle is followed by a bullish close near the previous open, or when the current candle displays exceptionally strong bearish momentum, helping traders identify potential exit opportunities where extreme price movements may be signaling exhaustion and possible reversal rather than continuation.
[DEM] Engulfing Candlestick Identifier Engulfing Candlestick Identifier is designed to automatically detect and highlight bullish and bearish engulfing candlestick patterns by analyzing the relationship between consecutive candles and applying ATR-based size filters to ensure significant pattern validity. The indicator identifies bullish engulfing patterns when the current candle closes above the previous candle's open, opens below the previous candle's close, and both candles meet minimum size requirements based on ATR thresholds, while bearish engulfing patterns are detected under opposite conditions. The indicator colors bars green for bullish engulfing patterns, red for bearish engulfing patterns, and optionally purple for all other bars when the "Different Color" setting is enabled, helping traders quickly identify potential reversal signals where one candle completely engulfs the body of the previous candle with sufficient magnitude to suggest meaningful momentum shifts.
[DEM] Doji Candlestick Identifier Doji Candlestick Identifier is designed to automatically detect and highlight doji candlestick patterns on the price chart by identifying bars where the opening and closing prices are nearly identical, indicating market indecision. The indicator uses statistical analysis to determine what constitutes a "near identical" open-close relationship by calculating the standard deviation of close-open differences over a specified lookback period (default 200 bars) and setting tolerance bands at one-tenth of this deviation above and below zero. When a candlestick's open-close difference falls within these narrow tolerance bands, the indicator places a small gray triangle below the bar to mark the doji pattern, helping traders quickly identify potential reversal or continuation points where buying and selling pressure are balanced.
ROAD200K Wickrange BarLaa umnuh laanii wick dotor haagdval
wick nii range ni uuruu sonirholiin bus bolj huvirdag
DUNTDUNT by TanTechTrades is a custom TradingView indicator designed to measure market imbalances in Bitcoin using a blend of Z-Score analysis and the Money flow logic.
🔹 Core Features:
Market Data Integration: Pulls live date.
Z-Score Calculations: Normalizes market deviations over a configurable period (default: 252 days).
Visual Feedback:
Colored horizontal levels for quick reference.
Background shading when long/short conditions are active.
Triangle markers at signal points for easy trade identification.
🔹 Use Case:
This tool helps traders identify potential long-term accumulation or distribution zones in Crypto+fx by quantifying how stretched the market is compared to its historical fair value. It can be used as a trend bias filter or a standalone signal generator for entries and exits.
AstraAlgo IndicatorOVERVIEW
The AstraAlgo Indicator delivers precise, actionable trade signals on TradingView. With configurable signal modes, dynamic support and resistance, and a fully adjustable alerts system, it helps traders make informed decisions and manage risk effectively.
HOW TO GAIN ACCESS
Subscribe at www.astraalgo.com and provide your TradingView username. Access is usually granted within a few hours, and you’ll receive email confirmation once activated.
FEATURES
Signal Modes
Signal Modes are the core of the AstraAlgo Indicator, providing users with flexible options to view trade signals tailored to their preferred complexity and style.
Bar Coloring
Bar Coloring provides a clear visual distinction between bullish and bearish candlesticks, allowing traders to interpret price action at a glance. This feature helps identify momentum and trend direction without analyzing raw price data.
Astra Cloud
Astra Cloud is a dynamic support and resistance overlay that visually highlights key price zones on your TradingView charts. These zones adjust in real time to reflect market movements, helping traders identify areas of potential price reaction.
Alerts
Alerts in the AstraAlgo Indicator are designed to keep traders informed of key market movements in real time. They notify you whenever a significant trading signal appears on your chart, ensuring you can act promptly even when you’re away from TradingView.
CONTACT US
For any questions or assistance, contact us at support@astraalgo.com or visit www.astraalgo.com.
Multi-Indicator Combo - JTR Community - Version1🔰 **Multi-Indicator Combo – JTR Community Version 1 Edition** 🔰
The Multi-Indicator Combo is an all-in-one trading tool that combines multiple popular indicators into a single script, with full flexibility to enable/disable each one. It also includes an interactive Dashboard that summarizes market conditions with real-time values and insights.
🎯 What it offers:
Moving Averages (MA): Supports 10+ types (EMA, SMA, HMA, McGinley, Kijun v2, etc.) for trend direction and dynamic support/resistance.
Momentum Indicators:
RSI with OB/OS levels.
Stochastic RSI with crossovers and overbought/oversold signals.
CCI, Momentum, ROC for additional confirmations.
Volume Indicators:
Volume with moving average.
OBV (On Balance Volume) with percentile analysis.
VWAP with dynamic price relation coloring.
Volatility Indicators:
ATR + NATR to measure strength and volatility.
Bollinger Bands, Keltner Channel, Donchian Channel with color-coded fills.
Volatility Stop for adaptive stop levels.
Candlestick Patterns:
Built-in library with popular patterns (Bullish/Bearish Engulfing, Hammer, Doji, Morning Star, Evening Star, Inside/Outside Bar, etc.).
Support & Resistance Zones:
Pivot Zones
High/Low Zones
Wick-based Liquidity Zones
Interactive Dashboard:
Displays indicator values and market insights in a simple, color-coded table (Bullish/Bearish/Neutral), allowing traders to quickly read the market without switching between multiple indicators.
⚙️ How to use:
Enable only the indicators you need from the settings to keep your chart clean.
Use the Dashboard for a quick overview of market sentiment.
Combine signals (e.g., RSI + Volume + ATR) to improve accuracy and decision-making.
💡 Key Features:
Combines 20+ indicators and tools into one script.
Clean and organized interface with grouped settings.
Highly flexible – every feature can be turned on/off.
Suitable for beginners (easy overview) and advanced traders (detailed analysis).
⚠️ Disclaimer:
This script is for educational and analytical purposes only. It does not provide financial advice or guaranteed trading signals. Always use proper risk management and a trading plan.
👨💻 Developed by: **JemmyTrade | JTR Community | Nabil Elmahdy **
📥 Feedback & suggestions are welcome!
STC Hedge ContinuitySTC Hedge v8 is a signal-only indicator that combines a custom Schaff Trend Cycle (STC) with a higher-timeframe (HTF) EMA trend gate, an optional EMA slope filter, and an ADX-based auto-toggle that relaxes slope gating during strong trends.
How it works:
1) Custom Schaff Trend Cycle (STC)
Built from a normalized MACD-like EMA difference (EMA(fast) – EMA(slow)), scaled into 0–100, and smoothed. Detects cyclical overbought/oversold shifts more responsively than RSI or MACD.
2) HTF EMA Trend Gate
Two EMAs (fastLength, slowLength) computed on a higher timeframe (gateTF). Bull gate: EMA(fast) > EMA(slow) for at least trendBars.
Bear gate: EMA(fast) < EMA(slow) for at least trendBars. Adds directional persistence to avoid whipsaws.
3) EMA Slope Filter (optional)
Confirms both EMAs are trending upward (longs) or downward (shorts) over slopeLookback bars.
Can compute slope on HTF (gateTF) for smoother signals.
ADX Auto-Toggle: slope filter is automatically bypassed when ADX ≥ adxThresh, letting strong trends flow without over-filtering.
4) ADX Calculation (self-contained)
Custom implementation of DI/ADX (no ta.adx dependency). Runs either on the trend gate TF or a user-defined adxTF.
5) Signal Triggers
Long: STC crosses above lowerThresh + bull gate + slope check + cooldown satisfied.
Short: STC crosses below upperThresh + bear gate + slope check + cooldown satisfied.
Green triangles = long signals; red triangles = short signals.
Liquidity ImpulsesThis script essentially prints out any impulses in price movement indicating large buying/selling activity.
- Once a candle is determined to have an impulse of volume, the script will print a line of liquidity indicating where a lot of orders are.
- Once the liquidity is taken, the line will be deleted.
- This script works on lower timeframes for day trading as well as higher timeframes to get a clear bias on where price is headed. You can use this as a liquidity sweep or as a target for your trade
Enjoy!
STC Hedging SMA Trend GateSchaff Trend Cycle (STC)–based hedging tool with a built-in higher-timeframe trend filter (“Trend Gate”) and a signal cooldown mechanism.
It is designed to provide long/short hedge entry signals only when both the momentum (STC) and the higher-timeframe trend agree, helping filter out noise and false trades.
Key Components
1. STC Core (Momentum Engine)
The Schaff Trend Cycle (STC) is calculated from a normalized MACD cycle:
Uses fastLength and slowLength EMAs.
Normalizes the EMA difference over a lengthSTC window.
Smooths and rescales into a 0–100 oscillator.
Thresholds:
Lower Threshold (default 20): potential long/hedge long entry if crossed upwards.
Upper Threshold (default 80): potential short/hedge short entry if crossed downwards.
2. Trend Gate (Higher-Timeframe Filter)
Pulls fast SMA and slow SMA from a higher timeframe (gateTF, default = 5m).
Defines the prevailing trend:
Bullish Trend: fast SMA > slow SMA.
Bearish Trend: fast SMA < slow SMA.
Requires persistence (trendBars) before validating a trend direction, avoiding “one-bar flips.”
3. Signal Debounce & Cooldown
Uses barstate.isconfirmed → ensures signals trigger only on bar close (prevents repainting).
Requires a minimum number of bars (cooldownBars) between signals.
Tracks the last signal bar (lastSigBar) so no new signals fire too close together.
4. Trade Signals
Long Hedge Signal:
STC crosses above the lower threshold.
Higher timeframe is bullish for at least trendBars bars.
Cooldown condition is satisfied.
Short Hedge Signal:
STC crosses below the upper threshold.
Higher timeframe is bearish for at least trendBars bars.
Cooldown condition is satisfied.
Signals are shown with:
Green ▲ triangles below bars = Long Hedge
Red ▼ triangles above bars = Short Hedge
5. Alerts
Built-in alertcondition() allows TradingView alerts for:
STC Long Hedge
STC Short Hedge
This indicator is intended for hedging strategies and trend-aligned momentum trading.
By combining:
STC cycle turns (momentum shifts), HTF moving average trend filter, and Signal cooldown (to reduce over-trading), Aims to generate cleaner long/short hedge entry signals with reduced noise and false triggers.
STC Hedging EMA Trend GateSchaff Trend Cycle (STC)–based hedging tool with a built-in higher-timeframe trend filter (“Trend Gate”) and a signal cooldown mechanism.
It is designed to provide long/short hedge entry signals only when both the momentum (STC) and the higher-timeframe trend agree, helping filter out noise and false trades.
Key Components
1. STC Core (Momentum Engine)
The Schaff Trend Cycle (STC) is calculated from a normalized MACD cycle:
Uses fastLength and slowLength EMAs.
Normalizes the EMA difference over a lengthSTC window.
Smooths and rescales into a 0–100 oscillator.
Thresholds:
Lower Threshold (default 20): potential long/hedge long entry if crossed upwards.
Upper Threshold (default 80): potential short/hedge short entry if crossed downwards.
2. Trend Gate (Higher-Timeframe Filter)
Pulls fast SMA and slow SMA from a higher timeframe (gateTF, default = 5m).
Defines the prevailing trend:
Bullish Trend: fast EMA > slow EMA.
Bearish Trend: fast EMA < slow EMA.
Requires persistence (trendBars) before validating a trend direction, avoiding “one-bar flips.”
3. Signal Debounce & Cooldown
Uses barstate.isconfirmed → ensures signals trigger only on bar close (prevents repainting).
Requires a minimum number of bars (cooldownBars) between signals.
Tracks the last signal bar (lastSigBar) so no new signals fire too close together.
4. Trade Signals
Long Hedge Signal:
STC crosses above the lower threshold.
Higher timeframe is bullish for at least trendBars bars.
Cooldown condition is satisfied.
Short Hedge Signal:
STC crosses below the upper threshold.
Higher timeframe is bearish for at least trendBars bars.
Cooldown condition is satisfied.
Signals are shown with:
Green ▲ triangles below bars = Long Hedge
Red ▼ triangles above bars = Short Hedge
5. Alerts
Built-in alertcondition() allows TradingView alerts for:
STC Long Hedge
STC Short Hedge
This indicator is intended for hedging strategies and trend-aligned momentum trading.
By combining:
STC cycle turns (momentum shifts), HTF moving average trend filter, and Signal cooldown (to reduce over-trading), Aims to generate cleaner long/short hedge entry signals with reduced noise and false triggers.
STC v1 v2 Level Line Cross EMA FilterSTC based indicator combines my previous v1 and v2 . You can select STC v1 or STC v2 from the dropdown.
Leave “Use mode-specific presets” ON to auto-load the default parameters:
v1 → 10,21,5 and levels 25/75
v2 → 8,17,40 and levels 25/70
Turn presets OFF to customize fast/slow/cycle and levels
Filter: keep EMA(15) filter ON so signals align with trend
Alerts: set one alert for the LONG condition and one for SHORT condition
ORB + SMA 20/50 Crossover BUY/SELL by Yuvaraj Veppampattu Plots ORB High & Low lines for the first X minutes.
Adds SMA 20 & SMA 50 lines on chart.
Shows BUY arrow when SMA20 crosses ABOVE SMA50.
Shows SELL arrow when SMA20 crosses BELOW SMA50.
Adds alerts for both ORB breakouts & SMA crossovers.
ORB + SMA + EMA + BUY/SELL by yuvaraj ORB (Opening Range Breakout)
Meaning:
ORB stands for Opening Range Breakout.
It is a trading strategy where you watch the price movement for the first few minutes after the market opens (for example, 9:15 – 9:30 AM in India).
You mark the high and low during this period.
If price goes above the high, it signals a possible buy (long trade).
If price goes below the low, it signals a possible sell (short trade).
Why traders use it:
First few minutes decide the market direction.
Helps catch early momentum trades.
Very popular for intraday traders (Nifty, BankNifty, Crude Oil, etc.).
Example:
Market opens at 9:15.
First 5 minutes: High = 100, Low = 95.
If price moves above 100 → Buy.
If price moves below 95 → Sell.
📌 SMA (Simple Moving Average)
Meaning:
SMA stands for Simple Moving Average.
It is the average closing price of a stock over a certain number of candles.
Example:
SMA 9 → Average price of last 9 candles.
SMA 50 → Average price of last 50 candles.
Why traders use it:
Shows trend direction.
SMA going up → Uptrend, SMA going down → Downtrend.
You can use multiple SMAs (for example SMA 9 and SMA 50):
If SMA 9 crosses above SMA 50 → Buy signal.
If SMA 9 crosses below SMA 50 → Sell signal.
🔑 Key Difference:
Feature ORB SMA
Type Strategy (price breakout) Indicator (average price)
Use Entry trigger for trades Identifies trend direction
Works Best Intraday (first minutes) Any timeframe (intraday or swing)
Plots ORB High/Low lines for the first few minutes
Plots SMA 9/50/180 & EMA 20
Plots trailing stopline + Buy/Sell arrows
Optional bar color / background color toggle
Alert conditions for Buy/Sell
ORB high/low lines
SMA 9/50/180 + EMA 20
Buy/Sell arrows + trailing stopline
Consecutive Candles Box with MidpointHelps to identify consecutive candle closes for potential ranges.
Ravi Raj rending Intraday BotTrend Reversal Catching
🔹 Features:
✅ Buy & Sell signals with proper confirmation
✅ Dynamic support & resistance levels
✅ Trend direction + reversal detection
✅ Risk management (Stop Loss & Target levels)
✅ Works on Nifty, BankNifty, Stocks & Options
🔹 Best Timeframe:
5 Min, 15 Min (Intraday Trading)
Works on both Index & Equity
🔹 Trading Style:
Scalping
Momentum Trading
Ravi Raj rending Intraday Bot
8102106608 udhwa
Ultimate ICT Pro — EnhancedUltimate ICT Pro — Signals V8 is a comprehensive trading tool that combines ICT concepts with classical technical analysis to provide clear buy/sell suggestions and market structure visualization.
It includes:
Multi-timeframe EMA/ADX alignment with a switch to force calculations on higher timeframes.
Automatic detection and drawing of ICT elements (Fair Value Gaps, Order Blocks, Breaker Blocks, Liquidity Sweeps, OTE zones).
A dynamic Confluence score (0–4) based on Bias, ICT confirmation, Volume, and Market Regime.
Visual signals for BOS, CHoCH, displacement, and premium/discount zones.
A dashboard panel showing overall market direction, regime (trend/range), HTF alignment, and source of calculation.
A trade suggestion table (LONG/SHORT) with entry, stop loss, target, risk/reward, and confluence level.
Designed to be easy for beginners to understand — with intuitive visuals and clear signals — while still offering advanced insights for professional analysts.
Smart Pro Entry GuideOverview
Smart Pro Entry Guide (HTF Selectable, Full) is a multi-timeframe price–volume analyzer that blends wick/absorption reads, ATR-validated breakout and range-expansion filters, trend scoring, and pivot-based structure into a single, confluence-first decision layer.
With optional HTF routing, an intent engine for the last three HTF candles, and a visual dashboard, it outputs a real-time Chart Action (BUY/SELL/WAIT) plus the reason behind it, while plotting S/R, liquidity zones, and trendlines to make execution contexts obvious at a glance.
The goal is simple: align entries with dominant context and strong evidence while minimizing noise through volume and volatility-aware gating.
How it works
The script can run all calculations on a user-selected Higher Timeframe, or stay on the chart timeframe, enabling regime-aware bias and clean drilling from context to trigger without juggling multiple charts.
It scores price action with wick and absorption logic, validates momentum with ATR- and volume-based breakout/expansion tests, and classifies trend strength with a configurable green/red bar count against a moving average.
An HTF intent model evaluates the last three HTF bars against percentile thresholds for volume and body strength to set a majority bias, which is then combined with structure, liquidity, and trend filters to drive the final Chart Action and on-chart visuals.
HTF routing: toggle useHTF to compute OHLCV, moving averages, and ATR on a chosen window_tf, propagating that context into all downstream logic.
Price-action + volume filters: Wick Bull/Bear detect long lower/upper wicks >2×>2× body with directional closes; Absorption flags extreme closes at recent swing extremes on above-average volume and compressed bodies.
Volatility and momentum: Unusual Breakout requires ∣close−open∣>1.5×ATR∣close−open∣>1.5×ATR and volume>1.5×volMA
volume>1.5×volMA; Range Expansion requires range>1.5×avgRange
range>1.5×avgRange with prior range <0.7×avgRange<0.7×avgRange in the direction of the close
Trend engine: Counts green vs red bars over trendBarCount and requires
trendScore≥trendScoreMin
trendScore≥trendScoreMin with price above/below a moving average to qualify as Strong Trend Long/Short.
Chart Action: BUY if strongTrendLong_ltf or long-intent filter is true, SELL if strongTrendShort_ltf or short-intent filter is true, else WAIT, enabling straightforward execution rules.
HTF intent and bias: For each of the last three HTF bars, classifies BULLISH/BEARISH/CHOP when volume, body, and body% exceed rolling highs scaled by a percentile factor, then sets HTF BULLISH/BEARISH via ≥2≥2 majority voting (else HTF Chop).
Structure and liquidity: Auto-detects S/R via pivots, draws trendlines from pivots, shades bias-aligned zones, and highlights “liquidity zones” when volume exceeds a configurable multiplier of a volume average near structure.
Dashboard: A table summarizes HTF Intent, HTF Bias, Chart Action, filter activity, explicit Reason, trend scores, strong-trend flags, HTF vol/body metrics, and an adaptive Volume Sentiment state (Strong Bullish/Bearish, Bullish/Bearish, Neutral).
Why it helps
The design emphasizes confluence: HTF bias, LTF trend state, price-action signatures, and volume/ATR validation must align, reducing false positives that occur when signals are considered in isolation.
Structure- and liquidity-aware plotting puts actionable context—S/R, zones with above-average participation, and directional trendlines—directly on the chart, making it easier to filter trades and time entries with intent-backed confirmation.
The dashboard’s transparent “Reason” string and filter log create an auditable trail of why Chart Action changed, improving decision discipline and reproducibility.
How to use
Trend continuation: In trending markets, favor Chart Action = BUY alongside HTF BULLISH near fresh supports and/or shaded liquidity zones, especially when filters show Wick Bull, Absorption Bull, or Range Expansion in the direction of trend.
Reversal attempts: At resistance or after extended up moves, look for Wick Bear/Absorption Bear and Chart Action = SELL, ideally with HTF BEARISH or HTF Chop transitioning bearish to avoid counter-trend chop.
Breakout follow-through: When Unusual Breakout triggers with both ATR and volume confirmation, trade continuation in the breakout direction while the dashboard maintains bias alignment and favorable Volume Sentiment.
Settings
useHTF + window_tf: Routes all core calculations to a higher timeframe for regime-aware bias and cleaner signal gating.
useWickAnalysis, useAbsorption, useUnusualBreakout, useRangeExpansion: Enable/disable specific price–volume filters that feed into Chart Action and Reasons.
trendBarCount, trendScoreMin: Control trend scoring sensitivity and what qualifies as a Strong Trend against a moving average.
length: Sets length for volume MA and ATR, impacting breakout/expansion thresholds and average range computation.
swing_look: Defines the lookback window for swing extremes used in absorption detection.
lookback_sup, percentile_fact: Configure rolling-high percentile thresholds used to classify HTF intent on volume, body, and body%.
showTable, showSR, showLIQ, showTrend, showZones: Toggle the dashboard, S/R labels, liquidity zones, trendlines, and bias-aligned shading.
srLook, liqLook, liqFactor: Tune pivot sensitivity and volume criteria for liquidity zone detection and marking.
dashboardPosition: Choose where the dashboard table renders on the chart.
Notes
Pivots require left/right bars for confirmation, so newly detected S/R and trendlines appear after sufficient bars form, helping avoid premature levels during developing swings.
Chart Action is deliberately conservative: it requires either a strong-trend state or a valid intent filter in the direction of the proposed trade, which can reduce noise in sideways conditions.
Volume Sentiment strengthens or softens the read by comparing current volume to a baseline and weighting by candle direction and near-term trend score.
how to use the indicator to make better trading decisions?
Focus first on the HTF Bias, then act only when Chart Action and filters align to build strong confluence and avoid trades during WAIT states.
Quick start
Turn ON useHTF and choose window_tf so OHLCV, MA, and ATR are computed on an HTF; then read HTF Intent and HTF Bias on the dashboard to set the primary direction.
On the LTF, check Chart Action (BUY/SELL/WAIT) and Reason, and act only when Chart Action aligns with the HTF Bias.
Prioritize entries near recent S/R pivots, trendlines, and highlighted liquidity zones to ensure structure-supported trades.
Context and bias
The HTF intent model evaluates the last three HTF candles against percentile thresholds for volume, body, and body% of their rolling highs and classifies each bar as BULLISH/BEARISH/CHOP.
Majority voting sets “HTF BULLISH/BEARISH” when at least two bars agree; otherwise “HTF Chop,” which guides overall direction and strategy selection.
Entry triggers (LTF)
Wick Bull/Bear trigger when the lower/upper wick is >2×>2× the body and the close is directional, signaling rejection-style reversal/continuation.
Absorption Bull/Bear appear when the close is at a swing extreme with above-average volume and a compressed body, indicating aggressive participation.
Unusual Breakout requires ∣close−open∣>1.5×ATR∣close−open∣>1.5×ATR and volume>1.5×volMA
volume>1.5×volMA to validate a high-impulse move.
Range Expansion requires rane>1.5×avgRange range>1.5×avgRang and the prior range<0.7×avgRange<0.7×avgRange with a directional close, signaling a regime shift.
Strong Trend Long/Short holds when the trendScore ≥≥ its threshold and price is above/below the MA, helping filter pullback entries.
Trend continuation
In HTF BULLISH, when Chart Action = BUY, prioritize pullback entries near fresh supports or trendlines with long-side filters like Wick/Absorption/Expansion.
Holding bias is more consistent when Volume Sentiment is “Bullish/Strong Bullish” and the Reason shows long-side signals.
Reversal setups
After resistance or extended up-moves, look for Wick Bear/Absorption Bear; take Chart Action = SELL with HTF BEARISH or a Chop→Bearish transition for mean-reversion attempts.
In Chop or against HTF Bias, avoid aggressive sizing and treat WAIT as a valid output until confluence becomes clear.
Breakout follow-through
Right after an Unusual Breakout, seek continuation in the same direction when Volume Sentiment and HTF Bias agree and Reason shows “Breakout.”
Favor micro-pullbacks or flags retesting S/R above/below the breakout to improve risk-to-reward.
Risk management
Use recent srLook-based pivot lows/highs for stop-loss placement since S/R and trendline construction rely on these.
With Zones ON, consider initiating inside bias-aligned shaded areas and reducing or exiting when price moves outside them to keep invalidation clear.
Skip trades during WAIT or Neutral Volume Sentiment to maintain the system’s noise-filtering purpose.
Tuning settings
Increasing window_tf makes bias more stable but reduces trigger frequency; decreasing it speeds bias changes and increases frequency.
Raising trendBarCount and trendScoreMin tightens the Strong Trend filter so only higher-quality pullbacks pass.
Increasing percentile_fact makes HTF intent thresholds stricter for volume/body, reducing bias flips.
Adjust liqLook and liqFactor to instrument volatility so liquidity zones highlight only meaningful participation.
Do and don’t
Go against HTF Bias only when the Reason shows clear opposite-direction signals with structural confirmation; otherwise, prefer WAIT.
Do not rely on breakout/expansion without volume confirmation, as the system validates them with 1.5×1.5× volume/ATR thresholds.
Avoid assuming levels mid-swing; pivots need confirmation bars before S/R becomes reliable.
Workflow steps
Switch useHTF = ON, select an appropriate window_tf, and read HTF Bias on the dashboard.
On LTF, check Chart Action and Reason; if WAIT, skip.
Validate location context with S/R labels, trendlines, and shaded zones; consider only structure-supported entries.
Ensure at least one directional price–volume filter (Wick/Absorption/Breakout/Expansion) aligns with the HTF Bias.
Favor pullbacks during Strong Trend; use conservative sizing in Chop/transitions.
Place stops beyond pivots and manage partials or exits when Volume Sentiment/Reason shifts.
Notes
The indicator unifies “Chart Action + Reason + Context,” so avoid BUY/SELL without clear cause and location context to preserve system consistency.
Tune parameters to instrument and timeframe volatility to balance signal quality versus trade frequency.
Disclaimer
This indicator is an educational decision-support tool and not financial advice; market risk, slippage, and regime shifts can invalidate any setup, so independent research and risk management remain essential.
Past behavior in signals or dashboards does not guarantee future performance, and parameter choices should be adapted to instrument volatility and timeframe objectives.
Multiple Moving Averages5 Simple Moving Averages: 12, 20, 55, 80, 144 periods
Different colors: Each moving average uses a different color for easy distinction
Crossover signals: Display crossover signals for MA12/MA20 and MA55/MA144
Value display: Show current specific values of each moving average in a table at the top right corner
Optional EMA: The commented section provides code for the EMA version, which can be uncommented if needed
hidden buy or sell //@version=5
indicator(title="Institutional Flow & Trend", shorttitle="IF&T", overlay=true)
// --- INPUTS ---
// Trend EMA lengths
fast_ema_len = input.int(9, title="Fast EMA Length", minval=1)
slow_ema_len = input.int(21, title="Slow EMA Length", minval=1)
// OBV Moving Average length
obv_ema_len = input.int(10, title="OBV EMA Length", minval=1)
// RSI settings for hidden divergence (NEW)
rsi_len = input.int(14, title="RSI Length", minval=1)
// --- CALCULATIONS ---
// Calculate EMAs for trend
fast_ema = ta.ema(close, fast_ema_len)
slow_ema = ta.ema(close, slow_ema_len)
// Calculate On-Balance Volume and its moving average
obv_value = ta.obv
obv_ema = ta.ema(obv_value, obv_ema_len)
// Calculate RSI for divergence (NEW)
rsi_val = ta.rsi(close, rsi_len)
// --- HIDDEN DIVERGENCE LOGIC (NEW) ---
// Bullish hidden divergence: price makes a higher low, but RSI makes a lower low.
bullish_div = ta.lowest(low, 2) > ta.lowest(low, 2) and rsi_val > rsi_val
// Bearish hidden divergence: price makes a lower high, but RSI makes a higher high.
bearish_div = ta.highest(high, 2) < ta.highest(high, 2) and rsi_val < rsi_val
// --- SIGNAL LOGIC ---
// Bullish conditions:
// 1. Hidden bullish divergence is detected (NEW)
// 2. Fast EMA is above Slow EMA (uptrend)
// 3. OBV value is above its moving average (buying pressure)
bullish_signal = bullish_div and fast_ema > slow_ema and obv_value > obv_ema
// Bearish conditions:
// 1. Hidden bearish divergence is detected (NEW)
// 2. Fast EMA is below Slow EMA (downtrend)
// 3. OBV value is below its moving average (selling pressure)
bearish_signal = bearish_div and fast_ema < slow_ema and obv_value < obv_ema
// --- PLOTS & VISUALS ---
// Plot the EMAs on the chart
plot(fast_ema, title="Fast EMA", color=color.new(color.blue, 0), linewidth=2)
plot(slow_ema, title="Slow EMA", color=color.new(color.orange, 0), linewidth=2)
// Color the background based on signals
bgcolor(bullish_signal ? color.new(color.green, 90) : na, title="Bullish Zone")
bgcolor(bearish_signal ? color.new(color.red, 90) : na, title="Bearish Zone")
// Plot shapes for entry signals
plotshape(series=bullish_signal, title="Buy Signal", location=location.belowbar, color=color.new(color.green, 0), style=shape.triangleup, size=size.small)
plotshape(series=bearish_signal, title="Sell Signal", location=location.abovebar, color=color.new(color.red, 0), style=shape.triangledown, size=size.small)
// Plot shapes for divergence signals (NEW)
plotshape(series=bullish_div, title="Bullish Divergence", location=location.belowbar, color=color.new(color.lime, 0), style=shape.circle, size=size.tiny)
plotshape(series=bearish_div, title="Bearish Divergence", location=location.abovebar, color=color.new(color.red, 0), style=shape.circle, size=size.tiny)
// Alert conditions
alertcondition(bullish_signal, title="Bullish Reversal Signal", message="Institutional buying and trend aligned for a reversal!")
alertcondition(bearish_signal, title="Bearish Reversal Signal", message="Institutional selling and trend aligned for a reversal!")
// --- FOOTNOTE ---
// This indicator is a conceptual tool. Use it with other forms of analysis.
// Backtesting and optimization are crucial before live trading.