Previous Week High & Low Flat Trendlines + Labels on Current weeks lower time frames which display Previous Week High & Low 
Göstergeler ve stratejiler
Yit BBIn this script the deviation is 1.25 the normal standard issue Bollinger band indicator uses 2. for my type of trading I don't have time price action to wait for a 2 STDRD DEV. this is a more aggressive type of indicator. 
The MA is the 10 day. 
Intraday Perpetual Premium & Z-ScoreThis indicator measures the real-time premium of a perpetual futures contract relative to its spot market and interprets it through a statistical lens.
It helps traders detect when funding pressure is building, when leverage is being unwound, and when crowding in the futures market may precede volatility.
How it works
	•	Premium (%) = (Perp – Spot) ÷ Spot × 100
The script fetches both spot and perpetual prices and calculates their percentage difference each minute.
	•	Rolling Mean & Z-Score
Over a 4-hour look-back, it computes the average premium and standard deviation to derive a Z-Score, showing how stretched current sentiment is.
	•	Dynamic ±2σ Bands highlight statistically extreme premiums or discounts.
	•	Rate of Change (ROC) over one hour gauges the short-term directional acceleration of funding flows.
Colour & Label Interpretation
Visual cue	Meaning	Trading Implication
🟢 Green bars + “BULL Pressure”	Premium rising faster than mean	Leverage inflows → momentum strengthening
🔴 Red bars + “BEAR Pressure”	Premium shrinking	Leverage unwind → pull-back or consolidation
⚠️ Orange “EXTREME Premium/Discount”		Crowded trade → heightened reversal risk
⚪ Grey bars	Neutral	Balanced conditions
Alerts
	•	Bull Pressure Alert → funding & premium rising (momentum building)
	•	Bear Pressure Alert → premium falling (deleveraging)
	•	Extreme Premium Alert → crowded longs; potential top
	•	Extreme Discount Alert → capitulation; possible bottom
Use case
Combine this indicator with your Heikin-Ashi, RSI, and MACD confluence rules:
	•	Enter only when your oscillators are low → curling up and Bull Pressure triggers.
	•	Trim or exit when Bear Pressure or Extreme Premium appears.
	•	Watch for Extreme Discount during flushes as an early bottoming clue.
Yit's SMA'sThis is the first update to my original SMA indicators I've added the following:
10 Week SMA
40 Week SMA 
3 Month SMA
18 Month SMA 
I wanted to add more based on these being common indicators various types of trading uses. 
There will probably be more in the future. 
Livelli OI-PNCOI-PNC Levels is a script that displays the open interest (OI) and net short positions (PNC) of a selection of 20 of the most significant stocks in terms of traded value on the Italian market.
 
 PNC are indicated by red dotted lines starting from the close of the last reported change date;
 The most significant open interest by number of contracts (Top 10 Calls and Top 10 Puts) are displayed using labels, all on a single line (Strike, CALL, PUT);
 A summary table can be activated.
 
the data is hardcoded using static arrays and must be updated periodically. Data updated of 03/11/2025 
########### Italiano ############
Livelli OI-PNC è uno script che permette di visualizzare gli open interest (OI) e le Posizioni Nette Corte (PNC) di una selezione di 20 titoli tra i più significativi per controvalore movimentato del mercato italiano. 
 
 Le PNC vengono indicate tramite Linee tratteggiate rosse che partono dal close della data di ultima variazione comunicata;
 Sono riportati tramite labels, gli Open Interest più significativi per num.Contratti (Top 10 Call e top 10 Put) tutto su una unica riga per ogni strike (Strike, CALL, PUT);
 E' attivabile una Tabella di riepilogo.
  
