Bearish Breakaway Dual Session-FVGInspired by the FVG Concept:
This indicator is built on the Fair Value Gap (FVG) concept, with a focus on Consolidated FVG. Unlike traditional FVGs, this version only works within a defined session (e.g., ETH 18:00–17:00 or RTH 09:30–16:00).
See the Figure below as an example:
Bearish consolidated FVG & Bearish breakaway candle
Begins when a new intraday high is printed. After that, the indicator searches for the 1st bearish breakaway candle, which must have its high below the low of the intraday high candle. Any candles in between are part of the consolidated FVG zone. Once the 1st breakaway forms, the indicator will shades the candle’s range (high to low). Then it will use this candle as an anchor to search for the 2nd, 3rd, etc. breakaways until the session ends.
Session Reset: Occurs at session close.
Repaint Behavior:
If a new intraday (or intra-session) high forms, earlier breakaway patterns are wiped, and the system restarts from the new low.
Counter:
A session-based counter at the top of the chart displays how many bullish consolidated FVGs have formed.
Settings
• Session Setup:
Choose ETH, RTH, or custom session. The indicator is designed for CME futures in New York timezone, but can be adjusted for other markets.
If nothing appears on your chart, check if you loaded it during an inactive session (e.g., weekend/Friday night).
• Max Zones to Show:
Default = 3 (recommended). You can increase, but 3 zones are usually most useful.
• Timeframe:
Best on 1m, 5m, or 15m. (If session range is big, try higher time frame)
Usage:
See this figure as an example
1. Avoid Trading in Wrong Direction
• No Bearish breakaway = No Short trade.
• Prevents the temptation to countertrade in strong uptrends.
2. Catch the Trend Reversal
• When a bearish breakaway appears after an intraday high, it signals a potential reversal.
• You will need adjust position sizing, watch out liquidity hunt, and place stop loss.
• Best entries of your preferred choices: (this is your own trading edge)
Retest
Breakout
Engulf
MA cross over
Whatever your favorite approach
• Reversal signal is the strongest when price stays within/below the breakaway candle’s
range. Weak if it breaks above.
3. Higher Timeframe Confirmation
• 1m can give false reversals if new lows keep forming.
• 5m often provides cleaner signals and avoids premature reversals.
Summary
This indicator offers 3 main advantages:
1. Prevents wrong-direction trades.
2. Confirms trend entry after reversal signals.
3. Filters false positives using higher timeframes.
Failed example:
Usually happen if you are countering a strong trend too early and using 1m time frame
Last Mention:
The indicator is only used for bearish side trading.
Göstergeler ve stratejiler
Volume Spike Strategy - Black GUIA volume spike strategy that buys when the volume is 150% above the 20-day average and the price is increasing.
The strategy uses a black-themed GUI for better visibility.
You can customize the volume spike multiplier and the length of the volume moving average using the input parameters.
This strategy is effective for identifying potential breakout points in the market. Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
ADX with DI+/- Crossover StrategyAn ADX-based strategy that buys when the DI+ line crosses above the DI- line with the ADX above a specified threshold (default 25), and sells when the opposite occurs.
The strategy features a black-themed GUI for enhanced visibility.
You can adjust the ADX length and threshold using the input parameters.
This strategy is useful for identifying strong trends in the market.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
Parabolic SAR Trend Following - Black GUIA Parabolic SAR-based strategy that buys when the SAR dots are below the price and sells when they are above.
The strategy uses a black-themed GUI for better visibility.
You can customize the input parameters for the SAR calculation.
This strategy is effective for trending markets.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
MACD Signal Line Crossover - Black GUIA MACD-based strategy that buys when the MACD line crosses above the signal line and sells when it crosses below.
The strategy uses a black-themed GUI for better visibility.
You can customize the lengths of the MACD and signal line using the input parameters.
This strategy is effective for identifying trend changes and momentum shifts in the market.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
Multi Stoch + VWAP Heatmap + Histogram + ScalpingThis indicator was developed by referencing various indicators from many contributors. I apologize that I cannot identify all the original authors due to the numerous sources referenced. Thank you to everyone who contributed to the trading community.
Important Notice: Please use this indicator with sufficient caution and proper risk management. I do not assume any responsibility for any losses incurred from using this indicator. Trade at your own risk.
Alternative version:
Acknowledgment & Disclaimer:
This indicator incorporates ideas and concepts from numerous community indicators. I sincerely apologize for not being able to properly credit all the original creators due to the extensive references used. My heartfelt gratitude goes out to all the talented developers in the trading community.
Risk Warning: Please exercise extreme caution when using this indicator. All trading involves substantial risk of loss, and I accept no liability for any financial losses that may result from the use of this indicator. Always implement proper risk management and trade responsibly.
Multi Stoch + VWAP Heatmap + Histogram + Scalping Usage Guide
🔧 Basic Settings
Parameter Settings (Recommended for XAU/USD)
Fast Stoch Length: 5 # Ultra-short term trend
Medium Stoch Length: 14 # Short term trend
Slow Stoch Length: 21 # Medium term trend
%K Smoothing: 2 # High sensitivity setting
%D Smoothing: 2 # High sensitivity setting
Overbought Level: 75 # Sell zone
Oversold Level: 25 # Buy zone
📈 Reading the Chart
1. Histogram (Background Bar Chart)
Green tones: Strong uptrend
Red tones: Strong downtrend
Gray: Trendless/neutral
2. Line Display
Blue lines: Ultra-short term Stochastic (K1/D1)
Orange lines: Short term Stochastic (K2/D2)
Purple lines: Medium term Stochastic (K3/D3)
Yellow line: VWAP (normalized)
3. Horizontal Lines
Upper line (75): Sell zone
Center line (50): Neutral line
Lower line (25): Buy zone
🎯 Signal Types and Meanings
Scalping Signals (● marks)
Green ● (bottom): 📈 Scalp buy entry
RSI(7) < 25 + K1 < 30 combination
VWAP bounce targeting
Red ● (top): 📉 Scalp sell entry
RSI(7) > 75 + K1 > 70 combination
VWAP rejection targeting
Main Trend Signals
▲ (large, green): 💪 Strong buy signal - Multiple conditions aligned
▼ (large, red): 💪 Strong sell signal - Multiple conditions aligned
△ (medium, green): 📈 Normal buy signal
▽ (medium, orange): 📉 Normal sell signal
Warning/Reversal Signals
▼ (pink): ⚠️ Sell warning - Trend reversal caution
△ (teal): ⚠️ Buy warning - Trend reversal caution
Cross Signals (● marks, positioned up/down)
Green ● (bottom): Histogram crosses above VWAP
Red ● (top): Histogram crosses below VWAP
🚀 Practical Usage
Scalping Strategy (1-5 minute charts recommended)
Entry: Enter on green ● or red ● signals
Take Profit: At opposite zone or next ● signal
Stop Loss: Around 10-15 pips (for gold)
Time Session: London-NY overlap optimal
Swing Trading Strategy (15min-1hour charts)
Entry: Strong ▲▼ signals
Take Profit: Opposite warning signals (▼△)
Stop Loss: VWAP reverse break or 30-50 pips
Day Trading Strategy (5-15 minute charts)
Trend Confirmation: Histogram color
Entry: △▽ signals
Take Profit: Opposite zone reached
Stop Loss: 20-30 pips
⚡ XAU/USD Specific Usage
Session-Based Strategy
Tokyo Session (9-15 JST): Wait and see, small scalps
London Session (16-24 JST): Main trading
NY Session (22-6 JST): Most active, all signals valid
Major News Events
Pre-announcement: Reduce positions
Post-announcement: Trend following with ● signals
🔍 Filter Functions
ATR Filter
Small price movements filtered as noise
Signals only on significant price moves
Time Filter
Strong signals only during high volatility sessions
Weaker signals during low volatility periods
Consecutive Signal Prevention
Duplicate signals within 2 bars filtered out
Prevents noise trading
⚙️ Settings Customization
For Aggressive Trading
Signal Cooldown: 1 # More frequent signals
ATR Length: 5 # More sensitive filter
For Conservative Trading
Signal Cooldown: 5 # Relaxed signals
ATR Length: 20 # Stricter filter
Overbought: 80 # More extreme levels
Oversold: 20
📱 Recommended Alert Settings
Strong Buy/Sell Signal: Priority ★★★
Scalping Buy/Sell Signal: Priority ★★☆
Reverse Warning: Priority ★★★ (for position management)
⚠️ Important Notes
Scalping requires quick decision-making
Multiple timeframe confirmation recommended
Exercise caution during major news events
Risk management is top priority
This indicator is a versatile multi-functional tool suitable for short to medium-term trading strategies!
🎓 Trading Examples
Scalping Example
Wait for green ● at oversold level (below 30)
Enter long position immediately
Target: 50 level or red ● signal
Stop: Below recent swing low
Day Trading Example
Histogram turns green (bullish trend)
Wait for △ buy signal near support
Target: Overbought level (75)
Exit: Warning signal ▼ appears
Risk Management Rules
Never risk more than 2% per trade
Use proper position sizing
Set stops before entry
Take partial profits at key levels
This comprehensive guide will help you maximize the potential of this advanced multi-timeframe indicator!
[blackcat] L3 Improved Dual Ehlers BPF for Volatility DetectionOVERVIEW
This script implements an advanced L3 Improved Dual Ehlers Bandpass Filter (BPF) for volatility detection, combining both L1 and L2 calculation methods to create a comprehensive trading signal. The script leverages John Ehlers' sophisticated digital signal processing techniques to identify market cycles and extract meaningful trading signals from price action. By combining multiple cycle detection methods and filtering approaches, it provides traders with a powerful tool for identifying trend changes, momentum shifts, and potential reversal points across various market conditions and timeframes. The L3 approach uniquely combines the outputs of both L1 (01 range) and L2 (-11 range) methods, creating a signal that ranges from -1~2 and provides enhanced sensitivity to market dynamics.
FEATURES
🔄 Dual Calculation Methods: Choose between L1 (01 range), L2 (-11 range), or combine both for L3 signal (-1~2 range) to match your trading style
📊 Multiple Cycle Detection: Seven different dominant cycle calculation methods including HoDyDC (Hilbert Transform Dominant Cycle), PhAcDC (Phase Accumulation Dominant Cycle), DuDiDC (Duane Dominant Cycle), CycPer (Cycle Period), BPZC (Bandpass Zero Crossing), AutoPer (Autocorrelation Period), and DFTDC (Discrete Fourier Transform Dominant Cycle)
🎛️ Flexible Mixing Options: Six sophisticated mixing methods including weighted averaging, simple sum, difference extraction, dominant-only, subdominant-only, and adaptive mixing that adjusts based on signal strength
🌊 Bandpass Filtering: Precise bandwidth control for both dominant and subdominant filters, allowing fine-tuning of frequency response characteristics
📈 Advanced Divergence Detection: Robust algorithm for identifying bullish and bearish divergences with customizable lookback periods and range constraints
🎨 Comprehensive Visualization: Extensive customization options for all signals, colors, plot styles, and display elements
🔔 Comprehensive Alert System: Built-in alerts for divergence signals, zero line crosses, and various market conditions
📊 Real-time Cycle Information: Optional display of dominant and subdominant cycle periods for educational purposes
🔄 Adaptive Signal Processing: Dynamic adjustment of parameters based on market conditions and volatility
🎯 Multiple Signal Outputs: Simultaneous generation of L1, L2, and L3 signals for different trading strategies
HOW TO USE
Select Calculation Method: Choose between "l1" (01 range), "l2" (-11 range), or "both" (L3, -1~2 range) in the Calculation Method settings based on your preferred signal characteristics
Configure Cycle Detection: Select your preferred Dominant Cycle Method from the seven available options and adjust the Cycle Part parameter (0.1-0.9) to fine-tune cycle sensitivity
Set Subdominant Parameters: Configure the subdominant cycle either as a ratio of the dominant cycle or as a fixed period, depending on your analysis approach
Adjust Filter Bandwidth: Fine-tune the bandwidth settings for both dominant and subdominant filters (0.1-1.0) to control the frequency response and signal smoothing
Choose Mixing Method: Select how to combine the filters - weighted averaging for balance, sum for maximum sensitivity, difference for trend isolation, or adaptive mixing for dynamic response
Configure Smoothing: Select from SMA, EMA, or HMA smoothing methods with adjustable length (1-20 bars) to reduce noise in the final signal
Customize Visualization: Enable/disable individual plots, divergence detection, zero line, fill areas, and customize all colors to match your chart preferences
Set Divergence Parameters: Configure lookback ranges (5-60 bars) for divergence detection to match your trading timeframe and style
Monitor Signals: Watch for crosses above/below zero line and divergence patterns, paying attention to signal strength and consistency
Set Up Alerts: Configure alerts for divergence signals, zero line crosses, and other market conditions to stay informed of trading opportunities
LIMITATIONS
The script requires the dc_ta library from blackcat1402 for several advanced cycle calculation methods (HoDyDC, PhAcDC, DuDiDC, CycPer, BPZC, AutoPer, DFTDC)
L1 method operates in 01 range while L2 method uses -11 range, requiring different interpretation approaches
Combined L3 signal ranges from -1~2 when both methods are selected, creating unique signal characteristics that traders must adapt to
Divergence detection accuracy depends on proper lookback period settings and market volatility conditions
Performance may be impacted with very long lookback ranges (>60 bars) or when multiple plots are simultaneously enabled
The script is designed for non-overlay use and may not display correctly on certain chart types or with conflicting indicators
Adaptive mixing method requires careful threshold tuning to avoid excessive signal fluctuation
Cycle detection algorithms may produce unreliable results during low volatility or highly choppy market conditions
The script assumes regular price data and may not perform optimally with irregular or gapped price sequences
NOTES
The script implements advanced mathematical calculations including bandpass filters, Hilbert transforms, and various cycle detection algorithms developed by John Ehlers
For optimal results, experiment with different cycle detection methods and bandwidth settings across various market conditions and timeframes
The adaptive mixing method automatically adjusts weights based on signal strength, providing dynamic response to changing market conditions
Divergence detection works best when the "Plot Divergence" option is enabled and when combined with other technical analysis tools
Zero line crosses can indicate potential trend changes or momentum shifts, especially when confirmed by volume or other indicators
The script includes commented code for cycle information display that can be enabled if you want to monitor cycle periods in real-time
Different calculation methods may perform better in different market environments - L1 tends to be smoother while L2 is more sensitive
The subdominant cycle helps filter out noise and provides additional confirmation for signals generated by the dominant cycle
Bandwidth settings control the filter's frequency response - lower values provide more smoothing while higher values increase sensitivity
Mixing methods offer different approaches to combining signals - weighted averaging is generally most reliable for most trading applications
THANKS
Special thanks to John Ehlers for his pioneering work in cycle analysis and digital signal processing for financial markets. This script implements and significantly improves upon his bandpass filter methodology, incorporating multiple advanced techniques from his extensive body of work. Also heartfelt thanks to blackcat1402 for the dc_ta library that provides essential cycle calculation methods and for maintaining such a valuable resource for the Pine Script community. Additional appreciation to the TradingView platform for providing the tools and environment that make sophisticated technical analysis accessible to traders worldwide. This script represents a collaborative effort in advancing the field of algorithmic trading and technical analysis.
Scalp - Victor Trader//@version=6
indicator("Scalp Fluxo Simples v6 — OP1/OP2/OP3", overlay=true, max_labels_count=500)
// === Inputs básicos ===
lenVol = input.int(50, "Janela do Volume", minval=10)
zVolThr = input.float(2.2,"Z-score mínimo p/ Clímax", step=0.1)
imbThr = input.float(0.65,"Desequilíbrio |Δ|/Vol", step=0.01)
sweepLookbk = input.int(20, "Lookback p/ Varredura", minval=5)
wickMult = input.float(1.0,"Pavio dominante vs Corpo (x)", step=0.1)
confirmClose = input.bool(true, "Confirmar só no fechamento? (anti-repaint)")
cooldownBars = input.int(8, "Cooldown OP1 (barras mínimas entre OP1)", minval=0)
// --- OP2 (reteste) ---
useOP2 = input.bool(true, "Ativar OP2 (reteste da zona)?")
retestBars = input.int(8, "Janela p/ reteste (barras após OP1)", minval=1)
// --- OP3 (confirmação do candle seguinte) ---
useOP3 = input.bool(true, "Ativar OP3 (confirmação do candle seguinte)?")
// === Funções utilitárias ===
zscore(src, len) =>
m = ta.sma(src, len)
s = ta.stdev(src, len)
s := s == 0.0 ? 1e-10 : s
(src - m) / s
// === Proxy de delta (tick rule) ===
chg = close - close
delta = volume * math.sign(chg)
// === Clímax de volume ===
zVol = zscore(volume, lenVol)
climax = zVol >= zVolThr
// === Pavio dominante ===
body = math.abs(close - open)
topWick = high - math.max(open, close)
botWick = math.min(open, close) - low
topDom = topWick > body * wickMult
botDom = botWick > body * wickMult
// === Desequilíbrio ===
imbalance = math.abs(delta) / math.max(volume, 1.0)
buyImb = imbalance >= imbThr and delta > 0
sellImb = imbalance >= imbThr and delta < 0
// === Sweeps ===
prevHH = ta.highest(high, sweepLookbk)
prevLL = ta.lowest(low, sweepLookbk)
sweepHigh = high > prevHH
sweepLow = low < prevLL
okBar = not confirmClose or barstate.isconfirmed
// === OP1 (sinal raiz) ===
topOP1_raw = climax and buyImb and sweepHigh and topDom and okBar
bottomOP1_raw = climax and sellImb and sweepLow and botDom and okBar
// Cooldown OP1
var int lastTopOP1 = na
var int lastBotOP1 = na
topOP1 = topOP1_raw and (na(lastTopOP1) or bar_index - lastTopOP1 > cooldownBars)
bottomOP1 = bottomOP1_raw and (na(lastBotOP1) or bar_index - lastBotOP1 > cooldownBars)
if topOP1
lastTopOP1 := bar_index
if bottomOP1
lastBotOP1 := bar_index
// === Guardar ZONAS do pavio do OP1 para OP2 ===
var float lastTopZoneLow = na
var float lastTopZoneHigh = na
var int lastTopBar = na
var float lastBotZoneLow = na
var float lastBotZoneHigh = na
var int lastBotBar = na
if topOP1
lastTopZoneLow := math.max(open, close)
lastTopZoneHigh := high
lastTopBar := bar_index
if bottomOP1
lastBotZoneLow := low
lastBotZoneHigh := math.min(open, close)
lastBotBar := bar_index
// === OP2 (reteste da zona do pavio dentro de N barras) ===
topOP2 = useOP2 and not na(lastTopBar) and bar_index > lastTopBar and (bar_index - lastTopBar <= retestBars) and high >= lastTopZoneLow and low <= lastTopZoneHigh and close < open and okBar
bottomOP2 = useOP2 and not na(lastBotBar) and bar_index > lastBotBar and (bar_index - lastBotBar <= retestBars) and high >= lastBotZoneLow and low <= lastBotZoneHigh and close > open and okBar
// === OP3 (confirmação do candle seguinte) ===
topOP3 = useOP3 and topOP1 and close < low and okBar
bottomOP3 = useOP3 and bottomOP1 and close > high and okBar
// === Plots ===
plotshape(series=topOP1, title="TOP OP1", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, text="TOP1")
plotshape(series=topOP2, title="TOP OP2", style=shape.triangledown, location=location.abovebar, color=color.maroon, size=size.small, text="TOP2")
plotshape(series=topOP3, title="TOP OP3", style=shape.triangledown, location=location.abovebar, color=color.orange, size=size.small, text="TOP3")
plotshape(series=bottomOP1, title="FND OP1", style=shape.triangleup, location=location.belowbar, color=color.lime, size=size.small, text="FND1")
plotshape(series=bottomOP2, title="FND OP2", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, text="FND2")
plotshape(series=bottomOP3, title="FND OP3", style=shape.triangleup, location=location.belowbar, color=color.teal, size=size.small, text="FND3")
// === Alertas ===
alertcondition(condition=topOP1, title="TOP OP1", message="TOP OP1 (clímax+sweep+pavio)")
alertcondition(condition=topOP2, title="TOP OP2", message="TOP OP2 (reteste da zona)")
alertcondition(condition=topOP3, title="TOP OP3", message="TOP OP3 (confirmação)")
alertcondition(condition=bottomOP1, title="FND OP1", message="FND OP1 (clímax+sweep+pavio)")
alertcondition(condition=bottomOP2, title="FND OP2", message="FND OP2 (reteste da zona)")
alertcondition(condition=bottomOP3, title="FND OP3", message="FND OP3 (confirmação)")
VWAP Executor — v6 (VWAP fix)tarek helishPractical scalping plan with high-rate (sometimes reaching 70–85% in a quiet market)
Concept: “VWAP bounce with a clear trend.”
Tools: 1–3-minute chart for entry, 5-minute trend filter, VWAP, EMA(50) on 5M, ATR(14) on 1M, volume.
When to trade: London session or early New York session; avoid 10–15 minutes before/after high-impact news.
Entry rules (buy for example):
Trend: Price is above the EMA(50) on 5M and has an upward trend.
Entry zone: First bounce to VWAP (or a ±1 standard deviation channel around it).
Signal: Bullish rejection/engulfing candle on 1M with increasing volume, and RSI(2) has exited oversold territory (optional).
Order: Entry after the confirmation candle closes or a limit close to VWAP.
Trade Management:
Stop: Below the bounce low or 0.6xATR(1M) (strongest).
Target: 0.4–0.7xATR(1M) or the previous micro-high (small return to increase success rate).
Trigger: Move the stop to breakeven after +0.25R; close manually if the 1M candle closes strongly against you.
Filter: Do not trade if the spread widens, or the price "saws" around VWAP without a trend.
Sell against the rules in a downtrend.
Why this plan raises the heat-rate? You buy a "small discount" within an existing trend and near the institutional average price (VWAP), with a small target price.
مواقعي شركة الماسة للخدمات المنزلية
شركة تنظيف بالرياض
نقل عفش بالرياض
Rolling Correlation BTC vs Hedge AssetsRolling Correlation BTC vs Hedge Assets
Overview
This indicator calculates and plots the rolling correlation between Bitcoin (BTC) returns and several key hedge assets:
• XAUUSD (Gold)
• EURUSD (proxy for DXY, U.S. Dollar Index)
• VIX (Volatility Index)
• TLT (20y U.S. Treasury Bonds ETF)
By monitoring these dynamic correlations, traders can identify whether BTC is moving in sync with risk assets or decoupling as a hedge, and adjust their trading strategy accordingly.
How it works
1. Computes returns for BTC and each asset using percentage change.
2. Uses the rolling correlation function (ta.correlation) over a configurable window length (default = 12 bars).
3. Plots each correlation as a separate colored line (Gold = Yellow, EURUSD = Blue, VIX = Red, TLT = Green).
4. Adds threshold levels at +0.3 and -0.3 to help classify correlation regimes.
How to use it
• High positive correlation (> +0.3): BTC is moving together with the asset (risk-on behavior).
• Near zero (-0.3 to +0.3): BTC is showing little to no correlation — neutral/independent moves.
• Negative correlation (< -0.3): BTC is moving in the opposite direction — potential hedge opportunity.
Practical strategies:
• Watch BTC vs VIX: a spike in volatility (VIX ↑) usually coincides with BTC selling pressure.
• Track BTC vs EURUSD: stronger USD often puts downside pressure on BTC.
• Observe BTC vs Gold: during “flight to safety” events, gold rises while BTC weakens.
• Monitor BTC vs TLT: rising yields (falling TLT) often align with BTC weakness.
Inputs
• Window Length (bars): Number of bars used to calculate rolling correlations (default = 12).
• Comparison Timeframe: Default = 5m. Can be changed to align with your intraday or swing trading style.
Notes
• Works best on intraday charts (1m, 5m, 15m) for scalping and short-term setups.
• Use correlations as context, not standalone signals — combine with volume, VWAP, and price action.
• Correlations are dynamic; they can switch regimes quickly during macro events (CPI, NFP, FOMC).
This tool is designed for traders who want to manage risk exposure by monitoring whether BTC is behaving as a risk-on asset or hedge, and to exploit opportunities during decoupling phases.
Instant Breakout Strategy with RSI & VWAPInstant Breakout Strategy with RSI & VWAP
This TradingView strategy (Pine Script v6) trades breakouts using pivot points, with optional filters for volume, momentum, RSI, and VWAP. It’s optimized for the 1-second timeframe.
Overview
The strategy identifies breakouts when price crosses above resistance (pivot highs) or below support (pivot lows). It can use basic pivot breakouts or add filters for stronger signals. Take-profit and stop-loss levels are set using ATR, and signals are shown on the chart.
Inputs
Left/Right Pivot Bars: Bars to detect pivots (default: 3). Lower values increase sensitivity.
Volume Surge Multiplier: Volume threshold vs. 20-period average (default: 1.5).
Momentum Threshold: Minimum % price change from bar open (default: 1%).
Take-Profit ATR Multiplier: ATR multiplier for take-profit (default: 9.0).
Stop-Loss ATR Multiplier: ATR multiplier for stop-loss (default: 1.0).
Use Filters: Enable/disable volume, momentum, RSI, and VWAP filters (default: off).
How It Works
1. Pivot Detection
Finds pivot highs (resistance) and lows (support) using ta.pivothigh and ta.pivotlow.
Tracks the latest pivot levels.
2. Volume Surge
Compares current volume to a 20-period volume average.
A surge occurs if volume exceeds the average times the multiplier.
3. Momentum
Measures price change from the bar’s open.
Bullish: Price rises >1% from open.
Bearish: Price falls >1% from open.
4. RSI and VWAP
RSI: 3-period RSI. Above 50 is bullish; below 50 is bearish.
VWAP: Price above VWAP is bullish; below is bearish.
5. ATR
14-period ATR sets take-profit (close ± atr * 9.0) and stop-loss (close ± atr * 1.0).
Trading Rules
Breakout Conditions
Bullish Breakout:
Price crosses above the latest pivot high.
With filters: Volume surge, bullish momentum, RSI > 50, price > VWAP.
Without filters: Only the crossover is needed.
Bearish Breakout:
Price crosses below the latest pivot low.
With filters: Volume surge, bearish momentum, RSI < 50, price < VWAP.
Without filters: Only the crossunder is needed.
Entries and Exits
Long: Enter on bullish breakout. Set take-profit and stop-loss. Close any short position.
Short: Enter on bearish breakout. Set take-profit and stop-loss. Close any long position.
Visuals
Signals: Green triangles (bullish) below bars, red triangles (bearish) above bars.
Pivot Levels: Green line (resistance), red line (support).
Indicators: RSI (blue, separate pane), VWAP (purple, on chart).
How to Use
Apply to a 1-second chart in TradingView for best results.
Adjust inputs (e.g., pivot bars, multipliers). Enable filters for stricter signals.
Watch for buy/sell triangles and monitor RSI/VWAP.
Use ATR-based take-profit/stop-loss for risk management.
Notes
Best on 1-second timeframe due to fast RSI and responsiveness.
Disable filters for more signals (less confirmation).
Backtest before live trading to check performance.
This strategy uses pivots, volume, momentum, RSI, and VWAP for clear breakout trades on the 1-second timeframe.
ATAI Volume Pressure Analyzer V 1.0 — Pure Up/DownATAI Volume Pressure Analyzer V 1.0 — Pure Up/Down
Overview
Volume is a foundational tool for understanding the supply–demand balance. Classic charts show only total volume and don’t tell us what portion came from buying (Up) versus selling (Down). The ATAI Volume Pressure Analyzer fills that gap. Built on Pine Script v6, it scans a lower timeframe to estimate Up/Down volume for each host‑timeframe candle, and presents “volume pressure” in a compact HUD table that’s comparable across symbols and timeframes.
1) Architecture & Global Settings
Global Period (P, bars)
A single global input P defines the computation window. All measures—host‑TF volume moving averages and the half‑window segment sums—use this length. Default: 55.
Timeframe Handling
The core of the indicator is estimating Up/Down volume using lower‑timeframe data. You can set a custom lower timeframe, or rely on auto‑selection:
◉ Second charts → 1S
◉ Intraday → 1 minute
◉ Daily → 5 minutes
◉ Otherwise → 60 minutes
Lower TFs give more precise estimates but shorter history; higher TFs approximate buy/sell splits but provide longer history. As a rule of thumb, scan thin symbols at 5–15m, and liquid symbols at 1m.
2) Up/Down Volume & Derived Series
The script uses TradingView’s library function tvta.requestUpAndDownVolume(lowerTf) to obtain three values:
◉ Up volume (buyers)
◉ Down volume (sellers)
◉ Delta (Up − Down)
From these we define:
◉ TF_buy = |Up volume|
◉ TF_sell = |Down volume|
◉ TF_tot = TF_buy + TF_sell
◉ TF_delta = TF_buy − TF_sell
A positive TF_delta indicates buyer dominance; a negative value indicates selling pressure. To smooth noise, simple moving averages of TF_buy and TF_sell are computed over P and used as baselines.
3) Key Performance Indicators (KPIs)
Half‑window segmentation
To track momentum shifts, the P‑bar window is split in half:
◉ C→B: the older half
◉ B→A: the newer half (toward the current bar)
For each half, the script sums buy, sell, and delta. Comparing the two halves reveals strengthening/weakening pressure. Example: if AtoB_delta < CtoB_delta, recent buying pressure has faded.
[ 4) HUD (Table) Display /i]
Colors & Appearance
Two main color inputs define the theme: a primary color and a negative color (used when Δ is negative). The panel background uses a translucent version of the primary color; borders use the solid primary color. Text defaults to the primary color and flips to the negative color when a block’s Δ is negative.
Layout
The HUD is a 4×5 table updated on the last bar of each candle:
◉ Row 1 (Meta): indicator name, P length, lower TF, host TF
◉ Row 2 (Host TF): current ↑Buy, ↓Sell, ΔDelta; plus Σ total and SMA(↑/↓)
◉ Row 3 (Segments): C→B and B→A blocks with ↑/↓/Δ
◉ Rows 4–5: reserved for advanced modules (Wings, α/β, OB/OS, Top
5) Advanced Modules
5.1 Wings
“Wings” visualize volume‑driven movement over C→B (left wing) and B→A (right wing) with top/bottom lines and a filled band. Slopes are ATR‑per‑bar normalized for cross‑symbol/TF comparability and converted to angles (degrees). Coloring mirrors HUD sign logic with a near‑zero threshold (default ~3°):
◉ Both lines rising → blue (bullish)
◉ Both falling → red (bearish)
◉ Mixed/near‑zero → gray
Left wing reflects the origin of the recent move; right wing reflects the current state.
5.2 α / β at Point B
We compute the oriented angle between the two wings at the midpoint B:
β is the bottom‑arc angle; α = 360° − β is the top‑arc angle.
◉ Large α (>180°) or small β (<180°) flags meaningful imbalance.
◉ Intuition: large α suggests potential selling pressure; small β implies fragile support. HUD cells highlight these conditions.
5.3 OB/OS Spike
OverBought/OverSold (OB/OS) labels appear when directional volume spikes align with a 7‑oscillator vote (RSI, Stoch, %R, CCI, MFI, DeMarker, StochRSI).
◉ OB label (red): unusually high sell volume + enough OB votes
◉ OS label (teal): unusually high buy volume + enough OS votes
Minimum votes and sync window are user‑configurable; dotted connectors can link labels to the candle wick.
5.4 Top3 Volume Peaks
Within the P window the script ranks the top three BUY peaks (B1–B3) and top three SELL peaks (S1–S3).
◉ B1 and S1 are drawn as horizontal resistance (at B1 High) and support (at S1 Low) zones with adjustable thickness (ticks/percent/ATR).
◉ The HUD dedicates six cells to show ↑/↓/Δ for each rank, and prints the exact High (B1) and Low (S1) inline in their cells.
6) Reading the HUD — A Quick Checklist
◉ Meta: Confirm P and both timeframes (host & lower).
◉ Host TF block: Compare current ↑/↓/Δ against their SMAs.
◉ Segments: Contrast C→B vs B→A deltas to gauge momentum change.
◉ Wings: Right‑wing color/angle = now; left wing = recent origin.
◉ α / β: Look for α > 180° or β < 180° as imbalance cues.
◉ OB/OS: Note labels, color (red/teal), and the vote count.
◉Top3: Keep B1 (resistance) and S1 (support) on your radar.
Use these together to sketch scenarios and invalidation levels; never rely on a single signal in isolation.
[ 7) Example Highlights (What the table conveys) /i]
◉ Row 1 shows the indicator name, the analysis length P (default 55), and both TFs used for computation and display.
◉ B1 / S1 blocks summarize each side’s peak within the window, with Δ indicating buyer/seller dominance at that peak and inline price (B1 High / S1 Low) for actionable levels.
◉ Angle cells for each wing report the top/bottom line angles vs. the horizontal, reflecting the directional posture.
◉ Ranks B2/B3 and S2/S3 extend context beyond the top peak on each side.
◉ α / β cells quantify the orientation gap at B; changes reflect shifting buyer/seller influence on trend strength.
Together these visuals often reveal whether the “wings” resemble a strong, upward‑tilted arm supported by buyer volume—but always corroborate with your broader toolkit
8) Practical Tips & Tuning
◉ Choose P by market structure. For daily charts, 34–89 bars often works well.
◉ Lower TF choice: Thin symbols → 5–15m; liquid symbols → 1m.
◉ Near‑zero angle: In noisy markets, consider 5–7° instead of 3°.
◉ OB/OS votes: Daily charts often work with 3–4 votes; lower TFs may prefer 4–5.
◉ Zone thickness: Tie B1/S1 zone thickness to ATR so it scales with volatility.
◉ Colors: Feel free to theme the primary/negative colors; keep Δ<0 mapped to the negative color for readability.
Combine with price action: Use this indicator alongside structure, trendlines, and other tools for stronger decisions.
Technical Notes
Pine Script v6.
◉ Up/Down split via TradingView/ta library call requestUpAndDownVolume(lowerTf).
◉ HUD‑first design; drawings for Wings/αβ/OBOS/Top3 align with the same sign/threshold logic used in the table.
Disclaimer: This indicator is provided solely for educational and analytical purposes. It does not constitute financial advice, nor is it a recommendation to buy or sell any security. Always conduct your own research and use multiple tools before making trading decisions.
Pr0fit Circle 0rbThis indicator automatically plots dynamic support and resistance zones on the chart using swing highs and swing lows. The levels are drawn as dotted lines that extend into the future, making it easy to identify key areas where price may react.
Jackson Hole Meetings - Lines and LabelsThis TradingView Pine Script indicator marks the dates of the Federal Reserve’s annual Jackson Hole Economic Symposium meetings on your chart. For each meeting date from 2020 through 2025, it draws a red dashed vertical line directly on the corresponding daily bar. Additionally, it places a label above the bar indicating the year of the meeting (e.g., "JH 2025").
Features:
Marks all known Jackson Hole meeting dates from 2020 to 2025.
Draws a vertical dashed line on each meeting day for clear visual identification.
Displays a label above the candle with the meeting year.
Works best on daily timeframe charts.
Helps traders quickly spot potential market-moving events related to Jackson Hole meetings.
Use this tool to visually correlate price action with these key Federal Reserve events and enhance your trading analysis.
Gap + Order Blocks1️⃣ What the script does:
A. Price Gaps:
Detects a candle whose low is higher than the previous candle’s high → Bullish Gap.
Detects a candle whose high is lower than the previous candle’s low → Bearish Gap.
Users can choose:
Limited Extension: the rectangle only spans a set number of candles.
Infinite Extension: the rectangle automatically extends to the end of the chart.
B. Order Blocks (simplified version):
Bullish OB: the last bearish candle before a strong upward move.
Bearish OB: the last bullish candle before a strong downward move.
Drawn as colored rectangles for easy visualization of potential buy/sell zones.
2️⃣ Benefits of the script:
All gaps and OBs are drawn automatically on the chart.
Customizable colors for quick recognition of different zones.
Full control over gap extensions and OB length.
Suitable for both beginner and advanced traders.
Berlin High/Low bis 15:30dayHigh := na(dayHigh) ? high : math.max(dayHigh, high)
dayLow := na(dayLow) ? low : math.min(dayLow, low)
NY ORB (30m) + ATR CheckNY Open strategy
First candle at 30min NY Open @ 9:30
Mark high/low of that candle (ORB)
Make sure ATR is within 25% deviation +/-
If ATR is in harmony with the price difference of the first candle high/low
You trade the first candle close that closes above the candle high/low (ORB)
Candlestick Patterns Dashboard Pro+ [ULTIMATE]Unleash the power of automated candlestick analysis with the most comprehensive and customizable pattern detection tool on TradingView. This is not just another pattern scanner; it's a complete trading dashboard designed to identify, score, and confirm high-probability setups, saving you hours of manual chart analysis.
Built with performance and reliability in mind, this script goes beyond simple detection by introducing a unique reliability score for every pattern, advanced confirmation filters, and a powerful on-screen dashboard to keep you informed.
Key Features
📈 Comprehensive Pattern Detection: Automatically identifies 13 of the most effective candlestick patterns, including Bullish/Bearish Engulfing, Hammer, Shooting Star, Doji, Morning/Evening Star, and more.
🔟 Dynamic Reliability Scoring: Every pattern is assigned a score from 1-10 based on its confirmation strength. Factors include candle body size, volume confirmation, trend alignment, and higher-timeframe confluence, giving you a quantifiable measure of a pattern's potential.
📊 The Ultimate Dashboard: Your at-a-glance command center. The on-screen dashboard provides a complete summary of all active patterns, showing you exactly when they last occurred and highlighting the most recent signals. It also includes an "Overall Bias" meter for a quick sentiment check.
🛡️ Trade Smarter with Advanced Confirmation Filters: Eliminate low-quality signals and focus on what matters.
Trend Alignment: Use SMA(50) and SMA(200) to only show patterns that agree with the dominant market trend.
Volume Confirmation: Validate patterns by requiring a surge in volume.
Non-Repainting HTF Confirmation: Ensure your patterns align with the trend on a higher timeframe (e.g., Daily trend for a 4H signal) using a reliable, non-repainting method.
Market Condition Filter: Isolate patterns that occur only in "Trending" or "Ranging" markets.
Time Filter: Restrict pattern detection to specific trading sessions.
🔧 ‘Fuzzy Logic’ for Real-World Trading: Textbook patterns are rare. Use the "Fuzzy Logic" settings to adjust the criteria for patterns like the Hammer, Piercing Line, and Doji, allowing you to catch imperfect but still valid real-world formations.
⚙️ Fully Customizable Scoring: You decide what's important! Adjust the bonus scores for volume, trend, and other factors to create a scoring system that perfectly aligns with your trading strategy.
🚨 Powerful & Customizable Alerts: Never miss an opportunity.
Create alerts for any individual pattern.
Get notified of "Pattern Clusters" when multiple bullish or bearish signals appear in close succession.
Customize the alert messages to be compatible with your favorite trading automation services.
🚀 Performance Optimized: A "Max Bars Back" setting ensures the script runs smoothly and efficiently, even on lower-end devices or extensive historical data.
How To Use This Indicator
For Confirmation: The primary strength of this tool is for confirmation. Do not trade based on patterns alone. Use the detected signals to confirm your own analysis, such as a pattern appearing at a key support/resistance level, a trendline, or a Fibonacci retracement. A Bullish Engulfing pattern at a major support level is a much stronger signal than one appearing in the middle of a range.
For Discovery: Use the Dashboard to quickly scan through your favorite assets. A dashboard full of recent bullish signals on one asset, and bearish on another, can instantly help you focus your attention for the day.
Customizing for Your Style:
Start with the Market Presets ("Forex," "Stocks," "Crypto") for a solid baseline.
Dive into the Scoring Weights to tell the indicator what you value most. A pure volume trader might increase the Volume Bonus score.
Adjust the Fuzzy Logic settings based on your market's volatility. A volatile crypto market might require a more lenient Doji definition than a stable blue-chip stock.
Setting Up Alerts:
Add the indicator to your chart.
Click the "Alert" button in the TradingView toolbar.
Set the "Condition" to "Candlestick Patterns Dashboard Pro+ ".
Choose the specific alert you want from the dropdown (e.g., "Bullish Pattern Detected," "Bearish Pattern Cluster").
Customize the message if needed and click "Create."
A Note of Thanks
This script began as a personal project and has evolved into this ultimate version thanks to invaluable community feedback, bug reports, and suggestions. A special thank you to the users who helped identify and fix critical bugs related to syntax and variable scope. This collaborative effort has made the indicator more robust and reliable for everyone.
Disclaimer: This tool is for educational and analytical purposes only. All trading involves substantial risk. Past performance is not indicative of future results. Please trade responsibly.
BPS Multi-MA 5 — 22/30, SMA/WMA/EMA# Multi-MA 5 — 22/30 base, SMA/WMA/EMA
**What it is**
A lightweight 5-line moving-average ribbon for fast visual bias and trend/mean-reversion reads. You can switch the MA type (SMA/WMA/EMA) and choose between two ways of setting lengths: by monthly “session-based” base (22 or 30) with multipliers, or by entering exact lengths manually. An optional info table shows the effective settings in real time.
---
## How it works
* Calculates five moving averages from the selected price source.
* Lengths are either:
* **Multipliers mode:** `Base × Multiplier` (e.g., base 22 → 22/44/66/88/110), or
* **Manual mode:** any five exact lengths (e.g., 10/22/50/100/200).
* Plots five lines with fixed legend titles (MA1…MA5); the **info table** displays the actual type and lengths.
---
## Inputs
**Length Mode**
* **Multipliers** — choose a **Base** of **22** (≈ trading sessions per month) or **30** (calendar-style, smoother) and set **×1…×5** multipliers.
* **Manual** — enter **Len1…Len5** directly.
**MA Settings**
* **MA Type:** SMA / WMA / EMA
* **Source:** any series (e.g., `close`, `hlc3`, etc.)
* **Use true close (ignore Heikin Ashi):** when enabled, the MA is computed from the underlying instrument’s real `close`, not HA candles.
* **Show info table:** toggles the on-chart table with the current mode, type, base, and lengths.
---
## Quick start
1. Add the indicator to your chart.
2. Pick **MA Type** (e.g., **WMA** for faster response, **SMA** for smoother).
3. Choose **Length Mode**:
* **Multipliers:** set **Base = 22** for session-based monthly lengths (stocks/FX), or **30** for heavier smoothing.
* **Manual:** enter your exact lengths (e.g., 10/22/50/100/200).
4. (Optional) On **Heikin Ashi** charts, enable **Use true close** if you want the lines based on the instrument’s real close.
---
## Tips & notes
* **1 month ≈ 21–22 sessions.** Using 30 as “monthly” yields a smoother, more delayed curve.
* **WMA** reacts faster than **SMA** at the same length; expect earlier signals but more whipsaws in chop.
* **Len = 1** makes the MA track the chosen source (e.g., `close`) almost exactly.
* If changing lengths doesn’t move the lines, ensure you’re editing fields for the **active Length Mode** (Multipliers vs Manual).
* For clean comparisons, use the **same timeframe**. If you later wrap this in MTF logic, keep `lookahead_off` and handle gaps appropriately.
---
## Use cases
* Trend ribbon and dynamic bias zones
* Pullback entries to the mid/slow lines
* Crossovers (fast vs slow) for confirmation
* Volatility filtering by spreading lengths (e.g., 22/44/88/132/176)
---
**Credits:** Built for clarity and speed; designed around session-based “monthly” lengths (22) or smoother calendar-style (30).