NQ YM Correlation 1 min dataOverview
This indicator plots the correlation between Nasdaq 100 (NQ) and Dow Jones (YM) futures. It is specifically designed to act as an "Engine RPM" gauge for pairs traders who trade divergence or spread breakouts—not mean reversion.
To ensure consistent readings, this indicator always calculates using a 1-minute timeframe data, regardless of the chart timeframe you are currently viewing.
The core idea is:
High Correlation (Blue Zone): "Low RPM" or "Engine Idle." NQ and YM are moving together. The spread is flat. This is a no-trade zone.
Low Correlation (Red Zone): "High RPM" or "Engine Hot." NQ and YM are diverging. The spread is moving. This is the primary trade zone.
المؤشرات والاستراتيجيات
Breakout line - AndurilThis line shows the highest daily closing price of last 20 days default (can be adjusted from the settings). to help you to understand consolidation points and breakouts. 
Earnings CountdownAdd to a chart to show a text box with how long to next earnings. 
Being updated to add functionality from original open source Pine script
RTH VWAP with Deviation BandsRTH session VWAP calculation
3 deviation bands (customizable multipliers)
Visual customization (colors, widths, transparency)
Optional info table showing current values
Alert conditions for VWAP and band crosses
EMA921// ─────────────────────────────────────────────
// Notes for Publishing
// ─────────────────────────────────────────────
// This script plots EMA 9 and EMA 21 with trend shading.
// Colors: EMA 9 = Orange, EMA 21 = White
// Ideal for short-term trend following & entries.
All-in-One EMA/SMA Indicator 5 EMA + 10 EMA + 20 EMA + 50 SMA + 200 SMA
All important moving averages at one place with required modification capabilities
Position Size CalculatorPosition Size Calculator (PSC) helps size trades by dollar risk.
Set your Risk Amount ($).
Choose risk unit: ADR (avg high–low) or ATR (Wilder’s, gap-aware).
Shares = round(Risk $ / risk_unit).
Capital = Shares × current close.
Small table shows Risk $, Shares, Capital, and a mapped sector ETF (e.g., XLK, XLE).
Use ATR for gap-aware sizing; ADR for a simpler range. Adjust period to fit your stop style (shorter = more responsive). PSC is display-only (no orders), works on any symbol/timeframe, and updates on the latest bar.
5 EMA Combo (5, 10, 20, 50, 200)//@version=5
indicator("5 EMA Combo (5, 10, 20, 50, 200)", shorttitle="5 EMA", overlay=true)
// === EMA 5 ===
len1 = input.int(5, minval=1, title="EMA 5 Length")
src1 = input.source(close, "EMA 5 Source")
ema5 = ta.ema(src1, len1)
plot(ema5, title="EMA 5", color=color.new(color.aqua, 0), linewidth=2)
// === EMA 10 ===
len2 = input.int(10, minval=1, title="EMA 10 Length")
src2 = input.source(close, "EMA 10 Source")
ema10 = ta.ema(src2, len2)
plot(ema10, title="EMA 10", color=color.new(color.yellow, 0), linewidth=2)
// === EMA 20 ===
len3 = input.int(20, minval=1, title="EMA 20 Length")
src3 = input.source(close, "EMA 20 Source")
ema20 = ta.ema(src3, len3)
plot(ema20, title="EMA 20", color=color.new(color.orange, 0), linewidth=2)
// === EMA 50 ===
len4 = input.int(50, minval=1, title="EMA 50 Length")
src4 = input.source(close, "EMA 50 Source")
ema50 = ta.ema(src4, len4)
plot(ema50, title="EMA 50", color=color.new(color.green, 0), linewidth=2)
// === EMA 200 ===
len5 = input.int(200, minval=1, title="EMA 200 Length")
src5 = input.source(close, "EMA 200 Source")
ema200 = ta.ema(src5, len5)
plot(ema200, title="EMA 200", color=color.new(color.red, 0), linewidth=3)
// === Optional Alerts ===
alertcondition(ta.crossover(close, ema200), "Bullish Cross Above EMA 200", "Price crossed above EMA 200")
alertcondition(ta.crossunder(close, ema200), "Bearish Cross Below EMA 200", "Price crossed below EMA 200")
Fractal Dimension Index (FDI) by CoryP1990 – Quant ToolkitThe Fractal Dimension Index (FDI) quantifies how directional or choppy price movement is; in other words, it measures the “roughness” of a trend. FDI values near 1.0–1.3 indicate strong directional trends, while values near 1.5–2.0 reflect chaotic or range-bound behavior. This makes FDI a powerful tool for detecting trend vs. mean-reversion regimes.
 How it works 
