Session Highs and Lows Indicator (DST + Editable Times)Previous session highs and lows labeled for NY, Asia, and London. Key component in swing strategies are finding levels for price to respect and to chase and a very strong level is the previous session's high or low. Adjustable settings to view specific time windows and customizable color settings for your own preference.
Futures
Opening-Range BreakoutNote: Default trading date range looks mediocre. Set date range to "Entire History" to see full effect of the strategy. 50.91% profitable trades, 1.178 profit factor, steady profits and limited drawdown. Total P&L: $154,141.18, Max Drawdown: $18,624.36. High R^2
█ Overview
The Opening-Range Breakout strategy is a mechanical, session‑based day‑trading system designed to capture the initial burst of directional momentum immediately following the market open. It defines a user‑configurable “opening range” window, measures its high and low boundaries, then places breakout stop orders at those levels once the range closes. Built‑in filters on minimum range width, reward‑to‑risk ratios, and optional reversal logic help refine entries and manage risk dynamically.
█ How It Works
Opening‑Range Formation
Between 9:30–10:15 AM ET (configurable), the script tracks the highest high and lowest low to form the day’s opening range box.
On the first bar after the range window closes, the range high (OR_high) and low (OR_low) are “locked in.”
Range‑Width Filter
To avoid false breakouts in low‑volatility mornings, the range must be at least X% of the current price (default 0.35%).
If the measured opening-range width < minimum threshold, no orders are placed that day.
Entry & Order Placement
Long: a stop‑buy order at the opening‑range high.
Short: a stop‑sell order at the opening‑range low.
Only one side can trigger (or both if reverse logic is enabled after a losing trade).
Risk Management
Once triggered, each trade uses an ATR‑style stop-loss defined as a percentage retracement of the range (default 50% of range width).
Profit target is set at a configurable Reward/Risk Ratio (default 1.1×).
Optional: Reverse on Stop‑Loss – if the initial breakout loses, immediately reverse into the opposite side on the same day.
Session Exit
Any open positions are closed at the end of the regular trading day (default 3:45 PM ET window end, with hard flat at session close).
Visual cues are provided via green (range high) and red (range low) step‑line plots directly on the chart, allowing you to see the range box and breakout triggers in real time.
█ Why It Works
Early Momentum Capture: The first 15 – 60 minutes of trading encapsulate overnight news digestion and institutional order flow, creating a well‑defined volatility “range.”
Mechanical Discipline: Clear, rule‑based entries and exits remove emotional guesswork, ensuring consistency.
Volatility Filtering: By requiring a minimum range width, the system avoids choppy, low‑range days where false breakouts are common.
Dynamic Sizing: Stops and targets scale with the opening range, adapting automatically to each day’s volatility environment.
█ How to Use
Set Your Instruments & Timeframe
-Apply to any futures contract on a 1‑ to 5‑minute chart.
-Ensure chart timezone is set to America/New_York.
Configure Inputs
-Opening‑Range Window: e.g. “0930-1015” for a 45‑minute range.
-Min. OR Width (%): e.g. 0.35 for 0.35% of current price.
-Reward/Risk Ratio: e.g. 1.1 for a modest profit target above your stop.
-Max OR Retracement %: e.g. 50 to set stop at 50% of range width.
-One Trade Per Day: toggle to limit to a single breakout.
-Reverse on Stop Loss: toggle to flip direction after a losing breakout.
Monitor the Chart
-Watch the green and red range boundaries form during the session open.
-Orders will automatically submit on the first bar after the range window closes, conditioned on your filters.
Review & Adjust
-Backtest across multiple months to validate performance on your preferred contract.
-Tweak range duration, minimum width, and R/R multiple to fit your risk tolerance and desired win‑rate vs. expectancy balance.
█ Settings Reference
Input Defaults
Opening‑Range Window - Time window to form OR (HHMM-HHMM) - 0930–1015
Regular Trading Day - Full session for EOD flat (HHMM-HHMM) - 0930–1545
Min. OR Width (%) - Minimum OR size as % of close to trigger orders - 0.35
Reward/Risk Ratio - Profit target multiple of stop‑loss distance - 1.1
Max OR Retracement (%) - % of OR width to use as stop‑loss distance - 50
One Trade Per Day - Limit to a single breakout order per day - false
Reverse on Stop Loss - Reverse direction immediately after a losing trade - true
Disclaimer
This strategy description and any accompanying code are provided for educational purposes only and do not constitute financial advice or a solicitation to trade. Futures trading involves substantial risk, including possible loss of capital. Past performance is not indicative of future results. Traders should assess their own risk tolerance and conduct thorough backtesting and forward-testing before committing real capital.
HTF Anchored FanSimilar to an Anchored VWAP, this lets you click a bar on an Daily, Weekly, or Monthly chart to add an "Anchored Fan" which displays lines at up to 6 levels above and below the chosen Anchor Point. Useful to measure the retracement during swing moves.
You can reposition the fan by either hovering over the anchor or by clicking the name of the study to "activate" it, and then dragging. You can also change the Anchor Point in Settings.
By default the anchor uses the bar Close, but you can change this manually in settings OR you can use the fancy "Auto high/low" mode which is handy if you are mainly dropping the fan on local swing highs and lows.
The default line measures were chosen for ES (Futures) but the study should be usable with nearly anything as long as you adjust the settings to something appropriate for the ticker. If you want to use this on NQ, for example, it would be reasonable to multiple each of these settings by 3.5 or so.
NOTE: If the fan is way off the left side of the chart it's generally easiest to use Settings to move it back to close to "now".
SPX Levels Adjusted to Active TickerThis indicator allows you to plot custom SPX levels directly on the ES1! (E-mini S&P 500 Futures) chart, automatically adjusting for the spread between SPX and ES1!. This is particularly useful for traders who perform technical analysis on SPX but execute trades on ES1!.
Features:
Input up to three SPX key levels to track (e.g., 5000, 4950, 4900)
The script adjusts these levels in real-time based on the current spread between SPX and ES1!
Displays the spread in the chart header for quick reference
Plots updated horizontal lines that move with the spread
Includes optional labels showing the spread periodically to reduce clutter
Supports Multiple Tickers, ES1!, SPY and SPX500USD.
Ideal for futures traders who want SPX context while trading ES1!.
Stock Table aiTrendviewProfessional Stock Market Monitoring Table (Pine Script v5)
This indicator is a real-time multi-asset monitoring table designed for professional traders, analysts, and portfolio managers using TradingView. Built with Pine Script v5, it enables users to track up to 10 instruments (stocks, indices, forex pairs, cryptocurrencies, or commodities) in a unified table embedded directly into the chart. It is intended to streamline portfolio monitoring, cross-market analysis, and rapid visual comparison of asset performance.
The core logic of this script involves retrieving live price data through TradingView’s request.security() function for each of the selected symbols. It calculates both absolute price change and percentage price change relative to the previous bar close. This ensures users can see real-time movements in each asset’s price. These calculations are updated at the close of every bar to optimize performance and reduce processing load using the barstate.islast condition.
The display structure is dynamically generated using table.new() and related functions. Internally, the script stores symbol and price data in arrays for efficient processing. Symbols are cleaned to remove exchange prefixes (e.g., "NASDAQ:", "BINANCE:") so only the ticker name is displayed. Based on the selected layout (1 to 5 columns), the table auto-adjusts its row structure to maintain clarity and symmetry. Each cell reflects the ticker symbol, current price, and changes, with conditional formatting applied to indicate price movement direction using green (positive), red (negative), or neutral colors.
Users can customize many visual elements including text size, color themes, transparency, table position, and whether headers are shown. The script includes built-in fallbacks for invalid symbols or empty data, ensuring robustness and uninterrupted performance during live market hours.
Use cases include:
Intraday traders monitoring multiple instruments simultaneously.
Swing traders assessing relative strength and correlation.
Portfolio managers scanning asset performance without switching charts.
Analysts preparing multi-asset presentations or watchlists.
To use the tool:
Paste the Pine Script into the Pine Editor.
Add the script to the chart.
Enter your desired symbols via the input fields.
Customize table position, layout, size, and color to suit your workspace.
This script does not provide trade signals or financial advice. It is purely a market visualization and data presentation tool. All calculations are based on live chart data and are synchronized with the chart’s timeframe.
Disclaimer from aiTrendview:
This script is a visual tool developed for market awareness and comparative observation. It does not constitute financial advice or guarantee trading results. aiTrendview and its affiliates are not responsible for any losses arising from decisions made based on this tool. All trading involves risk, and past performance is not indicative of future results. Always consult with a qualified financial advisor before making trading decisions.
Turttle_Dalmata Indicator v10📘 Turttle_Dalmata Indicator – Overview
The Turttle_Dalmata v10 is a proprietary trading indicator engineered for high-precision intraday scalping and trend breakout validation. It combines real-time price action, volume dynamics, and multi-timeframe confluence to generate high-quality entry signals while filtering out noise and chop.
⸻
🧠 What It Does
• Dynamically scores market conditions using a multi-layered confluence engine
• Detects trend-aligned breakout setups, fair value gaps, and volume surges
• Uses a session-anchored VWAP to keep entries near equilibrium
• Implements advanced filtering logic to avoid signals during overextended or sideways conditions
• Includes intelligent signal throttling to prevent back-to-back entries in choppy markets
⸻
🎯 Why It Works
• Filters out low-conviction moves and extended breakouts that often lead to reversals
• Waits for structure-confirmed and volume-backed price breaks
• Avoids false signals by enforcing cooldown windows and signal cycle rotation
⸻
🧠 Core Features
• 🔟 Confluence Scoring System: Combines EMA trend, RSI strength, volume spikes, break of structure, fair value gaps, CVC momentum, and more.
• 🟣 Market Cipher-Style VWAP: Uses a daily session VWAP anchored at 00:00 UTC for equilibrium-based trade filters.
• 🧮 Custom Signal Filtering:
• ✅ VWAP max distance filter – blocks trades too far from VWAP (mean reversion bias)
• ✅ Cooldown system – blocks signals if another signal happened in the last X bars (default: 5)
• ✅ EMA velocity – detects acceleration during breakouts
• 🔁 Signal Lock Logic: Prevents same-side signals from repeating until an opposite signal occurs.
📈 How It Looks
• 🔼 Green triangles for high-probability long entries
• 🔽 Red triangles for high-probability short entries
• Clean visual overlays: session VWAP and EMA for trend tracking
⸻
✅ Optimized For
• 1-minute and 2-minute charts
• Crypto and futures markets
• Traders who value signal quality over quantity
COT Comm OsciDescription
The COT Comm Osci is a sentiment oscillator based on net positions from the weekly Commitments of Traders (COT) report.
It transforms net positions of Commercials, Noncommercials, or Nonreportables into a 0–100 index.
A value of 100 = highest net position within the selected timeframe.
A value of 0 = lowest net position.
You can define three historical intervals (e.g. 26/ 52 / 156 weeks).
Tip
To improve your analysis, it's recommended to add a separate COT indicator that visualizes raw Long/Short or net positions directly. This helps interpret the oscillator in context.
This script is based on “Commercial Index–Buschi” by MagicEins and has been extended with new features and error handling.
Features
Select between Commercial, Noncommercial, or Nonreportable trader groups
Proper handling of HG Futures (Copper)
Displays a warning if the root code is invalid (unsupported market symbol)
SPX Levels Adjusted to ES1!This indicator allows you to plot custom SPX levels directly on the ES1! (E-mini S&P 500 Futures) chart, automatically adjusting for the spread between SPX and ES1!. This is particularly useful for traders who perform technical analysis on SPX but execute trades on ES1!.
Features:
Input up to three SPX key levels to track (e.g., 5000, 4950, 4900)
The script adjusts these levels in real-time based on the current spread between SPX and ES1!
Displays the spread in the chart header for quick reference
Plots updated horizontal lines that move with the spread
Includes optional labels showing the spread periodically to reduce clutter
Ideal for futures traders who want SPX context while trading ES1!.
Make sure to apply this indicator on the ES1! chart, not SPX.
ORB Norman (2 Sessions, Auto Timezone)ORB Norman (2 Sessions, Auto Timezone)
This script plots Opening Range Breakout (ORB) levels for two configurable sessions. It’s designed for intraday traders—especially in futures markets like Gold (GC), Nasdaq (NQ), and S&P (ES)—who trade based on early session breakouts or range rejections. Unlike standard indicators, this tool auto-adjusts for timezones based on the instrument, ensuring precise session alignment.
Features:
Automatically adjusts for NQ/ES (Chicago time) and GC (New York time) based on the symbol.
Plots high, low, and optional midpoint lines for each session.
Clean, minimal settings with visual separation for better usability.
Ray extension length is fully customizable.
Works on any intraday chart (recommended: 5–15 minute timeframes).
Includes customizable session times, colors, ray length, and an optional midpoint line.
Default Sessions:
Session 1:
‣ 07:00–08:00 EST for GC
‣ 06:00–07:00 CT for NQ/ES
Session 2:
‣ 09:30–09:45 EST for GC
‣ 08:30–08:45 CT for NQ/ES
This tool is ideal for traders who scalp the early morning breakout or look for range rejections based on the opening auction.
This script was developed from scratch based on the author's own intraday trading needs.
NQ Position Size CalculatorNQ Position Size Line Calculator is designed specifically for Nasdaq 100 futures (NQ) and micro futures (MNQ) traders who want to maintain disciplined risk management. This visual tool eliminates the guesswork from position sizing by displaying distance lines and contract calculations directly on your chart.
The indicator creates horizontal lines at 10-tick intervals from your stop loss level, showing you exactly how many contracts to trade at each distance to maintain your predetermined risk amount. Whether you're trading regular NQ contracts or micro MNQ contracts, this calculator ensures you never risk more than intended while providing instant visual feedback for optimal position sizing decisions.
How to Use the Indicator
Step 1: Configure Your Settings
Stop Loss Price: Enter your exact stop loss level (e.g., 20000.00)
Risk Amount ($): Set your maximum dollar risk per trade (e.g., $500)
Contract Type: Choose between:
NQ (Regular): $5 per tick - for larger accounts
MNQ (Micro): $0.50 per tick - for smaller accounts or conservative sizing
Display Options:
Max Lines: Number of distance lines to show (default: 30)
Show Labels: Toggle tick distance and contract count labels
Line Color: Customize the color of distance lines
Label Size: Choose tiny, small, or normal label sizes
Step 2: Read the Visual Display
Once configured, the indicator displays:
Stop Loss Line:
Thick yellow line marking your exact stop loss level
Yellow label showing the stop loss price
Distance Lines:
Dashed red lines at 10-tick intervals above and below your stop loss
Lines appear on both sides for long and short position planning
Labels (if enabled):
Green labels (right side): For long positions above your stop loss
Red labels (left side): For short positions below your stop loss
Format: "20T 5x" means 20 ticks distance, 5 contracts maximum
Step 3: Use the Information Tables
The indicator provides two helpful tables:
Position Size Table (top-right):
Shows common tick distances (10, 20, 40, 80, 160 ticks)
Displays risk per contract at each distance
Contract count for your specified risk amount
Total risk with rounded contract numbers
Settings Table (bottom-right):
Confirms your current risk amount
Shows selected contract type
Displays current settings for quick reference
Step 4: Apply to Your Trading
For Long Positions:
Look at the green labels on the right side of your chart
Find your desired entry level
Read the label to see: distance in ticks and maximum contracts
Example: "30T 8x" = 30 ticks from stop, buy 8 contracts maximum
For Short Positions:
Look at the red labels on the left side of your chart
Find your desired entry level
Read the label for tick distance and contract count
Example: "40T 6x" = 40 ticks from stop, sell 6 contracts maximum
Step 5: Trading Execution
Before Entering a Trade:
Identify your stop loss level and input it into the indicator
Choose your entry point by looking at the distance lines
Note the contract count from the corresponding label
Verify the risk amount matches your trading plan
Execute your trade with the calculated position size
Risk Management Features:
Contract rounding: All position sizes are rounded down (never up) to ensure you don't exceed your risk limit
Zero position filtering: Lines only show where position size is at least 1 contract
Dual-sided display: Plan both long and short opportunities simultaneously
EMA Trend Dashboard
Trend Indicator using 3 custom EMA lines. Displays a table with 5 rows(position configurable)
-First line shows relative position of EMA lines to each other and outputs Bull, Weak Bull, Flat, Weak Bear, or Bear. EMA line1 should be less than EMA line2 and EMA line 2 should be less than EMA line3. Default is 9,21,50.
-Second through fourth line shows the slant of each EMA line. Up, Down, or Flat. Threshold for what is considered a slant is configurable. Also added a "steep" threshold configuration for steep slants.
-Fifth line shows exhaustion and is a simple, configurable calculation of the distance between EMA line1 and EMA line2.
--Lines one and five change depending on its value but ALL other colors are able to be changed.
--Default is somewhat set to work well with Micro E-mini Futures but this indicator can be changed to work on anything. I created it to help get a quick overview of short-term trend on futures. I used ChatGPT to help but I am still not sure if it actually took longer because of it.
Lot Size Calculator (SL Percentage) - Futures ⚠️ IMPORTANT DISCLAIMER
This indicator is provided for educational and informational purposes only. The author assumes no responsibility for any financial losses, code errors, calculation mistakes, or trading decisions based on this tool. Use at your own risk and responsibility. Always manually verify calculations before opening real positions.
Contract size calculations are based on standard full-size futures contracts, not micro contracts (even though micro contracts are supported for identification).
Description
Money management tool for automatic calculation of optimal contract size (lot size) in futures trading. Supports over 50 futures instruments with pre-configured tick sizes and pip values for CME and other exchanges.
Supported Instruments
Currency Futures: 6J, 6E, 6B, 6A, 6C, 6S, 6N
Index Futures: ES, NQ, YM, RTY, MES, MNQ, MYM, M2K, NKD
Energy: CL, NG, HO, RB, QM
Metals: GC, SI, HG, MGC, SIL
Agricultural: ZC, ZS, ZW, HE, LE, ZO, ZR, ZM, ZL
Interest Rates: ZN, ZB, ZT, ZF
Crypto: MBT, MET
Others: VX
Main Parameters
Equity : Total available capital
Risk : Maximum risk percentage per trade
Stop Loss : Percentage distance of stop loss
Risk/Reward Ratio: Ratio to calculate take profit
Entry Price: Entry price (0 = current price)
Stop Loss Modes
Percentage Stop Loss (Use SL in % = ON):
Automatically calculates SL level as percentage from entry price
Example: Entry 100, SL 2% → Long SL at 98, Short SL at 102
Manual Stop Loss (Use SL in % = OFF):
Enter exact stop loss price directly
Greater precision for specific technical levels (support/resistance)
Interactive feature: You can drag the red stop loss line directly on the chart to modify the level in real-time
How to Use
Set equity and risk % according to your trading plan
Choose direction (Long/Short) and stop loss (percentage or price)
Enter entry price (optional)
Read the CONTRACT SIZE in the green table
Verify levels Entry/SL/TP on the graphic lines
Output
Information table with all parameters and highlighted CONTRACT SIZE
Graphic lines: Entry (blue), Stop Loss (red), Take Profit (green)
Configurable alerts with calculated values
Advantages
✅ Automatic calculation of optimal size
✅ Precise tick sizes for each instrument
✅ Systematic risk management
✅ Clear visual interface
✅ Multi-asset support on futures
Warnings
⚠️ Always verify that the instrument is recognized (no orange warning)
⚠️ Manually check calculations before trading
⚠️ Test in demo before using with real money
⚠️ Update regularly for any contract modifications
⚠️ DISCLAIMER IMPORTANTE
Questo indicatore è fornito esclusivamente a scopo educativo e informativo. L'autore non si assume alcuna responsabilità per eventuali perdite finanziarie, errori nel codice, calcoli errati o decisioni di trading basate su questo strumento. L'utilizzo è a proprio rischio e responsabilità. Si raccomanda di verificare sempre manualmente i calcoli prima di aprire posizioni reali.
I calcoli della dimensione del contratto sono basati su contratti futures standard full-size, non micro contratti (anche se i micro contratti sono supportati per l'identificazione).
Descrizione
Strumento di money management per il calcolo automatico della dimensione ottimale del contratto (lot size) nel trading di futures. Supporta oltre 50 strumenti futures con tick size e pip value pre-configurati per mercati CME e altri exchange.
Strumenti Supportati
Currency Futures: 6J, 6E, 6B, 6A, 6C, 6S, 6N
Index Futures: ES, NQ, YM, RTY, MES, MNQ, MYM, M2K, NKD
Energy: CL, NG, HO, RB, QM
Metals: GC, SI, HG, MGC, SIL
Agricultural: ZC, ZS, ZW, HE, LE, ZO, ZR, ZM, ZL
Interest Rates: ZN, ZB, ZT, ZF
Crypto: MBT, MET
Altri: VX
Parametri Principali
Equity : Capitale totale disponibile
Risk : Percentuale massima di rischio per trade
Stop Loss : Distanza percentuale dello stop loss
Risk/Reward Ratio: Rapporto per calcolare il take profit
Entry Price: Prezzo di entrata (0 = prezzo corrente)
Modalità Stop Loss
Stop Loss Percentuale (Use SL in % = ON):
Calcola automaticamente il livello SL come percentuale dal prezzo di entrata
Esempio: Entry 100, SL 2% → SL Long a 98, SL Short a 102
Stop Loss Manuale (Use SL in % = OFF):
Inserisci direttamente il prezzo esatto dello stop loss
Maggiore precisione per livelli tecnici specifici (supporti/resistenze)
Funzione interattiva: Puoi trascinare direttamente la linea rossa dello stop loss sul grafico per modificare il livello in tempo reale
Come Usare
Imposta equity e risk % secondo il tuo piano di trading
Scegli direzione (Long/Short) e stop loss (percentuale o prezzo)
Inserisci entry price (opzionale)
Leggi il CONTRACT SIZE nella tabella verde
Verifica i livelli Entry/SL/TP sulle linee grafiche
Output
Tabella informativa con tutti i parametri e il CONTRACT SIZE evidenziato
Linee grafiche: Entry (blu), Stop Loss (rosso), Take Profit (verde)
Alert configurabile con i valori calcolati
Vantaggi
✅ Calcolo automatico della size ottimale
✅ Tick size precisi per ogni strumento
✅ Risk management sistematico
✅ Interfaccia visiva chiara
✅ Supporto multi-asset su futures
Avvertenze
⚠️ Verifica sempre che lo strumento sia riconosciuto (no warning arancione)
⚠️ Controlla manualmente i calcoli prima di tradare
⚠️ Testa in demo prima dell'uso con denaro reale
⚠️ Aggiorna regolarmente per eventuali modifiche ai contratti
SPX Psych Levels for /ES Futures (Fair Value)Overview
This indicator displays S&P 500 psychological levels adjusted for ES futures fair value premium. These levels act as powerful magnets for price action due to the convergence of technical trading and options market dynamics.
What is Fair Value Premium?
Simply put, its the difference between the SPX price and the ES futures price. This changes dynamically based on interest rate, dividends, and time to expiration.
Why Psych Levels are Increasingly Important
Psychological levels are round numbers where traders naturally place orders. These obvious levels attract stop losses, profit targets, and breakout orders from both retail and institutional traders. Algorithms often target these same levels, creating a self-fulfilling prophecy of support and resistance. Importantly, this effect has been exacerbated by the options market.
Using May 2025 as an example, SPX options averaged 3.46 million contracts a day ≈US $1.8 trillion notional, dwarfing trading in SPY or ES/MES futures. 0-day-to-expiry (0DTE) trades hit a record-high 61% share of all SPX volume, making the options complex the primary arena for intraday price discovery.
Strikes at psychological numbers (ending in 00 and 50) captured 66% of total open interest and 58% of 0DTE volume for the entire month. This massive concentration at round number strikes creates powerful hedging flows:
Dealer Gamma Hedging: As price approaches these levels, market makers must dynamically hedge their options exposure, creating reflexive buying/selling pressure
Pin Risk: Options dealers face maximum uncertainty at these levels near expiration, leading to increased hedging activity
Charm Flows: Time decay accelerates near these levels, forcing position adjustments
How It Works
The indicator automatically:
Calculates the fair value premium between ES futures and SPX using real-time interest rate data, dividends, and time to expiration
Adjusts SPX round numbers by this premium to show where they appear on ES charts
Updates once daily at futures session open (5PM CT) to maintain stable reference points throughout the trading session
Key Features
All TradingView Native: All calculations performed automatically using data available within TradingView - no external data feeds or manual updates required
Multiple Level Increments: Display major (100-point), intermediate (50-point), and minor (25-point) psychological levels
Margin of Error Zones: Optional ±2.5 point zones accounting for fair value calculation variance
Full Customization: Colors, line styles, and widths for each level type
Fair Value Info Table: Displays current contract, fair value calculation, interest rate, and days to expiration
Automatic Contract Detection: Works on ES1!/MES1! continuous contracts and automatically detects the current front month contract
Important Notes
This indicator does not access any options data. It identifies levels where options activity naturally concentrates based on market structure. The power comes from understanding that these obvious levels create predictable dealer hedging flows, making them high-probability reaction zones.
Trading Applications
These levels can be used as dynamic areas of interest to be incorporated into a complete trading strategy.
Futures Margin Lookup TableThis script applies a table to your chart, which provides the intraday and overnight margin requirements of the currently selected symbol.
In this indicator the user must provide the broker data in the form of specifically formatted text blocks. The data for which should be found on the broker website under futures margin requirements.
The purpose for it's creation is due to the non-standard way each individual broker may price their margins and lack of information within TradingView when connected to some (maybe all) brokers, including during paper trading, as the flat percentage rule is not accurate.
An example of information could look like this
MES;Micro S&P;$50;$2406
ES;E-Mini S&P;$500;$24,053
GC;Gold;$500;$16500
NQ;E-Mini Nasdaq;$1,000;$34,810
FDAX;Dax Index;€2,000;€44,311
Each symbol begins a new line, and the values on that line are separated by semicolons (;)
Each line consists of the following...
SYMBOL : Search string used to match to the beginning of the current chart symbol.
NAME: Human readable name
INTRA: Intraday trading margin requirement per contract
OVERNIGHT: Overnight trading margin requirement per contract
The script simply finds a matching line within your provided information using the current chart symbol.
So for example the continuous chart for
NQ1!
would match to the user specified line starting with NQ... as would the individual contract dates such as NQM2025, NQK2025, etc.
NOTES:
There is a possibility that symbols with similar starting characters could match. If this is the case put the longer symbol higher in the list.
There is also a line / character limit to the text input fields within pinescript. Ensure the text you enter / paste into them is not truncated. If so there are 3 input fields for just this purpose. Find the last complete line and continue the remaining symbol lines on the subsequent inputs.
Time Specific Standard Deviation Zones(10 am - 4hr candle)This indicator is designed for intraday traders who want to visualize volatility-based zones around the 10:00 AM New York session open, plotted precisely from 10:00 AM to 2:00 PM EST.
✅ Key Features:
📦 Automatically draws mirrored Standard Deviation (SD) zones:
0.5 SD, 1 SD, 1.5 SD above and below the 10AM open
Open Line reference for mean reversion tracking
📐 Internal Fibonacci Levels within each zone:
0.236, 0.382, 0.5, 0.618, 0.786
⏱️ Works across any timeframe
📊 Ideal for:
Breakout traders
Volatility compression strategies
Statistical mean reversion models
🔧 Built using precise New York session timestamps, ensuring accuracy across time zones and resolutions.
CL Live lotsize ROOSTER📄 Description:
This is a utility script designed for manual futures traders who enter with market orders and want to size their positions precisely based on $ risk.
⚙️ Features:
✅ Calculates live contract size based on:
A fixed dollar risk amount (e.g. $100)
A manually set static stop-loss price
The live market price as your entry
✅ Uses a configurable risk-reward ratio (e.g. 1:3)
✅ Plots entry, stop, and target levels on the chart
✅ Displays calculated contract size as a floating label
🎯 Why this tool?
Built to support fast execution workflows , this tool helps traders who:
Enter trades at candle close or open
Want to pre-calculate their market order size before the signal
Prefer a visual, consistent, real-time R:R validation system
Avoid fumbling with the long/short position tool at the last second
🔧 Settings:
Static Stop-Loss Price: Enter the price level where you'd place your SL
Account Risk ($): How much you’re willing to risk per trade
Risk-Reward Ratio: Set your target multiplier (e.g. 3 for 3R)
SwingTrade VWAP Strategy[TiamatCrypto]V1.1This Pine Script® code creates a trading strategy called "SwingTrade VWAP Strategy V1.1." This strategy incorporates various trading tools, such as VWAP (Volume Weighted Average Price), ADX (Average Directional Index), and volume signals. Below is an explanation of the components and logic within the script:
### Overview of Features
- **VWAP:** A volume-weighted moving average that assesses price trends relative to the VWAP level.
- **ADX:** A trend strength indicator that helps confirm the strength of bullish or bearish trends.
- **Volume Analysis:** Leverages volume data to gauge momentum and identify volume-weighted buy/sell conditions.
- **Dynamic Entry/Exit Signals:** Combines the above indicators to produce actionable buy/sell or exit signals.
- **Customizable Inputs:** Inputs for tuning parameters like VWAP period, ADX thresholds, and volume sensitivity.
---
### **Code Breakdown**
#### **Input Parameters**
The script begins by defining several user-configurable variables under groups. These include indicators' on/off switches (`showVWAP`, `enableADX`, `enableVolume`) and input parameters for VWAP, ADX thresholds, and volume sensitivity:
- **VWAP Period and Threshold:** Controls sensitivity for VWAP signal generation.
- **ADX Settings:** Allows users to configure the ADX period and strength threshold.
- **Volume Ratio:** Detects bullish/bearish conditions based on relative volume patterns.
---
#### **VWAP Calculation**
The script calculates VWAP using the formula:
\
Where `P` is the typical price (`(high + low + close)/3`) and `V` is the volume.
- It resets cumulative values (`sumPV` and `sumV`) at the start of each day.
- Delta percentage (`deltaPercent`) is calculated as the percentage difference between the close price and the VWAP.
---
#### **Indicators and Signals**
1. **VWAP Trend Signals:**
- Identifies bullish/bearish conditions based on price movement (`aboveVWAP`, `belowVWAP`) and whether the price is crossing the VWAP level (`crossingUp`, `crossingDown`).
- Also detects rising/falling delta changes based on the VWAP threshold.
2. **ADX Calculation:**
- Calculates the directional movement (`PlusDM`, `MinusDM`) and smoothed values for `PlusDI`, `MinusDI`, and `ADX`.
- Confirms strong bullish/bearish trends when ADX crosses the defined threshold.
3. **Volume-Based Signals:**
- Evaluates the ratio of bullish volume (when `close > VWAP`) to bearish volume (when `close < VWAP`) over a specified lookback period.
---
#### **Trade Signals**
The buy and sell signals are determined by combining conditions from the VWAP, ADX, and volume signals:
- **Buy Signal:** Triggered when price upward crossover VWAP, delta rises above the threshold, ADX indicates a strong bullish trend, and volume confirms bullish momentum.
- **Sell Signal:** Triggered under inverse conditions.
- Additionally, exit conditions (`exitLong` and `exitShort`) are based on VWAP crossovers combined with the reversal of delta values.
---
#### **Plotting and Display**
The strategy plots VWAP on the chart and adds signal markers for:
- **Buy/Long Entry:** Green triangle below bars.
- **Sell/Short Entry:** Red triangle above bars.
- **Exit Signals:** Lime or orange "X" shapes for exits from long/short positions.
- Additionally, optional text labels are displayed to indicate the type of signal.
---
#### **Trading Logic**
The script's trading logic executes as follows:
- **Entries:**
- Executes long trades when the `buySignal` condition is true.
- Executes short trades when the `sellSignal` condition is true.
- **Exits:**
- Closes long positions upon `exitLong` conditions.
- Closes short positions upon `exitShort` conditions.
- The strategy calculates profits and visualizes the trade entry, exit, and running profit within the chart.
---
#### **Alerts**
Alerts are set up to notify traders via custom signals for buy and sell trades.
---
### **Use Case**
This script is suitable for day traders, swing traders, or algorithmic traders who rely on confluence signals from VWAP, ADX, and volume momentum. Its modular structure (e.g., the ability to enable/disable specific indicators) makes it highly customizable for various trading styles and financial instruments.
#### **Customizability**
- Adjust VWAP, ADX, and volume sensitivity levels to fit unique market conditions or asset classes.
- Turn off specific criteria to focus only on VWAP or ADX signals if desired.
#### **Caution**
As with all trading strategies, this script should be used for backtesting and analysis before live implementation. It's essential to validate its performance on historical data while considering factors like slippage and transaction costs.
ChopFlow ATR Scalp StrategyA lean, high-velocity scalp framework for NQ and other futures that blends trend clarity, volume confirmation, and adaptive exits to give you precise, actionable signals—no cluttered bands or lagging indicators.
⸻
🔍 Overview
This strategy locks onto rapid intraday moves by:
• Filtering for directional momentum with the Choppiness Index (CI)
• Confirming conviction via On-Balance Volume (OBV) against its moving average
• Automatically sizing stops and targets with a multiple of the Average True Range (ATR)
It’s designed for scalp traders who need clean, timely entries without wading through choppy noise.
⸻
⚙️ Key Features & Inputs
1. ATR Length & Multiplier
• Controls exit distances based on current volatility.
2. Choppiness Length & Threshold
• Measures trend strength; only fires when the market isn’t “stuck in the mud.”
3. OBV SMA Length
• Smoothes volume flow to confirm genuine buying or selling pressure.
4. Custom Session Hours
• Avoid overnight gaps or low-liquidity periods.
All inputs are exposed for rapid tuning to your preferred scalp cadence.
🚀 How It Works
1. Long Entry triggers when:
• CI < threshold (strong trend)
• OBV > its SMA (positive volume flow)
• You’re within the defined session
2. Short Entry mirrors the above (CI < threshold, OBV < SMA)
3. Exit uses ATR × multiplier for both stop-loss and take-profit
⸻
🎯 Usage Tips
• Start with defaults (ATR 14, multiplier 1.5; CI 14, threshold 60; OBV SMA 10).
• Monitor signal frequency, then tighten/loosen CI or OBV look-back as needed.
• Pair with a fast MA crossover or price-action trigger if you want even sharper timing.
• Backtest across different sessions (early open vs. power hours) to find your edge.
⸻
⚠️ Disclaimer
This script is provided “as-is” for educational and research purposes. Always paper-trade any new setup extensively before deploying live capital, and adjust risk parameters to your personal tolerance.
⸻
Elevate your scalp game with ChopFlow ATR—where trend, volume, and volatility converge for clear, confident entries. Happy scalping!
First Presented Fair Value Gap [TakingProphets]🧠 Indicator Purpose:
The "First Presented Fair Value Gap" (FPFVG) by Taking Prophets is a precision tool designed for traders utilizing Inner Circle Trader (ICT) concepts. It automatically detects and highlights the first valid Fair Value Gap (FVG) that forms between 9:30 AM and 10:00 AM New York time — one of the most critical windows in ICT-based trading frameworks.
It also plots the Opening Range Equilibrium (the average of the previous day's 4:14 PM close and today's 9:30 AM open) — a key ICT reference point for premium/discount analysis.
🌟 What Makes This Indicator Unique:
This script is highly specialized for early session trading and offers:
Automatic Detection: Finds the first Fair Value Gap after the 9:30 AM NYSE open.
Clear Visualization: Highlights the FVG zone and labels it with optional time stamps.
Equilibrium Line: Plots the Opening Range Equilibrium for instant premium/discount context.
Time-Sensitive Logic: Limits detection to the most volatile early session (9:30 AM - 10:00 AM).
Extension Options: You can extend both the FVG box and Equilibrium line out to 3:45 PM (end of major session liquidity).
⚙️ How the Indicator Works (Detailed):
Pre-Market Setup:
Captures the previous day's 4:14 PM close.
Captures today's 9:30 AM open.
Calculates the Equilibrium (midpoint between the two).
After 9:30 AM (New York Time):
Monitors each 1-minute candle for the creation of a Fair Value Gap:
Bullish FVG: Low of the current candle is above the high two candles ago.
Bearish FVG: High of the current candle is below the low two candles ago.
The first valid gap is boxed and optionally labeled.
Post-Detection Management:
The FVG box and label extend forward in time until 3:45 PM (or the current time, based on settings).
If enabled, the Equilibrium line and label also extend to help with premium/discount analysis.
🎯 How to Use It:
Step 1: Wait for market open (9:30 AM New York time).
Step 2: Watch for the first presented FVG on the 1-minute chart.
Step 3: Use the FPFVG zone to guide entries (retracements, rejections, or breaks).
Step 4: Use the Opening Range Equilibrium to determine premium vs. discount conditions:
Price above Equilibrium = Premium market.
Price below Equilibrium = Discount market.
Best Application:
In combination with ICT Killzones, especially during the London or New York Open.
When framing intraday bias and identifying optimal trade locations based on liquidity theory.
🔎 Underlying Concepts:
Fair Value Gaps: Price imbalances where liquidity is likely inefficient and future rebalancing can occur.
Opening Range Equilibrium: Key ICT price anchor used to separate premium and discount conditions post-open.
Time-Gated Setup: Limits focus to early session price action, aligning with inner circle trader timing models.
🎨 Customization Options:
FVG color, label visibility, and label size.
Opening Range Equilibrium line visibility and label styling.
Extend lines and boxes to 3:45 PM automatically for full session tracking.
✅ Recommended for:
Traders applying Inner Circle Trader (ICT) models.
Intraday scalpers or day traders trading the New York session open.
Traders who want to frame early session bias and liquidity traps effectively.
NY First Candle Break and RetestStrategy Overview
Session and Time Parameters:
The strategy focuses on the New York trading session, starting at 9:30 AM and lasting for a predefined session length, typically 3 to 4 hours. This timing captures the most active market hours, providing ample trading opportunities.
Strategy Parameters:
Utilizes the Average True Range (ATR) to set dynamic stop-loss levels, ensuring risk is managed according to market volatility.
Employs a reward-to-risk ratio to determine take profit levels, aiming for a balanced approach between potential gains and losses.
Strategy Settings:
Incorporates simple moving averages (EMA) and the Volume Weighted Average Price (VWAP) to identify trend direction and price levels.
Volume confirmation is used to validate breakouts, ensuring trades are based on significant market activity.
Trade Management:
Features a trailing stop mechanism to lock in profits as the trade moves in favor, with multiple take profit levels to secure gains incrementally.
The strategy is designed to handle both long and short positions, adapting to market conditions.
Alert Settings:
Provides alerts for key events such as session start, breakout, retest, and entry signals, helping traders stay informed and act promptly.
Visual cues on the chart highlight entry and exit points, making it easier for beginners to follow the strategy.
This strategy is particularly suited for the current volatile market environment, where simplicity and clear guidelines can help beginner traders navigate the complexities of trading. It emphasizes risk management and uses straightforward indicators to make informed trading decisions.
I put together this Trading View scalping strategy for futures markets with some help from Claude AI. Shoutout to everyone who gave me advice along the way—I really appreciate it! I’m sure there’s room for improvement, so feel free to share your thoughts… just go easy on me. :)
ORB - Futures and Stocks (Breakouts + Alerts + ORB Selector)This indicator shows the Opening Range Breakout (ORB) based on the time range you choose.
Important:
It only works for intraday trading on time frames less than 1 day (like 1-minute, 5-minute, or hourly charts).
You can use it with any stock or futures, such as US500, NAS100, or GER40.
Inputs:
ORB Range - Your preference.
Session Start
Time Zone Offset
Examples:
for EU Frankfurt, DAX (GER40):
Set your ORB range
Session Start 0900
Time Zone Offset +1
For US Stock Market and US500, NAS100:
Set your ORB range
Session Start 0930
Time Zone Offset -5
Created using ChatGPT
CME Price LimitCalculates the CME Price Limit
The reference price is obtained from the previous day's closing settlement price
(data pulled from the asset's daily chart with settlement enabled)
Percentage limit can be modified in settings
Buffer can be enabled (for example, 2% buffer on a 7% limit, so a line gets drawn at 5% too)
Alert can be enabled for price crossing a certain percentage from reference on the day
You can choose to plot the historical lines on every day, or the current day only
The reference price output can be found in the data window, or in the indicator status line if enabled in the settings.
Before placing real trades with this, you should compare the indicator's reference price to what's shown on CME's website, to double check that TradingView's data matches for your contract.
www.cmegroup.com
Larry Williams POIV A/D [tradeviZion]Larry Williams' POIV A/D - Release Notes v1.0
=================================================
Release Date: 01 April 2025
OVERVIEW
--------
The Larry Williams POIV A/D (Price, Open Interest, Volume Accumulation/Distribution) indicator implements Williams' original formula while adding advanced divergence detection capabilities. This powerful tool combines price movement, open interest, and volume data to identify potential trend reversals and continuations.
FEATURES
--------
- Implements Larry Williams' original POIV A/D formula
- Divergence detection system:
* Regular divergences for trend reversal signals
* Hidden divergences for trend continuation signals
- Fast Mode option for earlier pivot detection
- Customizable sensitivity for divergence filtering
- Dynamic color visualization based on indicator direction
- Adjustable smoothing to reduce noise
- Automatic fallback to OBV when Open Interest is unavailable
FORMULA
-------
POIV A/D = CumulativeSum(Open Interest * (Close - Close ) / (True High - True Low)) + OBV
Where:
- Open Interest: Current period's open interest
- Close - Close : Price change from previous period
- True High - True Low: True Range
- OBV: On Balance Volume
DIVERGENCE TYPES
---------------
1. Regular Divergences (Reversal Signals):
- Bullish: Price makes lower lows while indicator makes higher lows
- Bearish: Price makes higher highs while indicator makes lower highs
2. Hidden Divergences (Continuation Signals):
- Bullish: Price makes higher lows while indicator makes lower lows
- Bearish: Price makes lower highs while indicator makes higher highs
REQUIREMENTS
-----------
- Works best with futures and other instruments that provide Open Interest data
- Automatically adapts to work with any instrument by using OBV when OI is unavailable
USAGE GUIDE
-----------
1. Apply the indicator to any chart
2. Configure settings:
- Adjust sensitivity for divergence detection
- Enable/disable Fast Mode for earlier signals
- Customize visual settings as needed
3. Look for divergence signals:
- Regular divergences for potential trend reversals
- Hidden divergences for trend continuation opportunities
4. Use the alerts system for automated divergence detection
KNOWN LIMITATIONS
----------------
- Requires Open Interest data for full functionality
- Fast Mode may generate more signals but with lower reliability
ACKNOWLEDGEMENTS
---------------
This indicator is based on Larry Williams' work on Open Interest analysis. The implementation includes additional features for divergence detection while maintaining the integrity of the original formula.
Sessions by MikinoAn indicator that draws lines from major price levels, made especially for NQ, ES and YM futures.
Features
• Show and hide any lines you want and don't need individually
• Customize how far the lines and labels are drawn (in bar length)
• Change label text, color, width and line type of any line drawn
Price levels (in NY time)
• "Show session open" - price at the beginning of the session at 6:00 PM
• "Show Asia open" - price at 8:00 PM
• "Show Asia high" - highest price during Asia session from 8 PM - midnight
• "Show Asia low" - lowest price during Asia session from 8 PM - midnight
• "Show London open" - price at 3:00/4:00 AM (depending on daylight savings time), at the start of London session
• "Show London high" - highest price during London session from 3:00/4:00 AM - 5:00/6:00 AM
• "Show Asia low" - lowest price during London session from 3:00/4:00 AM - 5:00/6:00 AM
• "Show midnight open" - price at midnight
• "Show New York open" - price at 9:30 AM
• "Show New York 10 am" - price at 10:00 AM (10 AM reversal)
• "Show previous day high" - highest price during yesterdays session (from 6:00 PM until 6:00 PM)
• "Show previous day low" - lowest price during yesterdays session (from 6:00 PM until 6:00 PM)
Limitations
All of the lines/labels will be drawn on the chart on up to hourly chart, with the exemption of PDH/PDL that can be drawn on up to 4 hour chart. PDH/PDL tracks each trading day from from 6:00 PM until 6:00 PM, Asia range from 8:00 PM until midnight, London from 3:00 AM until 05:00 AM. The indicator will work on different indices other than NQ, ES and YM, but some of the features might not work correctly due to what is considered a trading day.