EMA Slope Angle# EMA Slope Angle Indicator
A professional, non-repainting overlay indicator that visualizes EMA slope strength as an angle in degrees, providing instant visual feedback through dynamic EMA coloring and comprehensive trend analysis.
## ORIGINALITY
This indicator is original in its approach to slope measurement:
- **Angle-based calculation**: Uses arctangent to calculate slope as an angle in degrees (not percentage), providing a more intuitive measure of trend strength
- **Dynamic visual feedback**: Combines real-time EMA line coloring with regime detection, creating a continuous visual representation of market conditions
- **Comprehensive analysis**: Integrates angle-based trend shift signals with optional statistical analysis in a single, cohesive tool
- **Non-repainting design**: All calculations use confirmed bars only, ensuring reliable, deterministic output
## HOW IT WORKS
The indicator calculates the EMA slope angle using trigonometric functions:
```
Angle = arctan((EMA_current - EMA_past) / lookback_bars) × 180/π
```
This provides an intuitive measure where:
- **Steep angles** = strong trends (visualized with saturated colors)
- **Shallow angles** = weak trends (visualized with lighter colors)
- **Near-zero angles** = flat/consolidation (visualized in gray)
The EMA line color dynamically reflects:
- **Direction**: Green shades for uptrends, red shades for downtrends
- **Strength**: Color intensity based on normalized angle (stronger slopes = more saturated colors)
- **Regime**: Gray for flat conditions when angle is below threshold
## KEY FEATURES
### Dynamic EMA Coloring
- EMA line color changes continuously based on slope strength
- Color intensity reflects trend strength (50-100% opacity range)
- Instant visual feedback without cluttering the chart
### Regime Detection
- Automatically classifies market conditions: **RISING**, **FALLING**, or **FLAT**
- Configurable angle thresholds for regime classification
- Real-time regime updates on confirmed bars only
### Trend-Shift Signals
- Detects transitions from FLAT to RISING/FALLING regimes
- Visual arrows on chart when significant trend shifts occur
- Prevents signal spam by only triggering from FLAT state
- Configurable trigger thresholds for signal sensitivity
### KPI Dashboard
- Real-time angle display (rounded to 1 decimal place)
- Current regime status with color coding
- Last signal tracking (UP/DOWN/NONE)
- Positioned in top-right corner for easy reference
### Advanced Angle Statistics (Optional)
- Detailed breakdown of angle distribution across 9 granular buckets:
- 0-0.2°, 0.2-0.5°, 0.5-1°, 1-1.5°, 1.5-2°, 2-3°, 3-5°, 5-10°, >10°
- Shows count and percentage for each bucket
- Automatically resets on symbol/timeframe changes
- Useful for analyzing historical slope patterns
## SETTINGS
### Main Settings
- **EMA Length**: Period for exponential moving average (default: 50)
- **Slope Lookback Bars**: Number of bars to compare for slope calculation (default: 5)
### Angle Settings
- **Flat Angle Threshold**: Maximum angle for FLAT regime classification (default: 2.0°)
- **Rising Angle Trigger**: Minimum angle to trigger RISING regime and UP signals (default: 1.0°)
- **Falling Angle Trigger**: Maximum angle to trigger FALLING regime and DOWN signals (default: -1.0°)
- **Max Angle for Color Saturation**: Maximum angle for full color intensity (default: 30.0°)
### Display Options
- **Uptrend Color**: Color for rising trends (default: dark green)
- **Downtrend Color**: Color for falling trends (default: dark red)
- **Flat Color**: Color for flat conditions (default: gray)
- **Show Trend-Shift Signals**: Toggle signal arrows on/off (default: true)
- **Show Angle Statistics**: Toggle statistics dashboard on/off (default: false)
## NON-REPAINTING GUARANTEE
- All calculations use confirmed bars only (`barstate.isconfirmed`)
- No future bar references
- No higher timeframe calls using `request.security()`
- Deterministic output - what you see is what you get
- Reliable for backtesting and live trading
## USE CASES
- **Trend Identification**: Instantly identify trend strength and direction at a glance
- **Reversal Detection**: Spot trend reversals early through regime changes
- **Trade Filtering**: Filter trades based on slope strength and regime
- **Consolidation Monitoring**: Identify flat market conditions for range trading
- **Pattern Analysis**: Study historical angle distributions to understand market behavior
- **Momentum Assessment**: Gauge trend momentum through visual color intensity
## LIMITATIONS
- Angle calculation depends on EMA length and lookback period settings
- Regime classification is based on configurable thresholds - adjust to match your trading style
- Signals only trigger when transitioning from FLAT state to prevent spam
- Statistics reset on symbol/timeframe changes (by design)
- Color intensity is normalized to max angle setting - adjust for your market's typical ranges
## TECHNICAL NOTES
- Uses Pine Script v6
- Overlay indicator (plots on price chart)
- No external dependencies
- Compatible with all TradingView chart types
- Works on all timeframes and symbols
## DISCLAIMER
This indicator is designed for visual trend analysis and educational purposes. Always combine with other technical analysis tools, fundamental analysis, and proper risk management strategies. Past performance does not guarantee future results. Trading involves risk of loss.
---
**Perfect for**: Swing traders, day traders, trend followers, and market analysts seeking intuitive trend strength visualization.
Sentiment
Nooner's Heikin-Ashi/Bull-Bear CandlesCandles are colored red and green when Heikin-Ashi and Bull/Bear indicator agree. They are colored yellow when they disagree.
XAUUSD Psychological Key Levels (v6)Unlock the key price levels of XAU/USD with precision! This indicator identifies critical support and resistance zones, helping traders spot high-probability entries and exits. Designed for both swing and intraday trading, it provides clear visual cues to navigate gold’s volatility.
RSI with Multi-Level OB/OS (65/70 & 35/30)With a revised 65 and 35 level for higher probability of winning
Shiori TFGI Lite Technical Fear and Greed Index (Open Source)Shiori’s TFGI Lite
Technical Fear & Greed Index (Open Source)
---
English — Official Description
Shiori’s TFGI Lite is an open-source Technical Fear & Greed Index designed to help traders and investors understand market emotion, not predict price.
Instead of generating buy or sell signals, this indicator focuses on answering a calmer, more important question:
> Is the market emotionally stretched away from its own historical balance?
TFGI Lite combines three well-known technical dimensions — volatility, price deviation, and momentum — and normalizes them into a single, intuitive 0–100 sentiment scale.
What This Indicator Is
* A market context tool, not a trading signal
* A way to observe emotional extremes and misalignment
* Designed for any asset, any timeframe
* Fully open source, transparent and adjustable
Core Components
* Fear Factor: Short-term vs long-term ATR ratio with logarithmic compression
* Greed Factor: Price Z-score with tanh-based normalization
* Momentum Factor: Classic RSI as emotional momentum
These factors are blended and gently smoothed to form the current sentiment level.
Historical Baseline & Deviation
TFGI Lite introduces a historical baseline concept:
* The baseline represents the market’s own emotional equilibrium
* Deviation measures how far current sentiment has drifted from that equilibrium
This allows the indicator to highlight conditions such as:
* 🔥 Overheated: High sentiment + strong positive deviation
* 💎 Undervalued: Low sentiment + strong negative deviation
* ⚠️ Misaligned: Emotionally extreme, but inconsistent with historical behavior
How to Use (Lite Philosophy)
* Use TFGI Lite as a background compass, not a trigger
* Combine it with price structure, risk management, and your own strategy
* Extreme readings suggest emotional tension, not immediate reversal
> Think of TFGI Lite as market weather — it tells you the climate, not when to open or close the door.
About Parameters & Customization
All parameters in TFGI Lite are fully adjustable. Markets have different personalities — volatility, sentiment range, and emotional extremes vary by asset and timeframe.
You are encouraged to:
* Adjust fear/greed thresholds based on the asset you trade
* Tune smoothing and baseline lengths to match your timeframe
* Treat sentiment levels as relative, not universal absolutes
There is no single “correct” setting — TFGI Lite is designed to adapt to your market, not force the market into a fixed model.
Important Notes
* This is a technical sentiment indicator, not financial advice
* No future performance is implied
* Designed to reduce emotional decision-making, not replace it
---
🇹🇼 繁體中文 — 指標說明
Shiori’s TFGI Lite(技術型恐懼與貪婪指數) 是一款開源的市場情緒指標,目的不是預測價格,而是幫助你理解市場當下的「情緒狀態」。
與其問「現在該不該買或賣」,TFGI Lite 更關心的是:
> 市場情緒是否已經偏離了它自己的歷史平衡?
本指標整合三個常見但關鍵的技術面向,並統一轉換為 0–100 的情緒刻度,讓市場狀態一眼可讀。
這個指標是什麼
* 市場情緒與狀態觀察工具(非買賣訊號)
* 用來辨識情緒極端與錯位狀態
* 適用於任何商品與任何週期
* 完全開源,可學習、可調整
核心構成
* 恐懼因子:短期 / 長期 ATR 比例(對數壓縮)
* 貪婪因子:價格 Z-Score(tanh 正規化)
* 動能因子:RSI 作為情緒動量
歷史基準與偏離
TFGI Lite 引入「歷史情緒基準」的概念:
* 基準代表市場長期的情緒平衡
* 偏離值顯示當前情緒與自身歷史的距離
因此可以辨識:
* 🔥 過熱(高情緒 + 正向偏離)
* 💎 低估(低情緒 + 負向偏離)
* ⚠️ 錯位(情緒極端,但不符合歷史行為)
使用建議(Lite 精神)
* 將 TFGI Lite 作為「背景雷達」,而非進出場依據
* 搭配價格結構、風險控管與個人策略
* 情緒極端不等於立刻反轉
> 你可以把它想像成市場的天氣預報,而不是交易指令。
參數調整與個人化說明
本指標中的所有參數皆可調整。不同市場、不同商品,其波動特性與情緒區間並不相同。
建議你:
* 依標的特性自行調整恐懼 / 貪婪門檻
* 依交易週期調整平滑與基準長度
* 將情緒數值視為「相對狀態」,而非固定答案
TFGI Lite 的設計初衷,是讓你定義市場,而不是被單一參數綁住。
溫馨提示
如果你在調整指標參數時遇到不熟悉的項目,請點擊參數旁邊的 「!」圖示,每個設定都有清楚的說明。
本指標設計為可慢慢探索,請依自己的節奏理解市場狀態。
---
🇯🇵 日本語 — インジケーター説明
Shiori’s TFGI Lite は、価格を予測するための指標ではなく、
市場の「感情状態」を可視化するためのオープンソース指標です。
この指標が問いかけるのは、
> 現在の市場感情は、過去のバランスからどれだけ乖離しているのか?
という一点です。
特徴
* 売買シグナルではありません
* 市場心理の極端さやズレを観察するためのツールです
* すべての銘柄・時間軸に対応
* 学習・調整可能なオープンソース
構成要素
* 恐怖要素:ATR 比率(対数圧縮)
* 強欲要素:価格 Z スコア(tanh 正規化)
* モメンタム:RSI
ベースラインと乖離
市場自身の感情的な基準点と、
現在の感情との距離を測定します。
過熱・割安・感情のズレを視覚的に把握できます。
パラメータ調整について
TFGI Lite のすべてのパラメータは調整可能です。市場ごとにボラティリティや感情の振れ幅は異なります。
* 恐怖・強欲の閾値は銘柄に応じて調整してください
* 時間軸に合わせて平滑化やベースライン期間を変更できます
* 数値は絶対値ではなく、相対的な感情状態として捉えてください
この指標は、市場に合わせて柔軟に使うことを前提に設計されています。
フレンドリーヒント
入力項目で分からない設定がある場合は、横に表示されている 「!」アイコン をクリックしてください。各パラメータには分かりやすい説明が用意されています。
このインジケーターは、落ち着いて市場の状態を理解するためのものです。
---
🇰🇷 한국어 — 지표 설명
Shiori’s TFGI Lite는 매수·매도 신호를 제공하는 지표가 아니라,
시장 감정의 상태를 이해하기 위한 기술적 심리 지표입니다.
이 지표의 핵심 질문은 다음과 같습니다.
> 현재 시장 감정은 과거의 균형 상태에서 얼마나 벗어나 있는가?
특징
* 거래 신호 아님
* 시장 심리의 과열·저평가·불일치를 관찰
* 모든 자산, 모든 타임프레임 지원
* 오픈소스 기반
구성 요소
* 공포 요인: ATR 비율 (로그 압축)
* 탐욕 요인: Z-Score (tanh 정규화)
* 모멘텀: RSI
활용 방법
TFGI Lite는 배경 지표로 사용하세요.
가격 구조와 리스크 관리와 함께 사용할 때 가장 효과적입니다.
파라미터 조정 안내
TFGI Lite의 모든 설정 값은 사용자가 직접 조정할 수 있습니다. 자산마다 변동성과 감정 범위는 서로 다릅니다.
* 공포 / 탐욕 기준값은 종목 특성에 맞게 조정하세요
* 타임프레임에 따라 스무딩 및 기준 기간을 변경할 수 있습니다
* 감정 수치는 절대적인 값이 아닌 상대적 상태로 해석하세요
이 지표는 하나의 정답을 강요하지 않고, 시장에 맞춰 적응하도록 설계되었습니다.
친절한 안내
설정 값이 익숙하지 않다면, 항목 옆에 있는 "!" 아이콘을 클릭해 보세요. 각 입력값마다 설명이 제공됩니다.
이 지표는 천천히 시장의 맥락을 이해하도록 설계되었습니다.
---
Educational purpose only. Not financial advice.
---
#FearAndGreed #MarketSentiment #TradingPsychology #TechnicalAnalysis #OpenSourceIndicator #Volatility #RSI #ATR #ZScore #MultiAsset #TradingView #Shiori
Relative Volume Bollinger Band %
The Relative Volume Bollinger Band % indicator is a powerful tool designed for traders seeking insights into volume, Bollinger band and relative strength dynamics. This indicator assesses the deviation of a security's trading volume relative to the Bollinger band % indicator and the RSI moving average. Together, these shed light on potential zones of interests where market shifts have a high probability of occurring.
Key Features:
Period: Tailor the indicator's sensitivity by adjusting the period of the smooth moving average and/or the period of the Bollinger band.
How it Works:
Moving Average Calculation: The script computes the simple moving average (SMA) of the relative strength over a defined period. When the higher SMA (orange line) is in the top grey zone, the security is in a zone where it has a high probability of becoming bullish. When the higher SMA is in the lower grey zone, the security is in a zone where it has a high probability of becoming bearish.
-Bollinger Band %: The script also computes the BB% which is primarily used to confirm overbought and oversold areas. When overbought, it turns white and remains white until the overbuying pressure is released indicating that the security is about to become bearish. The script indicates a bearish reversal when the BB% and RVOL bars are both red or when there are no more yellow RVOL bars, if present. When the BB% is<0 and rising, it will also appear white with yellow RVOL bars above. This is a good indication that bulls are beginning to enter buying positions. Confirmation here is indicated when the yellow RVOL bars change to green.
Relative Volume: The indicator then also normalizes the difference volume to indicate areas of high and low volatility. This shows where higher than normal volumes are being traded and can be used as a good indication of when to enter or exit a trade when the above criterions are met.
Visual Representation: The result is visually represented on the chart using columns. Bright green columns signify bullish relative volume values that are much greater than normal. Green columns signify bullish relative volume values that are significant. Red columns represent bearish values that are significant. Blue columns on the BB% indicator represent significant bullish buying in overbought areas. Red columns on the BB% indicator that are < 0 represent a bearish trend that is in an oversold area. This is there to prevent early entry into the market.
Enhancements:
Areas of Interest: Optionally, Areas of interest are represented by red, yellow and green circles on the higher SMA line, aiding in the identification of significant deviations.
Order Flow Analysis [Master Alert]This script is a custom modification of the original "Order Flow Analysis" indicator by kingthies.
I have taken the original code and engineered a "Master Alert" system into it. Here is the breakdown of what this specific script does:
1. The Core Purpose: "One Ring to Rule Them All"
In the original script, if you wanted to catch every move, you would have to set up separate alerts for Divergences, Absorptions, Crosses, etc. This modified script combines all 8 possible signals into a single "Master Trigger."
2. What triggers the Alert?
The alert will fire if ANY of the following 4 events happen on a candle:
Divergence (The Arrows):
Green Arrow: Price makes lower low, Pressure makes higher low (Bullish).
Red Arrow: Price makes higher high, Pressure makes lower high (Bearish).
Absorption (The Transparent Bars):
Bull Absorption: Huge volume + Price won't drop (Hidden Buying).
Bear Absorption: Huge volume + Price won't rise (Hidden Selling).
Zero Line Crosses (The Sentiment Flip):
Bull Cross: Pressure score flips from Negative to Positive.
Bear Cross: Pressure score flips from Positive to Negative.
Strong Zones (Turbo Mode):
Strong Bull: Pressure score breaks above +50.
Strong Bear: Pressure score breaks below -50.
3. How to Use It
Add the script to your chart.
Create an Alert.
Select "Order Flow Master" as the Condition.
Select "MASTER ALERT (All Signals)".
Now, you will get a notification for every single significant event this indicator detects, without needing multiple alert slots.
CT ALLrounder PROthis is the pro indicator for almost any symbol ... just change the time period in which you want to trade...
Critical Advanced Multi-Divergence System v2.0Auto calculates 15 indicators , assigns different strength to each and auto adds up to give a Final bias . Auto detects scrip & time frame . Sums up everything in a Dashboard. For educational use only
Macroeconomic Dashboard by DGTMacroeconomic Dashboard is a script tailored for traders and investors using top-down strategies to navigate global markets. It integrates key macroeconomic indicators, such as monetary policy, inflation, yields, and market sentiment, directly into financial charts.
By visualizing real-time macro data alongside asset price movements, this tool bridges the gap between traditional economic metrics and technical analysis. Whether analyzing crypto or traditional markets, users can better contextualize price action within broader economic cycles and trends.
Designed to support macro-informed decision-making, it helps identify shifts in liquidity, policy direction, and risk appetite, enhancing strategic trade entries and portfolio positioning.
KEY FEATURES
⯌ Macro Dashboard
The script provides a macro dashboard that tracks changes across key economic dimensions: monetary policy, inflation and growth, bond markets, and risk indicators. With built-in anomaly detection and trend analysis across short-, mid-, and long-term timeframes, it helps interpret market moves through a macroeconomic lens, whether analyzing equities, commodities, or digital assets.
⯌ Macro on Chart
By visualizing macro data such as M2 money supply, CPI, treasury yields, and volatility indices, users can more easily correlate economic developments with price action, enhancing situational awareness and decision-making.
MACRO METRICS
The script covers five core macroeconomic domains, each with key metrics:
Liquidity & Monetary Policy
Global M2 Money Supply
Federal Funds Rate
Reverse Repo Operations
Inflation & Economic Growth
Consumer Price Index (CPI)
Producer Price Index (PPI)
Real GDP Growth
Yields & Bond Markets
10-Year Treasury Yield
2-Year Treasury Yield
Yield Curve (10Y–2Y Spread)
Global Risk & Currency Indicators
U.S. Dollar Index (DXY)
Volatility Index (VIX)
Economic Policy Uncertainty Index
Equities, Commodities & Crypto
S&P 500 (SPX)
Nasdaq 100 (NDX)
Gold (XAU/USD)
Crude Oil (WTI)
Bitcoin (BTCUSD)
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Paid script
Liquidity Radar by DGTLiquidity Radar is an advanced indicator designed to uncover and visualize critical liquidity zones on the price chart. These zones mark areas where stop orders and limit orders are densely concentrated—price levels where large-scale liquidation events are more likely to occur. Such areas are often targeted by institutional players to spark volatility or to optimize trade execution.
The indicator dynamically draws horizontal levels that reflect real-time liquidity buildup based on volume and price activity. When multiple liquidation levels cluster near the same price, overlapping lines highlight zones of elevated liquidity—helping traders identify potential hotspots for price reactions, reversals, or volatility spikes.
KEY FEATURES
⯌ Magnet Zones
Clusters of liquidation levels may act as magnets for price, pulling market movement toward them. Traders often use these zones to forecast directional bias and identify high-probability setups.
⯌ Support/Resistance Zones
Densely packed liquidity often behaves as dynamic support or resistance. These zones can provide major players with optimal entry or exit points, potentially leading to sharp reactions or market reversals.
⯌ Rapid Move Zones
Areas with sparse liquidity levels often experience faster price movement, as fewer resting orders are available to absorb aggressive taker orders. These zones can lead to quick price sweeps and momentum surges.
INSIGHTS
What Happens After Price Reaches a High Liquidity Zone?
Liquidity is "Grabbed"
These zones are typically filled with stop-losses or resting orders. When price reaches them, large volumes are executed — often suddenly. This is known as a liquidity grab or stop hunt .
Increased Volatility
The execution of clustered orders often triggers bursts of volatility. This can result in large wicks, rapid price movements, or deceptive “fakeouts” around the zone.
Price Reaction Scenarios
Stall or Consolidation : After liquidity is grabbed, price may pause or range, especially if market participants are indecisive.
Reversal : If the liquidity grab flushes out weak hands, price may reverse sharply — often where institutional players are already positioned in the opposite direction.
Continuation : Sometimes, the zone acts as a launchpad — price consumes the liquidity and continues strongly in the same direction.
What Happens When Price Is Between Liquidity Zones?
Faster Price Moves
In areas with fewer clustered liquidity levels, price often moves quicker due to fewer resting orders absorbing aggressive taker orders, enabling market orders to push price rapidly through these zones.
Higher Probability of Market (Taker) Orders
Sparse liquidity encourages taker orders, which “take” liquidity instantly, causing sharp and sometimes unpredictable price swings.
Reduced Support or Resistance
The lack of dense liquidity means fewer natural price barriers, allowing price to sweep through these zones with less friction until it nears the next liquidity cluster.
Increased Volatility and Potential Whipsaws
Rapid movement in low liquidity zones can trigger stop losses or cause fakeouts, resulting in sudden volatility and quick reversals.
Opportunity for Breakouts or Trend Acceleration
Price breaking from a liquidity zone into a sparse area may gain momentum quickly, leading to strong directional moves or trend continuation.
Liquidity zones aren’t just price targets — they’re high-stakes decision points. Once tapped, they often serve as temporary barriers where price may reverse, stall, or continue, depending on the prevailing order flow and participant intent. In leveraged markets, liquidations play a crucial role in shaping price behavior and positioning. The Liquidity Levels indicator helps traders spot where these impactful moments are most likely to occur — enhancing both strategic edge and decision-making confidence.
LIMITATIONS
Due to a technical limitation in Pine Script, a maximum of 500 horizontal levels can be drawn. As a result, some historical liquidity levels from earlier bars may not appear on the chart.
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Paid script
MTF Dashboard Pro v4 Institutional EditionMTF Dashboard Pro v4 – 2026
Institutional Multi-Timeframe Bias Engine
A high-performance, professional-grade multi-timeframe dashboard designed for scalpers, intraday traders, and institutional smart-money practitioners.
Version 4 introduces a cleaner architecture, faster execution, and improved signal alignment across all major trend, momentum, and confirmation tools.
Core Features
Multi-Timeframe EMA Trend (9/21) – Fast intraday trend detection
200-MA System with Threshold Logic – Dynamic positional bias
Daily VWAP Engine (Optional Reset)
SuperTrend Engine with Corrected Direction Model
RSI, MACD, ADX, Alligator, Stochastic – Momentum + Confirmation suite
PH/PL Bias (Previous Day High/Low) – Institutional liquidity context
11-Signal Institutional Bias Score
Bias Classification: Strong Bull → Strong Bear
Multi-TF Alerts for Strong Bull / Strong Bear
Optimized HUD Table – Lightweight, fast, and resource-efficient
Who Is This For?
Scalpers, intraday traders, swing traders, and SMC/ICT-based traders who need:
Clear multi-timeframe alignment
Instant trend + momentum confirmation
Market structure bias
Liquidity context (PH/PL)
A single, clean, real-time dashboard
The indicator is designed to support high-speed decision making in volatile conditions and institutional trading environments.
Developed by - Sachin Yashwant Thakare
Author: Sachin Yashwant Thakare
Edition: 2026 Premium Release
Rights: © 2026 All Rights Reserved
Zaka Pro: Clear Structure (HH/LL) + MSS ZonesCertainly! Here is a description of the Pine Script indicator you provided, focusing on its main functions and trading strategy, written in English.
---
## Zaka Pro: Clear Structure (HH/LL) + MSS Zones
This is a technical analysis indicator developed in Pine Script (`//@version=5`) designed to automatically identify and plot key price action structural elements based on the **Zig Zag** method, while incorporating a simplified **Market Structure Shift (MSS)** concept, often used in Smart Money Concepts (SMC) or Wyckoff trading.
### Key Features:
1. **Pivot-Based Structure Identification:**
* The indicator uses the standard **`ta.pivothigh`** and **`ta.pivotlow`** functions, determined by the user-defined `Pivot Length` (`prd`). This forms the foundation of the price "swing" structure.
2. **Structural Labeling (HH/LL/LH/HL):**
* It automatically labels the resulting swing points to clearly show the prevailing trend:
* **HH (Higher High):** Continuation of an uptrend.
* **LL (Lower Low):** Continuation of a downtrend.
* **LH (Lower High):** A potential reversal or weakening of an uptrend.
* **HL (Higher Low):** A potential reversal or weakening of a downtrend.
3. **Zig Zag Plotting:**
* The indicator connects the identified pivot points with a **gray line** to visually represent the market swings.
4. **Market Structure Shift (MSS) Strategy:**
* The core strategy detects a potential **trend reversal** when the price breaks the most recent structural pivot:
* **Buy MSS Trigger:** Detected when the price breaks **above the last High** (`last_high`) while the market was in a confirmed **downtrend** (forming Lower Lows).
* **Sell MSS Trigger:** Detected when the price breaks **below the last Low** (`last_low`) while the market was in a confirmed **uptrend** (forming Higher Highs).
5. **Order Block / Entry Zone Plotting:**
* Upon detection of a confirmed MSS (reversal), the indicator plots a colored **Box** representing a potential re-entry zone:
* **BUY ZONE (Green Box):** Plotted after a Buy MSS (breakout to the upside). The zone is defined by the **High and Low of the two candles preceding the last swing Low** (`ob_low_top`, `ob_low_btm`). This acts as a simplified "Order Block" for potential long entries.
* **SELL ZONE (Red Box):** Plotted after a Sell MSS (breakout to the downside). The zone is defined by the **High and Low of the two candles preceding the last swing High** (`ob_high_top`, `ob_high_btm`). This acts as a simplified "Order Block" for potential short entries.
6. **Alerts:**
* Custom alerts are included to notify the user immediately when a Buy or Sell MSS (Market Structure Shift) is detected.
In summary, the indicator is a visual tool that simplifies price action analysis by drawing structure and highlights potential reversal points (MSS) by painting corresponding re-entry zones (Order Blocks) on the chart.
Fixed $200 Risk Futures Position Sizer (2R Target)This indicator is designed for traders who want to follow a strict, professional-style risk model identical to the rules used in funded futures trading programs. Instead of risking a percentage of the account, the indicator always risks a fixed $200 per trade, regardless of contract or market volatility. This allows traders to simulate evaluation accounts and maintain perfect risk discipline.
The tool works across a wide range of futures markets — including micro, mini, and continuous contracts (MES, MNQ, MNQ1!, MYM, M2K, MCL, MGC, ES1!, NQ1!, GC1!) — and automatically loads the correct tick size and tick value for each contract. This ensures that stop distance and risk calculations are always accurate, even when switching between index futures, metals, or energy markets.
You simply enter your Entry Price and Stop Loss Price, and the indicator calculates:
The stop distance in points and ticks
The exact dollar risk per contract
The maximum number of contracts allowed while staying under a fixed $200 risk
A fully automated 2R take-profit target (equivalent to $400 profit per trade)
Expected profit per contract
Total projected profit based on allowed size
Full long/short direction detection
This makes position sizing effortless and completely rule-based. If the chosen stop-loss distance requires more than $200 of risk per contract, the indicator will automatically show 0 contracts allowed, preventing invalid trades and helping maintain consistency.
For clarity and execution, the indicator also plots:
A green Entry Line
A red Stop-Loss Line
A blue 2R Take-Profit Line
This produces a visual, easy-to-understand risk-to-reward layout directly on the chart.
This tool is ideal for traders preparing for funded account challenges, traders practicing mechanical risk systems, or anyone who wants to enforce a strict, repeatable risk framework. It eliminates guesswork, improves consistency, and helps traders build discipline by sizing every trade according to a fixed dollar risk with a precise 2R reward objective.
Crypto Leverage Index(OI Norm. + FR)Crypto Leverage Index (OI Z-Score + Funding Rate Signals)
(A tool for detecting speculative extremes and leverage load in crypto derivatives markets.)
Hello, fellow traders around the globe!
In today's crypto futures market, often perceived as a 'playground for large players' (whales/smart money), catching extreme leverage behavior is crucial for survival. I wanted to come up with an indicator to quickly identify such market extremes by focusing on the two most potent indicators of leveraged action: Open Interest (OI) and Funding Rate (FR). The goal is to ride on the shoulders of the market movers by anticipating their next liquidity-driven actions. hope this helps.
❗ IMPORTANT NOTE: This indicator works exclusively on Perpetual Futures or Swap Charts that provide Open Interest (OI) data.
⚪ Overview
This indicator provides a standardized view of speculative activity by calculating the Open Interest (OI) Z-Score . This score reveals when the current level of open leverage is abnormally high (premium) or low (discount) relative to its historical mean and volatility. The index is also augmented with Extreme Funding Rate Signals , which plot simple White Dots on the chart when derivative positioning (long or short bias) reaches an unsustainable, overheated level. The combination of OI volume and positioning bias offers a good method to identify potential market reversal zones driven by leverage liquidation risks (short/long squeezes).
⚪ Score Components
Open Interest Z-Score (Leverage Load)
The primary component standardizes the Open Interest value over a defined lookback `Period` (default 50). This calculation reveals the statistical deviation of current leverage from the norm.
OI Z-Score = (OI - Mean(OI)) / StDev(OI)
Funding Rate (Positioning Bias)
Calculates the approximate funding rate using a TWAP (Time-Weighted Average Price) of the Perpetual Futures Premium, combined with the standard 0.01% Interest Rate.
⚪ Extreme Condition Detection
OI Z-Score Extremes
* Premium Zone (Red Fill) : OI Z-Score is above the user-defined `Threshold` (default 2.0). Indicates high/overstretched leverage.
* Discount Zone (Green Fill) : OI Z-Score is below the user-defined negative threshold (default -2.0). Indicates low/unwinded leverage.
Funding Rate Extreme Signals (White Dots)
These appear as small White Dots ( · ) plotted at fixed levels within the indicator pane. The position indicates the bias:
* Top Dot (Excessive Longs) : Triggered when Funding Rate is greater than Abnormal Funding Rate Threshold (e.g. 0.03%). Indicates excessive Long positioning/greed and potential for a short-term reversal (Long Squeeze risk). The dot is plotted at the positive `FR Signal Plot Level`.
* Bottom Dot (Excessive Shorts) : Triggered when Funding Rate is lower than -Abnormal Funding Rate Threshold(e.g. -0.03%). Indicates excessive Short positioning/fear and potential for a short-term reversal (Short Squeeze risk). The dot is plotted at the negative `FR Signal Plot Level`.
⚪ Leverage Case Scenarios (Price, OI Dynamics & Context)
The OI Z-Score reflects the premium/discount state of *leverage* (Open Interest) , not the price. The price may not be in a premium or discount area simply because the OI is. OI only indicates the volume of outstanding futures positions. You must observe price action and candlestick patterns alongside the OI movements to determine the true contextual hint. Understanding the relationship between price and Open Interest (OI) change is key to interpreting market movements. The cases listed below represent the most common and thinkable patterns, but do not exhaust all possible market behaviors.
1. Long Build-Up (Price ▲, OI ▲): New long positions enter, confirming the rising trend.
2. Short Build-Up (Price ▼, OI ▲): New short positions enter, confirming the falling trend. Due to the inherently long-biased nature of the crypto market, this scenario is less frequently observed than Long Build-Up.
3. Long Covering/liquidation (Price ▼, OI ▼): Existing longs are closed/liquidated. This activity usually results from Panic Selling or forced long liquidation.
4. Short Covering (Price ▲, OI ▼): Existing shorts are forced to close (Short Squeeze).
5. Long Trap (Price ▲, OI ▲ or ▼): Price rises, but OI suggests new positioning that might be trapping longs. Bearish candle pattern can be often shown with the sweep.
6. Short Trap (Price ▼, OI ▲ or ▼): Warning Sign - Price falls, but OI suggests new positioning that might be trapping shorts.
⚪ Key Input Parameters
OI Z-Score
* Period (Default: 50)
Determines how many recent bars are used to calculate the rolling mean and volatility (standard deviation) of the Open Interest data.
* Z-Score Threshold (Default: 2.0)
The critical level that the OI Z-Score must cross to be considered 'extreme' (overstretched leverage).
Funding Rate
* Abnormal FR Threshold (Default: 0.03)
The absolute percentage value (e.g., 0.03%) that the Funding Rate must exceed or fall below to trigger an extreme signal dot.
* FR Signal Plot Level (Default: 4.0)
Sets the fixed vertical position (Y-level) on the Z-Score chart where the Funding Rate signal dots will appear. (e.g., 4.0 plots the dot at the Z-Score +-4.0 level).
Disclaimer
This script is for educational and informational purposes only and does not constitute financial advice or investment recommendations. Trading cryptocurrencies involves significant risk and you are solely responsible for your own investment decisions, based on your financial situation, objectives, and risk tolerance. The author assumes no liability for losses arising from the use of this indicator.
TREND WITH DOUBLE CONFIRMATION Hi ,
As the name suggest this is trend based indicator which follows average true range and ema with double confirmation mode , its a very simple indicator for any asset any timeframe , use can switch modes based on the asset they are trading .
Entry LONG Condition: When a buy signal comes and if price is above the movingaverage line then only on the closing of thecandle one will take a buy position
Entry SHORT Condition: When a sell signal comes and if price is below the movingaverage line then only on the closing of thecandle one will take a sell position
Exit from long position if price above and sell signal comes exit long position and re enter buy when buy comes again
Exit from short position if price below and buy signal comes exit short position and re enter sell when sell comes again
----------------
Disclaimer
Copyright by FaizanNawazz.
The information contained in my scripts/indicators/strategies/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators are only for educational purposes!
Happy Trading!
RS Rating Viet Nam by Admin AlphaStockSo sanh vs VNMIDCAP
Bạn có thể thay đổi BenchMark trong Code thành VNINDEX hay bất kỳ chỉ số nào
TFGI Lite: Technical Fear & Greed Dashboard (All-Assets)📊 TFGI Lite: Technical Fear & Greed Dashboard (All-Assets)
Don't guess the sentiment. Measure it.
不要猜測情緒,去測量它。
🇹🇼 繁體中文:市場情緒的導航儀
什麼是 TFGI Lite?
這是一個簡潔的「市場氣象儀表板」,直接顯示在您的 K 線圖上。它幫助您判斷現在市場是處於「過度恐懼(適合貪婪)」還是「過度貪婪(適合謹慎)」的狀態。適用於股票、加密貨幣、外匯與期貨。
數字代表什麼意義?
分數範圍為 0 到 100:
0 - 25 (極度恐懼 / 綠色區域):
市場陷入恐慌,價格可能被低估。這通常是尋找買點的機會(別人恐懼我貪婪)。
75 - 100 (極度貪婪 / 紅色區域):
市場過熱,追高風險極大。這通常是考慮獲利了結或警惕回調的時刻。
25 - 75 (中性震盪):
市場處於正常波動範圍,順勢操作即可。
儀表板上的三個關鍵數據:
Local TFGI (當前商品):您現在看的這張圖表(例如比特幣或台積電)的情緒分數。
Global TFGI (全球宏觀):全球資金的流向與風險偏好(綜合了美股、波動率 VIX、美元與債市)。這就像是「大盤天氣」。如果全球都在下雨(恐慌),您的股票也很難獨善其身。
Spread (情緒溫差):
如果 Local 分數遠高於 Global,代表這個商品漲過頭了,要注意風險。
如果 Local 分數遠低於 Global,代表這個商品被錯殺了,可能是機會。
🇺🇸 English: Navigate Market Sentiment Simply
What is TFGI Lite?
A clean, professional "Weather Dashboard" for your chart. It quantifies market psychology, helping you decide when to be contrarian. It works on any asset class (Stocks, Crypto, Forex).
How to Read the Numbers (0-100 Score)
0 - 25 (Extreme Fear / Green Zone):
Investors are panicking. The asset may be oversold. Historically, this is often a buying opportunity.
75 - 100 (Extreme Greed / Red Zone):
The market is overheated and FOMO is high. The risk of a correction is increasing. It might be time to take profits.
25 - 75 (Neutral):
Normal market fluctuations.
Key Features on the Dashboard:
Local TFGI: The sentiment score of the specific asset you are watching right now.
Global TFGI: The sentiment of the entire global market (Aggregating SPY, VIX, DXY, and Bonds). Think of this as the "Macro Tide". It's hard to swim against the tide.
Spread: The difference between the Asset and the Global market.
Positive Spread: This asset is hotter than the global market (Potential Overvaluation).
Negative Spread: This asset is weaker than the global market (Potential Undervaluation).
🇯 日本語:相場の「過熱感」を一目で判断
TFGI Liteとは?
チャート上に表示されるシンプルな「センチメント(市場心理)ダッシュボード」です。市場が「悲観(買い時)」にあるのか、「楽観(売り時)」にあるのかを客観的な数値で示します。株、仮想通貨、FXなど、あらゆる資産に対応しています。
スコアの見方(0〜100)
0 - 25 (極度の恐怖 / 緑エリア):
市場はパニック状態です。売られすぎの可能性があり、逆張りの買いチャンスとなることが多いゾーンです。
75 - 100 (極度の強欲 / 赤エリア):
市場は過熱しており、イケイケの状態です。暴落のリスクが高まっているため、利益確定を検討する警戒ゾーンです。
25 - 75 (中立):
通常の変動範囲内です。
ダッシュボードの3つの重要指標:
Local TFGI (個別): 現在表示している銘柄のセンチメントスコアです。
Global TFGI (全体): 世界市場全体のムード(米国株、VIX指数、ドル、債券を総合分析)。「地合い」を確認するために使います。
Spread (乖離): 個別銘柄と世界市場の温度差。この数値が大きい場合、その銘柄だけが異常に買われすぎている可能性があります。
🇰🇷 한국어: 시장의 공포와 탐욕을 한눈에
TFGI Lite란 무엇인가요?
차트 위에 직접 표시되는 깔끔한 "시장 심리 계기판"입니다. 현재 시장이 '과도한 공포(저점 매수 기회)'인지 '과도한 탐욕(고점 매도 주의)'인지 판단하는 데 도움을 줍니다. 주식, 코인, 외환 등 모든 자산에 적용 가능합니다.
숫자가 의미하는 것 (0~100점)
0 - 25 (극심한 공포 / 초록색 구간):
투자자들이 패닉에 빠져 투매가 나옵니다. 역사적으로 이는 저가 매수(Buy the dip)의 기회일 가능성이 높습니다.
75 - 100 (극심한 탐욕 / 빨간색 구간):
시장이 과열되었습니다. 추격 매수는 위험하며, 이익 실현을 고려하거나 조정을 대비해야 할 때입니다.
25 - 75 (중립):
일반적인 시장 변동 구간입니다.
대시보드의 핵심 데이터:
Local TFGI (개별 종목): 지금 보고 계신 차트(코인/주식)의 자체적인 심리 점수입니다。
Global TFGI (글로벌 매크로): 전 세계 자금의 흐름과 위험 선호도(미국 증시, VIX, 달러, 채권 종합). 시장 전체의 "날씨"를 알려줍니다。
Spread (괴리율): 개별 종목과 글로벌 시장 간의 온도 차이. 개별 종목 점수가 글로벌보다 훨씬 높다면, 해당 종목이 과매수되었을 수 있습니다。
swing indicator Installation & Configuration - swing Indicator
⚙️ Parameter Configuration
"Settings" Group (General Parameters)
Show Moving Average: Show/hide the OI moving average
✅ Recommended: Enabled to visualize the trend
Helps identify if OI is above or below its average
MA Period: Moving average period (default: 20)
📊 Common values:
20: Short/medium term trend (responsive)
50: Medium term trend (balanced)
100: Long term trend (stable)
Compare with Volume: Display normalized volume in background
💡 Useful to compare OI evolution with volume
Helps identify divergences between Open interest (oi) and Volume
OI Significant Change Threshold: Detection threshold for significant changes
Available options: 10%, 15%, 20%, 25%, 30%, 40%
🎯 10-15%: High sensitivity (many signals, possible noise)
🎯 20-25%: Normal sensitivity (moderate signals, recommended)
🎯 30-40%: Low sensitivity (rare but very significant signals)
⚡ This threshold determines when green/red triangles appear
Manual OI Symbol (optional): Manually enter the OI symbol
📝 Leave empty for automatic detection
⚙️ Use only if your symbol is not automatically recognized
Manual example: COMEX:GC1!_OI for gold
"Visual Signals" Group
Show Triangles (Significant Changes): Show/hide triangles
▲ GREEN Triangle = Significant OI increase (> configured threshold)
▼ RED Triangle = Significant OI decrease (< -configured threshold)
✅ Recommended: Enabled to see important changes
💡 Disable if you find the chart too cluttered
Show Circles (MA Crossovers): Show/hide circles
● GREEN Circle = OI crosses MA upward
● RED Circle = OI crosses MA downward
✅ Recommended: Enabled if you use MA crossover strategy
💡 Disable if you focus only on OI variations
"Style" Group (Color Customization)
OI Color: Main Open Interest histogram color
Default: Blue
🎨 Customize according to your visual preferences
OI Rising: Histogram color when OI increases
Default: Transparent green
Subtle display of direction
OI Falling: Histogram color when OI decreases
Default: Transparent red
Subtle display of direction
MA Color: Moving average color
Default: Orange
Should contrast with OI color
Volume Color: Normalized volume background color
Default: Transparent gray
Discreet enough not to hinder reading
📊 Reading the Information Panel
The panel at the top right of the chart displays:
By: Alphaomega18
Indicator creator's signature
⚠️ WARNING: OI symbol not detected
Only appears if OI symbol is not automatically detected
Action: Check symbol or enter manually
Open Interest
Current Open Interest value
Format: number of contracts (e.g., 485.2K = 485,200 contracts)
Change
OI % change from previous bar
🟢 Green = OI increase
🔴 Red = OI decrease
Ex: +2.45% = OI increased by 2.45%
Threshold
Displays configured threshold for alerts
Ex: "25%" = alerts triggered at +25% or -25%
Yellow color for visibility
MA(20)
Current moving average value
Number in parentheses indicates period
Ex: MA(50) if you configured a 50 period
Signal
🟢 Strong Trend: OI > MA → Strong participation, solid trend
🔴 Weak Trend: OI < MA → Weak participation, fragile trend
🎯 Visual Signals on Chart
Triangles (Significant Changes)
▲ GREEN Triangle (bottom of chart)
Meaning: Significant OI increase
Trigger: OI increases more than configured threshold
Example: If threshold = 25%, triangle appears when OI +25% or more
📈 Interpretation: New contracts opened = growing interest
▼ RED Triangle (bottom of chart)
Meaning: Significant OI decrease
Trigger: OI decreases more than configured threshold
Example: If threshold = 25%, triangle appears when OI -25% or less
📉 Interpretation: Massive position closing = disengagement
Circles (Moving Average Crossovers)
🟢 GREEN Circle (bottom of chart)
Meaning: OI just crossed MA upward
Signal: Open interest back above its average
📊 Interpretation: Interest returning, potential trend start
🔴 RED Circle (top of chart)
Meaning: OI just crossed MA downward
Signal: Open interest back below its average
📊 Interpretation: Decreasing interest, potential weakening
🔔 Alert Configuration
Create an alert:
Right-click on chart → "Add Alert" (or ALT + A)
In "Condition", select "Open Interest"
Choose alert type from 4 available
Configure notification options
Click "Create"
Available alert types:
OI Significant Increase
Triggers when OI increases beyond configured threshold
Example: Threshold 25% → Alert if OI +25% or more
Use: Detect massive influx of new contracts
OI Significant Decrease
Triggers when OI decreases beyond configured threshold
Example: Threshold 25% → Alert if OI -25% or less
Use: Detect massive position closing
OI crosses MA up
Triggers when OI crosses its moving average upward
Condition: OI was below MA and crosses above
Use: Identify interest returning
OI crosses MA down
Triggers when OI crosses its moving average downward
Condition: OI was above MA and crosses below
Use: Identify decreasing interest
Notification configuration:
✉️ Email: Receive alert via email
📱 SMS: Receive alert via SMS (subscription required)
🔔 Popup: Notification on TradingView
📲 App: Notification on TradingView mobile app
🔗 Webhook: Send alert to external system
💡 Advanced Interpretation
Combined OI + Price Analysis:
Open InterestPriceInterpretationSuggested Action↑ Rising↑ Rising🟢 STRONG UptrendNew buyers entering, robust trend, consider long positions↑ Rising↓ Falling🔴 STRONG DowntrendNew sellers entering, bearish pressure, consider short positions↓ Falling↑ Rising📊 Short coveringClosing short positions, potentially temporary move↓ Falling↓ Falling📊 Long liquidationClosing long positions, potentially temporary move
OI vs Moving Average:
OI > MA (Signal: Strong Trend)
Open interest above its average
Market participation above normal
Trend supported by growing interest
✅ Increased confidence in market direction
OI < MA (Signal: Weak Trend)
Open interest below its average
Market participation below normal
Potentially fragile trend
⚠️ Caution: trend lacks conviction
OI vs Volume:
Rising OI + Rising Volume
New contracts + high trading activity
💪 Very strong trend signal
Falling OI + Rising Volume
Position closing + high activity
⚡ Potential reversal or massive profit-taking
Stable OI + Rising Volume
Transfer of positions between traders
🔄 Changing hands, no new commitments
🛠️ Troubleshooting
❌ Issue: "⚠️ WARNING - OI symbol not detected"
✅ Solutions:
Check contract symbol
Make sure you're on a continuous futures contract (e.g., GC1!, CL1!)
Not on a specific contract (e.g., GCZ2024)
Enter symbol manually
Go to Settings → Manual OI Symbol
Format: EXCHANGE:SYMBOL_OI
Examples:
Gold: COMEX:GC1!_OI
WTI Crude: NYMEX:CL1!_OI
Natural Gas: NYMEX:NG1!_OI
Check data availability
Not all markets have public OI data
Verify on TradingView if OI data exists
❌ Issue: No data displayed (empty chart)
✅ Solutions:
Change timeframe
OI is generally published daily
Switch to Daily (1D) or Weekly (1W)
Intraday timeframes may not have data
Check data connection
Refresh TradingView page
Check your TradingView subscription (some data requires subscription)
Test on another market
Try with gold (COMEX:GC1!) which always has OI data
If it works, problem comes from initial market
❌ Issue: Too many visual signals (cluttered chart)
✅ Solutions:
Increase detection threshold
Settings → OI Significant Change Threshold
Change from 20% to 30% or 40%
Fewer signals, but more significant
Disable some signals
Visual Signals → Uncheck "Show Triangles" or "Show Circles"
Keep only the most important signals for you
Adjust colors
Style → Reduce color opacity
Make signals more discreet visually
❌ Issue: Not enough signals
✅ Solutions:
Reduce detection threshold
Settings → OI Significant Change Threshold
Change to 10% or 15%
More signals, but beware of noise
Enable all signals
Visual Signals → Check "Show Triangles" AND "Show Circles"
Full display of all events
Reduce MA period
Settings → MA Period → Change from 20 to 10
More responsive MA = more crossovers
📈 Compatible Markets (Auto-detection)
✅ Energy (NYMEX)
CL, CL1!: WTI Crude Oil
BZ, BZ1!: Brent Crude
NG, NG1!: Natural Gas
RB, RB1!: RBOB Gasoline
HO, HO1!: Heating Oil
✅ Precious Metals (COMEX/NYMEX)
GC, GC1!: Gold
SI, SI1!: Silver
PL, PL1!: Platinum
PA, PA1!: Palladium
HG, HG1!: Copper
✅ Industrial Metals (LME)
ALI, ALI1!: Aluminum
ZNC, ZNC1!: Zinc
NI, NI1!: Nickel
✅ Agriculture - Grains (CBOT)
ZC, ZC1!: Corn
ZW, ZW1!: Wheat
ZS, ZS1!: Soybeans
ZM, ZM1!: Soybean Meal
ZL, ZL1!: Soybean Oil
ZO, ZO1!: Oats
ZR, ZR1!: Rice
✅ Agriculture - Softs (ICE)
SB, SB1!: Sugar
KC, KC1!: Coffee
CC, CC1!: Cocoa
CT, CT1!: Cotton
OJ, OJ1!: Orange Juice
✅ Livestock (CME)
LE, LE1!: Live Cattle
GF, GF1!: Feeder Cattle
HE, HE1!: Lean Hogs
✅ Other
LBS, LBS1!: Lumber (CME)
🎓 Usage Tips
For beginners:
Start with default parameters (threshold 25%, MA 20)
Enable all visual signals
Focus on liquid markets (gold, crude oil)
Observe how OI reacts to price movements
For intermediate traders:
Adjust threshold according to market volatility (15-30%)
Combine with other technical indicators
Create alerts for significant changes
Analyze OI/Price divergences
For advanced traders:
Use multiple MA periods (20, 50, 100)
Analyze OI/Volume/Price correlation
Configure alerts on multiple timeframes
Integrate into complete trading strategy
📊 Practical Example
Scenario: Gold Trading (COMEX:GC1!)
Initial setup:
Threshold: 20% (gold volatile)
MA: 20 days
All signals enabled
Timeframe: Daily (1D)
Observation:
Gold price: Uptrend
OI: ▲ Green triangle (increase of +22%)
Signal: 🟢 Strong Trend (OI > MA)
Interpretation:
New buyers massively entering
Uptrend supported by OI
Strong market conviction
Action:
✅ Long position validated by OI
Stop loss below technical support
Monitor if OI continues to increase
✨ Made by Alphaomega18
All-In-One Magnificent 7Here is a **complete, polished TradingView description** optimized for publication, clarity, SEO, and user onboarding — **fully compatible with Hidden Source Code mode**.
You can paste this directly into the *“Script Description”* section when publishing.
# **TradingView Description (Final Version)**
**Magnificent 7 Overall Percentage Change with MA, Angle, Icons & Threshold Alerts**
By **Andy Campillo** (TradingView: **readysetfire**)
© 2025 – All Rights Reserved
## **Overview**
This indicator tracks the **real-time combined percentage change** of the *Magnificent 7* stocks — AAPL, MSFT, AMZN, NVDA, TSLA, META, and GOOGL — and transforms their collective trend into a clear, actionable signal.
It provides instant insight into whether the market’s largest leadership group is **bullish, bearish, accelerating, weakening**, or undergoing meaningful volatility shifts.
This tool is designed for traders who want to:
* Monitor mega-cap market strength or weakness at a glance
* Confirm index momentum using underlying components
* Detect early trend shifts through MA angle acceleration
* Set actionable alerts without constantly watching the chart
## **Key Features**
### **1. Real-Time Magnificent 7 Percentage Change**
Aggregates the daily performance of the 7 most influential U.S. equities, creating a single smooth line that reflects broad market risk appetite.
Includes two modes:
* **Chart Timeframe Mode** (default – non-repainting, publication-safe)
* **1-Minute Real-Time Mode** (user-selectable)
### **2. Moving Average Trend Engine**
A fully customizable MA applied to the aggregated M7 data.
Includes:
* SMA / EMA / WMA / VWMA options
* Adjustable length
* Visual trend smoothing
### **3. MA Angle Detection (Acceleration Analysis)**
The indicator calculates the **slope angle** of the moving average and triggers:
* **Angle Up Events** (blue labels + upward arrows)
* **Angle Down Events** (orange labels + downward arrows)
This highlights moments where the M7 trend is **accelerating** or **decelerating**, providing an early trend confirmation or warning.
### **4. Background Bias Coloring**
The chart background automatically changes based on overall M7 performance:
* **Green background** → bullish aggregate performance
* **Red background** → bearish aggregate performance
Perfect for intraday visual bias.
### **5. Significant Change Alerts**
Users can enable alerts when the M7 line makes a **large bar-over-bar move**, indicating meaningful volatility or momentum shifts.
Configurable sensitivity.
### **6. Full Alert Suite Included**
Alerts available for:
✔ MA Crossover
✔ MA Crossunder
✔ Angle Up Event
✔ Angle Down Event
✔ Significant Change Threshold Break
✔ **Background Bias Shift (Bullish/Bearish)**
Every alert is optimized to fire only on proper confirmation.
## **Use Cases**
* Confirm index trades (SPX, QQQ, NQ, ES) by reading underlying mega-cap strength
* Detect early trend acceleration or weakening
* Spot market reversals via angle flips
* Automate alerts for regime shifts
* Validate market bias without scanning all seven stocks individually
This indicator is valuable for **day traders, swing traders, options traders, and futures traders**.
## **Notes & Disclaimer**
This script is provided for **educational purposes only** and does not constitute financial advice. Past performance does not guarantee future results. Always test any tool in a simulated environment before using it with real capital.
© 2025 Andy Campillo (TradingView: readysetfire).
Unauthorized copying, redistribution, or republishing of this indicator is strictly prohibited.
Macro-Sentiment (Macro_Serie 1:7)Part of a 7-indicator macro series. Combines yield curve dynamics, VIX structure, employment data (jobless claims, NFP), ISM manufacturing, US-Japan carry trade flows, and consumer sentiment into a single adaptive stress score. Color-coded regimes guide strategy from "Aggressive" to "Buy the Crash."
BTC - FRIC: Friction & Realized Intensity CompositeTitle: BTC - FRIC: Friction & Realized Intensity Composite
Data: IntoTheBlock
Overview & Philosophy
FRIC (Friction & Realized Intensity Composite) is a specialized on-chain oscillator designed to visualize the "psychological battlegrounds" of the Bitcoin network.
Most indicators focus on Price or Momentum. FRIC focuses on Cost Basis. It operates on the thesis that the market experiences maximum "Friction" when the price revisits the cost basis of a large number of holders. These are the zones where investors are emotionally triggered to react—either to exit "at breakeven" after a loss (creating resistance) or to defend their entry (creating support).
This indicator answers two questions simultaneously:
Intensity: Is the market hitting a Wall (High Friction) or a Vacuum (Low Friction)?
Valuation: Is this happening at a market bottom or a top?
The "Alpha" (Wall vs. Vacuum)
Why we visualize both extremes: This indicator filters out the "Noise" (the middle range) to show you only the statistically significant anomalies.
1. The "Wall" (Positive Z-Score Bars)
What it is : A statistically high number of addresses are at breakeven.
The Implication : Expect a grind. Price action often slows down or reverses here because "Bag Holders" are selling into strength to get out flat, or new buyers are establishing a floor.
2. The "Vacuum" (Negative Z-Score Bars)
What it is : A statistically low number of addresses are at breakeven.
The Implication : Expect acceleration. The price is moving through a zone where very few people have a cost basis. With no natural "breakeven supply" to block the path, price often enters Price Discovery or Free Fall.
Methodology
The indicator constructs a composite view using two premium metrics from IntoTheBlock:
1. The "Activity" (Friction Z-Score): We utilize the Breakeven Addresses Percentage. This measures the % of all addresses where the current price equals the average cost basis.
- Normalization: We apply a rolling Z-Score (Standard Deviation) to this data.
- The Filter: We hide the "Noise" (e.g., Z-Scores between -2.0 and +2.0) to isolate only the events where market structure is truly stretched.
2. The "Context" (Valuation Heatmap): We utilize the MVRV Ratio to color-code the friction.
Deep Value (< 1.0): Price is below the average "Fair Value" of the network.
Overheated (> 3.0): Price is significantly extended above the "Fair Value."
Credit: The MVRV Ratio was originally conceptualized by Murad Mahmudov and David Puell. It remains one of the gold standards for detecting Bitcoin's fair value deviations.
How to Read the Indicator
The chart is visualized as a Noise-Filtered Heatmap.
1. The Bars (Intensity)
Bars Above Zero: High Friction (Congestion). The market is fighting through a supply wall.
Bars Below Zero: Low Friction (Vacuum). The market is accelerating through thin air.
Gray/Ghosted: Noise. Routine market activity; no significant signal.
2. The Colors (Valuation Context) The color tells you why the friction is happening:
🟦 Deep Blue (The "Capitulation Buy"):
Signal: High Friction + Low MVRV.
Meaning : Investors are panic-selling at breakeven/loss, but the asset is fundamentally undervalued. Historically, these are high-conviction cycle bottoms.
🟥 Dark Red (The "FOMO Sell"):
Signal: High Friction + High MVRV.
Meaning : Investors are churning at high valuations. Smart money is often distributing to late retail arrivers. Historically marks cycle tops.
🟨 Yellow/Orange (The "Trend Battle"):
Signal: High Friction + Neutral MVRV.
Meaning : The market is contesting a level within a trend (e.g., a mid-cycle correction).
Visual Guide & Features
10-Zone Heatmap: A granular color gradient that shifts from Dark Blue (Deep Value) → Sky Blue → Grey (Neutral) → Orange → Dark Red (Top).
Noise Filter
A unique feature that "ghosts out" insignificant data, leaving only the statistically relevant signals visible.
Data Check Monitor
A diagnostic table in the bottom-right corner that confirms the live connection to IntoTheBlock data streams and displays the current regime in real-time.
Settings
Lookback Period (Default: 90): The rolling window used for the Z-Score calculation. Shortening this (e.g., to 30) makes the indicator more sensitive to local volatility; lengthening it (e.g., to 365) aligns it with macro cycles.
Noise Threshold (Default: 2.0): The strictness of the filter. Only friction events exceeding this Z-Score will be highlighted in full color.
Show Status Table : Toggles the on-screen dashboard.
Disclaimer
This script is for research and educational purposes only. It relies on third-party on-chain data which may be subject to latency or revision. Past performance of on-chain metrics does not guarantee future price action.
Tags
bitcoin, btc, on-chain, mvrv, intotheblock, friction, z-score, fundamental, valuation, cycle
Fractal Chaos & Kalman Trajectory [Signal]🇺🇸 English Explanation: Silence the Noise, Capture the True Trajectory.
This indicator is an advanced tool that moves beyond conventional technical analysis (RSI, MACD, etc.), merging two cutting-edge concepts from financial mathematics: the Kalman Filter and Fractal Chaos Theory (Hurst Exponent).
How It Works and Why It's Premium
1. Noise Cleaner (Kalman Trajectory)
Technology: The Kalman Filter, famously used by NASA for rocket trajectory calculations.
Benefit: It effectively silences all instantaneous, misleading price fluctuations (noise). This low-lag line plots the price's true trajectory, providing the purest trend line available by constantly self-correcting its error estimate.
2. Chaos Detector (Hurst Exponent)
Technology: Derived from Fractal Geometry and Chaos Theory, the Hurst Exponent.
Benefit: It mathematically distinguishes if the market is currently in a "Trending Mode" or a "Random Walk/Choppy Mode."
H > 0.5 (Trend): The market is orderly; past moves influence the future (Safe to Trade!).
H < 0.5 (Chaos/Random): The market is random; trading should be avoided (Preserve Capital!).
Signal Logic: AWAKE and FEAR: Detecting the Genesis of Order
This indicator does not just produce simple crossover signals; it is engineered to identify the "Genesis of Order"—the precise moment a market transitions from untradeable randomness into a reliable trend regime.
Grey Bars (The Waiting Game): When the Hurst Exponent is below the Chaos Threshold (H < 0.5), bars are colored grey. This is the crucial "Wait Mode" signal, which prevents the trader from entering during the most capital-eroding, sideways, or random markets, thus prioritizing capital preservation.
AWAKE Signal (Long Entry): This signal triggers only when two conditions are met: the market breaks out of Chaos (Hurst > 0.5) and confirms a clear upward trend direction (price above the Kalman Trajectory). This is designed to be the safest entry point for a Long position.
FEAR Signal (Short Entry): Conversely, this signal triggers when the market breaks out of Chaos (Hurst > 0.5) and confirms a clear downward trend direction (price below the Kalman Trajectory). This represents the ideal entry point for a Short position.
THIS IS NOT FINANCIAL ADVICE.
Recommended settings:
Gain: 0.1
Chaos Threshold: 0.65






