Calculates the ratio of average price changes over full and half-length windows to estimate the fractal dimension of price movement.
Teal line = FDI decreasing → trending behavior (market smoother, more directional).
Orange line = FDI increasing → choppiness or consolidation.
Background:
Green tint = trend-friendly regime (FDI below low threshold).
Orange tint = choppy regime (FDI above high threshold).
 Use cases 
Detect when markets shift from trend-following to mean-reverting conditions.
Filter trades: favor trend strategies when FDI < 1.3 and reversion setups when FDI > 1.7.
Combine with momentum or volatility metrics to classify regimes.
 Defaults 
Length = 20
High-FDI threshold = 1.8
Low-FDI threshold = 1.2
 Example — TSLA (1D, 2021) 
Early 2021 trades choppy to sideways with FDI swinging up toward 1.5, then the index drops below 1.2 as Tesla transitions into a persistent trend-friendly regime through the second half of the year (green background). During the Q4 breakout, FDI holds ~1.0–1.2, confirming strong directionality; brief pullbacks lift FDI back toward the mid-range before trending pressure resumes. At the right edge, FDI sits well below the low threshold, signaling that price remains in a trend-supportive state.
 Part of the Quant Toolkit — transparent, open-source indicators for modern quantitative analysis. Built by CoryP1990.
KRX RS OverlayKRX RS Overlay (Manual, Pine v6) (한국어 설명 아래에)
What it does
Plots a Relative Strength (RS) line of the current symbol versus a selected Korean market index on the price chart (overlay). RS is computed as Close(symbol) / Close(benchmark) and rebased to 100 N bars ago for easy comparison. An SMA of RS is included for signal smoothing.
Benchmarks (manual selection only)
• KOSPI (KRX:KOSPI) — default
• KOSDAQ (KRX:KOSDAQ)
• KOSPI200 (KRX:KOSPI200)
• KOSDAQ150 (KRX:KOSDAQ150)
Inputs
• Benchmark: choose one of the four indices above (default: KOSPI)
• Rebase N bars ago to 100: sets the normalization point (e.g., 252 ≈ 1 trading year on daily)
• RS SMA length: smoothing period for the RS line
• Show 100 base line: toggle the reference line at 100
How to read
• RS rising → the symbol is outperforming the selected index.
• RS above RS-SMA and sloping up → strengthening leadership vs. the benchmark.
• RS crossing above RS-SMA → momentum-style confirmation (an alert is provided).
Tips
• Works on any timeframe; the benchmark is requested on the same timeframe.
• If the RS line scale conflicts with price, place the indicator on the Left scale (Chart Settings → Scales) or set the series to use the left axis.
Notes
• This script is manual only (no auto index detection).
• Educational use; not financial advice.
⸻
KRX RS 오버레이 (수동, Pine v6)
기능
현재 종목을 선택한 한국 지수와 비교한 상대강도(RS) 라인을 가격 차트 위(오버레이)에 표시합니다. RS는 종목 종가 / 지수 종가로 계산하며, 비교를 쉽게 하기 위해 N봉 전 = 100으로 리베이스합니다. 신호 완화를 위해 RS의 SMA도 함께 제공합니다.
벤치마크(수동 선택만 지원)
• KOSPI (KRX:KOSPI) — 기본값
• KOSDAQ (KRX:KOSDAQ)
• KOSPI200 (KRX:KOSPI200)
• KOSDAQ150 (KRX:KOSDAQ150)
입력값
• Benchmark: 위 4개 지수 중 선택(기본: KOSPI)
• Rebase N bars ago to 100: 리베이스 기준(일봉 252 ≈ 1년)
• RS SMA length: RS 스무딩 기간
• Show 100 base line: 100 기준선 표시 여부
해석 가이드
• RS 상승 → 선택 지수 대비 초과성과.
• RS가 RS-SMA 위 & 우상향 → 벤치마크 대비 리더십 강화.
• RS가 RS-SMA 상향 돌파 → 모멘텀 확인(알림 제공).
팁
• 모든 타임프레임에서 동작하며, 지수도 동일 타임프레임으로 요청됩니다.
• 가격 축과 스케일이 겹치면 왼쪽 스케일로 표시하도록 설정하세요(차트 설정 → Scales).
유의사항
• 자동 지수 판별 기능은 포함하지 않았습니다(수동 전용).
[KF] Multi-Duration Rate Expectations IndicatorAfter last fed cut in Oct then following jump in rates, I was frustrated at not having access to good rate expectations vs actual because the market usually prices in prior to fed action. This indicator was developed to make futures market rate expectations accessible and interpretable without requiring professional bond analytics systems. 
 Summary 
