Intraday Trading for Indices by TBTPHThis script is written in Pine Script (version 6) for use in TradingView, and it's designed to display an intraday trading strategy for indices. Here's a breakdown of its components and functionality:
Key Features:
VWAP (Volume Weighted Average Price):
The script computes the VWAP for a given period, with the option to choose an anchor period (Session, Week, Month, etc.).
The calcModeInput allows you to choose between "Standard Deviation" and "Percentage" for the band calculation.
The VWAP is plotted on the chart, with the color of the VWAP changing based on whether the price is above or below it.
Bands:
Bands are plotted above and below the VWAP, with the distance from the VWAP determined by a multiplier of the VWAP’s standard deviation or percentage.
The bands are configurable and adjustable via inputs such as multiplier and band type.
Moving Averages:
A 50-period Simple Moving Average (SMA) and a 20-period Exponential Moving Average (EMA) are plotted on the chart for trend analysis.
The background color changes based on the price relative to the 50-period SMA:
Green if the price is above the 50 SMA.
Red if the price is below the 50 SMA.
Session Indicator Logic:
The script distinguishes between the London Stock Exchange (LSE) and the New York Stock Exchange (NYSE) trading sessions.
It only plots signals and executes logic during these active trading sessions.
Candle Color Change (VWAP Cross):
When the price crosses the VWAP, the candle's body color changes to white to highlight the event.
This is useful for identifying potential entry or exit points based on VWAP crossovers.
Key Inputs:
VWAP Settings:
Anchor Period: Defines the period used for the VWAP calculation (Session, Week, Month, etc.).
Source: The price used for VWAP calculation (default is the average of high, low, and close prices hlc3).
Offset: Allows for shifting the plotted VWAP and bands on the chart.
Bands Settings:
Bands Multiplier: Controls the width of the bands.
Calculation Mode: Switch between using standard deviation or percentage for band calculation.
Session Settings:
The LSE and NYSE session times are defined, and the script only plots signals during these sessions.
Alerts and Plotting:
VWAP and bands are dynamically plotted on the chart.
A background color change is applied based on the price's position relative to the 50-period SMA.
Candle colors change to white when the price crosses the VWAP, which serves as a key signal for the trader.
Trendanalyse
ICT & RTM Price Action IndicatorICT & RTM Price Action Indicator
Unlock the power of precision trading with this cutting-edge indicator blending ICT (Inner Circle Trader) concepts and RTM (Reversal Trend Momentum) strategies. Designed for traders who demand clarity in chaotic markets, this tool pinpoints high-probability buy and sell signals with surgical accuracy.
What It Offers:
Smart Supply & Demand Zones: Instantly spot key levels where the market is likely to reverse or consolidate, derived from a 50-period high/low analysis.
Filtered Reversal Signals: Say goodbye to fakeouts! Signals are confirmed with volume spikes (1.5x average) and a follow-through candle, ensuring you trade only the strongest moves.
Trend-Aware Logic: Built on a customizable SMA (default 14), it aligns reversals with momentum for trades that stick.
One-Signal Discipline: No clutter—only the first valid signal appears until an opposing setup triggers, keeping your chart clean and your focus sharp.
Combined Power: A unique "TRADE" signal merges ICT zones with RTM reversals for setups with double the conviction.
Why You’ll Love It:
Whether you’re scalping intraday or hunting swing trades, this indicator adapts to your style. It’s not just another tool—it’s your edge in decoding price action like a pro. Test it, tweak it, and watch your trading transform.
DAYE Session Levels QUARTERLY THEORY– M15, H1, H4📊 Indicator: Previous Session Max/Min Close Levels
🔍 Overview
This indicator displays the highest and lowest closing prices from the previous session across three key timeframes (H1, H4, M15). It is inspired by the Daye Quarterly Theory, which divides time into cyclical quartiles. These levels act as potential support/resistance zones where price often reacts.
🧠 Theoretical Foundations
Daye Quarterly Theory – Time-Based Market Structure
Monthly cycle : divided into 4 weeks, with the True Open on the second Monday (Q2).
Weekly cycle : divided into 4 days (Mon–Thu), with the True Open on Tuesday (Q2).
Daily cycle : divided into 4 sessions of 6 hours each, based on New York time:
-Q1: Asia (6 PM – 12 AM NY)
-Q2: London (12 AM – 6 AM NY) → True Daily Open
-Q3: New York (6 AM – 12 PM NY)
-Q4: PM Session (12 PM – 6 PM NY)
The indicator uses this time-based logic to calculate significant levels based on strong closes in previous sessions.
⚙️ Indicator Functions
✅ 1. Historical Levels (default mode)
Displays persistent horizontal lines at the high/low close of the previous session:
- H1: last 25 candles (1 day)
-H4: last 31 candles (1 week)
-M15: last 25 candles (6-hour session)
These levels are always visible and are drawn as thin black lines, helping traders recognize historically significant price zones.
🆕 2. Current Session Levels (optional)
When enabled, this mode shows the same previous-session high/low close only during the current session.
The levels:
-start exactly at the candle where the max/min close was registered in the previous session;
-extend up to the end of the current session;
-are automatically reset at the beginning of each new session.
These dynamic levels help monitor how price behaves around recent key zones in real time.
🧰 Custom Settings
The indicator includes two toggles:
-Show Historical Levels – enables/disables persistent previous-session levels.
-Show Current Session Levels – enables/disables live levels that appear only during the current session.
You can use either one or both simultaneously.
🧠 Ideal Use Cases
This tool is perfect for traders who:
-work with intraday or swing trading strategies;
-rely on support/resistance, market structure, or liquidity zones;
-want to identify where reversals, continuations, or breakouts are most likely;
-follow time-based cycles for confluence in execution.
📌 Final Thoughts
A simple yet powerful indicator that blends temporal cycles with price behavior, allowing traders to stay aligned with meaningful levels as markets evolve. Designed to provide clarity, structure, and precision for both discretionary and systematic trading.
RSI Trendlines [RG]Overview
RSI Trendlines combines the power of automatic trendline detection with the popular Relative Strength Index (RSI) indicator. This tool identifies and plots dynamic support and resistance trendlines directly on the RSI chart, helping you spot potential trend changes and divergences in momentum before they appear in price.
Key Features
Automatically detects and draws trendlines on the RSI indicator
Identifies significant pivot points in RSI momentum
Customizable appearance with adjustable colors and line widths
Built-in alerts for trendline breaks
How It Works
The indicator calculates the standard RSI using your preferred settings
It identifies pivot highs and lows in the RSI using the specified lookback period
Valid trendlines are drawn connecting consecutive pivots
Lines extend until they experience a confirmed break
Customization Options
RSI Parameters: Adjust length and source to your preference
Trendline Settings: Control pivot detection sensitivity and maximum lines
Visual Options: Customize colors, line widths, and optional midline display
Ideal For
Identifying established trends in momentum
Spotting potential RSI divergences early
Timing entries and exits based on momentum shifts
Confirming trend changes with objective trendline breaks
This indicator aims to help traders move beyond static overbought/oversold levels by revealing the dynamic structure of momentum trends and highlighting potential reversals and continuations.
Please don't use this as a buy and sell indicator. Use it to get an idea on the market trend and as an extra confirmation for your trades. Happy Trading :)
SuperTrader Trend Analysis and Trade Study DashboardSuperTrader Trend Analysis and Trade Study Dashboard
Overview
This script offers a multi-faceted look at market behavior. It combines signals from different momentum indicators, daily cross checks, and a specialized dashboard to reveal trend strength, potential divergences, and how far price has traveled from its recent averages.
Three Musketeers Method
This script uses a special set of three indicators (the “Three Musketeers”) to determine bullish or bearish pressure on the current chart.
Trend Condition – Compares fast vs. slow EMAs (50 and 200) and checks which side of the line price is favoring.
Mean Reversion Condition – Watches RSI crossing typical oversold or overbought thresholds (e.g., crossing above 30 or below 70).
Bollinger Condition – Checks whether price pushes above/below the Bollinger Bands (based on a 20 SMA + standard deviations).
When at least two out of these three conditions align in a bullish way, the script issues a Buy Signal . Conversely, if at least two align in a bearish way, a Sell Signal is triggered. This “Three Musketeers” synergy ensures multiple confirmations before calling a potential market turn.
Mag 8 Daily Performance
The script tracks eight highly influential stocks (AAPL, AMZN, GOOG, NFLX, NVDA, TSLA, META, MSFT) to see which are green (higher) or red (lower) compared to yesterday’s close. It then prints a quick tally – helpful in gauging overall market mood via these major players.
Golden / Death Cross Signals
On a daily time frame, the script notes when the 50-day SMA crosses above or below the 200-day SMA. A “Golden Cross” often signals rising momentum, while a “Death Cross” can hint at oncoming weakness.
RSI & Divergence Checks
RSI helps identify hidden turning points. Whenever a bullish or bearish divergence is spotted, the script updates you via a concise readout.
Hardcoded Settings
EMA lengths for trend checks, Bollinger parameters, etc., are locked in, letting you focus on adjusting only the pivotal study inputs (e.g., RSI length, VIDYA momentum).
VIDYA Trend Line & Fill
Built on an adaptive Variable Index Dynamic Average, it plots a line that quickly reacts to changing momentum. Users can set a “Trend Band Distance” to mark ATR-based thresholds around that line, identifying possible breakouts or breakdowns.
YoYo Distance
This concept measures how far price strays from SMA(10). If it’s too far, the script colors your display to indicate potential snapbacks.
Gap Up/Down Probability
By weighing volume, MACD signals, and whether price sits above/below its midrange, the script estimates probabilities of a gap up or down on the next daily candle.
Table Output & Trend Label
Turning on Show Table Widget reveals a quick dashboard on the chart detailing RSI, CCI, divergences, bull/bear scores, and more. A label on the last bar further summarizes overall trend, gap distance, and the Mag 8 snapshot – perfect for a fast read of current market posture.
Use this script to unify multiple signals in one place, see how far price has ventured from typical patterns, and get daily cross signals plus real-time bullish/bearish calls – all at a glance.
Livelli Sessioni Multi-Timeframe (NY Time)📌 This script automatically draws the highest and lowest closing prices from the previous session, based on the active timeframe:
On M15, it calculates the highest and lowest closes of each 6-hour session block (00–06, 06–12, 12–18, 18–00 — New York time).
On H1, it uses the highest and lowest closes of the entire previous day (NY time).
On H4, it uses the highest and lowest closes of the previous week (NY time).
🔁 Levels are only shown during the current session and automatically reset when the session changes.
🧭 All calculations are based on the New York time zone (EST/EDT).
🎯 Designed for traders who focus on clean and reliable reference levels based on price closes rather than wicks — ideal for intraday and swing trading.
📉 Display style: thin black lines, with optional touch markers.
Compatible with Forex, indices, crypto, and more.
🛠️ Created by @bordimichele00
ICT FVG & Swing Detector Basic by Trader RiazICT FVG & Swing Detector Basic by Trader Riaz
Unlock Precision Trading with the Ultimate Fair Value Gap (FVG) and Swing Detection Tool!
Developed by Trader Riaz , the ICT FVG and Swing Detector Basic is a powerful Pine Script indicator designed to help traders identify key market structures with ease. Whether you're a day trader, swing trader, or scalper, this indicator provides actionable insights by detecting Bullish and Bearish Fair Value Gaps (FVGs) and Swing Highs/Lows on any timeframe. Perfect for trading forex, stocks, crypto, and more on TradingView!
Key Features:
1: Bullish and Bearish FVG Detection
- Automatically identifies Bullish FVGs (highlighted in green) and Bearish FVGs (highlighted in red) to spot potential reversal or continuation zones.
- Displays FVGs as shaded boxes with a dashed midline at 70% opacity, making it easy to see the midpoint of the gap for precise entries and exits.
- Labels are placed inside the FVG boxes at the extreme right for clear visibility.
2: Customizable FVG Display
- Control the number of Bullish and Bearish FVGs displayed on the chart with user-defined inputs (fvg_bull_count and fvg_bear_count).
- Toggle the visibility of Bullish and Bearish FVGs with simple checkboxes (show_bull_fvg and show_bear_fvg) to declutter your chart.
3: Swing High and Swing Low Detection
- Detects Swing Highs (blue lines) and Swing Lows (red lines) to identify key market turning points.
- Labels are positioned at the extreme right edge of the lines for better readability and alignment.
- Customize the number of Swing Highs and Lows displayed (swing_high_count and swing_low_count) to focus on the most recent market structures.
4: Fully Customizable Display
- Toggle visibility for Swing Highs and Lows (show_swing_high and show_swing_low) to suit your trading style.
- Adjust the colors of Swing High and Low lines (swing_high_color and swing_low_color) to match your chart preferences.
5: Clean and Efficient Design
- Built with Pine Script v6 for optimal performance on TradingView.
- Automatically removes older FVGs and Swing points when the user-defined count is exceeded, keeping your chart clean and focused.
- Labels are strategically placed to avoid clutter while providing clear information.
Why Use This Indicator?
Precision Trading: Identify high-probability setups with FVGs and Swing points, commonly used in Smart Money Concepts (SMC) and Institutional Trading strategies.
User-Friendly: Easy-to-use inputs allow traders of all levels to customize the indicator to their needs.
Versatile: Works on any market (Forex, Stocks, Crypto, Commodities) and timeframe (1M, 5M, 1H, 4H, Daily, etc.).
Developed by Trader Riaz: Backed by the expertise of Trader Riaz, a seasoned trader dedicated to creating tools that empower the TradingView community.
How to Use:
- Add the Custom FVG and Swing Detector to your chart on TradingView.
- Adjust the input settings to control the number of FVGs and Swing points displayed.
- Toggle visibility for Bullish/Bearish FVGs and Swing Highs/Lows as needed.
- Use the identified FVGs and Swing points to plan your trades, set stop-losses, and target key levels.
Ideal For:
- Traders using Smart Money Concepts (SMC), Price Action, or Market Structure strategies.
- Those looking to identify liquidity grabs, imbalances, and trend reversals.
- Beginners and advanced traders seeking a reliable tool to enhance their technical analysis.
Happy trading!
Skybull - TimeRay AnalyzerSkybull - TimeLine Analyzer
Unlock multi-timeframe mastery with TimeLine Analyzer, a premium indicator that projects High, Low, and Close levels from a higher timeframe as customizable horizontal rays—enhanced with a dynamic offset and real-time price proximity alerts. Designed for traders who demand precision, this tool bridges short-term action with long-term context, helping you spot key levels and act when it matters most.
What Makes It Unique?
TimeLine Analyzer isn’t just another level-plotter—it’s a dual-purpose powerhouse. The Dynamic Offset lets you rewind higher timeframe data (e.g., fetch the 4h High from 3 bars ago), revealing historical zones that shape today’s price. Paired with Price Proximity Alerts, it flags when the current price nears these levels within a custom percentage—think instant support/resistance signals. No free script combines this flexibility and live feedback.
How It Works
Using Pine Script, TimeLine fetches High, Low, and Close from your chosen higher timeframe, offset by a user-defined number of bars. These are drawn as rays with adjustable colors, widths, and extensions (None, Right, Both). The proximity alert calculates the percentage distance between the current price and each level, popping up labels when price gets close (e.g., within 0.5%). A sleek label shows your settings, keeping it mobile-friendly and clutter-free.
Features
Higher Timeframe Rays: Plots High, Low, and Close from any timeframe (1m to 1mo).
Dynamic Offset: Shift levels back 1–100 bars in the higher timeframe for historical insight.
Price Alerts: Flags when price is within 0.1–5% of a level, with live labels.
Customizable: Set ray colors, widths (1–10), and extensions to match your style.
Mobile-Ready: A compact label displays timeframe and offset.
Usage Examples
Breakout Prep: On a 15m chart, set a 1d timeframe with a 2-bar offset to see yesterday’s Close—get alerted when price nears it for a breakout.
Reversal Zones: Use a 4h timeframe with “Both” extension and a 0.5% alert threshold to catch reversals at historical Lows.
Scalping Edge: Bold rays (width 3) and a 1h offset on a 5m chart highlight key levels, with alerts for fast entries.
Settings
Higher Timeframe: Pick your timeframe (e.g., 4h, 1d).
Bars Back: Offset data 1–100 bars (default: 1).
Price Proximity Alert (%): Set 0.1–5% for alert sensitivity (default: 0.5).
Line Colors: Customize High, Low, and Close rays.
Line Width: Adjust thickness (1–10, default: 1).
Line Extension: None, Right, or Both.
Why It’s Worth It
TimeLine Analyzer delivers what free tools can’t: historical depth plus real-time precision. The offset uncovers hidden levels, while alerts turn static lines into live signals—perfect for scalpers, swing traders, and strategists. As an invite-only tool, it’s built for serious traders who want an edge without the noise.
FiveFactorEdgeUses ATR14, TSI, RSI, Fast Stochastic and Slow Stochastic information to determine potential high and low price, trend strength and direction. The information ia easy to read, self-descriptive and color coded for quick reference. Since it incorporates 5 different elements it could be used by itself but as with any indicator it's highly recommended to use it with other tried and true indicators.
Gap Fill DetectorThe Gap Fill Detector is a visual tool designed to highlight potential price imbalances caused by sudden, sharp movements following periods of low volatility or indecision. These events can often result in "gaps" or "voids" in price action that may later attract a return move — commonly referred to as a gap fill.
This indicator helps traders visually identify these unique conditions and monitor whether price revisits the origin of the move. It does so by marking the location of the price gap and providing a clean, color-coded interface to track price interaction with that level over time.
🔧 Key Features
🔸 Highlight Zones
When the script detects a potential gap-forming move, the background of the triggering candle is highlighted. These areas represent potential moments of price imbalance or sudden breakout behavior.
🔸 Gap Fill Line
A horizontal line is drawn from the close of the candle before the spike (representing the likely gap origin). This line acts as a reference for tracking whether price returns to "fill" the gap. The line is persistent but will automatically hide once price intersects it, or if another gap signal occurs.
🔸 Intelligent Auto-Hide Logic
Once the gap line has been touched by price or interrupted by a new spike event, it is removed from view. This keeps the chart clean and avoids clutter from outdated signals.
🔸 Dynamic Fill Shading
The area between the current price and the gap line is filled with a color-coded visual cue:
🟩 Green Fill: When price is above the gap line — a possible bullish continuation.
🟪 Purple Fill: When price is below the gap line — a potential retracement or bearish correction. Fill transparency is customizable to blend with your chart style.
🔸 Stability Zones (Optional)
Users can optionally enable shaded background zones to mark extended periods of price stagnation. These zones may help identify moments where the market is "winding up" before releasing energy in the form of a fast move.
⚙️ Customization Options
Base highlight color & transparency
Enable/disable stability zone highlighting
Adjustable gap fill area transparency
✅ Use Cases
This tool is ideal for:
Intraday traders seeking gap fills or mean reversion setups
Swing traders identifying sudden breakouts for future re-entry
Visual traders who want a clean, automated way to spot and manage price dislocations
Combined SMA Cross & RSI Multi-Timeframe Indicator K2Combined SMA Cross & RSI Multi-Timeframe Indicator
This Pine Script v6 indicator combines two popular technical analysis tools—Simple Moving Average (SMA) crossover and Relative Strength Index (RSI) crossover—across multiple timeframes to generate bullish and bearish trading signals. It overlays SMA lines on the chart, displays signals with shapes, and provides a table summarizing SMA crossover states across 11 timeframes.
Features:
SMA Crossover:
Compares a short SMA (default: 20 periods) with a long SMA (default: 50 periods).
Bullish signal: Short SMA crosses above Long SMA.
Bearish signal: Short SMA crosses below Long SMA.
Plotted as green (short) and red (long) lines on the chart.
RSI Crossover:
Calculates RSI (default: 14 periods) and its SMA (default: 14 periods).
Bullish signal: RSI crosses above its SMA.
Bearish signal: RSI crosses below its SMA.
Multi-Timeframe Analysis:
Evaluates SMA and RSI conditions across 11 timeframes: 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W.
User can toggle which timeframes to include via input settings.
Combined Logic:
Generates a signal only when both SMA and RSI conditions (if enabled) are met across all selected timeframes.
Bullish: All selected timeframes show bullish SMA and RSI crossovers.
Bearish: All selected timeframes show bearish SMA and RSI crossovers.
Logic toggles allow enabling/disabling SMA or RSI components.
Visuals:
Triangles: Green triangle below bar for bullish signals, red triangle above bar for bearish signals.
Arrows: Green upward arrow for "Long" signals, red downward arrow for "Short" signals, ensuring no overlap with previous signals.
Table: Displays SMA crossover states for all 11 timeframes at the bottom center of the chart (green for bullish, red for bearish).
Alerts:
Triggers alerts for combined bullish ("SMA Cross and RSI timeframes are bullish!") and bearish ("SMA Cross and RSI timeframes are bearish!") signals.
Inputs:
SMA Settings: Short SMA length (20), Long SMA length (50).
RSI Settings: RSI length (14), RSI SMA length (14).
Logic Toggles: Enable/disable SMA Cross and RSI logic.
Timeframe Toggles: Enable/disable each of the 11 timeframes.
Usage:
Add the indicator to your chart and adjust inputs as needed.
Use the signals for trend confirmation or entry/exit points, combining multi-timeframe SMA and RSI analysis.
Monitor the table to assess alignment across timeframes.
Notes:
Designed for TradingView with Pine Script v6.
Signals are confirmed on closed bars (barstate.isconfirmed) to avoid repainting.
Ideal for traders seeking a multi-timeframe confirmation tool.
Этот индикатор Pine Script v6 объединяет два популярных инструмента технического анализа — кроссовер Simple Moving Average (SMA) и кроссовер Relative Strength Index (RSI) — на нескольких таймфреймах для генерации бычьих и медвежьих торговых сигналов. Он накладывает линии SMA на график, отображает сигналы с помощью фигур и предоставляет таблицу, обобщающую состояния пересечения SMA на 11 таймфреймах.
Функции:
Кроссовер SMA :
Сравнивает короткую SMA (по умолчанию: 20 периодов) с длинной SMA (по умолчанию: 50 периодов).
Бычий сигнал: короткая SMA пересекает длинную SMA сверху вниз.
Медвежий сигнал: короткая SMA пересекает длинную SMA снизу вверх.
На графике это обозначено зеленой (короткой) и красной (длинной) линиями.
Кроссовер RSI :
Рассчитывает RSI (по умолчанию: 14 периодов) и его SMA (по умолчанию: 14 периодов).
Бычий сигнал: RSI пересекает SMA выше.
Медвежий сигнал: RSI пересекает SMA ниже.
Анализ нескольких таймфреймов :
Оценивает состояния SMA и RSI на 11 таймфреймах: 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W.
Пользователь может переключать включаемые временные интервалы с помощью настроек ввода.
Комбинированная логика :
Генерирует сигнал только тогда, когда выполняются оба условия SMA и RSI (если они включены) на всех выбранных таймфреймах.
Бычий: все выбранные таймфреймы показывают бычьи пересечения SMA и RSI.
Медвежий: все выбранные таймфреймы показывают медвежьи пересечения SMA и RSI.
Логические переключатели позволяют включать/отключать компоненты SMA или RSI.
Визуальные эффекты :
Треугольники : зеленый треугольник под полосой — бычьи сигналы, красный треугольник над полосой — медвежьи сигналы.
Стрелки : зеленая стрелка вверх для «длинных» сигналов, красная стрелка вниз для «коротких» сигналов, что гарантирует отсутствие наложения с предыдущими сигналами.
Таблица : отображает состояния пересечения SMA для всех 11 таймфреймов в нижней центральной части графика (зеленый для бычьего тренда, красный для медвежьего).
Оповещения :
Запускает оповещения для комбинированных бычьих («Таймфреймы SMA Cross и RSI являются бычьими!») и медвежьих («Таймфреймы SMA Cross и RSI являются медвежьими!») сигналов.
Входные данные:
Настройки SMA : короткая длина SMA (20), длинная длина SMA (50).
Настройки RSI : длина RSI (14), длина RSI SMA (14).
Переключатели логики : включение/выключение логики SMA Cross и RSI.
Переключение таймфреймов : включение/отключение каждого из 11 таймфреймов.
Использование:
Добавьте индикатор на свой график и при необходимости скорректируйте входные данные.
Используйте сигналы для подтверждения тренда или точек входа/выхода, комбинируя многовременной анализ SMA и RSI.
Следите за таблицей, чтобы оценить согласованность по всем временным интервалам.
Примечания:
Разработано для TradingView с использованием Pine Script v6.
Сигналы подтверждаются на закрытых барах ( barstate.isconfirmed ), чтобы избежать перерисовки.
Идеально подходит для трейдеров, которым нужен инструмент подтверждения с несколькими таймфреймами.
OG Trend MeterDescription:
The OG Trend Meter gives you a visual snapshot of multiple timeframe trends in one glance. Built for speed and clarity, it helps confirm direction across key intraday timeframes: 1m, 5m, 15m, and 30m.
How it works:
Each timeframe analyzes EMA alignment, price action, and momentum.
Displays clear green/red indicators for bullish/bearish trends on each timeframe.
Great for aligning trades with higher timeframe bias.
Best for:
Traders who want multi-timeframe confirmation before pulling the trigger.
Reducing fakeouts by staying with the dominant trend.
Scalping with the 1m chart while respecting 5m–30m direction.
Pair With: OG Supertrend or EMA Stack for high-probability confluence.
NBSG Mox-ZThe Mox-Z provides a visual representation of momentum and trend strength, enhanced with statistical bands to identify significant levels based on prior momentum.
What It Does
The indicator calculates the Mox-Z value as (EMA12(close) - EMA26(close)) - EMA9(EMA12(close) - EMA26(close))) * 3 using the higher timeframe's closing prices. This value is plotted as a histogram, with colors indicating its position relative to zero and Z-score bands:
Bright Green: Above +0.7 SD (strong bullish momentum).
Bright Red: Below -0.7 SD (strong bearish momentum).
Dark Green: Above zero but below +0.7 SD (moderate bullish momentum).
Dark Red: Below zero but above -0.7 SD (moderate bearish momentum).
Z-score bands are computed over a 200-period lookback on the higher timeframe, using a 0.7 multiplier on the standard deviation, offering a statistical context for the histogram's values.
How to Use It
Use the histogram to gauge momentum shifts on the selected higher timeframe (e.g., weekly momentum on a daily chart).
Bright colors (green/red) suggest potential overextension or strong trend continuation, useful for timing entries or exits.
Dark colors indicate moderate momentum, often signaling consolidation or early trend development.
The ±0.7 SD bands (gray lines) highlight statistically significant levels, aiding in identifying extremes relative to the past 200 periods of the chosen timeframe.
Originality and Purpose
Unlike standard MACD histograms, this script replicates the Mox-Z Indicator's unique scaling (*3 multiplier) and applies it strictly to higher timeframe data, avoiding current timeframe bias. The addition of Z-score bands provides a statistical edge, making it distinct from typical momentum indicators while maintaining simplicity for practical trading.
Settings
Higher Timeframe: Default is "1W" (weekly), but adjust to any timeframe higher than your chart (e.g., "1D" for daily, "1M" for monthly).
This indicator is ideal for traders seeking a higher timeframe momentum perspective with clear visual cues, without relying on complex multi-indicator setups.
RSI Multi-Timeframe K2Indicator Name: RSI Multi-Timeframe Cross Indicator
Overview:
"RSI Multi-Timeframe Cross Indicator" is a versatile Pine Script (v5) tool developed for TradingView, designed for traders using multi-time frame analysis. It monitors the Relative Strength Index (RSI) cross its Simple Moving Average (SMA) on multiple time frames (1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 4-hour and daily) to identify bullish and bearish conditions. The indicator overlays the signals on the chart and provides a customizable table to visualize the time frame conditions.
Key Features:
RSI Crossover Detection:
Monitors when the RSI crosses above (bullish trend) or below (bearish trend) its SMA on each selected time frame.
Uses constant state tracking to maintain a bullish/bearish state until an opposite crossover occurs.
Configurable Parameters:
RSI Length: Configurable period for calculating RSI (default: 14).
MA Length: Configurable period for SMA applied to RSI (default: 20).
Time Frame Controls:
Logical Switches: Independent switches ( use1m , use5m , etc.) to include/exclude each time frame in the signal logic.
Visualization Switches: Separate switches ( show1m , show5m , etc.) to show/hide each time frame in the table without affecting the logic.
Visuals:
Triangles: Green ascending triangles below the bars indicate bullish signals, red descending triangles above the bars indicate bearish signals.
Labels : Long (green) or Short (red) labels on the last confirmed bar when all enabled timeframes match.
Dynamic Table : A centered table at the bottom of the chart displaying the status of each timeframe with colored boxes (green for bullish, red for bearish). The table size is adjustable based on the visible timeframes.
Alerts :
Trigger alerts when all enabled timeframes are bullish ("All RSI timeframes are bullish (green)!") or bearish ("All RSI timeframes are bearish (red)!").
Input Parameters:
RSI Settings :
RSI Length : Integer (min: 1, default: 14) — Period for RSI calculation.
MA Length : Integer (min: 1, default: 20) — Period for SMA RSI.
Timeframe Logic Settings:
Use 1M in Logic, Use 5M in Logic, etc.: Boolean (default: true) - Enable/Disable each timeframe in signal calculation.
Timeframe Visualization Settings:
Show 1M in Table, Show 5M in Table, etc.: Boolean (default: true) - Show/Hide each timeframe in the table display.
Logic:
Bullish Condition: RSI crosses above SMA on a given timeframe, setting a bullish condition until a bearish crossover occurs.
Bearish Condition: RSI crosses below SMA on a given timeframe, setting a bearish condition until a bullish crossover occurs.
Combination signal: A Long or Short signal is generated only when all enabled timeframes (use the * switches) line up in the same direction (bullish or bearish).
Visualization: The table displays the status of each timeframe, but only shows the fields for the timeframes with the Show* switch enabled.
Visual output:
Chart signals:
A green ascending triangle and a Long label when all enabled timeframes are bullish.
A red downward-pointing triangle and a Short label when all enabled timeframes are bearish.
Table:
Located in the lower center of the chart.
The bars dynamically adjust to the number of visible timeframes (1 to 7).
Each cell displays the time frame name (e.g. "1M", "5M") with a background color indicating its status (green for bullish, red for bearish).
Use:
Trend Confirmation: Used to confirm trends across multiple time frames based on RSI behavior.
Configure: Customize RSI and MA lengths to suit your trading strategy, and turn time frames on/off for both logic and visualization to focus on the relevant periods.
Alerts: Set up alerts to be notified when all selected time frames match, useful for automated trading systems or manual monitoring.
Notes:
The indicator does not display RSI or SMA lines directly on the chart, focusing instead on crossover events and signals.
If all visualization toggles are disabled, the table disappears, but signals and alerts continue to function based on the logic toggles.
Compatible with any chart timeframe, data from later timeframes is retrieved using request.security() .
Auto Trendlines [RG]Auto Trendlines
Overview
Auto Trendlines automatically identifies, draws, and manages dynamic support and resistance trendlines based on pivot points. It continuously monitors price action to validate and update trendlines.
Key Features
Automatically identifies support (green) and resistance (red) trendlines
Validates trendlines against historical price action
Configurable lookback period and maximum active lines
Clean visualization with customizable line widths
How It Works
The indicator detects pivot highs and lows using your specified lookback period
It connects consecutive pivots to create potential trendlines
Lines are extended to the right until a confirmed price break
Older lines are automatically removed when the maximum is reached
Customization Options
Lookback Period: Controls the sensitivity of pivot detection
Maximum Active Lines: Limits the number of trendlines displayed
Line Width: Separate width controls for support and resistance lines
Ideal For
Identifying dynamic support and resistance levels.
Spotting potential reversal zones.
This indicator will help you identify trendlines, which you can then sophisticate and redraw more accurately. Please use this indicator only to identify trendline scenarios. Keep in mind that this is not a buy and sell indicator. Trendline breaks and bounces are not always respected, as prices can turn around at any moment. Happy Trading :)
Stoch RSI Multi-Timeframe Cross Indicator
Stoch RSI Multi-Timeframe Cross Indicator
Overview
This Pine Script v6 indicator is designed to monitor Stochastic RSI crossovers across multiple timeframes (1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, and daily) and provide visual and alert-based signals for trading decisions. It overlays on the chart, displaying:
A table showing the bullish (green) or bearish (red) state of each timeframe.
Triangles and labels ("Long" or "Short") to indicate entry points when all enabled timeframes align in a bullish or bearish direction.
Alerts for when all enabled timeframes turn bullish or bearish.
The indicator tracks crossovers between the Stochastic RSI %K and %D lines, persisting the state (bullish or bearish) until the next crossover occurs, mimicking the behavior of the original RSI-based script but adapted for Stochastic RSI.
Inputs
RSI Length (rsiLength): Length of the RSI calculation (default: 14).
Stochastic Length (stochLength): Lookback period for the Stochastic RSI calculation (default: 14).
Smooth K (smoothK): Smoothing period for the %K line (default: 3).
Smooth D (smoothD): Smoothing period for the %D line (default: 3).
Use in Logic (use1m, use5m, etc.): Boolean toggles to include or exclude each timeframe (1M, 5M, 15M, 30M, 1H, 4H, 1D) in the entry signal logic (default: all true).
Timeframes
The indicator monitors the following timeframes, defined as strings compatible with Pine Script v6:
1-minute ("1")
5-minute ("5")
15-minute ("15")
30-minute ("30")
1-hour ("60")
4-hour ("240")
Daily ("D")
Core Logic
Stochastic RSI Calculation:
For each timeframe, the indicator:
Computes RSI using ta.rsi(close, rsiLength).
Applies the stochastic formula to RSI with ta.stoch(rsi, rsi, rsi, stochLength) to get the raw Stochastic RSI.
Smooths the result with ta.sma() to calculate %K (using smoothK) and %D (using smoothD).
This is done within a stochRsiState function, which is called via request.security() to ensure calculations align with each timeframe’s data.
Crossover Detection:
Detects crossovers using ta.crossover(k, d) (bullish) and ta.crossunder(k, d) (bearish).
Maintains a persistent state (var bool isBullish) for each timeframe, updated only when a crossover occurs:
true (bullish) when %K crosses above %D.
false (bearish) when %K crosses below %D.
Multi-Timeframe States:
Each timeframe’s %K, %D, and isBullish state is fetched independently using request.security(), ensuring accurate crossover detection regardless of the chart’s timeframe.
Visual Outputs
Table:
A static table in the bottom-left corner displays the state of each timeframe:
Columns: "1M", "5M", "15M", "30M", "1H", "4H", "1D".
Background color: Green (color.green) for bullish, Red (color.red) for bearish.
Updates on the last confirmed bar (barstate.islast).
Triangles:
Green upward triangle below the bar when all enabled timeframes are bullish (allBullish).
Red downward triangle above the bar when all enabled timeframes are bearish (allBearish).
Labels:
"Long" label (green) below the bar when allBullish is true.
"Short" label (red) below the bar when allBearish is true.
Displayed only on the last confirmed historical bar (barstate.islastconfirmedhistory).
Alerts
All Timeframes Bullish: Triggers when all enabled timeframes are bullish, with the message: "All Stoch RSI timeframes are bullish (green)!"
All Timeframes Bearish: Triggers when all enabled timeframes are bearish, with the message: "All Stoch RSI timeframes are bearish (red)!"
Conditions for Signals
Bullish Condition (allBullish):
True when all enabled timeframes (use1m ? isBullish1m : true, etc.) are bullish, and at least one timeframe is enabled.
Bearish Condition (allBearish):
True when all enabled timeframes are bearish, and at least one timeframe is enabled.
Disabled timeframes are treated as neutral (always true) in the logic, ensuring they don’t block signals.
Usage
Add the indicator to your TradingView chart.
Adjust input parameters (e.g., rsiLength, stochLength, smoothK, smoothD) to match your trading strategy.
Enable/disable timeframes via the input settings to focus on specific ones.
Watch the table for individual timeframe states and the chart for entry signals ("Long"/"Short") when all enabled timeframes align.
Set up alerts to be notified of full alignment.
Notes
The indicator is designed to persist the crossover state until the next crossover, similar to the original RSI-based script, ensuring stability across chart timeframe switches.
It uses request.security() to fetch data, making it robust for multi-timeframe analysis, though performance may depend on the chart’s data availability.
Stoch RSI Multi-Timeframe Cross Индикатор
Обзор
Этот индикатор Pine Script v6 предназначен для мониторинга пересечений Stochastic RSI на нескольких таймфреймах (1-минутный, 5-минутный, 15-минутный, 30-минутный, 1-часовой, 4-часовой и дневной) и предоставления визуальных и основанных на оповещениях сигналов для принятия торговых решений. Он накладывается на график, отображая:
Таблица, показывающая бычье (зеленый) или медвежье (красный) состояние каждого таймфрейма.
Треугольники и метки («Длинный» или «Короткий») для обозначения точек входа, когда все включенные таймфреймы совпадают в бычьем или медвежьем направлении.
Оповещения о том, когда все включенные таймфреймы становятся бычьими или медвежьими.
Индикатор отслеживает пересечения линий %K и %D стохастического RSI , сохраняя состояние (бычье или медвежье) до тех пор, пока не произойдет следующее пересечение, имитируя поведение исходного скрипта на основе RSI, но адаптированного для стохастического RSI.
Входы
Длина RSI ( rsiLength ): длина расчета RSI (по умолчанию: 14).
Длина стохастика ( stochLength ): период ретроспективного анализа для расчета стохастического RSI (по умолчанию: 14).
Сглаживание K ( smoothK ): период сглаживания для линии %K (по умолчанию: 3).
Smooth D ( smoothD ): период сглаживания для линии %D (по умолчанию: 3).
Использовать в логике ( use1m , use5m и т. д.): логические переключатели для включения или исключения каждого таймфрейма (1M, 5M, 15M, 30M, 1H, 4H, 1D) в логику входного сигнала (по умолчанию: все true).
Временные рамки
Индикатор отслеживает следующие таймфреймы, определенные как строки, совместимые с Pine Script v6:
1 минута ( "1" )
5-минутный ( "5" )
15-минутный ( "15" )
30-минутный ( "30" )
1 час ( "60" )
4-часовой ( "240" )
Ежедневно ( "Д" )
Основная логика
Расчет стохастического RSI :
Для каждого таймфрейма индикатор:
Вычисляет RSI с помощью ta.rsi(close, rsiLength) .
Применяет стохастическую формулу к RSI с ta.stoch(rsi, rsi, rsi, stochLength) для получения необработанного стохастического RSI.
Сглаживает результат с помощью ta.sma() для вычисления %K (используя smoothK ) и %D (используя smoothD ).
Это делается в функции stochRsiState , которая вызывается через request.security(), чтобы гарантировать соответствие расчетов данным каждого таймфрейма.
Обнаружение кроссовера :
Обнаруживает пересечения с помощью ta.crossover(k, d) (бычий) и ta.crossunder(k, d) (медвежий).
Поддерживает постоянное состояние ( var bool isBullish ) для каждого таймфрейма, обновляется только при возникновении пересечения:
истина (бычий тренд), когда %K пересекает %D снизу вверх .
ложно (медвежье), когда %K пересекает %D снизу .
Состояния с несколькими таймфреймами :
Состояние %K , %D и isBullish каждого таймфрейма извлекается независимо с помощью request.security() , что обеспечивает точное обнаружение пересечений независимо от таймфрейма графика.
Визуальные результаты
Стол :
Статическая таблица в нижнем левом углу отображает состояние каждого таймфрейма:
Столбцы: «1M», «5M», «15M», «30M», «1H», «4H», «1D».
Цвет фона: зеленый ( color.green ) для бычьего тренда, красный ( color.red ) для медвежьего тренда.
Обновления по последнему подтвержденному бару ( barstate.islast ).
Треугольники :
Зеленый восходящий треугольник под полосой, когда все включенные таймфреймы являются бычьими ( allBullish ).
Красный нисходящий треугольник над баром, когда все включенные таймфреймы медвежьи ( allBearish ).
Метки :
Метка «Длинная» (зеленая) под полосой, когда allBullish имеет значение true.
Метка «Короткая» (красная) под полосой, когда allBearish имеет значение true.
Отображается только на последнем подтвержденном историческом баре ( barstate.islastconfirmedhistory ).
Оповещения
Все таймфреймы бычьи : срабатывает, когда все включенные таймфреймы бычьи, с сообщением: «Все таймфреймы Stoch RSI бычьи (зеленые)!»
Все таймфреймы медвежьи : срабатывает, когда все включенные таймфреймы медвежьи, с сообщением: «Все таймфреймы Stoch RSI медвежьи (красные)!»
Условия для сигналов
Бычье состояние ( всеБычье ) :
Истинно, когда все включенные таймфреймы ( use1m ? isBullish1m : true и т. д.) являются бычьими и включен хотя бы один таймфрейм.
Медвежьи условия ( всемедвежьи ) :
Истинно, когда все включенные таймфреймы являются медвежьими и включен хотя бы один таймфрейм.
Отключенные таймфреймы рассматриваются в логике как нейтральные (всегда истинные ), что гарантирует, что они не блокируют сигналы.
Использование
Добавьте индикатор на свой график TradingView.
Отрегулируйте входные параметры (например, rsiLength , stochLength , smoothK , smoothD ) в соответствии с вашей торговой стратегией.
Включите/отключите таймфреймы с помощью настроек ввода, чтобы сосредоточиться на определенных из них.
Следите за таблицей для определения состояний отдельных таймфреймов и графиком для определения сигналов на вход («Длинный»/«Короткий»), когда все включенные таймфреймы совпадают.
Настройте оповещения, чтобы получать уведомления о полном выравнивании.
Примечания
Индикатор разработан таким образом, чтобы сохранять состояние пересечения до следующего пересечения, аналогично оригинальному скрипту на основе RSI, обеспечивая стабильность при переключении таймфреймов графика.
Для извлечения данных используется request.security() , что делает его надежным для многовременного анализа, хотя производительность может зависеть от доступности данных графика.
SMA Multi-Timeframe Trend Indicator (Enhanced)Here is the description of the "SMA Multi-Timeframe Trend Indicator (Enhanced)" in English, based on the latest version of the code:
Description of the Indicator: SMA Multi-Timeframe Trend Indicator (Enhanced)
Purpose:
The indicator is designed to identify trends based on the price crossing a Simple Moving Average (SMA) on the current timeframe, with additional confirmation of the trend direction across multiple timeframes. It assists traders in finding entry points (Long or Short), displaying signals only at the moment of the first crossing of the candle body through the SMA, avoiding repeated signals until the next opposite crossing.
Indicator Type: Overlay — displayed on top of the price chart.
Key Features:
Entry Signals:
Long (green triangle and "Long" label): Appears when the candle body fully crosses the SMA upward (the candle's low low becomes higher than the SMA) and it is the first crossing after a previous bearish signal or from the chart's start.
Short (red triangle and "Short" label): Appears when the candle body fully crosses the SMA downward (the candle's high high becomes lower than the SMA) and it is the first crossing after a previous bullish signal or from the chart's start.
Signals are shown only once until the next opposite crossing, preventing redundant notifications.
Multi-Timeframe Confirmation:
The indicator analyzes the trend state across 9 timeframes: 1M, 5M, 15M, 30M, 1H, 4H, 8H, 1D, 1W.
For each timeframe, it checks the price position relative to the SMA:
Bullish state (low > SMA) — green color.
Bearish state (high < SMA) — red color.
An entry signal is generated only if all enabled timeframes confirm the trend direction (all bullish for Long, all bearish for Short).
Visualization:
SMA Line: Displayed on the current timeframe chart (green color, RGB: 9, 247, 108, linewidth 1).
Triangles: Green below the candle for Long, red above the candle for Short.
Labels: "Long" (green) or "Short" (red) appear on the last confirmed candle below the chart.
Table: Positioned at the bottom center of the chart, containing 9 cells (one for each timeframe), showing the current state (green or red background).
Customizability:
SMA Length: Users can set the SMA period (default is 20).
Timeframe Selection: Each of the 9 timeframes can be enabled or disabled in the logic settings (default: only 1H enabled).
Alerts:
Two types of notifications are generated:
"Bullish Cross": When the price crosses above the SMA on all enabled timeframes.
"Bearish Cross": When the price crosses below the SMA on all enabled timeframes.
How the Indicator Works:
SMA Calculation:
A Simple Moving Average (SMA) is calculated on the current timeframe with the specified period.
The trend state is determined on each of the 9 timeframes based on the price's position relative to the SMA.
Signal Conditions:
For Long: The low of the current candle (low) crosses the SMA upward (ta.crossover(low, smaCurrent)), and all enabled timeframes show a bullish state.
For Short: The high of the current candle (high) crosses the SMA downward (ta.crossunder(high, smaCurrent)), and all enabled timeframes show a bearish state.
A signal triggers only if the previous signal was in the opposite direction or absent, controlled by the lastSignalWasBullish variable.
Display:
When conditions are met, a triangle and label of the corresponding direction appear on the chart.
The table updates on each candle, reflecting the current state of all timeframes.
Usage:
Timeframe: Suitable for any timeframe, but tested on 1H with all other timeframes disabled.
Default Settings:
smaLength = 20
Only 1H enabled (use1h = true), others disabled (false).
Recommendations:
For more frequent signals, reduce smaLength (e.g., to 10).
To filter noise, enable additional timeframes (e.g., 4H, 1D).
Use alerts for automatic entry point notifications.
Example of Operation:
Scenario on 1H:
The price on the previous bar was below the SMA (high < smaCurrent), and on the current bar, low > smaCurrent. If 1H is the only enabled timeframe, a green triangle and "Long" label appear immediately.
Then the price drops, and high < smaCurrent after crossing downward — a red triangle and "Short" label appear.
Signals do not repeat until the price crosses the SMA in the opposite direction.
Limitations:
If all timeframes are disabled, the indicator will not generate signals (at least one timeframe must be enabled).
On highly volatile markets or with a large smaLength, crossings may be infrequent.
The table always displays the state of all 9 timeframes, even if they are not used in the logic.
Описание индикатора: SMA Multi-Timeframe Trend Indicator (Enhanced)
Назначение:
Индикатор предназначен для определения трендов на основе пересечения цены с простой скользящей средней (SMA) на текущем таймфрейме с дополнительным подтверждением состояния тренда на нескольких таймфреймах. Он помогает трейдерам находить точки входа в позицию (Long или Short), отображая сигналы только в момент первого пересечения тела свечи через SMA, избегая повторных сигналов до следующего противоположного пересечения.
Тип индикатора: Наложение (Overlay) — отображается поверх графика цены.
Основные особенности:
Сигналы входа:
Long (зелёный треугольник и метка "Long"): Появляется, когда тело свечи полностью пересекает SMA вверх (минимум свечи low становится выше SMA) и это первое пересечение после предыдущего медвежьего сигнала или с начала графика.
Short (красный треугольник и метка "Short"): Появляется, когда тело свечи полностью пересекает SMA вниз (максимум свечи high становится ниже SMA) и это первое пересечение после предыдущего бычьего сигнала или с начала графика.
Сигналы отображаются только один раз до следующего противоположного пересечения, что предотвращает избыточные уведомления.
Мультитаймфреймовое подтверждение:
Индикатор анализирует состояние тренда на 9 таймфреймах: 1M, 5M, 15M, 30M, 1H, 4H, 8H, 1D, 1W.
Для каждого таймфрейма проверяется положение цены относительно SMA:
Бычье состояние (low > SMA) — зелёный цвет.
Медвежье состояние (high < SMA) — красный цвет.
Сигнал на вход появляется только если все включённые таймфреймы подтверждают направление тренда (все бычьи для Long, все медвежьи для Short).
Визуализация:
Линия SMA: Отображается на графике текущего таймфрейма (зелёный цвет, RGB: 9, 247, 108, толщина 1).
Треугольники: Зелёные под свечой для Long, красные над свечой для Short.
Метки: "Long" (зелёная) или "Short" (красная) появляются на последней подтверждённой свече внизу графика.
Таблица: Расположена по центру внизу графика, содержит 9 ячеек (по одной для каждого таймфрейма), показывающих текущее состояние (зелёный или красный фон).
Настраиваемость:
Длина SMA: Пользователь может задать период скользящей средней (по умолчанию 20).
Выбор таймфреймов: Каждый из 9 таймфреймов можно включить или выключить в настройках логики (по умолчанию включён только 1H).
Алерты:
Генерируются два типа уведомлений:
"Bullish Cross": Когда цена пересекает SMA вверх на всех включённых таймфреймах.
"Bearish Cross": Когда цена пересекает SMA вниз на всех включённых таймфреймах.
Как работает индикатор:
Расчёт SMA:
На текущем таймфрейме рассчитывается простая скользящая средняя (SMA) с заданным периодом.
На каждом из 9 таймфреймов определяется состояние тренда на основе положения цены относительно SMA.
Условия сигнала:
Для Long: Минимум текущей свечи (low) пересекает SMA вверх (ta.crossover(low, smaCurrent)), и все включённые таймфреймы показывают бычье состояние.
Для Short: Максимум текущей свечи (high) пересекает SMA вниз (ta.crossunder(high, smaCurrent)), и все включённые таймфреймы показывают медвежье состояние.
Сигнал срабатывает только если предыдущий сигнал был противоположным или отсутствовал, что контролируется переменной lastSignalWasBullish.
Отображение:
При выполнении условий на графике появляются треугольник и метка соответствующего направления.
Таблица обновляется на каждой свече, показывая текущее состояние всех таймфреймов.
Использование:
Таймфрейм: Подходит для любого таймфрейма, но протестирован на 1H с отключёнными остальными таймфреймами.
Настройки по умолчанию:
smaLength = 20
Только 1H включён (use1h = true), остальные выключены (false).
Рекомендации:
Для более частых сигналов уменьшите smaLength (например, до 10).
Для фильтрации шума включите дополнительные таймфреймы (например, 4H, 1D).
Используйте алерты для автоматического уведомления о точках входа.
Пример работы:
Сценарий на 1H:
Цена на предыдущем баре была ниже SMA (high < smaCurrent), а на текущем баре low > smaCurrent. Если 1H — единственный включённый таймфрейм, сразу появляется зелёный треугольник и метка "Long".
Затем цена падает, и high < smaCurrent после пересечения вниз — появляется красный треугольник и метка "Short".
Сигналы не повторяются, пока цена не пересечёт SMA в противоположном направлении.
Ограничения:
Если все таймфреймы отключены, индикатор не будет генерировать сигналы (требуется хотя бы один включённый таймфрейм).
На очень волатильных рынках или при большом значении smaLength пересечения могут быть редкими.
Таблица всегда показывает состояние всех 9 таймфреймов, даже если они не используются в логике.
MACD Multi-Timeframe K2Indicator Description: MACD Multi-Timeframe K2
Important! it works best when all timeframes except 1M and 1W on the daily chart are included.
Review
"MACD Multi-Timeframe K2" is a Pine Script v5 indicator designed to monitor convergence crossings and divergences of moving averages (MACDs) on multiple timeframes simultaneously. It provides visual signals on the chart and a dynamic table to help traders identify when the MACD conditions match on selected timeframes, indicating potential bullish or bearish opportunities. This superimposed indicator is ideal for traders who use multi-time frame analysis to confirm trends or reversals.
How it works
MACD calculation : For each timeframe, the indicator calculates the MACD using three components:
Fast EMA : short-term exponential moving average (default length: 12).
Slow EMA : long-term exponential moving average (default length: 26).
Signal line : 9-period EMA of the MACD line (fast EMA - slow EMA).
Crossover detection :
A bullish signal occurs when the MACD line crosses the signal line from bottom to top.
A bearish signal occurs when the MACD line crosses the signal line from bottom to top.
The logic of working with multiple timeframes: the indicator checks the MACD intersections on 11 timeframes (1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W) and gives a signal only when all the included timeframes line up in the same direction (all bullish or all bearish).
Visualization :
Triangles : green triangles under the bars are bullish signals, red triangles above the bars are bearish signals.
Labels: The labels "Long" (green) or "Short" (red) appear on the last confirmed bar when the conditions match.
Table : The dynamic table in the lower central part of the chart shows the MACD status (green for bullish trend, red for bearish) for each included timeframe.
Entrances
MACD Settings :
The length of the fast moving average : the length of the fast EMA (default: 12).
The length of the slow EMA: the length of the slow EMA (default: 26).
The length of the signal : the length of the signal line EMA (default: 9).
Timeframe logic settings : switching timeframes involved in the logic of the signal:
Use 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W (all default values are true).
Timeframe visualization settings : switching timeframes displayed in the table:
Show 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W (all default values are true).
Functions
Configurable time frames: Enable or disable specific time frames for independent signal generation and visualization.
Dynamic Table: Adjusts the number of columns based on visible timeframes, displaying only selected columns with real-time color updates (green = bullish, red = bearish).
Alerts : Built-in alert conditions when all included timeframes become bullish ("All Timeframes Bullish") or bearish ("All Timeframes Bearish").
Overlay design: Signals are displayed directly on the price chart, making it easier to integrate with other indicators or price action analysis.
Using
Configure :
Add the indicator to your TradingView chart.
Adjust the length of the MACD (fast, slow, signal) in the settings according to your trading strategy.
Enable/disable timeframes in the "Timeframe Logic Settings" section to determine which of them trigger the signals.
Enable/disable timeframes in the Timeframe Visualization Settings section to customize the table display.
Interpretation of signals :
Bullish (long) : The green triangle below the band and the "Long" label indicate that the MACD line has crossed the signal line from top to bottom on all included timeframes. Consider this as a potential buy signal.
Bearish (short) : The red triangle above the band and the "short" label indicate that the MACD line has crossed the signal line from below on all included timeframes. Consider this as a potential sell signal.
Table : Keep an eye on the table to see the MACD status across all time intervals. Green cells suggest bullish momentum, red cells suggest bearish momentum.
Testing :
Use lower timeframes (e.g., 5M, 15M) for more frequent signals, or higher timeframes (e.g., 1D, 1W) for stronger trend confirmation.
Experiment with the MACD settings (for example, 5, 13, 3) for faster or slower signal generation.
Notes
Performance : When all 11 timeframes are enabled, the indicator makes several calls to request.security(), which may cause a slight delay on very low timeframes of the chart (for example, 1M). For optimal performance, test at 5M or higher or disable unused timeframes.
Signal frequency : MACD crossings tend to occur less frequently than some other indicators (such as the RSI). Adjust the MACD length or timeframe selection to balance sensitivity and reliability.
Setup: If desired, the script can be expanded with additional functions, such as stop loss/take profit fields (as in previous versions of Stoch RSI).
Examples of scenarios
Bullish setup : on the 15-month chart, all included timeframes (for example, 1M, 5M, 15M, 1H) are displayed in the table in green, a green triangle appears under the bar, and the "Long" label confirms the signal.
Bearish setup: on the 1H chart, all included timeframes (for example, 1H, 4H, 1D) turn red, a red triangle appears above the band, and the "Short" label signals a potential downtrend.
Описание индикатора: MACD Multi-Timeframe K2
Важно! работает лучше всего когда включены все таймфреймы кроме 1M и 1W на дневном графике.
Обзор
"MACD Multi-Timeframe K2" - это индикатор Pine Script v5, разработанный для мониторинга пересечений конвергенции и расхождения скользящих средних (MACD) на нескольких таймфреймах одновременно. Он обеспечивает визуальные сигналы на графике и динамическую таблицу, чтобы помочь трейдерам определить, когда условия MACD совпадают на выбранных таймфреймах, указывая на потенциальные бычьи или медвежьи возможности. Этот наложенный индикатор идеально подходит для трейдеров, которые используют многотаймфреймовый анализ для подтверждения трендов или разворотов.
Как это работает
Расчет MACD : для каждого таймфрейма индикатор рассчитывает MACD, используя три компонента:
Быстрая EMA : краткосрочная экспоненциальная скользящая средняя (длина по умолчанию: 12).
Медленная EMA : долгосрочная экспоненциальная скользящая средняя (длина по умолчанию: 26).
Сигнальная линия : 9-периодная EMA линии MACD (быстрая EMA - медленная EMA).
Обнаружение кроссовера :
Бычий сигнал возникает, когда линия MACD пересекает сигнальную линию снизу вверх.
Медвежий сигнал возникает, когда линия MACD пересекает сигнальную линию снизу вверх.
Логика работы с несколькими таймфреймами : индикатор проверяет пересечения MACD на 11 таймфреймах (1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W) и подает сигнал только тогда, когда все включенные таймфреймы выстраиваются в одном направлении (все бычьи или все медвежьи).
Визуализация :
Треугольники : зеленые треугольники под столбиками — бычьи сигналы, красные треугольники над столбиками — медвежьи сигналы.
Метки : метки «Длинный» (зеленый) или «Короткий» (красный) появляются на последнем подтвержденном баре, когда условия совпадают.
Таблица : динамическая таблица в нижней центральной части графика показывает состояние MACD (зеленый — для бычьего тренда, красный — для медвежьего) для каждого включенного таймфрейма.
Входы
Настройки MACD :
Длина быстрой скользящей средней : длина быстрой EMA (по умолчанию: 12).
Длина медленной EMA: длина медленной EMA (по умолчанию: 26).
Длина сигнала : длина сигнальной линии EMA (по умолчанию: 9).
Настройки логики таймфрейма : переключение таймфреймов, участвующих в логике сигнала:
Используйте 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W (все значения по умолчанию: true).
Настройки визуализации таймфрейма : переключение таймфреймов, отображаемых в таблице:
Показать 1M, 5M, 15M, 30M, 1H, 2H, 4H, 8H, 12H, 1D, 1W (все значения по умолчанию: true).
Функции
Настраиваемые временные рамки : включение или отключение определенных временных рамок для независимой генерации и визуализации сигнала.
Динамическая таблица : регулирует количество столбцов на основе видимых таймфреймов, отображая только выбранные столбцы с обновлением цвета в реальном времени (зеленый = бычий, красный = медвежий).
Оповещения : встроенные условия оповещения, когда все включенные таймфреймы становятся бычьими («All Timeframes Bullish») или медвежьими («All Timeframes Bearish»).
Дизайн наложения : сигналы отображаются непосредственно на ценовом графике, что упрощает интеграцию с другими индикаторами или анализом ценового действия.
Использование
Настраивать :
Добавьте индикатор на свой график TradingView.
Отрегулируйте длину MACD (быстрая, медленная, сигнальная) в настройках в соответствии с вашей торговой стратегией.
Включите/отключите таймфреймы в разделе «Настройки логики таймфрейма», чтобы определить, какие из них запускают сигналы.
Включите/отключите таймфреймы в разделе «Настройки визуализации таймфреймов», чтобы настроить отображение таблицы.
Интерпретация сигналов :
Бычий (длинный) : зеленый треугольник под полосой и метка «Длинный» указывают на то, что линия MACD пересекла сигнальную линию сверху вниз на всех включенных таймфреймах. Рассматривайте это как потенциальный сигнал на покупку.
Медвежий (короткий) : Красный треугольник над полосой и метка «короткий» указывают на то, что линия MACD пересекла сигнальную линию снизу на всех включенных таймфреймах. Рассматривайте это как потенциальный сигнал на продажу.
Таблица : Следите за таблицей, чтобы увидеть состояние MACD по всем временным интервалам. Зеленые ячейки предполагают бычий импульс, красные ячейки предполагают медвежий импульс.
Тестирование :
Используйте более низкие таймфреймы (например, 5M, 15M) для более частых сигналов или более высокие таймфреймы (например, 1D, 1W) для более сильного подтверждения тренда.
Поэкспериментируйте с настройками MACD (например, 5, 13, 3) для более быстрой или медленной генерации сигнала.
Примечания
Производительность : при включении всех 11 таймфреймов индикатор делает несколько вызовов request.security() , что может вызвать небольшую задержку на очень низких таймфреймах графика (например, 1M). Для оптимальной производительности тестируйте на 5M или выше или отключите неиспользуемые таймфреймы.
Частота сигнала : пересечения MACD, как правило, происходят реже, чем некоторые другие индикаторы (например, RSI). Отрегулируйте длину MACD или выбор таймфрейма, чтобы сбалансировать чувствительность и надежность.
Настройка : При желании скрипт можно расширить дополнительными функциями, такими как поля стоп-лосса/тейк-профита (как в предыдущих версиях Stoch RSI).
Примеры сценариев
Бычья установка : на 15-месячном графике все включенные таймфреймы (например, 1M, 5M, 15M, 1H) отображаются в таблице зеленым цветом, под полосой появляется зеленый треугольник, а метка «Длинная» подтверждает сигнал.
Медвежья установка : на графике 1H все включенные таймфреймы (например, 1H, 4H, 1D) становятся красными, над полосой появляется красный треугольник, а метка «Short» сигнализирует о потенциальном нисходящем тренде.
Apex Trend SniperApex Trend Sniper - Advanced Trend Trading Strategy (Pine Script v5)
🚀 Overview
The Apex Trend Sniper is an advanced, fully automated trend-following strategy designed for crypto, forex, and stock markets. It combines momentum analysis, trend confirmation, volume validation, and adaptive risk management to capture high-probability trades. Unlike many strategies, this system is 100% non-repainting, ensuring reliable backtesting and real-time execution.
🔹 How This Strategy Works (Indicator Mashup)
The Apex Trend Sniper leverages multiple indicators to create a robust multi-layered confirmation system:
1️⃣ Trend Identification with RMI & McGinley Dynamic
📌 What It Does: Identifies the dominant trend and prevents trading against market conditions.
✔ McGinley Dynamic Baseline:
A highly adaptive moving average that dynamically reacts to price changes.
Price above the baseline = bullish trend.
Price below the baseline = bearish trend.
✔ Relative Momentum Index (RMI):
A refined Relative Strength Index (RSI) that filters out weak trends.
Above 50 = bullish confirmation.
Below 50 = bearish confirmation.
2️⃣ Trend Strength Confirmation with Vortex Indicator
📌 What It Does: Confirms that a detected trend is strong and valid.
✔ Vortex Indicator (VI):
Measures directional movement and trend strength.
A bullish trend is confirmed when VI+ > VI-.
A bearish trend is confirmed when VI- > VI+.
3️⃣ Volume Spike Detection for Trade Validation
📌 What It Does: Ensures that trades are placed only during strong market participation.
✔ Volume Confirmation:
A trade signal is only valid if volume spikes above the moving average.
Helps avoid false breakouts and weak trends.
4️⃣ Entry & Exit Strategy with Multi-Level Take Profits
📌 What It Does: Enters trades only when all conditions align and manages risk effectively.
✔ Entry Conditions (All must be met):
Price is above/below McGinley Dynamic.
RMI confirms trend direction.
Vortex indicator confirms trend strength.
Volume spike is detected.
✔ Exit Conditions:
Take Profit 1 (TP1): Secures 50% of the position at the first price target.
Take Profit 2 (TP2): Closes the remaining position at the second price target.
Exit Before Reversal: If an opposite trend signal appears, the position is closed early.
Trend Weakness Exit: If momentum weakens, the trade is exited automatically.
📌 Strategy Customization
🔧 Fully customizable to fit any trading style:
✔ McGinley Dynamic Length – Adjust baseline sensitivity.
✔ RMI & Vortex Settings – Fine-tune momentum filters.
✔ Volume Thresholds – Modify spike detection for better accuracy.
✔ Take Profit Levels – Set TP1 & TP2 based on market volatility.
📢 How to Use Apex Trend Sniper
1️⃣ Apply the strategy to any TradingView chart.
2️⃣ Customize the settings to fit your trading approach.
3️⃣ Use the backtest report to evaluate performance.
4️⃣ Monitor the dashboard to track real-time trade execution.
📌 Recommended Timeframes & Markets
✔ Best Markets:
✅ Crypto (BTC, ETH, SOL, etc.)
✅ Forex (EUR/USD, GBP/USD, JPY/USD, etc.)
✅ Stocks & Indices (S&P500, NASDAQ, etc.)
✔ Optimal Timeframes:
✅ Swing Trading: 1H – 4H – 1D
✅ Intraday & Scalping: 5M – 15M – 30M
📌 Backtest Settings for Realistic Performance
✔ Initial Capital: $1000 (or more for scaling).
✔ Commission: 0.05% (to simulate exchange fees).
✔ Slippage: 1-2 (to account for execution delay).
✔ Date Range: Test across different market conditions.
📢 TradingView Disclaimer
📌 This script is for educational purposes only and does not constitute financial advice. Trading carries significant risk, and past performance does not guarantee future results. Always test strategies thoroughly before applying them in a live market. Users are responsible for their own trading decisions.
🚀 Why Choose Apex Trend Sniper?
✅ Non-Repainting – No misleading signals.
✅ Multi-Layer Confirmation – Reduces false trades.
✅ Volume & Trend Strength Validation – Ensures high-probability entries.
✅ Adaptive Risk Management – Secures profits while maximizing trends.
✅ Versatile Across Markets & Timeframes – Works for crypto, forex, and stocks.
📢 Start Trading Smarter with Apex Trend Sniper! 🚀
🔗 Try it now on TradingView and optimize your trend-following strategy. 🔥
BB Session RangesBB Session Ranges Indicator
Overview
The Bender Bot Session Ranges indicator is a powerful tool for traders who want to visualize and analyze important market sessions throughout the trading day. This indicator identifies and tracks price ranges during specific time periods, helping you spot potential trading opportunities based on session breakouts, retests, and range comparisons.
Key Features
• Multiple Session Tracking: Monitor up to 6 different time-based ranges simultaneously (pre-configured for NY AM Open, NY PM Open, Lunch, Premarket, Midnight Open, and a custom session).
• Range Visualization: Clearly displays high and low boundaries for each session with customizable colors and line styles.
• Historical Comparison: Tracks and displays the average size of ranges over time, helping you identify when current ranges are larger or smaller than typical.
• Flexible Time Settings: Easily configure exact session times based on your trading schedule and preferred markets.
• Range Extension Options: Extend range boundaries by bars, days, or weeks to track the longer-term influence of session ranges.
• Sidecar Information Display: Optional labels show range details, including size, percentage of average, and dollar value.
How It Works
The indicator identifies specific time-based sessions (for example, the first 5 minutes of the NY market open) and tracks the high and low prices established during these periods. Once a session is complete, the range boundaries are plotted on your chart and can be extended for further analysis. The indicator calculates the current range size and compares it to historical averages, giving you context for the day’s market behavior.
Sidecar Functionality
The sidecar feature is a key aspect of this indicator that helps keep your charts clean and organized. Instead of cluttering your price action with labels and annotations directly on the ranges, the sidecar system:
• Creates a dedicated information panel offset from the price action.
• Connects to ranges with discreet connecting lines.
• Displays key statistics like range size, dollar value, and percentage of average.
• Can be positioned at custom distances from the main chart (measured in bars).
• Allows you to see important data without interfering with your price analysis.
• Can be completely disabled when you prefer minimal chart elements.
• Helps maintain visual clarity even when tracking multiple sessions simultaneously.
This design philosophy puts trader experience first by separating information display from price action analysis, giving you the best of both worlds: clean charts and detailed information.
Setup Guide
1. Choose Your Sessions: Enable or disable each of the six available ranges by setting the Max Ranges to Plot parameter (use 0 to disable a range).
2. Configure Session Times: Set exact times for each range using standard 24-hour format (for example, 0930-0935 for 9:30-9:35 AM).
3. Customize Display: Select colors, line widths, and information display options for each range.
4. Set Extension Parameters: Choose how far to extend range lines (by a number of bars, days, or weeks, or select Always for continuous extension).
5. Configure Sidecar Labels: Set the offset for the information displays (use 0 to disable sidecar labels entirely).
Trading Applications
• Identify potential support and resistance levels based on session highs and lows.
• Compare current session ranges to historical averages to gauge volatility.
• Look for breakouts from established session ranges.
• Use range extensions to anticipate potential price targets.
• Monitor multiple session ranges to identify pattern correlations.
Advanced Usage
The indicator includes fields that help you assess range size relative to past performance, including dollar value calculations. This can be particularly useful for position sizing and risk management when trading breakouts from these ranges.
Future Development
We’re actively working on expanding this indicator to include robust strategy and alert functionality. This will allow traders to:
• Backtest trading strategies based on session range breakouts and retests.
• Customize entry, exit, and risk management parameters.
• Receive real-time alerts when price interacts with significant range levels.
• Set conditional alerts based on range size compared to historical averages.
• Automate trading decisions based on your specific session-based criteria.
If these strategy and alert features would be valuable for your trading, please let us know in the comments. Your feedback directly influences our development priorities and helps us create tools that best serve the trading community.
Notes
• All times are based on the America/New_York timezone.
• The indicator dynamically adjusts to different timeframes, providing consistent results whether you’re viewing 1-minute or daily charts.
• Range calculations are based on the highs and lows established during the defined sessions.
Auto TrendLines [TradingFinder] Support Resistance Signal Alerts🔵 Introduction
The trendline is one of the most essential tools in technical analysis, widely used in financial markets such as Forex, cryptocurrency, and stocks. A trendline is a straight line that connects swing highs or swing lows and visually indicates the market’s trend direction.
Traders use trendlines to identify price structure, the strength of buyers and sellers, dynamic support and resistance zones, and optimal entry and exit points.
In technical analysis, trendlines are typically classified into three categories: uptrend lines (drawn by connecting higher lows), downtrend lines (formed by connecting lower highs), and sideways trends (moving horizontally). A valid trendline usually requires at least three confirmed touchpoints to be considered reliable for trading decisions.
Trendlines can serve as the foundation for a variety of trading strategies, such as the trendline bounce strategy, valid breakout setups, and confluence-based analysis with other tools like candlestick patterns, divergences, moving averages, and Fibonacci levels.
Additionally, trendlines are categorized into internal and external, and further into major and minor levels, each serving unique roles in market structure analysis.
🔵 How to Use
Trendlines are a key component in technical analysis, used to identify market direction, define dynamic support and resistance zones, highlight strategic entry and exit points, and manage risk. For a trendline to be reliable, it must be drawn based on structural principles—not by simply connecting two arbitrary points.
🟣 Selecting Pivot Types Based on Trend Direction
The first step is to determine the market trend: uptrend, downtrend, or sideways.
Then, choose pivot points that match the trend type :
In an uptrend, trendlines are drawn by connecting low pivots, especially higher lows.
In a downtrend, trendlines are formed by connecting high pivots, specifically lower highs.
It is crucial to connect pivots of the same type and structure to ensure the trendline is valid and analytically sound.
🟣 Pivot Classification
This indicator automatically classifies pivot points into two categories :
Major Pivots :
MLL : Major Lower Low
MHL : Major Higher Low
MHH : Major Higher High
MLH : Major Lower High
These define the primary structure of the market and are typically used in broader structural analysis.
Minor Pivots :
mLL: minor Lower Low
mHL: minor Higher Low
mHH: minor Higher High
mLH: minor Lower High
These are used for drawing more precise trendlines within corrective waves or internal price movements.
Example : In a downtrend, drawing a trendline from an MHH to an mHH creates structural inconsistency and introduces noise. Instead, connect points like MHL to MHL or mLH to mLH for a valid trendline.
🟣 Drawing High-Precision Trendlines
To ensure a reliable trendline :
Use pivots of the same classification (Major with Major or Minor with Minor).
Ensure at least three valid contact points (three touches = structural confirmation).
Draw through candles with the least deviation (choose wicks or bodies based on confluence).
Preferably draw from right to left for better alignment with current market behavior.
Use parallel lines to turn a single trendline into a trendline zone, if needed.
🟣 Using Trendlines for Trade Entries
Bounce Entry: When price approaches the trendline and shows signs of reversal (e.g., a reversal candle, divergence, or support/resistance), enter in the direction of the trend with a logical stop-loss.
Breakout Entry: When price breaks through the trendline with strong momentum and a confirmation (such as a retest or break of structure), consider trading in the direction of the breakout.
🟣 Trendline-Based Risk Management
For bounce entries, the stop-loss is placed below the trendline or the last pivot low (in an uptrend).
For breakout entries, the stop-loss is set behind the breakout candle or the last structural level.
A broken trendline can also act as an exit signal from a trade.
🟣 Combining Trendlines with Other Tools (Confluence)
Trendlines gain much more strength when used alongside other analytical tools :
Horizontal support and resistance levels
Moving averages (such as EMA 50 or EMA 200)
Fibonacci retracement zones
Candlestick patterns (e.g., Engulfing, Pin Bar)
RSI or MACD divergences
Market structure breaks (BoS / ChoCH)
🔵 Settings
Pivot Period : This defines how sensitive the pivot detection is. A higher number means the algorithm will identify more significant pivot points, resulting in longer-term trendlines.
Alerts
Alert :
Enable or disable the entire alert system
Set a custom alert name
Choose how often alerts trigger (every time, once per bar, or on bar close)
Select the time zone for alert timestamps (e.g., UTC)
Each trendline type supports two alert types :
Break Alert : Triggered when price breaks the trendline
React Alert : Triggered when price reacts or bounces off the trendline
These alerts can be independently enabled or disabled for all trendline categories (Major/Minor, Internal/External, Up/Down).
Display :
For each of the eight trendline types, you can control :
Whether to show or hide the line
Whether to delete the previous line when a new one is drawn
Color, line style (solid, dashed, dotted), extension direction (e.g., right only), and width
Major lines are typically thicker and more opaque, while minor lines appear thinner and more transparent.
All settings are designed to give the user full control over the appearance, behavior, and alert system of the indicator, without requiring manual drawing or adjustments.
🔵 Conclusion
A trendline is more than just a line on the chart—it is a structural, strategic, and flexible tool in technical analysis that can serve as the foundation for understanding price behavior and making trading decisions. Whether in trending markets or during corrections, trendlines help traders identify market direction, key zones, and high-potential entry and exit points with precision.
The accuracy and effectiveness of a trendline depend on using structurally valid pivot points and adhering to proper market logic, rather than relying on guesswork or personal bias.
This indicator is built to solve that exact problem. It automatically detects and draws multiple types of trendlines based on actual price structure, separating them into Major/Minor and Internal/External categories, and respecting professional analytical principles such as pivot type, trend direction, and structural location.
Regime Filter IndicatorRegime Filter – Crypto Market Trend Indicator
📊 Overview
The Regime Filter is a powerful market analysis indicator designed specifically for crypto trading. It helps traders identify whether the market is in a bullish or bearish phase by analyzing key assets in the cryptocurrency market, including Bitcoin (BTC), Bitcoin Dominance (BTC.D), and the Altcoin Market (TOTAL3). The indicator compares these assets against their respective Simple Moving Averages (SMA) to determine the overall market regime, allowing traders to make more informed decisions.
🔍 How It Works
The Regime Filter evaluates three main components to determine the market's sentiment:
1. BTC Dominance (BTC.D) vs. 40 SMA (Medium Timeframe)
The Bitcoin Dominance (BTC.D) is compared to its 40-period SMA on a mid-timeframe (e.g.,
1-hour). If BTC.D is below the 40 SMA, it indicates that altcoins are performing well relative
to Bitcoin, suggesting a bullish altcoin market. If BTC.D is above the 40 SMA, Bitcoin is
gaining dominance, indicating a potential bearish phase for altcoins.
2. TOTAL3 Market Cap vs. 100 SMA (Medium Timeframe)
The TOTAL3 index, which tracks the total market capitalization of all cryptocurrencies except
Bitcoin and Ethereum, is compared to its 100-period SMA. A bullish signal occurs when TOTAL3
is above the 100 SMA, indicating strength in altcoins, while a bearish signal occurs when
TOTAL3 is below the 100 SMA, signaling a potential weakness in the altcoin market.
3. BTC Price vs. 200 SMA (Higher Timeframe)
The current Bitcoin price is compared to its 200-period Simple Moving Average (SMA) on a
higher timeframe (e.g., 4-hour). A bullish signal is given when the BTC price is above the 200
SMA, and a bearish signal when it's below.
🟢 Bullish Market Conditions
The market is considered bullish when:
- BTC Dominance (BTC.D) is below the 40 SMA, suggesting altcoins are gaining momentum.
- TOTAL3 Market Cap is above the 100 SMA, signaling strength in the altcoin market.
- BTC price is above the 200 SMA, indicating an uptrend in Bitcoin.
In these conditions, the background turns green 🟢, and a "Bullish" label is displayed on the chart.
🔴 Bearish Market Conditions
The market is considered bearish when:
- BTC Dominance (BTC.D) is above the 40 SMA, indicating Bitcoin is outperforming altcoins.
- TOTAL3 Market Cap is below the 100 SMA, signaling weakness in altcoins.
- BTC price is below the 200 SMA, indicating a downtrend in Bitcoin.
In these conditions, the background turns red 🔴, and a "Bearish" label appears on the chart.
⚙ Customization Options
- The Regime Filter offers flexibility for traders:
- Enable or Disable Specific SMAs: Customize the indicator by enabling or disabling the 200 SMA for Bitcoin, the 40 SMA for BTC Dominance, and the 100 SMA for TOTAL3.
- Adjust Timeframes: Choose the timeframes for each of the moving averages to suit your preferred trading strategy.
- Real-Time Data Adjustments: The indicator updates in real-time to reflect current market conditions, ensuring timely analysis.
📈 Best Use Cases
- Trend Confirmation: The Regime Filter is ideal for confirming the market's overall trend,
helping traders to align their positions with the dominant market sentiment.
- Trade Entry/Exit Signals: Use the indicator to identify favorable entry or exit points based on
whether the market is in a bullish or bearish phase.
- Market Overview: Gain a quick understanding of the broader crypto market, with a focus on
Bitcoin and altcoins, to make more strategic decisions.
⚠️ Important Notes
Trend-Following Indicator: The Regime Filter is a trend-following tool, meaning it works best in strong trending markets. It may not perform well in choppy, sideways markets.
Risk Management: This indicator is designed to assist in identifying market trends, but it does not guarantee profits. Always apply sound risk management strategies and use additional indicators when making trading decisions.
Not a Profit Guarantee: While this indicator can help identify potential market trends, no trading tool or strategy guarantees profits. Please trade responsibly and ensure that your decisions are based on comprehensive analysis and risk tolerance.
Saral TrendSaral Trend
### Overview
The Saral Trend Indicator is a price-action-based tool designed to measure trend strength dynamically. Unlike traditional trend following indicators that rely solely on moving averages or fixed formulas, Saral Trend integrates Directional Movement, price positioning within the bar range, and volatility-adjusted trend weighting to create a clearer visualization of market momentum. By refining the classic trend following approach, this indicator provides more responsive and adaptive trend analysis across various timeframes.
### Key Features
Trend Histogram: Four types of bars indicate trend strength and momentum.
- Bullish Up: Higher than the previous bar; signals a strong uptrend; Color: Dark Blue.
- Bullish Down: Lower than the previous bar; suggests weakening momentum in an uptrend; Color: Light Blue.
- Bearish Up: Higher than the previous bar; signals a strong downtrend; Color: Dark Red.
- Bullish Down: Lower than the previous bar; suggests weakening momentum in a downtrend; Color: Light Red.
Trend Strength Line: A smoothed reference line that provides additional confirmation of momentum strength.
- When histogram bars are above this line, the trend is strong.
- When they fall below, momentum weakens.
Trend Pause Dots: Appear when the trend shows signs of temporary exhaustion, suggesting a possible short-term pause or reversal.
- A bullish pause dot on a bearish bar indicates a temporary halt in an uptrend before continuation or a reversal.
- A bearish pause dot on a bullish bar indicates a temporary halt in a downtrend before continuation or a reversal.
Oscillator Functionality: No fixed upper limit, but extreme bar values (e.g., above 100) suggest overbought or oversold conditions.
### Calculation Methodology
Analyzing Price Movement:
- The indicator calculates the difference between the highest and lowest prices over a period to determine price movement.
- It smooths these values using an Exponential Moving Average (EMA) to filter out short-term noise.
Identifying Trend:
- It compares the current high and low prices with their moving averages to determine whether the market is trending up or down.
- If the high price moves further from its average compared to the low price, it indicates bullish strength. Conversely, if the low price moves further from its average compared to high price, it signals bearish strength.
Evaluating Closing Price Position:
- The indicator analyzes where the closing price is within the high-low range.
- If the closing price is near the high, bullish strength is emphasized. If it is near the low, bearish strength is given more weight.
Measuring Trend Strength:
- The indicator applies volatility based smoothing techniques to measure positive and negative trend strength separately.
- A higher positive trend value suggests strong buying pressure, while a higher negative trend value indicates strong selling pressure.
- A dynamic smoothing approach ensures trend signals remain stable while reacting quickly to market shifts.
Visualizing Trend Strength with a Histogram:
- The indicator plots a positive and negative strength in form of histogram to represent the strength and direction of the trend.
- The color of the histogram bars changes based on whether the trend is strengthening or weakening.
- Blue shades indicate bullish trends, while red shades represent bearish trends.
Trend Reversal Detection: A trend pause or potential reversal is identified when the histogram weakens sharply, with dots appearing on bars as early warnings.
### How to Use It
Trend Direction: The colors of the histogram bars provide a visual clue about the ongoing trend - whether it's bullish or bearish - allowing traders to assess market sentiment at a glance.
Trend Confirmation: When histogram bars are consistently above the Trend Strength Line, it indicates strong momentum, confirming trade direction.
Momentum Shifts: A color shift (e.g., from Dark Blue to Light Blue) suggests weakening strength, which could indicate a pullback or reversal.
Reversal Signals: Trend Pause Dots highlight areas where momentum stalls, helping traders prepare for possible reversals or consolidations.
Timeframe Flexibility:
- Long-term traders can use weekly/monthly charts for macro trends.
- Swing traders can use daily/hourly charts to capture medium-term opportunities.
- Day traders can use 15-minute or lower timeframes for precise intraday entries.
### What Makes Saral Trend Unique?
Unlike conventional trend indicators that rely solely on moving averages, Saral Trend improves upon existing methods by:
Integrating price positioning within the range to make trend strength more responsive.
Applying volatility-adjusted trend weighting, ensuring trends are measured dynamically rather than through fixed lookback periods.
Providing multiple visual cues (histogram, strength line, and pause dots) to help traders make informed decisions.
This indicator is optimized for simplicity and efficiency , making it suitable for traders across different styles, from long-term investors to intraday scalpers.
By combining trend structure, momentum shifts, and volatility adaptation , Saral Trend delivers a comprehensive and actionable trend analysis tool for TradingView users.
TICK Bias Timer with EMA Position📌 Description
This indicator tracks the time in minutes that the Exponential Moving Average (EMA) of the NYSE USI:TICK remains above or below the zero line. It serves as a powerful market breadth confirmation tool to support your intraday directional bias.
Rather than focusing on momentary TICK spikes, this tool emphasizes duration and persistence of buying/selling pressure across the entire NYSE – helping traders stay on the right side of the flow.
🔧 Features
✅ Measures how long the EMA of TICK stays above or below 0
✅ Visual plots of upward and downward pressure duration (in minutes)
✅ Background color changes based on EMA position relative to 0
✅ Automatic daily reset at a customizable time (e.g. 15:30 for RTH open)
✅ Gap filter to avoid spikes during overnight or weekend sessions
✅ Clean, minimalist design – built for real-time decision making
🎯 How to Use
EMA > 0 for 10+ minutes → sustained bullish breadth → intraday bullish bias
EMA < 0 for 10+ minutes → sustained bearish breadth → intraday bearish bias
Frequent flip between sides → uncertain or choppy market → trade with caution
Can be used in confluence with Volume Profile, VWAP, price action, and Bookmap to reinforce trade setups.
💡 Ideal For:
Scalpers looking for flow confirmation
Day traders who want to filter fake strength/weakness
Professionals using TICK, USI:ADD , USI:VOLD , and other internals for decision-making