CBC Flip SonBThis script uses several different indicators like vwap, ema's and cbc candle flips.
This script scalping script is best used on the smaller timeframes (10m, 5m)
Corak carta
xGhozt Pattern StatisticsUnlock the power of candlestick patterns with this comprehensive indicator. It automatically identifies and calculates the historical statistics of popular formations like Large Green/Red, Hammer, Doji, Bullish/Bearish Engulfing patterns.
An insights into each pattern's probability of an 'Up', 'Down', or 'Flat' outcome on the **next bar** and over a user-defined **N subsequent bars**. All statistics are presented in a customizable, interactive table directly on your chart, highlighting the most frequent outcomes. Visual markers are plotted to help you spot patterns instantly.
God's Plan 7This is a buy/sell indicator containing the code for the Top Bottom indicator, VWAP and 9 EMA.
Buy conditions are Top Bottom buy and 9 EMA crossing above the VWAP.
Sell conditions are Top Bottom sell and 9 EMA crossing below the VWAP.
C signals indicate continuations.
Zero TOD constraints.
This is a simple strategy to help train the eye to recognize trend shifts and potential entries.
It is important for the users of this strategy to use their own logic when determining stop loss and targets.
Thank you to all of the coders and creators that have provided us with inspiration for this strategy. Happy trading!
EMA10/14/20 Trend Alignment (1st Signal Only)// ╔══════════════════════════════════════════════╗
// ║ M1 Starter Entry 10/14/20 (TH/EN) ║
// ╚══════════════════════════════════════════════╝
//
// 📌 ภาษาไทย:
// ระบบนี้ใช้ EMA 10/14/20 สำหรับจับจุดเข้าไม้ต้นเทรนด์ใน Timeframe M1
// - ออกสัญญาณ Buy เมื่อ EMA เรียงตัว 10 > 14 > 20 และแท่งเทียนยืนเหนือเส้น (โดยไม่แนบเส้นเกินไป)
// - ออกสัญญาณ Sell เมื่อ EMA เรียง 10 < 14 < 20 และแท่งอยู่ใต้เส้นทั้งหมด
// - มีการตรวจสอบระยะห่างระหว่างเส้น เพื่อหลีกเลี่ยงจุดหลอกตอน EMA ชิดกัน
// - สัญญาณออกเฉพาะ “แท่งแรก” หลังเข้าเงื่อนไขเท่านั้น
//
// 📌 English:
// This script detects early trend entries using EMA 10/14/20 on M1 timeframe.
// - Buy signal: When EMA10 > EMA14 > EMA20, and the candle closes above all EMAs
// - Sell signal: When EMA10 < EMA14 < EMA20, and the candle closes below all EMAs
// - Minimum distance between EMAs required to avoid fake signals in flat zones
// - Signals are shown only on the **first candle** that meets all conditions
//
// 🛠 เหมาะกับการใช้คู่กับระบบ MTF หรือแนวรับต้านด้วย
// Created by: คุณซี 💚
🔔 NIFTY 100+ Points Early Move Signal (1H)//@version=5
indicator("🔔 NIFTY 100+ Points Early Move Signal (1H)", overlay=true)
// === Inputs === //
squeezePeriod = input.int(20, title="Price Squeeze Lookback")
rangeTrigger = input.float(100.0, title="Target Move (in Points)")
rsiLength = input.int(14, title="RSI Length")
macdFast = input.int(12)
macdSlow = input.int(26)
macdSignal = input.int(9)
volMultiplier = input.float(1.5, title="Volume Spike Multiplier")
// === RSI & MACD === //
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdBullish = macdLine > signalLine
macdBearish = macdLine < signalLine
// === Price Compression === //
hh = ta.highest(high, squeezePeriod)
ll = ta.lowest(low, squeezePeriod)
compressionRange = hh - ll
tightCompression = compressionRange < (rangeTrigger * 0.6) // Pre-expansion
// === Volume Spike === //
avgVol = ta.sma(volume, 20)
volSpike = volume > avgVol * volMultiplier
// === Early Signal Logic === //
bullSetup = tightCompression and rsi > 50 and macdBullish and volSpike
bearSetup = tightCompression and rsi < 50 and macdBearish and volSpike
// === Plotting Signals === //
plotshape(bullSetup, title="Bullish Setup", location=location.belowbar, color=color.green, style=shape.labelup, text="100↑")
plotshape(bearSetup, title="Bearish Setup", location=location.abovebar, color=color.red, style=shape.labeldown, text="100↓")
bgcolor(bullSetup ? color.new(color.green, 85) : na)
bgcolor(bearSetup ? color.new(color.red, 85) : na)
// === Alerts === //
alertcondition(bullSetup, title="Bullish 100pt Setup", message="🚀 NIFTY: 100+ point UP move likely!")
alertcondition(bearSetup, title="Bearish 100pt Setup", message="🔻 NIFTY: 100+ point DOWN move likely!")
9:15 AM Bullish SetupBAsically it will tell if market open price is greater than 1 % of prev close and also above 20 and 200 SMA
Call and Put signals[vivekm8955]🔍 Strategy Overview
This adaptive strategy generates clear CALL (Buy) and PUT (Sell) signals by combining:
✅ Dual EMA structure
✅ Heikin Ashi trend confirmation
✅ Smoothed Stochastic Momentum Index (SMI)
✅ Take Profit (TP) signals via momentum reversal
✅ Dynamic support from average price action
The goal: Give retail traders institutional-grade signals with clarity, without lag.
📊 Trade Entry Logic
🔼 CALL Signal (Buy):
Fast EMA < Avg Price
Slow EMA < Avg Price
Slow EMA < Fast EMA
Confirmed by crossover
➡️ This implies price has dipped below value zones and is showing strength.
🔽 PUT Signal (Sell):
Fast EMA > Avg Price
Slow EMA > Avg Price
Slow EMA > Fast EMA
Confirmed by crossover
➡️ Indicates price is elevated and showing weakness.
🏁 Exit Logic (Take Profit)
✅ TP Buy Signal: SMI crosses below 0 → Weakening upside
✅ TP Sell Signal: SMI crosses above 0 → Weakening downside
These act as exit cues or partial booking areas.
📌 Visualization & Alerts
🔼 CALL Signal → Green label below candle
🔽 PUT Signal → Red label above candle
✅ TP Signal → Small label (TP) showing ideal exit points
🔔 Real-time alerts enabled (CALL, PUT, TP alerts)
Background color changes based on EMA crossovers for added confirmation.
🕯️ Additional Filters Used
Heikin Ashi Candles: For smoothing out noise and validating trends.
SMI (Double EMA): A momentum indicator better suited for trending markets.
📈 Dashboard Included
Displays current signal, SMI value, and TP status in real-time
Color-coded for easy interpretation
Auto-adaptive table (fixes out-of-bound issues)
📎 Ideal Timeframes
Timeframe Use Case
5m – 15m Intraday Scalping
1h – 4h Swing Trading
1D Positional Plays
🚦 Suggested Usage
Step Action
1️⃣ Confirm signal (CALL or PUT) on 1TF and 1 higher TF
2️⃣ Enter near signal candle close
3️⃣ Exit on TP label OR SMI reversal
4️⃣ Avoid entry during high volatility news events
⚠️ Disclaimer – Use with Caution!
⚠️ This script is for educational & analytical purposes only.
It does NOT guarantee profits, nor is it a financial advisory tool.
Always use risk management: Stop-losses, position sizing, capital preservation.
Do not trade blindly. Backtest it across market conditions.
Past performance is not indicative of future results.
Consult a SEBI-registered advisor for real trading decisions.
🔍 Candle Scanner (75m/D/W/M) + Volume + EMA + Trend//@version=5
indicator("🔍 Candle Scanner (75m/D/W/M) + Volume + EMA + Trend", overlay=true)
is75min = timeframe.period == "75"
// Time Slot Logic for 75-min only
startTime = timestamp("Asia/Kolkata", year, month, dayofmonth, 9, 15)
candle75 = math.floor((time - startTime) / (75 * 60 * 1000)) + 1
candleNo = is75min and candle75 >= 1 and candle75 <= 5 ? candle75 : na
getTimeSlot(n) =>
slot = ""
if n == 1
slot := "09:15–10:30"
else if n == 2
slot := "10:30–11:45"
else if n == 3
slot := "11:45–13:00"
else if n == 4
slot := "13:00–14:15"
else if n == 5
slot := "14:15–15:30"
slot
// EMA Filters
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
aboveEMA20 = close > ema20
aboveEMA50 = close > ema50
// Volume Strength
avgVol = ta.sma(volume, 20)
volStrength = volume > avgVol ? "High Volume" : "Low Volume"
// Candle Body Strength
bodySize = math.abs(close - open)
fullSize = high - low
bodyStrength = fullSize > 0 ? (bodySize / fullSize > 0.6 ? "Strong Body" : "Small Body") : "Small Body"
// Prior Trend
priorTrend = close < close and close < close ? "Downtrend" :
close > close and close > close ? "Uptrend" : "Sideways"
// Patterns
bullishEngulfing = close > open and close < open and close > open and open < close
bearishEngulfing = close < open and close > open and close < open and open > close
hammer = (high - low) > 3 * bodySize and (close - low) / (0.001 + high - low) > 0.6 and (open - low) / (0.001 + high - low) > 0.6
shootingStar = (high - low) > 3 * bodySize and (high - close) / (0.001 + high - low) > 0.6 and (high - open) / (0.001 + high - low) > 0.6
doji = bodySize <= fullSize * 0.1
morningStar = close < open and bodySize < (high - low ) * 0.3 and close > (open + close ) / 2
eveningStar = close > open and bodySize < (high - low ) * 0.3 and close < (open + close ) / 2
// Pattern Selection
pattern = ""
sentiment = ""
colorBox = color.gray
yOffset = 15
if bullishEngulfing
pattern := "Bull Engulfing"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if bearishEngulfing
pattern := "Bear Engulfing"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
else if hammer
pattern := "Hammer"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if shootingStar
pattern := "Shooting Star"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
else if doji
pattern := "Doji"
sentiment := "Neutral"
colorBox := color.gray
yOffset := 15
else if morningStar
pattern := "Morning Star"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if eveningStar
pattern := "Evening Star"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
timeSlot = is75min and not na(candleNo) ? getTimeSlot(candleNo) : ""
info = pattern != "" ? "🕒 " + (is75min ? timeSlot + " | " : "") + pattern + " (" + sentiment + ") | " + volStrength + " | " + bodyStrength + " | Trend: " + priorTrend + " | EMA20: " + (aboveEMA20 ? "Above" : "Below") + " | EMA50: " + (aboveEMA50 ? "Above" : "Below") : ""
// Label Draw
var label lb = na
if info != ""
lb := label.new(bar_index, high + yOffset, text=info, style=label.style_label_down, textcolor=color.white, size=size.small, color=colorBox)
label.delete(lb )
// Smart Alert
validAlert = pattern != "" and (volStrength == "High Volume") and bodyStrength == "Strong Body" and (aboveEMA20 or aboveEMA50)
alertcondition(validAlert, title="📢 Smart Candle Alert", message="Smart Alert: Candle with Volume + EMA + Trend + Pattern Filtered")
Multi-Timeframe RSI Table# Multi-Timeframe RSI Table
## Overview
This indicator displays RSI (Relative Strength Index) values across multiple timeframes in a convenient table format, allowing traders to quickly assess momentum conditions across different time horizons without switching charts.
## Features
• *7 Timeframes*: 5m, 15m, 1h, 4h, Daily, Weekly, Monthly
• *Color-coded RSI Values*:
- 🔴 Red: Overbought (≥70)
- 🟢 Green: Oversold (≤30)
- 🟠 Orange: Bullish momentum (50-70)
- 🟡 Yellow: Bearish momentum (30-50)
• *Clean Table Display*: Positioned in top-right corner for easy viewing
• *Customizable Settings*: Adjustable RSI length and overbought/oversold levels
## How to Use
1. Add the indicator to your chart
2. The table automatically displays current RSI values for all timeframes
3. Use color coding to quickly identify:
- *Buying opportunities* when multiple timeframes show green (oversold)
- *Selling opportunities* when multiple timeframes show red (overbought)
- *Trend alignment* when higher timeframes match your trading direction
## Trading Applications
• *Multi-timeframe analysis*: Confirm signals across different time horizons
• *Entry timing*: Find optimal entry points when shorter timeframes align with longer trends
• *Risk management*: Avoid trades when higher timeframes show opposite momentum
• *Swing trading*: Identify when daily/weekly RSI supports your position direction
## Settings
• *RSI Length*: Default 14 periods (standard RSI calculation)
• *Overbought Level*: Default 70 (customizable)
• *Oversold Level*: Default 30 (customizable)
## Best Practices
• Look for alignment across multiple timeframes for stronger signals
• Use higher timeframe RSI to determine overall trend direction
• Combine with price action and support/resistance levels
• Avoid trading against strong momentum shown in higher timeframes
Perfect for day traders, swing traders, and anyone who needs quick multi-timeframe RSI analysis without constantly switching chart timeframes.
Volume Labels BABYBOTVolume labels babybot spwan for use with 1 min breakout volume candles OKLO NFLX ASML HIMS
XAUUSD Scalper Levels (ChatGPT v2.5)The Pine v6 indicator plots predefined short/long trading zones and breakout levels on XAUUSD, watches for price entering those zones or crossing the breakout lines, and when that happens it builds a formatted message (entry, SL, up to three TPs, and an invalidation note) plus a risk-based lot size calculated from your equity, risk %, and contract value; it then fires an `alert()` with that message and, on the last bar, shows a floating label displaying the next-trade lot suggestion.
Impulse Alert - Demand (Buy) [Fixed]🔵 Impulse Alert – Demand (Buy)
This indicator is designed to detect high-probability Demand Zones based on impulsive bullish price action, helping traders get alerted only when it matters most.
🧠 Core Logic:
Scans the chart for 2 consecutive bullish impulsive candles with significant range (body size)
Also captures single large bullish impulse candles that often mark institutional buying
Marks the origin of the move as a potential Demand Zone
Sends alerts when such bullish setups form, allowing you to monitor charts passively
⚙️ Features:
✅ Alerts on impulsive move formations
✅ Detects both 2-candle and single-candle impulses
✅ Custom zone detection logic based on pip size and momentum
✅ Cleaner & smarter: removes distractions and avoids false signals
📌 Best Used For:
Smart Money / Supply & Demand traders
Identifying potential institutional buy zones
Executing trades with HTF confluence
Traders who want to get alerted without screen-watching
🔁 Suggested Strategy:
Set HTF directional bias (H1, H4, D1)
Use this indicator on LTF (1M–15M) for impulsive bullish entries
Wait for price to return to the marked zone for low-risk entries
💡 Pro Tip: Combine with your Supply Zone (Sell) indicator to track both sides of market structure and increase R:R
👤 Created by: Rohit Jadhav | YT/Insta/X - @GrowthByTrading
📬 Want updates, enhancements, or personal versions? Leave feedback or reach out through profile!
Impulse Alert - Supply (Sell) [Fixed]🟥 Supply Zone (Sell) – Institutional Order Block Detector
This custom indicator automatically detects valid Supply Zones (Sell Zones) based on Smart Money Concepts and institutional trading behavior.
🔍 How It Works:
Identifies strong bearish impulsive moves after price forms a potential Order Block
Valid supply zones are plotted after:
A valid rally–base–drop or drop–base–drop structure
A shift in structure or clear imbalance is detected
The zone is created from the last bullish candle before a strong bearish engulfing move
Zones remain on chart until price revisits and reacts
📊 Use Case:
Ideal for traders using Smart Money Concepts (SMC), Supply & Demand, or ICT-inspired strategies
Perfect for scalping, day trading, or swing setups
Designed for confluence with HTF bias and LTF execution
⚙️ Features:
Supply Zone auto-plotting
Customizable zone color and opacity
Alerts when price returns to the zone (retest entry opportunity)
🧠 Tip for Best Use:
Use in confluence with:
HTF Supply zones (manual or other indicator)
Market Structure breaks
Fair Value Gaps or Imbalance zones
Strong impulsive moves from HTF to LTF
🔁 Future Additions (Coming Soon):
Demand Zone detection
Zone strength rating system
Refined zone filters (volume, candle size, etc.)
Alerts for mitigation or invalidation
📌 Created by: Rohit Jadhav | Real-time market trader | YT/Insta - @GrowthByTrading
💬 Feedback? Drop a comment or connect via profile for updates and tutorials!
90/30 Minute Cycle BoxesThis indicator automatically draws time-based cycle boxes to help visualize market structure and cyclical behavior.
Features:
90-Minute Primary Cycles: Highlights each 90-minute interval with a colored box, showing the high and low of that period.
30-Minute Sub-Cycles: Each 90-minute box is divided into 3 sub-boxes representing 30-minute phases.
Multi-Timeframe Compatible: Works on all timeframes, adapting dynamically to your chart.
Visual Clarity: Alternating box colors make it easy to track price action within and across cycles.
This tool is ideal for traders who use time cycles in their analysis, especially those applying ICT, Smart Money Concepts, or time-based market theories.
MA20/EMA200 Crossover Alert# MA20/EMA200 Crossover Alert with Telegram Integration
**Description:**
This indicator identifies key trend reversals by detecting when the 20-period Simple Moving Average (MA20) crosses the 200-period Exponential Moving Average (EMA200). These crossovers are widely recognized as significant signals for medium to long-term trend changes.
**Key Features:**
- Real-time detection of MA20/EMA200 crossovers on any timeframe (optimized for 1H)
- Visual signals with up/down triangles at crossover points
- Background color highlights for easy identification
- Built-in alert system with JSON-formatted messages for Telegram webhook integration
- Clean, customizable interface with adjustable MA/EMA periods
**Signals:**
- 🟢 **Bullish Signal**: MA20 crosses above EMA200 (potential uptrend beginning)
- 🔴 **Bearish Signal**: MA20 crosses below EMA200 (potential downtrend beginning)
**Alert Integration:**
The indicator includes pre-formatted alert messages designed for direct integration with Telegram bots via webhooks. Each alert contains:
- Symbol and exchange information
- Current price at crossover
- Signal type (BULLISH/BEARISH)
- Descriptive message
**Best Use Cases:**
- Trend following strategies
- Position entry/exit timing
- Multi-timeframe analysis
- Automated trading system triggers
**Note:** This indicator works best on liquid markets and higher timeframes (1H, 4H, 1D) to reduce false signals. Always combine with other analysis methods for confirmation.
**Tags:** ma, ema, moving average, crossover, trend, telegram, alert, webhook, trading, signal
52/26/13/4 High WeekThis is a tool to identify the 52-week high of a candlestick for use in breakout strategies. It can be used in conjunction with Pocket Pivot and EMA or Volume.
It is ideal for studying price behavior and trend following.
Dual ORB (5 & 15 Min) Retest SignalsThe Dual Orb Indicator allows you to see the orb effortlessly! it also gives you buy/sell signals on both the 5 minute timeframe and the 15 minute timeframe! if you have any questions or suggestions please comment below and let me know what you think!
Multi-Timeframe SMTSummery
The Multi-Timeframe SMT indicator is designed to identify and visualize Higher Timeframe (HTF) data on a Lower Timeframe (LTF) chart, allowing traders to see the broader market context without changing their current chart's resolution. It accurately draws pivots and SMT divergences from higher timeframes on the corresponding candles of your current lower timeframe chart.
Its core features include:
Multi-Timeframe Analysis: Configure and monitor pivots on up to four independent timeframes, from intraday to monthly.
Customizable Pivot Detection: Define the strength of pivots by adjusting the number of bars to the left and right.
SMT Divergence: Automatically identifies bullish and bearish SMT divergences by comparing the price action of the main chart symbol with a chosen correlated asset.
Early SMT Detection: A unique feature that monitors a lower "detection timeframe" to provide early warnings of potential SMT setups before they're confirmed on the main timeframe. Note that this early detection is only shown on timeframes equal to or lower than the "Detection timeframe" you have set.
Visual Cues & Alerts: Clear on-chart labels, lines, and fully customizable alerts notify you of confirmed pivots and SMT divergences, ensuring you don't miss key opportunities.
Important Nuance Regarding Pivot Label Display
Due to a self-imposed limit within this script's drawing management logic, the indicator might quickly reach its drawing capacity if you enable pivot crosses for multiple timeframes simultaneously. When this internal drawing limit is exceeded, the script is designed to automatically remove the oldest drawings to make space for new ones.
Therefore, to ensure optimal performance and visibility of the most recent and relevant pivots, it's highly recommended to only enable the "Show Pivot Crosses" option for one timeframe at a time. If you wish to view pivots for a different timeframe, simply disable the pivot crosses for the currently active timeframe and then enable them for your desired one. This approach prevents the rapid cycling and disappearance of pivot labels, providing a clearer and more stable visual experience.
In-Depth Explanation of the Logic
This script is built on two primary concepts: pivot points and Smart Money Technique (SMT) divergence. It systematically collects historical data on multiple timeframes, identifies pivots, and then compares them between two assets to find divergences.
Pivot Point Identification
A pivot is a turning point in the market. A pivot high is a candle that has a higher high than the candles to its immediate left and right. Conversely, a pivot low is a candle with a lower low than its neighbors.
How it Works in the Script:
The script tracks the highest high and lowest low for each period of the selected timeframe (e.g., for each 4-hour candle). When a new high-timeframe candle closes, it stores that high/low value and its bar index in an array. The checkForPivot() function then checks if a recently stored high or low qualifies as a pivot.
Key Inputs:
Left Strength (leftBars1): The number of candles to the left that must have a lower high (for a pivot high) or higher low (for a pivot low).
Right Strength (rightBars1): The number of candles to the right that must meet the same criteria.
For example, with Left Strength and Right Strength both set to 3, a pivot high is only confirmed when its high is greater than the highs of the 3 previous high-timeframe candles and the 3 subsequent high-timeframe candles. Increasing these values will identify more significant, longer-term pivots.
Smart Money Technique (SMT) Divergence
SMT Divergence is a concept popularized by The Inner Circle Trader (ICT). It occurs when two closely correlated assets fail to move in sync. For instance, if Asset A makes a higher high but Asset B fails to do so and instead makes a lower high, this creates a bearish SMT divergence. It suggests that the "smart money" may not be supporting the move in Asset A, signaling a potential reversal.
Bearish SMT: Main asset makes a higher high, while the correlated asset makes a lower high. This is a potential sell signal.
Bullish SMT: Main asset makes a lower low, while the correlated asset makes a higher low. This is a potential buy signal.
How it Works in the Script:
Data Request: For each timeframe, the script uses the request.security() function to fetch the high and low data for both the main chart symbol (syminfo.tickerid) and the chosen Comparison Asset.
Pivot Comparison: When a new pivot is confirmed on the main asset, the script checks if a corresponding pivot also formed on the comparison asset at the same time.
Divergence Check: It then compares the direction of the pivots. For a bearish SMT, it checks if the main asset's new pivot high is higher than its previous pivot high, while the comparison asset's new pivot high is lower than its previous one. The logic is reversed for bullish SMT.
Visualization: If a divergence is found, the script draws a red (bearish) or green (bullish) line connecting the two pivots on your chart and places an "SMT" label.
Early SMT Detection
This is a proactive feature designed to give you a heads-up. Waiting for a 4-hour or daily pivot to form can take a long time. The early detection system looks for SMT divergences on a much smaller, user-defined Detection timeframe (e.g., 15-minute).
How it Works in the Script:
Awaiting Setup: After a primary pivot (Pivot A) is formed on the main timeframe (e.g., a Daily pivot high), the script begins monitoring.
Intraday Monitoring: It then watches the Detection timeframe (e.g., 15-minute) for smaller intraday pivots.
Potential Divergence: It looks for an intraday pivot that forms a divergence against the primary Pivot A.
Watchline & Alert: When this "potential" divergence occurs, the script draws a dashed white line and triggers a "Potential SMT" alert. This isn't a confirmed SMT on the main timeframe yet, but it's a powerful early warning that one may be forming.
Drawing & Object Management
To keep the chart clean and prevent performance issues, the script manages its drawings (lines and labels) efficiently. It stores them in arrays and uses a drawing limit to automatically delete the oldest drawings as new ones are created, ensuring your TradingView remains responsive.
How to Use the Indicator
Configuration
Enable Timeframes: Use the checkboxes (Enable Timeframe 1, Enable Timeframe 2, etc.) to activate the timeframes you want to monitor. It's often best to start with one or two to keep the chart clean.
Select Timeframes: Choose the higher timeframes you want to analyze (e.g., 240 for 4-hour, D for Daily, W for Weekly).
Set Pivot Strength: The default of 3 for Left/Right strength is a good starting point. Increase it to find more significant market structure points or decrease it for more frequent, shorter-term pivots.
Configure SMT:
Check Enable SMT for the timeframes where you want to detect divergence.
Enter a Comparison Asset . This is crucial. Ensure the assets are correlated.
To use the early warning system, check Enable early SMT detection and select an appropriate Detection timeframe (e.g., 15 or 60 minutes for a Daily analysis).
🌊 Reinhart-Rogoff Financial Instability Index (RR-FII)Overview
The Reinhart-Rogoff Financial Instability Index (RR-FII) is a multi-factor indicator that consolidates historical crisis patterns into a single risk score ranging from 0 to 100. Drawing from the extensive research in "This Time is Different: Eight Centuries of Financial Crises" by Carmen M. Reinhart and Kenneth S. Rogoff, the RR-FII translates nearly a millennium of crisis data into practical insights for financial markets.
What It Does
The RR-FII acts like a real-time financial weather forecast by tracking four key stress indicators that historically signal the build-up to major financial crises. Unlike traditional indicators based only on price, it takes a broader view, examining the global market's interconnected conditions to provide a holistic assessment of systemic risk.
The Four Crisis Components
- Capital Flow Stress (Default weight: 25%)
- Data analyzed: Volatility (ATR) and price movements of the selected asset.
- Detects abrupt volatility surges or sharp price falls, which often precede debt defaults due to sudden stops in capital inflow.
- Commodity Cycle (Default weight: 20%)
- Data analyzed: US crude oil prices (customizable).
- Watches for significant declines from recent highs, since commodity price troughs often signal looming crises in emerging markets.
- Currency Crisis (Default weight: 30%)
- Data analyzed: US Dollar Index (DXY, customizable).
- Flags if the currency depreciates by more than 15% in a year, aligning with historical criteria for currency crashes linked to defaults.
- Banking Sector Health (Default weight: 25%)
- Data analyzed: Performance of financial sector ETFs (e.g., XLF) relative to broad market benchmarks (SPY).
- Monitors for underperformance in the financial sector, a strong indicator of broader financial instability.
Risk Scale Interpretation
- 0-20: Safe – Low systemic risk, normal conditions.
- 20-40: Moderate – Some signs of stress, increased caution advised.
- 40-60: Elevated – Multiple risk factors, consider adjusting positions.
- 60-80: High – Significant probability of crisis, implement strong risk controls.
- 80-100: Critical – Several crisis indicators active, exercise maximum caution.
Visual Features
- The main risk line changes color with increasing risk.
- Background colors show different risk zones for quick reference.
- Option to view individual component scores.
- A real-time status table summarizes all component readings.
- Crisis event markers appear when thresholds are breached.
- Customizable alerts notify users of changing risk levels.
How to Use
- Apply as an overlay for broad risk management at the portfolio level.
- Adjust position sizes inversely to the crisis index score.
- Use high index readings as a warning to increase vigilance or reduce exposure.
- Set up alerts for changes in risk levels.
- Analyze using various timeframes; daily and weekly charts yield the best macro insights.
Customizable Settings
- Change the weighting of each crisis factor.
- Switch commodity, currency, banking sector, and benchmark symbols for customized views or regional focus.
- Adjust thresholds and visual settings to match individual risk preferences.
Academic Foundation
Rooted in rigorous analysis of 66 countries and 800 years of data, the RR-FII uses empirically validated relationships and thresholds to assess systemic risk. The indicator embodies key findings: financial crises often follow established patterns, different types of crises frequently coincide, and clear quantitative signals often precede major events.
Best Practices
- Use RR-FII as part of a comprehensive risk management strategy, not as a standalone trading signal.
- Combine with fundamental analysis for complete market insight.
- Monitor for differences between component readings and the overall index.
- Favor higher timeframes for a broader macro view.
- Adjust component importance to suit specific market interests.
Important Disclaimers
- RR-FII assesses risk using patterns from past crises but does not predict future events.
- Historical performance is not a guarantee of future results.
- Always employ proper risk management.
- Consider this tool as one element in a broader analytical toolkit.
- Even with high risk readings, markets may not react immediately.
Technical Requirements
- Compatible with Pine Script v6, suitable for all timeframes and symbols.
- Pulls data automatically for USOIL, DXY, XLF, and SPY.
- Operates without repainting, using only confirmed data.
The RR-FII condenses centuries of financial crisis knowledge into a modern risk management tool, equipping investors and traders with a deeper understanding of when systemic risks are most pronounced.
Prev Day High/Low + 15min Range Boxes//@version=5
indicator("Prev Day High/Low + 15min Range Boxes (Next Day Display)", overlay=true, dynamic_requests=true)
rth_tz = "America/New_York"
rth_start = timestamp(rth_tz, year, month, dayofmonth, 9, 30)
rth_end = timestamp(rth_tz, year, month, dayofmonth, 16, 0)
// Get 15-minute data
= request.security(syminfo.tickerid, "15", )
// Define yesterday's RTH
curr = time("15")
prev = curr - 24 * 60 * 60 * 1000
yesterday_start = timestamp(rth_tz, year(prev), month(prev), dayofmonth(prev), 9, 30)
yesterday_end = timestamp(rth_tz, year(prev), month(prev), dayofmonth(prev), 16, 0)
// Collect yesterday's RTH extremes
var float prevHigh = na
var float prevLow = na
var int prevHighTime = na
var int prevLowTime = na
var float prevHighBody = na
var float prevLowBody = na
inRTH_yesterday = time15 >= yesterday_start and time15 <= yesterday_end
if inRTH_yesterday
if na(prevHigh) or hi15 > prevHigh
prevHigh := hi15
prevHighTime := time15
prevHighBody := na
if na(prevLow) or lo15 < prevLow
prevLow := lo15
prevLowTime := time15
prevLowBody := na
// Capture the body of the next 15m candle after the extremes
highNextCond = not na(prevHighTime) and time15 == prevHighTime + 15 * 60 * 1000
lowNextCond = not na(prevLowTime) and time15 == prevLowTime + 15 * 60 * 1000
if highNextCond
prevHighBody := math.max(op15, cl15)
if lowNextCond
prevLowBody := math.min(op15, cl15)
// ⏱ Today’s RTH
today_start = timestamp(rth_tz, year, month, dayofmonth, 9, 30)
today_end = timestamp(rth_tz, year, month, dayofmonth, 16, 0)
inRTH_today = time >= today_start and time <= today_end
// Draw the yellow boxes on current RTH using previous day’s high/low
var box highBox = na
var box lowBox = na
if inRTH_today and not na(prevHigh) and not na(prevHighBody)
if na(highBox)
highBox := box.new(left=today_start, right=today_end, top=prevHigh, bottom=prevHighBody,
xloc=xloc.bar_time, border_color=color.yellow, bgcolor=color.new(color.yellow, 70), border_width=1)
if inRTH_today and not na(prevLow) and not na(prevLowBody)
if na(lowBox)
lowBox := box.new(left=today_start, right=today_end, top=prevLowBody, bottom=prevLow,
xloc=xloc.bar_time, border_color=color.yellow, bgcolor=color.new(color.yellow, 70), border_width=1)
WLD Estrategia Compra/Venta Multi IndicadoresA BUY signal is only triggered when all the following are true:
RSI < 30
Indicates oversold territory—potential for a bounce.
MACD crossover upward
The MACD line crosses above the signal line, a bullish momentum shift.
MA50 > MA200
Confirms an overall bullish trend (Golden Cross).
Price below lower Bollinger Band
Shows price is at an extreme low (potential reversal zone).
Stochastic RSI < 20
Adds confirmation of short-term oversold condition.
When all are true simultaneously, a BUY signal is triggered.
A SELL signal is triggered when all the following are true:
RSI > 70
Indicates the asset is overbought—risk of pullback.
MACD crossover downward
The MACD line crosses below the signal line—bearish shift.
MA50 < MA200
Confirms a bearish trend (Death Cross).
Price above upper Bollinger Band
Suggests price is at an extreme high—potential exhaustion.
Stochastic RSI > 80
Confirms short-term overbought momentum.
When all conditions align, a SELL signal is triggered.
Zone Levels (Final 888)📌 Zone Levels Indicator – Buy & Sell Zones with Alerts
This script plots clearly defined buy and sell zones on the chart, with custom top/bottom price inputs for each zone. Ideal for traders who want to visually track high-probability reversal or entry areas.
✅ Key Features:
🔧 Fully customizable zones via settings
📏 Extends zones 240 bars to the left and 40 bars to the right
🏷️ Auto-labeled zones with proper price formatting (e.g. 3385–3390)
🔔 Built-in alerts when price enters any zone
🎯 Mid-zone line for key reference level
🟢 Buy Zones:
Buy Z1: 3415–3412
Buy Z2: 3405–3402
Buy Z3: 3400–3397
Buy Z4: 3390–3385
🔴 Sell Zones:
Sell Z1: 3430–3431
Sell Z2: 3434–3436
Sell Z3: 3439–3441
Sell Z4: 3445–3450
This indicator helps discretionary traders who rely on clean visual zones and precise price levels to act confidently without clutter.
Feel free to modify zone values in the settings to match your own strategy or market conditions.
Remark: This script created by AI