This Pine Script indicator reveals what the futures market expects for interest rates across three key durations: Fed Funds (overnight), 2-Year, and 10-Year Treasury yields. By comparing futures-implied rates against current spot yields, it provides a clear visual signal of whether the market expects rates to rise, fall, or remain steady.
 Understanding Rate Futures 
Fed Funds futures (ZQ1!) use a simple design where the expected rate equals 100 minus the futures price. If ZQ1! trades at 96.12, the market expects a 3.88% Fed Funds rate. Treasury futures work differently - they trade as bond prices (typically 102-115) that move inversely to yields. Converting Treasury futures to implied yields requires complex bond mathematics involving duration and conversion factors.
This indicator solves the Treasury futures complexity by implementing a self-calibrating sensitivity model. It observes the historical relationship between futures prices and yields, then uses this to project rate expectations. The model also compares front-month to next-month contracts to detect expected rate direction, automatically adapting as market conditions change.
 How to Use 
Add the indicator to any chart and select your desired duration in the settings. The display shows the futures-implied rate, current yield, and the difference between them. Green indicates the market expects higher rates, red means lower expectations, and gray shows expectations in line with current rates. 
The indicator excels at identifying divergences between market expectations and current rates, which often precede rate movements or futures repricing. Comparing expectations across different durations reveals insights about yield curve positioning and Fed policy anticipation.
 Technical Note 