Poiché Pine Script non può leggere direttamente file da URL esterni, i dati sono hardcorati tramite array statici e vanno aggiornati periodicamente. Dati aggiornati al 03/11/2025
Simple EMA Cloud 20/50Shades the area between the 20 and 50 EMAs.
That's all it does, but combined with other indicators like the MACD, it gives you clear indications of entries and exits.
AND, it has no calories.  What more could you ask for?
OmniTraderOmniTrader — What It Does 
A pragmatic intraday toolkit that keeps your chart readable while surfacing the levels traders actually use: EMAs across timeframes, VWAP, yesterday’s high/low, Asian/London/NY session ranges, and a configurable Opening Range Breakout (ORB).
 
 Multi-Timeframe EMAs (EMA 1 & 2)  — Pick any TF per EMA (e.g., 5m EMA on a 1m chart).
 VWAP  — Toggle on/off for quick mean/flow context.
 Session High/Low (live → frozen) 
 
 Tracks Asian / London / New York in your chart/exchange timezone.
 Rays auto-extend; labels optional.
 
 Previous Day High/Low  — Daily levels with optional labels; auto-resets each new day.
 Opening Range Breakout (ORB) 
 
 Choose session (NY/London/Asian) and 15m or 30m window.
 Levels update live during the window, then lock.
 Separate colors for ORB High & ORB Low + labels.
 
 Style & Clarity Controls  — Per-group color pickers, line width/style, label size & visibility.
 
 Designed to minimize clutter while keeping essentials visible. 
