ETH True CB PremiumThis indicator calculates and visualizes the “true premium” or discount between Coinbase and Binance spot prices for ETH, accurately accounting for any decoupling between USD and USDT.
Coinbase ETHUSD is quoted in USD.
Binance ETHUSDT is quoted in USDT.
The indicator uses the current USDT/USD spot rate (COINBASE:USDTUSD) to convert Binance’s ETH price into USD terms, ensuring an accurate premium calculation even if USDT and USD are not exactly 1:1.
อินดิเคเตอร์และกลยุทธ์
Risk On/Off Index [SwissAlgo]Risk On/Off Index - Sector Rotation Analysis
----------------------------------------------------
What it does:
This indicator estimates market risk appetite by comparing the weighted performance of growth/cyclical sectors (Risk-On) against defensive sectors (Risk-Off).
It provides a normalized oscillator that ranges from -1 (extreme risk-off) to +1 (extreme risk-on), which may help traders identify potential shifts in market sentiment and sector rotation patterns.
The analysis examines whether institutional money flows favor aggressive growth assets or seek safety in defensive positions, potentially offering insights into the underlying risk tolerance that drives market movements. When properly interpreted alongside other analyses, this information could assist in understanding broader market cycles and sentiment transitions.
----------------------------------------------------
How it works:
The indicator analyzes 11 major sector ETFs weighted by their actual market capitalization representation:
Risk-On sectors (70% weight) : Technology (28%), Financials (11%), Consumer Discretionary (10%), Communication (9%), Industrials (8%), Energy (4%), Materials (2.5%), Real Estate (2%)
Risk-Off sectors (30% weight) : Healthcare (13%), Consumer Staples (6%), Utilities (2.5%)
The algorithm calculates the weighted performance difference over your selected timeframe (7 days to 12 months) and normalizes it using three methods: Simple Difference, Tanh Normalized, or Historical Range. A 7-period EMA smooths the signal, while a longer signal line (default 50) provides trend context.
----------------------------------------------------
Visual Features:
Main curve (Risk Appetite Delta) : The primary line shows the smoothed (7-period EMA) risk appetite reading. When above zero, growth sectors are outperforming defensive sectors (risk-on sentiment). When below zero, defensive sectors are outperforming growth sectors (risk-off sentiment).
Signal line : A longer EMA (default 50-period) of the risk appetite data that represents the underlying trend. Crossovers between the main curve and signal line may indicate potential momentum shifts in market sentiment (potential long signal when the crossover happens in extreme risk-off zones, and potential short signal when the crossunder occurs in extreme risk-on zones)
Dynamic color coding : The main curve color reflects both position and momentum:
Red : Risk-on territory (>0) with strengthening momentum (above signal line)
Green : Risk-on territory (>0) but weakening momentum (below signal line) - potential reversal warning
Maroon : Risk-off territory (<0) but strengthening momentum (above signal line) - potential reversal warning
Lime : Risk-off territory (<0) with strengthening momentum (below signal line)
Gradient background zones : Subtle fills indicate risk appetite intensity levels from moderate (0 to ±0.25) through strong (±0.25 to ±0.5) to extreme (±0.5 to ±1.0)
Sector breakdown table : Shows individual sector performance with clear Risk-On/Risk-Off categorization
Reference levels : Horizontal lines mark neutral (0), strong (±0.5), and extreme (±1) risk appetite zones
This color system allows traders to quickly assess not just current sentiment (above/below zero) but also whether that sentiment is strengthening or potentially reversing based on the relationship with the signal line.
----------------------------------------------------
Who may benefit:
Portfolio managers rotating between growth and defensive allocations
Swing traders timing sector rotation plays
Risk managers monitoring overall market sentiment
Asset allocators adjusting exposure based on risk appetite cycles
----------------------------------------------------
Key applications:
Identify when markets transition from growth-seeking to risk-averse behavior
Time entries into cyclical sectors during risk-on phases
Rotate to defensive sectors when risk appetite weakens
Spot divergences between individual stocks and broader market sentiment
----------------------------------------------------
Limitations:
This indicator reflects US equity sector dynamics and may not capture risk sentiment in other asset classes or geographic regions. ETF-based analysis introduces slight tracking differences from underlying sector performance. Past performance patterns do not guarantee future results.
----------------------------------------------------
Disclaimer:
This indicator is for educational and analytical purposes only. It does not constitute financial advice or trading recommendations. Users should conduct their own analysis and risk assessment before making investment decisions. SwissAlgo assumes no responsibility for trading losses or investment outcomes based on this indicator's signals.
TX EM Levels - Multi-Timeframe Risk CalculatorThe TX EM Levels indicator is an original risk management tool that addresses a common challenge faced by traders across different time horizons: determining appropriate stop loss and take profit levels that adapt to market volatility and trading style. Unlike standard ATR indicators that simply display raw values, this script introduces a multi-style volatility framework that automatically adjusts risk parameters based on your chosen trading approach.
What This Indicator Does
This indicator transforms the traditional Average True Range (ATR) concept into a practical, multi-dimensional risk management system by:
Calculating Daily ATR Foundation: Uses daily timeframe ATR as the baseline measurement, ensuring consistency regardless of your chart timeframe
Style-Adaptive Scaling: Applies intelligent multipliers based on three distinct trading approaches
Dual-Purpose Display: Provides both visual plot representation and tabular reference data
Real-Time Risk Levels: Displays both Stop Loss (SL) and Take Profit (TP) levels simultaneously
Core ATR Calculation
The indicator employs a multi-timeframe approach by requesting daily ATR data using the request.security() function, regardless of your current chart timeframe. This ensures:
Consistency across different viewing timeframes
Stable volatility measurements not affected by intraday noise
Reliable risk parameters for position sizing
Risk-Reward Framework
The indicator implements a 2:1 risk-reward ratio by default:
Stop Loss levels = Calculated ATR value
Take Profit levels = 2x the Stop Loss value
How to Use This Indicator
Setup Instructions
Add to Chart: Apply the indicator to any timeframe chart
Select Trading Style: Choose from Swing, Intraday, or Scalping in the settings
Configure Display: Toggle the reference table on/off based on preference
Adjust ATR Parameters: Modify length (default 14) and smoothing method if needed
Practical Application
For Position Entry:
Use the calculated SL level as your maximum risk per trade
Set your take profit target at the TP level shown
The values automatically adjust to current market volatility
For Risk Management:
The indicator helps maintain consistent risk exposure across different market conditions
Higher ATR periods = wider stops (trending markets)
Lower ATR periods = tighter stops (ranging markets)
For Multiple Timeframe Trading:
Switch between trading styles without changing charts
Compare how different approaches would affect your risk parameters
Maintain consistent methodology across various instruments
Marker 25 Points Above Candle HighThis custom TradingView indicator places a small red circular marker (●) exactly 25 points above the high of each candle. It's useful for visualizing buffer zones above price highs, such as potential breakout areas, stop-loss regions, or resistance levels.
JXMJXRS - Macro Flow CompassThe Macro Flow Compass is designed to give a high-level view of market behaviour by tracking how capital is moving across the crypto ecosystem. It’s not an entry or exit tool. Instead, it helps identify when the overall environment is shifting, whether capital is favouring majors like BTC and ETH, rotating into altcoins, or moving into stables.
The goal is to keep you aligned with broader market cycles, so trades are taken with macro context in mind.
The script works by analyzing four key metrics:
Total crypto market cap (CRYPTOCAP:TOTAL)
Bitcoin dominance (CRYPTOCAP:BTC.D)
Ethereum dominance (CRYPTOCAP:ETH.D)
Combined stable coin dominance from USDT and USDC (CRYPTOCAP:USDT.D + USDC.D)
These are smoothed using a basic EMA (Exponential Moving Average) to reduce noise. The script then checks for changes in dominance and market cap slope to detect when capital is likely flowing into or out of specific sectors.
When certain conditions align, the script will shade the background with one of the following colours:
Green Panel – Risk-on behaviour in majors. Usually appears when total market cap is trending up and BTC dominance is dropping, or stable coin dominance is falling. It suggests BTC and ETH are likely receiving capital inflow, not necessarily pumping but positioned better for upside.
Orange Panel – Altcoin rotation. Happens when ETH dominance is rising or stables are pulling back, while the market cap is also rising. These tend to precede altcoin outperformance phases.
Blue Panel – Stable coin build-up. Signals increasing stable coin dominance. Often a defensive move, either after a drop or in anticipation of volatility. This can mean risk-off conditions.
The indicator uses three main settings:
Smoothing Length – Controls how reactive the EMAs are. Lower values react quicker to short-term changes; higher values will slow things down and highlight more persistent trends.
Dominance Flip Threshold (%) – Sets how much a dominance value must change in one bar to trigger a condition. It’s there to avoid reacting to tiny shifts that don’t really matter.
Macro Cap Slope Length – Determines how the macro market cap trend is calculated. It looks at the slope of a long-term regression to decide if we’re in an uptrend or downtrend.
This tool works on higher timeframes like the weekly or monthly, and it’s especially useful when combined with your own technical analysis.
Slope Based Divergences of Wavelet - (Multi-Length, Dual Price)
1. Summary
This is not a typical divergence indicator. Instead of comparing simple peaks and troughs in price and an oscillator, the Slope-Based Divergence Engine performs a far more rigorous analysis by measuring the rate of change (slope) itself.
It identifies high-probability divergence opportunities by detecting moments when price is accelerating strongly in one direction while the underlying momentum, measured by a sophisticated Scientific Wavelet Oscillator, is accelerating in the opposite direction. By requiring confirmation from two different price sources (high and low) and across multiple timeframes, it aims to filter out noise and pinpoint only the most potent moments of market exhaustion.
2. The Core Innovation: Why Slope?
Traditional divergence indicators look at levels (e.g., price made a higher high, RSI made a lower high). This script looks at momentum's momentum.
Traditional Method: "Price went up, but momentum went down."
This Script's Method: "Price is accelerating upwards faster than ever, but momentum is decelerating faster than ever."
By focusing on the slope, the indicator identifies points of maximum stress and disagreement in the market, which often precede sharp reversals.
3. Key Components & Logic
The script's power comes from its multi-layered filtering system:
Scientific Wavelet Oscillator: The indicator's engine is a custom oscillator built using a Haar Wavelet Transform. Unlike standard oscillators (like RSI or Stochastics) that use a single period, this one analyzes the price across multiple different time scales (or "octaves") simultaneously. It then fuses this information into a single, robust momentum reading that is normalized using a statistical Z-score.
Multi-Length Average Slope: The script doesn't just calculate a single slope. It calculates the slope across a range of lookback periods (e.g., from 1 to 30 bars) and then averages them. This creates a much smoother and more reliable measure of the trend's current velocity, filtering out the noise from any single period.
Dual Price Confirmation: To qualify a price trend, the script requires that the slope of two separate price sources (by default, high and low) are both in agreement. For a bearish divergence, the slopes of both the session high and low must be accelerating upwards aggressively. This ensures the entire price bar is participating in the move and avoids false signals from wicks or narrow ranges.
Multi-Timeframe Percent Rank: The script uses percentrank to normalize the calculated slopes, putting them on a scale of 0 to 100. This allows it to identify statistically extreme readings. A divergence is only confirmed if it meets the criteria on both a Long-Term (LL) and Short-Term (LS) lookback. This ensures the signal is not just a momentary fluke but is a valid point of exhaustion in both the immediate and broader context.
4. How to Interpret the Signals
The indicator plots simple labels on the chart when all conditions are met:
Green "Bull" Label (Bullish Divergence): Appears when:
The slopes of both high and low are accelerating downwards (in the bottom 8% of their historical readings for both long and short lookbacks).
Simultaneously, the slope of the wavelet oscillator is accelerating upwards (in the top 92% of its historical readings).
Meaning: Price is in a state of free-fall, but the underlying momentum is aggressively turning up. This signals that selling pressure is likely exhausted.
Red "Bear" Label (Bearish Divergence): Appears when:
The slopes of both high and low are accelerating upwards (in the top 92% of their historical readings).
Simultaneously, the slope of the wavelet oscillator is accelerating downwards (in the bottom 8% of its historical readings).
Meaning: Price is in a state of extreme ascent (a "blow-off top"), but the underlying momentum is collapsing. This signals that buying pressure is likely exhausted.
5. How to Use in Trading
Reversal Signals: The labels should be treated as high-probability signals that a trend is exhausted and a reversal or significant pullback is imminent.
Confirmation Tool: Do not use the labels as standalone entry signals. Always seek confirmation from other forms of analysis, such as a break of a trendline, a key support/resistance level holding, or a classic candlestick reversal pattern.
Exit Signals: A bearish divergence label can serve as a powerful signal to take profit on long positions, and a bullish label can be a signal to cover shorts.
aiTrendview-OPTION-KING + OI Summary Pro📊 aiTrendview OPTION TRADING SYSTEM - Complete Analysis Guide
🎯 System Overview
The aiTrendview Option Trading System is a comprehensive, institutional-grade trading dashboard that combines Supertrend signals, volume analysis, options flow data, and risk management into a unified trading interface. It's designed to provide traders with complete market intelligence for making high-probability, risk-managed trades.
________________________________________
🎛️ INPUT PARAMETERS & CONFIGURATION
Supertrend Settings
• ATR Period (6): Shorter period = more sensitive signals
• ATR Multiplier (10.0): Higher value = fewer but stronger signals
• Purpose: Filters market noise and identifies trend changes
• Trading Benefit: Reduces false signals while capturing major moves
Risk Management Parameters
• Stoploss % (20%): Maximum risk per trade
• Target 1 % (10%): First profit target - quick scalp
• Target 2 % (20%): Second target - trend continuation
• Target 3 % (30%): Final target - maximum profit potential
• Risk-Reward Calculation: Automatic 1:1.5 minimum ratio
Table Customization
• Position: 6 locations (Top/Bottom + Left/Center/Right)
• Size: Small/Normal/Large for different screen setups
• Show/Hide: Toggle table visibility
• Purpose: Optimal screen real estate usage without blocking price action
Options Flow Simulation
• OI Current Hour (500): Simulated current hour Open Interest
• OI Previous Hour (480): Previous hour OI for trend analysis
• ATM Offset (50): Strike price rounding (50-point intervals)
• Purpose: Tracks institutional money flow and positioning
________________________________________
📊 COMPREHENSIVE DASHBOARD SECTIONS
Section 1: TRADING SIGNALS
This is the core decision-making section providing complete trade setup information.
Signal Generation
• Buy Signal: Price crosses above Supertrend + volume confirmation
• Sell Signal: Price crosses below Supertrend + volume confirmation
• Wait Signal: No clear trend direction or conflicting signals
• Color Coding: Green (Buy), Red (Sell), Gray (Wait)
Complete Trade Setup
• Entry Price: Exact entry level based on signal
• Stoploss: Pre-calculated risk management level
• Target 1 (10%): Quick profit booking level
• Target 2 (20%): Trend continuation target
• Target 3 (30%): Maximum profit potential
• R:R Ratio: Risk-to-reward calculation (minimum 1:1.5)
Momentum Confirmation
• Accumulate: RSI < 30 (oversold, buying opportunity)
• Distribution: RSI > 70 (overbought, selling pressure)
• Neutral: RSI 30-70 (balanced conditions)
________________________________________
Section 2: VOLUME ANALYSIS
Critical for confirming signal strength and institutional participation.
Volume Metrics
• Current Volume: Real-time trading activity
• Volume MA (20-period): Average volume baseline
• Volume Ratio: Current vs. average (1.5x+ = high activity)
• Volume Progress: Daily volume completion percentage
• Color Coding: Blue (high), Gray (normal), Red (low)
Volume Interpretation
• > 2.0x Ratio: Institutional participation, strong signals
• 1.5-2.0x Ratio: Above average activity, good confirmation
• 1.0-1.5x Ratio: Normal activity, standard signals
• < 1.0x Ratio: Low participation, weak signals
Live Profit Tracking
• Real-time P&L: Current position profit/loss
• Color Coding: Green (profit), Red (loss), Black (breakeven)
• Percentage Display: Easy risk assessment
________________________________________
Section 3: OPTIONS & MARKET DATA
Advanced options flow analysis for institutional insight.
ATM Strike Analysis
• ATM Strike: At-the-money option strike (rounded to nearest 50)
• Purpose: Primary battleground for bulls vs. bears
• Significance: Highest gamma and most liquid options
Put/Call Volume Analysis
• Put Volume: Bearish positioning volume
• Call Volume: Bullish positioning volume
• Color Coding: Red (puts), Green (calls)
• Interpretation: Directional bias of smart money
PCR (Put Call Ratio)
• Calculation: Put Volume ÷ Call Volume
• Bullish: PCR < 0.8 (more calls than puts)
• Bearish: PCR > 1.2 (more puts than calls)
• Neutral: PCR 0.8-1.2 (balanced positioning)
• Contrarian Indicator: Extreme readings often reverse
OI Trend Analysis (Advanced Smart Money Tracking)
The system analyzes Open Interest changes vs. price movement:
• Long Buildup: ↑OI + ↑Price (Bulls adding positions)
• Short Buildup: ↑OI + ↓Price (Bears adding positions)
• Long Unwinding: ↓OI + ↓Price (Bulls exiting)
• Short Covering: ↓OI + ↑Price (Bears covering)
• Long Accumulation: ↑OI + Flat Price (Institutional accumulation)
• Bearish Weakness: ↓OI + Flat Price (Losing interest)
________________________________________
Section 4: MARKET CONTEXT
Additional confirmation indicators for complete market picture.
PDC (Previous Day Close) Analysis
• Bullish: Current price > Previous day high
• Bearish: Current price < Previous day low
• Neutral: Price within previous day range
• Significance: Breakout/breakdown confirmation
LTP (Last Traded Price)
• Real-time Price: Current market price
• Reference Point: For all calculations and targets
________________________________________
🎯 ACHIEVING RISK-OPTIMIZED TRADING
High Probability Setup Identification
Perfect Buy Setup (90%+ Success Rate)
1. Signal: Buy signal generated
2. Volume: Ratio > 1.5x (institutional participation)
3. Momentum: RSI in accumulation zone (< 40)
4. Options Flow: PCR < 0.8 (bullish positioning)
5. OI Trend: Long Buildup or Short Covering
6. PDC: Price > Previous day high
7. R:R Ratio: Minimum 1:2
Perfect Sell Setup (90%+ Success Rate)
1. Signal: Sell signal generated
2. Volume: Ratio > 1.5x (institutional participation)
3. Momentum: RSI in distribution zone (> 60)
4. Options Flow: PCR > 1.2 (bearish positioning)
5. OI Trend: Short Buildup or Long Unwinding
6. PDC: Price < Previous day low
7. R:R Ratio: Minimum 1:2
Risk Management Protocol
Position Sizing
• High Confidence (6+ confirmations): 2% risk per trade
• Medium Confidence (4-5 confirmations): 1% risk per trade
• Low Confidence (< 4 confirmations): Avoid or 0.5% risk
Entry Rules
• Never enter without Supertrend signal
• Wait for volume confirmation (>1.2x ratio)
• Check options flow alignment
• Ensure R:R ratio > 1:1.5
Exit Strategy
• Target 1 (10%): Book 1/3 position (covers commissions)
• Target 2 (20%): Book 1/3 position (secures profit)
• Target 3 (30%): Let remainder run with trailing stop
• Stoploss: Hard stop at 20% loss (non-negotiable)
________________________________________
📊 ADVANCED INTERPRETATION GUIDE
Volume Analysis Mastery
• Volume Spike + Buy Signal: High probability long setup
• Volume Decline + Sell Signal: Trend exhaustion, reversal likely
• High Volume + Neutral Signal: Wait for direction
• Low Volume + Any Signal: Weak setup, reduce size
Options Flow Intelligence
• PCR Divergence: When PCR contradicts price action (reversal setup)
• OI Buildup Confirmation: Aligns with Supertrend direction
• ATM Strike Defense: Price holding above/below ATM = strong level
Multi-Timeframe Confirmation
• 15-min Supertrend: Entry timing
• 1-hour Volume: Trend strength
• Daily PDC: Breakout confirmation
• Options Flow: Institutional positioning
________________________________________
🛡️ RISK-FREE TRADING METHODOLOGY
The 6-Point Confirmation System
Only trade when ALL 6 conditions align:
1. ✅ Supertrend Signal: Clear buy/sell signal
2. ✅ Volume Confirmation: Ratio > 1.5x
3. ✅ Momentum Alignment: RSI in favorable zone
4. ✅ Options Flow: PCR supporting direction
5. ✅ OI Trend: Institutional money aligned
6. ✅ Risk-Reward: Minimum 1:2 ratio
Position Management Rules
• Scale Out: Take profits at predetermined levels
• Trail Stops: Move stops to breakeven after Target 1
• Risk Limits: Never risk more than 2% per trade
• Daily Limits: Stop trading after 3 consecutive losses
Market Condition Adaptation
• Trending Markets: Use all 3 targets, trail stops
• Range Markets: Take profits at Target 1-2
• High Volatility: Reduce position size by 50%
• Low Volatility: Increase position size (within limits)
________________________________________
📈 PERFORMANCE OPTIMIZATION
Win Rate Enhancement
• Wait for 5+ confirmations: 80%+ win rate
• Use volume confirmation: Eliminates 60% of false signals
• Respect OI trends: Institutional money rarely wrong
• Follow options flow: Smart money positioning
Risk Reduction Techniques
• Pre-defined stops: No emotional decisions
• Position sizing: Mathematical risk management
• Market context: Don't fight the trend
• Time-based exits: Close before major events
Profit Maximization
• Scale out gradually: Capture trend moves
• Trail stops effectively: Let winners run
• Re-enter on pullbacks: Multiple entries in trends
• Compound gains: Reinvest profits systematically
________________________________________
🎯 ALERT SYSTEM INTEGRATION
Automated Alerts
• Buy/Sell Signals: Instant notification of Supertrend crosses
• Volume Spikes: When ratio exceeds 2x
• Profit Targets: 5% and 10% profit notifications
• Risk Management: Stop loss approach warnings
Mobile Integration
• Push Notifications: Never miss a setup
• Email Alerts: Backup notification system
• SMS Options: Critical signal delivery
• Discord/Telegram: Community sharing
________________________________________
💡 PROFESSIONAL TRADING INSIGHTS
Market Maker Psychology
• OI Buildup: Shows where institutions are positioned
• Volume Spikes: Institutional order flow
• PCR Extremes: Contrarian opportunities
• ATM Defense: Key support/resistance levels
Timing Optimization
• Best Setup Times: 10:00-11:30 AM and 2:30-3:15 PM
• Avoid: First 15 minutes and last 15 minutes
• Event Risk: Close positions before major announcements
• Weekend Risk: Avoid Friday afternoon entries
Advanced Strategies
• Fade False Breakouts: When volume doesn't confirm
• Ride Institutional Waves: Follow OI trends
• Contrarian Plays: Extreme PCR readings
• Momentum Continuation: Strong volume + trend alignment
________________________________________
The aiTrendview Option Trading System transforms complex market analysis into actionable trading decisions through systematic risk management, institutional flow analysis, and high-probability signal generation. By following the 6-point confirmation system and strict risk management rules, traders can achieve consistent profitability while minimizing drawdowns.
Multi-Timeframe Resonance v2.0📌 Multi-Timeframe Resonance System — Identify trend, range, and turning points at a glance
✨ Core Advantages:
🔹 Multi-timeframe resonance analysis: Detects trend direction and range across timeframes. Helps identify M tops, W bottoms, consolidation turning points, and trend switches.
🔹 Clear phase visualization: Highlights trend momentum (green) and consolidation zones (red).
🔹 Universally compatible: Works on stocks/ETFs, futures/commodities, forex, gold, crypto — parameter tuning is the only requirement.
🎯 Target Users:
✅ Traders needing fast structure analysis
✅ Trend-followers, swing traders, or range-arbitrageurs
✅ Multi-timeframe analysts & volume researchers
✅ Quant teams seeking stable signal output
📈 Market Structure Evolution Sequence:
**Same-Bear → Small Box Bull → Medium Box Bull → Large Box Bull → Same-Bull → Small Box Bear → Medium Box Bear → Large Box Bear → Same-Bear**
- “Same-Bear”/“Same-Bull”: full agreement among timeframes,strongest trend stages.
- “Small/Medium/Large Box”: represent increasing-level consolidations indicating trend emergence or turn.
🔍 By identifying the current structure phase, traders can determine if:
- The market is in the **early trend stage** (Same-Bull/Same-Bear)
- Or in a **trend shift period** (Bear→Bull or Bull→Bear)
- Or still **oscillating** (structures switching)
⚠️ **Practical Note:**
Although structure usually follows the sequence above, in strong or volatile moves it may:
- **Skip steps** (e.g., Same-Bear → Large Box Bull)
- **Switch rapidly** within a few candles
Traders should use volume, candle patterns, and higher-timeframe trends to confirm valid structure changes or avoid false breakouts.
📌 Execution Logic:
This indicator applies **multi-timeframe resonance** to capture **trend pullbacks**:
- Identifies trend direction via higher timeframes
- Uses pullback in shorter timeframe to signal entry
- Executes trend-following trades at pullback points
- Protects with structured stop-loss based on higher timeframe structure
🔒 This is a protected script. For access details, please see the Author’s Instructions.
📌 多周期共振识别系统 — 趋势、震荡与拐点,一目了然
✨ 核心优势:
🔹 多周期共振分析:同时检测多个周期的趋势方向与震荡结构,辅助识别 M 顶 / W 底 / 震荡拐点 / 趋势转换等关键信号。
🔹 趋势与震荡清晰可视:自动高亮趋势推进(绿色)与震荡盘整(红色)区域,一眼看清市场节奏。
🔹 全品种通用:适配股票 / ETF、期货 / 商品、外汇 / 黄金、加密货币等市场,仅需轻微参数微调。
🎯 适用人群:
✅ 需要快速识别图表结构的交易者
✅ 趋势跟随者、波段捕捉者、震荡套利者
✅ 热衷于多周期分析与量能行为研究的交易者
✅ 追求稳定信号输出的量化策略团队
📈 市场结构演变路径:
同空 → 小箱多 → 中箱多 → 大箱多 → 同多 → 小箱空 → 中箱空 → 大箱空 → 同空
“同空” / “同多”:表示多周期趋势完全一致,代表趋势最强阶段
“小箱 / 中箱 / 大箱”:代表不同级别的震荡结构,结构逐步递进,表示趋势正在酝酿或转向
🔍 通过识别当前所处的结构阶段,交易者可以判断:
当前是否处于趋势初期阶段(如同空 / 同多)
是否处于趋势转换区间(如由空转多或由多转空)
或仍处于震荡反复区间(结构频繁切换)
⚠️ 实战提醒:
虽然市场结构通常遵循上述顺序演化,但在强趋势或剧烈波动行情下,可能出现以下情况:
跳跃演化(如从“同空”直接进入“大箱多”阶段)
快速切换(几根K线内连续跳过多个结构)
因此,交易者应结合量能、K线形态及更高周期趋势,判断结构变化是否“有效”或为“假突破”。
📌 执行逻辑:
本指标通过多周期趋势共振确认,捕捉趋势中的回踩机会:
利用高阶周期判断趋势方向
在低阶周期的回踩位置作为进场信号
顺势交易,捕捉主趋势中的低吸 / 高抛机会
止损位置依据上位周期结构确认,明确清晰
🔒 本脚本为受控授权版本,如需获取使用权限,请参阅“作者说明”。
Multi ZigZag DR Advanced Elliott Wave - DR BASL📊 Multi ZigZag DR – Advanced Elliott Wave Detection by DR BASL 🧠
"ZigZag DR BASL - Elliott Wave" is a high-performance indicator designed to automatically detect Elliott Impulse Waves (0 → 1 → 2) using a multi-ZigZag approach with advanced ATR filtering.
🔍 Core Features:
✅ Detects impulse waves across 4 custom ZigZag lengths.
✅ Draws Entry, Stop Loss, and Take Profit (TP1–TP4) levels.
✅ Filters out market noise using ATR-based movement threshold.
✅ Fully customizable: colors, styles, wave structure, and display settings.
✅ Visual trend coloring (Bullish / Bearish) for directional clarity.
✅ Built-in alerts to notify when a new valid impulse wave is formed.
✅ Optional Pivot Statistics Table for wave validation and analysis.
🧠 Ideal For:
Elliott Wave traders looking for precise and automated detection.
Swing and structure-based traders using wave confluence.
Traders who prefer multi-layered ZigZag logic for confidence.
Users seeking visual clarity for entries, targets, and market context.
💡 Developed By:
📌 DR BASL – Designed with precision and flexibility in mind, coded in Pine Script v5, with modular logic and optimization for large-scale structures.
aiTrendview.com Option Calculator📊 aiTrendview Option Calculator - Complete Feature Guide
🎯 Overview
The aiTrendview Option Calculator is a comprehensive, professional-grade options trading dashboard that integrates live market data with advanced Black-Scholes pricing models and intelligent strategy recommendations. It transforms complex options analysis into an intuitive, visual interface for both novice and professional traders.
________________________________________
🎛️ Dashboard Settings & Customization
________________________________________
📋 Option Inputs - The Foundation
Strike Price (105 in example)
• Function: The contract's exercise price
• Analysis Impact: Determines moneyness (ITM/OTM status)
• Risk Assessment: Affects delta, probability of profit, and breakeven calculations
• Strategy Selection: Critical for spread strategies and risk/reward optimization
Days to Expiry (30 in example)
• Function: Time until option expiration
• Analysis Impact: Drives time decay (theta) calculations
• Risk Assessment: More days = higher time value but slower decay
• Strategy Selection: Short-term strategies favor <30 days, long-term >45 days
Risk Free Rate (5% in example)
• Function: Current treasury rate for theoretical pricing
• Analysis Impact: Affects all Greeks calculations and fair value pricing
• Risk Assessment: Higher rates increase call values, decrease put values
• Strategy Selection: Impacts carry strategies and early exercise decisions
Implied Volatility (25% in example)
• Function: Market's expectation of future price movement
• Analysis Impact: Primary driver of option premium
• Risk Assessment: High IV = expensive options, low IV = cheap options
• Strategy Selection: Determines whether to buy or sell premium
Option Type (Call/Put)
• Function: Directional bias selection
• Analysis Impact: Reverses delta sign and profit zones
• Risk Assessment: Calls profit from upward moves, puts from downward moves
• Strategy Selection: Foundation for all directional and neutral strategies
________________________________________
📊 Live Market Data Integration
Real-Time Price Feed
• Current Underlying Price: Live market price with percentage change
• Volume Analysis: Current volume vs. 20-day average (shows as multiplier like "1.5x")
• Price Momentum: Tracks intraday price movements
• Volatility Assessment: Uses VIX data or ATR-based calculations
________________________________________
🔢 The Greeks - Risk Metrics
Delta (Price Sensitivity)
• Range: -1.00 to +1.00
• Call Delta: 0 to +1 (positive exposure)
• Put Delta: -1 to 0 (negative exposure)
• Trading Use: Hedge ratio, directional exposure measurement
• Progress Bar: Visual representation of sensitivity strength
Gamma (Delta Acceleration)
• Function: Rate of delta change
• Peak: Highest at-the-money
• Trading Use: Risk management for large moves
• Display: Multiplied by 1000 for readability
Theta (Time Decay)
• Function: Daily premium erosion
• Always Negative: For long positions
• Trading Use: Time-based strategy selection
• Critical: Accelerates in final 30 days
Vega (Volatility Sensitivity)
• Function: Premium change per 1% IV change
• Trading Use: Volatility play strategies
• Risk Management: IV crush protection
• Strategy Selection: Buy low IV, sell high IV
Rho (Interest Rate Sensitivity)
• Function: Premium change per 1% rate change
• Less Critical: For short-term options
• Important: For LEAPS and rate-sensitive underlyings
________________________________________
📈 Market Analysis Section
Sentiment Analysis
• Bullish: PCR < 0.8 (more calls than puts)
• Bearish: PCR > 1.2 (more puts than calls)
• Neutral: PCR 0.8-1.2 (balanced activity)
• Calculation: Based on volume ratio and RSI momentum
Volume Analysis
• Current vs. Average: Spots unusual activity
• Ratio Display: Shows volume multiplier (e.g., "2.3x normal")
• Trading Signal: High volume confirms moves, low volume suggests consolidation
Risk Level Assessment
• Low: IV < 25% (cheap options)
• Medium: IV 25-40% (fairly valued)
• High: IV > 40% (expensive options)
• Color Coded: Green/Yellow/Red for quick identification
________________________________________
⚡ Strategy Recommendation Engine
Intelligent Analysis
The calculator analyzes 6 core strategies based on current market conditions:
1. Long Call: Best for bullish sentiment + low IV
2. Short Put: Best for bullish sentiment + high IV
3. Long Put: Best for bearish sentiment + low IV
4. Bull Call Spread: Best for moderate bullish moves
5. Long Straddle: Best for high volatility expected + low IV
6. Iron Butterfly: Best for neutral sentiment + high IV + low expected move
Scoring System
• Confidence Score: 0-100% based on market conditions
• Color Coding: Green (80%+), Yellow (60-80%), Red (<60%)
• Dynamic Updates: Recalculates with every price change
________________________________________
📊 Progress Bar Visualizations
Delta Strength: Visual representation of directional exposure
Time Decay: Days remaining until expiration
IV Level: Current implied volatility relative to extremes
Volume Activity: Current volume vs. historical average
Profit Probability: Calculated odds of profitable outcome
________________________________________
🎯 How to Achieve Risk-Optimized Trading
Step 1: Market Analysis
1. Check Sentiment: Is market bullish, bearish, or neutral?
2. Assess IV Level: Are options cheap, fair, or expensive?
3. Volume Confirmation: Is there institutional interest?
4. Time Frame: How many days until expiration?
Step 2: Strategy Selection
The calculator automatically recommends the highest probability strategy based on:
• Current market sentiment
• IV environment
• Expected move percentage
• Time to expiration
• Risk/reward optimization
Step 3: Risk Management Setup
For Long Strategies (Buying Options)
• Best When: IV rank is low (green), high probability score
• Risk Control: Maximum loss is premium paid
• Time Management: Avoid last 2 weeks before expiration
• Profit Taking: Close at 50% profit or 25% time decay
For Short Strategies (Selling Options)
• Best When: IV rank is high (red), neutral sentiment
• Risk Control: Use defined risk spreads
• Time Advantage: Target last 45 days
• Profit Taking: Close at 50% max profit
For Neutral Strategies
• Best When: Low expected move + high IV
• Risk Management: Iron butterflies and condors
• Time Decay: Benefits from theta decay
• Adjustment: Have roll/adjust plan ready
Step 4: Execution Guidelines
High Confidence Trades (80%+ Score)
• Position Size: Standard risk allocation
• Entry: Immediate execution
• Management: Hold to target or 21 DTE
Medium Confidence Trades (60-80% Score)
• Position Size: Reduced allocation
• Entry: Wait for better setup or confirmation
• Management: Tighter profit/loss targets
Low Confidence Trades (<60% Score)
• Action: Avoid or wait for better conditions
• Alternative: Consider opposite strategy
• Patience: Wait for higher probability setup
________________________________________
🔍 Real-Time Risk Monitoring
Live Greeks Tracking
• Delta Neutral: Maintain overall portfolio delta near zero
• Gamma Risk: Monitor acceleration risk on large moves
• Theta Decay: Track daily time value erosion
• Vega Exposure: Hedge volatility risk when needed
Probability Metrics
• Profit Probability: Statistical odds of profitable outcome
• Expected Move: Price range for 68% probability
• Breakeven Analysis: Exact price needed for profitability
• Time Value: Separation of intrinsic vs. extrinsic value
________________________________________
💡 Professional Trading Tips
Market Environment Adaptation
• Low IV Environment: Buy straddles, strangles, long options
• High IV Environment: Sell premium, iron condors, credit spreads
• Trending Markets: Directional strategies with trend
• Range-Bound Markets: Neutral strategies, short premium
Risk Management Rules
1. Never risk more than 2% of capital per trade
2. Close losing trades at 2x premium received (short) or 50% loss (long)
3. Take profits at 50% of maximum potential
4. Avoid earnings announcements unless specifically trading volatility
5. Have exit plan before entry
________________________________________
🎯 Achieving "Risk-Free" Trading
While no trading is truly risk-free, the calculator helps minimize risk through:
High Probability Setups
• Only trade strategies with 70%+ confidence scores
• Confirm with multiple indicators (sentiment, IV, volume)
• Use proper position sizing
Statistical Edge
• Mean reversion strategies in extreme IV environments
• Time decay advantages in short premium strategies
• Probability-based position sizing
Risk Mitigation
• Defined risk strategies only
• Proper diversification across time and strikes
• Systematic profit taking and loss cutting
• Continuous monitoring and adjustment
________________________________________
📊 Dashboard Interpretation Guide
Green Signals (Go)
• High strategy confidence score
• Favorable IV environment for strategy
• Strong volume confirmation
• Clear directional bias
Yellow Signals (Caution)
• Medium confidence scores
• Mixed market signals
• Average volume activity
• Reduce position size
Red Signals (Stop)
• Low confidence scores
• Unfavorable conditions
• Low volume/poor liquidity
• Wait for better setup
________________________________________
The aiTrendview Option Calculator transforms complex options analysis into actionable trading intelligence, helping traders make informed decisions based on mathematical models, live market data, and statistical probabilities rather than emotions or guesswork.
PosSys Reversal Points AdvisorOffering you the ability to quantify microstructure with no repaints, no lagging and no delay; Track and trade any and every reversal before it's obvious.
Use the PosSys™ Advisor to assist with entries, reentries, stoploss placement, confirmation, bias or confluence as needed, regardless of your trading style or execution method.
Access here⬇️
qssystems.tech
Want to backtest signals first? Use free version here ⬇️
Kripto Pro Alert BuySellThe Kripto Pro Alert BuySell is a multi-filtered, hybrid Buy/Sell signal indicator for crypto futures traders who demand no-nonsense signals and next-level visual analytics.
Features:
SSL Hybrid System with user-selectable signal mode: pure SSL, SSL+QQE+WAE, or SSL+SuperTrend
Advanced Trend Filtering: SuperTrend & HULL, ADX sideways filter, BB-squeeze filter
Integrated ATR Bands for dynamic volatility adaption
QQE Mod & Waddah Attar Explosion: Volatility and momentum confirmation
Dynamic Support/Resistance Detection (auto-drawn SR zones & pivots)
Comprehensive On-Chart Table: Real-time checklist of ALL filter & signal status for surgical decision making
One-click Alerts: Plug-and-play alert system for all major buy/sell and filter events
MTF EMA, MACD, PSAR, CCI, Stochastic, RSI: Layered confirmation, no more false hope!
Optimal Timeframe:
4H (240 min) delivers the highest-quality, noise-filtered signals for major altcoins and BTC/ETH.
Lower timeframes (1H) possible but increased whipsaws – use at your own risk!
Best Practices:
Always wait for candle CLOSE before acting on any signal (no FOMO entries).
Pair with strict risk management: Set SL below last swing or ATR, no “hopium” holding.
For automation: Use the integrated alertconditions for TradingView webhook/bot connections.
Sideways & Volatility Filter: Signals are automatically suppressed during BB Squeeze or low ADX (chop zone) to prevent overtrading.
Disclaimer:
This indicator is NOT financial advice. Test thoroughly with your risk parameters. No guarantee of future profits – only edge.
Developed by Kripto Pro – All Rights Reserved. For feedback, improvements or collabs: @KriptoPro0 on X (Twitter) | Telegram
PosSys Reversal Points (Delayed Version)**Disclaimer: There is a roughly 10-signal delay on all assets and timeframes; The delayed version is intended for historical testing only. **
Offering you the ability to quantify microstructure with no repaints, no lagging and no delay; Track and trade any and every reversal before it's obvious.
Use the PosSys™ Advisor to assist with entries, reentries, stoploss placement, confirmation, bias or confluence as needed, regardless of your trading style or execution method.
Access the paid version here ⬇️
qssystems.tech
Watch Demos here ⬇️
www.youtube.com
Multi-Timeframe Resonance v2.0📌 Multi-Timeframe Resonance System — Identify trend, range, and turning points at a glance
✨ Core Advantages:
🔹 Multi-timeframe resonance analysis: Detects trend direction and range across timeframes. Helps identify M tops, W bottoms, consolidation turning points, and trend switches.
🔹 Clear phase visualization: Highlights trend momentum (green) and consolidation zones (red).
🔹 Universally compatible: Works on stocks/ETFs, futures/commodities, forex, gold, crypto — parameter tuning is the only requirement.
🎯 Target Users:
✅ Traders needing fast structure analysis
✅ Trend-followers, swing traders, or range-arbitrageurs
✅ Multi-timeframe analysts & volume researchers
✅ Quant teams seeking stable signal output
📈 Market Structure Evolution Sequence:
**Same-Bear → Small Box Bull → Medium Box Bull → Large Box Bull → Same-Bull → Small Box Bear → Medium Box Bear → Large Box Bear → Same-Bear**
- “Same-Bear”/“Same-Bull”: full agreement among timeframes,strongest trend stages.
- “Small/Medium/Large Box”: represent increasing-level consolidations indicating trend emergence or turn.
🔍 By identifying the current structure phase, traders can determine if:
- The market is in the **early trend stage** (Same-Bull/Same-Bear)
- Or in a **trend shift period** (Bear→Bull or Bull→Bear)
- Or still **oscillating** (structures switching)
⚠️ **Practical Note:**
Although structure usually follows the sequence above, in strong or volatile moves it may:
- **Skip steps** (e.g., Same-Bear → Large Box Bull)
- **Switch rapidly** within a few candles
Traders should use volume, candle patterns, and higher-timeframe trends to confirm valid structure changes or avoid false breakouts.
📌 Execution Logic:
This indicator applies **multi-timeframe resonance** to capture **trend pullbacks**:
- Identifies trend direction via higher timeframes
- Uses pullback in shorter timeframe to signal entry
- Executes trend-following trades at pullback points
- Protects with structured stop-loss based on higher timeframe structure
🔒 This is a protected script. For access details, please see the Author’s Instructions.
📌 多周期共振识别系统 — 趋势、震荡与拐点,一目了然
✨ 核心优势:
🔹 多周期共振分析:同时检测多个周期的趋势方向与震荡结构,辅助识别 M 顶 / W 底 / 震荡拐点 / 趋势转换等关键信号。
🔹 趋势与震荡清晰可视:自动高亮趋势推进(绿色)与震荡盘整(红色)区域,一眼看清市场节奏。
🔹 全品种通用:适配股票 / ETF、期货 / 商品、外汇 / 黄金、加密货币等市场,仅需轻微参数微调。
🎯 适用人群:
✅ 需要快速识别图表结构的交易者
✅ 趋势跟随者、波段捕捉者、震荡套利者
✅ 热衷于多周期分析与量能行为研究的交易者
✅ 追求稳定信号输出的量化策略团队
📈 市场结构演变路径:
同空 → 小箱多 → 中箱多 → 大箱多 → 同多 → 小箱空 → 中箱空 → 大箱空 → 同空
“同空” / “同多”:表示多周期趋势完全一致,代表趋势最强阶段
“小箱 / 中箱 / 大箱”:代表不同级别的震荡结构,结构逐步递进,表示趋势正在酝酿或转向
🔍 通过识别当前所处的结构阶段,交易者可以判断:
当前是否处于趋势初期阶段(如同空 / 同多)
是否处于趋势转换区间(如由空转多或由多转空)
或仍处于震荡反复区间(结构频繁切换)
⚠️ 实战提醒:
虽然市场结构通常遵循上述顺序演化,但在强趋势或剧烈波动行情下,可能出现以下情况:
跳跃演化(如从“同空”直接进入“大箱多”阶段)
快速切换(几根K线内连续跳过多个结构)
因此,交易者应结合量能、K线形态及更高周期趋势,判断结构变化是否“有效”或为“假突破”。
📌 执行逻辑:
本指标通过多周期趋势共振确认,捕捉趋势中的回踩机会:
利用高阶周期判断趋势方向
在低阶周期的回踩位置作为进场信号
顺势交易,捕捉主趋势中的低吸 / 高抛机会
止损位置依据上位周期结构确认,明确清晰
🔒 本脚本为受控授权版本,如需获取使用权限,请参阅“作者说明”。
Universal Trend Predictor//@version=5
indicator("Universal Trend Predictor", overlay=true, max_labels_count=500)
// === INPUTS ===
len_trend = input.int(50, "Trend Length (regression)", minval=10, maxval=200)
len_mom = input.int(14, "Momentum Length", minval=5, maxval=50)
len_vol = input.int(20, "Volume SMA Length", minval=5, maxval=100)
correlation_weight = input.float(0.5, "Correlation Weight (0-1)", minval=0, maxval=1)
// === TREND LINE (Linear Regression) ===
reg = ta.linreg(close, len_trend, 0)
reg_slope = ta.linreg(close, len_trend, 0) - ta.linreg(close, len_trend, 1)
// === MOMENTUM ===
mom = ta.mom(close, len_mom)
// === VOLUME ===
vol_sma = ta.sma(volume, len_vol)
vol_factor = volume / vol_sma
// === CORRELATION ASSETS ===
spx = request.security("SPX", timeframe.period, close)
dxy = request.security("DXY", timeframe.period, close)
xau = request.security("XAUUSD", timeframe.period, close)
// === CORRELATION LOGIC ===
spx_mom = ta.mom(spx, len_mom)
dxy_mom = ta.mom(dxy, len_mom)
xau_mom = ta.mom(xau, len_mom)
// Корреляция: усиливаем сигнал, если BTC и SPX растут, ослабляем если DXY растет
correlation_score = 0.0
correlation_score := (mom > 0 and spx_mom > 0 ? 1 : 0) - (mom > 0 and dxy_mom > 0 ? 1 : 0) + (mom > 0 and xau_mom > 0 ? 0.5 : 0)
correlation_score := correlation_score * correlation_weight
// === SIGNAL LOGIC ===
trend_up = reg_slope > 0
trend_down = reg_slope < 0
strong_mom = math.abs(mom) > ta.stdev(close, len_mom) * 0.5
high_vol = vol_factor > 1
buy_signal = trend_up and mom > 0 and strong_mom and high_vol and correlation_score >= 0
sell_signal = trend_down and mom < 0 and strong_mom and high_vol and correlation_score <= 0
// === ПАРАМЕТРЫ ДЛЯ ПРОГНОЗА ===
months_forward = 3
bars_per_month = timeframe.isintraday ? math.round(30 * 24 * 60 / timeframe.multiplier) :
timeframe.isdaily ? 30 :
timeframe.isweekly ? 4 :
30
bars_forward = math.min(months_forward * bars_per_month, 500) // TradingView лимит
// === ОГРАНИЧЕНИЕ ЧАСТОТЫ СИГНАЛОВ ===
var float last_buy_bar = na
var float last_sell_bar = na
can_buy = na(last_buy_bar) or (bar_index - last_buy_bar >= 15)
can_sell = na(last_sell_bar) or (bar_index - last_sell_bar >= 15)
buy_signal_final = buy_signal and can_buy
sell_signal_final = sell_signal and can_sell
if buy_signal_final
last_buy_bar := bar_index
if sell_signal_final
last_sell_bar := bar_index
// === ВЫДЕЛЕНИЕ СИЛЬНЫХ СИГНАЛОВ ===
strong_signal = strong_mom and math.abs(reg_slope) > ta.stdev(close, len_trend) * 0.5
// === VISUALIZATION ===
// Trend line (основная)
plot(reg, color=trend_up ? color.green : color.red, linewidth=2, title="Trend Line")
// Прогноз трендовой линии вперёд
reg_future = reg + reg_slope * bars_forward
line.new(x1=bar_index, y1=reg, x2=bar_index + bars_forward, y2=reg_future, color=color.new(color.blue, 0), width=2, extend=extend.none)
// Buy/Sell labels
plotshape(buy_signal_final and not strong_signal, style=shape.labelup, location=location.belowbar, color=color.new(color.green, 0), size=size.small, text="BUY", title="Buy Signal")
plotshape(buy_signal_final and strong_signal, style=shape.labelup, location=location.belowbar, color=color.new(color.lime, 0), size=size.large, text="BUY", title="Strong Buy Signal")
plotshape(sell_signal_final and not strong_signal, style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 0), size=size.small, text="SELL", title="Sell Signal")
plotshape(sell_signal_final and strong_signal, style=shape.labeldown, location=location.abovebar, color=color.new(color.fuchsia, 0), size=size.large, text="SELL", title="Strong Sell Signal")
// Trend direction forecast (arrow)
plotarrow(trend_up ? 1 : trend_down ? -1 : na, colorup=color.green, colordown=color.red, offset=0, title="Trend Forecast Arrow")
// === ALERTS ===
alertcondition(buy_signal, title="Buy Alert", message="Universal Trend Predictor: BUY signal!")
alertcondition(sell_signal, title="Sell Alert", message="Universal Trend Predictor: SELL signal!")
// === END ===
NQ31NQ market open 2m range breakout strategy
Retest entry
Entry at Range high or low
SL size equal to Range size
TP 2x range size TP1 and BE
TP2 3x range size
TP3 4x range size
NY time 9:30 1m timeframe
NSE: N50, BN, MIDCP, FINNIFTY Gainers/Losers Jitendra
Title: NSE: N50, BN, MIDCP, FINNIFTY Gainers/Losers + Compact View by Jitendra
Purpose
Script Designed to Check Advance Decline Stocks of that Indices
It is Divided in to Two Part
1st part - Full Gainers/Losers Table:
Lists stock names and their daily percentage change.
2nd part - Compact Count Table:
Shows the number of gaining and losing stocks.
How To Use This Script
To Analysis NSE Indices :- Stocks Component You Can Easily Plot On chart or in 1 click Dropdown setting You can change Indices
Settings Detail
drive.google.com
Symbol Lists Defined:
The script uses array.from() to define these symbol groups:
highWeightList: Top 39 Nifty stocks by weightage.
lowWeightList: Remaining 11 Nifty stocks.
bankNiftyList: 12 Bank Nifty stocks.
finServList: 20 Financial Services index stocks.
midcapList: 25 selected Midcap stocks.
All Stock Used in Script is As per Latest Data Published by NSE, you can also check buy clicking below link
www.niftyindices.com
📤 Data Fetch Logic:
For each symbol in the selected list:
= request.security(sym, 'D', [close, close ])
This fetches today's close (c) and previous close (y) using request.security().
Percentage change:
chg = na(y) ? na : (c - y) / y * 100
Display Logic:
🧾 Full Table:
Shows columns: Script Name and % Change.
Lists each symbol with its daily % change.
Row text color changes based on whether % change is positive, negative, or neutral.
📌 Compact Count Table:
Displays total number of gainers and losers in the list.
Each count shown with respective color-coded background.
📎 Data Fetch Command Summary:
= request.security(sym, 'D', [close, close ])
Additional Settings
You can choose from 9 positions for each table:
Table Location Option Available
Text Size Option Available
f_getPos(posStr) =>
posStr == "Top Left" ? position.top_left :
posStr == "Top Center" ? position.top_center :
posStr == "Top Right" ? position.top_right :
posStr == "Middle Left" ? position.middle_left :
posStr == "Middle Center" ? position.middle_center :
posStr == "Middle Right" ? position.middle_right :
posStr == "Bottom Left" ? position.bottom_left :
posStr == "Bottom Center" ? position.bottom_center :
posStr == "Bottom Right" ? position.bottom_right :
position.top_right // default fallback
Thanks
money printerDescription: Combined Random & Regression Cross Signal Generator with Advanced Filtering and Management Table
This advanced indicator generates high-quality buy and sell signals based on two mathematically robust, logic-driven methods—Randomized Direction (with optional regression correction) and Regression Line Cross Confirmation—each filtered for true market activity and disciplined trade execution.
Signal Generation Logic
Random Signal Source
Generates a buy or sell signal at a user-defined interval (every N bars), using a robust pseudo-random number generator.
Optionally applies regression correction: If enabled, the signal is overridden to match the direction of the linear regression trend, adding a dynamic “smart filter” to the randomness.
Signals are color-coded:
Green/Red: Pure random
Blue/Orange: Corrected by regression
Regression Cross Confirmation Source
Detects genuine trend shifts by waiting for a candle to cross the linear regression line (from below to above or above to below), then requires two consecutive strong candles (bullish or bearish) to confirm the breakout.
Plots a buy (fuchsia) or sell (purple) only after strict double confirmation, filtering out “fake” breaks and weak trend changes.
Unified No-Repeat Logic
Ensures discipline:
Never plots consecutive buy or consecutive sell signals, regardless of which method generated the last trade.
The script tracks the last signal direction and blocks same-type repeats, reducing overtrading in choppy conditions.
Market Activity & Quality Filters
ATR Filter:
Ensures that signals are only taken in periods of sufficient volatility.
Blocks signals if current volatility (ATR) is too low compared to recent averages.
Body Size Filter:
Blocks trades on “weak” or indecisive bars (small candle bodies).
Ensures only strong, high-momentum candles can trigger signals.
Trade Management Table
A dynamic table (bottom-right of your chart) displays the current SL (Stop Loss) and three TP (Take Profit) levels for both long and short trades.
Calculations use user-defined multipliers applied to the current ATR value for maximum adaptability across timeframes and assets.
Alert System
Unified alerts:
One for all buy signals (of any type), one for all sell signals.
Each alert message includes the symbol and the chart’s timeframe for easy cross-market monitoring.
Works perfectly with TradingView’s webhook and notification system.
Visual Scheme
Random Buy: Green
Random Buy (Corrected): Blue
Regression Cross Buy: Fuchsia
Random Sell: Red
Random Sell (Corrected): Orange
Regression Cross Sell: Purple
Customization & Controls
All key logic and filters are fully adjustable:
Signal interval, regression length, ATR/body filter thresholds, correction toggle, and TP/SL multipliers.
Linear regression line can be shown/hidden for visual clarity.
Best For
Spot gold (XAUUSD) and other assets where classic volume is unavailable or unreliable.
Traders who want to combine mathematical randomness, robust trend confirmation, and strict quality controls—plus clear risk/reward management.
How to Use
Adjust filter and trade settings for your symbol and timeframe.
Watch for colored signals and check the TP/SL table for management.
Set up two alerts (buy/sell) for instant notifications with timeframe.
This script is a powerful, flexible, and disciplined trading tool—perfect for active traders who want both mathematical edge and chart-based confirmation!
[MAD] FVG with LTF-POC/TPOOverview
The Fair Value Gap (FVG) Detector is a precision tool designed to automatically identify, draw, and track market inefficiencies. These gaps, also known as imbalances, often act as powerful magnets for future price action.
This indicator handles the entire lifecycle of an FVG: from its creation and extension, to the moment it is first touched, and through its entire mitigation process. To add an even deeper layer of analysis, it can now optionally plot two types of micro-analysis lines for the middle candle of the FVG pattern: a volume-based Point of Control (LTF-POC) and a time-based Time Price Opportunity (LTF-TPO). These high-precision lines pinpoint the most significant price levels within the imbalance itself.
By providing a clean and objective visualization of these critical price zones, the FVG Detector gives traders a clear framework for spotting high-probability setups and understanding how the market returns to areas of inefficiency to become balanced once again.
█ How It Works
The indicator’s logic is built on precise detection, dynamic visualization, and intelligent state tracking to provide a comprehensive view of market imbalances.
⚪ The FVG Detection Engine
At its core, the indicator uses a classic three-candle pattern to identify FVGs. This mechanical definition removes all subjectivity:
Bullish FVG: A gap is identified when the high of the first candle is lower than the low of the third candle. The space between these two prices creates the bullish FVG.
Bearish FVG: A gap is identified when the low of the first candle is higher than the high of the third candle. The space between these two prices creates the bearish FVG.
⚪ Dynamic Drawing and Mitigation
Once an FVG is detected, the indicator automatically draws a colored box to represent the gap. This box is then managed through its entire lifecycle:
Extension: If enabled, the FVG box extends forward in time with each new candle, acting as a visible, forward-looking zone of interest.
Partial Mitigation Trigger: The moment price first "touches" the gap, the box changes color to signal that it is no longer a fresh, unmitigated zone. The statistics table counts this as a "Partially Mitigated" event.
Shrinking FVG: As price moves further into the gap, the colored box dynamically shrinks, providing a real-time visual of how much of the imbalance has been filled.
Historical Outline: An optional secondary outline box is drawn to preserve the FVG's original size. This outline stops extending when the FVG is first touched, leaving a permanent historical marker.
⚪ Optional LTF Analysis for Added Precision
The indicator can look "inside" the FVG's middle candle to find its most significant price levels.
LTF-POC (Volume-Based): Using data from a lower timeframe, it analyzes the volume profile of the FVG-creating candle to find the single price level from the lower-timeframe bar with the highest trading volume.
LTF-TPO (Time-Based): It also identifies the Time Price Opportunity by dividing the candle's price range into distinct "bins." The script counts how many lower-timeframe price ticks occurred in each bin, and the TPO line is drawn at the center of the busiest bin.
Visual Confluence: These are drawn as distinct horizontal lines (defaulting to orange for POC and yellow for TPO) that extend and are managed alongside the FVG's historical outline, serving as precise levels of interest within the broader FVG zone.
█ Why This Indicator is Different
While many traders can spot FVGs manually, this indicator offers a significant edge through the possibility of the lowertimeframe analysis and showing the syntetic TPO or POCs for the relevant candles.
⚪ Automated and Objective
The market moves fast, and manually drawing FVGs is impractical and prone to error. This tool automates the entire process.
Never Miss a Gap: The detector impartially scans every three-candle sequence, ensuring no FVG is missed.
No Subjectivity: The rules for detection, mitigation, and LTF analysis are based on fixed mathematical models, removing subjective judgment.
Multi-Timeframe Clarity: The indicator works flawlessly on any timeframe, allowing you to maintain a consistent view of market structure.
⚪ Visualizing Market Memory
This tool does more than just draw boxes; it tells a story. Watching a box change color and shrink provides a visual of market dynamics in action. The optional historical outlines and LTF analysis lines build a "map" on your chart, showing where significant reactions and high-liquidity zones occurred in the past, which provides invaluable context for future price movements.
█ How to Use
⚪ Identifying High-Probability Zones
The primary use of the FVG Detector is to identify high-probability zones where price may react.
Entries: Unmitigated (fresh) FVGs can serve as powerful entry zones. Traders may look for price to return to a bullish FVG to take a long position, or to a bearish FVG to take a short position.
Targets: An FVG in your path can also act as a logical profit target. For example, if you are in a long position, you might take profit as price fills a nearby bearish FVG above you.
⚪ Confluence and Confirmation
FVGs are most powerful when they align with other forms of technical analysis. Look for FVGs that have "confluence" with:
Market Structure: A bullish FVG found at a key support level or after a bullish break of structure is a higher-probability setup.
Order Blocks: An FVG that overlaps with a bullish or bearish order block creates a very potent point of interest.
Premium/Discount Zones: FVGs found deep in a premium (for shorts) or discount (for longs) area of a trading range often yield strong reactions.
The LTF Lines (POC & TPO): Use these lines as a source of internal confluence. While the FVG gives you a zone, the POC and TPO give you precise levels within that zone. The POC shows where the highest volume was traded, while the TPO shows where price spent the most time. Confluence between these two lines can signal an extremely strong level.
█ Settings
Max Number of FVGs to Display: Controls how many active FVGs are kept on the chart to prevent clutter and maintain performance.
Extend Unmitigated FVGs: When enabled, FVG boxes will extend to the right until price touches them.
Show Bullish/Bearish FVGs: Toggles the visibility of bullish or bearish FVGs.
Show FVG Labels: Toggles the visibility of the "FVG" text labels.
Keep Mitigated Outlines: If checked, the historical outline box (and its associated POC/TPO lines) will remain on the chart even after the FVG is completely filled.
Show Statistics: Toggles the visibility of the statistics table, which tracks total, partly mitigated, and fully mitigated FVGs.
Show LTF-TPO (Time-Based): Toggles the calculation and display of the Time Price Opportunity line.
Show LTF-POC (Volume-Based): Toggles the calculation and display of the Point of Control line.
Use Custom LTF for Analysis: Check this to manually select a timeframe for the POC/TPO calculation. If unchecked, the script auto-selects a lower timeframe.
Lower Timeframe: The specific lower timeframe to use when the "Custom LTF" box is checked.
Magnifier (Bars per Slice): Controls how the script auto-selects a lower timeframe (higher number = lower timeframe). Only active when "Custom LTF" is unchecked.
█ The Logic Explained
This indicator uses a clear, rules-based system based on mathematical and conditional principles.
The 3-Candle FVG Pattern
The detection engine precisely identifies FVGs by comparing the price extremes of a three-candle sequence. For a bullish FVG, it confirms that the high of the first candle is strictly below the low of the third candle. For a bearish FVG, the low of the first candle must be strictly above the high of the third. This leaves an objective, unfilled gap in the market.
The Mitigation and Shrinking Process
Once an FVG is created, the indicator monitors it on every subsequent bar. The moment a candle's price action enters the FVG's zone, it's flagged as "partially mitigated," and its color changes. The script then continues to track how far price pushes into the gap, dynamically shrinking the box to visually represent the remaining imbalance.
Lower-Timeframe (LTF) Analysis Explained
To add precision, the indicator performs a micro-analysis of the middle candle of the FVG pattern. This is achieved by mathematically deconstructing that single candle using data from a smaller timeframe.
The lower timeframe is determined either manually or automatically via the Magnifier. The Magnifier works by dividing the chart's current timeframe. For example, on a 60-minute chart, a Magnifier of 60 tells the indicator to perform its analysis using 1-minute data (60÷60=1).
Once the LTF data is obtained, two calculations are performed:
LTF Point of Control (Volume-Based): This method seeks the price of maximum commitment. The indicator analyzes the volume of every single lower-timeframe bar within the main candle and identifies the one bar with the highest trading volume. The closing price of that specific high-volume bar is designated as the POC.
LTF Time Price Opportunity (Time-Based): This method finds the price where the market spent the most time trading. The process is a form of price distribution analysis:
The total price range (high to low) of the main candle is measured.
This range is divided into 40 equal price zones, or "bins". For a candle with a $2 range, each bin would represent a price slice of 5 cents
The indicator then counts how many of the lower-timeframe closing prices fall within each of the 40 bins.
The TPO line is drawn at the midpoint of the single bin that contained the most prices, representing the "busiest" price level.
Time-Based Drawing for Accuracy
To ensure perfect alignment across all historical data and chart reloads, all drawings are anchored to the precise timestamp of the bar, not its sequential position on the chart. This robust method guarantees that all zones remain fixed and accurate regardless of how much historical data is loaded.
█ Disclaimer
Investors are fully responsible for any investment decisions they make.
Have fun trading :-)
9:15 AM Bullish SetupBAsically it will tell if market open price is greater than 1 % of prev close and also above 20 and 200 SMA
Dudix 1-2-3 TABELKA lot (EMA238)This indicator is designed to detect 1-2-3 reversal patterns within a clearly defined trend, using a triple EMA filter (EMA 20, EMA 50, and EMA 238).
By requiring that the EMAs be aligned (e.g., EMA 20 > EMA 50 > EMA 238 for an uptrend), the script effectively avoids false signals during sideways/consolidation phases, focusing only on entries in the direction of the dominant trend.
It highlights both Bullish 1-2-3 and Bearish 1-2-3 formations based on price structure and EMA positioning.
Additionally, the indicator includes a customizable point-distance calculator that shows how far the current candle’s close is from the EMA 50, helping traders gauge momentum or entry timing. The point size can be adjusted (e.g., 0.00001 for GBPUSD or 0.01 for JPY pairs) directly from the settings panel.
✅ Ideal for scalpers and intraday traders who want to:
Trade with the trend
Avoid chop and consolidation
Enter on price confirmation patterns
Seasonal Forecaster ProSeasonal Forecaster Pro
This script is an advanced analytical tool designed to uncover and measure historical seasonal (or cyclical) tendencies in any market. It visualizes how an asset has performed on average during specific times of the year and provides a real-time score to gauge how closely the current price action is following these historical patterns.
The primary goal is to provide traders with a unique analytical layer, helping to identify periods of historical strength or weakness and to validate current trends against historical norms.
Key Features
📈 Multi-Period Seasonality Lines: The indicator plots multiple seasonal patterns simultaneously. Each colored line represents the average historical performance over a different lookback period (e.g., 3-year, 5-year, 10-year average). This allows you to compare short-term versus long-term seasonal trends.
🔮 Forward Projection: The seasonal lines are projected into the future, illustrating the average historical path for the upcoming days and weeks. This is not a price prediction, but a visual guide to an asset's typical behavior based on past data.
📊 Correlation Table: A powerful, real-time dashboard that measures how strongly the current price is correlated with each historical seasonality pattern.
High Correlation (> 75%): 🟢 Indicates that the current price is moving in strong alignment with its historical tendency.
Medium Correlation (50% to 75%): 🟠 Shows a moderate relationship.
Low Correlation (< 50%): 🔴 Signals that the price is currently deviating from its historical norm.
🛡️ Advanced Outlier Filtering: The core calculation uses a robust statistical method to filter out extreme, one-off market events like flash crashes or major news spikes. This ensures that the resulting seasonal patterns are more stable and representative of typical market behavior.
⚙️ Full Customization: You have complete control over the indicator's appearance. You can toggle any seasonality line on or off, and customize the colors, line width, and the on-screen table's position and colors to perfectly match your chart's theme.
How It Helps Your Trading
This indicator is a tool for analysis and confluence, not for generating buy/sell signals. Here’s how you can integrate it into your strategy:
Identify Seasonal Trends: Easily spot times of the year where an asset has historically shown bullish or bearish tendencies. For example, if the lines are consistently trending upwards from March to May, it highlights a period of historical strength.
Confirm Trend Strength: Use the correlation table to add confidence to your analysis. If you see an asset is in an uptrend and the correlation score for its dominant seasonal pattern is high and green, it provides powerful confirmation that the move is aligned with historical precedent.
Spot Divergences: Identify when the market is behaving abnormally. If the historical pattern suggests an uptrend, but the current price is falling and the correlation score is low and red, it signals a divergence. This can alert you that current market drivers are overriding seasonal tendencies and may warrant extra caution.
This script is an analysis tool and does not provide financial advice or trade signals. All trading involves risk, and past performance is not indicative of future results. Please use this indicator as part of a comprehensive trading plan. This script is invite-only and its source code is protected.
🔍 Candle Scanner (75m/D/W/M) + Volume + EMA + Trend//@version=5
indicator("🔍 Candle Scanner (75m/D/W/M) + Volume + EMA + Trend", overlay=true)
is75min = timeframe.period == "75"
// Time Slot Logic for 75-min only
startTime = timestamp("Asia/Kolkata", year, month, dayofmonth, 9, 15)
candle75 = math.floor((time - startTime) / (75 * 60 * 1000)) + 1
candleNo = is75min and candle75 >= 1 and candle75 <= 5 ? candle75 : na
getTimeSlot(n) =>
slot = ""
if n == 1
slot := "09:15–10:30"
else if n == 2
slot := "10:30–11:45"
else if n == 3
slot := "11:45–13:00"
else if n == 4
slot := "13:00–14:15"
else if n == 5
slot := "14:15–15:30"
slot
// EMA Filters
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
aboveEMA20 = close > ema20
aboveEMA50 = close > ema50
// Volume Strength
avgVol = ta.sma(volume, 20)
volStrength = volume > avgVol ? "High Volume" : "Low Volume"
// Candle Body Strength
bodySize = math.abs(close - open)
fullSize = high - low
bodyStrength = fullSize > 0 ? (bodySize / fullSize > 0.6 ? "Strong Body" : "Small Body") : "Small Body"
// Prior Trend
priorTrend = close < close and close < close ? "Downtrend" :
close > close and close > close ? "Uptrend" : "Sideways"
// Patterns
bullishEngulfing = close > open and close < open and close > open and open < close
bearishEngulfing = close < open and close > open and close < open and open > close
hammer = (high - low) > 3 * bodySize and (close - low) / (0.001 + high - low) > 0.6 and (open - low) / (0.001 + high - low) > 0.6
shootingStar = (high - low) > 3 * bodySize and (high - close) / (0.001 + high - low) > 0.6 and (high - open) / (0.001 + high - low) > 0.6
doji = bodySize <= fullSize * 0.1
morningStar = close < open and bodySize < (high - low ) * 0.3 and close > (open + close ) / 2
eveningStar = close > open and bodySize < (high - low ) * 0.3 and close < (open + close ) / 2
// Pattern Selection
pattern = ""
sentiment = ""
colorBox = color.gray
yOffset = 15
if bullishEngulfing
pattern := "Bull Engulfing"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if bearishEngulfing
pattern := "Bear Engulfing"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
else if hammer
pattern := "Hammer"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if shootingStar
pattern := "Shooting Star"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
else if doji
pattern := "Doji"
sentiment := "Neutral"
colorBox := color.gray
yOffset := 15
else if morningStar
pattern := "Morning Star"
sentiment := "Bullish"
colorBox := color.green
yOffset := -15
else if eveningStar
pattern := "Evening Star"
sentiment := "Bearish"
colorBox := color.red
yOffset := 15
timeSlot = is75min and not na(candleNo) ? getTimeSlot(candleNo) : ""
info = pattern != "" ? "🕒 " + (is75min ? timeSlot + " | " : "") + pattern + " (" + sentiment + ") | " + volStrength + " | " + bodyStrength + " | Trend: " + priorTrend + " | EMA20: " + (aboveEMA20 ? "Above" : "Below") + " | EMA50: " + (aboveEMA50 ? "Above" : "Below") : ""
// Label Draw
var label lb = na
if info != ""
lb := label.new(bar_index, high + yOffset, text=info, style=label.style_label_down, textcolor=color.white, size=size.small, color=colorBox)
label.delete(lb )
// Smart Alert
validAlert = pattern != "" and (volStrength == "High Volume") and bodyStrength == "Strong Body" and (aboveEMA20 or aboveEMA50)
alertcondition(validAlert, title="📢 Smart Candle Alert", message="Smart Alert: Candle with Volume + EMA + Trend + Pattern Filtered")