Smart Money COTThis indicator implements the method of analysing COT data as defined by Michael Huddleston (I.E. The Inner Circle Trader). It removes all superfluous information contained in the standard COT reports and focusses only on Commercial speculators using the overall Long-Short positions.
Features
The unique feature of this indicator is its ability to look back over time and provide the following information:
Calculation of the range high and low of the specified lookback range.
Calculation of equilibrium of that range.
Automatic colour coding of net long and net short positions when the Long-Short COT calculation is above or below equilibrium of the lookback range.
Instructions
Use the Daily Timeframe only. You may get unexpected results on other timeframes.
Ensure the asset has COT data available. Script is mainly focused on commodity futures, such as ES, NQ, YM. It has not been tested against Forex.
You will need to define the "Lookback" setting in the script settings. Use the total number of trading days required for your analysis. E.g. if you want a 6 month COT analysis, use the measurement tool to count the quantity of daily candles between now and 6 months ago - use this as your Lookback setting. Adjust as needed for other lookback periods, e.g. 3 months, 12 months etc.
Other Info
The script provides the ability to customise colours in its settings.
Range High and Range Low plots can be disabled in settings.
トレンド分析
RSI HunterConcept and Methodology This indicator is an advanced technical tool that "reverse engineers" J. Welles Wilder’s standard Relative Strength Index (RSI).
While a standard RSI takes price data and outputs an oscillator value (0-100), this script performs the inverse operation. It calculates exactly what Price the current candle must reach to generate a specific RSI value (e.g., RSI 74 or RSI 26). By projecting these price levels onto the chart, traders can visualize Overbought and Oversold zones in real-time, turning the RSI from a lagging confirmation tool into a leading price-target system.
Key Features
1. Multi-Timeframe (MTF) Projection The indicator allows you to map RSI levels from a higher timeframe onto your current chart. For example, you can view the 3-Hour RSI "Overbought" price levels while trading on a 5-minute chart. This creates distinct "stepped" support and resistance lines that remain valid for the duration of the higher timeframe's candle.
2. Dual Zone Logic The script projects two distinct bands of resistance and support:
Inner Zone (Early Warning): Defaults to RSI 69 / 31. This represents the initial threshold of over-extension.
Outer Zone (Extreme): Defaults to RSI 74 / 26. This represents statistical extremes where mean reversion probabilities are higher.
Zone Shading: The area between the Inner and Outer lines is shaded (Red for Resistance, Green for Support) to visually identify the "Reversal Zone."
3. Smart Wick & Rejection Filter (New) This version introduces a robust filtration system designed to reduce false signals during strong trending moves (often referred to as "falling knives").
How it works: The signal logic is Intra-bar Aware. It continuously asks two questions:
Did the price touch the zone? (Did the High/Low breach the Inner line?)
Did the price reject? (Did the candle Close back inside the neutral channel?)
The Result: Signals are generated only when the price tests the level but closes safely back inside the range. This captures both long-tail wick rejections (single bar) and trend reversals, while suppressing signals when the candle closes deep inside the Overbought/Oversold zones.
How to Interpret
Stepped Lines: These are the dynamic resistance (Red) and support (Green) levels based on the selected Timeframe's RSI.
Large Arrows (Deep Red / Lime Green): Triggered when price touches the Outer (Extreme) band and rejects/closes back below the Inner band.
Small Arrows (Standard Red / Green): Triggered when price touches the Inner (Early) band and rejects/closes back, but did not reach the Outer extreme.
Settings & Defaults
RSI Length: 23
Timeframe: 3 Hours (180 minutes)
Targets: 74/26 (Outer) and 69/31 (Inner)
Filter: "Wait for Confirmed Exit" is ON by default.
Disclaimer This tool is for informational and educational purposes only. RSI projections are mathematical calculations based on historical price averages and do not guarantee future market movements. Always use proper risk management.
𝙐𝙡𝙩𝙧𝙖 𝘼𝙡𝙜𝙤Ultra Algo एक multi-layer trend analysis system है जो price behavior, range expansion और trend flow ko combine करके साफ़ और structured market indications प्रदान करता है।
इसका उद्देश्य chart को simplify करके traders ko directional clarity aur disciplined analysis में मदद देना है।
Core Features
Trend direction aur strength identify करने वाला dynamic filter
Structured rules par आधारित automatic long/short indications
Pre-defined levels par आधारित take-profit markers
ATR logic par बना हुआ risk reference framework
Coral-based visual trend component jo market flow को smooth तरीके से दिखाता है
Use Case
यह system short-term से mid-term analysis tak किसी भी trading style के साथ उपयोग किया जा सकता है।
Script ka उद्देश्य:
✔ clearer structure
✔ reduced chart noise
✔ disciplined analysis
✔ better trend visibility
provide करना है ताकि user market movement ko zyada organized तरीके से समझ सके।
Important Note
Yeh tool discretionary decision-making ko replace nahi karta, balki chart-reading ko structured banane mein madad karta hai.
Dynamic Swing Retracement TrackerThis indicator automatically identifies potential reversal zones within trending markets by combining momentum-based directional filters with geometric price swing analysis.
Methodology:
Directional Bias Filter: Utilizes two exponential moving averages (configurable periods, default 50 and 200) as a momentum comparison mechanism. When the faster average exceeds the slower average, bullish bias is established; the inverse confirms bearish bias.
Automated Swing Recognition: The script continuously scans for local price extremes using pivot analysis with a user-defined lookback window (default 36 bars). These extremes become anchor points for calculating potential retracement zones.
Geometric Retracement Zones: Between each pair of swing extremes, the script calculates key mathematical ratios (0.5 and 0.618) to identify zones where price is statistically likely to find support or resistance during pullbacks. These zones are used for signal generation but remain invisible on the chart.
Signal Generation Logic:
Long entry signals appear when price retraces into calculated zones during bullish bias conditions
Short entry signals appear when price retraces into zones during bearish bias conditions
All signals require full candle confirmation to eliminate intra-bar noise
A customizable cooldown mechanism prevents signal clustering
Automated Risk Visualization:
Invalidation level (traditionally called "stop loss") placed beyond the most recent swing extreme, with adjustable pip buffer for spread accommodation
Three progressive target zones calculated using geometric extensions (1.618x, 2.0x, and 2.618x multiples of the original swing range)
All price levels displayed as horizontal reference lines spanning 20 bars (10 before, 10 after the signal candle
Technical Implementation:
Swing detection uses TradingView's built-in pivot functions with symmetric lookback
Retracement calculations based on classical golden ratio mathematics
Label positioning dynamically adjusts using Average True Range to maintain visibility across different volatility conditions
All drawing objects are refreshed on each bar to comply with platform object limits
Practical Application:
This tool is designed for traders who want to systematically identify counter-trend entries within established trends. Rather than manually drawing retracement levels, the indicator automates the process and provides immediate visual feedback on potential entry zones with pre-calculated risk and reward parameters.
Customization Options:
Momentum filter periods (default 50/200)
Swing detection sensitivity
Signal spacing controls
Risk buffer adjustment
Individual component visibility toggles
Important Notes:
This indicator does not predict future price movements. It identifies historical swing patterns and mathematically-derived levels based on past price action. All trading decisions should be made in conjunction with proper risk management and market analysis.
Smart Money Flow - Exchange & TVL Composite# Smart Money Flow - Exchange & TVL Composite Indicator
## Overview
The **Smart Money Flow (SMF)** indicator combines two powerful on-chain metrics - **Exchange Flows** and **Total Value Locked (TVL)** - to create a composite index that tracks institutional and "smart money" movement in the cryptocurrency market. This indicator helps traders identify accumulation and distribution phases by analyzing where capital is flowing.
## What It Does
This indicator normalizes and combines:
- **Exchange Net Flow** (from IntoTheBlock): Tracks Bitcoin/Ethereum movement to and from exchanges
- **Total Value Locked** (from DefiLlama): Measures capital locked in DeFi protocols
The composite index is displayed on a 0-100 scale with clear zones for overbought/oversold conditions.
## Core Concept
### Exchange Flows
- **Negative Flow (Outflows)** = Bullish Signal
- Coins moving OFF exchanges → Long-term holding/accumulation
- Indicates reduced selling pressure
- **Positive Flow (Inflows)** = Bearish Signal
- Coins moving TO exchanges → Preparation for selling
- Indicates potential distribution phase
### Total Value Locked (TVL)
- **Rising TVL** = Bullish Signal
- Capital flowing into DeFi protocols
- Increased ecosystem confidence
- **Falling TVL** = Bearish Signal
- Capital exiting DeFi protocols
- Decreased ecosystem confidence
### Combined Signals
**🟢 Strong Bullish (70-100):**
- Exchange outflows + Rising TVL
- Smart money accumulating and deploying capital
**🔴 Strong Bearish (0-30):**
- Exchange inflows + Falling TVL
- Smart money preparing to sell and exiting positions
**⚪ Neutral (40-60):**
- Mixed or balanced flows
## Key Features
### ✅ Auto-Detection
- Automatically detects chart symbol (BTC/ETH)
- Uses appropriate exchange flow data for each asset
### ✅ Weighted Composite
- Customizable weights for Exchange Flow and TVL components
- Default: 50/50 balance
### ✅ Normalized Scale
- 0-100 index scale
- Configurable lookback period for normalization (default: 90 days)
### ✅ Signal Zones
- **Overbought**: 70+ (Strong bullish pressure)
- **Oversold**: 30- (Strong bearish pressure)
- **Extreme**: 85+ / 15- (Very strong signals)
### ✅ Clean Interface
- Minimal visual clutter by default
- Only main index line and MA visible
- Optional elements can be enabled:
- Background color zones
- Divergence signals
- Trend change markers
- Info table with detailed metrics
### ✅ Divergence Detection
- Identifies when price diverges from smart money flows
- Potential reversal warning signals
### ✅ Alerts
- Extreme overbought/oversold conditions
- Trend changes (crossing 50 line)
- Bullish/bearish divergences
## How to Use
### 1. Trend Confirmation
- Index above 50 = Bullish trend
- Index below 50 = Bearish trend
- Use with price action for confirmation
### 2. Reversal Signals
- **Extreme readings** (>85 or <15) suggest potential reversal
- Look for divergences between price and indicator
### 3. Accumulation/Distribution
- **70+**: Accumulation phase - smart money buying/holding
- **30-**: Distribution phase - smart money selling
### 4. DeFi Health
- Monitor TVL component for DeFi ecosystem strength
- Combine with exchange flows for complete picture
## Settings
### Data Sources
- **Exchange Flow**: IntoTheBlock real-time data
- **TVL**: DefiLlama aggregated DeFi TVL
- **Manual Mode**: For testing or custom data
### Indicator Settings
- **Smoothing Period (MA)**: Default 14 periods
- **Normalization Lookback**: Default 90 days
- **Exchange Flow Weight**: Adjustable 0-100%
- **Overbought/Oversold Levels**: Customizable thresholds
### Visual Options
- Show/Hide Moving Average
- Show/Hide Zone Lines
- Show/Hide Background Colors
- Show/Hide Divergence Signals
- Show/Hide Trend Markers
- Show/Hide Info Table
## Data Requirements
⚠️ **Important Notes:**
- Uses **daily data** from IntoTheBlock and DefiLlama
- Works on any chart timeframe (data updates daily)
- Auto-switches between BTC and ETH based on chart
- All other crypto charts default to BTC exchange flow data
## Best Practices
1. **Use on Daily+ Timeframes**
- On-chain data is daily, most effective on D/W/M charts
2. **Combine with Price Action**
- Use as confirmation, not standalone signals
3. **Watch for Divergences**
- Price making new highs while indicator falling = warning
4. **Monitor Extreme Zones**
- Sustained readings >85 or <15 indicate strong conviction
5. **Context Matters**
- Consider broader market conditions and fundamentals
## Calculation
1. **Exchange Net Flow** = Inflows - Outflows (inverted for index)
2. **TVL Rate of Change** = % change over smoothing period
3. **Normalize** both metrics to 0-100 scale
4. **Composite Index** = (ExchangeFlow × Weight) + (TVL × Weight)
5. **Smooth** with moving average
## Disclaimer
This indicator uses on-chain data for analysis. While valuable, it should not be used as the sole basis for trading decisions. Always combine with other technical analysis tools, fundamental analysis, and proper risk management.
On-chain data reflects blockchain activity but may lag price action. Use this indicator as part of a comprehensive trading strategy.
---
## Credits
**Data Sources:**
- IntoTheBlock: Exchange flow metrics
- DefiLlama: Total Value Locked data
**Indicator by:** @iCD_creator
**Version:** 1.0
**Pine Script™ Version:** 6
---
## Updates & Support
For questions, suggestions, or bug reports, please comment below or message the author.
**Like this indicator? Leave a 👍 and share your feedback!**
ŞAHİ Ultra Hızlı v4SHAHI Ultra Fast v4 – Script Description
This script is an enhanced version of a classic 5/22 EMA crossover system, expanded with multiple technical filters to evaluate trend strength, momentum, volatility, and volume conditions in a single integrated tool. Its goal is to provide a more detailed and structured outlook on market behavior by combining several commonly used indicators.
Main Components
Buy and Sell signals based on the 5/22 EMA crossover
Trend structure support with EMA50 and EMA200
Momentum analysis using RSI and MACD
Trend strength measurement with ADX
Volatility tracking through ATR percentage
Relative volume compared to the 30-period average
Volume trend detection (short-term vs long-term volume comparison)
“Strong Buy” signal generated through multi-filter confirmation
Real-time calculation of profit percentage and bar duration
Score system (0–100) summarizing the overall technical setup
Dynamic table showing all key metrics in a clear and organized format
Purpose of the Tool
This script aims to help users evaluate the technical environment more effectively by merging multiple signals into a structured display. It highlights momentum shifts, volume strength, volatility conditions, and trend alignment—all in one place—making it easier to interpret potential opportunities.
Notes
This script is intended solely for technical analysis and educational use.
It does not provide financial advice, trade recommendations, or guaranteed signals.
Users should always conduct their own research before making decisions.
Kernel Channel [BackQuant]Kernel Channel
A non-parametric, kernel-weighted trend channel that adapts to local structure, smooths noise without lagging like moving averages, and highlights volatility compressions, expansions, and directional bias through a flexible choice of kernels, band types, and squeeze logic.
What this is
This indicator builds a full trend channel using kernel regression rather than classical averaging. Instead of a simple moving average or exponential weighting, the midline is computed as a kernel-weighted expectation of past values. This allows it to adapt to local shape, give more weight to nearby bars, and reduce distortion from outliers.
You can think of it as a sliding local smoother where you define both the “window” of influence (Window Length) and the “locality strength” (Bandwidth). The result is a flexible midline with optional upper and lower bands derived from kernel-weighted ATR or kernel-weighted standard deviation, letting you visualize volatility in a structurally consistent way.
Three plotting modes help demonstrate this difference:
When the midline is shown alone, you get a smooth, adaptive baseline that behaves almost like a regression moving average, as shown in this view:
When full channels are enabled, you see how standard deviation reacts to local structure with dynamically widening and tightening bands, a mode illustrated here:
When ATR mode is chosen instead of StdDev, band width reflects breadth of movement rather than variance, creating a volatility-aware envelope like the example here:
Why kernels
Classical moving averages allocate fixed weights. Kernels let the user define weighting shape:
Epanechnikov — emphasizes bars near the current bar, fades fast, stable and smooth.
Triangular — linear decay, simple and responsive.
Laplacian — exponential decay from the current point, sharper reactivity.
Cosine — gentle periodic decay, balanced smoothness for trend filters.
Using these in combination with a bandwidth parameter gives fine control over smoothness vs responsiveness. Smaller bandwidths give sharper local sensitivity, larger bandwidths give smoother curvature.
How it works (core logic)
The indicator computes three building blocks:
1) Kernel-weighted midline
For every bar, a sliding window looks back Window Length bars. Each bar in this window receives a kernel weight depending on:
its index distance from the present
the chosen kernel shape
the bandwidth parameter (locality)
Weights form the denominator, weighted values form the numerator, and the resulting ratio is the kernel regression mean. This midline is the central trend.
2) Kernel-based width
You choose one of two band types:
Kernel ATR — ATR values are kernel-averaged, producing a smooth, volatility-based width that is not dependent on variance. Ideal for directional trend channels and regime separation.
Kernel StdDev — local variance around the midline is computed through kernel weighting. This produces a true statistical envelope that narrows in quiet periods and widens in noisy areas.
Width is scaled using Band Multiplier , controlling how far the envelope extends.
3) Upper and lower channels
Provided midline and width exist, the channel edges are:
Upper = midline + bandMult × width
Lower = midline − bandMult × width
These create smooth structures around price that adapt continuously.
Plotting modes
The indicator supports multiple visual styles depending on what you want to emphasize.
When only the midline is displayed, you get a pure kernel trend: a smooth regression-like curve that reacts to local structure while filtering noise, demonstrated here: This provides a clean read on direction and slope.
With full channels enabled, the behavior of the bands becomes visible. Standard deviation mode creates elastic boundaries that tighten during compressions and widen during turbulence, which you can see in the band-focused demonstration: This helps identify expansion events, volatility clusters, and breakouts.
ATR mode shifts interpretation from statistical variance to raw movement amplitude. This makes channels less sensitive to outliers and more consistent across trend phases, as shown in this ATR variation example: This mode is particularly useful for breakout systems and bar-range regimes.
Regime detection and bar coloring
The slope of the midline defines directional bias:
Up-slope → green
Down-slope → red
Flat → gray
A secondary regime filter compares close to the channel:
Trend Up Strong — close above upper band and midline rising.
Trend Down Strong — close below lower band and midline falling.
Trend Up Weak — close between midline and upper band with rising slope.
Trend Down Weak — close between lower band and midline with falling slope.
Compression mode — squeeze conditions.
Bar coloring is optional and can be toggled for cleaner charts.
Squeeze logic
The indicator includes non-standard squeeze detection based on relative width , defined as:
width / |midline|
This gives a dimensionless measure of how “tight” or “loose” the channel is, normalized for trend level.
A rolling window evaluates the percentile rank of current width relative to past behavior. If the width is in the lowest X% of its last N observations, the script flags a squeeze environment. This highlights compression regions that may precede breakouts or regime shifts.
Deviation highlighting
When using Kernel StdDev mode, you may enable deviation flags that highlight bars where price moves outside the channel:
Above upper band → bullish momentum overextension
Below lower band → bearish momentum overextension
This is turned off in ATR mode because ATR widths do not represent distributional variance.
Alerts included
Kernel Channel Long — midline turns up.
Kernel Channel Short — midline turns down.
Price Crossed Midline — crossover or crossunder of the midline.
Price Above Upper — early momentum expansion.
Price Below Lower — downward volatility expansion.
These help automate regime changes and breakout detection.
How to use it
Trend identification
The midline acts as a bias filter. Rising midline means trend strength upward, falling midline means downward behavior. The channel width contextualizes confidence.
Breakout anticipation
Kernel StdDev compressions highlight areas where price is coiling. Breakouts often follow narrow relative width. ATR mode provides structural expansion cues that are smooth and robust.
Mean reversion
StdDev mode is suitable for fade setups. Moves to outer bands during low volatility often revert to the midline.
Continuation logic
If price breaks above the upper band while midline is rising, the indicator flags strong directional expansion. Same logic for breakdowns on the lower band.
Volatility characterization
Kernel ATR maps raw bar movements and is excellent for identifying regime shifts in markets where variance is unstable.
Tuning guidance
For smoother long-term trend tracking
Larger window (150–300).
Moderate bandwidth (1.0–2.0).
Epanechnikov or Cosine kernel.
ATR mode for stable envelopes.
For swing trading / short-term structure
Window length around 50–100.
Bandwidth 0.6–1.2.
Triangular for speed, Laplacian for sharper reactions.
StdDev bands for precise volatility compression.
For breakout systems
Smaller bandwidth for sharp local detection.
ATR mode for stable envelopes.
Enable squeeze highlighting for identifying setups early.
For mean-reversion systems
Use StdDev bands.
Moderate window length.
Highlight deviations to locate overextended bars.
Settings overview
Kernel Settings
Source
Window Length
Bandwidth
Kernel Type (Epanechnikov, Triangular, Laplacian, Cosine)
Channel Width
Band Type (Kernel ATR or Kernel StdDev)
Band Multiplier
Visuals
Show Bands
Color Bars By Regime
Highlight Squeeze Periods
Highlight Deviation
Lookback and Percentile settings
Colors for uptrend, downtrend, squeeze, flat
Trading applications
Trend filtering — trade only in direction of the midline slope.
Breakout confirmation — expansion outside the bands while slope agrees.
Squeeze timing — compression periods often precede the next directional leg.
Volatility-aware stops — ATR mode makes channel edges suitable for adaptive stop placement.
Structural swing mapping — StdDev bands help locate midline pullbacks vs distributional extremes.
Bias rotation — bar coloring highlights when regime shifts occur.
Notes
The Kernel Channel is not a signal generator by itself, but a structural map. It helps classify trend direction, volatility environment, distribution shape, and compression cycles. Combine it with your entry and exit framework, risk parameters, and higher-timeframe confirmation.
It is designed to behave consistently across markets, to avoid the bluntness of classical averages, and to reveal subtle curvature in price that traditional channels miss. Adjust kernel type, bandwidth, and band source to match the noise profile of your instrument, then use squeeze logic and deviation highlighting to guide timing.
Continuation / Reversal Sweep (WMA trend)marks hh ll
reversals
continuiation
htf analyisis to enter in ltf
Oracle Pivot Engine (OPE) — @darshaksscThe Oracle Pivot Engine (OPE) is a market-structure visualization tool that derives all its levels exclusively from historical price data — specifically, the previous day’s high, low, and mid-range.
It does not provide signals, alerts, entries, exits, predictions, or trade recommendations.
Instead, it creates a non-repainting reference framework that helps users observe how the current session interacts with the prior session’s completed price structure.
All calculations are analytical, static, and based on fully closed candles.
🧠 How It Works (Core Logic Explained)
OPE computes the following values from the completed prior daily candle:
Prior-Day High
Prior-Day Low
Prior-Day Midpoint
Displacement Range = High − Low
This displacement range is used to generate symmetrical upward and downward reference zones.
These levels do not update during the session.
They refresh only once per day when a new daily candle closes.
This ensures the indicator remains fully non-repainting and stable on every intraday chart.
📐 Reference Levels Generated
Using the fixed prior-day displacement range, OPE plots:
1. BUY-Side Reference Map (Upward Bias)
BUY Reference Entry
BUY Reference Stop
BUY T1
BUY T2
BUY T3
BUY T4
BUY T5
BUY T6
These are not trade signals — they are mathematical extensions above the prior-day midpoint for structural interpretation only.
2. SELL-Side Reference Map (Downward Bias)
SELL Reference Entry
SELL Reference Stop
SELL T1
SELL T2
SELL T3
SELL T4
SELL T5
SELL T6
Again, these levels are not directives.
They are mirrored displacement extensions below the prior-day midpoint.
📊 Pivot Zone & Bands
The indicator includes optional visual layers derived from the same prior-day pivots:
Pivot High–Low Zone Shading → shows the prior-day full range
Pivot Midline → prior-day mid-price
Outer Displacement Bands → extended contextual boundaries
These are purely visual boundaries meant to improve market context.
🧾 Dashboard / HUD Explanation
A compact on-chart HUD summarizes all values.
It displays:
Section | Information (All Historical)
Prior-Day Pivots | High, Low, Mid, Range
BUY Map | Entry, Stop, T1–T6
SELL Map | Entry, Stop, T1–T6
The HUD allows you to quickly review:
Where the current price is relative to the previous day’s structure
How far price is from each level
Whether the session is operating inside or outside the prior-day displacement zones
Everything shown is static, non-repainting , and for reference only .
📊 How to Analyze It
✔ 1. Contextual Awareness
OPE helps users visually compare current intraday price to prior daily structure.
You can observe whether price is:
Inside yesterday’s high/low zone
Above the prior-day displacement
Below the prior-day displacement
This offers a clearer understanding of daily context and volatility.
✔ 2. Structural Symmetry
The BUY-side and SELL-side maps extend from the same pivot logic.
This can help visualize:
Expansion away from the prior-day midpoint
Compression within the prior-day range
Symmetrical displacement around key reference levels
Again — these are observational insights , not signals.
✔ 3. Range Interaction
As the session unfolds, users often study:
How price reacts around prior-day midpoint
Whether price is gravitating toward or away from the displacement levels
How intraday swings behave within these historical boundaries
This type of analysis is contextual , not predictive.
⚠️ Important Disclosures
This script does NOT generate trading signals.
It does NOT predict future price movement.
It does NOT contain advice, instructions, recommendations, or strategies.
All levels are derived exclusively from historical daily candle data .
This is strictly an informational visualization tool meant to support chart analysis.
Past price levels do not guarantee any future price behavior.
🛑 Disclaimer
This indicator is provided solely for educational and informational purposes.
It should not be interpreted as financial advice or a call to action of any kind.
Users should apply independent judgment and discretion when analyzing markets.
Alt Trading: Regime Detection
A clean, high-performance trend and regime-detection indicator powered by volatility-based analytics. It features an intuitive on-chart status table that identifies favorable conditions for long setups, short setups, or periods where staying flat is might be optimal—helping traders align their strategy with evolving market dynamics.
Options Strategy Engine (RS)Options Strategy Engine — Invite-Only Script
Overview
The Options Strategy Engine is an automated decision system for Indian index options ( NIFTY, BANKNIFTY, FINNIFTY & SENSEX ).
It reads live market conditions and instantly suggests the most suitable options strategy based on volatility, trend, support–resistance, expiry timing, and risk environment .
What the Engine Does (High-Level Overview)
It automatically scans:
* Volatility :VIX, IV percentile, expected range
* Trend: EMA, ADX strength, trending vs ranging
* Market Structure: Support/resistance, ATR, breakout conditions
* Context: Days to expiry, weekend effect, expiry week, hedge necessity
Based on this, the engine selects one actionable, liquid, risk-defined strategy.
Possible Strategy Outputs
* Directional: Bull Call Spread, Bear Put Spread, Bull Put Spread, Bear Call Spread, Ratio Spreads
* Neutral: Iron Fly, Iron Condor, Hedged Straddle/Strangle
* Volatility: Long Straddle, Call/Put Calendars
* Delta-Neutral: DN-1, DN-2, DN-3
* Special: Weekend 3-Leg Straddle, Expiry Iron Fly, Breakout Spreads
Key Features
* Auto strategy selection — no manual input needed
* Auto strikes: ATM + OTM wings based on index step
* POP (Probability of Profit) estimate
* Margin estimate & lot guidance
* Built-in Greeks
* Smart stoploss row (turns RED if breached)
* Clean right-side dashboard showing all details at a glance
Important
* All suggested structures are hedged
* Not a buy/sell signal tool
* For education & research only
* No guaranteed returns
🔒 Invite-Only Access
To request access:
1. Send your TradingView username
2. Send the request to:
📩 ritu.roo@gmail.com
Your TradingView ID will be added manually.
Unauthorized sharing, copying, or redistribution of this script is strictly prohibited.
Trend Architect OverlaysOverview
Trend Architect Overlays is a comprehensive technical analysis suite that combines multiple advanced overlay indicators into a single tool. Designed for traders who want a clean, professional chart with powerful trend identification, dynamic channels, and intelligent candle coloring, this indicator adapts to your trading style with configurable components.
The indicator features four main components that work together to provide a complete market analysis framework:
Trend Cloud - Volatility-adaptive cloud for trend identification
Moving Average Ribbon - Dual moving average lines for dynamic support/resistance
B3AR's Super Channel - Multi-function channel with adaptive width
Intelligent Candle Coloring - Five different algorithms for visual trend analysis
Each component can be enabled or disabled independently, allowing you to create the perfect setup for your trading strategy.
---
Color Profile System
Before diving into individual tools, it's important to understand the color profile system that unifies all visual elements of the indicator. Choose from 7 distinct color profiles. The selected color profile automatically applies to all indicator components, ensuring visual consistency across your chart.
Trend Cloud
What It Is
The Trend Cloud is an adaptive overlay that uses multiple moving averages to create a dynamic zone representing the market's trend strength and direction. Unlike traditional moving average clouds, this cloud automatically adjusts its width based on market momentum and volatility.
Not only does the Trend Cloud effectively identify trend direction, but it also acts as a strong support and resistance area.
How to Use It
1. Trend Identification: Use the cloud color and price position to identify the primary trend
2. Support/Resistance: The cloud edges act as dynamic support (in uptrends) and resistance (in downtrends)
3. Trend Strength: Monitor cloud width - expanding clouds suggest momentum building, contracting clouds suggest momentum fading
4. Entry Signals: Look for pullbacks to the cloud edge during strong trends
5. Exit Signals: Consider exits when price crosses through the cloud against the trend
Pro Tips
- Combine with Moving Average Ribbon for confluence at key levels
- Use the cloud as a "trend filter" - only take trades in the direction of the cloud color
- Watch for "cloud flips" (color changes) as potential trend reversal signals
- A relatively flat Trend Cloud can be interpreted as a ranging market
Moving Average Ribbon
What It Is
The Moving Average Ribbon consists of two Arnaud Legoux Moving Average (ALMA) lines that create a dynamic ribbon for identifying trend direction and strength. ALMA is known for its reduced lag and smoother response compared to traditional moving averages.
How It Works
Both lines use the same base length but different offset and sigma parameters to create a subtle separation that forms a ribbon. The space between them fills with color to create a visual ribbon effect.
How to Use It
1. Trend Direction: The ribbon color indicates the current trend direction
2. Dynamic Support/Resistance: The ribbon edges act as support in uptrends and resistance in downtrends
3. Momentum Gauge: Width between the lines indicates trend strength
4. Crossover Signals: When the lines cross, it suggests a potential trend change
5. Pullback Entries: Look for price to touch the ribbon during trends as entry opportunities
Pro Tips
- Lower ribbon length (10-15) for faster, more responsive signals on lower timeframes
- Higher ribbon length (30-50) for smoother signals on higher timeframes
- Use ribbon color as a "permission slip" - only take longs when ribbon is bullish
- Watch for price to "respect" the ribbon - bounces off the ribbon confirm trend strength
B3AR's Super Channel
What It Is
B3AR's Super Channel is an advanced dynamic channel that combines multiple momentum and volatility calculations into a single adaptive channel. The channel includes special highlights when price is especially overbought or oversold.
How to Use It
1. Dynamic Support/Resistance: Use channel lines as key levels for entries and exits
2. Overbought/Oversold: Price at channel extremes suggests potential mean reversion
3. Trend Confirmation: During strong trends, price will "ride" one edge of the channel
4. Breakout Detection**: Price breaking outside the channel suggests unusual strength/weakness
Pro Tips
- Use highlighted lines as extreme caution zones - reversals are likely
- Combine with Trend Cloud - when both agree, signals are stronger
- In ranging markets, fade extremes (buy at bottom, sell at top)
- In trending markets, use channel as trailing stop
- Increase ATR Distance in volatile markets, decrease in calm markets
Intelligent Candle Coloring
What It Is
Intelligent Candle Coloring replaces standard candle colors with algorithm-driven colors that reveal the underlying market structure. Five different methods are available, each analyzing different market characteristics.
Method 1 : None
Standard candle coloring - use this if you prefer traditional candle colors.
Method 2 : CVD Trend Algo (Rule-Based)
This method uses Cumulative Volume Delta (CVD) combined with Heikin Ashi smoothing and Kalman filtering to create a sophisticated trend-following color system.
Method 3 : CVD Trend Simple (Size-Based)
Similar to CVD Trend Algo but uses Z-score analysis instead of rules for color assignment.
Method 4 : CVD Raw
A simplified version that uses raw CVD percentile ranking for immediate visual feedback.
Method 5 : Volatility Adaptive
Uses Kaufman's Adaptive Moving Average to color candles based on adaptive trend strength.
How It Works:
- Calculates three KAMA lines (fast, medium, slow)
- Colors determined by the relationship between these KAMAs
Method 6: Trend Strength (TRAMA)
Uses Triangular Moving Average with ATR-based adaptation for trend strength analysis.
How It Works:
- Calculates three TRAMA lines (fast, medium, slow) that adapt to volatility
- Similar logic to KAMA method but more responsive to volatility changes
Pro Tips
- CVD methods work best on liquid assets with high volume
- Adaptive methods (KAMA/TRAMA) work better on trending markets
- Match the method to your timeframe: CVD Raw for scalping, CVD Trend Algo for swing trading
- Use weak colors as warnings - trend may be losing steam
---
Credits and Disclaimers
This indicator combines numerous advanced technical analysis techniques into a cohesive overlay system. The B3AR's Super Channel component incorporates proprietary oscillator consensus methodology.
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Past performance does not guarantee future results. Always conduct your own analysis and risk management before making trading decisions.
Golden CrossoverThis gives you and indication on chart whenever we have a cross over of EMAs of choice...
MAHI Indicator v9.5 - Smart Momentum HUD + IntradayMAHI Indicator v9.5 — Smart Momentum HUD (Multi-Framework + Intraday Engine)
A Complete Momentum, Trend, and Setup Framework for Swing, Position & Intraday Traders
MAHI v9.5 is the most advanced version yet — a highly optimized, visual, multi-framework trading system that blends momentum, trend alignment, adaptive setup detection, and now Auto-Intraday Mode for short-term traders.
This indicator acts like a Heads-Up Display (HUD) on your chart: it shows trend strength, squeeze zones, dynamic support/resistance, EMAs, setup validation, and early reversal signals in one clean interface — without clutter.
✔ Core Features
📌 1. Smart Momentum Ribbon
A dynamic EMA-based momentum band that visually shifts as trend strength changes.
Helps identify strong vs. weak momentum zones
Adapts to volatility & trend slope
Works on all timeframes (1m to 1M)
📌 2. EMA 9 → 21 Flip System
A precision trend-switching signal:
EMA 9 → 21 BULL = early bullish momentum
EMA 9 → 21 BEAR = early bearish momentum
More reliable than stand-alone MA crossovers
📌 3. Bullish Setup Engine (Standard + Weak)
Automatically identifies when price is entering a reversal-ready state based on:
Position relative to the ribbon
Candle structure
Momentum compression
Slope + exhaustion conditions
Includes:
Bull Setup (Standard) — Higher probability setup
Bull Setup (Weak) — Early or less developed setup
Setup Invalidated — Confirms that the pattern failed
This prevents false confidence & keeps traders disciplined.
📌 4. Strong Buy / Strong Sell Signals
Only appear when multiple confirmations align:
Ribbon bias
EMA slope
Momentum compression
Trend alignment
Filtered to remove noise — especially in lower timeframes.
📌 5. Multi-Timeframe Trend HUD
Top-right panel summarizing:
Overall Trend (Bullish, Bearish, Neutral)
RSI Condition
Daily vs Weekly Alignment
Trading Mode Suggestions (Buy / Sell / LEAPS / Neutral)
This gives instant context.
📌 6. Auto Intraday Engine (NEW in v9.5)
Automatically switches internal logic when you move into intraday timeframes (1m–30m):
Intraday Enhancements:
Adaptive setup detection
Faster momentum sensitivity
EMAs tuned for scalp/swing precision
Tighter invalidation logic
Reduced false positives
Optional strict filtering
Perfect for scalping, day trading & micro-trends
Works instantly — no settings needed.
Just change the chart timeframe and MAHI adjusts.
📌 7. Dynamic High-Timeframe Support (W & M)
Auto-layers weekly & monthly levels:
Helps identify strong bounce zones
Extremely useful for swing & LEAPS traders
📌 8. Weekly Volume Shelf Projection
Lightweight VWAP-style level based on weekly volume aggregation.
Shows probable bottoming areas during pullbacks.
✔ Who This Indicator Is For
Perfect for:
Day traders
Swing traders
Momentum riders
LEAPS & long-term investors
Beginner traders needing a structured system
MAHI adapts to your timeframe and trading style.
✔ Why MAHI Works
MAHI isn’t a single-signal indicator — it’s a framework.
It combines:
Trend
Momentum
Volatility
Setup pattern detection
Validation & invalidation
Multi-timeframe alignment
Dynamic zones
Intraday optimization
This eliminates guesswork and helps traders avoid the emotional traps that cause most losses.
You don’t just get a signal — you get context.
✔ How to Use It
Follow the ribbon bias
Use EMA 9→21 flips as trend confirmation
Look for Bull Setup tags during pullbacks
Avoid trades when you see Setup Invalidated
Respect weekly/monthly HTF support levels
On intraday charts — rely on auto-optimized mode
For swing entries, combine setups with HTF trend HUD
MAHI gives the map. You choose the path.
✔ Final Notes
This version is heavily optimized for performance, clarity, and high-probability signals.
MAHI does not repaint, and works on all assets including:
Stocks
Crypto
ETFs
Forex
Futures
NAS Oracle AlgoThe NAS Oracle Algo is a powerful and versatile daily trading indicator designed to provide clear, automated support and resistance levels for both long and short trading strategies. By calculating a dynamic range based on the previous day's price action, it projects key entry points, stop-losses, and up to six profit targets onto your chart, giving you a complete roadmap for the trading day.
Key Features:
Dual-Sided Strategy: Generates independent levels for BUY and SELL setups, making it effective for both directional and range-bound markets.
Customizable Reference Point: Choose between using the current day's "Open" or the previous day's "Pre Close" as the base for all calculations.
Comprehensive Levels:
Entry Level: The price level to execute a trade.
Stop Loss: A predefined level to limit potential losses.
Profit Targets (1-6): Six incremental take-profit levels, allowing for partial profit-taking strategies.
Multiple Display Options:
Visual Levels & Labels: Clean horizontal lines and text labels are drawn directly on the chart for easy price reference.
Information Table: A highly customizable data table that summarizes all key levels, which can be positioned at the Top or Bottom of the chart and resized.
Flexible Configuration: Toggle the visibility of levels and choose to show either 3 or 6 profit targets to suit your trading style and avoid chart clutter.
How to Use:
Add the Indicator: Apply the "NAS Oracle Algo" to your chart. It works best on daily and intraday timeframes.
Configure Settings: In the indicator's settings, choose your preferred Option (Open/Pre Close), toggle levels and the table on/off, and adjust their position and size.
Interpret the Signals:
BUY Setup: When the price moves above the green "Buy Above" level, consider a long entry.
Stop Loss: Place your stop loss at the BUY_SL level.
Take Profit: Scale out of your position at the six progressively higher target levels (T1 to T6).
SELL Setup: When the price moves below the red "Sell Below" level, consider a short entry.
Stop Loss: Place your stop loss at the SELL_SL level.
Perfect Trend EMAs (9-21-50-100)This indicator provides a clear, color-coded visual representation of trend strength based on the alignment of four Exponential Moving Averages (EMAs). It is designed to help traders identify "Perfect Trend" setups, where momentum is fully aligned across multiple timeframes, and filter out choppy or ranging markets.
How it Works (The Logic) The indicator plots four distinct EMAs (default lengths: 9, 21, 50, and 100). Instead of simply looking for crossovers, this script analyzes the hierarchical stacking of these averages to determine the market state.
The color coding follows these specific rules:
🟢 Bullish Alignment (Green): This occurs only when there is a "Perfect Bullish" stack.
Logic: EMA 9 > EMA 21 > EMA 50 > EMA 100
Interpretation: Short-term momentum is stronger than long-term momentum, indicating a strong uptrend.
🔴 Bearish Alignment (Red): This occurs only when there is a "Perfect Bearish" stack.
Logic: EMA 9 < EMA 21 < EMA 50 < EMA 100
Interpretation: Short-term momentum is weaker than long-term momentum, indicating a strong downtrend.
⚪ Consolidation / Transition (Gray):
Logic: Any other combination.
Interpretation: The moving averages are intertwined or not perfectly aligned. This usually signals a ranging market, a consolidation phase, or the early stages of a trend reversal before the alignment is confirmed.
Features
Dynamic Coloring: All EMA lines change color simultaneously to provide an instant visual signal of the market state.
Visual Fill: A soft background fill is applied between the fastest (9) and slowest (100) EMA to create a "Trend Cloud," making it easier to spot the expansion and contraction of the trend.
Customization: Users can adjust the lengths of all four EMAs in the settings menu to fit different trading styles (e.g., changing to 20/50/100/200).
How to Use
Trend Following: Traders can look for the lines to turn Green or Red to confirm a trend entry.
Filtering Noise: The Gray zones serve as a filter. If the lines are Gray, the trend is not fully established, suggesting caution or a "wait and see" approach.
Exits: A change from Green/Red back to Gray can act as an early warning sign that the trend momentum is fading.
Bitcoin Relative Macro StrengthBTC Relative Macro Strength
Overview
The BTC Relative Macro Strength indicator measures Bitcoin's price strength relative to the global macro environment. By tracking deviations from the macro trend, it identifies potentially overvalued and undervalued market phases.
The global macro trend is derived by multiplying the ISM PMI (a widely-used proxy for the business cycle) by a simplified measure of global liquidity.
Calculations
Global Liquidity = Fed Balance Sheet − Reverse Repo − Treasury General Account + U.S. M2 + China M2
Global Macro Trend = ISM PMI × Global Liquidity
Understanding the Global Macro Trend
The global macro trend plot combines the ebb and flow of global liquidity with the cyclical patterns of the business cycle. The resulting composite exhibits strong directional correlation with Bitcoin—or more precisely, Bitcoin appears to move in lockstep with liquidity conditions and business cycle phases.
This relationship has strengthened notably since COVID, likely because Bitcoin's growing market capitalization has increased its exposure to macro forces.
The takeaway is that Bitcoin is acutely sensitive to growth in the money supply (it trends with liquidity expansion) and oscillates with the phases of the business cycle.
Indicator Components
📊 Histogram: BTC/Macro Change
Displays the rolling percentage change of Bitcoin's price relative to the global macro trend.
High values: Bitcoin is outpacing macro conditions (potentially overvalued)
Low values: Bitcoin is underperforming macro conditions (potentially undervalued)
Color scheme:
🟢 Green = Positive deviation
🔴 Red = Negative deviation
📈 Macro Slope Line
Plots the scaled percentage change of the global macro trend itself.
Color scheme:
🔵 Teal = BULLISH (slope positive and rising)
⚪ Gray = NEUTRAL (slope and trend disagree)
🟣 Pink = BEARISH (slope negative and falling)
FieldDescription
BTC/Macro Change : Percentage change of Bitcoin's price vs. the Global Macro Trend (default: 21-bar average)
Macro Trend : Composite assessment combining slope direction and trend momentum. Reads BULLISH when both align upward, BEARISH when both align downward, NEUTRAL when they disagree
Macro Slope : The global macro trend's average slope expressed as a percentage
BTC Valuation : Relative valuation category based on BTC/Macro deviation (Extreme Premium → Extreme Discount)
BTC Price : Current Bitcoin price
How to Use
This indicator is primarily useful for identifying market phases where Bitcoin's price has diverged from the global macro trend.
Identify extremes : Look for periods when the histogram reaches elevated positive or negative levels
Assess valuation : Use the BTC Valuation reading to gauge relative over/undervaluation
Confirm with trend : Check whether macro conditions support or contradict the current price level
Mean reversion : Consider that significant deviations from trend historically tend to revert
Note: This indicator identifies relative valuation based on macro conditions—it does not predict price direction or timing.
Settings
Lookback Period - 21 bars - Number of bars for calculating rolling averages
Macro Slope Scale - 3.0 - Multiplier for macro slope line visibility
Trend TraderMost trend indicators don’t offer continuation signals or accurate bounce points, so I created this indicator that uses one of the most common trading levels (EMAs). This indicator uses the 50, 100, and 200 EMAs along with WaveTrend signals to trade trends. Buy Signals are filtered so that they only show up when the 100 EMA is above the 200. And Inverse for Sell Signals.
This indicator works well with both Stocks and Crypto. Default settings work best on 15 min, 1H, 2H, and 4H.
(Chart examples are using Heikin Ashi Candles, on Log Scale.)
*Buy and Sell Signals do not repaint.
Settings:
- Ability to show all buy and sell signals regardless of trend.
- To change the sensitivity of the buy and sell signals, change the “Average Length”
- (The lower the number the more sensitive, the higher the number the less they pop up)
- Ability to change EMA Lengths
imgur.com
Trend CompassAbout This Script
Trend Compass Pro is a multi-layered market analysis tool designed to unify three essential components of price behavior: momentum, trend strength, and directional structure.
It is built to provide traders with a clear and readable visualization of market conditions without relying on external scripts or unnecessary visual clutter.
How It Works
1. Momentum Layer — RSI
The script uses a fast-period Relative Strength Index (RSI) to measure short-term momentum sensitivity.
Its line is dynamically colored based on candle direction (bullish, bearish, neutral), which makes momentum shifts easy to interpret at a glance.
2. Strength Layer — ADX
The next layer applies a standard ADX calculation to measure the strength of the prevailing trend, independent of direction.
A threshold level marks when the trend becomes strong or meaningful.
The ADX line is also color-synchronized with candle direction to highlight moments when trend strength aligns with price momentum.
A visual fill between the RSI and ADX lines appears when both layers agree — green for bullish strength, red for bearish strength.
3. Direction Layer — Trend Compass (Original Logic)
This is the core component of the script and is fully original.
It works by comparing a fast EMA with a slow EMA across three separate internal timeframes, representing:
Short-term trend
Medium-term trend
Long-term trend
Each timeframe outputs a simple directional state based on EMA spread, displayed as three horizontal color-coded bands (levels 25, 50, 75).
These colors show when trend direction is aligned or mixed across different timescales.
Why These Elements Are Combined
The script is not a random combination of indicators.
Each layer solves a distinct analytical need:
RSI → short-term market mood
ADX → strength behind the move
Trend Compass → structural direction across multiple trend horizons
Together, they provide a consolidated and readable picture of how direction, strength, and momentum interact.
How to Use It
When all three layers show bullish agreement → strong and confirmed uptrend
When all three align bearish → strong downtrend
When mixed → transitional or weak environment
When Trend Compass is neutral → market lacks directional structure
This makes the script suitable for trend trading, breakout confirmation, and momentum-aligned entries.
Publishing Notes
A clean chart was used when publishing this script.
No additional indicators or unrelated drawings were included.
All visible elements originate directly from the script and serve the purpose of understanding its function.
Trend Compass combines momentum (RSI), trend strength (ADX), and multi-timeframe direction (EMA-based Trend Compass) into a single clean panel.
The script highlights periods when momentum and strength agree and shows trend direction across three internal time horizons.
It offers a clear way to confirm trend continuation, strength, and reversals without clutter.
Unlock a complete trend-reading system with Trend Compass — a smart fusion of RSI momentum, ADX strength, and a unique triple-layer trend engine.
Identify strong trends instantly, filter noise, and trade only when momentum, strength, and direction align.
MTF Trend Alignment (4H, 1H, 15M)This indicator tells you about market direction by analyzing the trend on 4H, 1H, and 15M time frame. This is best suitable when you want to do multi timeframe analysis to identify the trend
Opening Range Box, 2 SessionsOpening Range & Session Box Indicator
This indicator automatically draws Opening Range (OR) boxes and Session Boxes based on specific time zone settings, helping you visualize key trading periods across different global markets.
Key Features:
Custom Sessions: Define two independent trading sessions (e.g., New York and London).
Time Zone Selection: Choose the exact time zone for each session from a simple dropdown menu, ensuring accurate session mapping regardless of your chart's time zone.
Opening Range Definition: The initial portion of each session (defined by the Opening Range Minutes input) establishes the high and low of the box.
Offset Lines: Automatically draws two percentage offset lines inside the box, allowing you to easily track price movement relative to the Opening Range high and low (e.g., 10% retracement levels).
How to Use the Inputs:
Session A/B Timezone - Select the time zone for Session A (e.g., America/New_York).
Session A/B Time - Define the start and end time for Session A (e.g., 0930-1600).
Opening Range Minutes - Set how long the initial opening range period lasts (e.g., 30 minutes).
Percent from High/Low for Line - Set the percentage distance for the inner offset lines (e.g., 10.0 for 10% retracement).
Number of Boxes to Show - Controls the number of historical session boxes and lines that remain visible on the chart.
Larry Williams COT Analysis Enhanced [tradeviZion]Larry Williams COT Analysis Enhanced - Complete Description
📖 Introduction
Welcome to the Larry Williams COT Analysis Enhanced indicator. This comprehensive description explains every setting, feature, and capability of this advanced Commitments of Traders (COT) analysis tool.
This indicator implements Larry Williams' professional COT analysis methodology with enhanced features including statistical validation, combination analysis, and adaptive signal generation.
---
🎯 Quick Start
Add the indicator to your chart
The script will automatically detect your symbol's CFTC code and asset type
Review the main COT analysis table (displayed by default)
Customize settings based on your trading style
Review the Trading Edge & Signals section for signal information
---
⚙️ Settings Groups Overview
The indicator is organized into 9 logical groups of settings:
1. Core COT Settings - Data source and report configuration
2. Analysis Parameters - Calculation methods and lookback periods
3. Signal Generation - Buy/sell signals and trend weighting
4. Plot Display Settings - Visual customization of chart lines
5. Smoothing Settings - Data smoothing options
6. COT Proximity Index Settings - Price-based proxy indicator configuration
7. Common Table Settings - Shared table appearance
8. Main Table Display Settings - Main analysis table customization
9. Historical Comparison Settings - Historical data table configuration
---
📋 Group 1: Core COT Settings
COT Report Type
Options: Legacy | Disaggregated | Financial
What it is: Selects the type of COT report data to analyze.
Legacy - Traditional COT report format. Recommended for most users. Uses "Commercial Positions" and "Noncommercial Positions" metrics. Shows Commercial, Non-Commercial, and Small Speculator positions in the classic format.
Commercials: "Commercial Positions"
Speculators: "Noncommercial Positions"
Small Specs: "Nonreportable Positions"
Disaggregated - Separates managed money from other speculators. Uses different metrics than Legacy format.
Commercials: "Producer Merchant Positions"
Speculators: "Managed Money Positions"
Small Specs: "Nonreportable Positions"
Important: When using Disaggregated report type, the table will still show "Non-Comm" as the label, but the data displayed is actually " Managed Money Positions " (hedge funds and CTAs). The underlying data changes based on your report type selection, even though the table label remains "Non-Comm" for consistency.
Where you'll see this data:
📊 Current Positions section - The "Non-Comm" row shows Managed Money long, short, and net positions
📊 Open Interest Analysis section - "Non-Comm" net changes reflect Managed Money position changes
📈 Analysis section - "Non-Comm" percentile and LW Index values are calculated from Managed Money positions
Chart plots - The blue "Non-Commercial" line shows Managed Money net positions
Useful when you want to analyze hedge funds (Managed Money) separately from other large speculators. The "Commercial" row will show " Producer Merchant Positions " instead of general "Commercial Positions".
Financial - Designed for financial instruments (currencies, bonds, stock indices). Uses financial-specific metrics.
Commercials: "Dealer Positions"
Speculators: "Leveraged Funds Positions"
Small Specs: "Nonreportable Positions"
Important: When using Financial report type, the table will still show "Commercial" and "Non-Comm" as labels, but the data displayed is actually " Dealer Positions " (commercials) and " Leveraged Funds Positions " (speculators). The underlying data changes based on your report type selection.
Where you'll see this data:
📊 Current Positions section - "Commercial" row shows Dealer long/short/net, "Non-Comm" row shows Leveraged Funds positions
📊 Open Interest Analysis section - Net changes reflect Dealer and Leveraged Funds position changes
📈 Analysis section - Percentile and LW Index values are calculated from Dealer and Leveraged Funds positions
Chart plots - Lines show Dealer and Leveraged Funds net positions
Use this for currency futures, bond futures, and stock index futures.
Trading Use: Most traders use Legacy as it provides the most comprehensive view and works with all asset types. Switch to Disaggregated if you want to analyze managed money positions separately. Use Financial specifically for financial instruments (currencies, bonds, stock indices).
---
Include Options Data
Default: Off (false)
What it is: Toggles whether to include options positions in addition to futures positions.
Trading Use: Larry Williams observed no significant difference in COT analysis when including options data. Keep this disabled unless you specifically need options data. Most traders leave it off for cleaner analysis.
---
Auto-detect CFTC Code
Default: On (true)
What it is: Automatically finds the correct CFTC code for your symbol.
Trading Use: Keep this enabled unless you need a specific CFTC code. The script automatically detects codes for:
- Currency futures: CME:6E1! , CME:6B1! , CME:6J1!
- Stock index futures: CME_MINI:ES1! , CBOT_MINI:YM1! , CME_MINI:NQ1!
- Commodities: NYMEX:CL1! , COMEX:GC1! , CBOT:ZC1!
- And many more
Only disable if you're analyzing a symbol that requires a specific CFTC code not in the auto-detection database.
---
Manual CFTC Code
Default: Empty
What it is: Enter a specific CFTC code manually (e.g. for E-mini S&P 500). "13874+"
Trading Use: Only used when Auto-detect CFTC Code is disabled. Most users never need this setting.
---
📊 Group 2: Analysis Parameters
Display Mode
Options: COT Report | COT Index | COT Proximity Index
What it is: Controls what data is displayed on the chart and in the table.
COT Report - Shows raw position data (Long, Short, Net positions) plus analysis. Best for detailed analysis. Displays Commercial, Non-Commercial, Small Speculator, and Open Interest lines.
COT Index - Shows index values based on your selected Analysis Method (Percentile or LW Index). Best for quick sentiment analysis. Displays index lines for Commercial, Non-Commercial, Small Speculator, and Open Interest. Percentile can exceed 0-100% for extremes, LW Index stays 0-100%.
Percentile can exceed 0-100% for extremes
LW Index stays 0-100%
COT Proximity Index - Shows a price-based proxy indicator. Useful when COT data is delayed or unavailable. Calculates sentiment based on price action patterns.
Trading Use:
- Use COT Report for comprehensive analysis
- Use COT Index when you want to focus on extreme sentiment levels
- Use COT Proximity Index as a backup when COT data is delayed or unavailable.
---
Analysis Method
Options: Percentile | LW Index
What it is: Selects the calculation method for position rankings.
Percentile - Professional approach. Excludes current bar from range calculation. Can show extremes (>100% or <0%) when today's value breaks historical range. More sensitive to recent extremes.
LW Index - Original Larry Williams method. Includes current bar in range, always 0-100%. Traditional approach.
Trading Use:
Percentile - Better for catching new extremes and recent market shifts
LW Index - Better for traditional Larry Williams analysis
Most traders prefer Percentile for its ability to show when positions break historical ranges.
---
Lookback Mode
Options: Auto | Manual
What it is: Controls how the historical lookback period is determined.
Auto - Automatically sets lookback period based on detected asset type
Manual - Choose your own lookback period
Trading Use: Use Auto unless you have a specific reason to customize. The script automatically sets optimal periods:
Currencies: 26 weeks
Metals: 13 weeks
Grains: 26 weeks
Stocks/Indices: 13 weeks
Bonds: 52 weeks
Energies: 13 weeks
---
Manual Lookback Period
Options: 1 Month | 3 Months | 6 Months | 1 Year | 3 Years | Asset-specific presets | Manual
What it is: How far back to look for historical comparison. Only used when Lookback Mode is set to Manual .
---
Manual Lookback Weeks
Default: 18 weeks | Range: 1-500
What it is: Exact number of weeks to look back. Only used when Manual Lookback Period is set to Manual .
Trading Use: Set a custom period if you want precise control. 18 weeks = approximately one quarter (3 months).
---
🎯 Group 3: Signal Generation
Show Signal Arrows
Default: Off (false)
What it is: Displays buy/sell arrows on the chart when extreme positions are detected.
Trading Use: Enable to get visual alerts for signals. Signals use strict multi-factor conditions requiring:
- Commercial extreme positioning
- Speculator positioning alignment
- Open Interest confirmation
- Trend consistency
- And more...
---
Show Background Colors
Default: Off (false)
What it is: Colors the chart background during extreme market conditions.
Trading Use: Enable for visual market state awareness:
- Strong signals = Darker background colors
- Moderate signals = Lighter background colors
- Green background = Bullish extreme
- Red background = Bearish extreme
Useful for quick visual assessment of market conditions.
---
Use Price Trend Weighting
Default: On (true)
What it is: Weights signals based on price trend alignment.
How it works:
Uptrend + Commercials long = Stronger bullish signal
Downtrend + Commercials short = Stronger bearish signal
Counter-trend signals = Harder to trigger (more conservative)
Trading Use: Keep enabled for more reliable signals. Commercials aligned with price trend are historically more accurate.
This feature makes signals easier to trigger when commercials align with the trend and harder when they're counter-trend.
---
Trend MA Period
Default: 40 | Range: 1-200
What it is: Moving average period for price trend detection.
How it works:
Price above MA with the MA rising = Uptrend
Price below MA with the MA declining = Downtrend
---
📈 Group 4: Plot Display Settings
Commercial Line Settings
Default Color: Red | Default Width: 2
What it is: Controls the Commercial traders net position line appearance.
Trading Use: Commercials are considered "smart money." Watch for:
Extreme long positions (high index ≥74%) = Heavy buyers = BULLISH signal
Extreme short positions (low index ≤26%) = Heavy sellers = BEARISH signal
Red is traditional for commercials. When Commercials are heavy buyers (high index), it's a bullish signal. When they're heavy sellers (low index), it's a bearish signal.
---
Non-Commercial Line Settings
Default Color: Blue | Default Width: 2
What it is: Controls the Non-Commercial (Large Speculators) net position line appearance.
Trading Use: Large speculators are often trend-followers. Watch for:
Extreme long = Potential top (contrarian sell signal)
Extreme short = Potential bottom (contrarian buy signal)
They're often wrong at extremes - use as contrarian indicator.
---
Small Speculator Line Settings
Default Color: Green | Default Width: 2
What it is: Controls the Small Speculators net position line appearance.
Trading Use: Small specs are typically wrong at extremes:
Extreme long = Potential top (sell signal)
Extreme short = Potential bottom (buy signal)
Exception: In Meats markets, small specs are accurate (like commercials).
---
Small Speculator Multiplier
Default: 5.0x | Range: 0.1-20.0
What it is: Multiplies Small Speculator PLOTTED values for visual comparison.
Important: This only affects the visual plot line, NOT calculations or table values. Raw values used in all calculations remain unchanged.
Trading Use: Small spec positions are often much smaller than commercials. Use multiplier (default 5.0x) to scale the line for easier visual comparison.
---
Open Interest Line Settings
Default Color: Black | Default Width: 1
What it is: Controls the Open Interest line appearance.
Trading Use: Open Interest shows market participation:
Rising OI = New money entering (confirms trend)
Falling OI = Money leaving (potential reversal)
Watch WHO is driving OI changes - This is critical
---
Scale Open Interest
Default: On (true)
What it is: Scales Open Interest values to fit chart range.
Important: Only affects plotted lines, not table values. Scaling changes based on lookback period:
- Shorter lookback = More compressed range
- Longer lookback = Wider range
Trading Use: Keep enabled for better visual comparison. Disable if you want absolute OI values.
---
Show Reference Lines
Default: Off (false)
What it is: Toggles the display of horizontal reference lines at 0%, 50%, and 100% levels on the chart.
What it shows:
Zero Line (0%) - Dotted gray line at 0% level
Midline (50%) - Solid gray line at 50% level
100 Line (100%) - Dotted gray line at 100% level
Trading Use: Enable when you want visual reference points for:
0% = Extreme bearish positioning
50% = Neutral/middle range
100% = Extreme bullish positioning
---
🔄 Group 5: Smoothing Settings
Smoothing Method
Options: None | SMA | EMA | WMA | RMA
What it is: Selects the moving average type for smoothing data.
None - Use raw data (no smoothing)
SMA - Simple Moving Average (equal weight to all periods)
EMA - Exponential Moving Average (more weight to recent data)
WMA - Weighted Moving Average (linear weighting)
RMA - Relative Moving Average (Wilder's smoothing)
Trading Use:
None - Best for catching extremes quickly
SMA - Most common, balanced smoothing
EMA - More responsive to recent changes
WMA/RMA - Advanced smoothing methods
Smoothing reduces noise but may delay signal detection. Use None for most responsive signals.
---
Smoothing Period
Default: 4 | Range: 2-20
What it is: Number of periods for the moving average smoothing.
Trading Use:
Shorter periods (2-5) = Less smoothing, more responsive
Longer periods (10-20) = More smoothing, less noise
Default 4 = Good balance
Only used when Smoothing Method is not None.
---
Smooth COT Report Plots
Default: Off (false)
What it is: Applies smoothing to COT Report plotted lines (Commercial, Non-Commercial, Small Speculators, Open Interest).
Trading Use: Enable if you want smoother chart lines. Note: Smoothing affects visual display but calculations use raw data unless Smooth COT Index Plots is also enabled.
---
Smooth COT Index Plots
Default: Off (false)
What it is: Applies smoothing to COT Index plotted lines.
Trading Use: Enable if you want smoother index lines. Important : When enabled, smoothed values are used in table displays and signal calculations. This affects the "user-facing" index values shown in the table and used for signals.
---
📊 Group 6: COT Proximity Index Settings
Proximity Length Mode
Options: Auto | Manual
What it is: Controls how the proximity index calculation period is determined.
Auto - Calculates length based on ZigZag patterns (dynamic)
Manual - Uses fixed length setting
Trading Use: Use Auto for adaptive calculation. Use Manual if you want consistent period regardless of market conditions.
---
Manual Proximity Length
Default: 8 bars | Range: 1+
What it is: Fixed number of bars for COT Proximity Index calculation. Only used when Proximity Length Mode is Manual .
Trading Use: Set based on your timeframe. 8 bars works well for weekly chart.
---
Heavy Buyers Level
Default: 74% | Range: 50-100
What it is: COT Index level above which commercials are considered heavy buyers (extreme long positioning).
Trading Use: This threshold is used for:
- Signal generation
- Market state calculation
- Entry level recommendations
Default 74% means commercials are "heavy buyers" when LW Index ≥ 74%.
---
Heavy Sellers Level
Default: 26% | Range: 0-50
What it is: COT Index level below which commercials are considered heavy sellers (extreme short positioning).
Trading Use: This threshold is used for:
- Signal generation
- Market state calculation
- Entry level recommendations
Default 26% means commercials are "heavy sellers" when LW Index ≤ 26%.
---
ZigZag Deviation
Default: 1.0% | Range: 1-100.0
What it is: Minimum price change (%) required to create a new ZigZag pivot point.
Trading Use:
Smaller values = More sensitive, more pivots
Larger values = Less sensitive, fewer pivots
Used for Auto proximity length calculation.
---
ZigZag Depth
Default: 1 | Range: 1+
What it is: Minimum number of bars between pivot points.
Trading Use: Higher values filter out minor pivots. Default 1 captures all significant pivots.
---
Extend ZigZag to Last Bar
Default: Off (false)
What it is: Draws ZigZag lines to the current bar (may show incomplete patterns).
Trading Use: Enable to see current ZigZag pattern, but be aware it may change as new bars form.
---
Show ZigZag Lines
Default: Off (false)
What it is: Displays ZigZag pivot lines on the chart for visual reference.
Trading Use: Enable to see the ZigZag pattern used for proximity index calculation. Useful for understanding how Auto mode works.
---
🎨 Group 7: Common Table Settings
Color Theme
Options: Dark | Light | Midnight Blue | Ocean Blue | Forest Green | Amber Gold | Slate Gray
What it is: Color scheme for both main and historical comparison tables.
Trading Use: Choose based on your preference:
Dark/Light - Classic themes
Midnight Blue - Professional dark theme
Ocean Blue - Calming blue tones
Forest Green - Natural green theme
Amber Gold - Warm gold tones
Slate Gray - Modern gray theme
Theme applies to both tables simultaneously for consistency.
---
📋 Group 8: Main Table Display Settings
Show COT Table
Default: On (true)
What it is: Toggles the main COT analysis table display.
Trading Use: Disable only if you want to use chart plots only. Most traders keep this enabled for comprehensive analysis.
---
Table Mode
Options: Full | Compact
What it is: Controls the detail level of the main table.
Full - Complete analysis table with all sections
Compact - Essential info only (mobile-friendly)
Trading Use:
Full - Desktop trading, comprehensive analysis
Compact - Mobile trading, quick reference
See "Table Modes Explained" section below for details.
---
Table Position
Options: Top Right | Top Left | Bottom Right | Bottom Left | Middle Right | Middle Left
What it is: Position of the main COT analysis table on the chart.
Trading Use: Choose based on your chart layout and preference. Top Right is default and works well for most traders.
---
Table Text Size
Options: Tiny | Small | Normal | Large
What it is: Size of text in the COT analysis table.
---
Section Visibility Controls
All default: On (true)
What it is: Individual toggles to show/hide specific table sections.
⚙️ Settings - Report Type, CFTC Code, Options setting
📊 Current Positions - Long, Short, Net positions for each group
📈 Analysis - LW Index, Percentile, Market State
🎯 Trading Edge & Signals - Current Signal, Entry Level, Best Setup
💡 Trading Tips - Context-aware trading insights
📈 Trend Analysis - Trend Direction, Strength, Cum Change, ROC, vs MA
🔄 Market Maker Activity - Spreading, Activity Level, Trading Edge
Trading Use: Customize your table to show only what you need:
Quick traders - Show only Trading Edge & Signals
Detailed analysis - Show all sections
Mobile users - Hide less critical sections
Each section can be toggled independently for maximum customization.
---
📊 Group 9: Historical Comparison Settings
Show Historical Comparisons
Default: On (true)
What it is: Toggles the historical comparison table display.
Trading Use: This table shows how current positions rank over different time periods (1M, 3M, 6M, 1Y, 3Y, All Time). Very useful for context.
---
Historical Table Mode
Options: Full | Compact
What it is: Controls the detail level of the historical comparison table.
Full - Complete historical comparison with all time periods (1M, 3M, 6M, 1Y, 3Y, All Time) and all COT groups
Compact - Essential periods only (1M, 3M, 6M, 1Y, All Time) showing Commercial % only
Trading Use:
- Full - Comprehensive historical analysis
- Compact - Quick reference, mobile-friendly
---
Table Position (Historical)
Options: Top Right | Top Left | Bottom Right | Bottom Left
What it is: Position of the historical comparison table on the chart.
---
Table Text Size (Historical)
Options: Tiny | Small | Normal | Large
What it is: Size of text in the historical comparison table.
---
Trading Days
Options: Weekdays | 24/7
What it is: How to calculate time periods for historical comparisons.
Weekdays - Calculate based on trading days only (5 days/week)
24/7 - Include all calendar days (7 days/week), Use for 24/7 markets like cryptocurrencies
Used for both main COT data and COT Proximity Index historical comparisons.
---
📊 Table Modes Explained
Full Mode - Main Table
The Full mode displays all available sections:
⚙️ Settings - Report type, CFTC code, options setting
📊 Current Positions - Long, Short, Net for Commercial, Non-Commercial, Small Speculators
📊 Open Interest Analysis - OI value, change, who's driving changes, concentration
📈 Analysis - Percentile ranks, LW Index values, Market State
🎯 Trading Edge & Signals - Current Signal, Entry Level, What to Watch, Best Setup
💡 Trading Tips - Context-aware insights
📈 Trend Analysis - Trend Direction, Strength, Consistency, Cumulative Change, ROC %, vs MA
🔄 Market Maker Activity - Spreading %, Activity Level, Interpretation, Trading Edge
Best for: Desktop trading, comprehensive analysis, detailed market assessment
---
📋 Understanding Each Table Section
This section explains what each part of the main table means and how to use it for trading decisions.
⚙️ Settings Section
Report Type - Shows which COT report format you're using (Legacy, Disaggregated, or Financial). Verify this matches your asset type.
Options - Indicates if options data is included ("Included") or excluded ("Excluded"). Most traders exclude options for cleaner analysis.
CFTC Code - Unique identifier for your futures contract. Shows "Auto" when automatically detected, or displays the manual code if set.
Trading Use: Always verify your CFTC code is correct. Wrong code = wrong data = wrong signals.
---
📊 Current Positions Section
Shows the actual position sizes for each trader group.
What Each Column Means:
Long - Total long contracts held by this group
Short - Total short contracts held by this group
Net - Net position (Long - Short). This is the key number.
How to Interpret:
Commercial Net Position:
- Negative (Net Short) = Commercials expect prices to fall
- Positive (Net Long) = Commercials expect prices to rise
- Commercials are "smart money" - their positioning often precedes major moves
Non-Commercial Net Position:
- Positive (Net Long) = Large speculators bullish
- Negative (Net Short) = Large speculators bearish
- Often trend-followers, can be caught at extremes
Small Spec Net Position:
- Positive (Net Long) = Small traders bullish
- Negative (Net Short) = Small traders bearish
- Often contrarian indicator - wrong at extremes
Trading Edge: Watch for extremes in Commercial net positions. When Commercials are heavy buyers (high index ≥74%), it's a bullish signal. When they're heavy sellers (low index ≤26%), it's a bearish signal.
---
📊 Open Interest Analysis Section
Open Interest - Total number of outstanding contracts. Shows market participation level.
Change - Week-over-week change in Open Interest. Rising OI = new money entering, Falling OI = money leaving.
Net Changes - Shows which group is driving Open Interest changes. This is Larry Williams' most important insight.
🎯 Critical Question: Who is Driving OI Changes?
EXTREMELY BULLISH SIGNAL (Very Rare - Pay Close Attention):
- Commercials driving OI increase + Commercials raising positions + Uptrend market
- Meaning: Smart money (commercials) accumulating long positions while market is rising
- Action: Extremely bullish - very rare setup, pay close attention to this signal
- This is the strongest bullish signal possible
BULLISH SIGNAL (Strong Buy):
- Commercials driving OI increase + Commercials net long
- Meaning: Smart money accumulating long positions
- Action: Strong bullish setup
BEARISH SIGNAL (Strong Sell - Market Topping):
- Commercials exiting + OI increasing due to Small Specs + Non-Commercials
- Meaning: Smart money leaving while speculative money entering
- Action: Market top forming - most likely scenario for bearish reversal
- This indicates speculative excess and potential market top
BEARISH SIGNAL (Speculative Excess):
- Small Specs + Non-Commercials driving OI increase + They are net long
- Meaning: Speculative excess, "dumb money" driving market
- Action: Bearish reversal likely
Trading Use:
- Rising OI = New money entering (confirms trend)
- Falling OI = Money leaving (potential reversal)
- Watch WHO is driving OI changes - This is critical
- When Commercials drive OI increases while raising positions in an uptrend = Extremely bullish and very rare - pay attention
- When Commercials exit while OI increases due to Small Specs and Non-Commercials = Market topping signal
Concentration - Shows how much of the market is controlled by the largest traders:
- Top 4 - Four largest traders' share of total OI
- Top 8 - Eight largest traders' share of total OI
Trading Use: High concentration (>30%) means fewer dominant players, potential for volatility. Low concentration means more distributed positions, healthier market.
---
📈 Analysis Section
Proximity Index (when in COT Proximity Index mode):
- Value: Current proximity index reading (0-100%)
- Length: Number of bars used in calculation
- Status: Heavy Buyers, Heavy Sellers, or Neutral
Analysis Method - Shows whether you're using Percentile or LW Index calculation.
Small Spec Mode - Shows how Small Speculators are interpreted:
- Contrarian (Traditional) - Small specs are wrong at extremes (default)
- Accurate (Meats) - Small specs are accurate like commercials (for Meats markets)
Market State - Overall market sentiment assessment:
- STRONG BULLISH - Multiple factors aligned bullish, strong buy signal
- MODERATE BULLISH - Several bullish factors, moderate buy signal
- LEANING BULLISH - Slight bullish bias, watch for confirmation
- NEUTRAL - Mixed signals, trade with existing trend
- LEANING BEARISH - Slight bearish bias, watch for confirmation
- MODERATE BEARISH - Several bearish factors, moderate sell signal
- STRONG BEARISH - Multiple factors aligned bearish, strong sell signal
Trading Use: Start your analysis here. Market State gives you the overall picture before diving into details.
---
🎯 Trading Edge & Signals Section
Current Signal - Shows which combination is active based on current positioning extremes and its expected accuracy percentage:
- Comm+Spec+OI - All three groups at extremes (highest accuracy)
- Comm+Spec - Commercials and specs at extremes (opposite extremes - Larry Williams' favorite)
- Comm+OI - Commercials and Open Interest at extremes (smart money + participation)
- Commercials - Only Commercials at extreme (smart money indicator)
- Wait - No extremes detected, wait for setup
Entry - Trading signal based on Commercial positioning:
- LONG - Commercials are heavy buyers (≥Heavy Buyers Level), bullish signal
- SHORT - Commercials are heavy sellers (≤Heavy Sellers Level), bearish signal
- Wait - Commercials neutral, no clear signal
Best Setup - Shows the historically highest accuracy combination found in the data:
- Comm+Spec+SmallSpec+OI - All four groups aligned (strongest signal)
- Comm+Spec+OI (All) - Commercials + Speculators + Open Interest aligned
- Comm+Spec+SmallSpec - Commercials + Speculators + Small Specs aligned
- Comm+Spec (Both) - Commercials + Speculators (opposite extremes - Larry Williams' favorite)
- Comm+OI (Both) - Commercials + Open Interest (participation confirms smart money)
- Comm+SmallSpec - Commercials + Small Specs (especially strong in Meats markets)
- Commercials Alone - Commercial positioning only (baseline - smart money indicator)
Trading Use: This is your action center . Focus on Entry signals when Market State confirms. Higher accuracy setups (shown in Best Setup) are more reliable.
---
💡 Trading Tips Section
Context-aware insights based on current market conditions.
What You'll See:
Commercial positioning assessment (extreme long/short, favorable/unfavorable)
Speculator positioning (contrarian support or warning)
Open Interest guidance (who's driving changes)
Trend assessment (aligning or conflicting)
Information about entry timing, position sizing, and confirmation needs
Trading Use: Review these tips when analyzing. They provide context-specific information tailored to current conditions.
---
📈 Trend Analysis Section
Trend Direction - Overall price trend:
- Bullish - Price trending up
- Bearish - Price trending down
- Mixed - No clear direction
Consistency - How stable the trend is:
- Consistent - Trend is stable and maintaining direction
- Mixed - Trend is unstable, direction changing
- Accelerating - Trend is gaining momentum
Strength - Trend intensity:
- Strong - Powerful trend
- Steady - Moderate trend
- Weak - Weak trend
This Week - Net position change this week (percentage).
Cumulative Change - Total net position change over different periods:
- 4W - 4-week cumulative change
- 13W - 13-week cumulative change (one quarter)
- 26W - 26-week cumulative change (half year)
ROC % - Rate of Change percentage over different periods. Shows momentum.
vs MA - Current net position compared to moving average:
- Positive = Above average (strong positioning)
- Negative = Below average (weak positioning)
Trading Use: Align COT signals with trend direction for higher accuracy. When COT signals align with price trend, signals are more reliable. Counter-trend signals require more confirmation.
---
🔄 Market Maker Activity Section
Total Spreading - Percentage of open interest in spread positions (simultaneous long and short in different months).
Percentile - Where current spreading level ranks historically. High percentile = unusual spreading activity.
13W Trend - 13-week trend in spreading activity (+ = increasing, - = decreasing).
Activity Level - Market maker activity intensity:
- High - Very active, expect volatility
- Moderate - Normal activity
- Low - Quiet, less volatility expected
vs 13W Avg - Current activity compared to 13-week average.
Trading Edge - Interpretation of market maker activity:
- High & Rising - Expect volatility, market makers hedging risk
- High & Stable - Active hedging, monitor for changes
- Low & Falling - Reduced activity, potential for directional moves
Trading Use: High market maker activity often precedes volatility. Use this to adjust position sizing and risk management. When spreading is high and rising, expect choppy conditions.
---
📋 Understanding Compact Mode Fields
The Compact mode provides essential information for quick trading decisions. Here's what each field means:
State
Shows the overall market sentiment based on combined COT analysis.
Possible Values:
- STRONG BULLISH - Multiple factors aligned bullish, strong buy signal
- MODERATE BULLISH - Several bullish factors, moderate buy signal
- LEANING BULLISH - Slight bullish bias, watch for confirmation
- NEUTRAL - Mixed signals, trade with existing trend
- LEANING BEARISH - Slight bearish bias, watch for confirmation
- MODERATE BEARISH - Several bearish factors, moderate sell signal
- STRONG BEARISH - Multiple factors aligned bearish, strong sell signal
Trading Use: Start your analysis here. Strong signals (STRONG BULLISH/BEARISH) indicate higher confidence setups. Neutral means trade with price trend.
---
Entry
Your actionable trading signal based on Commercial positioning.
Possible Values:
- LONG - Commercials are heavy buyers (≥Heavy Buyers Level), bullish signal
- SHORT - Commercials are heavy sellers (≤Heavy Sellers Level), bearish signal
- Wait - Commercials neutral, no clear signal
Trading Use: This is your go/no-go decision point. Only take trades when Entry shows LONG or SHORT. When Entry = Wait, stay on sidelines until clearer signal develops.
---
Comm Index
Commercial LW Index percentage showing where Commercial net position ranks historically.
Range: 0% to 100%
- 0-26% = Commercials heavy sellers (bearish positioning)
- 27-73% = Commercials neutral (no extreme)
- 74-100% = Commercials heavy buyers (bullish positioning)
Trading Use: Commercial extremes are most reliable. Values ≥74% (heavy buyers/extreme long) = BULLISH signal. Values ≤26% (heavy sellers/extreme short) = BEARISH signal. When Commercials are heavy buyers, it indicates bullish sentiment. When they're heavy sellers, it indicates bearish sentiment.
---
OI Status
Open Interest condition showing market participation level and trend.
Format: Status (Percentile %)
Examples:
- High (100.0%) - OI at extreme high, strong participation
- Moderate (50.0%) - OI at average level
- Low (10.0%) - OI at extreme low, weak participation
Trend Indicators:
- Rising - OI increasing (new money entering)
- Falling - OI decreasing (money leaving)
- Stable - OI unchanged
Trading Use: High OI with rising trend = strong market participation, confirms directional moves. Falling OI = watch for potential reversals. Low OI = reduced participation, potential for volatility.
---
Best Setup
Shows which combination of factors has the highest historical accuracy.
Format: Combination Name (Accuracy %)
Examples:
- Commercials Alone (75.3%) - Commercial positioning only
- Commercials + Speculators (68.2%) - Commercials and specs aligned
- Commercials + Open Interest (72.1%) - Commercials with OI confirmation
- Commercials + Speculators + OI (82.1%) - All factors aligned (strongest)
Trading Use: Higher accuracy values indicate signals with higher historical accuracy. When Best Setup shows "Commercials + Speculators + OI" with high accuracy, it indicates a combination with strong historical performance.
---
Trend
13-week cumulative trend direction based on net position changes.
Possible Values:
- Bullish - Net positions trending bullish over 13 weeks
- Bearish - Net positions trending bearish over 13 weeks
- Mixed - No clear directional trend
Trading Use: Align Entry signals with Trend for higher accuracy. When Entry = LONG and Trend = Bullish, signal is stronger. When Entry = LONG but Trend = Bearish, wait for price confirmation before entering. Counter-trend signals require more confirmation.
---
Full Mode - Historical Table
The Full historical mode shows:
All time periods: 1 Month, 3 Months, 6 Months, 1 Year, 3 Years, All Time
All COT groups: Commercial, Non-Commercial, Small Speculators, Open Interest
Complete header with asset type and lookback information
Best for: Comprehensive historical analysis, understanding long-term positioning
---
Compact Mode - Historical Table
The Compact historical mode shows:
Essential periods only: 1M, 3M, 6M, 1Y, All Time
Commercial % only (most important indicator)
Simplified header
Best for: Quick reference, mobile-friendly, focused analysis
---
🎯 How to Use Each Feature for Trading
Using Display Modes
COT Report Mode - Use for:
Understanding raw position sizes
Analyzing net position changes
Comparing absolute positions across groups
Detailed market structure analysis
COT Index Mode - Use for:
Quick sentiment assessment
Identifying extremes (Percentile can show >100% or <0%, LW Index shows 0-100%)
Comparing relative positioning
Signal generation
COT Proximity Index Mode - Use for:
When COT data is delayed
Real-time sentiment estimation
Price-action based analysis
---
Using Analysis Methods
Percentile Method - Use when:
You want to catch new extremes (>100% or <0%)
You need responsive signals
You're analyzing recent market regime changes
You want to use the professional approach (excludes current bar from range)
LW Index Method - Use when:
You want traditional Larry Williams analysis
You prefer stable, conservative signals
You're doing long-term analysis
You want always 0-100% range
---
Using Signal Generation
Enable Signal Arrows when:
You want visual alerts for high-quality setups
You're scanning multiple charts
You want to catch extreme positioning
Enable Background Colors when:
You want quick visual market state assessment
You're monitoring multiple timeframes
You want to see market conditions at a glance
Use Price Trend Weighting to:
Increase signal reliability
Align COT signals with price action
Filter counter-trend signals
---
Using Smoothing
No Smoothing - Best for:
Catching extremes quickly
Responsive signal generation
Active trading
With Smoothing - Best for:
Reducing noise
Trend identification
Swing trading
Remember: Smoothing affects visual display. Enable "Smooth COT Index Plots" if you want smoothed values in calculations.
---
Using Heavy Buyers/Sellers Levels
Default 74%/26% - Good starting point
Tighter levels (80%/20%) - More conservative, fewer signals
Wider levels (70%/30%) - More signals, less extreme
Trading Use: Adjust based on your risk tolerance and signal frequency preference.
---
Using Table Sections
Settings - Verify your configuration
Current Positions - Understand current market structure
Analysis - Identify extremes and market state
Trading Edge & Signals - Most important - Entry signals based on Commercial positioning
Trading Tips - Context-aware insights
Trend Analysis - Understand momentum and direction
Market Maker Activity - Assess market maker positioning
---
💡 Key Trading Concepts
Market State Interpretation
STRONG BULLISH - Multiple factors aligned bullish. Strong buy signal.
MODERATE BULLISH - Several bullish factors. Moderate buy signal.
LEANING BULLISH - Slight bullish bias. Watch for confirmation.
NEUTRAL - Mixed signals. Trade with existing trend.
LEANING BEARISH - Slight bearish bias. Watch for confirmation.
MODERATE BEARISH - Several bearish factors. Moderate sell signal.
STRONG BEARISH - Multiple factors aligned bearish. Strong sell signal.
---
Entry Level Signals
LONG - Commercials are heavy buyers (≥Heavy Buyers Level). Bullish signal.
SHORT - Commercials are heavy sellers (≤Heavy Sellers Level). Bearish signal.
Wait - Commercials neutral. No clear signal.
When Commercials are heavy buyers (high index), it indicates bullish sentiment. When they're heavy sellers (low index), it indicates bearish sentiment.
---
Best Setup Interpretation
The Best Setup shows the historically highest accuracy combination:
Commercials Alone - Commercial positioning is most reliable
Commercials + Speculators - Both groups aligned
Commercials + Open Interest - Commercials + OI confirmation
Commercials + Speculators + OI - All factors aligned (strongest)
Higher accuracy = More reliable signal. Use this to prioritize which signals to follow.
---
Open Interest Analysis
Critical Question: Who is driving Open Interest changes?
EXTREMELY BULLISH (Very Rare):
Commercials driving OI increase + Commercials raising positions + Uptrend = EXTREMELY BULLISH
This is very rare - pay close attention when this occurs
STRONG BULLISH:
Commercials driving OI increase + Commercials long = STRONG BULLISH
BEARISH (Market Topping):
Commercials exiting + OI increasing due to Small Specs + Non-Commercials = BEARISH (market topping)
Most likely scenario for bearish reversal - speculative excess
BEARISH (Speculative Excess):
Speculators driving OI increase + Speculators long = BEARISH (speculative excess)
TREND CONFIRMATION:
Rising OI = Confirms trend (new money entering)
Falling OI = Potential reversal (money leaving)
This is one of Larry Williams' most important insights. When Commercials drive OI increases while raising positions in an uptrend, it's extremely bullish and very rare - pay attention. When Commercials exit while Small Specs and Non-Commercials drive OI increases, the market is likely topping.
---
🚀 Practical Trading Workflow
Daily Analysis Routine
Check Market State - Overall assessment
Review Entry Level - Actionable signal
Check Best Setup - Signal reliability
Review Trading Tips - Context-aware insights
Analyze Trend Analysis - Momentum confirmation
Check Historical Comparison - Context over time
Verify Open Interest - Who's driving changes
---
Signal Confirmation Checklist
Before taking a trade based on COT signals:
✓ Market State shows clear bias (not Neutral)
✓ Entry Level matches Market State
✓ Best Setup shows high accuracy (>60%)
✓ Price trend aligns with signal (if using trend weighting)
✓ Open Interest confirms (rising for trend continuation, falling for reversal)
✓ Historical comparison shows extreme positioning
✓ Price action confirms (wait for price confirmation)
---
⚠️ Important Notes
COT data is weekly - Updates every Friday afternoon
Extremes can persist - Don't expect immediate reversals
Combine with price action - COT is one tool among many
Historical context matters - Consider market conditions
Meats markets are special - Small specs are accurate (like commercials)
Signals are rare - High-quality signals don't appear every week
---
This description covers all settings and features of the Larry Williams COT Analysis Enhanced indicator. Larry Williams recommends combining COT analysis with other indicators for setup signals: Williams Sentiment Index, Williams Valuation Index, Williams True Seasonal, Pinch and Paunch Signal, along with price action, technical analysis, and fundamental factors.
---
📖 Conclusion
The Larry Williams COT Analysis Enhanced indicator provides a sophisticated framework for understanding market sentiment through the lens of different participant groups. By combining mathematical analysis with behavioral insights, it displays COT positioning data, calculates index values, and generates signals based on extreme positioning.
Remember: This is a tool for analysis, not a crystal ball. Consider combining COT analysis with other Larry Williams indicators, price action, technical analysis, and fundamental factors.
Practice with the indicator, study historical signals, and develop your understanding of how different market participants behave. Signals with multiple factors aligned - Commercials at extremes, Open Interest changes driven by the right groups, and price action confirming the COT signals - have shown higher historical accuracy.
This description provides comprehensive documentation for the Larry Williams COT Analysis Enhanced indicator. For the most current data and analysis, always refer to the latest COT reports and market conditions.
---
Acknowledgment
This tool builds upon the foundational work of Larry Williams, who developed the Commitments of Traders (COT) analysis methodology and the principles for interpreting COT data. It also incorporates enhancements including statistical validation, combination analysis, adaptive signal generation, and comprehensive historical comparison features.
Note: Always practice proper risk management and thoroughly test the indicator to ensure it aligns with your trading strategy. Past performance is not indicative of future results.
Focusprofit. Trade ModelDescription (EN)
FocusProfit. Trade Model is a systematic tool for automated detection of market structure, key swing levels, and trend-shift events. The indicator integrates impulse and corrective structure analysis, CHOCH, BOS, and IDM logic, forming a complete price-behavior model in real time with no repainting.
The algorithm automatically identifies the main and corrective structure, tracks HL/LH and HH/LL formation, fixes IDM before a potential reversal, and determines the exact moment when the trend flips. After confirmation, a new structure is established, allowing you to clearly understand the current market phase and the zones where high-quality trading opportunities appear.
Designed for trend trading, reversal identification, liquidity analysis, and building systematic trading strategies. Works on all markets and timeframes.
Описание (RU)
FocusProfit. Trade Model — это системный инструмент для автоматического определения рыночной структуры, ключевых экстремумов и моментов смены тренда. Индикатор объединяет анализ импульса и коррекции, CHOCH, BOS и IDM, формируя полную модель поведения цены в реальном времени без перерисовки.
Алгоритм автоматически выделяет основную и коррекционную структуру, отслеживает формирование HL/LH и HH/LL, фиксирует IDM перед потенциальным разворотом и определяет точный момент смены направления. После подтверждения формируется новая структура, что позволяет ясно понимать текущую фазу рынка и появление зон с наибольшим потенциалом для работы.
Подходит для трендовой торговли, поиска разворотных зон, анализа ликвидности и построения системных торговых стратегий. Работает на всех инструментах и таймфреймах.






















