RSI & Volume Based S&R LinesRSI & Volume Based S&R Lines V1.0
Inspired by previous work available on TradingView I wanted to create my own Support & Resistance based indicator to help with confirming signals used with my swing trading tools (also available on TV).
There are two support and resistance lines, one RSI & historic price based and the other based on volume fractals. I've previously used these to help confirm entries previously and the fundamentals behind it are simple but effective.
Access
This indicator is completely free to those part of my discord community
Link: discord.gg
Cari dalam skrip untuk "swing trading"
Fibonnaci Support/Resistance BandsThe Bollinger Support/Resistance Bands were created with the purpose of identifying possible entries and exits for day or swing trading. This custom indicator works well on all time frames and on any market found on TradingView. As you can see in in the image above, BNB bounces between the two first green bands while testing the yellow line.
Several different strategies can be used with this custom indicator. First, you could trade the yellow line, meaning when a bar closes above it, you buy and then sell at once it touches the first or second green band. You could also buy the channels on the lower bands, as they act and support lines.
Like this indicator? Check us out at www.scriptandbotmarketplace.com
Join our discord and talk about scripting and bots: discord.gg
Here are more examples of this indicator working on different time frames:
BTC/USDT, 3 Minute:
EUR/USD, 1 Hour:
Apple, 4 Hour:
Binque's Multi-Moving Average Binque's Multi-Moving Average - One indicator with four simple moving average and four exponential moving averages, plus as a bonus a Day High moving average and a Day Low Moving Average.
Simple Moving Average or MA(14), MA(50), MA(100) and MA(200) all in one indicator
Exponential Moving Average or EMA(8), EMA(14), EMA(20) and EMA(33) all in one indicator
Day High Moving Average - Tracks the Daily High versus most moving averages track the daily close.
Day Low Moving Average - Tracks the Daily Low versus most moving average track the daily close.
To Disable moving averages, Set the color to the chart background and then set the length to 1 and uncheck.
I Use the Daily High Moving Average to track upward resistance in a stock movement for Swing Trading.
I Use the Daily Low Moving Average to track my trailing stop in a stock movement for Swing Trading.
PMEX MT Trend v1.0This is a tool generally I use for trend health and would recommend users to use it on daily time frame.
I have different sorts of tools that I used manually but now I am trying to code my manual strategies. This is one of the tools that I have used over 7 years or so and still very effective for swing trading.
Detailed trading strategy based on this tool is only available to invitees.
PMEX MT Trend This is a tool generally I use for trend health and would recommend users to use it on daily time frame.
I have different sorts of tools that I used manually but now I am trying to code my manual strategies. This is one of the tools that I have used over 7 years or so and still very effective for swing trading.
Detailed trading strategy based on this tool is only available to invitees.
Stylish MACDHi traders, this is my very first visit to TradingView! I will publish some useful technical indicators and keep improving my programming skills.
I am going to introduce to you an edited and polished version of MACD indicator from Chris Moody .
In addition to some slight adjustments to color settings , this version enables users to select the MACD styles they intend to use.
Three styles of MACD, namely standard (12,26,9), Bill Williams(5,34,5) and LBR(3,10,16), would suit traders with different styles.
Bill Williams & LBR approache s are exclusively designed for intraday and swing trading, and users can simply select the style they like and uncheck ones less fitting for their trading styles. Feel free to add this EA to your trading arsenal and leave comments below. Happy trading!
Big Snapper Alerts R2.0 by JustUncleLThis is a diversified Binary Option or Scalping Alert indicator originally designed for lower Time Frame Trend or Swing trading. Although you will find it a useful tool for higher time frames as well.
The Alerts are generated by the changing direction of the ColouredMA (HullMA by default), you then have the choice of selecting the Directional filtering on these signals or a Bollinger swing reversal filter.
The filters include:
Type 1 - The three MAs (EMAs 21,55,89 by default) in various combinations or by themselves. When only one directional MA selected then direction filter is given by ColouredMA above(up)/below(down) selected MA. If more than one MA selected the direction is given by MAs being in correct order for trend direction.
Type 2 - The SuperTrend direction is used to filter ColouredMA signals.
Type 3 - Bollinger Band Outside In is used to filter ColouredMA for swing reversals.
Type 4 - No directional filtering, all signals from the ColouredMA are shown.
Notes:
Each Type can be combined with another type to form more complex filtration.
Alerts can also be disabled completely if you just want one indicator with one colouredMA and/or 3xMAs and/or Bollinger Bands and/or SuperTrend painted on the chart.
Warning:
Be aware that combining Bollinger OutsideIn swing filter and a directional filter can be counter productive as they are opposites. So careful consideration is needed when combining Bollinger OutsideIn with any of the directional filters.
Hints:
For Binary Options try ColouredMA = HullMA(13) or HullMA(8) with Type 2 or 3 Filter.
When using Trend filters SuperTrend and/or 3xMA Trend, you will find if price reverses and breaks back through the Big Fat Signal line, then this can be a good reversal trade.
Some explanation about the what Hull Moving average and ideas of how the generated in Big Snapper can be used:
tradingsim.com
forextradingstrategies4u.com
Inspiration from @vdubus
Big Snapper's Bollinger OutsideIn Swing filter in Action:
40/3 Swing IndicatorThis indicator is developed using the basic rules of 40/3 swing trading.
Rule #1 - New high for the last 40 days
Rule #2 - 3 Consecutive days of the close being lower than the previous day
Rule #3 - 4th days closing price is greater than the previous day
When all 3 Rules are met, it will create the Aqua colored label indicating that the 40/3 criteria is met and a reversal is possible.
Rule #4 - 4th days closing price is within the top 25% of that days high/low range.
When Rule #4 is also met, it creates the Red label indicating that there is a very strong chance the reversal has begun.
Colored Volume Bars [LazyBear]Edgar Kraut proposed this simple colored volume bars strategy for swing trading.
This is how the colors are determined:
- If today’s closing price and volume are greater than 'n' days ago, color today’s volume bar green.
- If today’s closing price is greater than 'n' days ago but volume is not, color today’s volume bar blue.
- Similarly, if today’s closing price and volume is less than 'n' days ago, color today’s volume bar orange.
- If today’s closing price is less than 'n' days ago but volume is not, color today’s volume bar red.
Buy the green or blue volume bars, use a 1% trailing stop, and stand aside on red or orange bars.
As you see, this is more for entry confirmation. I have not tested this on any instrument.
You may have to tune the lookback period for your instrument. Default is 10.
More info:
"A color-based system for short-term trading" - www.traders.com
List of all my indicators:
High-Confluence SuperTrend + MACD v5 (FIXED)1. How to Read a Trade Signal (Entry Criteria)
A Green Buy Signal (Long) or Red Sell Signal (Short) appears when ALL of the following conditions are true at the close of the bar:
🟢 For a BUY Signal (Long):
SuperTrend: The line is Green (or just flipped to Green).
MACD Crossover: The MACD Line crosses above the Signal Line (Bullish Crossover).
RSI Filter: RSI is above 50 (Confirming underlying bullish momentum).
Volume: Current Volume is high (above the moving average of volume, set by the Volume Surge Multiplier).
ADX (If Used): The ADX value is above the Threshold (e.g., 20 or 25), confirming a strong trend exists.
🔴 For a SELL Signal (Short):
SuperTrend: The line is Red (or just flipped to Red).
MACD Crossover: The MACD Line crosses below the Signal Line (Bearish Crossover).
RSI Filter: RSI is below 50 (Confirming underlying bearish momentum).
Volume: Current Volume is high (above the moving average of volume).
ADX (If Used): The ADX value is above the Threshold, confirming a strong trend exists.
2. Parameter Guidance (Settings for Different Trading Styles)
You must change the indicator lengths (periods) when switching between fast (intraday) and slow (swing) trading, as well as for different assets.
A. Settings for FAST Trading (Scalping / Low Timeframes like 5m):
Goal: Be sensitive and catch quick moves.
SuperTrend Period: Use a smaller number (e.g., 7 or 8).
SuperTrend Multiplier: Use a smaller number (e.g., 1.5 or 2.0) to keep the line close to price.
MACD Lengths: Use shorter lengths (e.g., Fast: 8, Slow: 17, Signal: 9) for faster crossovers.
ADX Lengths: Use shorter lengths (e.g., 10 or 12).
B. Settings for SLOW Trading (Swing / High Timeframes like Daily):
Goal: Filter noise and capture major trends.
SuperTrend Period: Use a higher number (e.g., 14 or 20).
SuperTrend Multiplier: Use a higher number (e.g., 3.0 or 4.0) to avoid false flips.
MACD Lengths: Use standard or longer lengths (e.g., Standard 12/26/9, or longer 20/40/9).
ADX Lengths: Use standard or longer lengths (e.g., 14 or 20).
3. Critical Filter: Using the ADX
The ADX component is your quality control filter. It measures the strength of the trend, not the direction.
When to Enable ADX: Turn Use ADX Filter to True when the market is choppy or sideways.
Threshold Rule: If the ADX line is below 20, the market is ranging, and the filter will block signals, saving you from false whipsaws.
Signal Strength: A signal is strongest when ADX is above 25.
dyor, nfa
TF weekly System 1 — Weekly Trend Flip Indicator
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
Final trend following weeklySystem 1 — Weekly Trend Flip Indicator
System 1 (Weekly) is a simple trend-following indicator that uses weekly EMAs with ATR filtering to highlight strong directional shifts.
📈 Uses weekly fast & slow EMAs
🧭 ATR filter removes weak or choppy signals
🟢 Bullish regime = fast EMA above slow + ATR margin
🔴 Bearish regime = fast EMA below slow − ATR margin
⚪ Neutral when neither condition is met
Works on any chart timeframe, but signals are based on weekly data
Ideal for position traders and longer-term swing trading
💡 Tip: Use this indicator to confirm larger trend direction and combine with lower timeframe strategies for entry timing.
MTF Market Bias+ (Smart Multi-Timeframe Trend Dashboard)The MTF Market Bias+ indicator provides a clear, data-driven view of market direction across multiple timeframes — from scalper to swing trader level.
It automatically calculates the bullish / bearish / neutral bias for each selected timeframe using various configurable methods such as EMA slope, price vs EMA, or EMA50 vs EMA200.
This tool gives you an instant overview of market alignment and helps you identify when lower and higher timeframes are in sync — the most powerful condition for high-probability trades.
🔍 Core Features
✅ Multi-Timeframe Bias Dashboard: Visual table showing bullish/bearish sentiment across your chosen timeframes (from 3m to 1W).
⚙️ Customizable Methods: Choose between
EMA Slope (default) → detects trend direction by EMA momentum
Price vs EMA → shows short-term strength or weakness
EMA50 vs EMA200 → classic golden cross vs death cross structure
🎨 Configurable Colors, Size & Layout: Adjust background, text, and label sizes for any chart style.
📊 Summary Row: Displays the majority trend (bullish, bearish, or neutral) with real-time score.
🧩 Adaptive Background Mode (optional): Automatically colors your chart background according to overall bias.
💡 Method Info Panel: Clearly shows which method and parameters are active (e.g. “EMA Slope | EMA=50”).
📈 How to Use
Add the indicator to your chart.
Select the timeframes you want to monitor (e.g. 3m, 5m, 15m, 1h, 4h, D, W).
Watch for alignment between lower and higher timeframes:
When all turn green → strong bullish alignment → consider longs.
When all turn red → strong bearish alignment → consider shorts.
Mixed colors indicate consolidation or correction phases.
Combine it with your favorite Fair Value Gap, CHOCH/BOS, or Liquidity Sweep strategy to significantly improve trade timing and confidence.
🧩 Author’s Note
This indicator is designed for traders who want fast, visual confirmation of multi-timeframe structure without cluttering their charts.
It’s simple, lightweight, and highly adaptable — whether you’re scalping on 3-minute charts or swing trading daily candles.
Rolling Midpoint of Price & VWAP with ATR BandsThe Rolling Midpoint of Price & VWAP with ATR Bands indicator is a dual-equilibrium concept that fuses price-range structure and traded-volume flow into one continuously updating hybrid model. Traditional VWAPs reset each session and reflect where trading occurred by volume, while midpoints used here reveal where price has structurally balanced between extremes. This script merges both ideas into a cohesive, dynamic system. The Rolling Price Midpoint (50 % of range) represents the structural fair-value line, calculated as the average of the highest high and lowest low over a selected window. The Rolling VWAP (Volume-Weighted Window) tracks the flow-based fair-value line by weighting each bar’s typical price by its volume. Together, these components form the Hybrid Equilibrium — the adaptive center of gravity that shifts as price and volume evolve. Surrounding this equilibrium, ATR Bands at ± 2.226 ATR and ± 5.382 ATR define volatility envelopes that expand and contract with market energy. The result is a living cloud that breathes with the market: compressing during phases of balance and widening during impulsive movements, offering traders a clear visual framework for understanding equilibrium, volatility, and directional bias in real time.
➖
⚙️ Auto-Preset System
The Auto-Preset System intelligently adjusts lookback windows for both the Price Midpoint and VWAP calculations according to the active chart timeframe.
This ensures that the indicator automatically adapts to any trading style — from scalping on 1-minute charts to swing trading on daily or weekly charts — without manual tuning.
🔹 How It Works
When Auto-Preset mode is enabled, the script dynamically selects the most effective lookback lengths for each timeframe.
These presets are optimized to balance responsiveness and stability, maintaining consistent real-world coverage (e.g., the same approximate duration of price data) across all intervals.
📊 Preset Mapping Table
| Chart Timeframe | Price Midpoint Lookback | VWAP Lookback |
|:----------------:|:-----------------------:|:--------------:|
| 1–3m | 13 bars | 21 bars
| 5–10m | 21 bars | 34 bars
| 15–30m | 34 bars | 55 bars
| 1–2 hr | 55 bars | 89 bars
| 4 hr-1D | 89 bars | 144 bars
| 1W | 144 bars | 233 bars
| 1M | 233 bars | 377 bars
⚡ Notes & Customization
- Manual Override: Turn off Auto-Preset Mode to specify your own custom lookback lengths.
- Consistency Across Scales: These adaptive values keep the indicator visually coherent when switching between timeframes — avoiding distortions that can occur with static lengths.
- Practical Benefit: Traders can maintain a single chart layout that self-tunes seamlessly, removing the need to manually recalibrate settings when shifting from short-term to long-term analysis.
In short, the Auto-Preset System is designed to make this hybrid equilibrium tool timeframe-aware — automatically scaling its logic so that the cloud behaves consistently, regardless of chart resolution.
➖
🌐 Hybrid Equilibrium Envelope
The core hybrid midpoint acts as the mean of structural (price) and volumetric (VWAP) balance.
ATR-based bands project natural expansion zones:
🔸+2.226 / –2.226 ATR → inner equilibrium (controlled trend)
*🔸+5.382 / –5.382 ATR → outer volatility extension (over-stretch / reversion zones)
Color-coded fills show regime strength:
* 🟧 Upper Outer (+5.382) – strong bullish expansion
* 🟩 Upper Inner (+2.226) – trending equilibrium
* 🔴 Lower Inner (–2.226) – mild bearish control
* 🟣 Lower Outer (–5.382) – volatility exhaustion
➖
🧭 Higher-Timeframe Framework
Two macro anchors — Price length of 144 and VWAP length of 233 — outline higher-timeframe bias zones. These help confirm when local momentum aligns with (or fades against) long-term structure.
Labels on the right show active lookback values for quick readout:
`$(13) V(21)` → current rolling pair
`$144 / V233` → macro anchors
➖
🧩 Chart Examples
**AMD 15m (Equilibrium Expansion)**
Price steadily rides above the hybrid midpoint as teal and orange (bullish) ATR zones widen, confirming a phase of controlled bullish volatility and healthy trend expansion.
BTCUSD 1m (Volatility Compression)
Bitcoin coils tightly inside the teal-to-maroon equilibrium bands before breaking out.
The hybrid midpoint flattens and ATR envelopes contract, signaling a state of balance before volatility expansion.
ETHUSD 15m (Transition from Compression → Impulse)
Ethereum transitions from purple-zone compression into a clear upper-band expansion.
The hybrid midpoint breaks above the macro VWAP 233, confirming the shift from equilibrium to directional momentum.
SOFI 1m (Micro Bias Reversal)
SOFI’s intraday structure flips as price reclaims the hybrid midpoint.
The macro VWAP 233 flattens, signaling a transition from oversold lower bands back toward equilibrium and early trend recovery.
➖
🎯 How to Use
1. Bias Detection – Price > Hybrid Midpoint → bullish; < → bearish.
2. Volatility Gauge – Watch band spacing for compression / expansion cycles.
3. Confluence Checks – Align Hybrid Midpoint with HTF 233 VWAP for strong continuation signals.
4. Mean Reversion Zones – Outer bands highlight areas where probability of snap-back increases.
➖
🔧 Inputs & Customization
Auto Presets toggle
🔸Manual Lookback Overrides** for fine-tuning
🔸Plot Window Length** (show recent vs full history)
🔸ATR Sensitivity & Fill Opacity** controls
🔸Label Padding / Font Size** for cleaner overlay visuals
➖
🧮 Formula Highlights
➖Rolling Midpoint = (highest(high,N) + lowest(low,N)) / 2
➖Rolling VWAP = Σ(Typical Price×Vol) / Σ(Vol)
➖Hybrid = (PriceMid + VWAP) / 2
➖Upper₂ = Hybrid + ATR×2.226
➖Lower₂ = Hybrid − ATR×2.226
➖Upper₅ = Hybrid + ATR×5.382
➖Lower₅ = Hybrid − ATR×5.382
➖
🎯 Ideal For
➡️ Traders who want adaptive fair-value zones that evolve with both price and volume.
➡️ Analysts who shift between scalping, swing, and position timeframes, and need a tool that self-adjusts.
➡️ Those who rely on visual structure clarity to confirm setups across changing volatility conditions.
➡️ Anyone seeking a hybrid model that unites structural range logic (midpoint) and flow-based balance (VWAP).
➖
🏁 Final Word
This script is more than a visual overlay — it’s a complete trend and structure framework built to adapt with market rhythm. It helps traders visualize equilibrium, momentum, and volatility as one cohesive system. Whether you’re seeking clean trend alignment, dynamic support/resistance, or early warning signs of reversals, this indicator is tuned to help you react with confidence — not hindsight.
➖
Remember — no single indicator should ever stand alone. For best results, pair it with price action context, higher-timeframe structure, and complementary tools such as moving averages or trendlines. Use it to confirm setups, not define them in isolation.
💡 Turn logic into clarity, structure into trades, and uncertainty into confidence.
Double Stochastic & RSI Oscillator (Custom by TitikSona)This indicator displays two Stochastic oscillators together with RSI in a separate oscillator pane, giving a clear visual representation of momentum and overbought/oversold conditions. It is ideal for traders who want a multi-indicator confirmation without plotting signals directly on the price chart.
Features:
Dual Stochastic Oscillators: Customizable %K and %D periods with independent smoothing.
RSI Overlay: Tracks momentum and confirms oscillator readings.
Visual Plots:
Stochastic 1 (%K blue / %D orange)
Stochastic 2 (%K green / %D red)
RSI (purple)
Reference Lines: Overbought (80), Oversold (20), Midline (50), and custom RSI upper/lower levels.
Background Zones: Highlights overbought (red) and oversold (green) regions for quick visual reference.
Inputs:
Stochastic 1 & 2 K, D, and slowing periods
RSI period, upper, and lower thresholds
Usage:
Use the oscillator to detect overbought and oversold zones.
Confirm entries and exits by combining Stochastics and RSI levels.
Ideal for swing trading, day trading, and momentum strategies.
Hardik INDICATORS - All in One🧭 About the Indicator:
This custom indicator merges the power of four proven trading tools into one simplified and intelligent system.
It helps traders identify trend direction, momentum, and potential reversal points with high accuracy.
Automatically plots daily, weekly, and monthly pivot points.
Helps identify key support and resistance zones where price often reacts.
Useful for setting targets and stop-loss areas.
Detects trend strength and entry signals based on price action logic.
Highlights potential buy/sell opportunities using candle patterns and confirmation filters.
Reduces false signals by aligning with overall trend momentum.
Tracks short-term market momentum using the 5-period Exponential Moving Average (EMA).
When the price crosses above the 5 EMA → indicates bullish momentum.
When the price crosses below → indicates bearish momentum.
Works best for intraday and swing trading setups.
Combines signals from the other three systems to create strong confirmation entries.
When all conditions align → it marks high-probability trade zones.
Designed to minimize noise and improve trade accuracy.
Probability Score Momentum UP/DOWN signalsProbability Score Momentum is an advanced multi-factor trading indicator that combines institutional-grade filters with probability scoring to identify high-conviction trade opportunities. This indicator goes beyond simple moving average crossovers by validating signals through multiple momentum confirmations, trend alignment, and context-aware market structure analysis.
Each signal is automatically rated:
EXCELLENT (75-100) - All conditions aligned, highest probability
GOOD (62-74) - Strong setup with trend confirmation
MARGINAL (62+) - Meets threshold but lacks trend alignment
POOR (<62) - Below probability threshold (no signal shown)
Alert Setup
The indicator includes 4 pre-configured alert conditions:
🚀 LONG Signal - High-probability long entry
🔻 SHORT Signal - High-probability short entry
⬆️ MT Flip Up - Madrid Trend flips bullish (early warning)
⬇️ MT Flip Down - Madrid Trend flips bearish (early warning)
Trading Strategy Examples
Scalping Strategy (1-5m charts)
Enable all filters
HTF: 15m
ADX Threshold: 25+
Probability: 65+
Use Chandelier Exit for stops
Target: 1-2 ATR moves
Day Trading Strategy (5-15m charts)
Enable Vin Context
PDH/PDL: ETH Daily
Session Gate: Enabled
Probability: 62+
Entry: After breaking session range
Exit: Chandelier trail or opposite signal
Swing Trading Strategy (1H-4H charts)
HTF: 4H or Daily
ADX Threshold: 30+
Probability: 70+
Focus on EXCELLENT signals only
Use Vin EMAs for trend context
Hold through minor pullbacks
CoinW Emas CrossThe Emas Cross (20 and 50) is a technical indicator that shows the crossover between two Exponential Moving Averages (EMAs).
🔵 Bullish Signal (Golden Cross): when the 20 EMA crosses above the 50 EMA, it suggests the start of a bullish trend.
🔴 Bearish Signal (Death Cross): when the 20 EMA crosses below the 50 EMA, it indicates a possible bearish trend.
The indicator can be applied on 1H and 4H timeframes and across all markets, making it ideal for swing trading strategies.
Moving Average Ribbon AZlyMoving Average Ribbon AZly
The Moving Average Ribbon AZly is a flexible trend-following indicator that visualizes market direction, strength, and transition phases using multiple customizable moving averages. It helps traders instantly identify when short-, medium-, and long-term trends align or diverge.
🔧 How it works
Up to six moving averages can be plotted, each with its own:
Type (SMA, EMA, SMMA, WMA, VWMA, or HMA)
Length, color, and width
Custom source input
The script also adds adaptive color fills between key pairs:
MA1–MA2: short-term momentum
MA4–MA5: mid-term bias
MA5–MA6: long-term trend
Bullish alignment paints green or blue ribbons, while bearish alignment turns them red or pink. The wider the ribbon, the stronger the trend separation.
💡 Why it’s better
Unlike typical ribbon indicators, this version offers full per-line customization, adaptive color fills, and a clean, high-contrast design that makes trend shifts instantly recognizable . It’s optimized for clarity, flexibility, and smooth performance on any market or timeframe.
🎯 Trading ideas
Trend confirmation: Trade only in the direction of the ribbon (green for long, red for short).
Early reversals: Watch for the fastest MAs (MA1–MA2) crossing the mid-term pair (MA4–MA5) as early signals of a trend shift.
Momentum compression: When the ribbon narrows or colors alternate rapidly, it signals consolidation or potential breakout zones.
Pullback entries: Enter trades when price bounces off the outer ribbon layer in the direction of the dominant trend.
Multi-timeframe use: Combine with a higher timeframe ribbon to confirm overall market bias.
📊 Recommended use
Works on all markets and timeframes. Ideal for trend-following, swing trading, and visual confirmation of price structure.
Anti-PDT Swing Trade Signals//@version=5
indicator("Anti-PDT Swing Trade Signals", overlay=true)
// === User Inputs ===
priceLimit = input.float(25, "Max Price ($)", minval=1)
minVolume = input.int(200000, "Min Avg Volume (10D)", minval=1)
// === Indicators ===
sma20 = ta.sma(close, 20)
sma50 = ta.sma(close, 50)
macdLine = ta.ema(close, 12) - ta.ema(close, 26)
signalLine = ta.ema(macdLine, 9)
rsi = ta.rsi(close, 14)
avgVolume = ta.sma(volume, 10)
// === Conditions ===
priceFilter = close <= priceLimit
volumeFilter = avgVolume >= minVolume
rsiFilter = ta.crossover(rsi, 40)
macdFilter = ta.crossover(macdLine, signalLine)
smaFilter = close > sma20 and close > sma50
momentumFilter = close > close * 1.03 and close < close * 1.10
// === Day Filter ===
isMonWedFri = dayofweek == dayofweek.monday or dayofweek == dayofweek.wednesday or dayofweek == dayofweek.friday
entryCondition = priceFilter and volumeFilter and rsiFilter and macdFilter and smaFilter and momentumFilter and isMonWedFri
// === Alerts & Visuals ===
plotshape(entryCondition, title="BUY", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
alertcondition(entryCondition, title="BUY Alert", message="BUY Signal: {{ticker}} meets swing trading entry criteria.")
plot(sma20, color=color.orange)
plot(sma50, color=color.blue)
Rolling VWAP by VibieRolling VWAP
🧠 Concept
Rolling VWAP is a continuously updating VWAP that doesn’t reset at fixed anchors like daily or weekly VWAP.
Instead, it applies VWAP calculation to a moving window of recent bars, making it more adaptive and responsive to current market conditions.
⸻
⚙️ How It Works
1. VWAP Formula
• VWAP = Σ(price × volume) ÷ Σ(volume) over a rolling lookback period.
2. Rolling Window
• The indicator calculates VWAP only for the last N bars (e.g., 50).
• As each new bar appears, the oldest drops out, creating a continuously updated VWAP line.
3. Real-Time Adjustment
• Rolling VWAP constantly shifts with new data, tracking short-term fair value as market conditions evolve.
⸻
🧭 How to Use
• Intraday trading → use short rolling windows (20–50 bars) for scalping and mean reversion setups.
• Swing trading → use longer windows (e.g., 10 days) to track medium-term fair value.
• Rolling VWAP acts as dynamic support/resistance and can serve as a trend filter.
⸻
🌟 Why It’s Original and Useful
• Reacts faster to volume changes than anchored VWAP.
• Continuously represents short-term fair price without session resets.
• Excellent for adaptive strategies in volatile markets.
• Particularly valuable for active day traders.
Aggregation Index SmoothedAggregation Index Smoothed (AIS) - Multi-Method Trend Consensus Oscillator
What This Indicator Does
The Aggregation Index Smoothed combines four independent trend-detection methodologies into a unified momentum oscillator that operates across multiple timeframes simultaneously. Unlike traditional single-method indicators that can produce conflicting or false signals during market transitions, AIS requires consensus agreement across all four calculation methods before confirming trend direction.
Technical Methodology
Four-Component Loop System
Each component analyzes 16 different lookback periods (default range: 5-20 bars), creating a multi-timeframe perspective within a single calculation:
1. Price Change Analysis
Measures directional price movement across all periods. Each period scores +1 for positive change or -1 for negative change. Results are averaged and scaled to ±100.
2. RSI Multi-Period Analysis
Evaluates Relative Strength Index values across the same 16 periods. Scores +1 when RSI > 50 (momentum favoring bulls) or -1 when RSI < 50 (momentum favoring bears). This captures overbought/oversold conditions across multiple timeframes.
3. EMA Trend Position
Compares current price against Exponential Moving Averages of varying lengths (5-20 periods). Scores +1 when price trades above EMA (uptrend) or -1 when below (downtrend). This identifies trend alignment across short, medium, and longer-term moving averages.
4. Momentum Rate-of-Change
Calculates price momentum across all periods using the mom() function. Scores +1 for positive momentum or -1 for negative momentum, detecting acceleration and deceleration patterns.
Aggregation Process
Each of the four indicators independently calculates scores across all 16 periods
Individual indicator scores are averaged (range: -100 to +100)
All four indicator averages are combined using arithmetic mean
The resulting index undergoes EMA smoothing (default: 20 periods)
Optional double-smoothing applies a second EMA pass for maximum noise reduction
Why This Approach Is Unique
Problem Solved: Traditional oscillators often conflict - RSI might be bullish while MACD is bearish, or stochastic shows oversold while price trend is clearly down. Traders waste time reconciling these contradictions.
Solution: AIS eliminates conflicts by design. A bullish signal (+10 threshold) means all four methods across all 16 timeframes agree on upward momentum. This consensus approach dramatically reduces whipsaws and false signals compared to using any single method.
Technical Advantage: The for-loop methodology validates each signal across a spectrum of timeframes (5 bars through 20 bars), ensuring the trend is confirmed in both immediate-term and intermediate-term contexts. This is mathematically equivalent to running 64 separate indicators (4 methods × 16 periods) and requiring majority agreement.
Signal Generation
Long Signal (Bullish): Index crosses above +10 threshold
Indicates all four methods confirm upward momentum across multiple timeframes
Sustained readings above +10 suggest strong trend continuation
Short Signal (Bearish): Index crosses below -10 threshold
Indicates all four methods confirm downward momentum across multiple timeframes
Sustained readings below -10 suggest strong downtrend
Neutral Zone (-10 to +10): Mixed signals or consolidation
Methods disagree on direction, suggesting choppy or range-bound conditions
Avoid trend-following strategies in this zone
How to Use This Indicator
Best Practices
Timeframe Selection:
Most effective on 4-hour charts and higher (Daily, Weekly)
Lower timeframes (1H, 15m) may produce excessive signals despite smoothing
The 16-period loop range is optimized for swing trading timeframes
Entry Strategy:
Wait for index to cross threshold levels (±10)
Confirm with price action (breakout, support/resistance levels)
Consider entering on first pullback after threshold cross for better risk/reward
Parameter Adjustment:
Volatile instruments (crypto, small-caps): Increase thresholds to ±15 or ±20 to filter noise
Stable instruments (large-cap stocks, indices): Reduce thresholds to ±5 for earlier signals
Smoothing Length: Increase to 30+ for cleaner signals; decrease to 10-15 for faster response
Double Smoothing: Keep enabled for trend following; disable for more reactive signals
Risk Management:
Exit longs when index drops back into neutral zone (below +10)
Exit shorts when index rises into neutral zone (above -10)
Use index slope as trend strength indicator (steeper = stronger)
Interpretation Guidelines
Strong Trending Conditions:
Index sustained above +50 or below -50 indicates powerful directional move
All four methods showing extreme agreement across all timeframes
High probability of trend continuation
Trend Exhaustion Signals:
Index reaches extreme levels (+80 to +100 or -80 to -100)
Potential reversal zone; watch for divergence with price
Consider taking partial profits on existing positions
Divergence Detection:
Price makes new highs while index fails to confirm = bearish divergence
Price makes new lows while index shows higher lows = bullish divergence
Divergences on 4H+ timeframes carry significant weight
Limitations and Considerations
Not Suitable For:
Scalping or very short-term trading (under 1-hour timeframes)
Range-bound markets with no clear trend (index oscillates in neutral zone)
Instruments with erratic, news-driven price action
Known Lag:
Double smoothing introduces 40+ bar delay in signal generation
Designed for trend confirmation, not early trend detection
Fast market reversals may produce late exit signals
Complementary Tools:
Combine with support/resistance levels for entry precision
Use with volume analysis to confirm signal strength
Pair with volatility indicators (ATR) for position sizing
Technical Implementation Notes
The indicator pre-calculates all RSI and EMA values for lengths 5-20 to comply with Pine Script's requirement for constant-length parameters in ta.rsi() and ta.ema() functions. This workaround allows dynamic loop-based analysis while maintaining calculation consistency on every bar.
The scoring methodology uses binary classification (+1/-1) rather than normalized percentage values to ensure equal weighting across all four methods, preventing any single indicator from dominating the aggregate signal.
Summary: The Aggregation Index Smoothed provides trend confirmation through multi-method consensus across variable timeframes. Its primary value is eliminating the confusion of conflicting indicator signals by requiring agreement from four independent trend calculations before generating actionable signals. Best suited for swing traders and position traders on 4-hour and higher timeframes seeking high-probability trend-following entries with reduced false signals.
TRADER PERFORMANCEAn exclusive tool for scalping, day trading, swing trading, and position trading, designed to maximize your success rate and reduce input noise. Recognized for its high accuracy, it's the ideal indicator for those seeking consistency and solid market results.