Market Internals [Makit0] MARKET INTERNALS INDICATOR v0.5beta
Market Internals are suitable for day trade equity indices, named SPY or /ES, please do your own research about what they are and how to use them
This scripts plots the NYSE market internals charts as an indicator for an easy and full visualization of market internal structure all in one chart, useful for SPY and /ES trading
Description of the Market Internals
- TICK: NYSE stocks ticking up vs stocks ticking down, extreme values may point to trend continuation on trending days or reversal in non trending days, example of extreme values can be 800 and 1000
- ADD: NYSE stocks going up vs stocks going down, if price auctions around the zero line may be a non trend day, otherwise may be a trend day
- VOLD: NYSE volume of stocks up vs volume of stocks going down, identify clearly where the volume is going, as example if volume is flowing down may be a good idea no to place longs
- TRIN: NYSE up stocks vs down stocks ratio divided by up volume vs down volume ratio. A value of 1 indicates parity, below that the strength is on the long side, above the strength is in the short side.
A basic use of market internals may be looking for divergences, for example:
- /ES is trading in a range but ADD and VOLD are trending up nonstop, may /ES will break the range to the upside
- /ES is trading in a range and ADD and VOLD are trading around the zero line but got an extreme reading on TICK, may be a non trending day and the TICK extreme reading is at one of the extremes of the /ES range, may be a good probability trade to fade that move
- /ES is trading in a trend to the downside, ADD and VOLD too, you catch a good portion of the move but are fearful to flat and miss more gains, you see in the TICK a lot of extreme values below -800 so your're confident in the continuation of the downtrend, until the TICK goes beyond -1000 and you use that signal to go flat
Market internals give you context and confirmation, price in /ES may be trending but if market internals do not confirm the move may a reversal is on its way
Price is an advertise, you can see the real move in the structure below, in the behavior of the individual components of the market, those are the real questions:
- How many stocks are going up/down (ADD)
- How many volume is flowing up/down (VOLD)
- How many stocks are ticking up/down (TICK)
- What is the overall volume breath of the market (TRIN)
FEATURES:
- Plot one of the four basic market internal indices: TICK, ADD, VOLD and TRIN
- Show labels with values beyond an user defined threshold
- Show ZERO line
- Show user defined Dotted and Dashed lines
- Show user defined moving average
SETTINGS:
- Market internal: ticker to plot in the indicator, four options to choose from (TICK, ADD, VOLD and TRIN)
- Labels threshold: all values beyond this will be ploted as labels
- Dot lines at: two dotted lines will be plotted at this value above and below the zero line
- Dash lines at: two dashed lines will be plotted at this value above and below the zero line
- MA type: two options avaiable SMA (Simple Moving Average) or EMA (Exponential Moving Average)
- MA length: number of bars to calculate the moving average
- Show zero line: show or hide zero line
- Show dot line: show or hide dotted lines
- Show dash line: show or hide dashed lines
- Show labels: show or hide labels
GOOD LUCK AND HAPPY TRADING
"spy" için komut dosyalarını ara
Hide extended hours/non-intraday barsEspecially for future users, such as ES/NQ/RTY/YM, etc., this script can hide the extended hours/non-intraday bars and leave the intraday bars only.
With this script , you can find the intraday support/resistance quite easily!
Example, if you are a ES investor, you can easily find the intraday support/resistance level ,which is almost equal to SPY, with this script, and no need to check SPY separately again , saving your time a lot.
Note: Please couple this script with American Bars. If you use candle charts, the upper/lower pins of the candle can't be hidden with the bars together, which is restricted by the code editor itself...
Swim Trading - Beta Trend FilterSwim Trading's Optimized Beta Trend Filter
Validated Outcome For SPY
Expected CAR (1995 to 2019): 15.11% p.a.
MDD: 19.03%
Buy & Hold SPY: 7.8% p.a. CAR
GA - Comparative Relative StrengthGA - Comparative Relative Strength is an Oscillator. It shows the Relative Strength of a Financial Instrument .
It defines the Relative Strength in relation to Markets, Sectors, Sub-sectors ETFs . Besides, it includes also Currency Indices and the manual selection of Financial Instruments.
Groups of ETFs and Manual Selection
You enable the Group of Financial Instruments that collects the ETF in your interest. Besides, you can enable more that one group. This lets you show Relative Strength Curves related to ETFs of the groups selected.
For example, it can show the Relative Strength related to Market and Sector ETFs. Besides, you can show the Relative Strength related to Sector and Industry ETFs.
The Groups of ETFs are SPDR Categories:
SPDR Core ETFs.
SPDR Select Sector ETFs.
SPDR Industry ETFs.
An extra group includes Currency Indices.
Oscillator around Zero
The Relative Strength of 2 Financial Instruments waves around a borderline. This line is a mean. The GA - Comparative Relative Strength normalizes the curve to the borderline. This makes an Oscillator around Zero.
Upper and Lower Bands
Upper and Lower Bands can follow the full curve. But you can Enable or Disable the visualization of Partial Bands. They follow the curve only for positive waves or for negative waves.
Bands are dynamic levels. Their role is to define where the Relative Strength becomes relevant or normal. When the Relative Strength persists above the Upper Band, Financial Instrument is strong. When the Relative Strength persists below the Lower Band, Financial Instrument is weak.
The Upper and Lower Bands are relevant tools in the decision process to enter the market long or short.
You need to buy Financial Instrument that is outperforming the related market. In the same way, short/sell financial instruments that are under-performing the marketplace.
A Relative Strength that decreases below the Upper Band shows a weakening. A Relative Strength that increases above the Lower Band shows a reinforcement. These indications can precede an eventual change of sentiment of large investors.
Currency Indices
The difficult part is when you want to define the Relative Strength of a Currency Pair. In this case, you can compare a pair with a group of other related pairs. In the same way, you can try to use a Currency Index or a specific calculation.
The use of a Currency Index shows limitations to define the Relative Strength in a proper way.
But an expert trader can define it in different ways so as with different tools. Besides, an expert trader knows the pairs included in the currency index. Moreover, he knows the formula and the weights of the currency pairs included in the index.
The GA - Comparative Relative Strength gives you a collection of Currency Indices. You can enable it and use the Currency Index you need.
Note: I restrict access to the tool.
Regards
Girolamo Aloe
Founder of Profiting Me
------------
Examples
Comparative Relative Strength of APD on SPY (Market Composite Average)
Comparative Relative Strength of APD on XLB Materials Sector
Comparative Relative Strength of ADP on SPY and ADP on XLB
Two level MACD into one indicatorMerged two level MACD into one indicator, then Long Entry (buy) and Short Entry (sell) is more clearly now.
Try and test it, please send me some feedback or suggestions, then the indicator can help you make money more easy!
good luck!
AMEX:SPY
SS EMA / SMA RibbonColor Change if above or below EMAs / Ribbon
StokedStocks EMA / SMA Ribbon 9 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 200
EMAs Color Change if above or below EMAs / Ribbon
Lime : Uptrending; Long Bias
Green : Dip Buy / ReEntry or downtrend reversal warning
Red : Downtrend. Short Bias
Maroon : Short Reentry (sell the peak) or uptrend reversal warning
1st strategy Long when Price crosses above all EMAs
2nd strategy if late is buy first or second pullback to 9 or 20 EMA which are the 1st and 2nd ribbon lines (in an uptrend)
3rd strategy is Short once price crosses UNDER all EMAs
Use Trailing stop % once long or short
Better when shorter time frames line up with Longer time Frames for less risk EXAMPLE Above all EMAs on 5min chart and on Daily Chart
Willams %RwEMAspy
Was looking for something else when surfed into an old question
wanting %R 21 period with EMA 13 period of the %R signal
and being a rookie at this, made this code to post for them.
Tried to comment the script in such a way that other rookies
like me could make better sense of what is being done. Hope
this helps someone. I find it useful as one of my indicators for
trading.
Pinescript for tradingview.com user Tom1trader
All time frames.
Interpretation:
%R (Red) crosses above it's average (Blue) - bull
%R crosses below it's average - bear. Background
color changes green-up red-down with above crossings.
Most but not all of serious price movement takes place
from the time the %R (red) goes into oversold (or bought) and
exits again.
%R centerline crosses can also be useful.
I use various indicators and want all of the confirmation
that I can get for expectations BUT I never know what the
next bar will do and define my risks accordingly.
Sectors Relative Strength Normal DistributionI wrote this indicator as an attempt to see the Relative Strengths of different sectors in the same scale, but there is also other ways to do that.
This indicator plots the normal distribution for the 10 sectors of the SPY for the last X bars of the selected resolution, based on the selected comparative security. It shows which sectors are outperforming and underperforming the SPY (or any other security) relatively to each other by the given deviation.
MarketRSThe strength of a stock relative to the market (SPY) is an import indicator accumulation of a stock by institutionan funds, especially during a market decline. This indicator plot the ratio of a security/SPY and plots a fast (5 period) and slow (21 period) EMA.
Pair Creation🙏🏻 The one and only pair construction tech you need, unlike others:
Applies one consistent operation to all the data features (not only prices). Then, the script outputs these, so you can apply other calculations on these outputs.
calculates a very fast and native volatility based hedge ratio, that also takes into account point value (think SPY vs ES) so you can easily use it in position sizing
Has built-in forward pricing aka cost of carry model , so you can de-drift pairs from cost of carry, discover spot price of oil based on futures, and ofc find arbitrage opportunities
Also allows to make a pair as a product of 2 series, useful for triangular arbitrage
This script can make a pair in 2 ways:
Ratio, by dividing leg 1 by leg 2
Product, by multiplying leg 1 by leg 2
The real mathematically right way to construct a pair is a ratio/product (Spreads are in fact = 2 legged portfolio, but I ain't told ya that ok). Why? Because a pair of 2 entities has a mathematically unique beauty, it allows direct comparisons and relationship analysis, smth you can't do directly with 3 and more components.
Multiplication (think inversions like (EURUSD -> USDEUR), and use cases for triangular arbitrage) is useful sometimes too.
...
Quickguide:
First, "Legs" are pair components: make a pair of related assets. Don’t be guided exclusively by clustering, cointegrations, mutual information etc. Common sense and exogenous info can easily made them all Forward pricing model: is useful when u work with spot vs futures pairs. Otherwise: put financing, storage and yield all on zeros, this way u will turn it off and have a pure ratio/product of 2 legs.
Look at the 2 numbers on the script’s status line: the first one would always be 1), and the second one is a variable.
First number (always 1) is multiplier for your position size on leg 1
The second number is the multiplier for your position size on leg 2 in the opposite direction.
If both legs are related, trading your sizes with these multipliers makes you do statistical arbitrage -> trading ~ volatility in risk free mode, while the relationship between the assets is still in place.
Also guys srsly, nobody ‘ever’ made a universal law that somewhy somehow for whatever secret conspiracy reason one shall only trade pairs in mean reverting style xd. You can do whatever you want:
Tilt hedge ratio significantly based on relative strength of legs
Trade the pair in momentum style
Ignore hedge ratio all together
And more and more, the limit is your imagination, e.g.:
Anticipate hedge ratio changes based on exogenous info and act accordingly
Scalp a pair just like any other asset
Make a pair out of 2 pairs
Like I mean it, whatever you desire
About forward pricing model:
It’s applied only to leg 2;
Direct: takes spot price and finds out implied futures price
Inverse: takes futures price and finds out implied spot price (try on oil)
Pls read online how to choose parameters, it’s open access reliable info
About the hedge ratio I use:
You prolly noticed the way I prefer to use inferred volumes vs the “real” ones. In pairs it’s especially meaningful, because real volumes lose sense in pair creation. And while volumes are closely tied to volatility, the inferred volumes ‘Are’ volatility irl (and later can be converted to currency space by using point value, allowing direct comparisons symbol vs symbol).
This hedge ratio is a good example of how discovering the real nature of entities beats making 100s of inventions, why domain knowledge and proper feature engineering beats difficult bulky models, neural networks etc. How simple data understanding & operations on it is all you need.
This script simply does this:
Takes inferred volume delta of both assets, makes a ratio, normalizes it by tick sizes and points values of both legs, calculates a typical value of this series.
That’s it, no step 2, we’re done. No Kalman filters, no TLS regression, no vine copulas, or whatever new fancy keywords you can come up with etc.
...
^^ comparing real ES prices vs theoretical ones by forward-pricing model. Financing: 0.04, yield 0.0175
^^ EURUSD, 6E futures with theoretical futures price calculated with interest rate differential 0.02 (4% USD - 2% EUR interest rates)
^^4 different pairs (RTY/ES, YM/ES, NQ/ES, ES/ZN) each with different plot style (pick one you like in script's Style settings)
^^ YM/RTY pair, each plot represents ratio of different features: ratio of prices, ratio of inferred volume deltas, ratio of inferred volumes, ratio of inferred tick counts (also can be turned on/off in Style settings)
...
How can u upgrade it and make a step forward yourself:
On tradingview missing values are automatically fixed by backfilling, and this never becomes a thing until you hit high frequency data. You can do better and use Kalman filter for filling missing values.
Script contains the functions I use everywhere to calculate inferred volume delta, inferred volume, and inferred tick count.
...
∞
Quality Detector (Buffett Style) + Beta [Solid]This indicator acts as an on-chart fundamental screener, designed to instantly evaluate the quality and financial health of a company directly on your price chart.
The concept is inspired by "Buffettology" principles: looking for large, profitable companies with low debt. Additionally, it includes a Beta calculation to assess market volatility risk.
The tool displays a panel in the bottom-right corner featuring four key metrics and a final verdict.
How it Works & Metrics Used
The script retrieves quarterly fundamental data ("FQ") and performs calculations to verify if the asset meets specific criteria.
1. Market Cap (Size)
What it is: The total market value of the company's outstanding shares.
Goal: To identify established, large-cap companies.
Default Threshold: Must be greater than $10 Billion.
2. ROE - Return on Equity (Quality)
What it is: A measure of financial performance calculated by dividing net income by shareholders' equity.
Goal: To find companies that are efficient at generating profits from shareholders' capital.
Default Threshold: Must be higher than 15%.
3. Total Debt to Equity (Health)
What it is: A ratio indicating the relative proportion of shareholders' equity and debt used to finance a company's assets.
Calculation: This script manually calculates this ratio by fetching TOTAL_DEBT and dividing it by TOTAL_EQUITY from fundamental data to ensure robustness across different symbols.
Goal: To ensure the company is not overly leveraged.
Default Threshold: Must be lower than 1.5.
4. Beta (Risk/Volatility)
What it is: A measure of a stock's volatility in relation to the overall market (S&P 500).
Calculation: It is calculated by comparing the asset's returns against SPY (S&P 500 ETF) returns over a 252-day period (approx. 1 trading year).
Goal: To understand if the stock is more volatile (Beta > 1) or less volatile (Beta < 1) than the market.
Note: Beta does not affect the final "Quality" score but serves as an extra risk indicator, highlighting in orange if Beta > 1.
The Verdict (Scoring System)
The indicator assigns a score from 0 to 3 based on the first three fundamental metrics (Size, ROE, and Debt/Equity).
If a metric passes the threshold, it gets a green background and +1 point.
If it fails, it gets a red background.
Final Verdict:
💎 QUALITY GEM: The company passed all 3 fundamental checks (Score = 3/3).
⚠️ DISCARD: The company failed one or more fundamental checks.
Settings
You can customize the thresholds to fit your own investment strategy in the indicator settings:
Minimum Market Cap (in Billions).
Minimum ROE (%).
Maximum Debt/Equity Ratio.
Disclaimer: This tool is for informational and educational purposes only. It relies on third-party fundamental data which may sometimes be delayed or unavailable. Do not base investment decisions solely on this indicator.
NHNL Breadth Scanner [BIG]═══════════════════════════════════════════════════════════════════════════════
NVENTURES NHNL BREADTH SYSTEM v2.0
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The NVentures NHNL Breadth System is an institutional-grade market breadth analysis framework designed for equity traders, portfolio managers, and market technicians who require comprehensive internal market structure visibility beyond price action alone. This system integrates New Highs - New Lows (NHNL) data across multiple exchanges with participation breadth metrics to identify market regime shifts, thrust conditions, divergences, and rotation dynamics between large-cap and small-cap equities.
Version 2.0 introduces the Participation Breadth Module , which monitors the percentage of stocks above their 50-day moving averages across S&P 500, Russell 2000, and NASDAQ 100 indices. This extension enables detection of Risk-On/Risk-Off rotations and narrow rally conditions—critical information for portfolio construction, sector allocation, and tactical hedging decisions.
The framework combines:
- Multi-exchange NHNL aggregation – NYSE, NASDAQ, AMEX breadth data integration
- McClellan Oscillator – Exponential moving average difference for trend momentum
- Thrust detection – Extreme breadth expansion/contraction identification
- Divergence analysis – Price vs. breadth non-confirmation patterns
- Participation breadth – Large-cap vs. small-cap rotation detection
- Composite signal scoring – Multi-factor quantitative breadth assessment
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• NHNL Data Aggregation
The system retrieves daily New Highs and New Lows from three major U.S. exchanges:
- NYSE – INDEX:HIGN (New Highs), INDEX:LOWN (New Lows)
- NASDAQ – INDEX:HIGQ (New Highs), INDEX:LOWQ (New Lows)
- AMEX – INDEX:HIGA (New Highs), INDEX:LOWA (New Lows)
Users can toggle exchanges on/off to isolate specific market segments. All three exchanges are enabled by default for comprehensive market-wide breadth measurement.
Core Calculations :
- NHNL Raw = Total New Highs - Total New Lows
- NHNL % = (NHNL Raw / Total Issues) × 100
- NH/NL Ratio = New Highs / New Lows
These metrics quantify the internal strength or weakness of market advances/declines independent of price index levels.
• McClellan Oscillator
The McClellan Oscillator applies exponential moving average (EMA) logic to NHNL data:
Formula: McClellan Osc = EMA(NHNL, Fast) - EMA(NHNL, Slow)
Default parameters: Fast = 19, Slow = 39
Interpretation :
- Positive values = Breadth momentum favors bulls (more issues making new highs)
- Negative values = Breadth momentum favors bears (more issues making new lows)
- Zero-line crosses = Regime change signals (bullish above, bearish below)
- Extreme readings (>±100) = Overbought/oversold breadth conditions
The McClellan Oscillator is a standard institutional breadth tool used by market technicians since the 1960s. It smooths daily NHNL volatility while maintaining responsiveness to trend changes.
• Thrust Detection
Thrust conditions identify extreme breadth expansion or contraction that historically precedes sustained directional moves:
Bullish Thrust :
- NHNL % > Threshold (default +40%)
- Sustained for Confirmation Bars (default 2 bars)
- Context : Extreme positive breadth expansion. Historically associated with major rally initiations or continuation thrusts.
Bearish Thrust :
- NHNL % < -Threshold (default -40%)
- Sustained for Confirmation Bars (default 2 bars)
- Context : Extreme negative breadth contraction. Historically associated with panic selling, capitulation events, or major downtrend acceleration.
Thrust conditions are the highest-priority signals in the framework and override other conflicting indicators.
• Divergence Detection
The system identifies non-confirmation patterns between price action and breadth:
Bullish Divergence :
- Price makes lower low
- NHNL % makes higher low
- Context : Selling pressure exhausting despite lower prices. Potential reversal signal as fewer stocks participate in decline.
Bearish Divergence :
- Price makes higher high
- NHNL % makes lower high
- Context : Rally losing internal momentum despite higher prices. Potential reversal signal as fewer stocks participate in advance.
Divergences use pivot detection with configurable lookback periods (default 50 bars) and pivot strength (default 5 bars). Visual divergence lines are drawn directly on the price chart when detected.
• Participation Breadth Module (NEW in v2.0)
This module monitors the percentage of stocks trading above their 50-day moving average across three major indices:
- S&P 500 – INDEX:S5FI (Large-cap participation)
- Russell 2000 – INDEX:R2FI (Small-cap participation)
- NASDAQ 100 – INDEX:NDFI (Tech-cap participation)
Rotation Spread Calculation :
Rotation Spread = Russell 2000 % Above 50D - S&P 500 % Above 50D
Interpretation :
- Positive Spread (>+10%) = Risk-On Rotation
Small caps outperforming large caps. Broad market participation. Risk appetite expanding.
- Negative Spread (<-10%) = Risk-Off Rotation
Large caps outperforming small caps. Narrow rally / defensive positioning. Flight to quality or concentration risk.
- Neutral (-10% to +10%) = Balanced market, no clear rotation
This spread identifies critical regime changes between broad market participation (healthy) and narrow leadership (fragile). Risk-On rotations typically occur during economic expansion phases; Risk-Off rotations occur during uncertainty, recession fears, or late-cycle conditions.
• Composite Signal Score
The framework generates a quantitative breadth score (-100 to +100) by weighting five components:
1. Thrust Score (±40 points) – Active thrust condition
2. Trend Score (±30 points) – McClellan Oscillator above/below zero
3. Momentum Score (±20 points) – NHNL % magnitude
4. Ratio Score (±10 points) – NH/NL Ratio extremes
5. Participation Score (±15 points) – Risk-On/Risk-Off regime + participation health
The composite score is smoothed (EMA 5) and classified into five breadth states:
- +50 to +100 = Strong Bull
- +20 to +50 = Bullish
- -20 to +20 = Neutral
- -50 to -20 = Bearish
- -100 to -50 = Strong Bear
═══════════════════════════════════════════════════════════════════════════════
SIGNAL HIERARCHY & PRIORITY
═══════════════════════════════════════════════════════════════════════════════
The indicator generates multiple signal types with distinct priority levels:
Priority 1: Thrust Signals (Highest conviction)
- Green triangle below bar = Bullish Thrust (40%+ breadth expansion)
- Red triangle above bar = Bearish Thrust (40%+ breadth contraction)
- Chart background highlighted in green/red during active thrust
Priority 2: Rotation Signals (Regime identification)
- Cyan diamond below bar = Risk-On Rotation (small caps outperforming)
- Orange diamond above bar = Risk-Off Rotation (large caps outperforming)
- Chart background highlighted in cyan/orange during active rotation
Priority 3: Divergence Signals (Reversal warnings)
- Green label below bar = Bullish Divergence (price/breadth non-confirmation)
- Red label above bar = Bearish Divergence (price/breadth non-confirmation)
- Dashed lines connect divergence pivot points on price chart
Priority 4: Zero-Line Cross (Trend changes)
- Small circle below bar = McClellan crossing above zero (breadth turning positive)
- Small circle above bar = McClellan crossing below zero (breadth turning negative)
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Comprehensive Information Panel
The top-right dashboard (position customizable) displays:
Section 1: Raw NHNL Data
- Total New Highs (green)
- Total New Lows (red)
- Exchange breakdown (NYSE, NASDAQ, AMEX) with individual deltas
Section 2: Core Metrics
- NHNL % with visual indicator (🔥 for thrusts, arrows for direction)
- NH/NL Ratio with strength bars
- McClellan Oscillator with directional arrows
Section 3: Participation Breadth (NEW)
- S&P 500 % above 50D MA with trend arrow
- Russell 2000 % above 50D MA with trend arrow
- NASDAQ 100 % above 50D MA with trend arrow
- Rotation Spread with regime icon (🚀 Risk-On, 🛡️ Risk-Off)
Section 4: Composite Assessment
- Signal Score (-100 to +100) with visual strength bars
- Market Status (large text): BULLISH THRUST, BEARISH THRUST, RISK-ON ROTATION, RISK-OFF ROTATION, or breadth state classification
• Chart Overlays
- Background color-coding for active regimes (thrust, rotation, extreme readings)
- Signal markers (triangles, diamonds, circles, labels) at key inflection points
- Divergence lines connecting pivot highs/lows on price chart
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Multi-exchange breadth aggregation – NYSE, NASDAQ, AMEX with individual on/off toggles
- Institutional McClellan Oscillator – Standard market breadth momentum tool
- Automated thrust detection – Identifies extreme breadth conditions with confirmation logic
- Price-breadth divergence scanning – Non-confirmation pattern detection with visual lines
- Participation breadth integration – Risk-On/Risk-Off rotation detection via large-cap vs. small-cap analysis
- Composite signal scoring – Quantitative multi-factor breadth assessment
- No repainting – All signals confirm on bar close
- Comprehensive alerting – 12+ alert conditions for thrust, divergence, rotation, and confluence events
- Fully customizable parameters – EMA periods, thresholds, lookbacks, visual settings
- Professional dashboard – Real-time metrics with color-coded status indicators
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to any chart – The indicator pulls multi-security data; chart symbol does not matter (commonly applied to SPY, SPX, or QQQ for reference)
2. Monitor the dashboard :
• Focus on Market Status (bottom row) for current regime
• Check NHNL % and McClellan for breadth direction and momentum
• Watch Rotation Spread for large-cap vs. small-cap dynamics
• Review Signal Score for composite breadth strength
3. Interpret thrust signals (highest priority):
• Bullish Thrust → Major rally initiation or continuation likely. Consider adding long exposure or reducing hedges.
• Bearish Thrust → Major decline or capitulation event likely. Consider reducing exposure or adding hedges.
• Historical context: Thrust signals are rare (2-5 per year) but highly reliable for significant market moves.
4. Interpret rotation signals (regime identification):
• Risk-On Rotation → Broad market participation. Small caps outperforming. Healthy advance. Favor cyclical sectors, higher beta names.
• Risk-Off Rotation → Narrow rally or defensive positioning. Large caps outperforming. Caution—market leadership concentrating. Favor quality, defensives.
5. Interpret divergence signals (reversal warnings):
• Bullish Divergence → Selling exhaustion. Potential bottom formation. Wait for confirmation (zero-line cross, thrust) before aggressive positioning.
• Bearish Divergence → Rally losing momentum. Potential top formation. Consider profit-taking or hedging.
6. Combine signals for maximum conviction :
• Bull Confluence : Bullish Thrust + Risk-On Rotation + Positive McClellan = Maximum bullish alignment
• Bear Confluence : Bearish Thrust + Risk-Off Rotation + Negative McClellan = Maximum bearish alignment
• Alert system specifically flags these high-conviction confluences
7. Configure parameters for your style :
• Thrust Threshold : Default 40% catches major moves. Increase to 50%+ for extreme-only signals.
• Rotation Threshold : Default 10% spread. Tighten to 7.5% for earlier rotation detection.
• Divergence Lookback : Default 50 bars. Extend to 100+ for longer-term divergences.
8. Use alerts for proactive monitoring :
• Set TradingView alerts for Thrust, Rotation, Divergence, and Confluence conditions
• Receive notifications when critical breadth regime changes occur
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- U.S. equity markets only – NHNL data limited to NYSE, NASDAQ, AMEX. Does not cover international markets or other asset classes.
- Daily timeframe only – NHNL data is reported daily. Intraday trading requires alternative breadth measures.
- Lagging in fast reversals – McClellan Oscillator and participation metrics use EMAs, introducing lag during rapid regime shifts. Thrust signals respond faster but require extreme conditions.
- Equal-weighting assumption – All stocks within NHNL counts are equally weighted. Large-cap-dominated rallies (e.g., FANG-led advances) may show strong price performance despite mediocre breadth.
- False positives in sideways markets – Divergence signals can produce false positives during extended consolidation phases. Require confirmation from thrust or rotation signals.
- Participation data quality – S5FI, R2FI, NDFI data from TradingView may have occasional gaps or delays. Indicator includes data validation logic and falls back gracefully when data unavailable.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v5
- Non-repainting (signals confirmed on bar close)
- Multi-security data feeds (6 NHNL tickers + 3 participation tickers)
- Maximum 500 lines supported (divergence line drawing)
- Real-time dashboard table with 20+ rows
- 12+ alert conditions (thrust, divergence, rotation, ratio extremes, confluence)
- Fully customizable colors, thresholds, and visual elements
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed for experienced equity traders, portfolio managers, and market technicians familiar with:
- Market breadth analysis and internal market structure
- McClellan Oscillator interpretation
- New High - New Low dynamics and their correlation with market cycles
- Large-cap vs. small-cap rotation patterns
- Risk-On/Risk-Off regime identification
The framework provides objective breadth signals but does not account for:
- Fundamental catalysts (earnings, economic data, Fed policy)
- Sector-specific dynamics (may show broad weakness while certain sectors thrive)
- International market correlations
- Volatility regime changes (VIX dynamics)
Best used in combination with:
- Price action analysis (support/resistance, chart patterns)
- Volume analysis (accumulation/distribution)
- Volatility indicators (VIX, put/call ratios)
- Sentiment indicators (survey data, positioning)
Market breadth is a leading indicator of internal market health. Divergences between price and breadth often precede major reversals by weeks or months.
═══════════════════════════════════════════════════════════════════════════════
Developed for institutional market breadth analysis based on New Highs - New Lows methodology with extended participation breadth integration.
Majors FX-REER/NEER Suite [BIG]═══════════════════════════════════════════════════════════════════════════════
BIG MAJORS FX-REER/NEER SUITE
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The BIG Majors FX-REER/NEER Suite is a multi-currency valuation framework designed for institutional FX traders, macro strategists, and systematic currency allocators. This indicator calculates Real Effective Exchange Rates (REER) and Nominal Effective Exchange Rates (NEER) for the seven major currency pairs (G7 FX), integrating macroeconomic fundamentals (CPI inflation differentials) with technical trend analysis to identify structural currency misvaluations and mean-reversion opportunities.
Unlike standard FX indicators that only analyze bilateral price action, this suite constructs trade-weighted basket indices that measure each currency's strength against a portfolio of its major trading partners, adjusted for inflation differentials. This approach mirrors central bank and sovereign wealth fund methodologies for assessing equilibrium exchange rate levels.
The framework combines:
- Fundamental valuation metrics – REER/NEER indices with Z-score normalization
- Technical trend filters – Ichimoku Cloud and Aroon oscillator confluence
- Signal classification system – Long/Short/Watch/Conflict regime identification
- Quantitative confidence scoring – 0-100% signal reliability weighting
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• NEER Calculation (Nominal Effective Exchange Rate)
The NEER measures a currency's value against a trade-weighted basket of its seven major trading partners, geometrically averaged in log-space to ensure symmetry:
1. All seven G7 FX pairs are normalized to USD-pivot (A/USD format)
2. Each currency's log-normalized rate is compared to the arithmetic mean of the other six
3. Formula: NEER_i = (8/7) × log(CCY_i/USD) - mean(log(CCY_others/USD))
This construction ensures that:
- A rising NEER indicates currency appreciation against the basket
- The methodology is symmetric and avoids base-currency bias
- Changes reflect multilateral competitive dynamics, not just bilateral moves
• REER Calculation (Real Effective Exchange Rate)
The REER adjusts the NEER for inflation differentials using Consumer Price Index (CPI) data:
Formula: REER_i = NEER_i + log(CPI_i) - mean(log(CPI_others))
By incorporating CPI differentials, the REER provides a purchasing-power-parity-adjusted valuation metric that accounts for relative inflation rates. This is the institutional standard for assessing fundamental currency equilibrium levels.
Data Sources :
- FX rates: TradingView composite feed (FX:), OANDA, FXCM, FOREXCOM
- CPI data: ECONOMICS namespace (monthly frequency, official statistical releases)
- Supported currencies: USD, EUR, JPY, GBP, CHF, AUD, CAD, NZD
• Valuation Bias Detection
Each currency pair is classified as overvalued (bias = -1, "Short") or undervalued (bias = +1, "Long") based on two independent criteria:
1. Percentage Band Deviation – Relative Index distance from 100 baseline
• Overvalued: Index > 100 × (1 + deviation%), default +5%
• Undervalued: Index < 100 × (1 - deviation%), default -5%
2. Z-Score Threshold – Statistical extremes in rolling lookback window
• Overvalued: Z-Score > +1.5 (default)
• Undervalued: Z-Score < -1.5 (default)
Either condition triggers a bias classification. This dual-filter approach captures both absolute deviations and relative extremes within recent historical context.
• Trend Confirmation (Ichimoku + Aroon)
To avoid counter-trend entries in strong momentum regimes, the suite integrates two independent trend filters:
Ichimoku Cloud
- Bull: Price > Cloud AND Conversion > Base Line
- Bear: Price < Cloud AND Conversion < Base Line
- Parameters: Conv(9), Base(26), Span B(52), Displacement(26)
Aroon Oscillator
- Bull: Aroon Up > 70 AND Aroon Down < 30
- Bear: Aroon Down > 70 AND Aroon Up < 30
- Default lookback: 25 periods
Trend is confirmed only when both indicators agree (Ichimoku + Aroon ≥ +1 for bull, ≤ -1 for bear).
• Setup Classification Logic
The framework combines Bias (fundamental valuation) with Trend (technical momentum) to generate four distinct setup types:
- Long↗︎ (Setup = 1) – Undervalued + Bullish Trend
Context : Mean reversion opportunity with momentum confirmation. Currency trading at fundamental discount while technical trend supports upside.
- Short↘︎ (Setup = -1) – Overvalued + Bearish Trend
Context : Mean reversion opportunity with momentum confirmation. Currency trading at fundamental premium while technical trend supports downside.
- Watch (Setup = 2) – Valuation bias present, but no clear trend
Context : Fundamental mispricing without directional conviction. Monitor for trend emergence before entering.
- Conflict (Setup = 3) – Bias and trend pointing opposite directions
Context : Overvalued currency in uptrend OR undervalued currency in downtrend. Avoid—either trend continuation or valuation mean reversion, but unclear which dominates.
• Confidence Score (0-100%)
Each setup receives a quantitative confidence weighting based on three factors:
1. Band Distance (40%) – How far the Relative Index deviates from 100 baseline
2. Z-Score Magnitude (40%) – Statistical extremeness within lookback window
3. Trend Confluence (20%) – Agreement between Ichimoku and Aroon signals
Score interpretation:
- 70-100% = High confidence (both valuation and trend extremes aligned)
- 40-69% = Moderate confidence (one factor strong, others weak)
- 0-39% = Low confidence (marginal signals, questionable reliability)
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Dashboard Table (Top-Right)
Displays real-time valuation metrics for all seven major pairs:
Column 1: Pair – Currency pair identifier
Column 2: RelIdx – Relative Index (100 = baseline at first valid bar)
Column 3: Z – Z-Score vs. rolling lookback window
Column 4: Bias – Long/Short/Neutral valuation classification
Column 5: Trend – ↑/↓/– trend direction (Ichimoku + Aroon)
Column 6: Setup – Long↗︎/Short↘︎/Watch/Conflict (color-coded)
Column 7: Conf – Confidence score 0-100% (color-coded)
Column 8: Quelle – REER (inflation-adjusted) or NEER (nominal only)
Color coding :
- Green = Long↗︎ setup
- Red = Short↘︎ setup
- Orange = Watch (no trend)
- Purple = Conflict (bias/trend divergence)
• Optional Chart Plot
Select any of the seven pairs to plot its Relative Index on the chart with:
- Baseline at 100 (horizontal gray line)
- +Band at 100 × (1 + deviation%), dashed red
- -Band at 100 × (1 - deviation%), dashed green
- Aqua line tracking the selected pair's Relative Index evolution
• Signal Labels
When a pair transitions into Long↗︎ or Short↘︎ setup:
- Green label below bar = Long↗︎ entry signal
- Red label above bar = Short↘︎ entry signal
- Positioned using ATR offset for visibility
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Institutional valuation methodology – REER/NEER framework used by central banks and sovereign wealth funds
- Macro-fundamental integration – CPI inflation differentials adjust for purchasing power parity
- Multi-timeframe flexibility – Daily (D), Weekly (W), Monthly (M) resolution options
- Seven simultaneous pairs – Monitors all G7 FX majors in single unified dashboard
- No repainting – All signals confirm on bar close
- Automated alerts – TradingView notifications when setups transition (Long/Short triggers)
- Confidence weighting – Quantitative scoring allows position sizing calibration
- Fallback logic – Automatically switches to NEER if CPI data incomplete
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to any chart – The indicator pulls multi-security data; chart symbol does not matter (commonly applied to SPY or DXY for reference)
2. Select data feed – Default FX: (TradingView composite) is recommended; alternatives: OANDA, FXCM, FOREXCOM
3. Choose timeframe :
• Daily (D) = Swing trading, medium-term mean reversion (2-8 week horizons)
• Weekly (W) = Position trading, macro regime shifts (1-6 month horizons)
• Monthly (M) = Strategic allocation, long-term equilibrium analysis (6-24 month horizons)
4. Configure parameters :
• Z-Score Lookback : Default 252 (one trading year on Daily); adjust for timeframe (52 for Weekly, 36 for Monthly)
• Deviation Band : Default ±5%; tighten to ±3% for more signals, widen to ±7% for higher conviction
• Z-Threshold : Default ±1.5; increase to ±2.0 for extreme-only signals
5. Monitor dashboard table :
• Focus on pairs showing Long↗︎ or Short↘︎ setups with Conf ≥ 70%
• Watch for Watch setups transitioning to directional signals
• Avoid Conflict setups unless you have strong macro conviction
6. Execute mean-reversion trades :
• Long↗︎ = Buy undervalued currency (e.g., EURUSD Long if EUR undervalued)
• Short↘︎ = Sell overvalued currency (e.g., USDJPY Short if JPY overvalued)
• Target: Mean reversion toward 100 baseline or opposite band
7. Position sizing by confidence :
• High confidence (70-100%) → Standard position size
• Moderate confidence (40-69%) → Reduce size by 50%
• Low confidence (<40%) → Avoid or use minimal pilot size
8. Risk management :
• Stop loss: Place beyond recent swing high/low or 1.5× ATR
• Take profit: Opposite valuation band or 100 baseline
• Time stop: Exit if setup reverses (Long→Neutral→Short or vice versa)
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- CPI data lag – Consumer Price Index releases are monthly and report with 2-4 week delay. REER calculations may lag real-time inflation dynamics.
- Structural shifts ignored – The baseline (100) is set at first valid bar. Long-term structural appreciation/depreciation (e.g., 20-year USD bull market) is not accounted for. Suitable for cyclical mean reversion, not secular trend analysis.
- Equal-weighting assumption – All seven currencies are equally weighted in basket construction. Actual trade-weighted indices use GDP or trade volume weights, which this framework simplifies.
- No emerging market currencies – Limited to G7 majors (USD, EUR, JPY, GBP, CHF, AUD, CAD, NZD). Does not cover EM FX (e.g., CNY, BRL, MXN).
- Technical filter limitations – Ichimoku and Aroon are lagging indicators. In fast-moving markets (e.g., central bank interventions, geopolitical shocks), trend signals may arrive late.
- Mean reversion assumption – The framework assumes currencies revert to equilibrium. During regime changes (e.g., monetary policy divergence, crisis flows), deviations can persist or expand before eventual reversal.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v6
- Non-repainting (signals confirmed on bar close)
- Multi-security data feeds (7 FX pairs + 8 CPI series)
- Automated alert system (transitions to Long↗︎/Short↘︎)
- Real-time dashboard table (8 columns × 8 rows)
- Maximum 500 labels supported (100 per pair direction)
- Fallback logic: NEER used if CPI data unavailable
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed for experienced FX traders, macro strategists, and portfolio managers familiar with:
- Real and nominal effective exchange rate concepts
- Purchasing power parity theory and inflation differentials
- Multi-currency portfolio construction and basket hedging
- Carry trade and convergence strategies
- Central bank policy impacts on FX equilibrium levels
The framework provides objective valuation signals but does not account for:
- Interest rate differentials (carry)
- Capital flow dynamics (risk-on/risk-off)
- Central bank intervention zones
- Geopolitical risk premiums
Always combine REER/NEER valuation analysis with macro event calendars, positioning data (CFTC COT reports), and fundamental policy divergence assessments.
═══════════════════════════════════════════════════════════════════════════════
Developed for institutional FX valuation analysis based on central bank REER/NEER methodologies.
BIG Options Strategy Regime Scanner═══════════════════════════════════════════════════════════════════════════════
BIG OPTIONS STRATEGY REGIME SCANNER
═══════════════════════════════════════════════════════════════════════════════
OVERVIEW
The BIG Options Strategy Regime Scanner is a quantitative regime detection framework designed to identify optimal entry conditions for directional and convexity-based options strategies. This indicator analyzes market structure (trend), volatility environment (VIX), and momentum (RSI) to classify markets into distinct trading regimes and signal appropriate options deployment strategies.
The indicator was developed specifically for systematic options traders who require objective, rule-based regime identification rather than discretionary interpretation. It integrates institutional volatility metrics with technical momentum filters to produce high-probability entry signals for three core strategies: Call Tail Convexity , Put Tail Convexity , and Bull Put Income .
═══════════════════════════════════════════════════════════════════════════════
CORE METHODOLOGY
═══════════════════════════════════════════════════════════════════════════════
• Regime Detection Logic
The indicator operates on a three-factor regime classification system:
1. Trend Filter – Identifies directional bias using SMA 200 as the primary trend delimiter. Position relative to this level determines bull/bear regime classification.
2. Volatility Environment – Uses VIX (CBOE Volatility Index) thresholds to categorize market conditions:
• Low Vol: VIX < 17 (favors premium buying / convexity strategies)
• Mid Vol: VIX 17-22 (transition zone, tactical income strategies)
• High Vol: VIX ≥ 22 (risk-off, defensive positioning)
3. Momentum Confirmation – RSI(14) provides tactical entry timing to avoid premature signals and improve entry quality.
• Strategy Deployment Rules
Call Tail Entry (Bull Convexity)
Triggers when:
- Close > SMA 200 (bull trend confirmed)
- VIX < 17 (low volatility, cheap premium)
- RSI < 45 (tactical pullback for entry)
Context : This regime identifies periods where upside convexity is underpriced. Appropriate for OTM call buying or call spreads designed to capture trend acceleration during low-vol environments.
Put Tail Entry (Bear Convexity)
Triggers when:
- Close < SMA 200 (bear trend confirmed)
- VIX < 17 (low volatility, cheap premium)
- RSI > 65 (tactical bounce for entry)
Context : Signals opportunities to buy downside protection or OTM puts during complacent market conditions. Designed for convexity-seeking traders anticipating volatility expansion in bearish structures.
Bull Put Income
Triggers when:
- Close > SMA 200 (bull trend confirmed)
- VIX 17-20 (mid-range volatility, elevated premium)
- Close > SMA 50 (short-term strength)
Context : Identifies favorable conditions for selling OTM put spreads or cash-secured puts. Targets premium collection in constructive markets with sufficient volatility to generate income but not excessive tail risk.
═══════════════════════════════════════════════════════════════════════════════
VISUAL COMPONENTS
═══════════════════════════════════════════════════════════════════════════════
• Chart Signals
- Purple Triangle (below bar) = Call Tail Entry
- Red Triangle (above bar) = Put Tail Entry
- Green Triangle (below bar) = Bull Put Income
• Background Coloring
Chart background dynamically highlights active signals with semi-transparent overlays:
- Purple = Call Tail active
- Red = Put Tail active
- Green = Bull Put Income active
• Strategy Table
Top-right table displays real-time strategy status:
- Strategy name
- Condition Met (✅/❌)
- Color-coded for quick visual scan
• Moving Averages
- SMA 50 (Orange) – Short-term trend filter
- SMA 200 (Blue) – Primary trend delimiter
═══════════════════════════════════════════════════════════════════════════════
KEY FEATURES
═══════════════════════════════════════════════════════════════════════════════
- Multi-timeframe flexibility – Works on Daily, 4H, 1H timeframes for different deployment horizons
- No repainting – All signals confirm on bar close
- Institutional volatility integration – Uses VIX directly from CBOE data feed
- Clean visual hierarchy – Minimal clutter, maximum signal clarity
- Regime-aware strategy allocation – Matches strategy type to market environment
═══════════════════════════════════════════════════════════════════════════════
HOW TO USE
═══════════════════════════════════════════════════════════════════════════════
1. Apply to target underlying – Works on indices (SPX, NDX, RUT), equity ETFs (SPY, QQQ, IWM), or individual equities with liquid options markets.
2. Monitor regime table – Top-right table shows which strategies are currently valid based on real-time conditions.
3. Execute on signal confirmation – When triangle appears + table shows ✅, deploy corresponding options strategy.
4. Timeframe considerations :
• Daily = Swing options (30-60 DTE typical)
• 4H = Shorter-duration tactical (14-30 DTE)
• 1H = Ultra-short-term (0-7 DTE, requires precision execution)
5. Combine with position sizing rules – This indicator identifies when to deploy strategies, not how much . Use appropriate risk management and position sizing frameworks.
═══════════════════════════════════════════════════════════════════════════════
LIMITATIONS
═══════════════════════════════════════════════════════════════════════════════
- VIX dependency – Signals are calibrated for US equity volatility regimes. May require recalibration for other asset classes.
- No options-specific calculations – This indicator identifies favorable regimes but does not calculate Greeks, IV percentile, or specific strike selection. Traders must perform their own options analysis.
- Trend-following bias – The 200-day SMA filter creates a structural bias toward trend-following systems. May underperform in mean-reverting, range-bound markets.
- Signal frequency – Depending on market conditions, signals may be infrequent. This is by design to maintain signal quality over quantity.
═══════════════════════════════════════════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════════════════════════════════════════
- Pine Script v5
- Non-repainting (signals confirmed on close)
- Multi-security data feed (VIX via request.security() )
- Maximum 500 labels supported
- Real-time table updates with color-coded status indicators
═══════════════════════════════════════════════════════════════════════════════
NOTES
═══════════════════════════════════════════════════════════════════════════════
This indicator is designed as a decision-support tool for experienced options traders. It provides objective regime classification and timing signals but does not constitute financial advice or a complete trading system. Always perform independent analysis and risk assessment before deploying options strategies.
Appropriate for traders familiar with:
- Volatility term structure
- Options Greeks and pricing dynamics
- Position construction (spreads, naked positions, hedged structures)
- Capital allocation and risk management
═══════════════════════════════════════════════════════════════════════════════
Developed for systematic options deployment based on quantitative regime detection.
BIG Professional Relative Rotation GraphPROFESSIONAL RELATIVE ROTATION GRAPH (RRG)
SUMMARY
The Professional Relative Rotation Graph (RRG) is a powerful charting tool that visualizes the **relative strength** and **momentum** of multiple assets (currencies, commodities, or sectors) compared to a benchmark on a single quadrant chart. This overlay is discreetly displayed in the top-left corner of your chart, enabling a fast, visual assessment of market and sector trends.
---
HOW THE RRG WORKS
The RRG uses two key metrics:
1. Relative Strength (RS-Ratio): Measures an asset's long-term performance relative to the benchmark (X-Axis). Values above 100 indicate outperformance.
2. Relative Momentum (RS-Momentum): Measures the short-term rate of change in relative strength (Y-Axis). Values above 100 indicate rising momentum.
THE FOUR QUADRANTS
The asset's position shows its current market phase.
* LEADING: Outperforming in strength and rising momentum (Bullish).
* WEAKENING: Outperforming in strength, but falling momentum (Caution).
* LAGGING: Underperforming in strength and falling momentum (Bearish).
* IMPROVING: Underperforming in strength, but rising momentum (Recovery).
AREAS OF APPLICATION
Select the desired RRG Type via the inputs:
* Forex RRG: Compares currencies relative to the DXY.
* Commodity RRG: Compares commodities relative to the DJP.
* Equity Sectors RRG: Compares US sectors relative to the SPY.
---
USAGE NOTES (MAX 8 LINES)
The RRG tracks rotation of assets through the quadrants.
1. Ideal Entry: Look for the rotation: Lagging → Improving → Leading.
2. Ideal Exit/Short: Look for the rotation: Leading → Weakening → Lagging.
3. Positions are always relative to the benchmark (DXY, SPY, or DJP).
4. The RRG Type input switches between asset groups.
5. Use Zoom Factor to better distinguish closely clustered assets.
6. Trail Points confirm the current direction of the asset's movement.
Trinity ATR Real Move DetectorTrinity ATR Real Move Detector
This ATR Energy Table indicator is one of the simplest yet most powerful filters you can have on a chart when trading short-dated or 0DTE options or swing trades on any timeframe from 1-minute up to 4-hour. Its entire job is to answer the single most important question in intraday and swing trading: “Does the underlying actually have enough short-term explosive energy right now to make a directional position worth the theta and the spread, or is this just pretty candles that will die in ten minutes?”
Most losing 0DTE and short-dated option trades happen because people buy or sell direction on a “nice-looking” breakout or pullback while the underlying is actually in low-energy grind mode. The premium decays faster than the move develops, and you lose even when you’re “right” on direction. This little table stops that from ever happening again.
Here’s what it does in plain English:
Every bar it measures two things:
- The current ATR on whatever timeframe you are using (1 min, 3 min, 5 min, 10 min, etc.). This tells you how big the average true range of the last 14 bars has been — in other words, how violently the stock or index is actually moving right now.
- The daily ATR (14-period on the daily chart). This is your benchmark for “normal” daily movement over the last two–three weeks.
It then multiplies the daily ATR by a small number (the multiplier you set) and compares the two. If the short-term ATR is bigger than that percentage of the daily ATR, the table turns bright green and says “ENOUGH ENERGY”. If not, it stays red and says “NOT ENOUGH”.
Why this works so well:
- Real explosive moves that carry for 0DTE and 1–3 DTE options almost always show a short-term ATR spike well above the recent daily average. Quiet grind moves never do.
- The comparison is completely adaptive — on a high-vol day the threshold automatically rises, on a low-vol day it automatically drops. You never have to guess if “2 points on SPY is big today”.
- It removes emotion completely. You simply wait for green before you even think about clicking buy or sell on an option.
Key settings and what to do with them:
- Energy Multiplier — this is the only number you ever touch. It is expressed as a decimal (0.15 = 15 % of the daily ATR). Lower = more signals, higher = stricter and higher win rate. The tooltip gives you the exact sweet-spot numbers for every popular timeframe (0.09 for 1-minute scalping, 0.13 for 3-minute, 0.14–0.16 for 5-minute, 0.15–0.19 for 10-minute, etc.). Just pick your timeframe once and type the number — done forever.
- ATR Length — leave it at 14. That’s the standard and works perfectly.
- Table Position — move the table to wherever you want on the chart (top-right, bottom-right, bottom-left, top-left).
- Table Size — make the text Tiny, Small, Normal or Large depending on how much screen space you have.
How this helps you make money and stop losing it:
- On most days you will see red 80–90 % of the time — that’s good! It is forcing you to sit on your hands instead of overtrading low-energy chop that eats premium.
- When it finally flips green you know institutions are actually pushing size right now — follow-through probability jumps from ~40 % to 65–75 % depending on the stock and timeframe.
- You stop buying calls on every green candle and puts on every red candle. You only strike when the market is genuinely “awake”.
- Over a week you take dramatically fewer trades, but your win rate and average winner size go way up — which is exactly how consistent intraday option profits are made.
In short, this tiny table is the closest thing to an “edge on/off switch” that exists for short-dated options. Red = preserve capital and go do something else. Green = pull the trigger with confidence. Use it religiously and you’ll immediately feel the difference in your P&L.
TFGI Lite: Technical Fear & Greed Dashboard (All-Assets)📊 TFGI Lite: Technical Fear & Greed Dashboard (All-Assets)
Don't guess the sentiment. Measure it.
不要猜測情緒,去測量它。
🇹🇼 繁體中文:市場情緒的導航儀
什麼是 TFGI Lite?
這是一個簡潔的「市場氣象儀表板」,直接顯示在您的 K 線圖上。它幫助您判斷現在市場是處於「過度恐懼(適合貪婪)」還是「過度貪婪(適合謹慎)」的狀態。適用於股票、加密貨幣、外匯與期貨。
數字代表什麼意義?
分數範圍為 0 到 100:
0 - 25 (極度恐懼 / 綠色區域):
市場陷入恐慌,價格可能被低估。這通常是尋找買點的機會(別人恐懼我貪婪)。
75 - 100 (極度貪婪 / 紅色區域):
市場過熱,追高風險極大。這通常是考慮獲利了結或警惕回調的時刻。
25 - 75 (中性震盪):
市場處於正常波動範圍,順勢操作即可。
儀表板上的三個關鍵數據:
Local TFGI (當前商品):您現在看的這張圖表(例如比特幣或台積電)的情緒分數。
Global TFGI (全球宏觀):全球資金的流向與風險偏好(綜合了美股、波動率 VIX、美元與債市)。這就像是「大盤天氣」。如果全球都在下雨(恐慌),您的股票也很難獨善其身。
Spread (情緒溫差):
如果 Local 分數遠高於 Global,代表這個商品漲過頭了,要注意風險。
如果 Local 分數遠低於 Global,代表這個商品被錯殺了,可能是機會。
🇺🇸 English: Navigate Market Sentiment Simply
What is TFGI Lite?
A clean, professional "Weather Dashboard" for your chart. It quantifies market psychology, helping you decide when to be contrarian. It works on any asset class (Stocks, Crypto, Forex).
How to Read the Numbers (0-100 Score)
0 - 25 (Extreme Fear / Green Zone):
Investors are panicking. The asset may be oversold. Historically, this is often a buying opportunity.
75 - 100 (Extreme Greed / Red Zone):
The market is overheated and FOMO is high. The risk of a correction is increasing. It might be time to take profits.
25 - 75 (Neutral):
Normal market fluctuations.
Key Features on the Dashboard:
Local TFGI: The sentiment score of the specific asset you are watching right now.
Global TFGI: The sentiment of the entire global market (Aggregating SPY, VIX, DXY, and Bonds). Think of this as the "Macro Tide". It's hard to swim against the tide.
Spread: The difference between the Asset and the Global market.
Positive Spread: This asset is hotter than the global market (Potential Overvaluation).
Negative Spread: This asset is weaker than the global market (Potential Undervaluation).
🇯 日本語:相場の「過熱感」を一目で判断
TFGI Liteとは?
チャート上に表示されるシンプルな「センチメント(市場心理)ダッシュボード」です。市場が「悲観(買い時)」にあるのか、「楽観(売り時)」にあるのかを客観的な数値で示します。株、仮想通貨、FXなど、あらゆる資産に対応しています。
スコアの見方(0〜100)
0 - 25 (極度の恐怖 / 緑エリア):
市場はパニック状態です。売られすぎの可能性があり、逆張りの買いチャンスとなることが多いゾーンです。
75 - 100 (極度の強欲 / 赤エリア):
市場は過熱しており、イケイケの状態です。暴落のリスクが高まっているため、利益確定を検討する警戒ゾーンです。
25 - 75 (中立):
通常の変動範囲内です。
ダッシュボードの3つの重要指標:
Local TFGI (個別): 現在表示している銘柄のセンチメントスコアです。
Global TFGI (全体): 世界市場全体のムード(米国株、VIX指数、ドル、債券を総合分析)。「地合い」を確認するために使います。
Spread (乖離): 個別銘柄と世界市場の温度差。この数値が大きい場合、その銘柄だけが異常に買われすぎている可能性があります。
🇰🇷 한국어: 시장의 공포와 탐욕을 한눈에
TFGI Lite란 무엇인가요?
차트 위에 직접 표시되는 깔끔한 "시장 심리 계기판"입니다. 현재 시장이 '과도한 공포(저점 매수 기회)'인지 '과도한 탐욕(고점 매도 주의)'인지 판단하는 데 도움을 줍니다. 주식, 코인, 외환 등 모든 자산에 적용 가능합니다.
숫자가 의미하는 것 (0~100점)
0 - 25 (극심한 공포 / 초록색 구간):
투자자들이 패닉에 빠져 투매가 나옵니다. 역사적으로 이는 저가 매수(Buy the dip)의 기회일 가능성이 높습니다.
75 - 100 (극심한 탐욕 / 빨간색 구간):
시장이 과열되었습니다. 추격 매수는 위험하며, 이익 실현을 고려하거나 조정을 대비해야 할 때입니다.
25 - 75 (중립):
일반적인 시장 변동 구간입니다.
대시보드의 핵심 데이터:
Local TFGI (개별 종목): 지금 보고 계신 차트(코인/주식)의 자체적인 심리 점수입니다。
Global TFGI (글로벌 매크로): 전 세계 자금의 흐름과 위험 선호도(미국 증시, VIX, 달러, 채권 종합). 시장 전체의 "날씨"를 알려줍니다。
Spread (괴리율): 개별 종목과 글로벌 시장 간의 온도 차이. 개별 종목 점수가 글로벌보다 훨씬 높다면, 해당 종목이 과매수되었을 수 있습니다。
Advanced Confluence DashboardAdvanced Confluence Dashboard - Multi-Indicator Technical Analysis Tool
OVERVIEW
The Advanced Confluence Dashboard is a comprehensive technical analysis tool designed to help traders identify high-probability trade setups by tracking multiple technical indicators simultaneously. The indicator displays up to 13 different technical confluences in an easy-to-read dashboard format, providing both individual signals and an overall market bias percentage. Switch between full table view and condensed view for maximum chart flexibility.
FEATURES
- 13 Technical Confluences: RSI, VWAP, EMA Cross (9/21), MACD, Stochastic, Trend (50 EMA), Bollinger Bands, ADX Strength, Price Momentum, Volume Breakout, VWAP Bands, 200 EMA, and Price Action (Higher Highs/Lower Lows)
- Real-time Confluence Scoring: Automatically calculates bullish vs bearish signal strength
- Multi-Timeframe Support: Analyze indicators on any timeframe while viewing your chart on another
- Customizable Display: Toggle individual indicators on/off, adjust table position, size, and transparency
- ATR Information: Optional ATR display for volatility-based position sizing
- Condensed View Mode: Ultra-minimal display showing only confluence score and ATR (perfect for scalpers who want maximum chart visibility)
- Full Table View: Detailed breakdown of each indicator's value and signal
- Color-Coded Signals: Green (bullish), red (bearish), white (neutral) for instant visual clarity
HOW IT WORKS
The indicator evaluates each enabled technical indicator and assigns it either a bullish or bearish signal based on its current state. The confluence score shows how many indicators are aligned in each direction, giving you a clear percentage-based view of market bias. For example, if 8 out of 13 indicators are bullish, you'll see a 62% LONG BIAS signal.
DISPLAY MODES
Full View: Shows all enabled indicators with their current values and signals in a detailed table format. Perfect for understanding exactly which indicators are bullish or bearish and why.
Condensed View: Shows only the confluence score (e.g., "4/13 LONG | 9/13 SHORT - SHORT BIAS 69%") and optional ATR information. This minimal display keeps your chart clean while still providing the essential confluence data you need for quick trading decisions. Ideal for scalpers and traders who want maximum chart space.
CONFLUENCES EXPLAINED
- RSI: Momentum oscillator (>50 bullish, <50 bearish, shows overbought/oversold)
- VWAP: Volume-weighted average price (above = bullish, below = bearish)
- EMA Cross: Fast EMA (9) vs Slow EMA (21) with price position
- MACD: Trend-following momentum (line above signal = bullish)
- Stochastic: Momentum oscillator (>50 bullish, <50 bearish)
- Trend (50 EMA): Price position relative to 50-period EMA
- Bollinger Bands: Volatility and mean reversion (above middle = bullish)
- ADX Strength: Trend strength indicator (shows strong trends)
- Price Momentum: Rate of price change over specified period
- Volume Breakout: Detects unusual volume with directional bias
- VWAP Bands: Standard deviation bands around VWAP
- 200 EMA: Long-term trend indicator
- Price Action: Higher Highs and Lower Lows pattern detection
SETTINGS
Timeframe Settings:
- Indicator Timeframe: Analyze indicators on a different timeframe than your chart
Display Options:
- Condensed View: Toggle between full table and minimal display
- Show ATR Info: Display/hide ATR information
- Table Position: 9 positions (top/middle/bottom + left/center/right)
- Text Size: Auto, tiny, small, normal, large, huge
- Table Transparency: 0-100%
- Border Width: 1-5 pixels
Confluence Toggles:
- Enable/disable any of the 13 confluences individually
- Confluence score automatically adjusts based on enabled indicators
Indicator Settings:
- RSI Length (default: 14)
- ATR Length (default: 14)
- Fast/Slow EMA (default: 9/21)
- Trend EMA (default: 50)
- Volume SMA Length (default: 20)
- Volume Breakout Multiplier (default: 2.0x)
- Bollinger Bands Length/StdDev (default: 20/2.0)
- ADX Length (default: 14)
- ADX Strength Threshold (default: 25)
- Momentum Length (default: 10)
IDEAL USE CASES
- Scalping: Quick identification of confluence for fast entries/exits - use condensed view for clean charts
- Day Trading: Multi-timeframe analysis for intraday setups
- Swing Trading: Confirmation of longer-term bias
- Risk Management: Higher confluence = higher probability trades
- Trade Filtering: Only take trades when confluence reaches your threshold
- Multi-Monitor Setups: Use condensed view on execution charts, full view on analysis charts
HOW TO USE
1. Add the indicator to your chart
2. Toggle on/off the confluences you prefer to use
3. Choose between Full View (detailed) or Condensed View (minimal)
4. Adjust the table position and size to your preference
5. Look for high confluence percentages (70%+ is strong bias)
6. Use the individual indicator signals (full view) to understand market structure
7. Combine with your trading strategy for entry/exit confirmation
TIPS
- Use Condensed View when scalping to keep your chart clean and uncluttered
- Switch to Full View when you need to analyze which specific indicators are conflicting
- Higher confluence doesn't guarantee success - always use proper risk management
- Consider using 60%+ confluence as a minimum threshold for trades
- Pay attention to which specific indicators are aligned vs conflicting
- Use the ATR display for quick reference on position sizing
- Experiment with different timeframes to find what works for your style
- Disable indicators you don't use to simplify your confluence scoring
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, or any other type of advice. Trading and investing in financial markets involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results. Always do your own research and consult with a qualified financial advisor before making any investment decisions.
Dragon Smart Ratings (IBD/CANSLIM methodology)🐉 Dragon Smart Ratings – Institutional Grade Analysis
Dragon Smart Ratings is a comprehensive technical and fundamental analysis tool designed to identify market leaders instantly. Inspired by the legendary IBD/CANSLIM methodology, this script calculates five key ratings to help traders separate the "True Leaders" from the rest of the market.
📊 KEY RATINGS EXPLAINED
1. 🟢 Composite Rating (Overall Score)
The master score (1-99) that combines all other ratings.
Smart Protection Logic: Includes a "Contrarian Shield." If a stock has exceptional fundamentals (EPS/SMR) but temporary price weakness, the Composite Rating is protected to ensure you don't miss potential turnaround plays (e.g., META scenarios).
Leader Boost: If a stock exhibits both high RS and high EPS, the score is mathematically forced to 95-99.
2. 📈 RS Rating (Relative Strength)
Measures price performance against the general market (SPY) over the last 12 months.
Leader Logic: heavily weights the most recent 3 months.
Near-High Bonus: Awards extra points if the price is trading near its 52-week high.
3. 💰 EPS Rating (Earnings Per Share)
Analyzes earnings growth on both a Quarterly and Annual basis.
🚀 Smart Fill Technology: TradingView sometimes returns N/A or delayed data for ADRs (like TSM) or international stocks (like AGI). This script detects if a stock has high Price Strength (RS > 90) and automatically extrapolates a fair EPS score, ensuring Leaders are never rated "40" due to missing data.
King Mode: If a stock shows massive growth (>50%) in either the last quarter or the 3-year average, it gets a perfect score.
4. 💎 SMR Rating (Sales + Profit Margins + ROE)
Grades stocks from A (Best) to E (Worst).
Hero Mode: Unlike traditional strict algorithms, Dragon Ratings recognizes that one "Super Metric" (e.g., a massive 40% Margin) can outweigh a lower ROE. If a stock excels in just one category, it qualifies for an A or B.
5. 📦 Acc/Dis Rating (Accumulation/Distribution)
Analyzes Volume and Price action to detect Institutional Buying or Selling.
Strict Mode: Uses a refined Chaikin Money Flow (CMF) logic combined with a "Trend Penalty." It is very difficult to get an A rating unless there is significant heavy-volume buying while the price is above key moving averages.
📱 MOBILE OPTIMIZED (SOLO MODE)
Most fundamental scripts crash on mobile due to memory limits. Dragon Smart Ratings V33 uses advanced Tuple Requests and reduced historical calls to ensure zero crashes on the TradingView Mobile App, while still delivering deep fundamental analysis.
🔔 ALERTS & TELEGRAM INTEGRATION
Built-in support for JSON Alerts.
You can set up a single alert to send a formatted message to your Telegram Bot containing all rating details whenever a stock crosses your defined threshold (default: Composite > 80).
This tool is developed to support the trading community with high-precision data analysis.
Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Always do your own due diligence.
Granger Causality Flow IndicatorGranger Causality Flow Indicator
█ OVERVIEW
The Granger Causality Flow Indicator is a statistical analysis tool designed to identify predictive relationships between two assets (Symbol X and Symbol Y). In econometrics, "Granger Causality" does not test for actual physical causation (e.g., rain causes mud); rather, it tests for predictive causality .
This script is designed to answer a specific question for traders: "Does the past price action of Asset X provide statistically significant information about the future price of Asset Y, beyond what is already contained in the past prices of Asset Y itself?"
This tool is particularly useful for Pairs Traders , Arbitrageurs , and Macro Analysts looking to identify lead-lag relationships between correlated assets (e.g., BTC vs. ETH, NASDAQ vs. SPY, or Gold vs. Silver).
█ CONCEPTS & CALCULATIONS
To determine if Symbol X "Granger-causes" Symbol Y, this script utilizes a variance-reduction approach based on Auto-Regressive (AR) models. Due to the runtime constraints of Pine Script™, we employ an optimized proxy for the standard Granger test using an AR(1) logic (looking back 1 period).
The calculation performs a comparative test over a rolling window (Default: 50 bars):
The Restricted Model (Baseline):
We attempts to predict the current value of Y using only the previous value of Y (Auto-Regression). We measure the error of this prediction (the "Residuals") and calculate the Variance of the Restricted Model (Var_R) .
The Unrestricted Model (Proxy):
We then test if the past value of X can explain the errors made by the Restricted Model. If X contains predictive power, including it should reduce the error variance. We calculate the remaining Variance of the Unrestricted Model (Var_UR) .
The GC Score:
The script calculates a score based on the ratio of variance reduction:
Score = 1 - (Var_UR / Var_R)
If the Score is High (> 0) : It implies that including X significantly reduced the prediction error for Y. Therefore, X "Granger-causes" Y.
If the Score is Low or 0 : It implies X added no predictive value.
█ HOW TO USE
This indicator is not a simple Buy/Sell signal generator; it is a context filter for cross-asset analysis.
1. Setup
Symbol 1 (X): The potential "Leader" (e.g., BINANCE:BTCUSDT).
Symbol 2 (Y): The potential "Follower" (e.g., BINANCE:ETHUSDT).
Differencing: Enabled by default. This checks the changes in price rather than absolute price, which is crucial for statistical stationarity.
2. Interpreting the Visuals
The script changes the background color and displays a table to indicate the current flow of causality:
Green Background (X → Y): Symbol 1 is leading Symbol 2. Price moves in Symbol 1 are statistically likely to foreshadow moves in Symbol 2.
Orange Background (Y → X): Symbol 2 is leading Symbol 1. The relationship has inverted.
Blue Background (Bidirectional): Both assets are predicting each other (tight coupling or feedback loop).
Gray/No Color: No statistically significant relationship detected.
3. Trading Application
Trend Confirmation: If you trade Symbol Y, wait for the background to turn Green . This indicates that the "Leader" (Symbol X) is currently exerting predictive influence, potentially making trend-following setups on Symbol Y more reliable.
Divergence Warning: If you are trading a correlation pair and the causality breaks (turns Gray), the correlation may be weakening, signaling a higher risk of divergence.
█ SETTINGS
Symbol 1 (X) & Symbol 2 (Y): The two tickers to analyze.
Use Differencing: (Default: True) Converts prices to price-changes. Highly recommended for accurate statistical results to avoid spurious regression.
Calculation Window: The number of bars used to compute the variance and coefficients. Larger windows provide smoother, more stable signals but react slower to regime changes.
Significance Threshold: (0.01 - 0.99) The minimum variance reduction score required to trigger a causal signal.
█ DISCLAIMER
This tool provides statistical analysis of historical price data and does not guarantee future performance. Granger Causality is a measure of predictive capability, not necessarily fundamental causation. Always use appropriate risk management.
Relative Value & Risk Analytics DashboardThis is your risk-adjusted alpha analysis tool - exactly what hedge fund and insurance company clients want to see.
Attractiveness Score | Composite score combining RV and Risk (0-100)
Relative Performance | vs Benchmark (SET/SPY), RS Ratio Trend, 52W Position, Spread Z-Score
Risk Metrics | Beta, Alpha, Sharpe, Sortino, Information Ratio, Volatility
Correlation | Benchmark Correlation, R-Squared, Regime Change Detection
Pair Trade | Peer Correlation, Pair Z-Score, Long/Short Signals
Factor Exposure | Momentum (1/3/6M), Mean Reversion Signal, Distance from SMA50
Drawdown | Current DD, Max DD, Recovery Needed, Ulcer Index, Calmar, VaR
Key Features:
Benchmark-Relative Analysis: Compare any stock vs SET Index or any other benchmark
Pair Trade Signals: Automatically generates long/short signals based on Z-score
Risk-Adjusted Returns: Sharpe, Sortino, Information Ratio - what your clients actually care about
Regime Change Detection: Alert when correlation dynamics shift
Drawdown Risk: VaR, Ulcer Index, Calmar Ratio for risk-conscious clients
The Composite Predictive Index-(CPI-IGv5)***Main Purpose: Developed by Alcides J. Davila (TradingView: Alcides0265), a Miami-based daily trader and financial consultant specializing in commodities and capital solutions. The primary reason for CPI-IG v5 is to deliver institutional-grade predictive signals for market direction, synthesizing diverse technical factors into a probabilistic "probUp" score (upward movement likelihood) to guide high-confidence trades, aiming for 68-80% predictability in identifying trends/reversals.
Key Features: Probability Engine: Weighted combination of price delta, momentum (CMMI from RSI/mom), volume pressure, volatility (ATR/BB), trend slope, sentiment/news (manual inputs), projection (MACD ratio), and POC crossover; normalized via Z-score and tanh approx, mapped to probUp using normal CDF or logistic.
Signals and Strategies: Base/strong/ultra buy/sell gates based on prob thresholds (e.g., >0.68 for medium-term buys), bullish/bearish alignments (EMA9/20/SMA9 vs. VWAP/POC proxy), Golden/Death crosses (EMA50/200), short/medium/long confirmations, and breakout/breakdown with retest detection.
Visuals and HUD: Overlay plots (EMAs, BB, VWAP, projections), dynamic tables for stats (prob/z/ATR/delta vol), oscillator (bull/neu/bear on LTF/current/HTF), indexes (S&P/DJIA/Nasdaq), ETFs (SPY/QQQ/VIX), all resizable/movable.
Trading Modes: Versatile for scalping (short projections, 0.55 buy thresh), intraday, short/medium/long-term (stricter thresh up to 0.70, adjusted lookbacks/projections up to 500 bars).
Additional Tools: Internal backtest (with TP/SL via ATR mults, slippage/fees), alerts with cooldown, multi-timeframe alignment (HTF strict option).
Design and Protocol Structure: Modular Pine Script v5 with helpers (tanh/erf approx for ASCII-only math, safe div/Z-score norms); core series compute indicators (RSI/MACD/BB/VWAP/volume delta); linear weighted sum -> standardized Z -> prob calc -> gated signals with filters; efficient resource caps (max bars/lines/labels=500).
Reliability: Multi-factor redundancy and confirmations (e.g., simultaneous POC crosses, vol/MACD filters for ultra signals) reduce noise; HTF/LTF integration ensures alignment; backtest tracks cumR/wins/maxDD for validation; robustness via clamping/approx handles extremes/div0.
Efficiency: Real-time computation with rolling sums/Z-windows (50 bars); optimized for daily/institutional use without heavy lag; cooldowns prevent alert overload.
Robustness: Edge-case handling (e.g., na checks, mintick ranges); flexible inputs (weights, mults, modes) adapt to markets; no strict cutoff, continuous updates via security requests.
Flexibility: Customizable weights/thresh/resolutions; manual sentiment/news for external integration; toggles for visuals/backtest; suits pros, institutions, scalpers, daily traders across assets/timeframes.
Market Predictability: Claims 68-80% effectiveness via sophisticated prob model, multi-indicator fusion, and strategy layers; thresholds imply edge (e.g., 70% long-term buy prob), enhanced by projections/breakouts for forward bias.
Tiny Simplified Feedback Summary
CPI-IG v5 excels as a versatile, prob-driven institutional tool for predictive trading (68-80% edge), blending TA factors with custom modes/signals/visuals; robust and efficient for all trader levels, per code analysis and TradingView desc. Cheers!!!
SHUBHAM 50000 ULTRA OPTIONSHUBHAM 50000 ULTRA OPTION
OptionFlow Pro: Smart Money & Anomaly Detection Indicator
Tagline: Don't just follow the flow. Understand it.
Core Concept:
OptionFlow Pro is an advanced, real-time market scanner and visual indicator that transforms raw options chain data into actionable trading intelligence. It goes beyond simple volume and open interest by identifying Unusual Options Activity (UOA), tracking Sweep Orders, and calculating the Volume-Weighted Put/Call Ratio to highlight where institutional "smart money" is placing its bets.
Key Features for Traders:
Unusual Activity & Sweep Detector:
What it does: Scans every tick for orders that significantly deviate from normal trading patterns—large block trades executed at the ask (for calls) or bid (for puts), and "sweep" orders that clean out multiple price levels instantly.
Trader Benefit: Pinpoints potential breakout or breakdown candidates before major moves occur in the underlying stock. Alerts you to aggressive, high-conviction buying or selling that retail traders often miss.
Volume-Weighted Put/Call Ratio (with Trend):
What it does: Calculates the put/call ratio not just by volume, but by the premium spent. A high premium-weighted put/call ratio shows bears are putting serious money behind their bets, making it a stronger signal.
Trader Benefit: Offers a more nuanced view of market sentiment than standard PCR. Helps gauge extreme fear (potential oversold bounce) or complacency (overbought top) in a specific stock or index (SPX/SPY).
Max Pain & Gamma Exposure (GEX) Visualizer:
What it does: Dynamically calculates the "Max Pain" strike (where option sellers face minimal losses) and estimates Gamma Exposure levels. Visual overlays on the chart show key pin levels and large gamma walls.
Trader Benefit: Identifies potential price magnets for weekly/monthly expiry. Understand where hedging activity by market makers may amplify volatility (negative gamma) or suppress it (positive gamma), aiding in entry/exit planning.
Implied Volatility (IV) Rank & Skew Analysis:
What it does: Compares current IV to its historical range (IV Rank) and visualizes the volatility smile/skew across strikes. Highlights expensive vs. cheap option premiums.
Trader Benefit: Empowers you to sell overpriced volatility (high IV Rank) and buy underpriced volatility (low IV Rank). Skew anomalies can signal asymmetric risk/reward opportunities or market fears about a sharp directional move.
Customizable Alerts & Heatmaps:
What it does: Set alerts for specific UOA criteria, PCR spikes, or IV changes. The platform-wide heatmap aggregates flow data across all symbols to show sector-level money movement.
Trader Benefit: Saves hours of manual scanning. Focus only on the setups that match your strategy (e.g., "Alert me for any $1M+ call sweeps in tech stocks").
Who Is It For?
Active Options Traders & Scalpers: Find high-probability directional plays with institutional confirmation.
Hedgers & Portfolio Managers: Identify tail-risk hedging activity and gauge overall market dealer positioning.
Volatility Traders: Precisely time entries for strangles, straddles, or iron condors based on IV regime and gamma.
Swing Traders & Technical Analysts: Confirms or diverges from classic chart patterns (e.g., breakout with strong call flow = higher conviction).
Why It's Different:
Most indicators look backward at price. OptionFlow Pro looks forward at market structure, liquidity, and dealer hedging flows. It doesn't predict the future; it reveals the present positioning that will influence future price action.
Platform Integration: Available as a standalone web platform, a TradingView custom script, and a direct data feed into thinkorswim, Interactive Brokers, and other major brokerages.






















