Adaptive Squeeze Momentum +OVERVIEW
Adaptive Squeeze Momentum+ is an enhanced, auto-adaptive momentum indicator inspired by the classic Squeeze Momentum concept. This script dynamically adjusts its parameters to any timeframe without requiring manual inputs, making it a versatile tool for intraday traders and long-term investors alike.
CONCEPTS
The indicator combines Bollinger Bands (BB) and Keltner Channels (KC) to identify volatility compression ("squeeze") and expansion phases. When BB contracts within KC, a squeeze is detected, signaling reduced volatility and potential for a breakout. Additionally, a linear regression momentum calculation helps assess the strength and direction of price moves.
FEATURES
Auto-Adaptation:
Automatically adjusts BB/KC lengths and multipliers based on the chart timeframe (from 1 minute to 1 month).
Dynamic Squeeze Detection:
Clear visual encoding of squeeze status:
- Gray cross: neutral
- Blue cross: squeeze active
- Yellow cross: squeeze released
Momentum Histogram:
Colored area chart shows positive and negative momentum with slope-based coloring.
Clean Visualization:
Minimalist plots focused on actionable signals.
USAGE
Identify Squeeze Phases:
When the blue cross appears, the market is in a volatility squeeze, potentially preceding a breakout.
Monitor Momentum Direction:
The area plot shows the magnitude and direction of price momentum.
Confirm Entries and Exits:
Combine squeeze releases (yellow) with positive momentum for potential long entries or negative momentum for shorts.
Adaptable to Any Market:
Works seamlessly across cryptocurrencies, stocks, forex, and indices on all timeframes.
Indicadores e estratégias
EMA/DEMA_group_stdThis indicator is like its sister indicator in that it measures dispersion but instead of being cumulative it measures distance between moving averages in each group.
Group 1:11, 13, 18, 21
Group 2:18, 21, 29, 34
Group 3: 29, 34, 47, 55
Group 4: 47, 55, 76, 89
Group 5: 76, 89 123, 144
Group 6: 123, 144, 199, 233
Group 7: 199, 233, 322, 377
How to use
1. Divergences
2. Moving average crosses
3. Momentum
Plotshape colors show when moving averages are nearing a crossover and level can be manually set in menu.
Indicador Pro: Medias + RSI + ADX + Engulfing + FiboThis advanced indicator is designed to detect high-probability trading opportunities by combining multiple technical signals into a single system.
✅ Included Features:
EMA cross signals (fast vs. slow)
Confirmation via RSI (avoids overbought/oversold conditions)
Trend strength filter using ADX
Entry validation with Engulfing candlestick patterns
Automated buy/sell alerts
Dynamic Take Profit (TP) and Stop Loss (SL) levels
Automatic Fibonacci retracement zones
Custom Sell Signal - MACD + EMA + Volume//@version=5
indicator("Custom Sell Signal - MACD + EMA + Volume", overlay=true)
// MACD Settings
fast_length = 12
slow_length = 26
signal_smoothing = 9
= ta.macd(close, fast_length, slow_length, signal_smoothing)
// 50 EMA
ema50 = ta.ema(close, 50)
// Volume Moving Average (20 SMA)
volSMA = ta.sma(volume, 20)
// Conditions
macdCrossBelow = ta.crossunder(macdLine, signalLine)
macdAboveZero = macdLine > 0
closeNearOrBelowEMA50 = close <= ema50 * 1.005 // Adjust buffer (0.5%) if needed for "near"
volumeAboveSMA = volume > volSMA
// Final Sell Condition
sellCondition = macdCrossBelow and macdAboveZero and closeNearOrBelowEMA50 and volumeAboveSMA
// Plotting
plot(ema50, color=color.blue, title="50 EMA")
// Sell Signal Plot
plotshape(sellCondition, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// Alert Condition
alertcondition(sellCondition, title="Sell Signal Alert", message="Sell Signal Generated")
EMA + RSI Trend Strength v6✅ Indicator Name:
EMA + RSI Trend Strength v6
📌 Purpose:
This indicator combines trend detection (via EMA) with momentum confirmation (via RSI) to help traders identify high-probability bullish or bearish conditions. It also provides optional visual buy/sell signals and trend shading directly on the chart.
⚙️ Core Components:
1. Inputs:
emaLen: Length of the Exponential Moving Average (default: 50).
rsiLen: RSI period for momentum analysis (default: 14).
rsiOB, rsiOS: RSI levels for context (default: 70/30, but mainly 50 is used for trend strength).
showSignals: Toggle for showing entry signals.
2. Logic:
Bullish Condition:
Price is above the EMA
RSI is above 50 (indicating positive momentum)
Bearish Condition:
Price is below the EMA
RSI is below 50
3. Visuals & Outputs:
EMA Line: Orange line on the price chart showing the trend direction.
Buy Signal: Green triangle appears below the candle when bullish condition is met.
Sell Signal: Red triangle appears above the candle when bearish condition is met.
Background Color:
Light green when bullish
Light red when bearish
MACD Histogram v6This script plots the MACD histogram, a popular momentum indicator used to identify bullish/bearish momentum shifts, convergence/divergence between moving averages, and potential entry/exit signals.
Core Components:
Inputs:
fast – Period for the fast EMA (default: 12).
slow – Period for the slow EMA (default: 26).
signal – Period for the signal line EMA (default: 9).
Alligator Crossover AlertThe Alligator Indicator consists of:
Jaw (Blue line): 13-period Smoothed Moving Average, shifted by 8 bars
Teeth (Red line): 8-period Smoothed Moving Average, shifted by 5 bars
Lips (Green line): 5-period Smoothed Moving Average, shifted by 3 bars
A crossing of these lines can signal:
Start of a new trend (when lines fan out in order)
Consolidation or end of trend (when lines cross over each other) - The indicator is for visual representation of the crossovers
BTCs RSI Dip & EMA Crossover AlertThis indicator helps you catch potential reversal opportunities after a stock or crypto asset becomes oversold.
🛠 How it works:
Watches RSI (Relative Strength Index)
First, it waits for RSI to dip below a level you choose (default is 30), which often signals the asset is oversold and due for a bounce.
Waits for Price Confirmation
After the RSI dip, the indicator watches for the first time price closes above both the 55 EMA and 200 EMA — a strong sign that momentum may be shifting upward.
Sends a “Buy” Signal
When that happens, the script:
Plots a green “Buy” label on the chart
Triggers an alert (labeled "Buy Indicator") so you’re notified immediately
⚙️ Customizable Inputs:
RSI threshold (e.g. 30 or 25)
RSI period (e.g. 14)
EMA lengths (default: 55 and 200)
✅ Designed to:
Avoid false signals by requiring both RSI weakness and price strength
Only trigger once per RSI dip, so you’re not spammed with repeat alerts
Use it to stay patient during downtrends and get alerted when the technicals show a possible turnaround. Great for swing traders and longer-term entries.
Simple v6 Moving‑Average TrendTo provide a visual guide for trend direction using EMA crossovers, supported by a dynamic trailing stop for potential exit zones. It shows whether the price is above or below a moving average and highlights shifts in trend with labeled signals and a stop-line.
⚙️ How It Works
1. EMA Calculation
It computes a single EMA (default: 20-period) from the current chart’s close price.
The EMA represents the short-term trend.
Entry Signal: Price X% Lower Than OpenEntry signal printed when current price is below a certain threshold compared to open
Painel de Velas 1H e 2HMulti-Timeframe Candlestick Panel with Signal Confluence
Description:
This advanced indicator displays a complete panel with candlestick information on multiple timeframes (from 30 minutes to 1 day), allowing simultaneous analysis of price behavior in different periods. The panel includes data on open, close, difference, candle type and time remaining until the close of each candle.
Main Features:
✅ Organized table with 9 different timeframes (30M, 1H, 2H, 3H, 4H, 6H, 12H, 1D and the current timeframe)
✅ Colored candlestick visualization (green for positive, red for negative)
✅ Accurate countdown to the close of each candle (hh:mm:ss format)
✅ Reference lines of the first candle of the day (4H)
✅ Confluence system that identifies buy/sell signals when all timeframes are aligned
✅ Configurable alerts for trading opportunities
How to Use:
Add the indicator to your chart
Follow the table in the upper right corner
Observe the confluence between timeframes
Use buy/sell signals when there is alignment in all periods
The orange lines mark the opening and closing of the first candle of the day (4H)
Benefits:
Analysis multi-timeframe in a single panel
Fast visual identification of trends
Save time in technical analysis
More assertive decision making with confirmation of multiple timeframes
Technical Configuration:
Developed in Pine Script v5
Low impact on chart performance
Real-time update
Notes:
For best results, combine this indicator with other technical analysis tools. Confluence signals are more relevant in markets with a defined trend.
IntermarketWhat is Intermarket Analysis?
Intermarket analysis looks at how various asset classes influence each other. The key idea is that markets are interconnected, and movements in one can signal or predict movements in another. For example:
Stocks and Bonds: Rising bond yields (e.g., US 10-year Treasury) often pressure stock prices downward.
Commodities and Forex: A rising US Dollar (USD) typically weakens gold (XAU/USD) prices due to their inverse relationship.
Forex and Equities: Strong economic data boosting equities might strengthen the USD.
This method helps you confirm trends, anticipate reversals, or avoid false signals in your EMA 10/20 crossover strategy.
Key Intermarket Relationships
USD Index (DXY) and Gold (XAU/USD):
Correlation: Inverse. When DXY rises (stronger USD), gold often falls, and vice versa.
Indicator: Track DXY on a separate chart. Use a 50-period SMA or RSI to spot overbought/oversold conditions in USD strength.
Application: If your EMA 10/20 gives a buy signal on gold but DXY is overbought (RSI > 70), it might be a false signal—wait for DXY to cool off.
US 10-Year Treasury Yields and Equities (e.g., S&P 500):
Correlation: Inverse. Higher yields increase borrowing costs, pressuring stocks.
Indicator: Use a 200-day EMA on yields (e.g., ^TNX) and compare with S&P 500’s 50-day EMA.
Application: If yields are trending up (above 200 EMA) while your EMA 10/20 signals a stock buy, consider it risky—cross-check with macro data.
Crude Oil (WTI/Brent) and Gold:
Correlation: Positive. Both are inflation hedges, so they often move together during economic uncertainty.
Indicator: Apply a MACD (12, 26, 9) on oil prices to confirm trend direction.
Application: If oil’s MACD shows a bullish crossover and your gold buy signal aligns, it strengthens the case for a trend.
Bond Yields and USD:
Correlation: Positive. Rising yields support a stronger USD.
Indicator: Use a Stochastic Oscillator (14, 3, 3) on DXY to spot momentum shifts.
Application: If Stochastic is overbought on DXY and yields are high, a gold sell signal from EMA 10/20 might be more reliable.
How to Apply Intermarket Analysis to Your EMA 10/20 Strategy
Your current strategy uses EMA 10/20 crossovers for entry/exit, with SL at swing low/high and no TP until an opposite crossover. Here’s how to integrate intermarket analysis:
Confirmation: Before acting on a buy signal (EMA 10 > EMA 20), check if DXY is weakening (e.g., below 50 SMA) or oil is rising (MACD bullish). This supports a gold uptrend.
Divergence Warning: If your EMA 10/20 buy signal occurs but DXY is trending up (strong USD) or yields are spiking, it might indicate a false breakout—hold off.
Macro Context: On July 02, 2025, 08:30 PM WIB, watch for upcoming US Jobless Claims (3-4 July). A weak report could boost gold and weaken USD, aligning with your buy signal.
All SMAs Bullish/Bearish Screener (Visually Enhanced)Title: All SMAs Bullish/Bearish Screener Enhanced: Uncover Elite Trend Opportunities with Confidence & Clarity
Description:
Are you striving to master the art of trend-following, but often find yourself overwhelmed by market noise and ambiguous signals? Do you yearn for a trading edge that clearly identifies high-conviction opportunities and equips you with robust risk management principles? Look no further. The "All SMAs Bullish/Bearish Screener Enhanced" is your ultimate solution – a meticulously crafted Pine Script indicator designed to cut through the clutter, pinpointing stocks where the trend is undeniably strong, and providing you with the clarity you need to trade with confidence.
The Pinnacle of Confluence: Beyond Simple Averages
This is not just another moving average indicator. This is a sophisticated, multi-layered analytical engine built on the profound principle of Confluence. While our core strength lies in tracking a comprehensive suite of six critical Simple Moving Averages (5, 10, 20, 50, 100, and 200-period SMAs), this Enhanced version elevates signal reliability by integrating powerful, independent confirmation layers:
Momentum (Rate of Change - ROC): A true trend isn't just about direction; it's about the force and persistence of price movement. The Momentum filter ensures that the trend is backed by accelerating buying (for bullish signals) or selling (for bearish signals) pressure, validating its underlying strength.
Volume Confirmation: Smart money always leaves a trail. Significant price moves, especially trend continuations or reversals, demand genuine participation. This enhancement confirms that the "All SMAs" alignment is accompanied by above-average volume, signaling institutional conviction and differentiating authentic moves from mere whipsaws.
Relative Strength Index (RSI) Bias: The RSI helps gauge the health of the trend. For a bullish signal, we confirm RSI maintains a bullish bias (above 50), while for a bearish signal, we look for a bearish bias (below 50). This adds another layer of qualitative validation, ensuring the trend isn't overextended without confirmation.
When a stock's price is trading above ALL six critical SMAs, and is simultaneously confirmed by strong positive Momentum, robust Volume, and a bullish RSI bias, you are witnessing a powerful "STRONGLY BULLISH" signal. This rare alignment often precedes sustained upward moves and signifies a prime accumulation phase across all time horizons. Conversely, a "STRONGLY BEARISH" signal, where price is below ALL SMAs with compelling negative Momentum, validating Volume, and a bearish RSI bias, indicates significant distribution and potential for substantial downside.
Seamless Usage & Unmatched Visual Clarity:
Adding this script to your TradingView chart is simple, and its visual design has been meticulously optimized for maximum readability:
Easy Integration: Paste the script into your Pine Editor and click "Add to Chart."
Full Customization: All SMA lengths, RSI periods, Volume SMA periods, and Momentum periods are easily adjustable via user-friendly input settings, allowing you to fine-tune the strategy to your precise preferences.
Optimal Timeframes:
For identifying robust, actionable trends for swing and position trading, Daily (1D) and 4-Hour (240 min) timeframes are highly recommended. These capture significant market movements with reduced noise.
While the script functions on shorter timeframes (e.g., 15min, 60min), these are best reserved for highly active day traders seeking precise entry triggers within broader trends, as shorter timeframes are prone to increased volatility and noise.
Important Note on Candle Size: The width of candles on your chart is controlled by TradingView's platform settings and your zoom level, not directly by Pine Script. To make candles appear larger, simply zoom in horizontally on your chart or adjust the "Bar Spacing" in your Chart Settings (Right-click chart > Settings > Symbol Tab).
Crystal-Clear Visual Signals:
Subtle Background Hues: The chart background will subtly tint lime green for "STRONGLY BULLISH" and red for "STRONGLY BEARISH" conditions. This transparency ensures your underlying candles remain perfectly visible.
Distinct Moving Averages: SMAs are plotted with increased line thickness and a carefully chosen color palette for easy identification.
Precise Signal Triangles: Small, clean green triangles below the bar signify "STRONGLY BULLISH," while small red triangles above the bar mark "STRONGLY BEARISH" conditions. These are unobtrusive yet clear.
Dedicated Indicator Panes: RSI and Momentum plots, along with their key levels, now appear in their own separate, clean sub-panes below the main price chart, preventing clutter and allowing for focused analysis.
On-Chart Status Table: A prominent table in your chosen corner of the chart provides an immediate, plain-language update on the current trend status.
Real-Time Screener Power (via TradingView Alerts): This is your ultimate automation tool. Set up custom alerts for "Confirmed Bullish Trade" or "Confirmed Bearish Trade" conditions. Receive instant notifications (email, app, webhook) for any stock in your watchlist that meets these stringent, high-conviction criteria, allowing you to react swiftly to premium setups across the market without constant chart monitoring.
Mastering Risk & Rewards: The Trader's Edge
Finding a signal is only the first step. This script helps you trade intelligently by guiding your risk management:
Strategic Stop-Loss Placement: Your stop-loss is your capital protector. For a "STRONGLY BULLISH" trade, place it just below the most recent significant swing low (higher low). This is where the uptrend's structure is invalidated. For "STRONGLY BEARISH" trades, place it just above the most recent significant swing high (lower high). As an alternative, consider placing your stop just outside the 20-period SMA; a close beyond this mid-term average often signals a crucial shift. Always ensure your chosen stop-loss aligns with your strict risk-per-trade rules (e.g., risking no more than 1-2% of your capital per trade).
Disciplined Profit Booking: Don't just let winners turn into losers. Employ a strategy to capture gains:
Trailing Stop-Loss: As your trade moves into profit, dynamically move your stop-loss upwards (for longs) or downwards (for shorts). You can trail it by following subsequent swing lows/highs or by using a faster Moving Average like the 10 or 20-period SMA as a dynamic exit point if price closes beyond it. This allows you to ride extended trends while protecting accumulated gains.
Target Levels: Identify potential profit targets using traditional support/resistance levels, pivot points, or Fibonacci extensions. Consider taking partial profits at these key junctures to secure gains while letting a portion of your position run.
Loss of Confluence: A unique exit signal for this script is the breakdown of the "STRONGLY BULLISH" or "STRONGLY BEARISH" confluence itself. If the confirmation layers or even a few of the core SMAs are no longer aligned, it might be time to re-evaluate or exit, even if your hard stop hasn't been hit.
The "All SMAs Bullish/Bearish Screener Enhanced" is more than just code; it's a philosophy for disciplined trend trading. By combining comprehensive multi-factor confluence with intuitive visuals and robust risk management principles, you're equipped to make smarter, higher-conviction trading decisions. Add it to your favorites today and transform your approach to the markets!
#PineScript #TradingView #SMA #MovingAverage #TrendFollowing #StockScreener #TechnicalAnalysis #Bullish #Bearish #MarketScanner #Momentum #Volume #RSI #Confluence #TradingStrategy #Enhanced #Signals #Analysis #DayTrading #SwingTrading
ATRWhat the Indicator Shows:
A compact table with four cells is displayed in the bottom-left corner of the chart:
| ATR | % | Level | Lvl+ATR |
Explanation of the Columns:
ATR — The averaged daily range (volatility) calculated with filtering of abnormal bars (extremely large or small daily candles are ignored).
% — The percentage of the daily ATR that the price has already covered today (the difference between the daily Open and Close relative to ATR).
Level — A custom user-defined level set through the indicator settings.
Lvl+ATR — The sum of the daily ATR and the user-defined level. This can be used, for example, as a target or stop-loss reference.
Color Highlighting of the "%" Cell:
The background color of the "%" ATR cell changes depending on the value:
✅ If the value is less than 10% — the cell is green (market is calm, small movement).
➖ If the value is between 10% and 50% — no highlighting (average movement, no signal).
🟡 If the value is between 50% and 70% — the cell is yellow (movement is increasing, be alert).
🔴 If the value is above 70% — the cell is red (the market is actively moving, high volatility).
Key Features:
✔ All ATR calculations and percentage progress are performed strictly based on daily data, regardless of the chart's current timeframe.
✔ The indicator is ideal for intraday traders who want to monitor daily volatility levels.
✔ The table always displays up-to-date information for quick decision-making.
✔ Filtering of abnormal bars makes ATR more stable and objective.
What is Adaptive ATR in this Indicator:
Instead of the classic ATR, which simply averages the true range, this indicator uses a custom algorithm:
✅ It analyzes daily bars over the past 100 days.
✅ Calculates the range High - Low for each bar.
✅ If the bar's range deviates too much from the average (more than 1.8 times higher or lower), the bar is considered abnormal and ignored.
✅ Only "normal" bars are included in the calculation.
✅ The average range of these normal bars is the adaptive ATR.
Detailed Algorithm of the getAdaptiveATR() Function:
The function takes the number of bars to include in the calculation (for example, 5):
The average of the last 5 normal bars is calculated.
pinescript
Копировать
Редактировать
adaptiveATR = getAdaptiveATR(5)
Step-by-Step Process:
An empty array ranges is created to store the ranges.
Daily bars with indices from 1 to 100 are iterated over.
For each bar:
🔹 The daily High and Low with the required offset are loaded via request.security().
🔹 The range High - Low is calculated.
🔹 The temporary average range of the current array is calculated.
🔹 The bar is checked for abnormality (too large or too small).
🔹 If the bar is normal or it's the first bar — its range is added to the array.
Once the array accumulates the required number of bars (count), their average is calculated — this is the adaptive ATR.
If it's not possible to accumulate the required number of bars — na is returned.
Что показывает индикатор:
На графике внизу слева отображается компактная таблица из четырех ячеек:
ATR % Уровень Ур+ATR
Пояснения к столбцам:
ATR — усреднённый дневной диапазон (волатильность), рассчитанный с фильтрацией аномальных баров (слишком большие или маленькие дневные свечи игнорируются).
% — процент дневного ATR, который уже "прошла" цена на текущий день (разница между открытием и закрытием относительно ATR).
Уровень — пользовательский уровень, который задаётся вручную через настройки индикатора.
Ур+ATR — сумма уровня и дневного ATR. Может использоваться, например, как ориентир для целей или стопов.
Цветовая подсветка ячейки "%":
Цвет фона ячейки с процентом ATR меняется в зависимости от значения:
✅ Если значение меньше 10% — ячейка зелёная (рынок пока спокоен, маленькое движение).
➖ Если значение от 10% до 50% — фон не подсвечивается (среднее движение, нет сигнала).
🟡 Если значение от 50% до 70% — ячейка жёлтая (движение усиливается, повышенное внимание).
🔴 Если значение выше 70% — ячейка красная (рынок активно движется, высокая волатильность).
Особенности работы:
✔ Все расчёты ATR и процентного прохождения производятся исключительно по дневным данным, независимо от текущего таймфрейма графика.
✔ Индикатор подходит для трейдеров, которые торгуют внутри дня, но хотят ориентироваться на дневные уровни волатильности.
✔ В таблице всегда отображается актуальная информация для принятия быстрых торговых решений.
✔ Фильтрация аномальных баров делает ATR более устойчивым и объективным.
Что такое адаптивный ATR в этом индикаторе
Вместо классического ATR, который просто усредняет истинный диапазон, здесь используется собственный алгоритм:
✅ Он берет дневные бары за последние 100 дней.
✅ Для каждого из них рассчитывает диапазон High - Low.
✅ Если диапазон бара слишком сильно отличается от среднего (более чем в 1.8 раза больше или меньше), бар считается аномальным и игнорируется.
✅ Только нормальные бары попадают в расчёт.
✅ В итоге считается среднее из диапазонов этих нормальных баров — это и есть адаптивный ATR.
Подробный алгоритм функции getAdaptiveATR()
Функция принимает количество баров для расчёта (например, 5):
Считается 5 последних нормальных баров
pinescript
Копировать
Редактировать
adaptiveATR = getAdaptiveATR(5)
Пошагово:
Создаётся пустой массив ranges для хранения диапазонов.
Перебираются дневные бары с индексами от 1 до 100.
Для каждого бара:
🔹 Через request.security() подгружаются дневные High и Low с нужным смещением.
🔹 Считается диапазон High - Low.
🔹 Считается временное среднее диапазона по текущему массиву.
🔹 Проверяется, не является ли бар аномальным (слишком большой или маленький).
🔹 Если бар нормальный или это самый первый бар — его диапазон добавляется в массив.
Как только массив набирает заданное количество баров (count), берётся их среднее значение — это и есть адаптивный ATR.
Если не удалось набрать нужное количество баров — возвращается na.
محدد الأوقات المطور جداً v6
Determine the candle times at any hour you want. If the strategy you are working on is CRT, specify the 4-hour frame and choose the time 1-5-9.
✅ SMA20 Trend Table -(MAJOAK)Trend table of Bullish or Bearish to the SMA 20. Displays 1 Day, 1Hr, 15 Min and 5 min.
Bollinger Band + RSI Strategy ScannerVrushaNilansh Indicator for 15min. Trading Based on Bollinger Bands+RSI
Vector CandlesSimple buy and sell alert on vectors. Works well on 4h. Standard settings are 70% candle must be body, with min 1.5 vol on the candle on 20 ma loopback.
Weekly Open LineThis script is designed to assist traders in identifying the "Power of Three" (PO3) model on a weekly basis — as taught by ICT (Inner Circle Trader).
It automatically plots:
- The **Weekly Open**, a crucial reference level for detecting manipulation zones.
- **Weekly High and Low**, to frame liquidity zones and potential sweep areas.
- A customizable **Manipulation Zone**, calculated as a percentage range above and below the weekly open.
The PO3 model breaks market structure into:
1. Accumulation (early-week range)
2. Manipulation (false breakouts and liquidity grabs)
3. Distribution (true directional move)
This tool helps visualize those stages and align trades with smart money behavior.
Best used on 1H, 4H, or 15M timeframes for clarity.
Tip: Combine with FVGs, Order Blocks, and time-of-day filters for enhanced setups.
All SMAs Bullish/Bearish ScreenerTitle: All SMAs Bullish/Bearish Screener: Uncover Powerful Trend Alignment
Description:
Are you tired of sifting through countless charts, desperately trying to find stocks that are truly trending? Do you seek clear, unequivocal signals that scream "Buy!" or "Sell!" based on robust price action? Look no further. Introducing the "All SMAs Bullish/Bearish Screener," a powerful yet elegantly simple Pine Script indicator designed to pinpoint stocks where the current price is in absolute harmony (or discord) with a comprehensive suite of Simple Moving Averages.
The Power of Confluence: Why This Indicator Matters
In the dynamic world of trading, strong trends are often characterized by significant alignment across multiple timeframes. This indicator is built on the profound principle of Moving Average Confluence. Instead of just looking at one or two moving averages, this screener meticulously analyzes the relationship between the current closing price and six critical Simple Moving Averages (SMAs): the 5, 10, 20, 50, 100, and 200-period SMAs.
When the price is trading above ALL these moving averages – from the shortest-term (5-period) to the longest-term (200-period) – it's a powerful declaration of unwavering bullish momentum. This often signifies strong institutional buying, a clear accumulation phase, and a robust uptrend across all market horizons. Imagine easily identifying stocks like the one pictured (SAIL), where price confidently rides above every key average, signaling a prime opportunity.
Conversely, when the price is trading below ALL these moving averages, it indicates a severe and widespread bearish bias. This is a warning sign, often preceding further declines, suggesting strong distribution, and a downtrend that impacts every time horizon.
What This Script Delivers:
Unambiguous Trend Identification: Quickly identify stocks exhibiting exceptionally strong bullish or bearish trends. No more guessing – the alignment of all SMAs provides undeniable clarity.
Customizable SMA Lengths: Tailor the moving average periods to your specific trading style and preferred timeframes. Whether you prefer slightly different short, medium, or long-term averages, you have full control via user-friendly input settings.
Instant Visual Cues: The indicator visually highlights these rare and significant conditions directly on your chart:
A green triangle-up signal appears below the bar when all SMAs are bullish.
A red triangle-down signal appears above the bar when all SMAs are bearish.
The chart background color will subtly shift to lime green for bullish alignment and red for bearish alignment, providing immediate visual feedback at a glance.
Real-time Screener Capability (via TradingView Alerts): This is where the true power of this script shines for efficient trading. Set up custom alerts on TradingView for "All SMAs Bullish" or "All SMAs Bearish" conditions. Receive instant notifications (email, mobile, webhook) on any stock in your watchlist that meets these stringent criteria, allowing you to react swiftly to high-probability setups without constant chart monitoring. The alert message even tells you the ticker!
On-Chart Status Display: A clear, concise status message is displayed directly on your chart, indicating "Current Price is ABOVE ALL SMAs (Bullish)", "Current Price is BELOW ALL SMAs (Bearish)", or "SMAs are Mixed," ensuring you're always aware of the prevailing condition.
Who is This For?
This indicator is invaluable for:
Trend Followers: Identify robust trends early and ride them for significant gains.
Swing Traders: Spot strong directional momentum for intermediate-term trades.
Long-Term Investors: Confirm the health and direction of fundamental trends.
Screener Enthusiasts: Automate your market scanning to find the cleanest setups.
Stop wasting time on ambiguous charts. Leverage the "All SMAs Bullish/Bearish Screener" to gain an edge, simplify your analysis, and focus only on the highest conviction trend opportunities. Add it to your favorites today and transform your trading workflow!
#PineScript #TradingView #SMA #MovingAverage #TrendFollowing #StockScreener #TechnicalAnalysis #Bullish #Bearish #MarketScanner