Vietnamese Stocks: Multi-Ticker Fibonacci AlertThis Pine Script™ indicator is designed specifically for traders monitoring the Vietnamese stock market (HOSE, HNX). Its primary goal is to automate the tracking of Fibonacci retracement levels across a large list of stocks, alerting you when prices breach key support zones.
Core Functionality:
The script calculates Fibonacci retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) for up to 40 tickers simultaneously. The calculation is based on the highest high and lowest low identified since a user-defined Start Time. This allows you to anchor the Fibonacci analysis to a specific market event, trend start, or time period relevant to your strategy.
What it Does For You:
Automated Watchlist Scanning: Instead of drawing Fib levels on dozens of charts, select one of the two pre-configured watchlists (up to 40 symbols each, customizable in settings) populated with popular Vietnamese stocks.
Time-Based Fibonacci: Define a Start Time in the settings. The script uses this date to find the subsequent highest high and lowest low for each symbol in your chosen watchlist, forming the basis for the Fib calculation.
Intelligent Alerts: Get notified via TradingView's alerts when the candle closing price of any stock in your active watchlist falls below the critical 38.2%, 50%, 61.8%, or 78.6% levels relative to its own high/low range since the start time. Alerts are consolidated for efficiency.
Visual Aids:
- Plots the same time-based Fibonacci levels directly on your current chart symbol for quick reference.
- Includes an optional on-chart table showing which monitored stocks are currently below key Fib levels (enable "Show Debug Info").
- Features experimental background coloring to highlight potential bullish signals on the current chart.
Configuration:
Start Time: Crucial input – sets the anchor point for Fib calculations.
WatchList Selection: Choose between WatchList #1 (Bluechip/Midcap focus) or WatchList #2 (Defensive/Other focus) using the boolean toggles.
Symbol Customization: Easily replace the default symbols with your preferred Vietnamese stocks directly in the indicator settings.
Notification Prefix: Add custom text to the beginning of your alert messages.
Alert Setup: Remember to create an alert in TradingView, selecting this indicator and the alert() condition, usually with "Once Per Bar Close" frequency.
This tool is open-source under the MPL 2.0 license. Feel free to use, modify, and learn from it.
Statistics
Pivot Points (Today Only)This indicator shows the pivots points when calculated on the 10m timeframe (used commonly by swing traders such as Oliver Kell and Brian Shannon), and plots them on the daily chart for the current day only
SectorRotationRadarThe Sector Rotation Radar is a powerful visual analysis tool designed to track the relative strength and momentum of a stock compared to a benchmark index and its associated sector ETF. It helps traders and investors identify where an asset stands within the broader market cycle and spot rotation patterns across sectors and timeframes.
🔧 Key Features:
Benchmark Comparison: Measures the relative performance (strength and momentum) of the current symbol against a chosen benchmark (default: SPX), highlighting over- or underperformance.
Automatic Sector Detection: Automatically links stocks to their relevant sector ETFs (e.g., XLK, XLF, XLU), based on an extensive internal symbol map.
Multi-Timeframe Analysis: Supports simultaneous comparison across the current, next, and even third-higher timeframes (e.g., Daily → Weekly → Monthly), providing a bigger-picture perspective of trend shifts.
Tail Visualization: Displays a "trail" of price behavior over time, visualizing how the asset has moved in terms of relative strength and momentum across a user-defined period.
Quadrant-Based Layout: The chart is divided into four dynamic main zones, each representing a phase in the strength/momentum cycle:
🔄 Improving: Gaining strength and momentum
🚀 Leading: High strength and high momentum — top performers
💤 Weakening: Losing momentum while still strong
🐢 Lagging: Low strength and low momentum — underperformers
Clean Chart Visualization:
Background grid with axis labels
Dynamic tails and data points for each symbol
Option to include the associated sector ETF for context
Descriptive labels showing exact strength/momentum values per point
⚙️ Customization Options:
Benchmark Selector: Choose any symbol to compare against (e.g., SPX, Nasdaq, custom index)
Start Date Control: Option to fix a historical start point or use the current data range
Trail Length: Set the number of previous data points to display
Additional Timeframes: Enable analysis of one or two higher timeframes beyond the current
Sector ETF Display: Toggle to show or hide the related sector ETF alongside the asset
📚 Technical Architecture:
The indicator relies on external modules for:
Statistical modeling
Relative strength and momentum calculations
Chart rendering and label drawing
These components work together to compute and display a dynamic, real-time map of asset performance over time.
🧠 Use Case:
Sector Rotation Radar is ideal for traders looking to:
Spot stocks or sectors rotating into strength or weakness
Confirm alignment across multiple timeframes
Identify sector leaders and laggards
Understand how a symbol is positioned relative to the broader market and its peers
This tool is especially valuable for swing traders, sector rotation strategies, and macro-aware investors who want a visual edge in decision-making.
Inspired by TheTacticalBrief - youtube.com/watch?v=TtUrFrWCoUI (in german)
Global M2 sandboxThis indicator aggregates global sources of liquidity to use as a proxy for the global money supply and allows an offsetting number of days to be implemented to use as a leading indicator.
// EUROZONE Data
EUM2D = request.security("ECONOMICS:EUM2*FX:EURUSD", "D", close, lookahead=barmerge.lookahead_on)
// North America Data
USM2D = request.security("ECONOMICS:USM2", "D", close, lookahead=barmerge.lookahead_on)
CAM2D = request.security("ECONOMICS:CAM2*FX_IDC:CADUSD", "D", close, lookahead=barmerge.lookahead_on)
// Non-EU Europe Data
CHM2D = request.security("ECONOMICS:CHM2*FX_IDC:CHFUSD", "D", close, lookahead=barmerge.lookahead_on)
GBM2D = request.security("ECONOMICS:GBM2*FX:GBPUSD", "D", close, lookahead=barmerge.lookahead_on)
FIPOP = request.security("ECONOMICS:FIM2/FX_IDC:USDFIM", "D", close, lookahead=barmerge.lookahead_on)
RUM2D = request.security("ECONOMICS:RUM2*FX_IDC:RUBUSD", "D", close, lookahead=barmerge.lookahead_on)
// Pacific Data
NZM2D = request.security("ECONOMICS:NZM2*FX_IDC:NZDUSD", "D", close, lookahead=barmerge.lookahead_on)
// Asia Data
CNM2D = request.security("ECONOMICS:CNM2*FX_IDC:CNYUSD", "D", close, lookahead=barmerge.lookahead_on)
TWM2D = request.security("ECONOMICS:TWM2*FX_IDC:TWDUSD", "D", close, lookahead=barmerge.lookahead_on)
HKM2D = request.security("ECONOMICS:HKM2*FX_IDC:HKDUSD", "D", close, lookahead=barmerge.lookahead_on)
INM2D = request.security("ECONOMICS:INM2*FX_IDC:INRUSD", "D", close, lookahead=barmerge.lookahead_on)
JPM2D = request.security("ECONOMICS:JPM2*FX_IDC:JPYUSD", "D", close, lookahead=barmerge.lookahead_on)
PHM2D = request.security("ECONOMICS:PHM2*FX_IDC:PHPUSD", "D", close, lookahead=barmerge.lookahead_on)
SGM2D = request.security("ECONOMICS:SGM2*FX_IDC:SGDUSD", "D", close, lookahead=barmerge.lookahead_on)
// Latin America Data
BRM2D = request.security("ECONOMICS:BRM2*FX_IDC:BRLUSD", "D", close, lookahead=barmerge.lookahead_on)
COM2D = request.security("ECONOMICS:COM2*FX_IDC:COPUSD", "D", close, lookahead=barmerge.lookahead_on)
MXM2D = request.security("ECONOMICS:MXM2*FX_IDC:MXNUSD", "D", close, lookahead=barmerge.lookahead_on)
// Middle East Data
AEM2D = request.security("ECONOMICS:AEM2*FX_IDC:AEDUSD", "D", close, lookahead=barmerge.lookahead_on)
TRM2D = request.security("ECONOMICS:TRM2*FX_IDC:TRYUSD", "D", close, lookahead=barmerge.lookahead_on)
// Africa Data
ZAM2D = request.security("ECONOMICS:ZAM2*FX_IDC:ZARUSD", "D", close, lookahead=barmerge.lookahead_on)
// Calculate Global Money Supply M2
total = (EUM2D + USM2D + CAM2D + CHM2D + GBM2D + FIPOP + RUM2D + NZM2D + CNM2D + TWM2D + HKM2D + INM2D + JPM2D + PHM2D + SGM2D + BRM2D + COM2D + MXM2D + AEM2D + TRM2D + ZAM2D) / 1000000000000
FunctionSurvivalEstimationLibrary "FunctionSurvivalEstimation"
The Survival Estimation function, also known as Kaplan-Meier estimation or product-limit method, is a statistical technique used to estimate the survival probability of an individual over time. It's commonly used in medical research and epidemiology to analyze the survival rates of patients with different treatments, diseases, or risk factors.
What does it do?
The Survival Estimation function takes into account censored observations (i.e., individuals who are still alive at a certain point) and calculates the probability that an individual will survive beyond a specific time period. It's particularly useful when dealing with right-censoring, where some subjects are lost to follow-up or have not experienced the event of interest by the end of the study.
Interpretation
The Survival Estimation function provides a plot of the estimated survival probability over time, which can be used to:
1. Compare survival rates between different groups (e.g., treatment arms)
2. Identify patterns in the data that may indicate differences in mortality or disease progression
3. Make predictions about future outcomes based on historical data
4. In a trading context it may be used to ascertain the survival ratios of trading under specific conditions.
Reference:
www.global-developments.org
"Beyond GDP" ~ www.aeaweb.org
en.wikipedia.org
www.kdnuggets.com
survival_probability(alive_at_age, initial_alive)
Kaplan-Meier Survival Estimator.
Parameters:
alive_at_age (int) : The number of subjects still alive at a age.
initial_alive (int) : The Total number of initial subjects.
Returns: The probability that a subject lives longer than a certain age.
utility(c, l)
Captures the utility value from consumption and leisure.
Parameters:
c (float) : Consumption.
l (float) : Leisure.
Returns: Utility value from consumption and leisure.
welfare_utility(age, b, u, s)
Calculate the welfare utility value based age, basic needs and social interaction.
Parameters:
age (int) : Age of the subject.
b (float) : Value representing basic needs (food, shelter..).
u (float) : Value representing overall well-being and happiness.
s (float) : Value representing social interaction and connection with others.
Returns: Welfare utility value.
expected_lifetime_welfare(beta, consumption, leisure, alive_data, expectation)
Calculates the expected lifetime welfare of an individual based on their consumption, leisure, and survival probability over time.
Parameters:
beta (float) : Discount factor.
consumption (array) : List of consumption values at each step of the subjects life.
leisure (array) : List of leisure values at each step of the subjects life.
alive_data (array) : List of subjects alive at each age, the first element is the total or initial number of subjects.
expectation (float) : Optional, `defaut=1.0`. Expectation or weight given to this calculation.
Returns: Expected lifetime welfare value.
Statistical Trailing Stop [LuxAlgo]The Statistical Trailing Stop tool offers traders a way to lock in profits in trending markets with four statistical levels based on the log-normal distribution of volatility.
The indicator also features a dashboard with statistics of all detected signals.
🔶 USAGE
The tool works out of the box, traders can adjust the data used with two parameters: data & distribution length.
By default, the tool takes volatility measures of groups of 10 candles, and statistical measures of the last 100 of these groups then traders can adjust the base level to use as trailing, the larger the level, the more resistant the tool will be to moves against the trend.
🔹 Base Levels
Traders can choose up to 4 different levels of trailing, all based on the statistical distribution of volatility.
As we can see in the chart above, each higher level is more resistant to market movements, so level 0 is the most reactive and level 3 the least.
It is up to the trader to determine the best level for each underlying, time frame and market conditions.
🔹 Dashboard
The tool provides a dashboard with the statistics of all trades, making it very easy to assess the performance of the parameters used for any given market.
As we can see on the chart, all Daily BTC signals with default parameters but different base levels, level 2 is the best performing of all four, giving a positive expectation of $2435 per trade, taking into account all long and short trades.
Of note are the long trades with a win rate of 76.47% and a risk-to-reward of 3.34, giving a positive expectation of $4839 per trade, with winners having an average duration of 210 days and losers 32 days.
This, compared to short trades with negative expectation, speaks to the uptrend bias of this particular market.
🔶 SETTINGS
Data Length: Select how many bars to use per data point
Distribution Length: Select how many data points the distribution will have
Base Level: Choose between 4 different trailing levels
🔹 Dashboard
Show Statistics: Enable/disable dashboard
Position: Select dashboard position
Size: Select dashboard size
Institutional MACD (Z-Score Edition) [VolumeVigilante]📈 Institutional MACD (Z-Score Edition) — Professional-Grade Momentum Signal
This is not your average MACD .
The Institutional MACD (Z-Score Edition) is a statistically enhanced momentum tool, purpose-built for serious traders and breakout hunters . By applying Z-Score normalization to the classic MACD structure, this indicator uncovers statistically significant momentum shifts , enabling cleaner reads on price extremes, trend continuation, and potential reversals.
💡 Why It Matters
The classic MACD is powerful — but raw momentum values can be noisy and relative , especially on volatile assets like BTC/USD . By transforming the MACD line, signal line, and histogram into Z-scores , we anchor these signals in statistical context . This makes the Institutional MACD:
✔️ Timeframe-agnostic and asset-normalized
✔️ Ideal for spotting true breakouts , not false flags
✔️ A reliable tool for detecting momentum divergence and exhaustion
🧪 Key Features
✅ Full Z-Score normalization (MACD, Signal, Histogram)
✅ Highlighted ±Z threshold bands for overbought/oversold zones
✅ Customizable histogram coloring for visual momentum shifts
✅ Built-in alerts for zero-crosses and Z-threshold breaks
✅ Clean overlay with optional display toggles
🔁 Strategy Tip: Mean Reversion Signals with Statistical Confidence
This indicator isn't just for spotting breakouts — it also shines as a mean reversion tool , thanks to its Z-Score normalization .
When the Z-Score histogram crosses beyond ±2, it marks a statistically significant deviation from the mean — often signaling that momentum is overstretched and the asset may be due for a pullback or reversal .
📌 How to use it:
Z > +2 → Price action is in overbought territory. Watch for exhaustion or short setups.
Z < -2 → Momentum is deeply oversold. Look for reversal confirmation or long opportunities.
These zones often precede snap-back moves , especially in range-bound or corrective markets .
🎯 Combine Z-Score extremes with:
Candlestick confirmation
Support/resistance zones
Volume or price divergence
Other mean reversion tools (e.g., RSI, Bollinger Bands)
Unlike the raw MACD, this version delivers statistical thresholds , not guesswork — helping traders make decisions rooted in probability, not emotion.
📢 Trade Smart. Trade Vigilantly.
Published by VolumeVigilante
Distance from EMA 800 (%)Plots a measure of how far away from 800 EMA the price is in %. It is considered a measure of above 8% to be overbought/oversold, and price must go back to the mean.
Manual Buy/Sell Price Level Alertsmiple idea once you set the price levels the secript is going to send the alerts to webhock
Directional Predictor (Responsive)Directional Predictor (Responsive)
The Directional Predictor (Responsive) is a comprehensive, multi-indicator based tool designed to provide a potential directional bias for the market. It synthesizes signals from several popular technical indicators, including Exponential Moving Averages (EMAs), Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Volume Weighted Average Price (VWAP), and Volume, to generate a directional forecast (UP, DOWN, or NEUTRAL).
The indicator employs a weighted scoring system, allowing users to adjust the influence of each component indicator based on their trading preferences and market analysis. A higher score, indicating agreement across multiple weighted signals, contributes to a higher confidence level in the predicted direction.
Key Features:
Multi-Indicator Analysis: Combines signals from EMAs (9, 21, 50), RSI (14), MACD (12, 26, 9), VWAP, and Volume for a robust directional assessment.
Customizable Weights: Users can adjust the importance (weight) of Trend (EMAs), RSI, MACD, VWAP, and Volume signals to tailor the indicator to different trading styles or market conditions.
Confidence Score: Calculates a confidence percentage based on the agreement of weighted signals, providing an additional layer of insight into the strength of the predicted direction. A base confidence level can also be set.
VWAP Integration: Includes VWAP analysis specifically for intraday timeframes, automatically disabling this component on daily or higher charts.
Optional Volatility Filter: Incorporates an Average True Range (ATR) based filter to potentially help users avoid signals during periods of low volatility, which can sometimes lead to false signals. Users can enable or disable this filter and adjust its period and threshold.
Clear Signal Output: Displays a prominent text label on the last bar indicating the predicted direction (UP, DOWN, or NEUTRAL) along with the calculated confidence percentage.
EMA Visualization: Plots the 9, 21, and 50 EMAs on the chart for visual reference to the prevailing trend.
How to Interpret:
The indicator provides a directional bias (UP or DOWN) when a sufficient number of weighted signals align, reaching a predefined threshold (currently set to 4 components agreeing in the direction of the trend). A NEUTRAL signal is displayed when there is no clear directional consensus based on the indicator's criteria. The accompanying confidence percentage reflects the overall strength of the signals supporting the predicted direction, taking into account the user-defined weights. Higher confidence suggests stronger alignment among the chosen indicators.
Note: This indicator is intended as a supplementary tool for analysis and does not provide financial advice. Always conduct your own research and consider multiple factors before making trading decisions.
Source Code: The source code for this indicator is closed and not publicly available.
[Kpt-Ahab] PnL-calculatorThe PnL-Cal shows how much you’re up or down in your own currency, based on the current exchange rate.
Let’s say your home currency is EUR.
On October 10, 2022, you bought 10 Tesla stocks at $219 apiece.
Back then, with an exchange rate of 0.9701, you spent €2,257.40.
If you sold the 10 Tesla shares on April 17, 2025 for $241.37 each, that’s around a 10% gain in USD.
But if you converted the USD back to EUR on the same day at an exchange rate of 1.1398, you’d actually end up with an overall loss of about 6.2%.
Right now, only a single entry point is supported.
If you bought shares on different days with different exchange rates, you’ll unfortunately have to enter an average for now.
For viewing on a phone, the table can be simplified.
Correlation MatrixThis indicator displays a real-time correlation matrix of any five assets selected by the user. It helps traders and investors identify relationships between different instruments—whether they move together (positive correlation), in opposite directions (negative correlation), or not at all (neutral).
tafirstlibGeneral Purpose: Starts by stating it's a collection of utility functions for technical analysis.
Core Functionality Areas: Mentions key categories like:
Extrema detection (isMin, isMax, etc.)
Condition checking over time (isMachedInRange, isContinuous, etc.)
Rate of change analysis (isSlowDown)
Moving average calculation (getMA)
Advanced Features: Highlights the more complex functions:
Visualization helpers (getColorNew)
Moving Regression (mr) for smoothing/trend
Cycle analysis (bpDom)
Overall Goal: Concludes by stating the library's aim – simplifying development and enabling complex analysis.
Library "tafirstlib"
TODO: add library description here
isSlowDown(data)
isSlowDown
Parameters:
data (float) : array of numbers
Returns: boolean
isMin(data, maeLength)
isMin
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isMax(data, maeLength)
isMax
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isMinStopped(data, maeLength)
isMinStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isMaxStopped(data, maeLength)
isMaxStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
Returns: boolean
isLongMinStopped(data, maeLength, distance)
isLongMinStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
distance (int) : number
Returns: boolean
isLongMaxStopped(data, maeLength, distance)
isLongMaxStopped
Parameters:
data (float) : array of numbers
maeLength (int) : number
distance (int) : number
Returns: boolean
isMachedInRangeSkipCurrent(data, findRange, findValue)
isMachedInRangeSkipCurrent
Parameters:
data (bool) : array of numbers
findRange (int) : number
findValue (bool) : number
Returns: boolean
isMachedInRange(data, findRange, findValue)
isMachedInRange
Parameters:
data (bool) : array of numbers
findRange (int) : number
findValue (bool) : number
Returns: boolean
isMachedColorInRange(data, findRange, findValue)
isMachedColorInRange isMachedColorInRange(series color data, int findRange, color findValue)
Parameters:
data (color) : series of color
findRange (int) : int
findValue (color) : color
Returns: boolean
countMachedInRange(data, findRange, findValue)
countMachedInRange
Parameters:
data (bool) : array of numbers
findRange (int) : number
findValue (bool) : number
Returns: number
getColor(data)
getColor
Parameters:
data (float) : array of numbers
Returns: color
getColorNew(data)
getColorNew
Parameters:
data (float) : array of numbers
Returns: color
isColorBetter(color_data)
isColorBetter
Parameters:
color_data (color) : array of colors
Returns: boolean
isColorWorst(color_data)
isColorWorst
Parameters:
color_data (color) : array of colors
Returns: boolean
isColorBetter2(color_data)
isColorBetter2
Parameters:
color_data (color) : array of colors
Returns: boolean
isColorWorst2(color_data)
isColorWorst2
Parameters:
color_data (color) : array of colors
Returns: boolean
isDecreased2Bar(data)
isDecreased2Bar
Parameters:
data (float) : array of numbers
Returns: boolean
isContinuousAdvance(targetSeries, range2Find, howManyException)
isContinuousAdvance
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
howManyException (int) : number
Returns: boolean
isContinuous(targetSeries, range2Find, truefalse)
isContinuous
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
truefalse (bool) : boolean
Returns: boolean
isContinuousNotNow(targetSeries, range2Find, truefalse)
isContinuousNotNow
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
truefalse (bool) : boolean
Returns: boolean
isContinuousTwoFactors(targetSeries, range2Find, truefalse)
isContinuousTwoFactors
Parameters:
targetSeries (bool) : array of booleans
range2Find (int) : number
truefalse (bool) : boolean
Returns: boolean
findEventInRange(startDataBarIndex, neededDataBarIndex, currentBarIndex)
findEventInRange
Parameters:
startDataBarIndex (int) : number
neededDataBarIndex (int) : number
currentBarIndex (int) : number
Returns: boolean
findMin(firstdata, secondata, thirddata, forthdata)
findMin
Parameters:
firstdata (float) : number
secondata (float) : number
thirddata (float) : number
forthdata (float) : number
Returns: number
findMax(firstdata, secondata, thirddata, forthdata)
findMax
Parameters:
firstdata (float) : number
secondata (float) : number
thirddata (float) : number
forthdata (float) : number
Returns: number
getMA(src, length, mav)
getMA
Parameters:
src (float) : number
length (simple int) : number
mav (string) : string
Returns: number
mr(mrb_src, mrb_window, mrb_degree)
Parameters:
mrb_src (float)
mrb_window (int)
mrb_degree (int)
bpDom(maeLength, bpw, mult)
Parameters:
maeLength (int)
bpw (float)
mult (float)
Levels Map Overlay🗺️ Levels Map Overlay – is a comprehensive visual tool built for traders who want more than just signals—they want narrative, context, and confluence. This script brings together institutional-level concepts—daily levels, FVGs, order blocks, Fibonacci retracements, CHoCH (Change of Character), and a real-time breach table—to help you identify high-probability trade zones, liquidity traps, and structure shifts across all timeframes.
🔍 Core Components & Features
1. 🏦 Daily Key Levels (Previous High/Low/Open)
Previous High/Low: Act as liquidity pools. Price is often magnetized toward these levels before large moves or reversals.
Previous Open: A pivotal level that often dictates session bias.
Manipulation Zones: Automatically calculated buffer zones above/below the high/low. Price may dip into these areas to trigger stop hunts before reversing.
Distribution Zones: Projected outer zones based on range expansion. Can act as extended take profit targets or reversal zones in strong trends.
🧠 How to Use: Mark these levels as critical S/R areas. If price sweeps a Previous Low into a Manipulation Zone and forms a bullish CHoCH or reacts from a Bullish OB – that’s a high-confluence long setup.
2. 📐 Fibonacci Retracement Levels
Plots classic retracements (0.382 / 0.5 / 0.618) based on the previous day’s high and low.
Can be toggled on/off depending on your strategy.
🧠 How to Use: These levels give structure to pullbacks. Look for price reacting at the 0.618 Fib inside a Fair Value Gap or an Order Block for high-confluence entries.
3. 🧱 Order Blocks (OBs)
Identifies potential institutional demand and supply zones based on key candle formations and price behavior.
Customizable sensitivity helps control signal density.
🧠 How to Use: Wait for price to enter an OB and watch lower timeframes for confirmation (engulfing candles, CHoCH). OBs that align with daily levels or Fibonacci levels carry more weight.
4. ⚖️ Fair Value Gaps (FVGs)
Highlights price inefficiencies—gaps formed during impulsive moves.
Price often returns to these zones to rebalance.
Includes mitigation logic: hides FVGs that have been fully "filled".
🧠 How to Use: Treat these as magnets for price. Watch for reversal confirmation once price enters an unmitigated FVG. FVGs that overlap with OBs or Fib levels are high-probability.
5. 🔄 CHoCH – Change of Character
Detects when market structure shifts (from bullish to bearish or vice versa).
Acts as an early warning that trend direction may be changing.
🧠 How to Use: A Bullish CHoCH forming at a Previous Daily Low inside a Bullish OB? That’s a powerful signal that buyers may be stepping in. Combine with lower timeframe confirmation for entry.
6. 📊 Breach Status Table – Intraday Bias Snapshot
Real-time dashboard showing:
Whether the Previous High/Low has been breached.
Price behavior around the Open (rejection or acceptance).
Whether Manipulation Zones have been tagged.
🧠 How to Use: Scan this table to get a pulse on the current session.
Example:
Price sweeps the Previous Low (liquidity grab)
Rejects the Manipulation Low
Reclaims the Previous Open
→ Potential bullish reversal scenario
📌 Practical Trade Examples
Example 1: High-Probability Long Setup
Price sweeps the Previous Low
Manipulation Zone tagged
Bullish OB present
CHoCH forms and price closes back above Open → Enter long on confirmation with stop below OB, target next FVG or Previous High.
Example 2: Trend Continuation Short
Price breaks Previous Low and holds below Open
Bearish FVG forms after CHoCH
Price pulls back to 0.618 Fib retracement inside Bearish FVG → Enter short on bearish engulfing candle confirmation.
🛠️ Customization Options
Timeframe Settings: Switch between Daily and Weekly levels depending on your trade horizon.
OB/FVG Sensitivity: Fine-tune signal density—great for scalpers or swing traders.
Zone Multipliers: Adjust Manipulation/Distribution zones based on the asset's volatility.
CHoCH Pivot Strength: Change the number of bars used to detect CHoCHs (for faster vs. stronger signals).
Display Limits: Avoid clutter by limiting how many OBs/FVGs show on the chart.
🧭 Final Notes – Don’t Trade Blindly
This is not a signal indicator—this is a decision-support tool. Use it to:
Spot high-probability confluence zones
Understand what the market is trying to do
Time entries based on price action confirmation
Combine it with your own strategy, risk management rules, and backtesting.
📌 Pro Tip: The most powerful setups come from confluence.
A Fib retracement inside an unmitigated FVG that overlaps an OB and confirms with a CHoCH?
→ That’s a map worth following.
Happy Trading! 🚀
30s Opening rangeThis is a indicator to show opening range for 30s.
What this indicator do:
You can choose any start time to get that opening range
You can keep this range in different time frame
Dynamic HL VWAP+ | Current & Prev🔴 Dynamic HL VWAP+ | Current & Previous 🔴
A precision volume-weighted tool for traders who want more than just standard VWAP.
🧠 What It Does
The Dynamic HL VWAP+ is a powerful custom-built indicator that anchors Volume Weighted Average Price (VWAP) lines not from the session open, but from the highest and lowest points of dynamically detected price cycles.
Unlike traditional VWAPs, this tool recalculates its anchor points from:
🔺 The most recent swing high (Highest Price in Lookback Period)
Please note currently it's limited to the default value or lower, as any higher, and it will conflict with Pine's restriction on "memory allocation" system for this kind of effort. Will update if there is any change in that.
🔻 The most recent swing low (Lowest Price in Lookback Period)
Then it does the same for the previous cycle (before the current lookback window), allowing you to see how price is behaving relative to past and present price extremes.
⚙️ Key Features
✅ Dynamic Anchoring
Anchors VWAPs from the most recent High and Low over a user-defined lookback period (len).
✅ Multi-Cycle Context
Plots both Current and Previous high/low-anchored VWAPs for contextual analysis.
✅ VWAP from Highs and Lows Separately
You’ll see how price reacts around bullish (High VWAP) and bearish (Low VWAP) pressures—great for scalping, pullbacks, and reversion plays.
✅ Line Visibility Control
You decide which lines to show:
Current High VWAP
Current Low VWAP
Previous High VWAP
Previous Low VWAP
✅ Lightweight and Label-Free
Optimized for performance. No labels, no alerts, just clean and effective plotting.
📈 How to Use
1. Trend Confirmation
When price holds above the Low VWAP or breaks the High VWAP, it signals trend strength.
If price rejects at High VWAP or fails to hold Low VWAP, it's a potential reversal/retest zone.
2. Reversion-to-Mean Plays
Look for price moving far from the VWAP lines and then curling back.
Works great on volatile intraday moves or swing setups.
3. Compare Current vs. Previous Cycle
If current VWAPs are higher than the previous ones, it shows bullish progress.
Converging VWAPs from prior and current cycles often indicate a squeeze or decision point.
📊 Example Scenarios
Example 1 – Intraday Bounce Play:
Price drops into a prior cycle’s Low VWAP line and forms a base—an ideal area to look for long scalps.
Example 2 – Breakout Retest:
Price breaks above the Current High VWAP, then comes back to retest it. If it holds, the breakout is likely valid.
Example 3 – Reversal Setup:
Price is trending up but fails at Current High VWAP and breaks down below Current Low VWAP—watch for short signals.
🛠 Settings
Lookback Bars: Defines how far back to look for the current swing High/Low (default = 66).
VWAP Source: Use ohlc4 for a balanced average, or customize to your preference.
Visibility Toggles: Easily enable/disable each of the four VWAP lines.
🧪 Best Timeframes & Markets
Works across all timeframes
Great for futures, crypto, stocks
Especially useful on 15m–1H intraday charts and 4H–D for swings
💬 Final Thoughts
If you're tired of static VWAPs that only anchor from the open, the Dynamic HL VWAP+ gives you a more price-reactive, context-aware, and actionable VWAP structure.
Ideal for:
Day traders looking for mean-reversion plays
Swing traders targeting pullbacks
Anyone who wants smarter VWAP lines built on recent price structure
This is an educational idea and publication, past performance or what you may see on chart might not be replicable for you. Use at your own risk.
Regards
MissedPrice[KiomarsRakei]█ Overview:
The MissedPrice script identifies price zones based on significant Open Interest shifts (including gaps) aligned with price movements. When sudden market positioning changes occur, the script pinpoints target zones where price is believed to return. Each signal directs you toward these opportunity zones with supporting metrics like Notional Value, Volume Ratio, and Funding Rate timing to help qualify the signals.
█ Core Concept:
Markets frequently "miss" critical price levels during rapid movements. These missed zones occur when:
Orders are revoked during sudden price shifts
Exchanges fail to execute at intended prices
TP/SL orders miss exact execution points
Institutional orders create supply/demand imbalances
Market structure shifts bypass key levels
Liquidity voids form from positioning changes
These missed price zones create natural targets that price tends to revisit. The MissedPrice indicator identifies these zones by analyzing the relationship between Open Interest, Price, and Volume.
█ Closer look at target zones:
Target zones are calculated using the open price where significant OI shifts occur, with zone width adjusted based on the High-Low ratio and ATR to adapt to current volatility. If a zone is touched once after a signal is generated, it is no longer valid. This can be understood as the missing positions and volume having now entered the market.
Each zone's Notional Value (NV) - calculated as OI change multiplied by price - measures the financial impact of the positioning shift. Higher NV indicates more significant market activity and greater liquidity, making price more likely to return to that area. Users can adjust NV ratio thresholds in the inputs to filter signal quality.
█ Features:
Statistical Dashboard: Real-time statistics table showing performance metrics for signals
Funding Rate Visualization: Vertical lines indicate funding rate times to help correlate signals with these significant market events
Alert Capability: Set up alerts for new signals to never miss a trading opportunity
Dynamic Entry Lines: Draws adjustable entry and target level lines to facilitate precise trade execution and measurement, customizable via inputs
█ Closer Look at Statistics Table:
Signal Count: Total numbers of signals generated and total candles included (limited by TradingView's OI historical data)
Win Rate: can be interpreted as the hit rate of target zones. Whenever price reaches the zone, it is calculated as a win, regardless of how far price may have moved in the opposite direction beforehand. This metric measures the script's accuracy in identifying price zones that eventually get revisited.
Total Profit: Calculates possible profit from first entry to target of hit signals - an estimate since humans can't take all signals and might have better entries or average down. By default is turned off can be turned on in the input menu.
Bad Signals: Signals taking too long to complete or moving much further from target
Bad but Hit: Bad signals that eventually hit the target despite early challenges
As you can see in the chart, there are zones that price does not return to touch. There is no guarantee that every identified zone will be reached, which is why the script provides additional qualification metrics to help assess signal probability.
Due to limitations of Open Interest data, you can only use this script on crypto pairs that have Open Interest data available on TradingView. While the script works on any timeframe, it performs best on timeframes less than daily.
█ Best Practices:
Use it in bar replay mode to master the strategy
Try different risk management systems based on how far price goes from the target and your creativity
Use the volume ratio and funding time data to further qualify signals
Notional Value plays a key role
DTT Yearly Volatility Grid [Pro+] (NINE/ANARR)Introduction :
This tool is designed to automate the Digital Time Theory (DTT) framework created by Ivan and Anarr and applies the DTT Yearly Volatility Grid to uncover swing trading opportunities by analyzing Time-based statistical market behavior across the 4H to Daily chart.
Description:
Built upon the proprietary Digital Time Theory (DTT) , this advanced version is tailored for traders seeking multi-day to multi-week moves . It equips swing traders with an edge by analyzing macro Time intervals and volatility behavior across higher Timeframes. Applicable to all major asset classes, including stocks, crypto, forex, and futures , this script breaks down the entire yearly range into Higher-Time Frame Time Models and statistical zones .
This version uses daily intervals to track broader volatility waves, highlight the DTT framework, and pinpoint premium/discount areas across swing cycles. Powered by Time-driven data insights, this tool assists traders in anticipating expansions, understanding long-range Time distortions, and positioning around statistically significant zones in the higher-Time frame narrative.
Key Features:
Time-Based Models and Macro Volatility Awareness:
Automatically populates the chart with DTT Yearly Time Models (4H, Daily), engineered to spotlight macro volatility events across broader market sessions. Helps swing traders identify potential inflection points, reversals, or trend continuation zones.
Average Model Range Probability (AMRP):
Measure the average volatility expected over higher Time-based models. Use AMRP Levels and Projections to assess the range potential of each Yearly Model Time window—vital for monitoring reversals, breakouts, or continuation plays across several sessions or weeks.
Digital Root Candles and HTF Liquidity Draws:
For DTT Yearly Models, the Digital Root Candles are calculated as a specific Daily candle, and can be viewed on the Daily or 4H Timeframe. Analysts can frame premium and discount zones, based on where price is trading in relation to the current or previous model's Digital Roots. These areas also act as anchors for institutional price movement, often serving as bases for accumulation/distribution periods or large impulse moves.
Extended Visualization:
Track and project prior model ranges (high, low, equilibrium) into the current swing window. This helps visualize macro support/resistance , range expansion, failure zones, and price gravitation levels for longer-term trade planning.
Lookback Periods and Model Count
Utilize adjustable lookback periods to control the number of past DTT Yearly Models displayed—ideal for swing traders and quarterly outlooks. Whether you’re reviewing one yearly model to focus on the present range or several months’ worth of data for backtesting and confluence, this feature keeps charts clean, structured, and aligned with your preferred historical perspective.
By tailoring how many previous Time-based models appear on the chart, traders can better visualize and backtest repeated behaviors, major volatility clusters, and how key levels evolve over Time.
Detailed Data Table:
View statistical AMRP data for multiple DTT Yearly Models in real-Time. The data table helps confirm whether current price movement exceeds, respects, or fails to reach historical volatility ranges—key for analyzing market compression or expansion phases.
Customization Options:
Toggle inner Time interval, calculate AMRP utilizing a custom model lookback, and display styles (solid/dotted lines), including color coordination per drawing. Easily customize your charts and settings to fit your swing trading system or macro analysis.
How Swing Traders Can Use DTT Yearly Volatility Grid Effectively
Identify Swing Premium and Discount Zones:
Use Root Candles and Yearly Time Model AMRP Zones to evaluate where price is positioned in the current Time Model. Using this tool, traders can plan trades with a longer term horizon for a minimum of 1 to 2-weeks or manage entries/exits around market structure shifts and liquidity pools
Expect Macro Volatility Shifts:
Use the HTF models to forecast when and which volatility models are historically known to create larger market impulses . These tools help spot periods of potential exhaustion or breakout, especially near key economic releases, quarterly closes , or macro liquidity zones .
Avoid Low Volatility Consolidations:
AMRP helps you detect when the market is compressing or coiling within a DTT Yearly Model. If price is trading between Digital Root Candles or the AMRP zones, analysts are likely to notice periods of consolidation, and the inability to reach their historical volatility averages.
Usage Guidance:
Add DTT Yearly Volatility Grid (NINE/ANARR) to your TradingView chart.
Make sure to be on the 4H, or Daily Timeframes depending on your asset class and analysis.
Use the DTT Model elements and the Data Table to track expansion zones, premium/discount extremes, and model range behavior.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Regg.v.scalp.Dom-6.Rev-108Regg.v.scalp.Dom-6.Rev-108 – Invite-Only Strategy
Description:
This is a basic scalping strategy created for volatile crypto markets. It is designed to generate small, consistent profits through short-term trades.
You can try this strategy free for one week. If it works well for you and gives profit, you can contact the author to continue using it.
Price IVolution ProPrice Ivolution Pro: Master Volatility with Unmatched Clarity & Confluence
Feeling Overwhelmed by Market Noise? Struggling for Consistent Trading Results?
Whether you're just starting out or you're an experienced trader, navigating today's markets can be challenging. Conflicting signals, confusing charts, and emotional decisions often lead to frustration. You need a clear, reliable way to understand market dynamics and spot opportunities with confidence.
Introducing Price Ivolution Pro – Your Intuitive Guide to Market Clarity.
Price Ivolution Pro is a powerful, yet user-friendly trading suite designed for traders of all levels on TradingView. Whether you're day trading options, scalping futures, or swing trading stocks, this indicator provides the clarity and confluence needed to make more informed decisions. Simplify your analysis and evolve your trading approach.
Unlock Your Potential with Key Features:
Dual Trend Clouds: Instantly visualize the market's short-term momentum (Green/Red areas) and longer-term trend (Blue/Orange areas). Easily identify when the market is trending strongly or consolidating, and spot key dynamic support/resistance zones.
Key Dynamic Pivot Line (Yellow Line): Track a crucial dynamic level that often acts as support or resistance. Watch how price interacts with this line for valuable clues about potential bounces or breaks.
Integrated Volatility Squeeze Detector: Anticipate potentially significant market moves! Identify periods when market energy is building and be ready for the subsequent expansion. Capture big moves before they happen, not after it's too late!
Clear Entry Signals (Standard & Confirmed): Receive straightforward Buy/Sell signals. Get Standard signals (Aqua/Purple triangles) for potential early entries before the move happens , and Confirmed signals (Green/Red triangles) that flag higher-probability setups, often after volatility confirmation.
Automatic Potential Target Levels: Eliminate guesswork with automatically plotted price levels based on recent market volatility (ATR). Use these objective levels to help plan your trade exits.
Comprehensive Status Dashboard: Your real-time command center! Instantly check the status of Trends, RSI, Volume, Momentum, Volatility Squeeze, and more – all in one place. Quickly confirm if multiple factors align for your trade idea.
Exclusive Market Internals (Index Trading Edge): Trading SPX/ES? Gain an optional edge with integrated NYSE TICK, ADD, and Volume Ratio data to gauge underlying market breadth and strength, right on your chart.
Built-in Alert Conditions: Stay informed. Easily create alerts in TradingView for all key signals – Entries, Exits, and potential Target levels – so you don't miss opportunities.
Who is Price Ivolution Pro For?
Beginner to Advanced Traders: Designed for clarity and ease of use, regardless of your experience level.
Day Traders, Scalpers, & Swing Traders: Adaptable to various trading styles and timeframes.
Options, Futures, Stock, & Forex Traders: Works across multiple asset classes available on TradingView.
Traders Seeking Clarity & Confidence: If you want to reduce noise, filter signals, and trade based on clear, confluent information, this is for you.
Learn and Grow with Your Subscription:
Comprehensive User Guide: Easy-to-understand explanations of every feature and core strategies.
Exclusive Mini-Course: Bite-sized video lessons to help you master the indicator quickly.
Private Whop Community Access: Join fellow traders, ask questions, and learn together in a supportive environment (links provided post-subscription).
Ready to See the Market Differently?
Stop trading in confusion. Start trading with the clarity and confidence provided by Price Ivolution Pro.
Subscribe via Whop Today and Request Invite-Only Access!
whop.com
(Note: You will need to provide your TradingView username during checkout on Whop for access granting)
Disclaimer: Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Price Ivolution Pro is a tool for analysis and does not constitute financial advice or guarantee profits. Always use proper risk management and trade responsibly.
Global Liquidity IndexThe Global Liquidity Index measures the net liquidity in the global financial system by combining central bank balance sheets and M2 money supply, subtracting liquidity drains like TGA and RRP, and smoothing the result with moving averages or rate of change.
Lot Size Calculator - USD Quote Assets📌 Lot Size Calculator – USD Quote Assets
Description:
🔹 This Pine Script indicator calculates the optimal lot size based on your defined risk amount (in USD), entry price, and stop-loss price — specifically for assets that have USD as the quote currency.
✅ Works perfectly for:
Major and minor Forex pairs with USD as the quote (e.g., EURUSD, GBPUSD, USDJPY)
Gold (XAUUSD)
Silver (XAGUSD)
Oil (USOIL, WTICOUSD)
Indices (automatically detects if it's a CFD or E-mini Futures)
Cryptocurrencies quoted in USD (e.g., BTCUSD, ETHUSD)
🧠 The script auto-detects asset type and adjusts pip size, pip value, and lot multiplier accordingly. For indices, it even differentiates between CFDs and E-mini Futures for precise pip valuation.
📌 Displays a moving label on your chart for easy reference without interfering with price action.
Lot Size Calculator - Non-USD Quote Assets📌 Lot Size Calculator – Non-USD Quote Assets
Description:
🔹 This version of the Lot Size Calculator is designed for instruments that do not have USD as the quote currency, like EURCAD, XAUEUR, GBPAUD, or any Forex/metal pair where the quote is not USD.
✅ Perfect for:
Forex pairs like EURCAD, AUDJPY, NZDCAD, etc.
Metals like XAUJPY, XAUEUR
💱 It automatically fetches the real-time exchange rate to convert the quote currency to USD, so your risk is still calculated in USD while accurately handling foreign quotes.
🧠 Smart pip size detection, lot multiplier handling, and conversion rate adjustment ensure you get accurate lot size recommendations every time.
📌 The output remains pinned to the chart, providing a consistent visual reference for your lot sizing, regardless of bar movement.
Indian Market Price LevelsScript to mark levels in Indian market to look for levels in market that including supports and resistance in the market