📈 Price Crossed Above 50 SMA (One-Time Marker)//@version=5
indicator("📈 Price Above 50 SMA Marker", overlay=true)
// === Calculate 50 SMA ===
sma50 = ta.sma(close, 50)
priceAboveSMA50 = close > sma50
// === Plot the 50 SMA ===
plot(sma50, title="50 SMA", color=color.orange, linewidth=2)
// === Plot Shape When Price Is Above 50 SMA ===
plotshape(
priceAboveSMA50, // condition to trigger
title="Price Above 50 SMA", // tooltip title
location=location.abovebar, // place above candle
color=color.green, // shape color
style=shape.triangleup, // shape style
size=size.small, // size
text="SMA+" // optional label
)
المؤشرات والاستراتيجيات
3-bar Swing Liquidity Grab📊 3-BAR SWING LIQUIDITY GRAB
WHAT IT DOES
Automatically detects 3-bar swing highs/lows and alerts you to liquidity grab moments — when price breaks structural levels to trigger stop-losses, then reverses.
SIGNALS AT A GLANCE
Signal What It Means Trade Idea
SH 🟠▼ Swing High (Resistance) Reference level
SL 🔵▲ Swing Low (Support) Reference level
LQH 🔴❌ Fake break ABOVE resistance SHORT ⬇️
LQL 🟢❌ Fake break BELOW support LONG ⬆️
HOW TO TRADE IT
Spot the trend — Is price going up or down?
Wait for signal — LQL (green) in uptrend, LQH (red) in downtrend
Enter on signal — Place order on that bar
Stop Loss — Just outside the swing level
Take Profit — At the next swing level
SETTINGS EXPLAINED
Swing length: 1 = 3-bar swing, 2 = 5-bar swing (use 1 for scalp, 2 for larger TF)
Lookback bars: Time window to find liquidity grabs (10-20 for scalp, 50+ for position)
Toggles: Show/hide swing markers and signals
BEST ON THESE TIMEFRAMES
TF Type Settings
M5-M15 Scalp SL: 1, LB: 10-15
M15-H1 Intraday SL: 1, LB: 15-20
H1-H4 Swing SL: 1-2, LB: 20-50
D+ Position SL: 2, LB: 50+
KEY RULES
✅ DO:
Trade signals aligned with major trend
Always use stop loss
Use 2-5% risk per trade
Confirm with price action
❌ DON'T:
Trade choppy/sideways markets
Ignore the trend
Chase signals
Overtrade
REAL EXAMPLE
LONG Trade (LQL Signal):
text
Uptrend → Swing Low forms at 1.0950
→ Price dips to 1.0930 (below SL)
→ Closes at 1.0955 (above SL) = GREEN ❌ (LQL)
→ BUY at 1.0960
→ Stop Loss: 1.0920
→ Take Profit: 1.1050 (previous Swing High)
WORKS ON
✅ Crypto (Bitcoin, Ethereum, Altcoins)
✅ Forex (EUR/USD, GBP/USD, etc.)
✅ Stocks & Indices
✅ Commodities (Gold, Oil, etc.)
Any asset, any timeframe, any market.
DISCLAIMER
This is a technical analysis tool, not financial advice. Past performance does not guarantee future results. Always use proper risk management and test on a demo account first.
Institutional VWAP Suite (Lite Compatible)The **Institutional VWAP Suite (Lite Compatible)** brings true institutional volume-weighted price analysis to every trader — even on TradingView Lite/Free accounts where standard VWAP tools are restricted.
This script recreates the most important VWAP models used by banks, funds, and high-frequency desks, including:
• **Daily VWAP** (exchange-accurate)
• **Weekly VWAP** (manually accumulated)
• **Monthly VWAP** (manually accumulated)
• **Rolling Window VWAP** (array-based, fully Lite-compatible)
All calculations avoid blocked functions like `ta.sum` or session-restricted VWAP calls. Everything is built manually from volume and price to ensure accuracy across all accounts and all markets.
### Features
• Multi-timeframe VWAPs (Daily/Weekly/Monthly)
• Manual Rolling VWAP with adjustable length
• Optional VWAP bands (Lite-safe)
• Clean visuals with color-coded levels
• Optimized arrays for fast, stable performance
• Free-tier compatible — no premium functions required
This tool is designed for traders who want institutional structure, premium-level VWAP calculations, and consistent execution regardless of plan level. Perfect for scalpers, day traders, futures traders, and anyone who uses intraday volume profiles.
### Recommended Use
• Map directional bias using Daily vs Weekly VWAP
• Use Monthly VWAP for macro trend context
• Track intraday mean reversion with Rolling VWAP
• Use VWAP bands as dynamic support/resistance zones
A simple, powerful, no-restrictions VWAP engine — built for everyone.
Pivot Hourly x EMA RibbonHourly Fibonacci Pivot + EMA is an intraday analysis tool that combines hourly Fibonacci-based pivot levels with exponential moving averages (EMAs). It is designed to help traders visualize potential intraday support/resistance zones and short-term trend direction on any timeframe.
The indicator calculates pivot levels from hourly price data and then projects Fibonacci extensions and retracements around a central pivot. These levels can be used to see where price has previously reacted and where future reactions may occur. The EMAs provide an additional layer of context by highlighting the prevailing short-term trend and momentum.
Key features:
Hourly Fibonacci pivot levels (support and resistance zones derived from hourly ranges)
Multiple Fibonacci bands to show potential reaction areas above and below the central pivot
One or more configurable EMAs to show short-term trend direction and dynamic support/resistance
Works on all symbols and intraday timeframes supported by TradingView
Typical use:
Monitor how price behaves when approaching or rejecting Fibonacci pivot levels
Look for confluence between pivot zones and EMA direction or EMA bounces
Use the levels as potential areas of interest for trade planning, stop placement, or partial profit zones within your own trading system
Also have "C" Label it's mean Candle for example C1 is First Candle of the source timeframe, if the source timeframe set to 4 Hour it will be the first 4h candle, the C2 is the second 4h candle of the day.
This script is intended purely as a technical analysis tool and does not generate buy/sell signals or guarantee any particular outcome. It is not financial advice. Always combine it with your own analysis, risk management, and trading plan before making any trading decisions.
TWAP OscillatorIts an oscillator for the daily TWAP, anchored from 14:59:30CT which is the settlement time for the SP500 and Emini500. There are 5 deviations ranges for the oscillator matching the 5 deviations from the other Daily TWAP script. The RSI colors the line, I stole the RSI coloring from ChartPrime, thanks.
EMA Signals + HTF S/R + Diagonal (5-15m)Описание на русском
Скрипт строит две экспоненциальные скользящие средние (быструю и медленную EMA), а также SMA20 и SMA50, и использует их для генерации пошаговых сигналов входа. При пересечении EMA9 и EMA12 вверх выше SMA20 под свечой появляется зелёный круг, а когда после этого обе EMA оказываются выше SMA50, под ценой появляется плашка LONG; аналогично при пересечении вниз ниже SMA20 рисуется красный круг над свечой, и после ухода EMA под SMA50 формируется плашка SHORT.
Горизонтальные зоны поддержки и сопротивления вычисляются по пивотам старшего таймфрейма (по умолчанию 1 час) через request.security, каждая зона рисуется прямоугольником на графике и сопровождается подписью с ценой уровня и текущим количеством касаний ценой (Touches: N), которое считается на активном ТФ. Дополнительно скрипт строит одну диагональную линию поддержки: она протягивается от последнего ключевого минимума (pivot low с заданной «силой») к текущей цене и динамически обновляется при появлении нового важного минимума, рядом с линией отображается подпись Trend.
Description in English
This script combines EMA‑based signals, dynamic higher‑timeframe support/resistance zones, and a diagonal trendline from the latest key swing low. It plots two exponential moving averages (fast and slow EMA) along with SMA20 and SMA50, and uses them to create step‑by‑step entry signals: when EMA9 crosses above EMA12 while both are above SMA20, a green circle is shown below the bar, and once both EMAs move above SMA50 after that, a LONG label is printed below price; conversely, when EMA9 crosses below EMA12 while both are below SMA20, a red circle appears above the bar, and after both EMAs move below SMA50, a SHORT label is displayed above price.
Horizontal support and resistance zones are derived from pivot highs and lows on a higher timeframe (1‑hour by default) using request.security; each zone is drawn as a rectangle on the chart and annotated with the level price and the current number of touches by price (Touches: N), counted on the active timeframe. In addition, the script plots a single diagonal support line from the most recent key swing low (pivot low with configurable strength) towards the current price, updating it whenever a new important low appears, and shows a small “Trend” label near this line
SDFADE nuvolébasic script to signal mean reversions and alert fades when stretched to +/-2.5VWAP Standard Deviation
MACD Above Signal & Price Above VWAP IndicatorThis strategy provides a buy signal with a green arrow pointing up when three conditions are met. The MACD has to be above the signal line. The settings for MACD can be adjusted, but the default is the standard settings for MACD. The second condition is the price has to be above the VWAP line. The third condition is that the price of the current candle needs to be higher than the HIGH price of the previous candle.
自定义时间竖线(北京时间) Custom Time Vertical (Beijing Time)Custom Time Vertical (Beijing Time)
Just use it to find whatever time period you want. HF!
标注出想要的时间段,使对交易时间段敏感的trader复盘更轻松。
Position Size Tool [Riley]Automatically determine number of shares for an entry. Quantity based on a stop set at the low of day for long positions or a stop set at the high of the day for short positions. As well as inputs like account balance risk per trade. Also includes a user-defined maximum for percentage of daily dollar volume to consume with entry.
Probability Cone█ Overview:
Probability Cone is based on the Expected Move . While Expected Move only shows the historical value band on every bar, probability panel extend the period in the future and plot a cone or curve shape of the probable range. It plots the range from bar 1 all the way to bar 31.
In this model, we assume asset price follows a log-normal distribution and the log return follows a normal distribution.
Note: Normal distribution is just an assumption; it's not the real distribution of return.
The area of probability range is based on an inverse normal cumulative distribution function. The inverse cumulative distribution gives the range of price for given input probability. People can adjust the range by adjusting the standard deviation in the settings. The probability of the entered standard deviation will be shown at the edges of the probability cone.
The shown 68% and 95% probabilities correspond to the full range between the two blue lines of the cone (68%) and the two purple lines of the cone (95%). The probabilities suggest the % of outcomes or data that are expected to lie within this range. It does not suggest the probability of reaching those price levels.
Note: All these probabilities are based on the normal distribution assumption for returns. It's the estimated probability, not the actual probability.
█ Volatility Models :
Sample SD : traditional sample standard deviation, most commonly used, use (n-1) period to adjust the bias
Parkinson : Uses High/ Low to estimate volatility, assumes continuous no gap, zero mean no drift, 5 times more efficient than Close to Close
Garman Klass : Uses OHLC volatility, zero drift, no jumps, about 7 times more efficient
Yangzhang Garman Klass Extension : Added jump calculation in Garman Klass, has the same value as Garman Klass on markets with no gaps.
about 8 x efficient
Rogers : Uses OHLC, Assume non-zero mean volatility, handles drift, does not handle jump 8 x efficient.
EWMA : Exponentially Weighted Volatility. Weight recently volatility more, more reactive volatility better in taking account of volatility autocorrelation and cluster.
YangZhang : Uses OHLC, combines Rogers and Garmand Klass, handles both drift and jump, 14 times efficient, alpha is the constant to weight rogers volatility to minimize variance.
Median absolute deviation : It's a more direct way of measuring volatility. It measures volatility without using Standard deviation. The MAD used here is adjusted to be an unbiased estimator.
You can learn more about each of the volatility models in out Historical Volatility Estimators indicator.
█ How to use
Volatility Period is the sample size for variance estimation. A longer period makes the estimation range more stable less reactive to recent price. Distribution is more significant on larger sample size. A short period makes the range more responsive to recent price. Might be better for high volatility clusters.
People usually assume the mean of returns to be zero. To be more accurate, we can consider the drift in price from calculating the geometric mean of returns. Drift happens in the long run, so short lookback periods are not recommended.
The shape of the cone will be skewed and have a directional bias when the length of mean is short. It might be more adaptive to the current price or trend, but more accurate estimation should use a longer period for the mean.
Using a short look back for mean will make the cone having a directional bias.
When we are estimating the future range for time > 1, we typically assume constant volatility and the returns to be independent and identically distributed. We scale the volatility in term of time to get future range. However, when there's autocorrelation in returns( when returns are not independent), the assumption fails to take account of this effect. Volatility scaled with autocorrelation is required when returns are not iid. We use an AR(1) model to scale the first-order autocorrelation to adjust the effect. Returns typically don't have significant autocorrelation. Adjustment for autocorrelation is not usually needed. A long length is recommended in Autocorrelation calculation.
Note: The significance of autocorrelation can be checked on an ACF indicator.
ACF
Time back settings shift the estimation period back by the input number. It's the origin of when the probability cone start to estimation it's range.
E.g., When time back = 5, the probability cone start its prediction interval estimation from 5 bars ago. So for time back = 5 , it estimates the probability range from 5 bars ago to X number of bars in the future, specified by the Forecast Period (max 1000).
█ Warnings:
People should not blindly trust the probability. They should be aware of the risk evolves by using the normal distribution assumption. The real return has skewness and high kurtosis. While skewness is not very significant, the high kurtosis should be noticed. The Real returns have much fatter tails than the normal distribution, which also makes the peak higher. This property makes the tail ranges such as range more than 2SD highly underestimate the actual range and the body such as 1 SD slightly overestimate the actual range. For ranges more than 2SD, people shouldn't trust them. They should beware of extreme events in the tails.
The uncertainty in future bars makes the range wider. The overestimate effect of the body is partly neutralized when it's extended to future bars. We encourage people who use this indicator to further investigate the Historical Volatility Estimators , Fast Autocorrelation Estimator , Expected Move and especially the Linear Moments Indicator .
The probability is only for the closing price, not wicks. It only estimates the probability of the price closing at this level, not in between.
Structure Analysis + Hammer Alert# Structure Resistance + Hammer Alert
## 📊 Indicator Overview
This indicator integrates Structure Breakout Analysis with Candlestick Pattern Recognition, helping traders identify market trend reversal points and strong momentum signals. Through visual markers and background colors, you can quickly grasp the bullish/bearish market structure.
---
## 🎯 Core Features
### 1️⃣ Structure Resistance System
- Auto-plot Previous High/Low: Automatically marks key support/resistance based on pivot points
- Structure Breakout Detection: Shows "BULL" when price breaks above previous high, "BEAR" when breaking below previous low
- Trend Background Color: Green background for bullish structure, red background for bearish structure
### 2️⃣ Bullish Momentum Candles (Hammer Patterns)
Detects candles with long lower shadows, indicating strong buying pressure at lows:
- 💪Strong Bull (Bullish Hammer): Green marker, bullish close with significant lower shadow
- 💪Weak Bull (Bearish Hammer): Teal marker, bearish close but strong lower shadow
### 3️⃣ Bearish Momentum Candles (Inverted Hammer/Shooting Star)
Detects candles with long upper shadows, indicating strong selling pressure at highs:
- 💪Weak Bear (Bullish Inverted Hammer): Orange marker, bullish close but significant upper shadow
- 💪Strong Bear (Shooting Star): Red marker, bearish close with significant upper shadow
### 4️⃣ Smart Marker Sizing
Markers automatically adjust size based on current trend:
- With-Trend Signals: Larger markers (e.g., hammer in bullish trend)
- Counter-Trend Signals: Smaller markers (e.g., shooting star in bullish trend)
- Neutral Trend: Medium-sized markers
---
## ⚙️ Parameter Settings
### Structure Resistance Parameters
- Swing Length: Default 5, higher values = clearer structure but fewer signals
- Show Lines/Labels: Toggle on/off options
### Bullish Momentum (Hammer) Parameters
- Lower Shadow/Body Ratio: Default 2.0, lower shadow must be 2x body size
- Upper Shadow/Body Ratio Limit: Default 0.2, upper shadow cannot be too long
- Body Position Ratio: Default 2.0, ensures body is at the top of candle
### Bearish Momentum (Inverted Hammer) Parameters
- Upper Shadow/Body Ratio: Default 2.0, upper shadow must be 2x body size
- Lower Shadow/Body Ratio Limit: Default 0.2, lower shadow cannot be too long
- Body Position Ratio: Default 2.0, ensures body is at the bottom of candle
### Filter & Display Settings
- Minimum Body Size: Filters out doji-like candles with tiny bodies
- Pattern Type Toggles: Show/hide different pattern types individually
- Background Transparency: Adjust background color intensity (higher = more transparent)
- Label Distance: Adjust marker distance from candles
---
## 📈 Usage Guidelines
### Trading Signal Interpretation
**Long Signals (Strongest to Weakest):**
1. Bullish Structure + Bullish Hammer (💪Strong Bull) → Strongest long signal
2. Bullish Structure + Bearish Hammer (💪Weak Bull) → Secondary long signal
3. Bearish Structure + Hammer → Potential reversal signal
**Short Signals (Strongest to Weakest):**
1. Bearish Structure + Shooting Star (💪Strong Bear) → Strongest short signal
2. Bearish Structure + Bullish Inverted Hammer (💪Weak Bear) → Secondary short signal
3. Bullish Structure + Shooting Star → Potential reversal signal
### Practical Tips
✅ Trend Following: Prioritize large marker signals (aligned with trend)
✅ Structure Confirmation: Wait for structure breakout before entry to avoid false breaks
✅ Multiple Timeframes: Confirm trend direction with higher timeframes
⚠️ Counter-Trend Caution: Small marker signals (counter-trend) require stricter risk management
---
## 🔔 Alert Setup
This indicator provides 9 alert conditions:
- Individual Patterns: Bullish Hammer, Bearish Hammer, Bullish Inverted Hammer, Shooting Star
- Combined Signals: Bullish Momentum, Bearish Momentum, Bull/Bear Momentum
- Structure Breakouts: Bullish Structure Break, Bearish Structure Break
---
## 💡 FAQ
**Q: Why do hammers sometimes appear without markers?**
A: Check "Minimum Body Size" setting - the candle body may be too small and filtered out
**Q: Too many or too few markers?**
A: Adjust "Lower Shadow/Body Ratio" or "Upper Shadow/Body Ratio" parameters - higher ratios = stricter conditions
**Q: How to see only the strongest signals?**
A: Disable "Bearish Hammer" and "Bullish Inverted Hammer", keep only "Bullish Hammer" and "Shooting Star"
**Q: Can it be used on all timeframes?**
A: Yes, but recommended for 15-minute and higher timeframes - shorter timeframes have more noise
---
## 📝 Disclaimer
⚠️ This indicator is a supplementary tool and should be used with other technical analysis methods
⚠️ Past performance does not guarantee future results - always practice proper risk management
⚠️ Recommended to test on demo account before live trading
---
**Version:** Pine Script v6
**Applicable Markets:** Stocks, Futures, Cryptocurrencies, and all markets
USD Liquidity / FX Swap + Money Market StressThis indicator shows, in a simple way, how tight or loose USD liquidity is. It combines two things: signs of stress in the FX market (Fed swap lines + dollar strength) and signs from the money market (the difference between repo rates like SOFR/TGCR and the Fed’s IORB rate). All of this is merged into a single blue line: when it rises, liquidity tends to be more abundant; when it falls, there is more stress and the dollar becomes “expensive” to obtain.
You read it like a traffic light:
If the background is red, the indicator is below the lower threshold → liquidity stress, an environment that is more prone to sell-offs and violent moves in risk assets (including crypto).
If the background is green, the indicator is above the upper threshold → more relaxed liquidity, a backdrop that is more favorable for risk rallies to be sustained.
No background color → neutral zone, neither very good nor very bad: you trade according to your usual system.
It is designed as a macro context filter, not as a buy/sell signal. In red, it makes sense to be more defensive with risk and leverage; in green, if your technical system gives a long signal, you have a somewhat more favorable tailwind. It should always be used together with other tools and strict risk management.
VPOCS ZScoreAn indicator Showing Candle POC's.
Added a Zscore Filter to filter out the High volume candle's.
I like to use at Key Support and resistance Area's to see Absorbtion and Offside positions only on High volume Candles ( The high volume candle part is Key! ). Thoose candles Generally indicate forced participants opening or closing positions, or "Breakout traders entering" positions. When i see a Hi-Volume at S/R levels and price is rejecting ( trading away from the POC ) ill take that as a trigger for a trade.
- Dynamic Support and resistance.
- Show Offside and and Trapped traders
You can tweak the Zscore nominator for Less of more Frequent hits.
Easy Crypto Signal FREEAs you can see, the indicator is doing well, we'll see what happens next, I invite you to the discussion
WSMR v3.9 — WhaleSplash → Mean Reversal
# WSMR v3.9 — WhaleSplash → Mean Reversal
*A Non-Repainting Impulse‑Reversal Engine for Systematic Futures Trading*
## Overview
WSMR v3.9 is a complete impulse → exhaustion → mean‑reversion framework designed for systematic intraday trading. It identifies high‑energy displacement events (“WhaleSplashes”), measures volatility structure, tracks VWAP deviation, and confirms reversals using RSI divergence, Z‑Score resets, SMA20 reclaim, and pivot-based structure.
All signals are non‑repainting and alerts fire on bar close.
---
## Core Components
### 1. WhaleSplash (Short Impulse Event)
Triggered when a candle meets displacement conditions:
- Large bar range vs ATR
- Minimum % move
- Volume expansion
- VWAP deviation (tick-based)
- Z‑Score oversold / RSI exhaustion
- Volatility-gated
### 2. Mean Reversal Long (MR)
Requires:
- RSI bullish divergence
- Z‑Score reset
- SMA20 reclaim
- Higher-low confirmation
### 3. First-Candle Confirmation (Optional)
- MR Confirm → first green after MR
- WS Confirm → first red after WS
- TTL window configurable
### 4. Asia Session Filter
Optional restriction to:
**23:00 → 09:00 UTC**
### 5. Volatility Monitor
Detects:
- Normal
- Wicky
- Spiky
- Extreme
### 6. WS Frequency Analytics
Rolling frequency calculation across:
- Bars / Days / Weeks / Months
---
## Status Panel (Top-Right)
Shows:
- Mode (Global / Asia-only)
- Timeframe + TTL
- WS frequency
- Volatility state
---
## Alerts
- WhaleSplash SHORT
- WhaleSplash LONG (MR)
- MR Confirm LONG
- WS Confirm SHORT
- Volatility Warning
---
## Notes
- Fully non‑repainting
- Stable bar-close logic
- Optimised for 1m–5m
- Works on futures, indices, metals, FX
Breakout Signal (Trend+ATR+ADX+Score)Breakout Signal – Trend + ATR + ADX + Strength Score
This indicator detects high-quality bullish breakout conditions using a multi-filter confirmation system designed to reduce false signals and highlight only strong momentum events.
A breakout signal triggers when all core conditions align:
📌 Breakout Conditions
1. Price Breakout
Breakout occurs when the current high exceeds the previous close by X%.
This avoids noisy open-based signals and focuses on genuine upward expansion.
2. Volume Spike
Current volume must be higher than the average volume × multiplier.
This ensures the breakout is supported by real trading activity.
3. Trend Filter (MA)
Price must be trading above a moving average.
This prevents counter-trend breakouts and focuses on momentum continuation.
4. ATR Rising
ATR must be rising relative to its own moving average.
A rising ATR confirms volatility expansion — a key ingredient of valid breakouts.
5. ADX Trend Strength
ADX must exceed a user-defined threshold (default: 20).
This confirms the market is in a strong trend environment, reducing false signals.
⭐ Breakout Strength Score (0–5)
Each of the 5 filters contributes 1 point:
Trend OK
Volume Spike
ATR Rising
ADX Strong
Price Breakout
A score label appears on valid breakouts:
5/5 → Very strong breakout
4/5 → Strong breakout
3/5 → Moderate breakout
0–2 → Weak / avoided signals
Weeknights Guppy Trend Strength OscillatorBuilt a Guppy Oscillator which takes 22 different EMA's and uses an ATR to provide slope normalisation. The goal is to help the user determine strength of trend and see if momentum is slowing
On its own I doubt it will provide a full trading system but I believe it can help provide confluence to ones trading decisions
Left it open source
BigCandleAndRSIAlertChanges Candle Color to your choosing for Big Candles or Big Wick Candles or Over Bought/Oversold RSI Levels.






















