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
Options
FXGringo1.0🚀 This indicator is part of the FX Gringo platform and offers insights into key market decision points. It highlights crucial areas where market makers have significant exposures, indicating potential times when position adjustments may be necessary. Learn more: www.fxgringo.com.br .
Lot Size Calculator by MohammadRezaOverview:
Size your position from your risk in USD and the two lines you place on the chart (Entry & Stop). The script measures that price distance, draws Risk/Reward boxes, and shows a compact table with Risk, Entry, Stop, Target (from R/R), Lots, and Pips—so you instantly know what lot size to use.
How to use:
1. Add the indicator to an XAU chart.
2. Set “Risk $” in Inputs.
3. Place/adjust the Entry and Stop lines on the chart.
4. Read “Lots” in the table and trade with consistent sizing.
Inputs:
* Risk $ (your dollar risk per trade)
* Entry Price and Stop Loss (can be adjusted on chart)
* R/R (auto-calculates Target)
* Appearance options for risk/reward boxes, table position/colors, and layout
Notes:
* Gold-only display (XAU).
* Table rows can be toggled (Risk, Entry, Stop, Target, Lots, Pips).
* Fully customizable colors and widths.
* Educational tool; verify contract specs with your broker.
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.
Binary Options Gold Scalping [TradingFinder] 1 & 5 Min Strategy🔵 Introduction
In binary options trading, price movements are often driven by the market’s tendency to reach key liquidity zones. These areas include Liquidity, Fair Value Gaps (FVGs), and Order Blocks (OBs), zones where a large number of pending orders are concentrated.
When price reaches one of these zones, it typically enters a Liquidity Sweep phase to collect available liquidity. After this process, the market often reacts sharply, either reversing direction or continuing its move with renewed momentum. Understanding this cycle forms the foundation of most smart money-based binary options strategies.
In this analytical approach, a Liquidity Sweep is usually seen as a False Breakout, often recognized through a distinctive candle confirmation pattern. The pattern appears when price briefly breaks a level to trigger stops, then quickly returns within range. This formation is one of the most reliable reversal signals for short-term trades and plays a central role in many binary options strategies.
After a liquidity sweep, price often returns to Fair Value Gap (FVG) or Order Block (OB) areas to restore balance in the market. These are zones where institutional orders are typically placed, and reactions around them can create high-probability trade setups. In binary options trading, this quick reaction following a sweep and retrace into an FVG or OB provides one of the best entry opportunities for short-term trades.
By combining the concepts of Liquidity Sweep, Fair Value Gap, and Order Block, traders can build a precise binary options strategy based on smart money behavior, allowing them to identify market reversals with greater confidence and enter at the optimal moment.
Bullish Setup :
Bearish Setup :
🔵 How to Use
This indicator is built on the Smart Money Concept (SMC) framework and serves as a core tool for accurately detecting Liquidity Sweeps, Order Blocks, and Fair Value Gaps in binary options trading.
Its logic is simple yet powerful : when price reaches high-interest liquidity zones and shows reversal signs, the indicator issues an entry signal immediately after a Candle Confirmation is complete.
Signals only activate when both the market structure and the candle confirmation pattern align, ensuring high accuracy in spotting genuine reversals.
🟣 Long Position
A bullish signal appears when the market, after a downward move, reaches sell-side liquidity zones where liquidity has built up below previous lows. In such conditions, a bullish Order Block or Fair Value Gap often exists in the same region, acting as a potential reversal point.
When the indicator detects the presence of liquidity, an imbalance zone (FVG), and a valid candle confirmation simultaneously, it triggers a green Call signal.
In a binary options strategy, the best entry moment is immediately after the candle confirmation closes, as this is when the probability of reversal is highest and the market tends to react strongly within the next few candles.
In the example below, after the liquidity sweep and candle confirmation, price quickly rallied, resulting in a Binary Win setup.
🟣 Short Position
A bearish signal occurs when price, after an upward move, reaches an area of buy-side liquidity and collects liquidity above recent highs. At this stage, the market is typically overbought and ready to reverse. If a bearish Order Block or Fair Value Gap exists in the same area and a candle confirmation pattern forms, the indicator displays a red Put signal.
This setup is highly accurate because multiple structural confirmations occur simultaneously : liquidity has been absorbed, price is rebalancing, and the confirmation candle has closed.
In binary options trading, this is the ideal moment to enter a Put (Sell) position, as the price reaction to the downside is usually quick and decisive.
In the example chart, the indicator generated a bearish signal right after the candle confirmation and completion of the liquidity sweep, price then dropped within minutes, resulting in another Binary Win.
🔵 Settings
Time Frame : Select the desired timeframe for analysis. If left blank, the indicator uses the chart’s current timeframe.
Swing Period : Defines how many candles are used to detect structural pivots (swing highs and lows). A higher value increases accuracy but reduces the number of signals.
Candle Pattern : Enables candle-based confirmation logic. When turned on, the indicator issues signals only if a valid reversal pattern is detected. You can also choose the confirmation filter strength, tighter filters show fewer but more precise signals.
🔵 Conclusion
A deep understanding of Liquidity Sweeps, Order Blocks, and Fair Value Gaps can make a decisive difference between ordinary and professional traders in the binary options market.
This indicator, combining smart money logic with candle confirmation, is one of the most precise tools for detecting true market reversals. When liquidity is collected and structural reversal signs emerge, the indicator automatically recognizes the price reaction and generates a reliable Call or Put signal.
Using this tool alongside market structure analysis and FVG detection allows traders to enter high-probability setups while filtering out false breakouts. For that reason, this binary options strategy is not only suitable for short-term trading but also valuable for understanding deeper smart-money behavior across timeframes.
Ultimately, success with this system comes down to two key principles: understanding the logic of the liquidity sweep and waiting for the candle confirmation to close. When these two conditions align, the indicator can pinpoint the best entry points with remarkable precision, helping you build a structured, intelligent, and profitable binary options strategy.
ATR BuySideATR Buyside Strategy
This is a simple buy-only trading plan. It uses ATR (a tool to measure price swings) to spot when prices are rising strongly.
How it works:
Buy signal: Enter a long trade when the price moves above a moving support line (based on ATR)
Sell signals: Close if the trend turns down (quick market sell).
Stop loss: Follows the support line to protect gains.
Take profit: Sell at 2 times the recent price swing (for steady wins).
Settings you can change:
ATR period: 13 (how many days to look back).
Factor: 2.0 (makes the line wider or tighter).
Use Heikin Ashi: To Filter out Noise
Great for Opt premiums like NIFTY on 15min or 30m charts. Test it first—past results don't guarantee future wins. Not advice, just a tool!
Slick Strategy Weekly PCS TesterInspired by the book “The Slick Strategy: A Unique Profitable Options Trading Method.” This indicator tests weekly SPX put-credit spreads set below Monday’s open and judged at Friday’s close.
WHAT IT DOES
• Sets weekly PCS level = Monday (or first trading day) OPEN − your offset; win/loss checked at Friday close.
• Optional core filter at entry: Price ≥ 200-SMA AND 10-SMA ≥ 20-SMA; pause if Price < both 10 & 20 while > 200.
• Reference modes: Strict = Mon OPEN vs Fri SMAs (no repaint); Mid = Mon OPEN vs Mon SMAs
KEY INPUTS
• Date range (Start/End) to limit backtest window.
• Offset mode/value (Points or Percent).
• Entry day (Monday only or first trading day).
• Core filters (On/Off) and Strict/Mid reference.
• SMA settings (source; 10/20/200 lengths).
• Table settings (position, size, padding, border).
VISUALS
• Active week line: Orange = trade taken; Gray = skipped.
• History: Green = win; Red = loss; Purple = skipped.
• Optional week bands highlight active/win/loss/skipped weeks (adjustable opacity).
TABLE
• Shows Date range, Trades, Wins, Losses, Win rate, and Active level (this week’s PCS price).
NOTES
• PCS level freezes at week open and persists through the week.
korea time with 200 korea time
start time
08
09
17
18
23
00
This script makes it easier to look at the charts
The time automatically displays even if you don't bother to bring the mouse by hand
Now you can see the time intuitively
Run a very happy trading session
3s CISD 9 EMA- [CT]Private Algorithm that is invite only. It is only spread through word of mouth and is not available on any website.
This algorithm will give you the best chance at being green and is even better when following specific plays of someone or yourself.
This is not supposed to guarantee profit and the team are not financial advisors. Please always manage your own risk according to your risk tolerance .
Overview
The 3s CISD 9 EMA – indicator is a versatile market structure and sentiment tool that combines CISD (Change in Structural Direction) levels, EMA-based trend bias, and candlestick pattern detection to identify key turning points and continuation setups in price action.
It’s designed for traders seeking precision entries during structural shifts or reversals across any symbol or timeframe.
Key Features
🟡 9 EMA Trend Bias
Plots a 9-period Exponential Moving Average (EMA) to define short-term trend direction.
Optional bar coloring (green for bullish, red for bearish) helps visualize momentum shifts.
📊 CISD (Change in Structural Direction) Levels
Detects bullish and bearish pullbacks and confirms CISD breaks when price structure shifts direction.
Auto-draws labeled horizontal lines (+CISD / -CISD) at critical breakout points.
Supports line style customization (Solid, Dotted, Dashed), width, and extension for clarity.
Option to keep or clear old CISD levels.
Includes alert conditions when a new CISD formation is confirmed.
Real-time state table shows current structure bias: Bullish or Bearish.
📈 Candlestick Signal Suite
1. 3-Line Strike Pattern
Detects both bullish and bearish 3-line strike formations.
Useful for identifying exhaustion moves or reversals after a trend leg.
Configurable on/off toggles for each direction.
2. Engulfing (Big A$$ Candles)
Highlights large engulfing candles that dominate the previous bar.
Distinguishes bullish engulfing (orange triangle up) and bearish engulfing (blue triangle down).
Integrated alert conditions for automated notifications.
Customization Options
Toggle visibility for EMA, bar colors, CISD lines, labels, and pattern signals.
Adjustable line width, style, and extension length for CISD visuals.
Selectable table position (Top Right, Bottom Center, etc.).
Separate alert controls for bullish and bearish CISD events.
Alerts
“Bullish CISD Formed” → Indicates potential upward structural shift.
“Bearish CISD Formed” → Indicates potential downward structural shift.
Engulfing pattern alerts → Triggered when large reversal candles appear.
How to Use
Enable EMA and bar color for quick trend visualization.
Watch for CISD line breaks to anticipate structural changes.
Confirm entries with 3-Line Strike or Engulfing candle signals.
Use the State Table to track current directional bias.
Optional: Set alerts for CISD events to stay informed automatically.
Best Used For
Structure-based trading (ICT, Wyckoff, or price-action styles).
Identifying short-term reversals or continuation setups.
Multi-timeframe confluence analysis.
Momentum confirmation with 9 EMA and pattern alignment.
Disclaimer:
This script is for educational and analytical purposes only. Past performance does not guarantee future results. Always perform independent analysis before making trading decisions.
India Vix based Strangle StrikesA clean Nifty–VIX dashboard that converts India VIX into expected daily moves, price ranges, and suggested strangle strikes. Includes VIX %, expanded 1.2× range, and smart rounded strike levels for options trading.
This script provides a professional on-chart dashboard that converts India VIX into actionable trading levels for Nifty. It calculates the VIX-based expected daily move, projected price ranges, expanded 1.2× ranges, and suggested strangle strike prices. Includes clean formatting, color-coded sections, and real-time updates.
Ideal for traders using straddles, strangles, intraday volatility models, range-bound setups, and options-based risk management.
1.2x expanded range is better success probability, may keep 20% of strangle value as stop loss.
The vix based system is intended to give approx. 70%+ success rate.
3-Phasen-Scanner (BPS / BWB / Neutral) – exakt wie TV-EMA3-Phasen-Scanner (BPS / BWB / Neutral) – exakt wie TV-EMA
✝️📈📉☢️BANG is a comprehensive multi-timeframe indicator for TradingView, designed for intraday trading of futures and stocks.
To use: Add to a low timeframe chart (e.g., 1-5 minutes), configure anchor mode (daily/weekly/monthly/manual) for session resets, and select timeframe for signals (e.g., 5m). Monitor the mini-charts for HTF overview (candles, VWEMA/VWAP, FVG), RSI/MACD trends, market data table (VIX/VXN/etc.), and ICT structure (pivots, BOS/CHoCH).
For trading: Enter LONG/SHORT on signal bars with strength ☢️ (1-6, higher = stronger confluence), confirmed by multi-timeframe alignment (e.g., anchor daily while trading minutes). Use ATR-based risk management; backtest in demo mode.
QV ATR Active Range ValuesQuantVault
### Description for Presentation
The "QV ATR Active Range Values" indicator is a forward-looking tool designed for traders to estimate potential price ranges over 1, 2, or 3 months based on historical volatility and momentum. It leverages the Average True Range (ATR) to measure volatility and incorporates a "win rate" derived from recent candle colors to bias projections toward upside or downside potential. This creates asymmetric range forecasts that reflect market directionality, helping users anticipate breakout levels, set targets, or manage risk. The indicator overlays projected high/low lines on the chart and displays a compact table summarizing days to key percentage targets (e.g., +30% or -20%) alongside projected prices and percentage changes. Ideal for swing traders or investors seeking data-driven price projections without relying on complex models.
### Detailed Explanation of How It Works
This indicator uses Pine Script v5 on TradingView to compute and visualize price projections. Below, I'll break it down step by step, including the key calculations, logic, and outputs. Note that it assumes a trading month has 21 days (a common approximation for business days), and all projections are based on daily timeframes derived from weekly data.
#### 1. **User Inputs**
- **ATR Length (Lookback)**: Default 25. This is the period used to calculate the ATR and count candle colors.
- **Show Projections**: Boolean toggles to display 1-month (yellow), 2-month (orange), or 3-month (green/red) lines. By default, only 1-month is shown.
#### 2. **Period Definitions**
- Months are converted to days assuming 21 trading days per month:
- 1 month: 21 days
- 2 months: 42 days
- 3 months: 63 days
- These periods represent the forward-looking horizons for projections.
#### 3. **Volatility Calculation (ATR)**
- **Weekly ATR**: Fetched using `request.security` on the weekly timeframe with the specified ATR length (e.g., average true range over the last 25 weeks).
- **Daily ATR**: Derived by dividing the weekly ATR by 5 (approximating 5 trading days per week). This scales volatility to a daily basis.
- **Base Projections**: For each period, multiply daily ATR by the number of days in that period. This estimates the total expected range if volatility persists:
- 3 months: `daily_atr * 63`
- 2 months: `daily_atr * 42`
- 1 month: `daily_atr * 21`
#### 4. **Momentum Bias (Win Rate)**
- Counts the number of "green" (close > open, bullish) and "red" (close < open, bearish) candles over the ATR lookback period.
- **Win Rate**: Fraction of green candles out of total colored candles (green + red). Defaults to 0.5 (50%) if no colored candles exist.
- This win rate introduces asymmetry: In bullish periods (high win rate), upside projections are larger; in bearish periods (low win rate), downside projections dominate.
#### 5. **Adjusted Projections**
- **Upside Projection**: Base projection multiplied by win rate (e.g., for 3 months: `base_projection_3 * win_rate`).
- **Downside Projection**: Base projection multiplied by (1 - win rate).
- **Projected Prices**:
- High: Current close + upside projection
- Low: Current close - downside projection
- This creates realistic, direction-biased ranges rather than symmetric ones.
#### 6. **Chart Overlays (Plots)**
- Lines are plotted only if the corresponding toggle is enabled, with 50% transparency for a dimmed effect:
- 3-month high: Solid green line
- 3-month low: Solid red line
- 2-month high/low: Dashed orange lines
- 1-month high/low: Dashed yellow lines (#f6e122)
- These lines extend horizontally from the current bar, visualizing potential future highs/lows.
#### 7. **Daily Rates and Days to Targets**
- **Up Rate**: `daily_atr * win_rate` (expected daily upward movement).
- **Down Rate**: `daily_atr * (1 - win_rate)` (expected daily downward movement).
- **Days to Targets**: Calculates approximate trading days to reach fixed percentage moves from the current close, using the rates:
- +30%: `(close * 0.30) / up_rate` (rounded)
- +20%: `(close * 0.20) / up_rate`
- +10%: `(close * 0.10) / up_rate`
- -10%: `(close * 0.10) / down_rate`
- -20%: `(close * 0.20) / down_rate`
- -30%: `(close * 0.30) / down_rate`
- If a rate is zero, days are set to `na` (not applicable).
#### 8. **Table Display**
- A single combined table is created at the top-center of the chart with a semi-transparent black background (80% opacity) and white borders.
- **Structure** (6 columns x 7 rows):
- **Left Section (Days to Targets, Columns 0-1)**:
- Lists percentage targets (+30% to -30%) with corresponding days, colored green for upside and red for downside.
- **Separation (Column 2)**: Empty for visual spacing.
- **Right Section (Projections, Columns 3-5)**:
- Shows 1M/2M/3M highs and lows with:
- Projected price (formatted to 2 decimals).
- Percentage change from close (e.g., `((projected_high - close) / close) * 100`).
- Colors match the plot lines: Yellow for 1M, orange for 2M, green for 3M high, red for 3M low.
- The table updates dynamically with each bar, providing at-a-glance insights.
#### Key Assumptions and Limitations
- **Volatility Persistence**: Assumes future ATR matches historical levels; actual volatility can fluctuate.
- **Linear Projection**: Treats price movement as additive daily increments, ignoring compounding or non-linear effects.
- **Candle Count**: Only considers colored candles (ignores doji where open = close), and uses a simple win rate without weighting by size.
- **Timeframe**: Best on daily charts; weekly ATR scaling assumes consistent weekly-to-daily ratios.
- **No Backtesting**: This is a visualization tool, not a strategy with entry/exit signals. Test projections against historical data for accuracy.
This indicator combines volatility forecasting with basic sentiment analysis for practical, visual projections. If you're presenting it, emphasize how the win rate adds a directional edge over plain ATR-based ranges, making it more adaptive to trending markets. If you need modifications or examples on specific tickers, let me know!
QV 2H/4D 2BX & FVB StrategyQuantVault
### Strategy Description for Presentation
The **QV 2H/4D 2BX & FVB Strategy** is a versatile, timeframe-based trading system designed for TradingView using Pine Script v5. It combines momentum oscillators (B-Xtrender) across a 2-hour (120-minute) and 4-day timeframe with Fair Value Bands (FVB) for dynamic support/resistance levels, a trailing ATR-based stop (Red Line), and Break of Structure (BOS) detection. The strategy supports both long and short directions, allowing for main entries, optional pyramiding (adding to positions), and multiple exit mechanisms including full exits and partial scale-outs. It's optimized for trend-following in volatile markets like forex, stocks, or crypto, with built-in risk management via percent-of-equity sizing (default 5% per trade) and commission accounting. Alerts are included for band touches and BOS events to aid real-time monitoring. Key features include customizable toggles for entries/exits, making it adaptable for backtesting or live trading with an initial capital of $50,000.
This strategy emphasizes multi-timeframe confirmation: the higher timeframe (4D) provides directional bias, while the lower (2H) drives precise entries and exits. It aims to capture trends by entering on momentum shifts and exiting via profit-taking at deviation bands or protective stops, reducing drawdowns through pyramiding limits (max 1 add-on) and conditional re-entries only after full exits or band resets.
### Detailed Breakdown of How It Works
The strategy operates as a complete trading system with indicator calculations, entry logic, position management, exit conditions, and alerts. Below, I'll explain each section step by step, including the underlying calculations and logic flows. Note that all plots (e.g., histograms, lines, bands) are overlaid on the chart unless specified otherwise, but the strategy itself plots in a separate pane (overlay=false).
#### 1. Input Parameters
Users can customize the strategy via inputs, which control direction, features, and indicator settings. These are grouped into categories for ease:
| Category | Key Inputs | Description/Default |
|----------|------------|----------------------|
| **Direction** | `direction` | "Long" or "Short" – restricts strategy to one side (default: "Long"). |
| **Entry Settings** | `enable_main_entry`, `enable_pyramiding` | Toggle main entry and adding to positions (both default: true). |
| **Exit Settings** | `enable_atr_exit`, `enable_2bar_exit`, `enable_tf1_below0_exit`, `enable_large_decrease_exit`, `enable_bos_exit`, `enable_1x_scaleout`, `enable_2x_scaleout`, `enable_3x_exit` | Toggles for various full/partial exits (all default: true). |
| **Alert Settings** | `enable_band_alerts`, `enable_bos_touch_alert`, `enable_bos_cross_alert` | Toggles for deviation band and BOS alerts (all default: true). |
| **Indicator Lengths** | `short_l1` (5), `short_l2` (20), `short_l3` (5), `long_l1` (20), `long_l2` (5) | Periods for short/long Xtrender EMAs and RSIs. |
| **Timeframes** | `tf1` ("120" – 2 hours), `tf2` ("4D" – 4 days) | Multi-timeframe data sources. |
| **Exit/Thresholds** | `exit_amount` (40.0), `tf2_threshold` (10.0) | TF1 change for large exit; TF2 momentum threshold. |
| **ATR & Bands** | `len` (10 – ATR length), `mult_red` (2.5 – Red Line multiplier), `fair_value_length` (33), `fair_value_mult1/2/3` (0.6/1.0/1.4) | Settings for Red ATR trailing line and FVB deviation levels. |
A custom T3 moving average function is defined but not used in the core logic (possibly for future extensions).
#### 2. Indicator Calculations
The strategy relies on several computed indicators for signals:
- **B-Xtrender Oscillators (Short-Term)**:
- Calculated on TF1 (2H) and TF2 (4D): `shortTermXtrender_tf1/tf2 = RSI(EMA(close, short_l1) - EMA(close, short_l2), short_l3) - 50`.
- This creates a momentum histogram centered at 0, showing overbought (>0, green) or oversold (<0, red) conditions.
- Combined: `combinedShortTermXtrender = tf1 + tf2` (not directly used in entries/exits).
- TF2 direction is tracked persistently: `tf2_increasing` if change >0, `tf2_decreasing` if <0.
- Plotted as columns (TF1 with color variations for 2-bar trends/crosses) and area (TF2, translucent).
- **Long-Term Xtrender**:
- `longTermXtrender = RSI(EMA(close, long_l1), long_l2)`.
- Not used in the provided logic (potential remnant or for visualization).
- **2-Bar Conditions**:
- For longs: `tf1_green_and_increasing_2bars` – TF1 >0 and increasing for 2 bars.
- For shorts: `tf1_red_and_decreasing_2bars` – TF1 <0 and decreasing for 2 bars.
- Used for exits and histogram coloring.
- **Centerline Crosses**:
- `tf1_cross_above_zero` (crossover >0), `tf1_cross_below_zero` (crossunder <0).
- Influences histogram colors and exits.
- **Red ATR Line**:
- Base ATR: `atr = ta.atr(len)`.
- Trailing levels: `up_red = close - (mult_red * atr)`, `dn_red = close + (mult_red * atr)`.
- Trend detection: Switches between up/dn based on close vs previous trail, with breaks flipping direction.
- Plotted as a red broken line on the price chart – acts as a dynamic trailing stop.
- **Fair Value Bands (FVB)**:
- Fair price: `fairPriceSmooth = SMA(ohlc4, fair_value_length)` (blue midline).
- Deviations calculated from high/low spreads relative to fair price, using medians of historical pivots and boosts.
- Upper bands (for longs): `upper1/2/3 = fairPriceSmooth + mult1/2/3 * pivot-based spread` (colors: yellow, orange, red).
- Lower bands (for shorts): `lower1/2/3 = fairPriceSmooth - mult1/2/3 * pivot-based spread`.
- Only relevant bands plot based on direction.
- Uses arrays (limited to 1000-2000 elements) for median calculations to adapt dynamically.
- **Break of Structure (BOS)**:
- Swing levels: `last_swing_low = pivotlow(low, 5,5)`, `last_swing_high = pivothigh(high, 5,5)`.
- Plotted as white lines (SL for longs, SH for shorts) if enabled.
A centerline at 0 is plotted on the oscillator pane.
#### 3. Entry Logic
Entries are direction-specific and use multi-timeframe momentum for confirmation. Position sizing is 5% of equity, with pyramiding limited to one add-on.
- **Long Entries**:
- Main: If `enable_main_entry` and (TF2 increasing or > threshold) and TF1 increasing, and no position (or after full exit if close <= upper2).
- Command: `strategy.entry('Long', strategy.long)`.
- On new position: Reset flags, set initial qty, store swing low as SL.
- Pyramiding: If enabled and not doubled, add equal qty on crossover above Red Line.
- **Short Entries**:
- Mirror of longs: TF2 decreasing or < -threshold, TF1 decreasing, no position (or after full exit if close >= lower2).
- Command: `strategy.entry('Short', strategy.short)`.
- Pyramiding: Add on crossunder below Red Line.
Re-entries are blocked until full exit unless price resets to a band (e.g., below upper2 for longs).
#### 4. Position Management
Uses variables to track state:
- Initial qty, doubled flag, waiting for scale-out flags, full exit flag (per direction).
- Ensures scale-outs only trigger after crosses, and full exits set flags to allow re-entries.
#### 5. Exit Logic
Exits are checked only when in position and use multiple independent conditions. Full exits set `has_fully_exited` to true. Scale-outs are partial (50% of current size for longs, initial qty *0.5 for shorts – note asymmetry).
- **Long Exits**:
1. ATR: Crossunder below Red Line (full, if enabled).
2. 2-Bar: TF1 red/decreasing for 2 bars and below Red Line (full).
3. TF1 Below 0: Crossunder centerline and below Red Line (full).
4. Large TF1 Decrease: TF1 drop > exit_amount (full).
5. BOS: Crossunder swing low (full, if enabled).
6. 1x Scale-Out: Crossover upper1, then crossunder (50%).
7. 2x Scale-Out: Similar for upper2 (50%).
8. 3x Exit: Similar for upper3 (full).
- **Short Exits**:
- Mirror: ATR crossover above Red Line, TF1 green/increasing 2 bars above Red Line, TF1 above 0 above Red Line, large TF1 increase, BOS crossover swing high, scale-outs on lower bands (crossunder then crossover).
Exits include comments for chart labeling (e.g., 'Full ATR', '1x 50%').
#### 6. Alert Conditions
Alerts fire in real-time or on bar close, resetting flags at new bars to avoid duplicates:
- **Band Touches** (if enabled): Touch from below/above for each 1x/2x/3x upper/lower band.
- **BOS Touches** (if enabled): Touch from above/below for SL/SH.
- **BOS Cross & Close** (if enabled): Cross and close below SL (longs) or above SH (shorts) – once per bar close.
This setup provides comprehensive notifications for potential entries, exits, or reversals.
In summary, the strategy enters on aligned multi-timeframe momentum, adds on Red Line breaks, and exits via protective stops or profit-taking at adaptive bands, making it a robust trend-capture tool with risk controls. For presentation, emphasize its modularity – users can disable features to simplify or focus on specific signals. If backtesting, test on various assets/timeframes to tune parameters like multipliers.
SPX 0dte Options TableSPX 0DTE Options Table Indicator 📊
Version: Pine Script v6
Description: A real-time table overlay for 0DTE SPX options, showing strikes, prices, and volumes for calls/puts. Perfect for intraday traders spotting high-volume opportunities!
Perfect for fast look up for options premium ( Real time data required $2/month)
Key Features
Dynamic Table: Displays current SPX price, call/put strikes (e.g., 5700C/5600P), last prices, and volumes in a clean overlay.
Custom Strikes: 1-15 per side (default: 8), with increments of 5+ (default: 10). Strikes rounded to multiples of 10.
Strike Offset: Fixed (default: 0) or dynamic based on remaining trading hours (US session: 9:30 AM-4:00 PM ET, e.g., 6+ hours = ±40).
SPX Handling: Fixed value (default: 6850) or dynamic from open (default: 60-min timeframe).
Data Fetch: OPRA tickers on last bar; customizable timeframe (default: 1-min).
Volume Alerts: Trigger on > threshold (default: 600) if price ≥$1. JSON alerts with ET timestamp.
Customization: Table position, colors, text size (tiny/small/normal/large).
Optimizations: Array-based; weekend-aware; real-time focus.
Limitations: Needs OPRA data access; no historicals; use fixed SPX to avoid open-update errors.
US Standard Quarterly Option Expirations accounting US HolidaysUS Standard Quarterly Option Expirations accounting US Holidays
NWOG/NDOG - HOKO (Public Version)This indicator shows you the intervals between the start of the week and the new day, and it is useful for everyone and everyone can use it.
Session Vertical Lines – WIB (Consistent)Session Line by farisradifana
Give the Session on Indonesian Time :
Asian Session : 6 A.M
London Session : 2 P.M
New York Session : 7 P.M
GB · Set upUp & Confirmation (Lower Pane)The GB Set-Up & Confirmation Indicator transforms raw momentum into a clear, color-coded decision framework for intraday scalping.
It’s the heartbeat monitor of 0DTE trading — revealing when momentum quietly shifts and when it explodes into confirmation.
Milliseconds Ahead: Confirm-on-Prior mode mimics predictive confirmation, letting traders catch reversals before the lag candle.
Noise-Adaptive: Near-zero band filtering reduces false breaks from micro volatility.
Visual Precision: Dual markers and labeled confirmations remove hesitation in execution.
Configurable Latency: Sensitivity presets + fine-tune ensure adaptability from SPX 1-min charts to QQQ 5-min momentum waves.
Platform: Designed for lower-pane deployment beneath the main price chart.
Primary Use: Time-sensitive momentum confirmation for 0DTE SPX/SPY/QQQ scalps.
Typical Workflow:
Wait for Early (Set-Up) triangle near the zero band → signals momentum shift.
Enter on the Confirmed triangle (or one candle prior if using “Confirm on Prior”).
Exit when opposite signal fires or wave color fades (momentum exhaustion).
Complementary Indicators: Pairs seamlessly with GB TMA Overlay, GB ORB Shading, or Phoenix Fire Confluence for full-stack entry validation.
Adaptive Sensitivity Presets
- Aggressive: reacts early to momentum pulses (scalp mode).
- Balanced: optimized for intraday consistency.
- Strict: waits for full trend maturity (swing mode).
RSI + MFI + VolumeIndicator shows RSI + MFI + Volume in one panel, marks divergences separate for wicks and bodies, green dots shows where MFI and RSI are oversold
Price Above PDH - Complete Multi-Confirmation Alert
Cashapp $jmoskyhigh
Initial Breakout: Must have ALL confirmations to even start counting
During Hold Period: If ANY confirmation fails at ANY bar, the counter RESETS to zero
Must Re-qualify: If confirmations fail, must cross PDH again with all confirmations to restart
Alert Only Fires: When ALL confirmations are continuously met for the ENTIRE hold period
3. Visual Feedback:
Green background: Above PDH + ALL confirmations present
Red background: Above PDH but MISSING one or more confirmations
Red X above bar: Shows when a confirmation is lost during breakout (counter resets)
Green triangle with "✓ ALL": Alert triggered after full confirmation period
4. Example Scenario:
Scenario 1 - SUCCESS:
Bar 1: Price crosses PDH, Volume spike, MA bullish, Above VWAP → Counter = 1
Bar 2: Still above PDH, ALL confirmations still met → Counter = 2
Bar 3: Still above PDH, ALL confirmations still met → Counter = 3
Bar 4: Still above PDH, ALL confirmations still met → Counter = 4
Bar 5: Still above PDH, ALL confirmations still met → Counter = 5 → ALERT!
Scenario 2 - FAILURE (resets):
Bar 1: Price crosses PDH, Volume spike, MA bullish, Above VWAP → Counter = 1
Bar 2: Still above PDH, ALL confirmations still met → Counter = 2
Bar 3: Still above PDH, but volume drops below threshold → RESET Counter = 0
Bar 4: Still above PDH, ALL confirmations back → Counter = 1 (starts over)
5. Info Panel:
Shows which specific confirmations are failing
"OFF" displayed for disabled confirmations
Big "ALL CONFIRMED" row shows overall status
Warning message if confirmations are lost during breakout
This ensures you only get alerts when the setup is truly strong with ALL confirmations maintained throughout the entire hold period! 🎯
Pro Trend Suite + Options (Minimal Auto, Hi-Confidence)Help pick the best options play and helps know what the trend is.






















