BTC vs MSTR PerformanceBTC vs MSTR Performance - BULL
• Green: MSTR has outperformed BTC over the selected time period.
• Red: BTC has outperformed MSTR during the same time period.
• Horizontal line at 0: Separates positive from negative outperformance.
Grafik Desenleri
Internal Pivot Pattern [LuxAlgo]The Internal Pivot Pattern indicator is a novel method allowing traders to detect pivots without excessive delay on the chart timeframe, by using the lower timeframe data from a candle.
It features custom colors for candles and zigzag lines to help identify trends. A dashboard showing the accuracy of the pattern is also included.
🔶 USAGE
We define a pivot as the occurrence where the middle candle over a specific interval (for example, the most recent 21 bars) is the highest (pivot high) or the lowest (pivot low). This method commonly allows for identifying swing highs/lows on a trader's chart; however, this pattern can only be identified after a specific number of bars has been formed, rendering this pattern useless for real-time detection of swing highs/lows.
This indicator uses a different approach, removing the need to wait for candles to form on the user chart; instead, we check the lower timeframe data of the current candle and evaluate for the presence of a pivot given the internal data, effectively providing pivot confirmation at the candle close.
An internal pivot low pattern is indicative of a potential uptrend, while an internal pivot high is indicative of a potential downtrend.
Candles are colored based on the last internal pivot detected, with blue candle colors indicating that the most recent internal pivot is a pivot low, indicating an uptrend, while an orange candle color indicates that the most recent internal pivot is a pivot high, indicating a downtrend.
🔹 Timeframes
The timeframe setting allows controlling the amount of lower timeframe data to consider for the internal pivot detection. This setting must be lower than the user's chart timeframe.
Using a timeframe significantly lower than the user chart timeframe will evaluate a larger amount of data for the pivot detection, making it less frequent, while using a timeframe closer to the chart timeframe can make the internal pivot detection more frequent, and more prone to false positives.
🔹 Accuracy Dashboard
The Accuracy Dashboard allows evaluating how accurate the detected patterns are as a percentage, with a pattern being judged accurate if subsequent patterns are detected higher or lower than a previous one.
For example, an internal pivot low is judged accurate if the following internal pivot is higher than it, indicating that higher highs have been made.
This dashboard can be useful to determine the timeframe setting to maximize the respective internal pivot accuracy.
🔶 SETTINGS
Timeframe: Timeframe for detecting internal swings
Accuracy Dashboard: Enable or disable the Accuracy Dashboard.
🔹 Style
Internal Pivot High: Color of the dot displayed upon the detection of an internal pivot high
Internal Pivot Low: Color of the dot displayed upon the detection of an internal pivot low
Zig-Zag: Color of the zig-zag segments connecting each internal pivot
Candles: Enable candle coloring, with control over the color of the candles highlighting the detected trend
2% Averaging Buy-Sell Strategy📘 Strategy Description: 2% Averaging Buy-Sell Strategy
This strategy is designed to simulate an averaging-down and scaling-out approach based on percentage-based price movements.
Entry Logic (Buy):
Initial buy of 1 lot is triggered at the start of the strategy.
Every time the price drops by 2% from the last executed buy level, the strategy adds 2 more lots.
Exit Logic (Sell):
When the price rises 2% from the last buy level, the strategy sells 2 lots.
Selling continues in batches of 2 lots as long as the upward movement continues and lots are available.
Core Idea:
This is a dynamic averaging system that increases exposure during drawdowns and reduces it during rallies, aiming to capture mean reversion or trend reversals.
Customizable Inputs:
Initial lot size
Additional lot size
Percentage threshold (default 2%)
⚠️ Note: This strategy is for simulation/backtesting purposes. It does not account for slippage, fees, or real-world order execution conditions.
SCTI-MACDEnglish Description
SCTI-MACD is an advanced multi-feature MACD indicator that combines traditional MACD analysis with divergence detection and flexible display options. This enhanced version offers:
Key Features:
Customizable MACD parameters (fast EMA, slow EMA, signal line periods)
Multi-timeframe capability - analyze MACD from different timeframes on your current chart
Visual customization:
Toggle MACD line, signal line, and histogram visibility
Color-changing MACD line based on signal line crossovers
4-color histogram for better trend visualization
Signal cross markers
Advanced divergence detection:
Regular and hidden divergences for both histogram and MACD line
Configurable lookback periods and price reference (wicks or bodies)
Visual labels for easy identification
Flexible display options to show only the elements you need
The indicator helps identify trend direction, momentum shifts, and potential reversal points through its comprehensive divergence detection system.
中文描述
SCTI-MACD 是一个集成了多种功能的高级MACD指标,结合了传统MACD分析与背离检测功能,并提供灵活的显示选项。这个增强版本提供:
主要功能:
可定制的MACD参数(快EMA、慢EMA、信号线周期)
多时间周期功能 - 在当前图表上分析不同时间周期的MACD
可视化定制:
可切换显示MACD线、信号线和直方图
根据信号线交叉变化颜色的MACD线
四种颜色的直方图,提供更好的趋势可视化
信号交叉标记点
高级背离检测:
直方图和MACD线的常规背离和隐藏背离
可配置的回溯周期和价格参考(影线或实体)
视觉标签便于识别
灵活的显示选项,只显示您需要的元素
该指标通过其全面的背离检测系统,帮助识别趋势方向、动量变化和潜在反转点。
Publishing Notes
When uploading to the community, you may want to include:
Suggested Settings: Recommend your preferred parameter combinations
Usage Tips: Explain how to interpret the different divergence signals
Screenshots: Include images showing the indicator in action with different features enabled
Version Info: Note that it requires Pine Script v5
The indicator name "SCTI-MACD" suggests it may be part of a trading system or methodology - you may want to explain what "SCTI" stands for if it's meaningful to your approach.
SCTI V28Indicator Overview | 指标概述
English: SCTI V28 (Smart Composite Technical Indicator) is a multi-functional composite technical analysis tool that integrates various classic technical analysis methods. It contains 7 core modules that can be flexibly configured to show or hide components based on traders' needs, suitable for various trading styles and market conditions.
中文: SCTI V28 (智能复合技术指标) 是一款多功能复合型技术分析指标,整合了多种经典技术分析工具于一体。该指标包含7大核心模块,可根据交易者的需求灵活配置显示或隐藏各个组件,适用于多种交易风格和市场环境。
Main Functional Modules | 主要功能模块
1. Basic Indicator Settings | 基础指标设置
English:
EMA Display: 13 configurable EMA lines (default shows 8/13/21/34/55/144/233/377/610/987/1597/2584 periods)
PMA Display: 11 configurable moving averages with multiple MA types (ALMA/EMA/RMA/SMA/SWMA/VWAP/VWMA/WMA)
VWAP Display: Volume Weighted Average Price indicator
Divergence Indicator: Detects divergences across 12 technical indicators
ATR Stop Loss: ATR-based stop loss lines
Volume SuperTrend AI: AI-powered super trend indicator
中文:
EMA显示:13条可配置EMA均线,默认显示8/13/21/34/55/144/233/377/610/987/1597/2584周期
PMA显示:11条可配置移动平均线,支持多种MA类型(ALMA/EMA/RMA/SMA/SWMA/VWAP/VWMA/WMA)
VWAP显示:成交量加权平均价指标
背离指标:12种技术指标的背离检测系统
ATR止损:基于ATR的止损线
Volume SuperTrend AI:基于AI预测的超级趋势指标
2. EMA Settings | EMA设置
English:
13 independent EMA lines, each configurable for visibility and period length
Default shows 21/34/55/144/233/377/610/987/1597/2584 period EMAs
Customizable colors and line widths for each EMA
中文:
13条独立EMA均线,每条均可单独配置显示/隐藏和周期长度
默认显示21/34/55/144/233/377/610/987/1597/2584周期的EMA
每条EMA可设置不同颜色和线宽
3. PMA Settings | PMA设置
English:
11 configurable moving averages, each with:
Selectable types (default EMA, options: ALMA/RMA/SMA/SWMA/VWAP/VWMA/WMA)
Independent period settings (12-1056)
Special ALMA parameters (offset and sigma)
Configurable data source and plot offset
Support for fill areas between MAs
Price lines and labels can be added
中文:
11条可配置移动平均线,每条均可:
选择不同类型(默认EMA,可选ALMA/RMA/SMA/SWMA/VWAP/VWMA/WMA)
独立设置周期长度(12-1056)
设置ALMA的特殊参数(偏移量和sigma)
配置数据源和绘图偏移
支持MA之间的填充区域显示
可添加价格线和标签
4. VWAP Settings | VWAP设置
English:
Multiple anchor period options (Session/Week/Month/Quarter/Year/Decade/Century/Earnings/Dividends/Splits)
3 configurable standard deviation bands
Option to hide on daily and higher timeframes
Configurable data source and offset settings
中文:
多种锚定周期选择(会话/周/月/季/年/十年/世纪/财报/股息/拆股)
3条可配置标准差带
可选择在日线及以上周期隐藏
支持数据源选择和偏移设置
5. Divergence Indicator Settings | 背离指标设置
English:
12 detectable indicators: MACD, MACD Histogram, RSI, Stochastic, CCI, Momentum, OBV, VWmacd, Chaikin Money Flow, MFI, Williams %R, External Indicator
4 divergence types: Regular Bullish/Bearish, Hidden Bullish/Bearish
Multiple display options: Full name/First letter/Hide indicator name
Configurable parameters: Pivot period, data source, maximum bars checked, etc.
Alert functions: Independent alerts for each divergence type
中文:
检测12种指标:MACD、MACD柱状图、RSI、随机指标、CCI、动量、OBV、VWmacd、Chaikin资金流、MFI、威廉姆斯%R、外部指标
4种背离类型:正/负常规背离,正/负隐藏背离
多种显示选项:完整名称/首字母/不显示指标名称
可配置参数:枢轴点周期、数据源、最大检查柱数等
警报功能:各类背离的独立警报
6. ATR Stop Loss Settings | ATR止损设置
English:
Configurable ATR length (default 13)
4 smoothing methods (RMA/SMA/EMA/WMA)
Adjustable multiplier (default 1.618)
Displays long and short stop loss lines
中文:
可配置ATR长度(默认13)
4种平滑方法(RMA/SMA/EMA/WMA)
可调乘数(默认1.618)
显示多头和空头止损线
7. Volume SuperTrend AI Settings | Volume SuperTrend AI设置
English:
AI Prediction:
Configurable neighbors (1-100) and data points (1-100)
Price trend length and prediction trend length settings
SuperTrend Parameters:
Length (default 3)
Factor (default 1.515)
5 MA source options (SMA/EMA/WMA/RMA/VWMA)
Signal Display:
Trend start signals (circle markers)
Trend confirmation signals (triangle markers)
6 Alerts: Various trend start and confirmation signals
中文:
AI预测功能:
可配置邻居数(1-100)和数据点数(1-100)
价格趋势长度和预测趋势长度设置
SuperTrend参数:
长度(默认3)
因子(默认1.515)
5种MA源选择(SMA/EMA/WMA/RMA/VWMA)
信号显示:
趋势开始信号(圆形标记)
趋势确认信号(三角形标记)
6种警报:各类趋势开始和确认信号
Usage Recommendations | 使用建议
English:
Trend Analysis: Use EMA/PMA combinations to determine market trends, with long-period EMAs (e.g., 144/233) as primary trend references
Divergence Trading: Look for potential reversals using price-indicator divergences
Stop Loss Management: Use ATR stop loss lines for risk management
AI Assistance: Volume SuperTrend AI provides machine learning-based trend predictions
Multiple Timeframes: Verify signals across different timeframes
中文:
趋势分析:使用EMA/PMA组合判断市场趋势,长周期EMA(如144/233)作为主要趋势参考
背离交易:结合价格与指标的背离寻找潜在反转点
止损设置:利用ATR止损线管理风险
AI辅助:Volume SuperTrend AI提供基于机器学习的趋势预测
多时间框架:建议在不同时间框架下验证信号
Parameter Configuration Tips | 参数配置技巧
English:
For short-term trading: Focus on 8-55 period EMAs and shorter divergence detection periods
For long-term investing: Use 144-2584 period EMAs with longer detection parameters
In ranging markets: Disable some EMAs, mainly rely on VWAP and divergence indicators
In trending markets: Enable more EMAs and SuperTrend AI
中文:
对于短线交易:可重点关注8-55周期的EMA和较短的背离检测周期
对于长线投资:建议使用144-2584周期的EMA和较长的检测参数
在震荡市:可关闭部分EMA,主要依靠VWAP和背离指标
在趋势市:可启用更多EMA和SuperTrend AI
Update Log | 更新日志
English:
V28 main updates:
Added Volume SuperTrend AI module
Optimized divergence detection algorithm
Added more EMA period options
Improved UI and parameter grouping
中文:
V28版本主要更新:
新增Volume SuperTrend AI模块
优化背离检测算法
增加更多EMA周期选项
改进用户界面和参数分组
Final Note | 最后说明
English: This indicator is suitable for technical traders with some experience. We recommend practicing with demo trading to familiarize yourself with all features before live trading.
中文: 该指标适合有一定经验的技术分析交易者使用,建议先通过模拟交易熟悉各项功能后再应用于实盘。
15-Min Chart, 7-Day High-Low SignalThis is a updated script to check for variances above 5% on buy and sell signals. This will help with mean reversion. Test before buying.
Smart Order Blocks [Pro Version]Here’s a **clear, detailed "How It Works" explanation** for this indicator:
---
## ✅ **Smart Order Blocks \ – How It Works**
### **Purpose**
This indicator detects **Order Blocks (OBs)** based on **pivot highs and lows**, and automatically marks **Bullish** and **Bearish OB zones** on the chart with optional extensions and alerts. It is designed to help traders identify **institutional price levels** where liquidity is often engineered for future price moves.
---
### **Customization Options**
✔ **Source** → Choose between Wicks or Bodies for OB calculation.
✔ **Pivot Settings** → Adjust sensitivity for detecting pivots.
✔ **Extend OBs** → Keep zones visible until tapped, or fix a specific width.
✔ **Show Labels** → Displays OB type and strength on chart.
✔ **Colors** → Configure Bullish, Bearish, and Invalid OB colors.
---
### **Practical Usage**
* **Entry Strategy**:
* Wait for price to **revisit a Bullish OB** in an uptrend → Long entry.
* Wait for price to **revisit a Bearish OB** in a downtrend → Short entry.
* Combine with:
* **Market Structure (HH/HL or LH/LL)**.
* **Confirmation signals** (e.g., candlestick pattern, break of structure).
* **Risk Management** → Stop loss outside OB zone.
---
### ✅ **Summary in One Sentence**
The indicator automatically identifies **institutional OB zones**, shows their strength, extends them until mitigated, and alerts you when price interacts with these key liquidity levels, helping you trade like Smart Money.
---
Stock Table aiTrendviewProfessional Stock Market Monitoring Table (Pine Script v5)
This indicator is a real-time multi-asset monitoring table designed for professional traders, analysts, and portfolio managers using TradingView. Built with Pine Script v5, it enables users to track up to 10 instruments (stocks, indices, forex pairs, cryptocurrencies, or commodities) in a unified table embedded directly into the chart. It is intended to streamline portfolio monitoring, cross-market analysis, and rapid visual comparison of asset performance.
The core logic of this script involves retrieving live price data through TradingView’s request.security() function for each of the selected symbols. It calculates both absolute price change and percentage price change relative to the previous bar close. This ensures users can see real-time movements in each asset’s price. These calculations are updated at the close of every bar to optimize performance and reduce processing load using the barstate.islast condition.
The display structure is dynamically generated using table.new() and related functions. Internally, the script stores symbol and price data in arrays for efficient processing. Symbols are cleaned to remove exchange prefixes (e.g., "NASDAQ:", "BINANCE:") so only the ticker name is displayed. Based on the selected layout (1 to 5 columns), the table auto-adjusts its row structure to maintain clarity and symmetry. Each cell reflects the ticker symbol, current price, and changes, with conditional formatting applied to indicate price movement direction using green (positive), red (negative), or neutral colors.
Users can customize many visual elements including text size, color themes, transparency, table position, and whether headers are shown. The script includes built-in fallbacks for invalid symbols or empty data, ensuring robustness and uninterrupted performance during live market hours.
Use cases include:
Intraday traders monitoring multiple instruments simultaneously.
Swing traders assessing relative strength and correlation.
Portfolio managers scanning asset performance without switching charts.
Analysts preparing multi-asset presentations or watchlists.
To use the tool:
Paste the Pine Script into the Pine Editor.
Add the script to the chart.
Enter your desired symbols via the input fields.
Customize table position, layout, size, and color to suit your workspace.
This script does not provide trade signals or financial advice. It is purely a market visualization and data presentation tool. All calculations are based on live chart data and are synchronized with the chart’s timeframe.
Disclaimer from aiTrendview:
This script is a visual tool developed for market awareness and comparative observation. It does not constitute financial advice or guarantee trading results. aiTrendview and its affiliates are not responsible for any losses arising from decisions made based on this tool. All trading involves risk, and past performance is not indicative of future results. Always consult with a qualified financial advisor before making trading decisions.
ICT Macro Tracker° (Open-Source) by PesSpecific time indicator for order effectiveness when US market opens
Average True Range with MAATR + Smoothing (SMA or EMA)
Default :
- 9 SMA
What is it for ?
- change of ATR to check sideway or trend
First Trading Day of Week (Holiday Safe)Highlights the first Monday of each trading week to help visualize weekly trend shifts.
Key Session LevelsKey Session Levels - Indicator Guide
Created by: MecarderoAurum
Why This Indicator Exists: An Overview
The "Key Session Levels" indicator is a comprehensive tool for day traders that automatically plots the most critical price levels from the current premarket and the previous two full trading days. These levels are watched by countless traders and often act as significant areas of support and resistance.
This indicator provides a clear, objective map of these key zones, helping traders anticipate potential turning points, identify areas of confluence, and make more informed trading decisions without having to manually draw and manage these lines every day.
Features & How to Use Them
This indicator plots several types of important historical levels on your chart. Each one is fully customizable.
1. Premarket Levels (PMH / PML)
What they are: The highest (PMH) and lowest (PML) prices reached during the current day's premarket session (04:00 - 09:30 ET).
Why they matter: The premarket high and low are the first significant levels established for the trading day. They often act as initial support or resistance once the market opens.
How to use them: In the settings under "Premarket Levels," you can toggle the visibility of the PMH and PML, and customize their color, line style, and width.
2. Prior Day Levels (PDH / PDL / PDM / PDP)
What they are: The key price points from the previous full trading day.
PDH: Prior Day High
PDL: Prior Day Low
PDM: Prior Day Midpoint (the exact middle of the PDH and PDL)
PDP: Prior Day Pivot (a classic pivot point calculation)
Why they matter: These are often the most important levels for the current trading day. The market frequently tests the previous day's high and low.
How to use them: Under the "Prior Day" settings, you can enable or disable each of these four levels and customize their appearance.
3. 2-Day Prior Levels (PDH2 / PDL2 / etc.)
What they are: The same set of key levels (High, Low, Mid, Pivot) from two trading days ago.
Why they matter: These levels can still be highly relevant, especially if the market is trading within a multi-day range or returning to test a significant prior level.
How to use them: Under the "2-Day Prior" settings, you can customize the visibility and style of these levels. They are styled with more transparency by default to distinguish them from the more recent prior day's levels.
4. General Settings
Days of History: This setting allows you to control how many past days of historical lines are kept on your chart. This is excellent for back-testing strategies and seeing how price has reacted to these levels in the past.
Label Settings: You can customize the color and size of the on-chart labels (e.g., "PDH," "PML") for better visibility.
Sample Strategy: The Key Level Rejection
This strategy focuses on using the indicator's levels to identify potential reversals at key areas of support or resistance.
Identify a Key Level: Watch as the price approaches a significant level plotted by the indicator, such as the Prior Day High (PDH) or the Premarket Low (PML).
Look for Rejection: Do not trade simply because the price touches the level. Wait for a price action signal that confirms the level is holding. This could be a bearish engulfing candle or a shooting star pattern at a resistance level like PDH, or a bullish hammer or morning star pattern at a support level like PML.
Entry: Once you see a clear rejection candle, enter a trade in the direction of the rejection. For a bearish rejection at the PDH, you would enter a short position.
Stop-Loss: A logical place for a stop-loss is just above the high of the rejection candle (for a short trade) or just below the low of the rejection candle (for a long trade). This defines your risk clearly.
Profit Target: Your first profit target could be the next key level plotted by the indicator. For example, if you shorted a rejection at the PDH, your first target might be the Premarket High (PMH) or the day's opening price.
Harmonic BloomHarmonic Bloom - Advanced Geometric Analysis
Building upon my previous Fibonacci inspired indicator "TrendZone", Harmonic Bloom is a sophisticated geometric trading indicator inspired by W.D. Gann's legendary market geometry principles. It reveals market structure through three key pivot points and dynamic angular analysis, creating powerful harmonic intersections for precision trading.
🎯 Core Features:
📍 Three-Point Gann System:
Set 3 custom pivot points to define your analysis timeframe
Automatic trend detection (bullish/bearish) between pivots
Dynamic geometric box construction following Gann's square principles
📐 Gann-Style 45° Angle Projections:
Pivot 2 Line: Follows trend direction (up if bullish, down if bearish)
Pivot 3 Line: Creates opposition (opposite direction to Pivot 2)
Corner Line: Mirrors Pivot 2 from appropriate box corner
All angles project forward using Gann's 1x1 (45°) methodology for future price targets
⚡ POWER OF HARMONIC INTERSECTIONS:
Confluence Zones: Where multiple 45° angles intersect create the strongest support/resistance
Geometric Harmony: Intersections represent natural market turning points
Time-Price Balance: Following Gann's principle that time and price must be in harmony
Multiple Timeframe Resonance: Intersection points often align across different timeframes
High-Probability Reversals: Markets frequently respect these geometric intersection levels
📊 Customizable Retracement Levels:
8 fully configurable levels (default: 0.0, 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75)
Choose between 25% or 50% trendline alignment
Individual style controls for each level
🔢 Advanced Gann Analytics:
Fibonacci sequence detection in bar counts (Gann studied natural number sequences)
Numerology sum analysis on pivot prices (Gann's mystical number approach)
Special highlighting for significant numbers
Optional on-chart labels for key metrics
📈 Trading Applications:
✅ Support/Resistance: Use retracement levels for entry/exit points
✅ Gann Angles: 45° lines show momentum direction and strength following Gann's time-price theory
✅ Intersection Trading: Most powerful signals occur at harmonic intersections where multiple angles converge
✅ Price Targets: Forward projections provide future price objectives using Gann's geometric principles
✅ Market Geometry: Identify harmonic patterns and geometric confluences
✅ Time Analysis: Fibonacci-based bar counting for timing decisions (Gann emphasized time cycles)
🌟 Why Harmonic Intersections Are So Powerful:
Gann believed that markets move in geometric harmony, and when multiple angles intersect, they create "magnetic price levels" where:
Maximum Energy Convergence: Multiple geometric forces meet at one point
Natural Turning Points: Markets respect these intersections as natural support/resistance
Time-Price Synchronicity: Intersections often coincide with significant time cycles
Multi-Dimensional Confirmation: Price, time, and geometry align simultaneously
⚙️ Highly Customizable:
All colors, widths, and styles adjustable
Toggle any feature on/off independently
Extend projections beyond the analysis box
Choose your preferred visual presentation
Perfect for traders who use Gann theory, geometric analysis, harmonic patterns, and mathematical market structure. The true power lies in trading the intersection points where multiple harmonic angles converge - these represent the market's most significant geometric turning points.
TF Alignment - Multi TF EMA/MACD/RSIThis is my first special indicator that aligns multiple timeframes.
Tram37This indicator calculates and plots a 377-day Simple Moving Average (SMA) based on the closing price, designed for long-term trend analysis. The fixed 377-day period helps smooth out short-term fluctuations, providing a clear view of the underlying trend for long-term trading or investment strategies.
Volume Footprint Anomaly Scanner [PhenLabs]📊 PhenLabs - Volume Footprint Anomaly Scanner (VFAS)
Version: PineScript™ v6
📌 Description
The PhenLabs Volume Footprint Anomaly Scanner (VFAS) is an advanced Pine Script indicator designed to detect and highlight significant imbalances in buying and selling pressure within individual price bars. By analyzing a calculated "Delta" – the net difference between estimated buy and sell volume – and employing statistical Z-score analysis, VFAS pinpoints moments when buying or selling activity becomes unusually dominant. This script was created not in hopes of creating a "Buy and Sell" indicator but rather providing the user with a more in-depth insight into the intrabar volume delta and how it can fluctuate in unusual ways, leading to anomalies that can be capitalized on.
This indicator helps traders identify high-conviction points where strong market participants are active, signaling potential shifts in momentum or continuation of a trend. It aims to provide a clearer understanding of underlying market dynamics, allowing for more informed decision-making in various trading strategies, from identifying entry points to confirming trend strength.
🚀 Points of Innovation
● Z-Score for Delta Analysis : Utilizes statistical Z-scores to objectively identify statistically significant anomalies in buying/selling pressure, moving beyond simple, arbitrary thresholds.
● Dynamic Confidence Scoring : Assigns a multi-star confidence rating (1-4 stars) to each signal, factoring in high volume, trend alignment, and specific confirmation criteria, providing a nuanced view of signal strength.
● Integrated Trend Filtering : Offers an optional Exponential Moving Average (EMA)-based trend filter to ensure signals align with the broader market direction, reducing false positives in ranging markets.
● Strict Confirmation Logic : Implements specific confirmation criteria for higher-confidence signals, including price action and a time-based gap from previous signals, enhancing reliability.
● Intuitive Info Dashboard : Provides a real-time summary of market trend and the latest signal's direction and confidence directly on the chart, streamlining information access.
🔧 Core Components
● Core Delta Engine : Estimates the net buying/selling pressure (bar Delta) by analyzing price movement within each bar relative to volume. It also calculates average volume to identify bars with unusually high activity.
● Anomaly Detection (Z-Score) : Computes the Z-score for the current bar's Delta, indicating how many standard deviations it is from its recent average. This statistical measure is central to identifying significant anomalies.
● Trend Filter : Utilizes a dual Exponential Moving Average (EMA) cross-over system to define the prevailing market trend (uptrend, downtrend, or range), providing contextual awareness.
● Signal Processing & Confidence Algorithm : Evaluates anomaly conditions against trend filters and confirmation rules, then calculates a dynamic confidence score to produce actionable, contextualized signal information.
🔥 Key Features
● Advanced Delta Anomaly Detection : Pinpoints bars with exceptionally high buying or selling pressure, indicating potential institutional activity or strong market conviction.
● Multi-Factor Confidence Scoring : Each signal comes with a 1-4 star rating, clearly communicating its reliability based on high volume, trend alignment, and specific confirmation criteria.
● Optional Trend Alignment : Users can choose to filter signals, so only those aligned with the prevailing EMA-defined trend are displayed, enhancing signal quality.
● Interactive Signal Labels : Displays compact labels on the chart at anomaly points, offering detailed tooltips upon hover, including signal type, direction, confidence, and contextual information.
● Customizable Bar Colors : Visually highlights bars with Delta anomalies, providing an immediate visual cue for strong buying or selling activity.
● Real-time Info Dashboard : A clean, customizable dashboard shows the current market trend and details of the latest detected signal, keeping key information accessible at a glance.
● Configurable Alerts : Set up alerts for bullish or bearish Delta anomalies to receive real-time notifications when significant market pressure shifts occur.
🎨 Visualization
Signal Labels :
* Placed at the top/bottom of anomaly bars, showing a "📈" (bullish) or "📉" (bearish) icon.
* Tooltip: Hovering over a label reveals detailed information: Signal Type (e.g., "Delta Anomaly"), Direction, Confidence (e.g., "★★★☆"), and a descriptive explanation of the anomaly.
* Interpretation: Clearly marks actionable signals and provides deep insights without cluttering the chart, enabling quick assessment of signal strength and context.
● Info Dashboard :
* Located at the top-right of the chart, providing a clean summary.
* Displays: "PhenLabs - VFAS" header, "Market Trend" (Uptrend/Downtrend/Range with color-coded status), and "Direction | Conf." (showing the last signal's direction and star confidence).
* Optional "💡 Hover over signals for details" reminder.
* Interpretation: A concise, real-time summary of the market's pulse and the most recent high-conviction event, helping traders stay informed at a glance.
📖 Usage Guidelines
Setting Categories
⚙️ Core Delta & Volume Engine
● Minimum Volume Lookback (Bars)
○ Default: 9
○ Range: Integer (e.g., 5-50)
○ Description: Defines the number of preceding bars used to calculate the average volume and delta. Bars with volume below this average won't be considered for high-volume signals. A shorter lookback is more reactive to recent changes, while a longer one provides a smoother average.
📈 Anomaly Detection Settings
Delta Z-Score Anomaly Threshold
○ Default: 2.5
○ Range: Float (e.g., 1.0-5.0+)
○ Description: The number of standard deviations from the mean that a bar's delta must exceed to be considered a significant anomaly. A higher threshold means fewer, but potentially stronger, signals. A lower threshold will generate more signals, which might include less significant events. Experiment to find the optimal balance for your trading style.
🔬 Context Filters
Enable Trend Filter
○ Default: False
○ Range: Boolean (True/False)
○ Description: When enabled, signals will only be generated if they align with the current market trend as determined by the EMAs (e.g., only bullish signals in an uptrend, bearish in a downtrend). This helps to filter out counter-trend noise.
● Trend EMA Fast
○ Default: 50
○ Range: Integer (e.g., 10-100)
○ Description: The period for the faster Exponential Moving Average used in the trend filter. In combination with the slow EMA, it defines the trend direction.
● Trend EMA Slow
○ Default: 200
○ Range: Integer (e.g., 100-400)
○ Description: The period for the slower Exponential Moving Average used in the trend filter. The relationship between the fast and slow EMA determines if the market is in an uptrend (fast > slow) or downtrend (fast < slow).
🎨 Visual & UI Settings
● Show Info Dashboard
○ Default: True
○ Range: Boolean (True/False)
○ Description: Toggles the visibility of the dashboard on the chart, which provides a summary of market trend and the last detected signal.
● Show Dashboard Tooltip
○ Default: True
○ Range: Boolean (True/False)
○ Description: Toggles a reminder message in the dashboard to hover over signal labels for more detailed information.
● Show Delta Anomaly Bar Colors
○ Default: True
○ Range: Boolean (True/False)
○ Description: Enables or disables the coloring of bars based on their delta direction and whether they represent a significant anomaly.
● Show Signal Labels
○ Default: True
○ Range: Boolean (True/False)
○ Description: Controls the visibility of the “📈” or “📉” labels that appear on the chart when a delta anomaly signal is generated.
🔔 Alert Settings
Alert on Delta Anomaly
○ Default: True
○ Range: Boolean (True/False)
○ Description: When enabled, this setting allows you to set up alerts in TradingView that will trigger whenever a new bullish or bearish delta anomaly is detected.
✅ Best Use Cases
Early Trend Reversal / Continuation Detection: Identify strong surges of buying/selling pressure at key support/resistance levels that could indicate a reversal or the continuation of a strong move.
● Confirmation of Breakouts: Use high-confidence delta anomalies to confirm the validity of price breakouts, indicating strong conviction behind the move.
● Entry and Exit Points: Pinpoint precise entry opportunities when anomalies align with your trading strategy, or identify potential exhaustion signals for exiting trades.
● Scalping and Day Trading: The indicator’s sensitivity to intraday buying/selling imbalances makes it highly effective for short-term trading strategies.
● Market Sentiment Analysis: Gain a real-time understanding of underlying market sentiment by observing the prevalence and strength of bullish vs. bearish anomalies.
⚠️ Limitations
Estimated Delta: The script uses a simplified method to estimate delta based on bar close relative to its range, not actual order book or footprint data. While effective, it’s an approximation.
● Sensitivity to Z-Score Threshold: The effectiveness heavily relies on the `Delta Z-Score Anomaly Threshold`. Too low, and you’ll get many false positives; too high, and you might miss valid signals.
● Confirmation Criteria: The 4-star confidence level’s “confirmation” relies on specific subsequent bar conditions and previous confirmed signals, which might be too strict or specific for all contexts.
● Requires Context: While powerful, VFAS is best used in conjunction with other technical analysis tools and price action to form a comprehensive trading strategy. It is not a standalone “buy/sell” signal.
💡 What Makes This Unique
Statistical Rigor: The application of Z-score analysis to bar delta provides an objective, statistically-driven way to identify true anomalies, moving beyond arbitrary thresholds.
● Multi-Factor Confidence Scoring: The unique 1-4 star confidence system integrates multiple market dynamics (volume, trend alignment, specific follow-through) into a single, easy-to-interpret rating.
● User-Friendly Design: From the intuitive dashboard to the detailed signal tooltips, the indicator prioritizes clear and accessible information for traders of all experience levels.
🔬 How It Works
1. Bar Delta Calculation:
● The script first estimates the “buy volume” and “sell volume” for each bar. This is done by assuming that volume proportional to the distance from the low to the close represents buying, and volume proportional to the distance from the high to the close represents selling.
● How this contributes: This provides a proxy for the net buying or selling pressure (delta) within that specific price bar, even without access to actual footprint data.
2. Volume & Delta Z-Score Analysis:
● The average volume over a user-defined lookback period is calculated. Bars with volume less than twice this average are generally considered of lower interest.
● The Z-score for the calculated bar delta is computed. The Z-score measures how many standard deviations the current bar’s delta is from its average delta over the `Minimum Volume Lookback` period.
● How this contributes: A high positive Z-score indicates a bullish delta anomaly (significantly more buying than usual), while a high negative Z-score indicates a bearish delta anomaly (significantly more selling than usual). This identifies statistically unusual levels of pressure.
3. Trend Filtering (Optional):
● Two Exponential Moving Averages (Fast and Slow EMA) are used to determine the prevailing market trend. An uptrend is identified when the Fast EMA is above the Slow EMA, and a downtrend when the Fast EMA is below the Slow EMA.
● How this contributes: If enabled, the indicator will only display bullish delta anomalies during an uptrend and bearish delta anomalies during a downtrend, helping to confirm signals within the broader market context and avoid counter-trend signals.
4. Signal Generation & Confidence Scoring:
● When a delta Z-score exceeds the user-defined anomaly threshold, a signal is generated.
● This signal is then passed through a multi-factor confidence algorithm (`f_calculateConfidence`). It awards stars based on: high volume presence, alignment with the overall trend (if enabled), and a fourth star for very strong Z-scores (above 3.0) combined with specific follow-through candle patterns after a cooling-off period from a previous confirmed signal.
● How this contributes: Provides a qualitative rating (1-4 stars) for each anomaly, allowing traders to quickly assess the potential significance and reliability of the signal.
💡 Note:
The PhenLabs Volume Footprint Anomaly Scanner is a powerful analytical tool, but it’s crucial to understand that no indicator guarantees profit. Always backtest and forward-test the indicator settings on your chosen assets and timeframes. Consider integrating VFAS with your existing trading strategy, using its signals as confirmation for entries, exits, or trend bias. The Z-score threshold is highly customizable; lower values will yield more signals (including potential noise), while higher values will provide fewer but potentially higher-conviction signals. Adjust this parameter based on market volatility and your risk tolerance. Remember to combine statistical insights from VFAS with price action, support/resistance levels, and your overall market outlook for optimal results.
🔫 10:00 AM Candle Range – Bhavishya Sniper ScriptMarks the 10:00 AM candle high and low for intraday breakout trading. Designed for Bhavishya’s sniper entry system during Trading Reset 3.0."
Elite 30 Min Pivot - by TenAM Trader.🔍 How It Works
Trend Detection:
A trend is defined when a configurable number (default: 3) of same-colored candles (green or red) appear in a row.
The pivot is marked by the first opposite-color candle after the trend.
Signal Logic:
After the pivot forms, the script watches the next few candles (default: 2) for a breakout or close beyond the pivot high/low.
A BUY signal is triggered when price breaks/closes above a pivot high from a downtrend.
A SELL signal is triggered when price breaks/closes below a pivot low from an uptrend.
Entry & Risk Tools:
Optional features include:
Pivot Line – dashed level showing pivot entry point.
Stop Loss Line – opposite side of the pivot candle.
Labels – toggle labels for clarity on entry and risk.
Time Filter – exclude signals during specific hours (e.g. 11 AM–2 PM) to avoid lunchtime chop.
Alerts:
Enable alerts for automated notifications when buy or sell conditions are met.
⚙️ Customizable Settings
Consecutive candles required before pivot
Max bars allowed after pivot for signal
Signal trigger: Break or Close
Toggle visibility of pivot lines, stop loss, and labels
Set excluded time blocks
Enable/disable real-time alerts
✅ Use Case Example
If you set trend length to 3 and signal trigger to “Break,” the script will look for 3 consecutive red candles, then a green candle (pivot). If price breaks above the pivot high within the next 2 candles, a Buy signal will fire.
⚠️ Legal Note
This script is provided for educational and informational purposes only and does not constitute financial advice. Always do your own research before making trading decisions. Use at your own risk.