RSI Multi Time Frame - Spot Panic Sell Moments and profit!Union of three RSI indicators: 1h, 4h and daily. In order to show 1h RSI, you have to set it as active time frame on the chart.
Purpose: spot "triple oversold" moments, where all the three RSI are under the threshold, which is 30 by default but editable.
Target Market: Cryptocurrencies. Didn't try it on other ones, may work as well. Fits Crypto well as, by experience, I can tell it usually doesn't stay oversold for long.
When the market panics and triple oversold occurs, the spot is highlighted by a green vertical bar on the indicator.
The indicator highlights triple overbought conditions as well (usually indicating strong FOMO), but I usually don't use it as a signal.
I suggest to edit the oversold threshold in order to make it fit the coin you're studying, minimizing false positives.
Special thanks to Heavy91, a Discord user, for inspiring me in this indicator.
Any editing proposal is welcome!
I reposted this script, as the first time I wrote it in Italian. Sorry for that.
Pesquisar nos scripts por "daily"
Arbitrage SR v1.45Fact: Support and resistance are the foundation of every trade.
Are you tired of looking for support?
That’s static?
Doesn’t work all the time?
Tired of guessing when the stock will stop falling?
Taking profit too soon?
Well look no further Arbitrage SR is here to help you have better entrances and superb exits.
If you’re no stranger to Arbitrage bands this little gem will help your confidence levels soar!
Let’s keep this easy:
Only buy when the maroon line is sitting on the bottom of the support line
Only sell when you see the maroon line up against the the top resistance line. If you like elliot waves. You will love Arbitrage SR.
This is the single most asked question: Am I too late to enter the trade? The answer is simple Wait for the maroon line to touch support and that's your next entry into the trade.
Use it on any time frame. We personally love the 15 minute and Daily.
As always thank you for your support
Arbitrage Trade Team
10x HTF Candles Dynamic with LTF FVG and Key LevelsPurpose
The 10x HTF Candles Dynamic Pine Script is a versatile, all-in-one trading tool designed for TradingView to empower traders with actionable insights across multiple timeframes. It combines advanced price action analysis, Fair Value Gap (FVG) detection, market structure evaluation, and key level visualization into a single, highly customizable interface. Built for day traders, swing traders, and scalpers, this script enhances decision-making by providing a clear, multi-dimensional view of market dynamics, liquidity zones, and trend biases. Its purpose is to streamline technical analysis, reduce chart clutter, and deliver real-time, visually intuitive data to support precise trading strategies.
What the Script Does
How the Script Works:
The script leverages Pine Script v5’s advanced features to deliver a robust and efficient trading tool. Below is a step-by-step explanation of its functionality:
1. Initialization and Configuration:
- Initializes with @version=5, enabling dynamic requests, and sets limits for bars (500), lines, labels, boxes, and polylines to manage resources.
- Defines user inputs for candle settings, timeframe selection, FVG parameters, DWM levels, market structure table, and visual preferences.
- Dynamically calculates 10 higher timeframes based on the current chart timeframe (e.g., 1m chart → 5m, 15m, 60m, etc.) or allows custom timeframes.
2. Data Acquisition:
- Fetches OHLC data for up to 10 timeframes using request.security, storing it in optimized TfData objects (arrays for open, high, low, close).
- Loops through enabled timeframes to minimize redundant code, improving processing speed.
3. Candlestick Rendering:
- Draws HTF candlesticks at user-defined offsets, with customizable bullish/bearish colors, wick colors, and widths.
- Calculates bar types (Inside, Normal, Outside) and optionally labels them above candles for pattern analysis.
4. FVG Detection and Visualization:
- Scans for FVGs by comparing candle highs and lows across three bars (e.g., low of candle 1 > high of candle 3 for bullish FVG).
- Detects IFVGs based on user-selected methods (wick, close, or midpoint) and highlights them with distinct colors.
- Draws FVG boxes with configurable borders, midpoint lines, and labels, tracking mitigation status.
- Limits FVG display to a user-defined maximum (1–200) to maintain chart clarity.
5. Horizontal Levels and DWM Lines:
- Computes Highs, Lows, Midpoints, and Quarter Points for each timeframe, drawing lines with customizable styles and extensions.
- Plots DWM open, close, high, low, and control point lines, with optional alerts for high/low breaks.
- Supports session-based opening price lines (e.g., 09:30 Market Open) with similar customization.
6. Market Structure and Bias:
Calculates trend bias by comparing the current close to the midpoint of the timeframe’s range (highest high to lowest low).
Updates a market structure table with timeframe, bias, and premium/discount status, using color-coded cells for quick interpretation.
7. Countdown Timers:
- Converts timeframe strings to seconds and calculates the time remaining until the next candle using timenow.
- Renders countdown labels with timeframe names (e.g., “1h\n(00:45)”) at user-defined positions.
8. Optimization and Cleanup:
- Uses VisualElements UDTs to manage lines, wicks, and labels, reducing memory usage.
- Deletes outdated drawings when limits are exceeded, ensuring a clean and responsive chart.
- Employs loops and arrays to streamline repetitive tasks, enhancing performance.
How to Use the Script:
This script is user-friendly yet powerful, suitable for traders of all experience levels. Follow these steps to maximize its potential:
1. Add to TradingView:
- Copy the script into TradingView’s Pine Editor.
- Click “Add to Chart” to apply it to your active chart.
2. Customize Settings:
- Candle Settings: Adjust the number of candles (1–10), starting position, group spacing, bullish/bearish colors, wick colors, and candle width.
- Timeframe Settings: Enable/disable up to 10 timeframes, choosing dynamic (auto-selected) or custom timeframes (e.g., 3m, 60m, D).
- FVG Settings: Toggle FVG detection, set detection methods (wick/close/midpoint), adjust thresholds, and customize colors, borders, and midpoint lines.
- DWM Settings: Enable daily/weekly/monthly lines (open, close, high, low, midpoint), set colors, and configure alerts for high/low breaks.
- Market Structure Table: Show/hide columns for timeframe, trend bias, and premium/discount, and adjust table position (top-left, bottom-right, etc.).
- Countdown Timers: Enable timers, adjust offsets, and customize text/background colors.
- Label Settings: Configure price label precision, transparency, and offsets for clarity.
3.Interpret Visuals:
- Candlesticks: Analyze HTF candles to gauge trend direction and momentum across timeframes.
- FVGs: Look for unmitigated FVGs (colored boxes) as potential support/resistance zones or trade setups.
- Key Levels: Use Highs, Lows, Midpoints, and Quarter Points to identify breakout or reversal areas.
4. Market Structure Table: Check trend bias and premium/discount status to align trades with market conditions.
- DWM Lines: Monitor daily/weekly/monthly levels for institutional reference points.
- Countdown Timers: Time entries/exits based on upcoming candle formations.
5. Integrate with Strategy:
- Combine script insights with your trading plan (e.g., use FVGs for entries, key levels for stops/targets).
- Set alerts for high/low breaks or liquidity zone approaches to stay proactive.
- Export table data or screenshot visuals for documentation and analysis.
6. Optimize Performance:
Limit the number of candles, FVGs, and lines to match your device’s capabilities.
Regularly review settings to focus on the most relevant timeframes and features.
Why the Script is Original
The 10x HTF Candles Dynamic script stands out in the TradingView community due to its innovative design, comprehensive functionality, and trader-centric approach. Here’s what makes it unique:
1. Seamless Multi-Timeframe Integration:
- Unlike single-timeframe indicators, this script synthesizes data from up to 10 timeframes, offering a holistic view of market structure.
- Dynamic timeframe selection adapts to the chart’s timeframe, ensuring relevance across all trading styles.
2 . Advanced FVG and IFVG Detection:
- Provides granular control over FVG detection with three IFVG methods (wick, close, midpoint), a rarity in most scripts.
- Tracks mitigation status and highlights unmitigated FVGs, enabling traders to capitalize on high-probability setups.
- Visualizes FVGs with boxes, midpoint lines, and labels, enhancing clarity and usability.
3. Sophisticated Market Structure Analysis:
-The bias calculation, introduced in recent updates (2 days ago), uses a robust algorithm to assess trend direction based on range midpoints.
- The market structure table, with premium/discount zones (added 20 hours ago), offers a unique summary of market conditions, unmatched by standard indicators.
4. Comprehensive DWM and Session Support:
- Integrates daily, weekly, and monthly levels alongside session-based opening prices, catering to institutional and retail traders alike.
- Customizable alerts for high/low breaks add actionable functionality.
5. Visual Hierarchy and Clarity:
- Scales line widths and transparency by timeframe, prioritizing higher timeframes for strategic focus.
- Countdown timers provide real-time context, a feature rarely seen in multi-timeframe scripts.
6.Performance Optimization:
- Recent updates introduced loops and UDTs to reduce code redundancy and boost processing speed.
- Automated cleanup mechanisms prevent chart clutter, ensuring smooth operation even on low-resource devices.
7. High Customizability:
- Offers extensive settings for visuals, timeframes, FVGs, DWM lines, and alerts, accommodating diverse trading preferences.
- Balances complexity with accessibility, making it approachable for beginners and powerful for advanced users.
8.Continuous Evolution:
- Regular updates (e.g., bias filter table, premium/discount feature, code optimization) demonstrate ongoing commitment to improvement.
- Closed-source protection (noted 20 hours ago) ensures intellectual integrity while allowing free use, fostering trust in the TradingView community.
Conclusion
The 10x HTF Candles Dynamic Pine Script is a groundbreaking tool that redefines multi-timeframe analysis on TradingView. By combining candlestick visualization, FVG detection, market structure insights, DWM levels, and countdown timers, it provides traders with a comprehensive, real-time view of market dynamics. Its advanced optimization, customization options, and continuous updates make it a standout choice for traders seeking precision, clarity, and efficiency. Whether you’re scalping intraday moves or swing trading weekly trends, this script equips you with the tools to master the markets with confidence.
Weekend Access STS Pivot System TrialSuggested to Free Trial User. Contact us to set up your Weekend Access Trail and we will grant access to this STD Script. We recommend placing the script on 3 time frames 10 or 15 Minute, 1 Hour, and 2 Hour for Active Traders. And for Swing Traders use a 1 Hour, 2 Hour, and Daily. Open all 3 Charts and review a symbol list and review the Price Action off the STS Pivot System Charts. The more charts you review the more of a feel for the STS Pivot System you will have in determining its Value to you and your trading style and goals. Thanks for your consideration.
Weekend Access Trial freetrial.stspivotsystem.com
Using STS Pivot System Charting Package to find, plan, and execute Trade Entry and Trade Exits is what our charting package is designed for. You can use 1 Hour 2 Hour and Higher Time Frames to create your trading idea and use shorter time frames to manage a more refined entry point, monitor possible hesitation points, and manage stops as the trade matures. Traders should use their own due diligence in making trading decisions and fully understand the risk of trading. Price Action charting includes NO FUNDAMENTAL RESEARCH and caution should always be used around Earning Releases, New Events, and Social Chatter.
Charting Packages and Weekend Access Trial freetrial.stspivotsystem.com
Percent Difference Between VWAP and Price MTFShows the difference between vwap and price in percent.
You can can choose between multiple timeframe vwap. Default is normal daily.
The levels on the indicator can be changed to whatever you want to.
In the chart above we can see eurusd reverting up at 3% below monthly vwap, after the brexit dip, It then turns down again at 1% from monthly and lastly it turns up again at 2% from monthly.
Script is a small modification of this:
Painel de Velas 1H e 2H + Grade DiáriaIndicator Description "1H and 2H Candlestick Panel + Daily Grid"
Overview
This advanced indicator for TradingView combines a candlestick information panel on multiple timeframes with a daily grid of supports and resistances, providing a complete market overview for intraday and swing trading.
Main Features
1. Automatic Daily Grid
Previous Close Line: Highlighted red line marking the previous day's close.
Support/Resistance Grid:
4 lines above (blue) and 4 lines below (gold) the previous close, spaced according to a configurable distance.
Automatic update at the beginning of each new day.
Customizable distance between lines in the inputs.
2. Multi-Timeframe Candlestick Panel
Information table in the upper right corner with data from:
Included timeframes: Current, 30M, 1H, 2H, 3H, 4H, 6H, 12H and Daily (1D).
Displayed information:
Open and Close
Price difference (value and color according to direction)
Candle type (Positive/Negative)
Time remaining until candlestick close (HH:MM:SS format)
3. Confluence Signals
Buy Alert: When all candlesticks (from current to daily) are positive.
Sell Alert: When all candlesticks (from current to daily) are negative.
Visual signals: Buy/sell arrows on the chart and configurable alerts.
Customizable Settings
Grid Distance (Dots): Adjust the distance between daily support/resistance lines.
How to Use
Daily Grid:
Use the blue lines (above) as potential resistance and the gold ones (below) as support.
The red line (previous close) is a key level for analysis.
Candlestick Panel:
Monitor the direction of candlesticks on different timeframes to identify trends.
Use the remaining time to plan entries before the close of important candlesticks.
Confluence Signals:
Trade in the direction of confluence when all timeframes are aligned (buy or sell).
Benefits
✔ Efficient multi-timeframe analysis
✔ Visual identification of support/resistance zones
✔ Automatic alerts for strong setups
✔ Easy grid customization
Ideal for traders who trade based on price action and timeframe confluence!
Price Extension from 8 EMAOverview
This indicator can be used to see how far away the price is from the 8 EMA. It compares this to the Average Daily Range % to see if the stock may be overextended. The "Extension Multiplier" represents how far the stock is extended away from the 8 EMA.
Core Concept
This indicator is best used for breakout trades that are trying to make sure they are not chasing the stock.
How to Use This Indicator
This tool is primarily intended for analyzing daily charts of individual stocks and is often used by breakout traders to evaluate potential entry areas.
If the stock is far away from the 8 EMA, it is likely not ready to break out. If it is close to the 8ema, it could be ready to move higher.
This indicator can also be used in the opposite way. For example, shorting or puts.
Understanding the colors
Green (Not Extended): Indicates the price is close to the 8 EMA. This often corresponds to periods of consolidation.
Yellow (Slightly Extended): The price is beginning to move away from the 8 EMA.
Orange (Extended): The price has moved a considerable distance from the 8 EMA.
Red (Very Extended): The price is at an extreme distance from the 8 EMA, historically increasing the likelihood of a pullback or consolidation.
Settings
Info Row Position: Adjusts the vertical position of the display table on the chart. Useful when using other indicators.
ADR Length: Sets the lookback period for calculating the Average Daily Range. Or the average range % for different timeframes.
Timeframe: Determines the timeframe for the EMA and ADR calculation (the default is Daily).
Dividers Timeframe/Session/Calendar-Based [ARTech]Dividers Timeframe/Session/Calendar-Based
This indicator provides customizable visual dividers for multiple timeframes, trading sessions, and calendar-based periods (daily, weekly, monthly). It helps traders visually separate chart areas by key time boundaries without cluttering the chart with price lines.
Key Features:
Multi-Timeframe Dividers: Select up to 4 timeframes (e.g., 60 min, 4 hours, daily, weekly) to display customizable lines marking the start of each timeframe’s candle.
Session Dividers: Define up to 4 trading sessions with user-defined time zones, colors, and active weekdays. The indicator highlights the session’s highest and lowest price range using a box, and compares the session’s opening and closing prices. Based on this comparison, it displays a green or red emoji to indicate bullish or bearish sessions, making it easy to identify session momentum visually.
Calendar-Based Dividers: Enable daily, weekly, or monthly background color zones, with individual toggles and color settings for each day, week, or month. Perfect for visually distinguishing trading periods.
Why use this indicator?
Divider Indicator helps keep your chart organized by visually segmenting timeframes, sessions, and calendar periods, aiding in better analysis of price action relative to important time boundaries.
How to Use
███████ Timezone ███████
A valid timezone name exactly as it appears in the chart’s lower-right corner (e.g. New York, London).
A valid UTC offset in ±H:MM or ±HH:MM format. Hours: 0–14 (zero-padded or not, e.g. +1:30, +01:30, -0:00). Minutes: Must be 00, 15, 30, or 45.
Examples;
UTC → ✅ Valid
Exchange → ✅ Valid
New York → ✅ Valid
London → ✅ Valid
Berlin → ✅ Valid
America/New York → ❌ Invalid. (Use "New York" instead)
+1:30 → ✅ Valid offset with single-digit hour
+01:30 → ✅ Valid offset with zero-padded hour
-05:00 → ✅ Valid negative offset
-0:00 → ✅ Valid zero offset
+1:1 → ❌ Invalid (minute must be 00, 15, 30, or 45)
+2:50 → ❌ Invalid (minute must be 00, 15, 30, or 45)
+15:00 → ❌ Invalid (hour must be 14 or below)
███████ Timeframe ███████
Use this section to display vertical divider lines at the opening of higher timeframe candles (e.g., 1H, 4H, Daily, Weekly). This helps visually separate price action according to larger market structures.
1. Enable a Timeframe:
Turn on one or more timeframes (e.g., 60, 240, D, W) by checking their respective toggle boxes.
2. Lines Mark Candle Opens:
Each active timeframe will draw a vertical line at the start of its candle , making it easier to align intraday moves with larger timeframe shifts.
3. Customize Line Style:
For each timeframe, you can individually set:
Line Style: Solid, dashed, or dotted.
Line Width: From 1 to 10 pixels.
Line Color: Pick any color to match your chart theme.
Opacity: Use transparent colors to avoid overwhelming the chart.
4. Use Multiple Timeframes Together:
You can enable multiple timeframe dividers simultaneously. To maintain clarity:
Use distinct colors for each timeframe.
Use thinner or dotted lines for lower timeframes and bolder lines for higher ones.
Match line style and color intensity to reflect timeframe importance. (e.g., a thick green solid line for Weekly, a thin gray dotted line for 1H)
5. Visual Tip:
These dividers are especially useful for identifying higher timeframe candle opens during intraday trading, spotting breaks above/below previous candle ranges, or aligning session-based strategies with higher timeframe trends.
███████ Session ███████
Use this section to visually highlight specific trading sessions (e.g., London, New York, Tokyo, Sydney) on your chart using time zones, session ranges, and optional weekday filters. This helps focus your analysis on active market hours.
1. Enable a Session:
Activate up to 4 separate trading sessions. Each session can be named (e.g., "London") and customized independently.
2. Set Session Time and Days:
Define session time using the hhmm-hhmm format. (e.g., 0800-1700)
Select which days of the week the session applies to (Sunday through Saturday)
Set your preferred time zone (UTC, Exchange, etc.) from the global settings.
3. Session Box Drawing:
For each active session, the indicator will:
Draw a background-colored box from the session’s start to end time.
Stretch the box to fit the highest and lowest price within that time window.
Draw an outline using customizable border style and width.
4. Session Labels and Directional Hints:
Optionally display the session’s name as a label.
The indicator compares the session’s opening and closing prices . Based on the result:
📈 Green emoji shows a bullish session (close >= open)
📉 Red emoji shows a bearish session (close < open)
5. Display Options:
Show all sessions, only the last session, or a specific number of previous sessions.
Customize label size, location (top/bottom), and whether it appears inside or outside the box.
Adjust background opacity to blend the sessions neatly into your chart.
6. Visual Tip:
Session boxes are particularly useful for:
Spotting repeated highs/lows during active trading hours.
Recognizing session-based breakouts or consolidations.
Comparing performance across different markets and time zones.
███████ Calendar-Based ███████
This section helps you visually segment your chart based on calendar periods: daily, weekly, and monthly. You can enable background color highlighting for individual days, weeks, or months to better track price movements within these time frames.
1. Enable Daily, Weekly, or Monthly Highlighting:
Toggle on the options for Daily, Weekly, and/or Monthly highlighting according to your needs.
2. Select Specific Days, Weeks, or Months:
For Daily, enable any combination of days (up to 7) to color-code.
For Weekly, enable up to 5 weeks per month to cover partial weeks.
For Monthly, enable up to 12 months with individual toggles and colors.
3. Customize Colors for Each Period:
Assign distinct colors to each day, week, or month for easy differentiation. Choose hues that stand out but avoid colors that are too close in tone for adjacent periods.
4. Background Opacity:
Adjust the opacity level of the background coloring to ensure it complements your chart without obscuring price data.
5. Handling Partial Weeks and Overlaps:
The weekly highlighting accounts for months that span 4 to 6 weeks by allowing toggles up to 5 weeks, including weeks that may partially overlap with previous or next months.
6. Visual Tip:
Calendar-based backgrounds are excellent for:
Quickly identifying price behavior within specific calendar units.
Comparing price action across days, weeks, or months.
Spotting seasonal trends or recurring patterns tied to calendar cycles.
ATRWhat the Indicator Shows:
A compact table with four cells is displayed in the bottom-left corner of the chart:
| ATR | % | Level | Lvl+ATR |
Explanation of the Columns:
ATR — The averaged daily range (volatility) calculated with filtering of abnormal bars (extremely large or small daily candles are ignored).
% — The percentage of the daily ATR that the price has already covered today (the difference between the daily Open and Close relative to ATR).
Level — A custom user-defined level set through the indicator settings.
Lvl+ATR — The sum of the daily ATR and the user-defined level. This can be used, for example, as a target or stop-loss reference.
Color Highlighting of the "%" Cell:
The background color of the "%" ATR cell changes depending on the value:
✅ If the value is less than 10% — the cell is green (market is calm, small movement).
➖ If the value is between 10% and 50% — no highlighting (average movement, no signal).
🟡 If the value is between 50% and 70% — the cell is yellow (movement is increasing, be alert).
🔴 If the value is above 70% — the cell is red (the market is actively moving, high volatility).
Key Features:
✔ All ATR calculations and percentage progress are performed strictly based on daily data, regardless of the chart's current timeframe.
✔ The indicator is ideal for intraday traders who want to monitor daily volatility levels.
✔ The table always displays up-to-date information for quick decision-making.
✔ Filtering of abnormal bars makes ATR more stable and objective.
What is Adaptive ATR in this Indicator:
Instead of the classic ATR, which simply averages the true range, this indicator uses a custom algorithm:
✅ It analyzes daily bars over the past 100 days.
✅ Calculates the range High - Low for each bar.
✅ If the bar's range deviates too much from the average (more than 1.8 times higher or lower), the bar is considered abnormal and ignored.
✅ Only "normal" bars are included in the calculation.
✅ The average range of these normal bars is the adaptive ATR.
Detailed Algorithm of the getAdaptiveATR() Function:
The function takes the number of bars to include in the calculation (for example, 5):
The average of the last 5 normal bars is calculated.
pinescript
Копировать
Редактировать
adaptiveATR = getAdaptiveATR(5)
Step-by-Step Process:
An empty array ranges is created to store the ranges.
Daily bars with indices from 1 to 100 are iterated over.
For each bar:
🔹 The daily High and Low with the required offset are loaded via request.security().
🔹 The range High - Low is calculated.
🔹 The temporary average range of the current array is calculated.
🔹 The bar is checked for abnormality (too large or too small).
🔹 If the bar is normal or it's the first bar — its range is added to the array.
Once the array accumulates the required number of bars (count), their average is calculated — this is the adaptive ATR.
If it's not possible to accumulate the required number of bars — na is returned.
Что показывает индикатор:
На графике внизу слева отображается компактная таблица из четырех ячеек:
ATR % Уровень Ур+ATR
Пояснения к столбцам:
ATR — усреднённый дневной диапазон (волатильность), рассчитанный с фильтрацией аномальных баров (слишком большие или маленькие дневные свечи игнорируются).
% — процент дневного ATR, который уже "прошла" цена на текущий день (разница между открытием и закрытием относительно ATR).
Уровень — пользовательский уровень, который задаётся вручную через настройки индикатора.
Ур+ATR — сумма уровня и дневного ATR. Может использоваться, например, как ориентир для целей или стопов.
Цветовая подсветка ячейки "%":
Цвет фона ячейки с процентом ATR меняется в зависимости от значения:
✅ Если значение меньше 10% — ячейка зелёная (рынок пока спокоен, маленькое движение).
➖ Если значение от 10% до 50% — фон не подсвечивается (среднее движение, нет сигнала).
🟡 Если значение от 50% до 70% — ячейка жёлтая (движение усиливается, повышенное внимание).
🔴 Если значение выше 70% — ячейка красная (рынок активно движется, высокая волатильность).
Особенности работы:
✔ Все расчёты ATR и процентного прохождения производятся исключительно по дневным данным, независимо от текущего таймфрейма графика.
✔ Индикатор подходит для трейдеров, которые торгуют внутри дня, но хотят ориентироваться на дневные уровни волатильности.
✔ В таблице всегда отображается актуальная информация для принятия быстрых торговых решений.
✔ Фильтрация аномальных баров делает ATR более устойчивым и объективным.
Что такое адаптивный ATR в этом индикаторе
Вместо классического ATR, который просто усредняет истинный диапазон, здесь используется собственный алгоритм:
✅ Он берет дневные бары за последние 100 дней.
✅ Для каждого из них рассчитывает диапазон High - Low.
✅ Если диапазон бара слишком сильно отличается от среднего (более чем в 1.8 раза больше или меньше), бар считается аномальным и игнорируется.
✅ Только нормальные бары попадают в расчёт.
✅ В итоге считается среднее из диапазонов этих нормальных баров — это и есть адаптивный ATR.
Подробный алгоритм функции getAdaptiveATR()
Функция принимает количество баров для расчёта (например, 5):
Считается 5 последних нормальных баров
pinescript
Копировать
Редактировать
adaptiveATR = getAdaptiveATR(5)
Пошагово:
Создаётся пустой массив ranges для хранения диапазонов.
Перебираются дневные бары с индексами от 1 до 100.
Для каждого бара:
🔹 Через request.security() подгружаются дневные High и Low с нужным смещением.
🔹 Считается диапазон High - Low.
🔹 Считается временное среднее диапазона по текущему массиву.
🔹 Проверяется, не является ли бар аномальным (слишком большой или маленький).
🔹 Если бар нормальный или это самый первый бар — его диапазон добавляется в массив.
Как только массив набирает заданное количество баров (count), берётся их среднее значение — это и есть адаптивный ATR.
Если не удалось набрать нужное количество баров — возвращается na.
KosATRWhat this Pine Script does:
✅ This indicator displays daily ATR (Average True Range) information on any chart timeframe (minutes, hours, etc.), ensuring the calculations are based strictly on daily price data.
Displayed Information in the Table:
The script creates a table in the bottom-left corner of the chart that shows:
ATR — A custom, filtered version of the daily ATR that excludes abnormal price bars (extremely large or small daily ranges).
% — The percentage of the ATR that today's price movement (Open to Close) has covered so far.
Level — A manually defined fixed level, set through the script's input.
Level + ATR — The sum of the daily ATR and your defined level, useful for setting price targets or alerts.
Key Features:
Uses request.security() to ensure all calculations (high, low, open, close) are taken from the daily timeframe, even when you're viewing lower or higher timeframes.
Implements a filtering method to calculate an "adaptive ATR," ignoring price ranges that are too large or too small (outliers), making the ATR value more stable and realistic.
Displays a live, easy-to-read table directly on the chart for quick reference during trading.
Summary:
This script provides traders with reliable, daily-based ATR data, helping assess current price movement strength relative to historical daily volatility. It's especially useful for intraday traders who want constant awareness of daily ATR levels, regardless of their current chart timeframe.
IQ_Trader's Technical Scoring System With SignalsThe IQ Trader's Technical Scoring System is a sophisticated trading indicator designed to assist traders in identifying potential BUY and SELL opportunities using a dynamic scoring mechanism.
By combining traditional technical indicators (SMA, MACD) with a custom Adaptive Gaussian Moving Average (AGMA) and Bayesian trend probability analysis, this indicator provides a comprehensive view of market conditions. It generates multiple signal types to support various trading strategies, including main BUY/SELL signals, additional BUYS/SELLS signals, and STOP/STRONG STOP signals for risk management.
Key Features
Dynamic Scoring System:
The indicator calculates separate Buy and Sell scores based on multiple conditions, including:
Price position relative to daily SMA50 and SMA200.
Price position relative to the Adaptive Gaussian Moving Average (AGMA).
Bayesian trend analysis incorporating RSI, MACD, EMA, ATR, and volume zones.
MACD position and crossover/crossunder events.
Scores are displayed in a table, showing the contribution of each component (e.g., "Price > SMA50: 20") for transparency.
Signal Types:
Main BUY/SELL Signals:
Triggered when the Buy/Sell score falls within user-defined dynamic thresholds (adjustable for above/below SMA50 conditions).
Controlled by an inTrade state to prevent overlapping signals (BUY only when not in a trade, SELL only when in a trade).
Disabled by default; enable via settings ("Enable Main BUY Signals" and "Enable Main SELL Signals").
Additional BUYS/SELLS Signals:
Generated when the Buy score exceeds the Sell score (BUYS) or vice versa (SELLS).
Sequentially alternates (BUYS → SELLS → BUYS) to avoid repetitive signals, using an inBuysState mechanism.
Always enabled for quick trend insights.
STOP/STRONG STOP Signals:
STOP: Triggered when the price is above SMA50 and MACD crosses below the signal line in a lower timeframe.
STRONG STOP: Triggered when the price is above SMA50, MACD is below the signal line, and the price is below AGMA in a lower timeframe.
Disabled by default; enable via settings ("Enable STOP Signals" and "Enable STRONG STOP Signals").
Useful for risk management and exiting positions.
Visual and Customization Options:
Plots: Displays daily SMA50, SMA200, AGMA, MACD, and MACD Signal lines, all toggleable via settings.
Score Table: Shows real-time Buy and Sell score components at the top center of the chart.
Signal Markers:
Main BUY: Green label ("BUY") below the bar.
Main SELL: Red label ("SELL") above the bar.
BUYS: Lime triangle up ("BUYS") below the bar.
SELLS: Fuchsia triangle down ("SELLS") above the bar.
STOP: Orange triangle down ("STOP") above the bar.
STRONG STOP: Red triangle down ("STRONG") above the bar.
Settings: Highly customizable thresholds, enable/disable conditions, and plot visibility.
Alert Support:
Configurable alerts for all signal types (Dynamic BUY, Dynamic SELL, BUYS, SELLS, STOP, STRONG STOP).
Alerts are gated by enable settings for main BUY/SELL and STOP/STRONG STOP signals to prevent unwanted notifications.
How to Use
Add the Indicator:
Apply the indicator to your chart via TradingView’s Pine Editor or Indicator Library.
By default, only the additional BUYS/SELLS signals are active, along with SMA50/200, AGMA, and MACD plots.
Customize Settings:
Thresholds: Adjust buyThresholdLow, buyThresholdHigh, etc., to fine-tune the sensitivity of main BUY/SELL signals.
Enable Signals: Check "Enable Main BUY Signals", "Enable Main SELL Signals", "Enable STOP Signals", or "Enable STRONG STOP Signals" to activate these signals.
Toggle Plots: Use "Show Daily SMA50/200", "Show AGMA", and "Show MACD and Signal Line" to control chart visuals.
Score Conditions: Enable/disable individual score components (e.g., "Price Above Daily SMA50") to focus on specific indicators.
Interpret Signals:
Main BUY/SELL: Use for primary entry (BUY) and exit (SELL) decisions, ideal for swing or trend-following strategies.
BUYS/SELLS: Monitor for early trend changes or confirmation of momentum, suitable for shorter-term trades.
STOP/STRONG STOP: Consider as warnings to tighten stops or exit positions, especially in volatile markets.
Check the score table to understand which conditions are driving the signals.
Set Alerts:
Create alerts for desired signals (e.g., "Dynamic BUY Signal") via TradingView’s alert menu.
Ensure the corresponding signal is enabled in settings to receive alerts.
Notes for Traders
Timeframe Flexibility: The indicator adapts to different timeframes, with lower timeframe MACD and AGMA calculations for STOP signals. Test on your preferred timeframe (e.g., 1H, 4H, 1D).
Risk Management: Always combine signals with proper risk management, such as stop-loss orders, as STOP/STRONG STOP signals are not guaranteed exit points.
Backtesting: Before trading, backtest the indicator on historical data to evaluate performance with your strategy.
Customization: Adjust score weights (e.g., scoreSMA50AbovePrice) or Bayesian conditions to align with specific assets or market conditions.
Why This Indicator?
The IQ Trader's Technical Scoring System SS stands out for its blend of traditional and advanced analytics. The Bayesian trend analysis adds a probabilistic layer to decision-making, while the dynamic scoring system ensures signals are context-aware (above/below SMA50). Whether you're a swing trader, day trader, or risk-conscious investor, this indicator offers actionable insights with customizable controls.
Feedback Welcome: Share your experience or suggestions in the comments to help improve this tool for the TradingView community!
TrendBoxThis indicator is called "TrendBox," designed to help traders analyze daily price ranges using several technical indicators. Below is a breakdown of its functionality, purpose, and key components:
Purpose
The script overlays indicators on a chart to assess whether the price is above or below key levels and moving in a trend.
VIX-based expected range (index fund targeted)
- This helps calculate the expected dealers range based on VIX implications. You can expect to see ranges be bought on and sold on. Moving outside this range creates heightened volatility and most of the time a gamma squeeze follows.
VWAP (Volume Weighted Average Price)
- This allows you to understand the mid point or average pricing of the daily session. If you're paying a premium or getting a discount on the daily session.
Daily Market Open
- Identifying the market open price is a key level on a daily session and allows you to identify some level of intraday trend.
Daily 4-period VWMA
- This is a crucial role of our indicator and showing short term time frame bias. Seeing price move over the top of our daily 4 level establishes a short term trend and can be used as a distribution guide, closing positions when we see longer time frame candles close under it. Vice versa for shorting.
It also displays a status box (optional) summarizing whether the price is above or below these levels, helping traders quickly evaluate market conditions.
BeeQuant - Hive Bars🔶 OVERVIEW
The "Hive Bars" indicator is a truly revolutionary analytical instrument, meticulously engineered to transcend the limitations of conventional price charting and unveil the profound, underlying essence of market dynamics. Imagine possessing a sophisticated visual engine that intelligently reconstructs raw price data into unique, dynamically consolidated "Hive Bars." These specialized constructs intuitively reveal the dominant market momentum and highlight high-conviction signals often obscured by the ubiquitous noise of traditional candlesticks. This indicator acts as a precision filter, illuminating exactly when pivotal shifts are occurring by coloring these reconstructed units with an adaptive, unparalleled accuracy. It is expertly crafted for the discerning trader seeking an undeniable analytical advantage, offering a fresh, meticulously refined perspective that enables the discernment of concealed patterns, fostering more decisive and confident trading actions. Crucially, "Hive Bars" now feature proactive, real-time alert capabilities, ensuring no critical market inflection point ever goes unnoticed.
__________________________________________________________________________
🧠 CONCEPTS
At its intellectual core, the "Hive Bars" indicator operates upon an advanced, proprietary framework that fundamentally reinterprets market data. It presents this refined information through its unique "Hive Bars"—specialized visual constructs that dynamically encapsulate the consolidated spirit and true directional bias of price action, delivering unparalleled clarity.
⬜ Smart Bar Reconstruction: Hive Bars don’t follow time, they follow the market. They are derived through a sophisticated, multi-faceted internal process that precisely captures the dominant price influence and momentum over variable periods. This structure adapts dynamically to changing conditions, letting you see the real pressure behind price moves with consistency that time-based candles can’t match. This proprietary reconstruction creates a new, inherently consistent, and highly focused visual narrative of underlying market flow, effectively stripping away extraneous "noise" and revealing the market's authentic directional intent.
⬜ Multi-Layered Internal Analysis: A dynamic and live, adaptive line powers the core of Hive Bars. It recalibrates constantly, tracking market structure in real time. Every bar is formed in relation to this internal baseline, giving immediate context to price behavior. You choose the data that drives this line—open, close, high, low, or custom blends—to match your style.
⬜ Intelligent Bar Formation Sequences: Bars are created when the market speaks, not when the clock ticks. A built-in pattern engine reads the flow and waits for real structure to form. This allows the indicator to autonomously consolidate price action, presenting a cleaner, more coherent visualization of trend development as it truly unfolds, rather than fragmented snapshots based on time.
⬜ Visual Signal Precision: "Hive Bars" spring to life with an intuitively powerful coloring system. While primary colors (Green for upward bias, Red for downward bias) denote the prevailing market direction, the "Hive Bars" indicator introduces distinctively colored "Signal Hive Bars". These specialized bars emerge when the market price exhibits a particularly robust, high-conviction interaction with the adaptive internal baseline, standing out instantly and often mark key turning points or breakouts you want to act on.
⬜ Daily Reset Option: For intraday traders, there’s a reset feature that clears the internal build-up at the start of each new trading day. This ensures fresh, unbiased perspectives that are meticulously tailored to the distinct market dynamics and cyclic rhythms of the current trading day.
⬜ Adjustable Sensitivity: With Hive Smoothing, you’re in full control. This setting lets you fine-tune how sensitive the bars are to price movement. Want tighter, faster signals? Dial it down. Prefer broader, more filtered setups? Turn it up. You decide when a new Hive Bar forms—and when a Signal Bar confirms. It’s all based on how you trade and how your asset moves. No guesswork, no one-size-fits-all defaults. Hive Bars adapts to your strategy and trading style, not the other way around.
__________________________________________________________________________
✨ FEATURES
The "Hive Bars" indicator is equipped with a comprehensive suite of cutting-edge features, designed for unparalleled clarity, adaptive responsiveness, augmented analytical depth, seamless interoperability with your broader analytical toolkit, and proactive real-time notifications:
🔹Proprietary Hive Bar Reconstruction
Experience a uniquely advanced visual representation of price action that dynamically consolidates market data, leading to enhanced trend and momentum clarity that goes beyond standard charting and candlestick data.
🔹Customizable Internal Analysis Line
Gain precise control over the underlying adaptive baseline's calculation by selecting various internal price source options, ensuring its alignment with your specific analytical focus.
🔹 Smart Alerts for Key Events 🔔
Get notified in real time when:
◦ A new Hive Bar completes – signaling a fresh structural range reset
◦ A new Signal Hive Bar closes – identifying a potential overbought or oversold condition
Built-in alert conditions make it easy to stay ahead of shifts without watching every candle manually.
🔹Intelligent Bar Formation Sequencing
Diamond-shaped markers clearly indicate the start of the indicator's internal combination logic for enhanced visual understanding.
🔹High-Conviction "Signal Hive Bars" (Distinct Colors)
Receive specialized, uniquely colored visual alerts when Hive Bars exhibit strong, decisive movements relative to the adaptive baseline, indicating moments of heightened market conviction and potential opportunity.
🔹Session-Based Reconstruction
Opt for the "Daily New Start" to intelligently reset the indicator's perspective with each new trading day, providing fresh, session-aligned insights tailored for intraday precision.
🔹Unrivaled External Indicator Collaboration
A truly unique and powerful advantage of "Hive Bars" is its capability to seamlessly integrate and profoundly enhance the performance of other external indicators. By outputting clean, smoothed price data, it lets you feed a higher-quality source into tools like RSI, MACD, moving averages etc. Use close for indicators like RSI, and close for moving averages. The result is better clarity, fewer false signals, and a stronger edge across your setup. Hive Bars isn’t just an indicator, it’s an upgrade for everything you use.
🔹Non-Repainting Historical Integrity
Hive Bars never repaints. Each bar is locked in only after all internal conditions are fully met. This means you can trust every historical signal—it won’t shift or vanish after the fact. What you see in hindsight is exactly what was shown in real time.
🔹Universal Timeframe Compatibility
Whether you're scalping on the 1-minute chart or analyzing multi-month trends, Hive Bars delivers consistent, clean insights. Its architecture adapts to any timeframe without losing fidelity, making it a reliable tool for any strategy or style.
🔹Cross-Market Versatility
Hive Bars is engineered to perform with precision across all major markets—whether you're trading forex, commodities, stocks, or indices. Its adaptive logic automatically aligns with the unique volatility and structure of each asset class, delivering consistently reliable insights no matter where you trade.
__________________________________________________________________________
⚙️ USAGE
Integrating the "Hive Bars" indicator into your daily analytical regimen is an intuitive process that will profoundly enhance your ability to discern crucial market dynamics and spot high-conviction opportunities with unprecedented clarity:
💁 Effortless Application
Simply add the "Hive Bars" indicator to any chart within your TradingView platform. Note that it plots on a separate panel below your main price chart to provide its unique visual output without obscuring the primary price action.
📊 Strategic Calibration
Access the indicator's comprehensive settings panel to meticulously calibrate its powerful engines and unlock its full potential:
⚙ "Internal EMA Config"
Configure the internal adaptive baseline by choosing its source (e.g., CLOSE, HL/2) and its specific EMA length. This shapes the core reference point for the dynamic formation of the "Hive Bars."
🤖 "CONFIG Group"
Here, you decide if you want "Daily New Start" for session-based analytical resets (particularly beneficial for intraday strategies). The "Hive Smoothing" input allows you to control a further layer of consolidation for the "Hive Bars."
🟩🟥 "Color": Customize the appearance of both standard "Hive Bars" and "Signal Hive Bars" to suit your visual preferences, enhancing their immediate interpretability.
🧭 Empirical Exploration
Experimentation with these parameters is paramount. Dedicate time to exploring different combinations across various assets and timeframes to discover the optimal configuration that resonates with your unique trading methodology and the inherent volatility of the market being analyzed.
👀 Interpreting the Unveiled Market Reality: Once calibrated, the "Hive Bars" will present a strikingly clear and actionable picture of market dynamics:
+ Green/Red Hive Bars: These visually denote the consolidated directional bias of the market over the reconstructed period. A sustained sequence of Green "Hive Bars" suggests pervasive bullish pressure and an upward path of least resistance, while a series of Red "Hive Bars" indicates dominant bearish control and a clear downward momentum.
+ "Signal Hive Bars" (Distinct Colors): Pay close attention to these specially colored "Hive Bars." They signify critical moments where the reconstructed price action exhibits a particularly strong, high-conviction interaction with its adaptive internal baseline. These often precede or confirm significant market movements and serve as your clearest, most reliable visual triggers for potential shifts in market control.
⛓️ Intermittent Appearance: Observe that "Hive Bars" do not necessarily appear for every single native time unit of your chart. They are intelligently reconstructed and consolidated representations of price action, appearing only when specific internal conditions are met to present a coherent, high-impact view of distinct market phases.
🔗 Harnessing Advanced External Synergy: To unlock a new dimension of analytical power, profoundly enhance your existing indicator suite by integrating the output of "Hive Bars" as the data source for other external indicators. When adding or configuring indicators such as RSI, Stochastic Oscillators, various Moving Averages (EMA, SMA), or any other indicator that prompts for a 'source' input, you can now select the purified output of the "Hive Bars" as your desired data stream.
For oscillators (e.g., RSI, MACD), select the close or a similar relevant output from "Hive Bars" as your source. This allows the oscillator to react to the purified, consolidated momentum of the "Hive Bars" rather than the potentially noisy raw price data, leading to smoother and more meaningful oscillator signals.
For moving averages (e.g., EMA, SMA), utilize the close or other pertinent "Hive Bar" output as your source. This provides an exceptionally smooth, highly responsive, and less choppy average that precisely tracks the true underlying trend as identified by "Hive Bars." This unique capability allows for the construction of powerfully layered and synergistic trading strategies.
📢 Setting Up Proactive Alerts for Critical Events: Leverage the newly incorporated alert capabilities to maintain real-time awareness of pivotal market developments, even when not actively monitoring your charts.
You can now choose to be alerted specifically when a "New Hive Bar Closed" (signifying the definitive completion of a major market phase as identified by the indicator) or when a "New Signal Hive Bar Closed" (highlighting a high-conviction market event that warrants immediate attention due to its pronounced significance).
__________________________________________________________________________
⚠️ LIMITATIONS
While the "Hive Bars" indicator is an incredibly powerful and advanced tool for dissecting market dynamics, it is vital to understand its inherent design parameters and the prevailing platform-specific constraints for optimal and informed utilization:
👉 Visual Gaps in Plotting: Due to current platform limitations pertaining to custom candle plotting functionality, you may occasionally observe visual gaps or intermittent non-contiguous plotting between "Hive Bars" on the chart. They’re not missing data, but a result of strict plotting rules. A bar is only drawn when all internal conditions are met. This ensures accuracy, even if the chart shows some spacing.
👉 Complementary Tool: This indicator excels at providing high-conviction directional insights and identifying significant market phases. However, it is fundamentally designed as a sophisticated complementary tool to a broader trading strategy, not as a standalone, all-encompassing system. Its true power is unlocked when integrated with other analytical methods.
👉 Input Calibration Essential: The efficacy and depth of insights derived from the "Hive Bars" are highly dependent on the careful and thoughtful calibration of its input parameters, including the "Internal EMA Config," "Hive Smoothing" setting. Optimal results necessitate empirical user experimentation and fine-tuning to discover the configurations best suited for specific assets, analytical objectives, and market conditions.
👉 Exclusion of Auxiliary Data: The "Hive Bars" indicator's primary focus is exclusively on transforming and presenting price data. It does not natively incorporate other vital market information such as fundamental economic data, or news events. Integrating these additional analytical layers remains an essential aspect of constructing a truly comprehensive and robust trading strategy.
█ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 『•••• ✎ ••••』 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ █
🎯 CONCLUSION
The "Hive Bars" indicator offers an unparalleled, intuitively accessible, and highly adaptable framework for instantly grasping true price momentum and direction through its intelligent, non-repainting reconstruction of market data. By transforming chaotic raw data into strikingly clear, high-conviction "Hive Bars" and dynamic signals, and now with proactive alerts to highlight critical moments, it empowers you to cut through distractions and identify market currents with unprecedented ease. Think of it as a custom lens for the market. It filters out the clutter and shows you the real structure—bars formed not by time, but by intent. It's about seeing the unseen, with enhanced clarity and a deeper understanding of market forces, now with the power to supercharge all your other tools and keep you informed. No fluff. No hype. Just an edge you can actually see—and use.
▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣
🚨 RISK DISCLAIMER
Engagement in financial market speculation inherently carries a substantial degree of inherent risk, and the potential for capital diminution, potentially exceeding initial deposits, is a pervasive and non-trivial consideration. All content, algorithmic tools, scripts, articles, and educational materials disseminated by "Hive Bars" are exclusively purposed for informational and pedagogical objectives, strictly for reference. Historical performance data, whether explicitly demonstrated or implicitly suggested, offers no infallible assurance or guarantee of future outcomes. Users bear sole and ultimate accountability for their individual trading decisions and are emphatically urged to meticulously assess their financial disposition, risk tolerance parameters, and conduct independent due diligence prior to engaging in any speculative activity.
BeeQuant - Hive Factra🔶 OVERVIEW
The "Hive Factra" is a groundbreaking analytical instrument designed to unveil the true essence of market movement, transforming complex price action into powerfully consolidated insights. Imagine having a specialized lens that intelligently reconstructs market periods into unique "Hive Factra Bars," revealing underlying momentum and high-conviction signals often obscured in traditional charts. This indicator cuts through the noise, showing you precisely when significant shifts are occurring by coloring these reconstructed bars with an adaptive precision. It's built for traders who seek unfiltered perspective that helps see hidden patterns and make more decisive moves.
__________________________________________________________________________
🧠 CONCEPTS
Markets move in impulses and compressions. Most trend indicators rely on single-frame slope logic, which often flips during minor pullbacks. Hive Factra takes a different route. At its core, the "Hive Factra" operates on a sophisticated framework that reinterprets market data, presenting it through its proprietary "Hive Factra Bars", unique visualizations that capture the consolidated spirit of price action.
⬜ The "Hive Factra" Reconstruction: Unlike standard candles, "Hive Factra Bars" are intelligently re-engineered representations of market activity. They are derived through a proprietary process that captures the dominant price influence over specific periods, presenting a clearer, more focused view of underlying momentum. These unique bars visually consolidate information, making the core directional bias immediately apparent.
⬜ The Adaptive Baseline: An internal, dynamic analysis line constantly adjusts to market flow, serving as a crucial reference point for the "Hive Factra Bars." This adaptive baseline provides real-time context, helping the indicator precisely determine the significance of each reconstructed bar's movement.
⬜ High-Conviction Coloring & Signal Bars: The "Factra Bars" come to life with a discerning coloring system. While they reflect the primary market direction (Green for upward bias, Red for downward bias), the "Hive Factra" introduces specialized "Signal Hive Bars" with distinct colors. These unique bars appear when the consolidated price action exhibits a particularly strong, high-conviction interaction with the adaptive baseline, acting as powerful visual alerts for moments of heightened significance.
⬜ Session-Aligned Insights: For intraday traders, the "Daily New Start" option provides a unique advantage. When enabled, the indicator can reset its internal reconstruction process with each new trading session, offering fresh, unbiased perspectives tailored to the day's distinct market dynamics.
⬜ Dynamic Sensitivity: A configurable "Offset" allows you to fine-tune the indicator's responsiveness and the thresholds for initiating these "Hive Factra Bars" and "Signal Hive Bars." This ensures the indicator aligns perfectly with your individual trading style and the volatility of the asset you're analyzing.
__________________________________________________________________________
✨ FEATURES
The "Hive Factra" is equipped with a suite of cutting-edge features, all meticulously designed for unparalleled clarity, adaptive responsiveness, and augmented analytical depth:
🔹 Proprietary Hive Factra Bars
Experience a unique visual representation of price action that consolidates market data for enhanced trend and momentum clarity.
🔹 Customizable Internal Analysis Line
Control the underlying adaptive baseline's calculation for precise alignment with market flow, utilizing various price source options.
🔹 High-Conviction "Signal Hive Bars" (Distinct Colors)
Receive specialized visual alerts when Factra Bars exhibit strong, decisive movements relative to the adaptive baseline, indicating moments of heightened market conviction.
🔹 Overbought/Oversold Visuals
Signal Hive Bars highlight areas of potential exhaustion, providing intuitive insight into stretched conditions
🔹 Session-Based Reconstruction
Opt for the "Daily New Start" to reset the indicator's perspective with each new trading day, providing fresh, session-aligned insights.
🔹 Dynamic Offset Control
Adjust the "Offset" parameter to fine-tune the sensitivity of the Factra Bar reconstruction and signal generation thresholds, tailoring the indicator to specific market conditions.
🔹 Non-Repainting Logic for Historical Reliability
Each "Hive Factra Bar" is plotted only when its internal reconstruction conditions are fully met and confirmed. This ensures that the historical display of Factra Bars does not repaint, providing a high degree of reliability and trust in past signals and visualizations.
🔹 Cross-Market Versatility
This indicator is engineered to perform with precision across all major markets—whether you're trading forex, commodities, stocks, or indices. Its adaptive logic automatically aligns with the unique volatility and structure of each asset class, delivering consistently reliable insights no matter where you trade.
🔹 Custom Range Start Marker
A subtle diamond-shaped symbol is plotted to indicate the start of the Hive Factra logic cycle. This marks the bar from which the internal price range begins accumulating until a new Hive Factra Bar is confirmed and displayed. Helps visualize the dynamic evaluation period used in Factra’s structural detection.
🔹 Smart Alerts for Key Events
Get notified in real time when:
◦ A new Hive Factra Bar completes – signaling a fresh structural range reset
◦ A new Signal Hive Bar closes – identifying a potential overbought or oversold condition
Built-in alert conditions make it easy to stay ahead of shifts without watching every candle manually.
🔹 Universal Timeframe Compatibility: The "Hive Factra" is meticulously engineered to perform flawlessly across all timeframes, from rapid intraday charts to long-term weekly and monthly views. This universal compatibility ensures you receive consistent, high-quality insights regardless of your analytical horizon.
🔹 Unrivaled External Indicator Collaboration: A truly unique advantage of the "Hive Factra" is its capability to seamlessly integrate and enhance the performance of other external indicators. Its meticulously processed output, can serve as a highly purified and consolidated 'source' for indicators that accept such inputs (e.g., RSI, StochRSI, moving averages), which allows for more insightful data stream into your favorite indicators, potentially unlocking new levels of responsiveness and signal accuracy for your entire analytical setup.
__________________________________________________________________________
⚙️ USAGE
Integrating the "Hive Factra" into your daily analytical regimen is intuitive and will profoundly enhance your ability to discern crucial market dynamics and spot high-conviction opportunities:
💁 Effortless Application
Simply add the "Hive Factra" indicator to any chart within your TradingView platform. Note that it plots on a separate panel below your main price chart to provide its unique visual output without obscuring price.
📊 Tailored Calibration: Access the indicator's settings to unlock its full potential:
⚙ "Internal EMA Config"
Configure the internal adaptive baseline by choosing its source (e.g., Close, HL/2) and length. This shapes the core reference point for the Factra Bars.
⚙ "Hive Factra"
Decide if you want "Daily New Start" for session-based analysis and choose the "Source" type for how the Factra Bars are built.
🤖 "Offset"
Experiment with the "Offset" percentage to adjust the sensitivity of the Factra Bar's reconstruction. A smaller offset will make the Factra Bars appear more frequently, while a larger one will highlight only more significant movements.
🟩🟥 Green/Red Hive Factra Bars
These indicate the consolidated directional bias of the market over the reconstructed period. A sequence of Green bars suggests sustained bullish pressure, while Red bars point to dominant bearish control.
🚀 "Signal Hive Bars" (Unique Colors)
Pay close attention to these specially colored Hive Factra Bars. They signify moments where the reconstructed price action exhibits a high-conviction interaction with its adaptive baseline, often preceding or confirming significant market moves. These are your clearest signals for potential shifts.
✨ Appearance of Hive Factra Bars
Notice that these Bars do not necessarily appear for every single time unit. They intelligently reconstruct and consolidate price action, appearing only when conditions align to present a coherent, high-impact view of market phases.
🪢 Harnessing External Synergy
To unlock a new dimension of analysis, consider integrating "Hive Factra" as the data source for other indicators:
1. When adding indicators like RSI, StochRSI, or others that prompt for a 'source' input, you can select the "Hive Factra" as the input.
2. For oscillators (e.g., RSI, Stochastic), choose the close or similar output from "Hive Factra" as your source. This allows the oscillator to react to the purified, consolidated momentum of the Factra Bars rather than raw price.
For moving averages (e.g., EMA, SMA), use the close or other relevant Factra Bar output as your source. This provides an exceptionally smooth and responsive average that tracks the true underlying trend.
__________________________________________________________________________
⚠️ LIMITATIONS
While the "Hive Factra" is an incredibly powerful tool for dissecting market dynamics, it's vital to understand its design parameters for optimal use. It does not attempt to front-run reversals or predict market turns. Instead, it focuses on framing price behavior so traders can react with context.
👉 Visual Gaps in Plotting: Due to Tradingview platform limitations with custom candle plotting functionality, you may observe visual gaps between "Hive Factra Bars" on the chart. This occurs because the indicator only plots a Hive Factra Bar when its internal conditions for reconstruction are fully met, and there isn't an 'offset' parameter for custom candles to bridge these visual discontinuities. Importantly, this behavior ensures that each plotted Factra Bar is confirmed and does not repaint, providing reliable historical analysis.
👉 Reconstructed Data, Not Raw Price: It's crucial to remember that "Hive Factra Bars" are not traditional candles. They are a derived visualization that intelligently consolidates price data.
👉 Complementary Tool: This indicator excels at providing high-conviction directional insights and identifying significant market phases. However, it is designed as a sophisticated complement to a broader trading strategy, not a standalone system.
👉 Input Calibration Essential: The effectiveness of the "Hive Factra" is highly dependent on careful calibration of its input parameters, especially the "Offset" and internal EMA settings. Optimal results require user experimentation to find settings best suited for specific assets and timeframes.
👉 Exclusion of Auxiliary Data: The "Hive Factra" focuses solely on transforming price data. It does not incorporate other vital market information such as trading volume, market breadth, or fundamental news. Integrating these additional analytical layers remains essential for a comprehensive trading strategy.
█ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 『•••• ✎ ••••』 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ █
🎯 CONCLUSION
The "Hive Factra" offers an unparalleled, intuitive, and highly adaptable framework for instantly grasping true price momentum and direction through its intelligent reconstruction of market data. By transforming chaotic raw data into strikingly clear, high-conviction "Factra Bars" and dynamic signals, it empowers you to cut through distractions and identify critical market currents with ease. Its revolutionary capability for seamless collaboration with external indicators (like RSI, EMA, etc., by using its purified output as their source) means you can elevate the performance of your entire analytical suite to new levels of precision and clarity. Seamlessly integrate this advanced visual tool within your analytical framework to gain a sharper, more confident perspective, and elevate your strategic decision-making in the markets. It's about seeing the unseen, with enhanced clarity and a deeper understanding of market forces, now with the power to supercharge all your other tools.
▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣
🚨 RISK DISCLAIMER
Engagement in financial market speculation inherently carries a substantial degree of inherent risk, and the potential for capital diminution, potentially exceeding initial deposits, is a pervasive and non-trivial consideration. All content, algorithmic tools, scripts, articles, and educational materials disseminated by "Hive Factra" are exclusively purposed for informational and pedagogical objectives, strictly for reference. Historical performance data, whether explicitly demonstrated or implicitly suggested, offers no infallible assurance or guarantee of future outcomes. Users bear sole and ultimate accountability for their individual trading decisions and are emphatically urged to meticulously assess their financial disposition, risk tolerance parameters, and conduct independent due diligence prior to engaging in any speculative market activity.
headmapOverview
Advanced Price-Action Zones is a comprehensive, professional-grade indicator designed to automatically map and visualize the most critical historical price levels on your chart. Moving beyond simple lines, it renders these levels as dynamic, semi-transparent zones, providing an intuitive 'heatmap' of significant support, resistance, and potential liquidity areas.
This tool is built for traders who demand a clean, data-rich chart that adapts in real-time to market movements, with a fully customizable interface for personal tuning.
Core Features
Automated Multi-Timeframe Analysis: Automatically plots the high and low of the previous Daily, Weekly, Monthly, and 12-Hour sessions, forming the backbone of your structural analysis.
Heatmap-Style Visualization: Levels are displayed as colored zones rather than simple lines. This allows you to instantly spot areas of confluence where multiple historical levels overlap, indicating stronger S/R.
Dynamic Daily Highlighting: The most recent previous day's high/low is shown in a primary color (default: yellow). As a new day begins, these zones automatically fade to a distinct historical color (default: grey), keeping your focus on the most relevant and recent price action.
Intraday Liquidity Targets: Temporary 12-hour zones are plotted with "L. Shorts" and "L. Longs" labels, highlighting potential short-term reversal areas or stop-run targets. These zones automatically expire to keep the chart clean.
Daily Range Context: A subtle background fill visualizes the entire range of the previous trading day, extending into the current session to provide immediate context for breakouts or range-bound behavior.
Toggleable Volume Data: Get deeper insights with floating labels showing the volume on the bar that created a key Daily, Weekly, or Monthly level. This feature can be turned on or off in the settings.
Full Customization: Every color for every zone type, background, and text element is fully adjustable via the indicator's input menu.
On-Chart Informative Legend: A clean legend in the top-right corner explains the color-coding and the implied importance of each timeframe.
How to Interpret the Visuals
High-Timeframe Levels (Monthly/Red, Weekly/Orange): Use these major zones to identify significant market turning points, high-probability reversal areas, and logical take-profit targets for swing trades.
Mid-Timeframe Levels (Daily): The yellow zones (most recent) represent the immediate battlefield. A decisive move beyond this area can set the tone for the session. The grey zones provide a historical map of prior daily structures.
Short-Timeframe Levels (12-Hour/Blue): Treat these as intraday targets. They often represent areas where stop-losses and liquidations might be clustered, making them magnets for price in the short term.
Disclaimer & Technical Notes
Disclaimer: This tool is for educational and analytical purposes only and does not constitute financial advice or trade signals. All trading involves significant risk.
Technical Note on lookahead: This indicator correctly uses lookahead = barmerge.lookahead_on when requesting higher-timeframe data. This is the standard, industry-accepted method to ensure that a completed historical value (e.g., the previous day's high) is plotted consistently and accurately across all chart timeframes. It does not "repaint" in the conventional sense of changing past signals, but rather ensures data stability.
This is a protected, closed-source script.
Market Generated InformationCredits
Original Author: mcthatsme
Remixed to add in London's High and Low
Overview
The Market Generated Information (MGI Levels v2) is a comprehensive technical analysis. It overlays key price levels from daily, weekly, and monthly timeframes on a chart, providing traders with critical market reference points such as Open, High, Low, Close, Volume Weighted Average Price (VWAP), and standard deviation bands. These levels help traders identify potential support, resistance, and pivot points for intraday and longer-term trading strategies. The indicator is highly customizable, allowing users to tailor the displayed levels, colors, line styles, and label settings to their preferences.
Features
Multi-Timeframe Levels: Displays key price levels from daily, weekly, and monthly sessions, including Open, High, Low, Close, VWAP, and VWAP standard deviation bands (SD1, SD2, SD3).
Session-Based Calculations: Supports Regular Trading Hours (RTH) and Extended Trading Hours (ETH) for stocks and futures, with specific session times for New York, London, and overnight sessions.
Customizable Display: Users can toggle the visibility of specific levels, adjust line styles (solid, dashed, dotted), colors, thicknesses, and label settings (size, offset, and price inclusion).
Opening Range and Initial Balance: Plots the Opening Range (default: 9:30–10:00 AM EST) and Initial Balance (default: 9:30–10:30 AM EST) for intraday traders.
Tested Level Tracking: Optionally tracks untested or tested levels, hiding or showing them based on user preferences.
Overnight and T+2 Levels: Includes overnight high/low and T+2 (two days prior) levels for additional context.
VWAP Calculations: Computes VWAP and its standard deviation bands for daily, weekly, and monthly periods.
Holiday and Session Filters: Adjusts for market-specific conditions, such as Good Friday or shortened trading sessions.
Inputs and Customization
The indicator is organized into three main groups: Daily Levels, Weekly Levels, and Monthly Levels. Each group allows users to configure the following:
Visibility: Toggle whether to show levels (e.g., Show Daily Levels, Show Weekly Levels).
Session Times: Define session ranges (e.g., New York RTH: 9:30 AM–4:00 PM EST, Opening Range: 9:30–10:00 AM EST).
Line and Label Settings: Customize line colors, styles (solid, dashed, dotted), thickness, label text size (Tiny, Small, Normal, Large, Huge), label offset, and whether to include price values in labels.
Number of Periods: Specify how many previous days (1–40), weeks (1–20), or months (1–12) to display.
Tested/Untested Levels: Choose to keep untested levels or show tested levels (Open, High, Low, Close).
Timeframe for Calculations: Option to use a 30-second or 1-minute timeframe for Opening Range and Initial Balance calculations to accommodate different TradingView plans.
Key Levels
Daily Levels: Includes Current Day High/Low, Previous Day High/Low, Opening Range High/Mid/Low, Initial Balance High/Mid/Low, Globex Open, RTH Open, Midnight Open, London Open/Close/High/Low, Previous Day 50% (HL2/OC2), T+2 Open/Close/High/Low, Overnight High/Low, RTH Close, 5 PM Close, and VWAP with standard deviation bands.
Weekly Levels: Previous Week High/Low, 50% (HL2/OC2), Current Week Open, Previous Week Close, and VWAP with standard deviation bands.
Monthly Levels: Previous Month High/Low, 50% (HL2/OC2), Current Month Open, Previous Month Close, and VWAP with standard deviation bands.
Troubleshooting
Levels Not Displaying: Check if the timeframe is ≤ 30 minutes for daily levels and ensure session times are correct for your market.
Incorrect Prices: Verify that extended hours are enabled for ETH charts or disabled for RTH-only charts.
Too Many Lines/Labels: Reduce the number of previous days/weeks/months or disable unneeded levels.
Session Errors: Ensure session times are in UTC-5 (New York time) and match your asset’s trading hours.
License
This script is licensed under the Mozilla Public License 2.0. See mozilla.org for details.
FutureObitz Bank LevelsFutureObitz Bank Levels - Daily Structure & Trading Zones
"The Obitz Bank Levels indicator is a powerful tool designed to help traders identify key daily structural price levels. It automatically extracts the 1 hour and 4 hour High and 1 hour and 4 hour Low. You may also use this indicator for lower timeframes aswell. Going lower than 15 min is not recommended.
What This Indicator Provides:
Dynamic Daily Levels: Calculates and plots the Daily High, Daily Low, Middle, Middle High, and Middle Low of the current trading day. These lines provide clear reference points for price action.
Defined Buy & Sell Zones: Visualizes potential accumulation (Buy Zone) and distribution (Sell Zone) areas. These zones are calculated as a customizable percentage (via inputs) above/below the 'Middle' of the daily range, helping to identify potential entry or exit points.
Multi-Timeframe Compatibility: Displays the exact same daily levels regardless of your active chart's timeframe, offering a consistent higher-timeframe perspective for intraday traders.
Visual Clarity: Includes filled zones for better visualization of the Buy and Sell areas.
Optional Labels: Provides clear labels for the latest daily levels (D. High, D. Low, D. Middle, D. Buy Zone, D. Sell Zone) on the last bar of your chart for quick reference.
This indicator serves as a robust framework for understanding daily market structure and can assist in identifying potential areas of support, resistance, and trading opportunities. It's an excellent tool for traders who rely on clear, higher-timeframe levels to inform their trading decisions.
-FutureObitz
SMA Background & Table Indicator# SMA Background & Table Indicator - User Guide
## What is this Indicator?
The **SMA Background & Table Indicator** is a powerful TradingView Pine Script tool that provides instant visual feedback about a stock's position relative to key Simple Moving Averages (SMAs). Instead of cluttering your chart with multiple SMA lines, this indicator uses background colors and a clean table to show you everything you need to know at a glance. You can also set custom time frame for SMA (i.e. Daily chart for SMA calculation) while watching price action in 15 min chart. You will quickly know if SMA200 losses its level on a daily without you having a need to switch back and worth between time frames. A very cool feature.
## Key Features
### 🎨 Smart Background Colors
- **Green Background**: Price is above SMA200 - Bullish trend
- **Red Background**: Price is below SMA200 - Bearish trend
- **Orange Background**: Price is near SMA200 - Caution zone (within 1% threshold)
### 📊 Clean SMA Status Table
Located in the bottom-right corner, showing:
- **SMA5, SMA20, SMA50, SMA100, SMA200** values
- **Color-coded dots** for each SMA:
- 🟢 **Green**: Price is above this SMA (bullish)
- 🟠 **Orange**: Price is close to this SMA (within 0.5%)
- 🔴 **Red**: Price is below this SMA (bearish)
### ⏰ Flexible Timeframe Options
- **Chart Timeframe**: Calculate SMAs from your current chart timeframe
- **Custom Timeframe**: Choose any timeframe (1m, 5m, 1H, 1D, 1W, etc.) for SMA calculations
### 🎨 Full Customization
- **Table Text Size**: Tiny, Small, Normal, Large, or Huge
- **Table Background Color**: Any color you prefer
- **Table Font Color**: Customize text color to match your theme
- **Background Transparency**: Adjust from 0% (opaque) to 100% (transparent)
## How to Use
### Basic Usage
1. **Add the indicator** to any stock chart
2. **Watch the background color** for overall trend direction:
- Green = Bullish (above SMA200)
- Red = Bearish (below SMA200)
- Orange = Neutral/Transition zone
3. **Check the table** for detailed SMA analysis
### Advanced Usage
#### Timeframe Selection
1. Click on the indicator name in the chart
2. Click the **settings gear icon**
3. Enable **"Use Custom Timeframe for SMAs"**
4. Select your preferred **"Custom Timeframe"**
**Example**: You're trading on a 15-minute chart but want to see daily SMA levels:
- Set Custom Timeframe to "1D"
- Now you'll see how the current price relates to daily SMAs while still viewing 15-minute price action
#### Customizing Appearance
In the indicator settings:
- **Table Text Size**: Choose readability preference
- **Table Background Color**: Match your chart theme
- **Table Font Color**: Ensure good contrast
- **Background Transparency**: Balance visibility with chart clarity
## Trading Applications
### Trend Identification
- **Green background** = Look for long opportunities
- **Red background** = Look for short opportunities
- **Orange background** = Wait for clearer direction
### Support/Resistance Levels
- **Green dots** in table = SMAs acting as support
- **Red dots** in table = SMAs acting as resistance
- **Orange dots** = Key levels to watch for breakouts
### Multi-Timeframe Analysis
- Set custom timeframe to higher timeframe (e.g., daily)
- Trade on lower timeframe with higher timeframe SMA context
- Example: Day trading with daily SMA guidance
## Pro Tips
1. **Clean Charts**: This indicator eliminates the need for multiple SMA lines, keeping your chart clean while providing all essential information
2. **Quick Assessment**: One glance tells you the overall trend (background) and detailed SMA relationships (table)
3. **Multi-Timeframe Strategy**: Use daily SMAs on intraday charts for better trend context
4. **Customization**: Adjust colors and transparency to match your trading platform's theme for optimal visibility
5. **Threshold Understanding**:
- Background changes use 1% threshold (reduces noise)
- Table dots use 0.5% threshold (more sensitive)
This indicator transforms complex SMA analysis into simple, actionable visual information - perfect for both beginner and advanced traders!
Dashboard Trends📊 Dashboard Trends + Anchored Daily VWAP
This indicator provides a real-time multi-timeframe trend dashboard alongside a daily anchored VWAP system, helping you assess both macro and intraday market sentiment at a glance.
🔍 Key Features
✅ Multi-Timeframe Trend Analysis
Tracks whether EMA(22) is above EMA(200) across:
1m, 10m, 30m, 4h, 1D timeframes
Color-coded "Bullish"/"Bearish" status for each
Aggregated trend summary using 6 signals (including VWAP)
✅ Anchored Daily VWAP
Uses ta.vwap to provide a session-resetting daily VWAP
VWAP resets at the beginning of each trading day
Live update throughout the day
Supports pre-market and after-hours if chart includes ETH
✅ VWAP Bands (±1σ to ±3σ)
Optional bands show price deviation from VWAP
Fully customizable:
Enable/disable each band
Set deviation multiplier
Adjust color and visibility
✅ Visual Dashboard
Table display in the bottom-right corner
Shows trend status per timeframe + VWAP + Summary
Easy-to-read green/yellow/red color codes
⚙️ Customization
Toggle VWAP line on/off
Enable or disable any band level
Adjust standard deviation multiplier
Choose your VWAP and band colors
🧠 Summary Logic
Strong Bull: 6 bullish signals
Bull: 5 signals
Mixed: 3–4 signals
Bear: 2 signals
Strong Bear: 0–1 signals
This tool is perfect for traders looking to combine trend-following and intraday mean-reversion awareness, with all the critical data visualized in one compact dashboard.
Intraday & Annual CAPM AlphaIntraday & Annual CAPM Alpha
This TradingView™ Pine v6 indicator computes and plots a stock’s CAPM α (alpha) on both intraday and daily/annualized timeframes, allowing you to monitor relative performance against a chosen benchmark (e.g. SPX, NDX).
⸻
Key Outputs
1. Intraday α per Bar (blue line)
• Calculates α from a rolling-window linear regression of the last N bars’ returns (default 60).
• Expressed as “extra return per bar” vs. the benchmark.
2. Intraday α Daily-Equivalent (stepped blue line)
• Scales the per-bar α to a full trading day (390 minutes), showing “if this pace held all day, outperformance (%)”.
3. Annualized α (yellow line)
• Performs the same CAPM regression on daily returns over a D-day lookback (default 252), then annualizes α by multiplying by 252.
• Indicates longer-term relative strength/weakness vs. the benchmark.
⸻
Inputs
• Benchmark Symbol: Choose any index or ETF (e.g. “SPX”, “NDX”).
• Intraday Lookback Bars: Number of bars for intraday α regression (default 60).
• Daily Lookback Days: Number of trading days for daily CAPM regression (default 252).
• Use Log Returns?: Toggle between arithmetic vs. log returns.
⸻
How to Use
• Short-Term Signals:
• Watch the blue α/bar line on 1–15 min charts. A cross from negative to positive suggests intraday outperformance; a reversal warns of weakening momentum.
• The blue daily-equivalent α gives a smoother view—e.g. > +1% signals strong intraday bias, < –1% signals underperformance.
• Long-Term Trends:
• On daily charts, focus on the yellow annualized α. A sustained positive α implies this stock has historically beaten the benchmark; sustained negative α implies the opposite.
• Combining Timeframes:
• Use intraday α for timing entries/exits within the session, and annualized α to confirm whether you want a bullish or bearish bias over days to weeks.
⸻
Install & Configure
1. Copy the Pine v6 script into the TradingView Pine Editor.
2. Set your favorite benchmark, lookback periods, and returns type.
3. Add to your chart to start visualizing real-time CAPM α signals!
Feel free to adjust the lookback windows and threshold levels to suit your trading style.
Currency Volatility Index (CVI)This Currency Volatility Index (CVI) indicator aggregates the realized volatility of the eight “major” FX pairs into a single, tradable series—much like an FX-version of the VIX. Here’s what it does step by step:
Inputs & Settings
• Volatility Length (default 20 days): the lookback over which daily log-returns’ standard deviation is computed.
• Data Timeframe (default Daily): the resolution at which price data is fetched for each pair.
• Smoothing Length (default 5): the period of a simple moving average applied to the raw, averaged volatility (in %).
Pair-by-Pair Volatility Calculation
For each hard-coded symbol (EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, EURGBP):
Pull the series of daily closes.
Compute the series of log-returns: ln(today’s close / yesterday’s close).
Calculate the standard deviation of those log-returns over your lookback.
Annualize it (×√252) to convert daily volatility into an annualized figure.
Aggregation
The eight annualized volatilities are averaged (equal weights).
The resulting number is then multiplied by 100 to express it as a percentage.
Smoothing & Plotting
A simple moving average over the aggregated volatility smooths out spikes.
The smoothed CVI (%) is plotted as a standalone line below price charts.
Visualization Aids
A small table in the top-right corner shows each pair’s current volatility in percent.
A dynamic label on the final bar prints the latest CVI value directly on the chart.
Why use it?
Gives a one-stop measure of overall FX market turbulence.
Helps you compare “quiet” vs. “volatile” regimes across currencies.
45pointsJ3FF Enhanced# 45pointsJ3FF Enhanced Pine Script Indicator
This is a comprehensive multi-timeframe support and resistance indicator for TradingView that displays key price levels and VWAP (Volume Weighted Average Price) across different time periods.
## 🎯 **Core Functionality**
The indicator plots critical price levels from multiple timeframes simultaneously on your chart, helping traders identify key support/resistance zones and volume-based price levels.
## 📊 **Key Levels Displayed**
### **Multi-Timeframe Levels:**
- **Daily**: Open, High, Low + Previous Day levels
- **Weekly**: Open, High, Low + Previous Week levels
- **Monthly**: Open, High, Low + Previous Month levels
- **Yearly**: Open, High, Low + Previous Year levels
### **Equilibrium Levels:**
- **50% Retracement** levels for previous periods (midpoint between high and low)
- Helps identify potential reversal zones
### **VWAP Levels:**
- **Daily VWAP**: Volume-weighted average for current day
- **Weekly VWAP**: Custom calculation for current week
- **Monthly VWAP**: Custom calculation for current month
- **Yearly VWAP**: Custom calculation for current year
## ⚙️ **Customization Options**
### **Display Controls:**
- **Individual toggles** for each timeframe (Daily/Weekly/Monthly/Yearly)
- **Previous period toggles** to show/hide historical levels
- **Line extension options**: Short, Right, Both
- **Adjustable line width** (1-3 pixels)
### **Visual Customization:**
- **Custom colors** for each timeframe
- **Individual line styles** (Solid, Dashed, Dotted) for each timeframe
- **Price labels** can be toggled on/off for lines and VWAPs
### **Price Table Features:**
- **Comprehensive side table** showing all active level prices
- **4 position options**: Top/Bottom + Left/Right corners
- **3 size options**: Small, Normal, Large
- **Color-coded entries** matching chart lines
- **Auto-filtering**: Only shows enabled levels
## 🔧 **Technical Implementation**
### **VWAP Calculations:**
- **Daily**: Uses built-in `ta.vwap()` function
- **Weekly/Monthly/Yearly**: Custom accumulative calculations using volume-weighted price averaging
- **Timeframe Detection**: Higher timeframe VWAPs only show on intraday charts
### **Higher Timeframe Data:**
- Uses `request.security()` to fetch OHLC data from higher timeframes
- **Lookahead enabled** for real-time updates
- **Previous period data** accessed using ` ` historical referencing
### **Drawing System:**
- **Dynamic line drawing** with customizable extension
- **Smart labeling system** with price formatting
- **Tick-rounded prices** for clean display
- **Performance optimized** with conditional drawing
## 📈 **Trading Applications**
### **Support & Resistance:**
- **Previous day/week/month highs and lows** act as key S/R levels
- **Opening levels** often serve as pivot points
- **Equilibrium levels** (50% retracements) are common reversal zones
### **VWAP Trading:**
- **Daily VWAP**: Intraday trend direction and mean reversion
- **Higher timeframe VWAPs**: Longer-term trend bias
- **Multiple VWAP confluence** creates stronger levels
### **Multi-Timeframe Analysis:**
- **Level confluence**: Multiple timeframes aligning creates stronger zones
- **Trend context**: Higher timeframe levels provide broader market context
- **Entry/Exit planning**: Previous period levels help plan trades
## 🎨 **Visual Organization**
### **Color Coding:**
- **Blue**: Daily levels (default)
- **Yellow**: Weekly levels (default)
- **Purple**: Monthly levels (default)
- **Red**: Yearly levels (default)
- **Transparency**: Previous period levels shown in lighter shades
### **Line Styles:**
- **Solid lines**: Current period highs/lows
- **Dashed lines**: Opening levels
- **Dotted lines**: Previous period levels
- **Thick lines**: VWAP plots (2px width)
## 🔍 **Unique Features**
1. **Custom VWAP calculations** for weekly/monthly/yearly periods
2. **Intelligent table display** that only shows active levels
3. **Comprehensive customization** without overwhelming interface
4. **Performance optimized** with conditional rendering
5. **Professional presentation** with watermark and clean styling
This indicator is particularly valuable for traders who use multiple timeframe analysis and want a clean, organized way to visualize key price levels and volume-based averages all in one tool.
[JHF] SQZMOMPRO SQZMOMPRO is a sophisticated, momentum-based technical indicator designed for traders seeking to identify potential trend reversals, momentum shifts, and periods of market consolidation (squeezes) across multiple timeframes. By combining a momentum oscillator, Bollinger Bands, Keltner Channels, and a Percentage Volume Oscillator (PVO), it provides a comprehensive view of price momentum and volume dynamics.
Overview
The SQZMOMPRO indicator is a powerful tool that integrates momentum analysis, volatility-based squeeze detection, and volume confirmation to help traders identify high-probability trading opportunities. It combines:
A momentum oscillator based on price deviations from a linear regression and moving average.
Bollinger Bands and Keltner Channels to detect periods of low volatility (squeezes), signaling potential breakouts.
A Percentage Volume Oscillator (PVO) to confirm momentum signals with volume trends.
A Rate of Change (ROC) line to highlight the speed of momentum shifts.
Visual cues like reversal signals and confluence backgrounds for actionable insights.
This indicator is ideal for swing traders, day traders, and those analyzing trends across multiple timeframes (hourly, 4-hour, daily, weekly, monthly). It is plotted below the price chart (non-overlay) and includes customizable alerts for key conditions.
Key Features
Multi-Timeframe Support: Automatically adjusts parameters for hourly, 4-hour, daily, weekly, and monthly charts, ensuring optimal settings for each timeframe.
Squeeze Detection: Identifies periods of low volatility (squeezes) using Bollinger Bands and Keltner Channels, categorized as Wide, Normal, Narrow, or Very Narrow.
Momentum Oscillator: Tracks price momentum relative to a baseline, with a signal line to highlight trend reversals.
PVO Confluence: Optionally integrates the Percentage Volume Oscillator to confirm momentum signals with volume trends.
Rate of Change (ROC): Displays the smoothed rate of change of momentum for enhanced readability.
Visual Cues: Includes color-coded squeeze dots, momentum/signal lines, reversal markers, and optional confluence backgrounds.
Alerts: Configurable alerts for squeeze conditions, trend reversals, and volume-confirmed signals.
How It Works
1. Momentum Oscillator
The momentum oscillator is calculated as follows:
Source: Closing price.
Baseline: A combination of the midpoint of the highest high and lowest low over a specified period, adjusted by a simple moving average (SMA).
Momentum: Linear regression of the price deviation from this baseline over a timeframe-specific period (shorter for smaller timeframes to be more responsive).
Signal Line: A 5-period SMA of the momentum value, used to identify crossovers.
Interpretation:
Momentum > Signal: Bullish momentum (plotted in green by default).
Momentum < Signal: Bearish momentum (plotted in red by default).
Crossovers: Momentum crossing above the signal line suggests a bullish reversal; crossing below suggests a bearish reversal.
2. Squeeze Detection
Squeezes occur when volatility contracts, often preceding significant price moves. The indicator compares:
Bollinger Bands: Calculated using an SMA and 2 standard deviations of the closing price.
Keltner Channels: Calculated using an SMA and multiples of the Average True Range (ATR) for different squeeze thresholds (Wide, Normal, Narrow, Very Narrow). This method steers away from the likes of classical SQZPRO which only uses an approximation of the Average True Range and heavily affects the squeeze sensitivity due to the way they calculate their Keltner Channel (our Keltner Channel are true to the way they are supposed to be calculated).
Squeeze Conditions:
Wide Squeeze: Bollinger Bands are inside Keltner Channels with a high ATR multiplier.
Normal Squeeze: Bollinger Bands are inside Keltner Channels with a moderate ATR multiplier.
Narrow Squeeze: Bollinger Bands are inside Keltner Channels with a low ATR multiplier.
Very Narrow Squeeze: Bollinger Bands are inside Keltner Channels with a very low ATR.
No Squeeze: Bollinger Bands are outside Keltner Channels, indicating higher volatility.
Depending on the timeframe, each squeeze level has been manually tweaked to gain an edge, whether you're scalping, in swings or in Leaps.
Visuals: Squeeze conditions are plotted as colored dots on the zero line:
Green: No Squeeze
Black: Wide Squeeze
Red: Normal Squeeze
Yellow: Narrow Squeeze
Purple: Very Narrow Squeeze
3. Percentage Volume Oscillator (PVO)
The PVO measures volume momentum, similar to the MACD but applied to volume through a 14 and 28 ema with volume as the srouce.
Interpretation:
PVO > 0: Increasing volume momentum (bullish).
PVO < 0: Decreasing volume momentum (bearish).
When enabled (Show PVO Confluence), the indicator highlights periods where momentum and PVO align (e.g., bullish momentum with PVO > 0).
4. Rate of Change (ROC)
Formula: Smoothed difference between momentum and signal line, multiplied by a user-defined factor (ROC Multiplier).
Purpose: Enhances readability of momentum shifts, plotted as a blue (positive) or orange (negative) line when enabled.
5. Reversal Signals
Bullish Reversal: Momentum crosses above the signal line, optionally confirmed by PVO > 0. Marked with a green vertical line.
Bearish Reversal: Momentum crosses below the signal line, optionally confirmed by PVO < 0. Marked with a red vertical line.
6. Confluence Background
When Show PVO Confluence is enabled, the background is colored to highlight alignment:
Bullish Confluence: Momentum > Signal and PVO > 0 (green background, darker if ROC is positive).
Bearish Confluence: Momentum < Signal and PVO < 0 (red background, darker if ROC is negative).
Inputs
Basic Configuration:
Display Reversals: Show/hide reversal markers for momentum/signal crossovers (default: true).
Show PVO Confluence: Enable/disable background coloring for momentum and PVO alignment (default: false).
Rate of Change:
Show Rate of Change Line: Display the ROC line (default: false).
ROC Smoothing Length: Smoothing period for ROC (default: 1, min: 1).
ROC Multiplier: Scales ROC for readability (default: 1, min: 1).
Plotline Colors:
Bullish Momentum: Green (default: RGB(0, 255, 0)).
Bearish Momentum: Red (default: RGB(255, 0, 0)).
Signal Line: White (default: RGB(255, 255, 255)).
Squeeze Colors:
No Squeeze: Green.
Wide Squeeze: Black.
Normal Squeeze: Red.
Narrow Squeeze: Yellow.
Very Narrow Squeeze: Purple.
Timeframe-Specific Parameters
The indicator adapts to the chart’s timeframe, using predefined settings.
Hourly, 4-Hour, Daily, Weekly and Monthly (and everything in between) all have custom, tweaked momentum length, ATR length, and squeeze multiplier threshold to suit the sensitivity needed for the current timeframe.
Trading Applications
Squeeze Breakouts:
A transition from a Very Narrow or Narrow Squeeze to No Squeeze often signals a breakout. Combine with momentum crossovers for confirmation.
Example: Enter a long position when a Narrow Squeeze (yellow dots) turns to No Squeeze (green dots) and momentum crosses above the signal line.
Trend Reversals:
Bullish reversal (green line) with PVO > 0 confirms strong buying volume, increasing the likelihood of a sustained uptrend.
Bearish reversal (red line) with PVO < 0 suggests strong selling pressure.
Confluence Trading:
Use confluence backgrounds to trade only when momentum and volume align, reducing false signals.
Example: A bullish confluence (green background) with positive ROC indicates a high-probability long setup.
Divergences:
Look for divergences between price and momentum or PVO. For instance, a higher low in momentum/PVO with a lower low in price suggests a bullish reversal.
Trend Confirmation:
Use the momentum oscillator and ROC to confirm price trends. A rising momentum and positive ROC validate an uptrend.
Alerts
Squeeze Alerts:
🟢 No Squeeze: Volatility is expanding.
⚫ Low Squeeze: Wide squeeze detected.
🔴 Normal Squeeze: Moderate squeeze detected.
🟡 Tight Squeeze: Narrow squeeze detected.
🟣 Very Tight Squeeze: Very narrow squeeze detected.
Reversal Alerts:
🐂 Bullish Trend Reversal: Momentum crosses above signal.
🐻 Bearish Trend Reversal: Momentum crosses below signal.
🐂 Bullish Trend Reversal + 📊 PVO Confluence: Momentum crossover with PVO > 0.
🐻 Bearish Trend Reversal + 📊 PVO Confluence: Momentum crossover with PVO < 0.
Limitations
Lagging Nature: The momentum oscillator and PVO rely on moving averages, which may lag sudden price or volume spikes.
False Signals: Squeezes and crossovers can occur in choppy markets, leading to whipsaws. Confirm with price action or other indicators.
Timeframe Sensitivity: Results vary by timeframe; test settings for your trading style (e.g., shorter lengths for day trading).
How to Use
Add to Chart: Apply the indicator to any TradingView chart (non-overlay).
Customize Settings:
Enable Display Reversals for crossover markers.
Enable Show PVO Confluence for volume confirmation.
Adjust ROC Smoothing and ROC Multiplier for clearer ROC visuals.
Customize colors for better visibility.
Interpret Signals:
Monitor squeeze dots for volatility changes.
Watch for momentum/signal crossovers and confluence backgrounds.
Use ROC to gauge momentum strength.
Set Alerts: Configure alerts for squeezes, reversals, or confluence signals to stay informed.
Example Scenario
Setup: A stock in a Very Narrow Squeeze (purple dots) on the daily chart, with momentum below the signal line and PVO < 0.
Signal: Momentum crosses above the signal line, PVO turns positive, and the squeeze transitions to No Squeeze (green dots).
Action: Enter a long position, targeting the next resistance level, with a stop-loss below recent support. The green confluence background and positive ROC confirm the trade.
Conclusion
The SQZMOMPRO indicator is a versatile tool for traders seeking to capitalize on momentum, volatility, and volume trends. Its multi-timeframe adaptability, visual clarity, and robust alert system make it suitable for various trading strategies. Combine with price action, support/resistance, or other indicators for optimal results. For feedback or suggestions, feel free to leave a comment.