ADR from 50 SMA - Histogram & LabelMore inside the script
INDICATOR PURPOSE:
This indicator measures how far price has moved from the 50-period SMA
in terms of Average Daily Range (ADR). It helps identify:
- When stocks are overextended and may be due for pullback/consolidation
- Potential entry/exit points based on momentum extremes
- Position trimming opportunities when price is stretched
INTERPRETATION:
- Positive values = Price is ABOVE the 50 SMA
- Negative values = Price is BELOW the 50 SMA
- Higher absolute values = More extreme/stretched moves
- Values >2 or <-2 typically indicate overextended conditions
Indicadores de amplitud
Support and Resistance Levels with Breaks (MTF + Alerts FIXED) Support and Resistance Levels with Breaks
Added MTF and FIXED Alarm for Support and Resistance line
laurent//@version=5
indicator("Big Candle + Squeeze Dots (ATR + RSI + MACD + BB)", overlay=true, timeframe="", timeframe_gaps=true)
//---------------------------
// Inputs
//---------------------------
lenATR = input.int(14, "Période ATR")
multATR = input.float(2.5, "Grosse bougie : range > ATR * X", step=0.1)
lenBodyMA = input.int(20, "Période moyenne de corps")
useBodyMA = input.bool(true, "Filtrer par corps > moyenne")
// RSI / MACD
lenRSI = input.int(14, "Période RSI")
rsiOB = input.float(60, "RSI haussier min")
rsiOS = input.float(40, "RSI baissier max")
fastMACD = input.int(12, "MACD fast")
slowMACD = input.int(26, "MACD slow")
sigMACD = input.int(9, "MACD signal")
// Squeeze Bollinger
bbLen = input.int(20, "Période Bollinger")
bbMult = input.float(2.0, "Ecart-type Bollinger", step=0.1)
squeezeLen = input.int(20, "Période moyenne largeur BB")
squeezeMult = input.float(0.7, "Seuil squeeze (largeur BB < moyenne * X)", step=0.05)
// Filtres
requireMomentum = input.bool(true, "Exiger RSI + MACD")
requireSqueeze = input.bool(true, "Exiger un squeeze juste avant")
squeezeLookback = input.int(5, "Nb de bougies max depuis squeeze", minval=1, maxval=50)
//---------------------------
// Calculs de base
//---------------------------
atr = ta.atr(lenATR)
rangeC = high - low
body = math.abs(close - open)
// moyenne de corps
bodyMA = ta.sma(body, lenBodyMA)
// RSI
rsi = ta.rsi(close, lenRSI)
// MACD
macdVal = ta.ema(close, fastMACD) - ta.ema(close, slowMACD)
macdSig = ta.ema(macdVal, sigMACD)
macdHist = macdVal - macdSig
//---------------------------
// Bollinger Bands + Squeeze
//---------------------------
basis = ta.sma(close, bbLen)
dev = bbMult * ta.stdev(close, bbLen)
upper = basis + dev
lower = basis - dev
bbWidth = (upper - lower) / basis
bbWidthMA = ta.sma(bbWidth, squeezeLen)
// squeeze = largeur BB inférieure à une fraction de sa moyenne
isSqueeze = bbWidth < bbWidthMA * squeezeMult
// Nombre de barres depuis le dernier squeeze
barsSinceSqueeze = ta.barssince(isSqueeze)
// Condition : on considère qu'on sort d'une zone de squeeze récente
hadRecentSqueeze = barsSinceSqueeze >= 0 and barsSinceSqueeze <= squeezeLookback
//---------------------------
// Conditions Wide Range Candle
//---------------------------
// 1) Bougie large vs ATR
wideByATR = rangeC > atr * multATR
// 2) Bougie large vs moyenne de corps (optionnel)
wideByBody = useBodyMA ? body > bodyMA : true
wideCandle = wideByATR and wideByBody
//---------------------------
// Direction + momentum
//---------------------------
bullBody = close > open
bearBody = close < open
bullMomentum = (rsi > rsiOB) and (macdHist > 0)
bearMomentum = (rsi < rsiOS) and (macdHist < 0)
condMomentumBull = requireMomentum ? bullMomentum : true
condMomentumBear = requireMomentum ? bearMomentum : true
condSqueeze = requireSqueeze ? hadRecentSqueeze : true
bullCond = wideCandle and bullBody and condMomentumBull and condSqueeze
bearCond = wideCandle and bearBody and condMomentumBear and condSqueeze
//---------------------------
// Affichage des points discrets
//---------------------------
// Petit point vert sous la bougie = grosse bougie haussière
plotshape(bullCond, title="Big Bull Candle (Squeeze + Mom.)", style=shape.circle,
location=location.belowbar, color=color.new(color.lime, 0), size=size.tiny)
// Petit point rouge au-dessus de la bougie = grosse bougie baissière
plotshape(bearCond, title="Big Bear Candle (Squeeze + Mom.)", style=shape.circle,
location=location.abovebar, color=color.red, size=size.tiny)
[PAPI] TF-OBV-ATR-Weighted MACDThis is a MACD indicator with a few differences:
Multi-Timeframe: The indicator calculates the "MACD", the "Signal" and the "Histogram" for four user-defined timeframes.
Volume weighted: The three MACD variables calculated for each timeframe above are weight-averaged according to On Balance Volume (OBV).
Volatility weighted: The three MACD variables calculated for each time frame above are also weight-averaged according to Average True Range (ATR)
The MACD, Signal and Histogram are plotted.
I use the indicator twice. Once with the user defined Timeframes set to high TFs (Month/Week/Day/4h) - this is for directional bias. And once with lower TFs (1m/3m/15m/1h).
Rich Scannerthis scanner for rich club only not for everyone.
Rich Scanner is an intelligent market scanning and analysis system, designed to help traders identify the highest-probability trading opportunities with speed and precision.
It relies on advanced analytical algorithms that automatically filter the market to deliver clear, data-driven signals — with no randomness or guesswork.
🚀 What does Rich Scanner offer?
🔍 Real-time market scanning to detect strong opportunities
🎯 Precise entry and exit signals with built-in risk filtering
⏱️ Support for multiple timeframes and different trading styles
📊 Suitable for Scalping, Intraday, and Swing Trading
🧠 Reduced noise and confusion, turning analysis into clear decisions
💎 Why Rich Scanner?
Because it doesn’t just display data — it transforms data into executable opportunities, giving you a clearer market perspective and helping you trade with confidence and discipline.
Rich Scanner — Trade Smarter, Decide Clearer, Achieve Stronger Results. 📈✨
EMA 50 & EMA 200 Combo by MaestroA robust trend-following tool utilizing dual Exponential Moving Average (EMA) crossovers to identify momentum shifts.
Whale Hunter V121. Overview
Whale Hunter V12 is a specialized Pine Script indicator designed for high-precision scalping (1m, 5m timeframes) on Futures and Crypto markets. Unlike standard indicators that lag, V12 focuses on Volume Spread Analysis (VSA) and Order Flow to detect institutional "Whale" activity.
Its "Precision Engine" filters out low-volatility churn and fake signals by enforcing strict volatility gates (ATR) and volume thresholds.
2. The Logic: How Scoring Works (0-12 Points)
Every candle is analyzed and given a "Confluence Score" from 0 to 12. A signal is only generated if the score meets your minimum threshold (Default: 8).
Component
Max Points
Logic
A. Volume Spike
4 pts
Measures relative volume vs. 20-period average.
• 2.0x Vol = 2 pts
• 3.0x Vol = 3 pts
• 5.0x Vol = 4 pts (Whale)
B. Trend (VWAP)
3 pts
Checks alignment with Volume Weighted Average Price.
• Buy above VWAP = +3 pts
• Sell below VWAP = +3 pts
C. Absorption Wick
3 pts
Measures the rejection wick vs. candle body.
• Wick > 1.5x Body = 1 pt
• Wick > 50% Range = 2 pts
• Wick > 65% Range = 3 pts (Hammer/Shooting Star)
D. CVD Divergence
2 pts
Checks if momentum contradicts price.
• Price Lows lower + Volume Flow Higher = +2 pts (Bullish Divergence)
E. Penalties
-3 pts
The Fakeout Killer:
• Buying on a Red Candle = -3 pts
• Selling on a Green Candle = -3 pts
3. Settings & Configuration
You can customize the strictness of the engine in the indicator settings menu.
A. Signal Precision
Minimum Score to Show (Default: 8)
8-12: "Sniper Mode." Shows only high-probability setups trading with the trend (VWAP aligned).
6-7: "Scout Mode." Shows counter-trend reversals and riskier scalps.
< 5: Not recommended (Too much noise).
Ignore Small Candles (ATR %) (Default: 0.5)
The "Churn Filter". It ignores any candle smaller than 50% of the average size.
Increase to 0.8 if you are getting too many signals during flat/choppy markets.
B. Volume Logic
Strict Volume (Default: ON)
When checked, the script blocks any signal with less than 2.0x average volume, regardless of the score. This ensures you only trade when Whales are actually present.
4. How to Read the Signals
🟢 Bullish Signal (Buy)
Symbol: Green Triangle below the bar.
Condition: Score ≥ 8. The Whale absorbed selling pressure (Wick) on high volume, likely creating a "Bear Trap."
Ideal Setup: Price is Above the Blue Line (VWAP) + Green Arrow.
Stop Loss: Just below the low of the signal candle (the wick).
🔴 Bearish Signal (Sell)
Symbol: Red Triangle above the bar.
Condition: Score ≥ 8. The Whale absorbed buying pressure (Wick) on high volume, likely creating a "Bull Trap."
Ideal Setup: Price is Below the Blue Line (VWAP) + Red Arrow.
Stop Loss: Just above the high of the signal candle.
🔵 Blue Line (VWAP)
This is your "Trend Anchor."
Do not Short if price is significantly above the Blue Line.
Do not Long if price is significantly below the Blue Line.
5. Troubleshooting / FAQ
Q: Why did a signal disappear?
A: The script repaints only during the live candle. Once a candle closes, the signal is permanent. If a signal vanishes before close, it means the volume or price action changed last second (e.g., the candle turned Red, triggering the -3 penalty).
Q: Why are there no signals on my chart?
A: You are likely in a low-volume period (Lunch hour / Late night). The Strict Volume filter is doing its job by keeping you out of dead markets. Alternatively, lower the Minimum Score to 6.
Q: Can I use this on 1-minute timeframes?
A: Yes, but increase the ATR Filter to 0.6 or 0.7 to filter out the micro-noise common on 1m charts.
Asia range + liquidity and PDH/PDLThis comprehensive ICT indicator automatically plots a fully customizable Asian Range with 'smart' liquidity rails that terminate on wick contact, alongside Previous Day High/Low (PDH/PDL) levels featuring a unique 'body-break' stop logic, all while offering complete style control and a 'clean history' mode to display only the current session's key levels."
Advanced Trend finder by S B PrasadAdvanced Trend finder – by S B Prasad
A Professional Multi-Engine Trend, Breakout & Scalping System
Advanced Trend Navigator is a powerful all-in-one trading indicator that fuses smart EMA trend detection, adaptive multi-filters, ribbon trend analysis, automatic trend channels, divergence detection, and built-in SL/Target projection into a single, visually intuitive system.
It is engineered for both scalpers and swing traders, with special optimization for 1-minute and 5-minute charts, while remaining highly reliable on higher timeframes.
🔹 What Makes This Indicator Unique?
Unlike single-logic indicators, Advanced Trend Navigator uses a dual-engine + structure-based approach:
EMA Smart Signal Engine → detects trend, reversals, and momentum shifts
Ribbon + Trend Channel Engine → confirms structure, breakouts, and continuation
Adaptive Filters + Divergence → remove noise and boost confidence
Risk Engine (SL/TP) → projects structured trade exits
This confluence-based design dramatically reduces false signals.
🔹 Core Features
1️⃣ Smart EMA Trend Engine
Dual EMA crossover system (Fast & Slow)
Automatic optimization for 1-minute timeframe
Detects:
Trend direction
Trend reversals
Momentum shifts
2️⃣ Multi-Layer Signal Filters
Signals are validated using a powerful adaptive filter stack:
Volume Filter (above-average volume confirmation)
RSI Filter with dynamic buy/sell thresholds
Bollinger Bands (overbought / oversold zones)
Momentum Filter (ROC-based strength detection)
Volatility Adaptation (ATR-based regime detection)
These filters dramatically reduce noise and false entries.
3️⃣ RSI Divergence Detection (1-Minute Optimized)
Bullish and bearish divergence detection
Automatic confidence boost when divergence appears
Helps identify early reversals and exhaustion zones
4️⃣ Enhanced Signal Logic
Signals are generated using a confluence of:
EMA crossovers
Candle direction
Volume + RSI + BB + Momentum
Divergence + trend-change logic
Separate logic is used for:
1-minute scalping
Higher-timeframe trend trading
5️⃣ Ribbon Trend System (CoraWave + LazyLine)
Advanced smoothed ribbon using:
CoraWave (fast line)
LazyLine (slow line)
Dynamic color-changing trend visualization
Ribbon fill highlights:
Strong bullish zones
Strong bearish zones
Neutral / transition phases
6️⃣ Automatic Trend Channel
Pivot-based dynamic trend channels
ATR-adjusted channel width
Auto-extended support & resistance structure
Visual map of evolving trend direction
7️⃣ Buy / Sell Breakout Signals (No-Spam Logic)
Signals only when:
Ribbon trend agrees
Price breaks channel boundaries
Built-in cooldown filter to prevent over-trading
Separate engine from EMA signals for dual confirmation
8️⃣ Built-In SL / Target Projection
Automatic Stop-Loss based on channel boundary
Risk-based Target 1 and Target 2 (R-multiples)
Dynamic plotting of:
SL line
Target 1 line
Target 2 line
9️⃣ Smart Time & Profit Projection
ATR-based time-to-move estimation
Dynamic profit potential estimation
Displays:
Expected move duration (minutes)
Approximate profit projection
🔟 Confidence Scoring System
Dynamic confidence % for each signal
Automatically increases when:
Divergence is detected
Bollinger extremes are triggered
🎨 Visual & Usability Features
Color-coded:
EMA lines
Ribbon trend
Trend channels
Background trend bias
Dynamic:
LONG / SHORT arrows
Signal labels with confidence + projection
Current trend status box
🔔 Alerts Included
EMA-based LONG / SHORT alerts
Ribbon fast/slow trend change alerts
Channel breakout BUY / SELL alerts
Alert messages include:
Symbol
Confidence %
Time projection
⚡ Recommended Presets
🟢 1-Minute Scalping
Fast EMA: 3 | Slow EMA: 8
Volume Filter: ON (1.1)
RSI: ON
Bollinger Bands: ON
Momentum: ON
Volatility Adaptation: ON
Ribbon: 10 / 3 / 15
Channel: Pivot 5 | ATR 14 | Width 1.5
Cooldown: 20
Targets: 1R & 2R
🔵 5-Minute Scalping (Author Preset)
Fast EMA: 5 | Slow EMA: 13
Volume Filter: ON (1.2)
RSI: OFF
Bollinger Bands: ON
Momentum: OFF
Volatility Adaptation: OFF
Ribbon: 12 / 3 / 18
Channel: Pivot 7 | ATR 14 | Width 1.7
Cooldown: 25
Targets: 1R & 2.5R
🟣 Swing Trading (15m–1H)
Fast EMA: 9 | Slow EMA: 21
Filters: All OFF
Ribbon: 15 / 5 / 25
Channel: Pivot 10 | ATR 14 | Width 2.0
Cooldown: 40
Targets: 1.5R & 3R
🎯 How to Trade This Indicator
BUY Setup:
Fast EMA > Slow EMA
Ribbon is green and rising
Price breaks above upper channel
Volume filter passes
Buy arrow appears
SELL Setup:
Fast EMA < Slow EMA
Ribbon is red and falling
Price breaks below lower channel
Volume filter passes
Sell arrow appears
❌ Avoid Trades When
Ribbon is flat or mixed colors
Channel is very narrow
Price is inside the channel
Volume filter fails
Market is extremely choppy
⚠️ Disclaimer
This indicator is a technical analysis tool, not financial advice.
Always use proper risk management and confirm signals with market context.
Past performance does not guarantee future results.
PERRY the close of the 8:30 candle with give you the highs and lows of the wicks all the way across your chart and will clear automatically the next day
Crypto Breadth - MAK% of top 100 Alts above 50 and 200 day moving averages, excluding BTC, ETH, Stables, LSTs
xrp, bnb, sol, doge, trx, ada, xlm, sui, bch, link, hbar, avax, uni, shib, ton, ltc, dot, pepe, aave, ondo, tao, wld, arb, near, icp, fil, etc, trump, op, pol, ena, render, bonk, xmr, zec, hype, mnt, sky, pump, ip
Crypto Breadth | MAKAlts (top 100 ex-BTC, ETH, stables, LSTs) 50DMA breadth:
xrp, bnb, sol, doge, trx, ada, xlm, sui, bch, link, hbar, avax, uni, shib, ton, ltc, dot, pepe, aave, ondo, tao, wld, arb, near, icp, fil, etc, trump, op, pol, ena, render, bonk, xmr, zec, hype, mnt, sky, pump, ip
Current Fractal High/Low (Dynamic) v2.3Current Fractal High/Low (Dynamic) v2.3 is an upgraded version of my original fractal HL tool.
It tracks the most recent swing fractal high/low and updates only after a true breakout, then lets the active levels follow the current extremes.
Features:
Dynamic fractal high/low levels that update only on confirmed breakouts
Optional historical fractal lines with adjustable length
Inline FH/FL labels on active levels
Multi–timeframe safe (arrays reset and bar index protected)
Breakout alerts for both fractal high and low
This script is the maintained successor of the free “Current Fractal High/Low (Dynamic)” (legacy version).
If you used the previous version, I recommend switching to this one and following my profile for future updates and tools.
EOB Area - Body Closes Prev Extreme + Opposite ColorEob detects enhanced order blocks
it will alert you
please use it wisely
more updates soon
Relative Value Percentile (RVP)Measures the percentage distance between price and its weekly trend and places that distance within its full historical distribution, allowing traders and investors to assess whether an asset is relatively cheap, fairly valued, extended, or expensive from a probabilistic perspective.
Linear Regression CVDHow to Read It:
Rising CVD: Aggressive buyers are in control (Market Buys > Market Sells).
Falling CVD: Aggressive sellers are in control (Market Sells > Market Buys).
Key Trading Strategy (Divergence):
The most powerful way to use CVD is to look for Divergences:
Bearish Divergence (Absorption): Price makes a New High, but CVD makes a Lower High.
Meaning: Price is rising, but aggressive buying power is drying up. Limit sellers are absorbing the buys. A reversal may be coming.
Bullish Divergence (Absorption): Price makes a New Low, but CVD makes a Higher Low.
Meaning: Price is dropping, but aggressive selling is weakening. Limit buyers are stepping in.
TBS Signals v2.6
## TBS Signals – Trend Based System
**TBS Signals** is a non-repainting trading indicator designed to assist traders in identifying potential buy and sell opportunities aligned with prevailing market trends.
The indicator focuses on capturing directional moves while minimizing signals during uncertain or low-quality market conditions.
---
### Key Characteristics
* Works as a **trend-following system**
* Designed to avoid sideways and low-momentum markets
* Generates signals only after candle close (no repainting)
* Suitable for discretionary and systematic traders
* Clean visual presentation with minimal chart clutter
---
### What It Provides
TBS Signals visually highlights:
* Potential **Buy** and **Sell** zones
* Trend direction guidance
* Areas where traders may look for continuation entries
The internal logic and calculations are proprietary and intentionally not disclosed.
---
### Recommended Markets & Timeframes
TBS Signals can be applied to:
* Forex
* Gold
* Indices
* Crypto
Recommended timeframes:
* Intraday: M15, M30, H1
* Swing: H4, D1
---
### Usage Notes
* Designed to be used with proper risk management
* Best results are achieved when combined with higher timeframe trend bias
* Avoid trading during major news events or extremely low volatility sessions
---
### Disclaimer
TBS Signals is a technical analysis tool and does not guarantee profits.
All trading involves risk. Users are responsible for their trading decisions.
---
This version:
✅ Hides your logic
✅ Passes TradingView moderation
✅ Builds user trust
✅ Keeps your IP safe
If you want, I can also:
* Create a **short version** (for compact display)
* Suggest a **strong title & tags**
* Or write a **description for selling later** without violating TradingView rules.
EMA 55 Cross + Retest BuyStrategy Overview: The "Breakout & Retest"
The 55-period EMA is widely considered a "mid-term" trend indicator. On a daily (1D) timeframe, it represents the average price of the last 11 weeks of trading.
Phase 1: The Bullish Breakout The script identifies when the price closes above the EMA 55. This indicates a potential shift from a bearish/neutral trend to a bullish one.
Phase 2: The Cooling Period (Window) The script starts a "lookback window" (defaulting to 7 days). It waits for the price to naturally pull back toward the moving average.
Phase 3: The Successful Retest The Buy Signal is triggered when the candle's Low touches or slightly pierces the EMA, but the Close remains above it. This shows that the EMA is acting as "Dynamic Support" and buyers are defending that level.
10-Straddle Strike Dashboard10-Straddle Strike Dashboard
this can be helpful in trending , sideways markets
200 EMA mit versetztem LabelThe 200 EMA Indicator is one of the most widely respected and frequently used technical analysis tools among traders across all markets.
Whether applied to stocks, cryptocurrencies, forex, or indices, the 200-period Exponential Moving Average serves as a
critical benchmark for identifying long-term trends, market direction, and key support and resistance levels. www.skool.com
This indicator is designed to provide traders with a clear, visually intuitive way to understand market structure and
make more informed trading decisions. By focusing on long-term price behavior rather than short-term noise, the 200
EMA helps filter out unnecessary signals and keeps traders aligned with the dominant trend.
What Is the 200 EMA?
The
Exponential Moving Average (EMA)
is a type of moving average that places greater weight on recent price data. This makes it more responsive to current
market conditions compared to a Simple Moving Average (SMA), which treats all historical prices equally.
The 200 EMA calculates the average price over the last 200 periods while emphasizing the most recent candles. Because of this long
lookback period, the 200 EMA is primarily used as a long-term trend indicator rather than a short-term trading signal.
Many professional traders and institutions consider the 200 EMA to be a dividing line between bullish and bearish
market conditions.
Why the 200 EMA Is So Important
The 200 EMA has gained its significance not by coincidence, but through decades of consistent use across financial
markets. Its importance lies in the way market participants collectively react to it.
Key reasons traders rely on the 200 EMA include:
It defines the
overall market trend
It acts as
dynamic support and resistance
It helps filter trades in the direction of higher probability
It provides objective structure in trending and ranging markets
When many traders observe the same level, it often becomes self-fulfilling. As a result, price reactions around the
200 EMA are frequently strong and meaningful.
How the 200 EMA Indicator Works
The indicator plots a single exponential moving average line calculated using 200 periods of price data. Because it
adapts dynamically to price movements, the 200 EMA smoothly follows long-term price direction without reacting
excessively to short-term volatility.
Trend Identification
Price above the 200 EMA
indicates a bullish market environment
Price below the 200 EMA
suggests a bearish market environment
This simple rule alone helps traders avoid counter-trend positions and focus on trades aligned with the broader market
direction.
Dynamic Support and Resistance
One of the most valuable characteristics of the 200 EMA is its role as
dynamic support and resistance.
In uptrends, price often pulls back toward the 200 EMA before continuing higher
In downtrends, price frequently rejects from the 200 EMA before moving lower
Unlike static horizontal levels, the 200 EMA adapts to changing market conditions, making it especially useful in
trending markets.
Trade Filtering and Strategy Alignment
The 200 EMA Indicator is commonly used as a
trade filter
rather than a standalone entry signal. By defining the dominant trend, it allows traders to:
Look for long setups only when price is above the 200 EMA
Look for short setups only when price is below the 200 EMA
Avoid low-probability trades against the prevailing market direction
This approach helps improve consistency and reduces emotional decision-making.
Multi-Timeframe Applicability
The 200 EMA works effectively on all timeframes:
Higher timeframes (Daily, Weekly):
Long-term market bias and macro trend
Medium timeframes (4H, 1H):
Swing trading and trend continuation setups
Lower timeframes (15m, 5m):
Intraday structure and directional filtering
Traders often combine the 200 EMA from higher timeframes with entries on lower timeframes to increase confluence and
confidence.
200 EMA mit versetztem LabelAll right—indexing Web 2.0 links is a very typical SEO use case. I'll show you realistically what works, what doesn't, and how you can build your own (semi-automatic) indexing tool without taking unnecessary risks.
chatgpt.com
Pivots + FVG + Liquidity Sweeps (Smart Entry)//@version=5
indicator("Pivots + FVG + Liquidity Sweeps (Smart Entry)", overlay=true, max_labels_count=500, max_boxes_count=500)
// ===== INPUTS =====
pivotLeft = input.int(5, "Pivot left bars", minval=1)
pivotRight = input.int(5, "Pivot right bars", minval=1)
sweepLookback = input.int(20, "Lookback for sweep detection (bars)")
sweepAtrMultiplier = input.float(1.0, "Sweep strength (ATR multiplier)")
fvg_max_age = input.int(200, "FVG box expiry (bars)")
show_pivots = input.bool(true, "Show pivot markers")
show_sweeps = input.bool(true, "Show liquidity sweeps")
show_fvgs = input.bool(true, "Show FVG boxes")
require_sweep_for_entry = input.bool(false, "Require recent sweep for smart entry")
confirmation_type = input.string("Bullish/Bearish Engulf", "Confirmation type", options= )
fvg_min_width = input.int(1, "Min FVG width (ticks)", minval=0)
// ===== ATR =====
atrLen = input.int(14, "ATR length")
atr = ta.atr(atrLen)
// ===== PIVOTS =====
ph = ta.pivothigh(high, pivotLeft, pivotRight)
pl = ta.pivotlow(low, pivotLeft, pivotRight)
if show_pivots
if not na(ph)
label.new(bar_index - pivotRight, ph, "PH", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
if not na(pl)
label.new(bar_index - pivotRight, pl, "PL", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
// ===== FVG STRUCT =====
type FVG
float top
float bottom
int born_bar
bool bullish
var FVG fvgs = array.new()
var box fvgBoxes = array.new()
// ===== FVG DETECTION =====
if barstate.isconfirmed
prevHigh = high
prevLow = low
if low > prevHigh and (low - prevHigh) >= syminfo.mintick * fvg_min_width
array.push(fvgs, FVG.new(low, prevHigh, bar_index, true))
if high < prevLow and (prevLow - high) >= syminfo.mintick * fvg_min_width
array.push(fvgs, FVG.new(prevLow, high, bar_index, false))
// cleanup old FVGs
for i = array.size(fvgs) - 1 to 0
f = array.get(fvgs, i)
if bar_index - f.born_bar > fvg_max_age
array.remove(fvgs, i)
// ===== DRAW FVG BOXES =====
if show_fvgs
for i = 0 to array.size(fvgBoxes) - 1
box.delete(array.get(fvgBoxes, i))
array.clear(fvgBoxes)
for i = 0 to array.size(fvgs) - 1
f = array.get(fvgs, i)
col = f.bullish ? color.new(color.green, 85) : color.new(color.red, 85)
bx = box.new(f.born_bar, f.top, bar_index, f.bottom, bgcolor=col, border_width=0)
array.push(fvgBoxes, bx)
// ===== LIQUIDITY SWEEPS =====
var int lastBullSweepBar = na
var int lastBearSweepBar = na
priorHigh = ta.highest(high , sweepLookback)
priorLow = ta.lowest(low , sweepLookback)
bullSweep = high > priorHigh + sweepAtrMultiplier * atr and close < priorHigh
bearSweep = low < priorLow - sweepAtrMultiplier * atr and close > priorLow
if barstate.isconfirmed
if bullSweep
lastBullSweepBar := bar_index
if show_sweeps
label.new(bar_index, high, "Bull Sweep", style=label.style_label_down, color=color.orange, textcolor=color.white, size=size.small)
if bearSweep
lastBearSweepBar := bar_index
if show_sweeps
label.new(bar_index, low, "Bear Sweep", style=label.style_label_up, color=color.orange, textcolor=color.white, size=size.small)
// ===== CONFIRMATION =====
isBullEngulf() => close > open and open < close and close > open
isBearEngulf() => close < open and open > close and close < open
isAnyBull() => close > open
isAnyBear() => close < open
// ===== SMART ENTRY =====
for i = array.size(fvgs) - 1 to 0
f = array.get(fvgs, i)
inFvg = close <= f.top and close >= f.bottom
if inFvg
okSweep = true
if require_sweep_for_entry
okSweep := f.bullish ? (not na(lastBullSweepBar) and bar_index - lastBullSweepBar <= sweepLookback) : (not na(lastBearSweepBar) and bar_index - lastBearSweepBar <= sweepLookback)
if okSweep
confirm = confirmation_type == "Bullish/Bearish Engulf" ? (f.bullish ? isBullEngulf() : isBearEngulf()) : confirmation_type == "Close Above/Below FVG" ? (f.bullish ? close > f.top : close < f.bottom) : (f.bullish ? isAnyBull() : isAnyBear())
if confirm
if f.bullish
label.new(bar_index, low, "Smart Long", style=label.style_label_up, color=color.lime, textcolor=color.black, size=size.normal)
else
label.new(bar_index, high, "Smart Short", style=label.style_label_down, color=color.fuchsia, textcolor=color.white, size=size.normal)
break
AURIX SMC AURIX SMC is a professional indicator based on the Smart Money Concept, specifically designed for trading Gold (XAUUSD).
Features of the indicator:
• BOS (Break of Structure) and CHoCH (Change of Character)
• High-precision Buy and Sell signals
• Smart trend filtering
• No Repaint
• Suitable for Prop Firm accounts
Recommended Timeframes:
M1 – M5 – M15 – M30
Market:
XAUUSD (Gold)
Note: This is an Invite-Only indicator.
To subscribe, contact me.






