While Fed Funds futures provide exact rate expectations, Treasury futures conversions are sophisticated approximations that provide reliable directional signals and reasonable magnitude estimates sufficient for most trading applications.
Multiple EMA Indicator (v6 Ready)This is a multiple EMA indicator where the user can set the EMA value to anything they want.  The user can also change the color to any color they want too.
MARA + IREN / BTC Divergence Monitor (v6, fixed)This indicator tracks the relative performance of two major Bitcoin miners — MARA (Marathon Digital Holdings) and IREN (Irene Energy) against Bitcoin (BTC). It calculates smoothed ratios (Miner Price ÷ BTC Price) for each miner and automatically detects divergences and convergences between them.
Trading Session Analyzer - Best Trading Hours📊 OVERALL DESIGN & PURPOSE
This indicator identifies optimal trading hours based on:
Market session overlaps (when multiple markets are open)
Volume and volatility conditions
Trend strength (ADX)
Range-bound vs trending market detection
Target Use Case: Intraday traders looking to trade during high-liquidity periods with clear directional moves.
RTH Gap Counter (H4) jjha sajifbas bidfiugqfo sjshasdh ghbdsn xjve , yfv ty ggtht,hfnbcm nelf s vb. , pfyjddj yt  [fqykzbcm xtrcjv
Directional Volume Cloud MTFThe Directional Volume Cloud MTF transforms raw volume into a visually intuitive cloud histogram that highlights directional bias and exhaustion zones.
🔍 Core Logic
- Volume bias is calculated using candle direction (bullish/bearish) and smoothed via EMA.
- Bias strength is normalized against average volume to produce a ratio from -1 to +1.
- Color and opacity dynamically reflect bias direction and strength — pale clouds indicate weak volume, while vivid clouds signal strong conviction.
 Features
- Customizable bullish/bearish colors
- Dynamic opacity based on volume strength
- Declining volume signals for potential reversals
- Multi-timeframe bias overlay (e.g., daily bias on intraday chart)
📈 Use Cases
- Spot volume exhaustion before reversals
- Confirm breakout strength with bias intensity
- Compare short-term vs long-term volume pressure
Whether you're scalping intraday moves or validating swing setups, this cloud-based volume heatmap offers a clean, modular way to visualize market conviction.
Time & Sales , Volume Delta and CVD, Volume imbalance , Tick
This Pine Script (version 6) creates a comprehensive TradingView indicator combining Time & Sales (Tape) with Volume Delta, Order Flow Pressure Indicator (OFPI), Volume Imbalance detection, Volume Delta (VD) histogram, Cumulative Volume Delta (CVD), TICK.US histogram, and a summary gauge table. It overlays on the chart with customizable tables, boxes, lines, and labels for real-time trade analysis, momentum, imbalances, and volume metrics.
 Key Features and Components: 
 
 Time & Sales Table: A dynamic table showing recent trades (up to user-defined rows). Columns include Time, Side (▲/▼), Last Price, Volume (or Price-Weighted Volume). Trades below a volume threshold are hidden. Includes a buy/sell scale bar with percentages. Supports timeframe-based or live tick data fetching.
 
 
 OFPI with Gauge: Calculates net aggressive volume pressure using bar body position, smoothed with T3 moving average. Displays a centered gauge bar (e.g., "░░░|███░░") indicating bullish/bearish momentum or shifts.
 
 
 Volume Imbalance (VI): Detects bullish/bearish gaps between bars. Draws semi-transparent boxes with labels (e.g., "5 tks (vi)") for imbalances or gaps. Limits display to a max number, removes filled ones, and uses magnets (🧲) for gaps.
 
 
 Volume Delta (VD): Approximates buy/sell delta via intrabar pressure or polarity. Displays as unipolar/bipolar histogram, optionally overlapping with regular volume or TICK.US. Shows numerical values (green/red/orange for divergences) and price/VD divergences.
 
 
 Cumulative Volume Delta (CVD): Cumulates VD, reset on anchor timeframe (e.g., daily). Displays as line, area, baseline, or candles. Includes optional EMA smoothing and background fills. Detects divergences with price.
 
 
 TICK.US Histogram: Overlays US Tick index (from symbol "TICK.US") as positive/negative bars during US market hours (9:30-16:00 ET, Mon-Fri). Replaces regular volume in some modes.
 Gauge Summary Table: Bottom-left table with momentum text, OFPI gauge, CVD value, current Tick, and last bar's volume breakdown (total/buy/sell/delta).
 
 Customization Options: 
 General:  Timezone, date format, table position/size, colors (gradients for up/down), calculation mode (timeframe/live tick), volume type (volume/price-volume), thresholds, lengths (e.g., lookback, smoothing).
 Display:  Heights/offsets for histograms, line widths/styles, transparencies, label sizes/alignments, divergences, MA on volume, CVD smoothing/background.
 Technical:  Lower timeframe precision (auto or custom), anchor for CVD reset, max VIs to show.
Other: Toggles for VI, TICK.US, numerical values, divergences.
 Credit 
// FuturesCall @ fcalgobot.com
//Time & Sales (Tape)  
// CVD base on Luxalgo CVD indicator
// Momentum Gauge by DskyzInvestments
// volume imbalance by ...
ATR + EMA + Sessions ProATR + EMA + Sessions Pro By Saeed Fadi to save indicator space, it,s for atr, emas, sessions etc.






















