Realized Volatility (StdDev of Returns, %)Realized Volatility (StdDev of Returns, %)
This indicator measures realized (historical) volatility by calculating the standard deviation of log returns over a user-defined lookback period. It helps traders and analysts observe how much the price has varied in the past, expressed as a percentage.
How it works:
Computes close-to-close logarithmic returns.
Calculates the standard deviation of these returns over the selected lookback window.
Provides three volatility measures:
Daily Volatility (%): Standard deviation over the chosen period.
Annualized Volatility (%): Scaled using the square root of the number of trading days per year (default = 250).
Horizon Volatility (%): Scaled to a custom horizon (default = 5 days, useful for short-term views).
Inputs:
Lookback Period: Number of bars used for volatility calculation.
Trading Days per Year: Used for annualizing volatility.
Horizon (days): Adjusts volatility to a shorter or longer time frame.
Notes:
This is a statistical measure of past volatility, not a forecasting tool.
If you change the scale to logarithmic, the indicator readibility improves.
It should be used for analysis in combination with other tools and not as a standalone signal.
Ketidakstabilan
EMA Oscillator [Alpha Extract]A precision mean reversion analysis tool that combines advanced Z-score methodology with dual threshold systems to identify extreme price deviations from trend equilibrium. Utilizing sophisticated statistical normalization and adaptive percentage-based thresholds, this indicator provides high-probability reversal signals based on standard deviation analysis and dynamic range calculations with institutional-grade accuracy for systematic counter-trend trading opportunities.
🔶 Advanced Statistical Normalization
Calculates normalized distance between price and exponential moving average using rolling standard deviation methodology for consistent interpretation across timeframes. The system applies Z-score transformation to quantify price displacement significance, ensuring statistical validity regardless of market volatility conditions.
// Core EMA and Oscillator Calculation
ema_values = ta.ema(close, ema_period)
oscillator_values = close - ema_values
rolling_std = ta.stdev(oscillator_values, ema_period)
z_score = oscillator_values / rolling_std
🔶 Dual Threshold System
Implements both statistical significance thresholds (±1σ, ±2σ, ±3σ) and percentage-based dynamic thresholds calculated from recent oscillator range extremes. This hybrid approach ensures consistent probability-based signals while adapting to varying market volatility regimes and maintaining signal relevance during structural market changes.
// Statistical Thresholds
mild_threshold = 1.0 // ±1σ (68% confidence)
moderate_threshold = 2.0 // ±2σ (95% confidence)
extreme_threshold = 3.0 // ±3σ (99.7% confidence)
// Percentage-Based Dynamic Thresholds
osc_high = ta.highest(math.abs(z_score), lookback_period)
mild_pct_thresh = osc_high * (mild_pct / 100.0)
moderate_pct_thresh = osc_high * (moderate_pct / 100.0)
extreme_pct_thresh = osc_high * (extreme_pct / 100.0)
🔶 Signal Generation Framework
Triggers buy/sell alerts when Z-score crosses extreme threshold boundaries, indicating statistically significant price deviations with high mean reversion probability. The system generates continuation signals at moderate levels and reversal signals at extreme boundaries with comprehensive alert integration.
// Extreme Signal Detection
sell_signal = ta.crossover(z_score, selected_extreme)
buy_signal = ta.crossunder(z_score, -selected_extreme)
// Dynamic Color Coding
signal_color = z_score >= selected_extreme ? #ff0303 : // Extremely Overbought
z_score >= selected_moderate ? #ff6a6a : // Overbought
z_score >= selected_mild ? #b86456 : // Mildly Overbought
z_score > -selected_mild ? #a1a1a1 : // Neutral
z_score > -selected_moderate ? #01b844 : // Mildly Oversold
z_score > -selected_extreme ? #00ff66 : // Oversold
#00ff66 // Extremely Oversold
🔶 Visual Structure Analysis
Provides a six-tier color gradient system with dynamic background zones indicating mild, moderate, and extreme conditions. The histogram visualization displays Z-score intensity with threshold reference lines and zero-line equilibrium context for precise mean reversion timing.
snapshot
4H
1D
🔶 Adaptive Threshold Selection
Features intelligent threshold switching between statistical significance levels and percentage-based dynamic ranges. The percentage system automatically adjusts to current volatility conditions using configurable lookback periods, while statistical thresholds maintain consistent probability-based signal generation across market cycles.
🔶 Performance Optimization
Utilizes efficient rolling calculations with configurable EMA periods and threshold parameters for optimal performance across all timeframes. The system includes comprehensive alert functionality with customizable notification preferences and visual signal overlay options.
🔶 Market Oscillator Interpretation
Z-score > +3σ indicates statistically significant overbought conditions with high reversal probability, while Z-score < -3σ signals extreme oversold levels suitable for counter-trend entries. Moderate thresholds (±2σ) capture 95% of normal price distributions, making breaches statistically significant for systematic trading approaches.
snapshot
🔶 Intelligent Signal Management
Automatic signal filtering prevents false alerts through extreme threshold crossover requirements, while maintaining sensitivity to genuine statistical deviations. The dual threshold system provides both conservative statistical approaches and adaptive market condition responses for varying trading styles.
Why Choose EMA Oscillator ?
This indicator provides traders with statistically-grounded mean reversion analysis through sophisticated Z-score normalization methodology. By combining traditional statistical significance thresholds with adaptive percentage-based extremes, it maintains effectiveness across varying market conditions while delivering high-probability reversal signals based on quantifiable price displacement from trend equilibrium, enabling systematic counter-trend trading approaches with defined statistical confidence levels and comprehensive risk management parameters.
NY Session First 15m Range ORB Strategy first 15m high&low NY session
let you know the high and low of first 15m and the first candle is sitck out of the line you can ride on the wave to make moeny no bul OANDA:XAUUSD SP:SPX
Penguin TrendMeasures the volatility regime by comparing the upper Bollinger Band to the upper Keltner Channel and colors bars with a lightweight trend state. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and a selectable calculation timeframe. Default settings preserve the original look and behavior.
Penguin Trend visualizes expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB − UpperKC) / UpperKC × 100
* Diff > 0: Bollinger Bands are wider than Keltner Channels -> expansion / momentum regime.
* Diff < 0: BB narrower than KC -> compression / squeeze regime.
A white “Average Difference” line smooths Diff% (default: SMA(5)) to help spot regime shifts.
Trend coloring (kept from original):
Bars are colored only when Diff > 0 to emphasize expansion phases. A lightweight trend engine defines four states using a fast/slow MA bias and a short “thrust” MA applied to ohlc4:
* Green: Bullish bias and thrust > fast MA (healthy upside thrust).
* Red: Bearish bias and thrust < fast MA (healthy downside thrust).
* Yellow: Bullish bias but thrust ≤ fast MA (pullback/weakness).
* Blue: Bearish bias but thrust ≥ fast MA (bear rally/short squeeze).
Note: By default, Blue renders as Yellow to preserve the original visual style. Enable “Use true BLUE color” if you prefer Aqua for Blue.
How it works (under the hood):
* Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)). Width = StdDev × Mult (default 2.0).
* Keltner Channels (KC): Basis = selected MA of src (default SMA(20)). Width = ATR(kcATR) × Mult (defaults 20 and 2.0).
* Diff%: Safe division guards against division-by-zero.
* MA engine: You can choose SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Diff smoothing, and the trend components (VWAP is session-anchored).
* Calculation timeframe: Set “Calculation timeframe” to compute all internals on a chosen TF via request.security() while viewing any chart TF.
Inputs (key ones):
* Calculation timeframe: Empty = use chart TF; if set (e.g., 60), all internals compute on that TF.
* BB: Length, StdDev Mult, MA Type.
* KC: Basis Length, ATR Length, Multiplier, MA Type.
* Smoothing: Average Length & MA Type for the “Average Difference” line.
* Trend Engine: Fast/Slow lengths & MA type; Signal (kept for completeness); Thrust length & MA type (defaults replicate original behavior).
* Display: Paint bars only when Diff > 0; optional Zero line; optional true Blue color.
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: Use bar colors to qualify expansion: Green/Red indicate expansion aligned with trend thrust; Yellow/Blue flag weaker/contrarian thrust during expansion.
3. Multi-timeframe analysis: Run calculations on a higher TF (e.g., H1/H4) while trading a lower TF chart to smooth noise.
Alerts:
* Diff crosses above/below 0.
* Average Diff crosses above/below 0.
* State changes: GREEN / RED / YELLOW / BLUE.
Notes & limitations:
* VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
* Default parameters (SMA(20) for BB/KC, multipliers 2.0, SMA(5) smoothing, trend logic and bar painting) preserve the original appearance.
Release notes:
v6.0 — Rewritten in Pine v6 with structured inputs and guards. Multi-MA support (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP). Calculation timeframe via request.security() for multi-TF workflows. Safe division; optional zero line; optional true Blue color. Original visuals and behavior preserved by default.
License / disclaimer:
© waranyu.trkm — MIT License. Educational use only; not financial advice.
Previous Days High & Low RTH Session by TenAM TraderPurpose:
This indicator plots the high and low levels of previous trading days’ Regular Trading Hours (RTH), helping traders identify key support and resistance zones based on historical price action.
How to Use / Strategy:
Designed as a super simple trading strategy:
Buy when price breaks above and confirms the previous day’s high.
Sell when price breaks below and confirms the previous day’s low.
Alerts notify you when price interacts with these levels, helping traders act on confirmed breakout opportunities rather than premature moves.
*Traders can also look for reversal opportunities if price breaks back through one of the levels.
Note: Make sure RTH (Regular Trading Hours) is turned on for the chart, as the indicator is based on RTH highs and lows.
Features:
Tracks previous days’ highs and lows.
Provides clear visual reference for support and resistance.
Simple, actionable strategy based on breakout confirmations and reversal plays.
Alerts for confirmed price breaks.
Disclaimer:
This indicator is for educational and informational purposes only. It does not provide financial advice. Trading involves risk, and past performance does not guarantee future results. Users trade at their own risk.
Volume Spikes + Daily VWAP SD BandsVolume Spikes + Daily VWAP SD Bands
This indicator combines volume spike detection to help traders identify potential absorption zones with daily VWAP and standard deviation bands , key price levels, continuation opportunities, and possible institutional bias.
Features:
Volume Spike Detection
Highlights candles with unusually high volume relative to a configurable SMA.
Optional filters:
Local highs/lows only (Only Use Valid Highs & Lows)
Candle shapes: Hammer / Shooter only
Candle color match: bullish spikes on green, bearish on red
Plots small circles above/below bars for bullish and bearish volume spikes.
Alerts available for both bullish and bearish spikes.
Interpretation: Volume spikes at local highs/lows can indicate absorption, where one side absorbs aggressive buying/selling pressure.
Daily VWAP
Calculates volume-weighted average price (VWAP) for the current day.
Optionally shows previous day’s VWAP for reference.
Plot lines are customizable with optional circles on lines for visual clarity.
Labels on the last bar show exact VWAP values.
Institutional Bias Insight: Price above both current and previous VWAPs may indicate bullish positioning; price below both VWAPs may indicate bearish positioning. Many professional traders consider this a clue to institutional bias, but it’s not guaranteed. Always confirm with volume, delta, or orderflow analysis.
Standard Deviation Bands
Optional x1 and x2 SD bands around the daily VWAP.
Visual fill between bands shows price volatility zones.
Can be used to identify potential support/resistance or absorption zones.
Use Case: Price bounces off first SD band may indicate continuation signals, especially when volume spikes occur at those levels.
Customizable Visuals
Colors for bullish and bearish volume spikes
VWAP and SD band colors and thickness
Optional circles and filled bands for better readability
Alerts
Bullish / Bearish Volume Spikes
Supports TradingView alert system for automated notifications
Advanced Use Cases:
Combine with Cumulative Delta or Orderflow tools to confirm true absorption zones.
Identify high-volume rejection candles signaling possible trend continuation.
Use VWAP positioning relative to price to assess potential institutional bias, keeping in mind it is probabilistic, not guaranteed.
Visualize intraday VWAP levels and volatility with SD bands for better trade timing.
Settings: Fully customizable, including volume multiplier, SMA length, session filter, candle shape, color options, and VWAP/SD display preferences.
SAR Oscillator [Bellsz]Converts Parabolic SAR into a normalized oscillator with crossover signals, gradient fills, and trend strength levels. A cleaner way to read SAR momentum. Making it easier to read momentum shifts, trend strength, and reversals directly in the sub-chart. Instead of dots on price only, this tool converts SAR dynamics into a smooth oscillator that highlights bias and turning points.
What it shows
Normalized Price Line — scaled view of price relative to SAR.
Normalized SAR Line — SAR value normalized across the high/low range.
SAR Dots — visual cue when crossovers occur (potential reversal or trend acceleration).
Gradient Fill — color-coded background for quick read of momentum direction/intensity.
Guide Levels — ±50 baseline to track trend strength and overextension.
Why use it
Converts SAR into an oscillator format, easier to compare across instruments & timeframes.
Highlights momentum shifts early (crossovers, gradient flips).
Adds structure with gradient fill and baselines, making SAR more actionable than standard dot plots.
Works as a trend bias filter or confirmation tool alongside other indicators.
Inputs
Acceleration / Increment / Maximum — adjust SAR sensitivity.
Custom Colors — choose your scheme for price, SAR, and gradients.
Best practices
Use on intraday or swing TFs as a trend bias filter.
Look for Normalized Price crossing Normalized SAR as potential entry signals.
Watch how SAR dots cluster near ±100 for exhaustion or reversal signals.
Notes
This is a visual enhancement of SAR; it does not repaint.
Combine with volume, FVGs, or session models for added context.
🐋 Whale CareWhale Care 🐋
Indicator for detecting short signals based on the activity of large players ("whales"). Specifically designed for 5 to 15-minute timeframes.
Key Features
🎯 Clear visual signals - orange labels on the chart
📊 Signal strength histogram - measures the power of each signal
⚡ Instant alerts - notifications about large player activity
🏦 Dual filter - analyzes both banking and speculative capital
Optimal Usage
Timeframes: 5M, 10M, 15M
Markets: Stocks, forex, cryptocurrencies
Strategy: Short positions on signal appearance
Signal System
Entry: Orange "WHALE CARE" labels at price peaks
Confirmation: High histogram columns
Filter: Increased market volatility
Default Settings
Optimized for short-term trading:
Banker RSI: period 50
Hot Money: period 40
Volatility threshold: 4.0
Trader Advantages
Fast detection of large orders
Minimal signal delay
Simple visual interpretation
Customizable for individual trading style
A tool for trading decisions, not investment advice
Volatility Bands NGThe Volatility Bands indicator is a sophisticated trading system that combines adaptive filtering technology with volatility-based band mechanics to identify high-probability trading opportunities. At its core, this indicator employs an Adaptive Gaussian Filter that dynamically adjusts to market conditions, providing smoother and more responsive trend detection than traditional moving averages.
Credit at @BigBeluga for his work on gaussian bands.
Key Technologies & Features:
Adaptive Gaussian Filter: Uses a weighted Gaussian distribution that automatically adjusts its sigma parameter based on current market volatility, creating a self-optimizing smoothing mechanism
Integrated ATR Model: Combines traditional ATR with volume-adjusted and momentum-weighted true range calculations (90% ATR + 1% Volume-Adjusted TR + 9% Momentum-Weighted TR) for superior volatility measurement
Trend State Machine: Tracks trend direction, strength (0-100%), and duration using a sophisticated scoring algorithm that weighs momentum (40%), direction consistency (40%), and volatility normalization (20%)
Market Regime Detection: Automatically identifies whether the market is Trending, Choppy, or in Low Volatility mode
Squeeze Detection System: Identifies compression periods using Bollinger Bands vs Keltner Channels methodology, alerting to potential explosive moves
Multi-Factor Confirmation: Validates signals using volume spikes and Money Flow Index (MFI) to filter out false breakouts
Automatic Risk Management: Calculates real-time stop-loss and take-profit levels (2R and 3R) based on current volatility
Primary Trading Strategies:
1. Trend Following with Confirmations
Enter LONG when price crosses above the lower band (bullish trend line) with green arrows showing confirmations
Enter SHORT when price crosses below the upper band (bearish trend line) with red arrows showing confirmations
Look for "✓" symbol indicating both volume and momentum confirmation for highest probability trades
2. Squeeze Breakout Strategy
Monitor orange background highlighting (squeeze active)
Prepare for breakout when squeeze releases (orange diamond appears)
Combine with trend direction for directional bias
Best used in ranging markets transitioning to trending
3. Retest Entry Strategy (Enable "Show Retest Signals")
After initial trend signal, wait for price to pull back to the adaptive filter line
Enter on retest signals (secondary arrows) for better risk/reward
Particularly effective in strong trending markets
4. Market Regime Adaptation
Trending Regime: Use standard trend-following entries with wider stops
Chop Regime: Focus on squeeze plays and avoid trend signals
Low Vol Regime: Tighten stops and reduce position sizes
Risk Management Guidelines:
Use the automatically calculated Stop Loss levels displayed in the info table
Scale out at 2R and 3R take profit levels
Reduce position size when Trend Score < 50%
Increase position size on confirmed signals (✓) with Trend Score > 70%
Advanced Filtering:
Combine trend direction with Market Regime for optimal entries
Use MFI levels (default 40/60) to avoid overbought/oversold entries
Monitor "Duration" in the info table - fresh trends (< 10 bars) often have more momentum
⚡ TL;DR
BUY: Green arrow + price above blue line + trend score > 50%
SELL: Red arrow + price below blue line + trend score < 50%
Best Signals: Arrows with "✓" symbol (full confirmation)
Avoid: Signals during orange squeeze periods (wait for release)
Exit: Use table's stop-loss (red) and take-profit levels (green)
Optimal Settings (already defaulted):
Adaptive Period: ON
Adaptive Sigma: ON
Require Confirmation: ON
Show Squeeze: ON
The indicator does the heavy lifting - just follow the arrows with confirmations and respect the risk levels shown in the table. Works best on 15m+ timeframes for crypto and 1H+ for forex/stocks.
🎯 Pro Tip: The indicator shines in trending markets. When the info table shows "Trending" regime with 70%+ trend score, increase position confidence.
If you’ve found value in Oracle NG and would like to support further development, feel free to donate:
BTC: bc1q2n4up8wzgqdsw9j3dzcn5jaelddu52t7ahydy6
ETH: 0x9b72b42326836528cA608c90811487E5244D7744
AVAX C-Chain: 0x9b72b42326836528cA608c90811487E5244D7744
Shock Detector: Price Jerk with Std-Dev BandsDetect sudden shocks in market behaviour
This indicator measures the jerk of price – the third derivative of price with respect to time (rate of change of acceleration). It highlights sudden accelerations and decelerations in price movement that are often invisible with standard momentum or volatility indicators.
Per-bar or time-scaled derivatives (choose whether calculations are based on bars or actual seconds).
Features
Log-price option for more stable readings across different price levels.
Optional smoothing with EMA to reduce noise.
Line or column view for flexible visualization.
Standard deviation bands (±1σ and ±2σ), centered either on zero or the rolling mean.
Auto window selection (1 day to 4 weeks), adaptive to chart timeframe.
Color-coded jerk: green for positive, red for negative.
Optional filled bands for easy visual context of normal vs. extreme jerk moves.
How to Use
Use jerk to identify sudden shifts in market dynamics, where price movement is not just changing direction but changing its acceleration.
Bands help highlight when jerk values are statistically unusual compared to recent history.
Combine with trend or momentum indicators for potential early warning of breakouts, reversals, or exhaustion.
Why it’s useful
Most indicators measure price, velocity (returns), or acceleration (momentum). This goes one step further to look at jerk, giving you a tool to spot “shock” movements in the market. By framing jerk within standard deviation bands, it’s easy to see whether current moves are ordinary or exceptional.
Developed with the assistance of ChatGPT (OpenAI).
NY ORB (30m) + ATR CheckNY Open strategy
First candle at 30min NY Open @ 9:30
Mark high/low of that candle (ORB)
Make sure ATR is within 25% deviation +/-
If ATR is in harmony with the price difference of the first candle high/low
You trade the first candle close that closes above the candle high/low (ORB)
ORB Dashboard for the TFLX Strategy# ORB Range/ATR Dashboard - Technical Indicator Description
## Main Function
This indicator analyzes Opening Range Breakout (ORB) patterns by calculating a defined time period and its relation to historical volatility. The indicator combines multiple technical analysis methods and presents results in a configurable dashboard format.
**Purpose:** This indicator automates the manual calculation steps of the TFLX analysis methodology, providing real-time computation of volatility ratios, trend filters, and risk management parameters that would otherwise require manual calculation and monitoring.
## Requirements and Limitations
**Additional Indicator Required:** This dashboard indicator works in conjunction with a separate ORB range visualization indicator that displays the actual high/low range levels on the chart. The dashboard provides analysis and calculations, while the range indicator provides visual reference points.
**Important Notice:** This indicator serves as an analytical tool and calculation assistant for the TFLX methodology. It does not execute trades automatically but provides data analysis to support manual decision-making processes.
## TFLX Analysis Methodology Framework
### Core Analysis Rules (Discretionary Implementation)
**Primary Conditions:**
- Market position relative to neutral zones (BB analysis)
- Volatility range between 15-60% of ATR(3)
- News event screening (high-impact economic releases)
- Market session timing constraints (before calculated session end)
- US Bank Holiday considerations
**Exception Conditions:**
- High-impact news with rebreak patterns
- Reversal patterns during neutral market conditions
### Technical Specifications of the Methodology
**Range Definition:**
- Time Period: First 15 minutes after market open
- Measurement: High-Low range calculation
- Breakout Trigger: 5-minute close outside established range
**Volatility Analysis:**
- Formula: (Range Points / ATR(3) Previous Day) × 100
- Threshold Ranges:
- <15%: Below minimum threshold
- 15-20%: Low volatility range
- 25-30%: Moderate volatility range
- 30-40%: Good volatility range
- 40-50%: High volatility range
- 50-60%: Very high volatility range
- >60%: Above maximum threshold
**News Event Categories:**
- Major Events: NFP, CPI, PPI, FOMC releases
- Minor Events: All significant economic releases during market hours
- Impact Assessment: Market reaction analysis framework
**Trend Analysis Framework (1H Bollinger Bands):**
- Base Calculation: EMA(200) with standard deviation bands
- Reference Points: Market Open, ORB Close, Trigger Bar
- Decision Logic: 2 out of 3 reference points determine bias
- Zone Classifications:
- Within 0.5 multiplier: Neutral zone
- Within 1.5 multiplier: Directional bias zone
- Outside 1.5 multiplier: Strong directional zone
**Timing Constraints:**
- Session Window: Market open to calculated session end (typically 4.5 hours)
- Retracement Analysis: Maximum adverse movement before breakeven or stop loss
**Manual Calculation Process (Automated by Indicator):**
1. Measure range in points using chart measurement tools
2. Switch to daily timeframe
3. Set ATR period to 3
4. Extract previous day's ATR value
5. Calculate: (Range Points ÷ ATR Value) × 100
6. Apply percentage thresholds for analysis
## Core Components and Calculation Methods
### 1. Opening Range Calculation
**Data Source:** High/Low/Close prices of current timeframe
**Calculation:**
- Defines a configurable time period (default: 15 minutes)
- Collects during this period: `range_high = max(high)` and `range_low = min(low)`
- Calculates Range Size: `range_size = range_high - range_low`
- Stores the last close price of the period: `final_orb_close`
### 2. ATR (Average True Range) Integration
**Data Source:** Daily True Range values
**Calculation:**
```
daily_atr = ta.atr(length) // Default 3 periods
atr_yesterday = daily_atr // Previous trading day
```
**Available Methods:** RMA (default), SMA, EMA, WMA
### 3. Volatility Ratio Calculation
**Formula:**
```
ratio = (range_size / atr_yesterday) * 100
```
**Purpose:** Normalization of current range against historical volatility
**Configurable Parameters:** Min/Max thresholds (default: 15-60%)
### 4. Bollinger Bands Integration (1H Timeframe)
**Data Source:** 1-hour chart data via `request.security()`
**Calculation:**
```
bb_ema = ta.ema(close, 200) // 1H timeframe
bb_std = ta.stdev(close, 200) // 1H timeframe
bb_upper = bb_ema + (bb_std * multiplier)
bb_lower = bb_ema - (bb_std * multiplier)
```
**Configurable Multipliers:**
- Neutral Zone: 0.5x standard deviation
- Strong Zone: 1.5x standard deviation
### 5. Trend Filter System (2/3 Method)
**Components:**
1. **NY Open Signal:** Compares 1H open price with BB levels
2. **ORB Close Signal:** Compares final ORB close with BB levels
3. **Trigger Signal:** Compares breakout price with BB levels
**Logic:**
```
if (bullish_signals >= 2) → "BULLISH"
if (bearish_signals >= 2) → "BEARISH"
else → "MIXED" or "NO TREND"
```
## Component Interaction
### Trade Signal Generation
**Algorithm:**
```
trade_allowed = (orb_ratio >= min_threshold AND orb_ratio <= max_threshold)
AND (bb_signal != "NEUTRAL")
AND (trend_filter_result contains "BULLISH" OR "BEARISH")
```
### Risk Management Calculation
**Entry Points:**
- Long Entry: `range_high`
- Short Entry: `range_low`
**Stop Loss Calculation:**
```
sl_level = range_low + (range_size * sl_position_percent / 100)
```
**Take Profit Calculation:**
```
tp_distance = range_size * tp_factor_percent / 100
long_tp = long_entry + tp_distance
short_tp = short_entry - tp_distance
```
**Position Sizing (CFD-optimized):**
```
risk_per_contract = avg_risk_points * contract_value * lot_size
max_contracts = max_risk_amount / risk_per_contract
```
**Margin Calculation (CFDs):**
```
position_value = total_units * entry_price
margin_required = position_value / leverage
```
## Dashboard Elements
### 1. Volatility Filter Section
- **ORB Range:** Current range in points
- **ATR Previous:** Yesterday's ATR values
- **ORB Ratio:** Calculated ratio with color coding
### 2. Trend Filter Section
- **NY Open vs BB:** Position of 1H open relative to BB
- **ORB Close vs BB:** Position of ORB close relative to BB
- **Trigger Bar vs BB:** Position of breakout price relative to BB
- **Trend Result:** Summary of 2/3 filter
### 3. Risk Management Section (optional)
- **R/R Ratio:** Calculated from TP/SL distances
- **Risk per Lot:** Based on instrument type
- **Max Lot Packages:** Automatic position sizing calculation
- **Margin Required:** For CFD instruments
### 4. Journal Section (optional)
- **Breakout Timing:** Categorization by bars (1-3, 4-6, 7-9, 10-12, 13+)
- **Direction Tracking:** Bullish/Bearish breakout direction
- **Position Analysis:** Distance of breakout to ORB range
## Automatic Instrument Detection
**CFD/Index Treatment:**
```
if (syminfo.type == "cfd" OR syminfo.type == "index")
contract_value = 1.0 * cfd_lot_size
```
**Forex Treatment:**
```
if (syminfo.type == "forex")
contract_value = syminfo.pointvalue * cfd_lot_size
```
**Futures/Stocks:**
```
contract_value = syminfo.pointvalue
```
## Timezone Handling
- All time calculations based on configurable timezone
- Session End Time: ORB Start + 4.5 hours
- Automatic overflow handling for 24h format
## Alert System
**ORB Formation Alert:**
- Triggered upon completion of ORB period
- Includes: Range size, high/low values
**Breakout Alert:**
- Triggered on close price outside ORB range
- Includes: Direction, trade status based on filters
## Configuration Options
- **ORB Period:** Start/end time in hours/minutes
- **ATR Parameters:** Period and calculation method
- **Volatility Thresholds:** Min/max percentage limits
- **BB Parameters:** Period and multipliers
- **Risk Management:** Risk amount, SL/TP positions
- **Dashboard Layout:** Position, size, colors, visibility
## Data Integrity
- State variables with `var` declaration for persistence
- Daily reset of all relevant variables
- Lookahead bias prevention through `barmerge.lookahead_off`
- Multi-timeframe safety through `request.security()` functions
This technical implementation provides a comprehensive analysis framework for Opening Range Breakout patterns with integrated volatility, trend, and risk management components.
ICT Macro Time Window NYThis script highlights the typical ICT “macro” algorithm activity windows on your chart. It marks 10 minutes before to 10 minutes after each full hour, based on New York time (NY). The display is restricted to the 00:00 – 16:00 NY time range.
Overlay on chart with semi-transparent background
Automatically adjusts to the chart timeframe
Customizable: window start/end minutes, hours, and background color
Ideal for traders following ICT concepts to visually identify high-probability algorithm activity periods.
Easy Trend by ZuperviewEasy Trend, a trend indicator, gives you many key features as below:
Allow defining moving average with (11 popular moving averages)
Allow smoothing moving average
Allow applying a plot change filter, either before or after smoothing
Paint plot to clearly show uptrend vs downtrend
Paint chart background to clearly show uptrend vs downtrend
Trigger alerts on trend shift
Print markers on trend shift
Be NinjaScript ready for advanced usage, only restricted by your imagination
Expose dedicated NinjaScript signals
Elite indicatorElite Indicator – AI-Driven Signals for Profitable Trading in Stocks, Forex, and Crypto !
Unlock your trading potential with the Elite Indicator, your ultimate AI-powered trading companion for stocks, forex, and crypto markets. Designed to simplify your trading journey, this indicator delivers precise BUY/SELL signals directly on your chart, empowering you to trade with confidence across multiple timeframes, from 1-minute scalping to 1-day trading strategies.
Leverage the power of AI to identify high-probability trading opportunities, backed by rigorous backtesting and a proven high win-rate.
Join the ranks of traders who have transformed their strategies with Elite Indicator – where advanced technology meets user-friendly design. Elevate your trading game and stay ahead of the curve in today's fast-paced markets.
Transform Your Trading – Join the Elite! 🔥
Disclaimer: Trading involves inherent risks. Use this indicator as part of a broader risk management strategy and never invest more than you can afford to lose.
Kitti-Playbook ATR Study R0
Date : Aug 22 2025
Kitti-Playbook ATR Study R0
This is used to study the operation of the ATR Trailing Stop on the Long side, starting from the calculation of True Range.
1) Studying True Range Calculation
1.1) Specify the Bar graph you want to analyze for True Range.
Enable "Show Selected Price Bar" to locate the desired bar.
1.2) Enable/disable "Display True Range" in the Settings.
True Range is calculated as:
TR = Max (|H - L|, |H - Cp|, |Cp - L|)
• Show True Range:
Each color on the bar represents the maximum range value selected:
◦ |H - L| = Green
◦ |H - Cp| = Yellow
◦ |Cp - L| = Blue
• Show True Range on Selected Price Bar:
An arrow points to the range, and its color represents the maximum value chosen:
◦ |H - L| = Green
◦ |H - Cp| = Yellow
◦ |Cp - L| = Blue
• Show True Range Information Table:
Displays the actual values of |H - L|, |H - Cp|, and |Cp - L| from the selected bar.
2) Studying Average True Range (ATR)
2.1) Set the ATR Length in Settings.
Default value: ATR Length = 14
2.2) Enable/disable "Display Average True Range (RMA)" in Settings:
• Show ATR
• Show ATR Length from Selected Price Bar
(An arrow will point backward equal to the ATR Length)
3) Studying ATR Trailing
3.1) Set the ATR Multiplier in Settings.
Default value: ATR Multiply = 3
3.2) Enable/disable "Display ATR Trailing" in Settings:
• Show High Line
• Show ATR Bands
• Show ATR Trailing
4) Studying ATR Trailing Exit
(Occurs when the Close price crosses below the ATR Trailing line)
Enable/disable "Display ATR Trailing" in Settings:
• Show Close Line
• Show Exit Points
(Exit points are marked by an orange diamond symbol above the price bar)
Solar Wave by ninZa.coSolar Wave - trend indicator stands out with many key features to help traders enhance their trading, let's check below:
Plot "Trend Vector" that interprets trend direction (uptrend or downtrend) and trend strength (strong or weak)
Plot "Trailing Stop" for stop trailing management
Allow configuring "Trend Vector" and "Trailing Stop" with ninZaATR adjustment
Print trend steps and highlight step decreases to warn of trend weakness
Colorize bars based on 4 statuses: uptrend strong, uptrend weak, downtrend strong, downtrend weak
Colorize "Trend Vector" based on 4 statuses: uptrend strong, uptrend weak, downtrend strong, downtrend weak
Colorize "Trailing Stop" to clearly show uptrend vs downtrend
Paint background to clearly show uptrend vs downtrend
Trigger alerts on trend start, pullback, strengthening
Print markers on trend start, pullback, strengthening
Be NinjaScript ready for advanced usage, only restricted by your imagination
Expose dedicated NinjaScript signals
4 states of the markets (strong/weak uptrend, strong/weak downtrend) are displayed clearly with various visual signals to help you easily read: bar painting, plot colorization, background highlight.
The best signal of Solar Wave is PULLBACK. As you know, a trend rarely goes straight, but often retraces – which creates great opportunities for pullback trading. In Solar Wave, pullbacks are our recommended signals for entries. From our testing and experiences, the first and second pullbacks are usually the most reliable and optimal entries.
Cosmik Z-TP by ninZa.coWith Cosmik Z-TP - Trading System, you can:
Enter trades confidently with highly reliable signals.
Pinpoint where to place stops and profit targets with ease.
Enjoy high rewards while keeping the risks low in every trade.
Simplify your charts by kicking out 2, 3, or even 10 indicators.
Customize the system to your unique trading approach.
Get started with trading immediately.
Enhance the enjoyment of your daily trading with a user-friendly interface.
Identify the market's direction, spot signal zones, and make timely entry decisions.
Simplified signal mechanism:
During an uptrend, indicated by a green background and blue trailing stop, buy signals emerge within the blue signal zone.
During a downtrend, identified by a red background and pink trailing stop, sell signals emerge within the pink signal zone.
Advanced signal filter: You have the flexibility to control the quantity of signals within a trend phase or a range.
MagnetOsc Turbo by ninZa.coMagnetOsc Turbo - Multi-timeframe momentum analysis
Unlike conventional oscillators, MagnetOsc Turbo analyzes momentum on two independent timeframes simultaneously (e.g., 100-tick & 5-minute).
Why it matters: Momentum alignment across timeframes is a key signal of trend strength or turning points.
Easy Trend by ninZa.coEasy Trend, a NinjaTrader trend indicator, gives you many key features as below:
Allow defining moving average with (11 popular moving averages)
Allow smoothing moving average
Allow applying a plot change filter, either before or after smoothing
Paint plot to clearly show uptrend vs downtrend
Paint chart background to clearly show uptrend vs downtrend
Trigger alerts on trend shift
Print markers on trend shift
Be NinjaScript ready for advanced usage, only restricted by your imagination
Expose dedicated NinjaScript signals
BandBreak Pro (BB×ST×SRC) — Live-Sync Indicator📌 Overview
BandBreak Pro is a volatility + trend confirmation indicator designed to provide traders with clean breakout signals.
It synchronizes Bollinger Bands (BB), a selectable SRC line (price source), and Super trend (ST) into one unified logic.
⚡ Signals only trigger when price breaks the Bollinger Bands and the Super trend confirms the same direction.
📖 Basics & Definitions
1. Bollinger Bands (BB)
Bollinger Bands measure volatility by building an envelope around price.
Middle line (Basis) = Simple Moving Average (SMA).
Upper Band = SMA + (Multiplier × Standard Deviation).
Lower Band = SMA – (Multiplier × Standard Deviation).
👉 Meaning: A break above the upper band often suggests bullish strength, while a break below the lower band suggests bearish momentum.
2. SRC Line (Source Line)
The SRC line is a chosen price input: close, hlc3, or ohlc4.
It acts as the backbone since both BB and ST derive from it.
Benefit: Ensures everything is perfectly synchronized and avoids repainting issues.
3. Super trend (ST)
Supertrend is an ATR (Average True Range) based trend filter.
If price is above the ST line → Uptrend (Green).
If price is below the ST line → Downtrend (Red).
👉 Meaning: ST is a simple yet powerful filter to confirm trend direction and reduce false breakouts.
📌 CONCEPTS (with Calculations)
Hybrid Sync (History vs Realtime)
History: All calculations use confirmed OHLC via request.security (no lookahead) → no repaint.
Realtime: (if ON) calculations follow live chart OHLC → what you see is what you get.
Strict No-Repaint: Forces realtime bar to also use confirmed OHLC values.
👉 Formula:
if strict = true → use confirmed OHLC only
else if realtime and followChart = true → use chart OHLC
else → use confirmed OHLC
SRC Line (Selected Source)
User can select close, hlc3 = (high+low+close)/3, or ohlc4 = (open+high+low+close)/4.
This SRC drives Bollinger Bands and Supertrend.
👉 Formula:
SRC = close | hlc3 | ohlc4 (user choice)
Bollinger Bands (BB Break Logic)
Basis:
Basis = SMA(SRC, Length)
Standard Deviation:
Dev = StDev(SRC, Length)
Bands:
Upper = Basis + (Multiplier × Dev)
Lower = Basis - (Multiplier × Dev)
Breakout Filter:
UpBB = Upper × (1 + Buffer%)
DnBB = Lower × (1 – Buffer%)
👉 Meaning: Breakouts only count when price crosses filtered bands.
Supertrend (Directional Filter)
True Range:
TR = max(High – Low, |High – PrevClose|, |Low – PrevClose|)
ATR:
ATR = RMA(TR, ST_Length)
Bands:
BasicUp = (High+Low)/2 + (ST_Factor × ATR)
BasicDn = (High+Low)/2 – (ST_Factor × ATR)
Final Line (flip logic):
If Close > PrevUp → Trend = UP → use Dn line
If Close < PrevDn → Trend = DOWN → use Up line
Signal Formation (Confirmed Bar Only)
Long Condition:
Long = crossover(SRC, UpBB) AND Supertrend = UP
Short Condition:
Short = crossunder(SRC, DnBB) AND Supertrend = DOWN
Validation: Signals trigger only on barstate.isconfirmed (bar close).
🛠️ FEATURES
Clean, synced plots: Bollinger Bands, Basis line, SRC line, Supertrend line.
Hybrid sync modes: live-follow or strict no-repaint.
Bollinger controls: length, multiplier, buffer %, show/hide.
Supertrend controls: enable, ATR length, factor, show/hide.
Signal labels: BB×ST ↑ and BB×ST ↓.
Alerts: Built-in LONG/SHORT ready to use.
Overlay = true; optimized for intraday with higher label capacity.
📊 HOW TO USE
Timeframes: 5m–1H intraday; 2H–1D for swing trades.
Markets: Crypto, Forex, Indices, Equities.
Workflow:
Keep chart clean with only BandBreak Pro.
Start BB = 20 length, 2.0 multiplier. Use buffer 0.25–0.75% in choppy pairs.
Keep Supertrend ON to reduce false signals. Lower factor = faster flips.
After breakout, manage trades using S/R or BB midline.
SL = opposite ST line, TP = midline or nearest support/resistance.
⚠️ LIMITATIONS
Ranging markets may produce whipsaws.
Strict mode = safest but slower signals.
Not a strategy → no backtesting/PnL.
Parameters must be tuned for volatile/illiquid assets.
Always use with risk management.
🔔 ALERTS
BB×ST LONG → SRC crosses above upper band + ST = UP.
BB×ST SHORT → SRC crosses below lower band + ST = DOWN.
👉 Recommended: “Once Per Bar Close”.
NOTES
Buffer % = micro filter, useful for high-volatility assets.
Higher ST factor = fewer flips, more trend fidelity.
Lower ST factor = faster flips, more frequent signals.
🌟 Why BandBreak Pro is Unique
✅ Both BB and ST are calculated from the same hybrid OHLC SRC source → perfectly aligned & repaint-free.
✅ Only issues dual-confirmation signals → fewer false breakouts.
✅ Beginner-friendly (clear definitions included) + Pro-level customization (buffer %, sync modes).
✅ Multi-market: Crypto, Forex, Indices, Stocks.
🙏 Thanks
Bollinger Bands = John Bollinger’s volatility framework.
Supertrend = ATR-based classic TA tool.
SRC + Hybrid Sync = original implementation adapted for TradingView.
SMT - Squeeze Momentum Trend📊 Squeeze Momentum Trend
An indicator that combines volatility, momentum, and trend to anticipate the market’s strongest moves. 🚀
✅ Squeeze → when Bollinger Bands tighten inside the Keltner Channel: the market is in compression, ready to “explode”.
✅ Momentum → shows direction and strength (green = bullish push, red = bearish push).
✅ Trend Filter → confirms direction using a higher timeframe EMA (to avoid false signals).
💡 In practice:
🔥 If price breaks out of a squeeze with positive momentum → potential long breakout.
❄️ If it breaks out with negative momentum → potential short breakout.
📌 Perfect for spotting key moments when the market stops “resting” and makes its next big move.
StdDev Supply/Demand Zone RefinerThis indicator uses standard deviation bands to identify statistically significant price extremes, then validates these levels through volume analysis and market structure. It employs a proprietary "Zone Refinement" technique that dynamically adjusts zones based on price interaction and volume concentration, creating increasingly precise support/resistance areas.
Key Features:
Statistical Extremes Detection: Identifies when price reaches 2+ standard deviations from mean
Volume-Weighted Zone Creation: Only creates zones at extremes with abnormal volume
Dynamic Zone Refinement: Automatically tightens zones based on touch points and volume nodes
Point of Control (POC) Identification: Finds the exact price with maximum volume within each zone
Volume Profile Visualization: Shows horizontal volume distribution to identify key liquidity levels
Multi-Factor Validation: Combines volume imbalance, zone strength, and touch count metrics
Unlike traditional support/resistance indicators that use arbitrary levels, this system:
Self-adjusts based on market volatility (standard deviation)
Refines zones through machine-learning-like feedback from price touches
Weights by volume to show where real money was positioned
Tracks zone decay - older, untested zones automatically fade