Buy on Blue, Sell on Red (EMA + optional RSI) TyusEThis indicator is a trend-following system that helps traders identify potential buy and sell opportunities using a combination of EMA crossovers and an optional RSI filter for confirmation.
It plots:
🔵 Blue dots (BUY signals) when the fast EMA crosses above the slow EMA — signaling bullish momentum.
🔴 Red dots (SELL signals) when the fast EMA crosses below the slow EMA — signaling bearish momentum.
You can optionally filter these signals using the RSI (Relative Strength Index) to avoid false breakouts — for example, only taking BUY signals when RSI is above 55 (showing strength) and SELL signals when RSI is below 45 (showing weakness).
⚙️ Features
Adjustable Fast EMA and Slow EMA lengths
Optional RSI confirmation filter
Customizable RSI thresholds for entries
“Confirm on bar close” setting to reduce repainting
Built-in alert conditions for real-time notifications
💡 How to Use
Use blue dots as potential long entries and red dots as potential short entries.
Confirm direction with overall trend, structure, or higher timeframe alignment.
Combine with support/resistance, volume, or price action for best results.
⚠️ Note
This is a technical tool, not financial advice. Always backtest and use proper risk management before trading live markets.
T.E
Volume Area 80 Rule Pro - Adaptive RTHSummary in one paragraph
Adaptive value area 80 percent rule for index futures large cap equities liquid crypto and major FX on intraday timeframes. It focuses activity only when multiple context gates align. It is original because the classic prior day value area traverse is fused with a daily regime classifier that remaps the operating parameters in real time. 
Scope and intent
• Markets. ES NQ SPY QQQ large cap equities BTC ETH major FX pairs and other liquid RTH instruments
• Timeframes. One minute to one hour with daily regime context
• Default demo used in the publication. ES1 on five minutes
• Purpose. Trade only the balanced days where the 80 percent traverse has edge while standing aside or tightening rules during trend or shock
Originality and usefulness
• Unique fusion. Prior day value area logic plus a rolling daily regime classifier using percentile ranks of realized volatility and ADX. The regime remaps hold time end of window stop buffer and value area coverage on each session
• Failure mode addressed. False starts during strong trend or shock sessions and weak traverses during quiet grind
• Testability. All gates are visible in Inputs and debug flags can be plotted so users can verify why a suggestion appears
• Portable yardstick. The regime uses ATR divided by close and ADX percent ranks which behave consistently across symbols
Method overview in plain language
The script builds the prior session profile during regular trading hours. At the first regular bar it freezes yesterday value area low value area high and point of control. It then evaluates the current session open location the first thirty minute volume rank the open gap rank and an opening drive test. In parallel a daily series classifies context into Calm Balance Trend or Shock from rolling percentile ranks of realized volatility and ADX. The classifier scales the rules. Calm uses longer holds and a slightly wider value area. Trend and Shock shorten the window reduce holds and enlarge stop buffers.
Base measures
• Range basis. True Range smoothed over a configurable length on both the daily and intraday series
• Return basis. Not required. ATR over close is the unit for regime strength
Components
• Prior Value Area Engine. Builds yesterday value area low value area high and point of control from a binned volume profile with automatic TPO fallback and minimum integrity guards
• Opening Location. Detects whether the session opens above the prior value area or below it
• Inside Hold Counter. Counts consecutive bars that hold inside the value area after a re entry
• Volume Gate. Percentile of the first thirty minutes volume over a rolling sample
• Gap Gate. Percentile rank of the regular session open gap over a rolling sample
• Drive Gate. Opening drive check using a multiple of intraday ATR
• Regime Classifier. Percentile ranks of daily ATR over close and daily ADX classify Calm Balance Trend Shock and remap parameters
• Session windows optional. Windows follow the chart exchange time
Fusion rule
Minimum satisfied gates approach. A re entry must hold inside the value area for a regime scaled number of bars while the volume gap and drive gates allow the setup. The regime simultaneously scales value area coverage end minute time stop and stop buffer.
Signal rule
• Long suggestion appears when price opens below yesterday value area then re enters and holds for the required bars while all gates allow the setup
• Short suggestion appears when price opens above yesterday value area then re enters and holds for the required bars while all gates allow the setup
• WAIT shows implicitly when any required gate is missing
• Exit labels mark target touch stop touch or a time based close
Inputs with guidance
Setup
• Signal timeframe. Uses the chart by default
• Session windows optional. Start and end minutes inside regular trading hours
• Invert direction is not used. The logic is symmetric
Logic
• Hold bars inside value area. Typical range 3 to 12. Raising it reduces trades and favors better traverses. Lowering it increases frequency and risk of false starts
• Earliest minute since RTH open and Latest minute since RTH open. Typical range 0 to 390. Reducing the latest minute cuts late session trades
• Time stop bars after entry. Typical range 6 to 30. Larger values give setups more room
Filters
• Value area coverage. Typical range 0.70 to 0.85. Higher coverage narrows the traverse but accepts fewer days
• Bin size in ticks. Typical range 1 to 8. Larger bins stabilize noisy profiles
• Stop buffer ticks beyond edge. Typical range 2 to 20. Larger buffers survive noise
• First thirty minute volume percentile. Typical range 0.30 to 0.70. Higher values require more active opens
• Gap filter percentile. Typical range 0.70 to 0.95. Lower values block more gap days
• Opening drive multiple and bars. Higher multiple or longer bars block strong directional opens
Adaptivity
• Lookback days for regime ranks. Typical 150 to 500
• Calm RV percentile. Typical 25 to 45
• Trend ADX percentile. Typical 55 to 75
• Shock RV percentile. Typical 75 to 90
• End minute ratio in Trend and Shock. Typical 0.5 to 0.8
• Hold and Time stop scales per regime. Use values near one to keep behavior close to static settings
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• Shapes can move while a bar forms and settle on close
• Sessions use the chart exchange time
Honest limitations and failure modes
• Economic releases and thin liquidity can break the balance premise
• Gap heavy symbols may work better with stronger gap filters and a True Range focus
• Very quiet regimes reduce signal contrast. Consider longer windows or higher thresholds
Legal
Education and research only. Not investment advice. Test in simulation before any live use.
Simulated Fear & Greed (CNN-calibrated v2)🧭 Fear & Greed Index — TradingView Version (Simulated CNN Model)
🔍 Purpose
The Fear & Greed Index is a sentiment indicator that quantifies market emotion on a scale from 0 to 100, where:
0 represents Extreme Fear (capitulation, oversold conditions), and
100 represents Extreme Greed (euphoria, overbought conditions).
It helps traders assess whether the market is driven by fear (risk aversion) or greed (risk appetite) — giving a high-level view of potential turning points in market sentiment.
⚙️ How It Works in TradingView
Because TradingView cannot directly access CNN’s or alternative external sentiment feeds, this indicator simulates the Fear & Greed Index by analyzing in-chart technical data that reflect investor psychology.
It uses a multi-factor model, converting price and volume signals into a composite sentiment score.
🧩 Components Used (Simulated Metrics)
Category	Metric	Emotional Interpretation
Volatility	ATR (Average True Range)	High ATR = Fear, Low ATR = Greed
Momentum	RSI + MACD Histogram	Rising momentum = Greed, Falling = Fear
Volume Activity	Volume Z-Score	High positive deviation = Greed, Low = Fear
Trend Context	SMA Regime Bias (50/200)	Downtrend adds Fear penalty, Uptrend supports Greed
These elements are normalized into a 0–100 scale using percentile ranks (like statistical scoring) and then combined using user-adjustable weights.
⚖️ CNN-Style Calibration
The script follows CNN’s five sentiment bands for clarity:
Range	Zone	Colour	Description
0–25	Extreme Fear	🔴 Red	Panic, forced selling, capitulation risk
25–45	Fear	🟠 Orange	Uncertainty, hesitation, early accumulation phase
45–55	Neutral	⚪ Gray	Balanced sentiment, indecision
55–75	Greed	🟢 Light Green	Optimism, trend continuation
75–100	Extreme Greed	💚 Bright Green	Euphoria, risk of reversal
This structure aligns visually with CNN’s public gauge, making it easy to interpret.
NQ YM Correlogram Meter TypeOverview
This indicator provides a real-time, visual "meter" of the correlation between the Nasdaq 100 (NQ) and the Dow Jones (YM) futures. It is designed as a clean, non-intrusive dashboard panel that displays only the current correlation value, making it an ideal companion for pairs traders who need to see the live relationship at a glance.
Unlike a traditional oscillator that plots historical data, this tool focuses exclusively on the "right now" to aid in immediate trade decisions.
Key Features
Real-Time Correlation Meter: A single vertical bar displays the current correlation, visually mapping the -1.0 to +1.0 range.
Clear Visual Cues: The bar's color gradient (from red for negative correlation to green for positive correlation) and fill level provide an instant understanding of the market relationship.
Precise Value Display: The exact numerical correlation (e.g., 0.85 or -0.50) is shown clearly at the bottom of the meter.
Contextual Y-Axis: Static labels (+1.0, +0.5, 0.0, -0.5) provide quick reference points for the meter's reading.
Dashboard Panel: Renders cleanly as an overlay table on the right side of your chart, saving screen real estate.
How to Use
This indicator is best used as a confirmation tool alongside a primary pairs trading strategy or a historical correlation oscillator.
High Green Bar (near +1.0): Indicates a strong positive correlation. NQ and YM are moving in sync.
Bar near 0.0: Indicates little to no linear relationship.
Low Red Bar (near -1.0): Indicates a strong negative (inverse) correlation. NQ and YM are moving in opposite directions.
For a pairs trader, this meter provides an instant check to confirm if the two assets are in their expected state of correlation at the moment of execution.
Settings & Customization
Correlation Period: Set the lookback length for the correlation calculation.
Symbols: Fully customizable, though it defaults to YM1! and NQ1!.
Panel Appearance: Adjust the Table Size (Small/Large) and Chart Theme (Light/Dark).
Text Size: Independently control the font size for the numerical Value Text and the Y-Axis Labels to perfectly fit your display.
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
Roboquant RP Profits NY Open Retest StrategyRoboquant RP Profits NY Open Retest Strategy A good strategy for CL
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")






















