Educational
QTS - MK V1 (Working)***DO NOT START USING. NEEDS UPDATE****
Highlights entry models as per SSMT between 2 consecutive quarters
PCP Arbitrage Monitor (Math by Thomas)Live monitor for Put–Call Parity (C + PV(K) = P + S) showing drift, arbitrage direction, and opportunity strength.
The PCP Arbitrage Monitor helps traders visualize and quantify deviations from the Put–Call Parity (PCP) relationship:
𝐶+𝐾𝑒−𝑟𝑇 = 𝑃+𝑆
When this equation drifts, it indicates a potential arbitrage opportunity between call, put, and underlying (spot or future).
This indicator plots the left-hand side (LHS) and right-hand side (RHS) of the PCP equation on your chart, computes the drift, and automatically highlights and displays actionable trade combinations when the deviation exceeds a set threshold.
⚙️ How It Works
Inputs
Call & Put Symbols – Select matching call and put options (same strike & expiry).
Strike (K) – The strike price for those options.
Expiry (UTC) – Option expiry date/time (used to calculate 𝑇 and PV(K)).
Risk-free Rate (r) – Annualized rate used for discounting the strike.
Lot Size / Tick Value – Used to calculate profit in INR.
Arbitrage Threshold – Minimum drift (in points) to trigger signals (default 200).
Displayed Data
LHS = C + PV(K) (Call + discounted Strike)
RHS = P + S (Put + Spot/Future)
Drift = LHS – RHS
Bookable Profit (INR)
Action Suggestion (only when |drift| ≥ threshold)
Background Highlight
🟩 Green – Call side expensive → Sell Call + Buy Put + Buy Fut
🟥 Red – Call side cheap → Buy Call + Sell Put + Sell Fut
Table
Displays all key values live in the top-right corner:
Option prices
LHS, RHS
Drift (points)
Time to expiry
Lot size
Bookable profit (INR)
Trade action (only if |drift| ≥ threshold)
📈 How to Use
Open a NIFTY Spot or Futures chart (works on both).
Enter the exact option symbols (e.g., NSE:NIFTY24DEC21900CE and NSE:NIFTY24DEC21900PE).
Adjust Strike (K) and Expiry to match those options.
Observe:
The green/red background highlights large deviations (≥ threshold).
The Action cell displays the arbitrage combination and expected profit.
A drift beyond the threshold suggests a potential risk-free arbitrage if executed simultaneously across all legs.
Hold positions till expiry if margin allows; the profit is theoretically locked in.
💡 Tips
Works on both Spot and Futures charts — the script auto-uses the chart’s close as 𝑆
Set smoothing to 0 to see raw parity values.
Adjust threshold based on costs and margin — e.g., 150–200 points for NIFTY is practical.
Only valid when options are European (no early exercise risk).
Ensure both option symbols are liquid and from the same expiry.
⚠️ Disclaimer
This tool is for educational and analytical purposes.
Real arbitrage execution depends on liquidity, bid-ask spread, slippage, and margin requirements.
Always validate prices with your broker before trading.
MACD ZoneThe MACD Zone Indicator is a custom technical analysis tool built to visualize market momentum by combining the MACD (Moving Average Convergence Divergence) with dynamic zone levels for enhanced trend interpretation.
🔧 Key Features
1. MACD Histogram & Signal Lines:
Displays a color-coded MACD histogram that highlights bullish and bearish momentum shifts for quick visual analysis.
2. Neutral Zone Logic:
For Nifty and its option charts, the default neutral zone threshold (h2) is set to 5, which can be customized by the user through settings.
For other symbols, h2 is dynamically calculated as price / 2000, adapting automatically to varying price levels.
3. Zone Visualization:
Four horizontal levels (h1, h2, h3, h4) define the bullish, neutral, and bearish zones, helping traders quickly gauge trend strength, potential reversals, and momentum transitions.
Daily Key Levels + VWAPThis indicator is daily price levels and previous day's VWAP for precision intraday trading decisions.
📊 Monitor F&M - RLYONSCRIPT OBJECTIVE
It's a confluence system that combines four key indicators to identify high-probability trading setups. It basically tells you when and where to enter the market with greater confidence.
🔧 THE 4 BASE INDICATORS
1. ADX (Average Directional Index)
What it measures: The strength of the trend (not the direction)
How to use it:
ADX ≥ 25 = STRONG trend ✅
ADX < 25 = Weak or sideways trend
What it does: Filters trades. You only look for entries when there is real strength in the market.
2. DI+ and DI- (Directional Indicators)
What it measures: The direction of the trend.
How to use it:
DI+ > DI- = Bullish trend 📈
DI- > DI+ = Bearish trend 📉
What it does: Defines whether you are looking for buys or sells.
3. TTM Squeeze (Bollinger Bands + Keltner Channels)
What it measures: Volatility compression and explosion.
States:
Squeeze ON 🔴: Volatility compressed (like a tightened spring).
Squeeze OFF 🟢: Volatility released (the spring is released = strong movement).
Transition 🔵: Changing state.
Momentum: The green/red histogram shows the direction of the movement.
Green rising = Strong bullish trend.
Red falling = Strong bearish trend.
4. RSI (Relative Strength Index)
What it measures: Whether the price is overbought or oversold.
Zones:
RSI > 70 = Overbought ⚠️ (be careful with purchases)
RSI < 30 = Oversold ✅ (bullish opportunity zone)
RSI 40-60 = Neutral zone/ideal for pullbacks
🎯 THE 2 MAIN STRATEGIES
STRATEGY 1: MOMENTUM (The strongest) 🚀
BUY setup:
✅ Squeeze released (changed from ON to OFF)
✅ Momentum green AND growing
✅ ADX ≥ 25 (strong trend)
✅ RSI not overbought (< 70)
SELL setup:
✅ Squeeze released (changed from ON to OFF)
✅ Momentum red AND Decreasing
✅ ADX ≥ 25 (strong trend)
✅ RSI not oversold (> 30)
When to trade: When you see the triangle 🚀 on the chart
STRATEGY 2: PULLBACK (Established trend) 📈📉
BUY setup:
✅ DI+ > DI- (established uptrend)
✅ ADX ≥ 25 (strong trend)
✅ RSI between 40-55 (healthy pullback)
✅ Momentum starting to turn upward
SELL setup:
✅ DI- > DI+ (established downtrend)
✅ ADX ≥ 25 (strong trend)
✅ RSI between 45-60 (healthy pullback)
✅ Momentum starting to turn downward
When to trade: When you see the "PB" circle in the graph
BATIK SMC🌀 BATIK SMC — Smart Money Concepts by YB Pips
BATIK SMC is a professional-grade Smart Money Concepts system refined under the Batik Syndicate methodology.
It combines institutional structure logic with precision-engineered visualization tools for traders who operate with discipline and intent.
🧭 Core Functions
Market Structure: automatic detection of BOS (Break of Structure) & CHoCH (Change of Character)
Order Blocks: internal & swing OB identification with real-time mitigation updates
Fair Value Gaps (FVG): dynamic detection across multiple timeframes
Equal Highs / Lows: liquidity points & sweep detection
Premium / Discount Zones: clear equilibrium mapping for high-RR setups
Smart Candle Coloring: visualize real-time trend bias directly on chart
Custom Alerts: receive instant BOS, CHoCH, OB breakout, and FVG notifications
💎 Why BATIK SMC
Developed for traders who follow structure, liquidity, and imbalance — not indicators.
It retains full Smart Money logic while carrying the signature Batik visual identity and philosophy:
“Trade where institutions position themselves — not where the crowd reacts.”
HTF Supply & Demand Zones 📊 Overview
Advanced supply and demand zone indicator that automatically detects institutional-level price zones on higher timeframes and dynamically adapts zone colors based on price position. Zones below price act as demand (support) and zones above price act as supply (resistance).
✨ Key Features
🎯 Dynamic Zone Recognition
- Smart Color Adaptation: Zones automatically change from demand (green) to supply (red) when price crosses them
- Higher Timeframe Analysis: Detect zones from any timeframe while trading on lower timeframes
- Base/Blast Pattern Detection**: Identifies strong institutional zones using base-blast candle methodology
- Automatic Zone Flipping: Broken demand zones become supply and vice versa
📈 Zone Detection Method
Uses the proven Base & Blast candle pattern:
- Base Candle: Small consolidation candle with minimal wick
- Blast Candle: Strong momentum candle breaking from the base
- Customizable Ratio: Adjust base/blast body size ratio (default 8:1)
- Wick Filter: Ensures clean base candles for higher probability zones
🎨 Visual Features
- Clean Zone Boxes: Extended zones with customizable colors and transparency
- Smart Labels: Display zone type and touch count
- Touch Counter: Track how many times price has tested each zone
- Info Dashboard: Real-time statistics in top-right corner
⚙️ Zone Management
- Auto-Delete After X Touches**: Remove zones after specified number of tests (default: 5)
- Optional Break Deletion**: Choose whether to delete zones when price breaks through
- Maximum Zone Limit**: Control chart cleanliness by limiting displayed zones
- Extended Zones**: All zones extend to the right for forward visibility
🔧 Settings
Detection Parameters
- Higher Timeframe: Select any timeframe for zone detection (empty = current timeframe)
- Base/Blast Ratio: 4.0 to 30.0 (default: 8.0) - Higher = stronger zones, fewer signals
- Wick Threshold: 0.1 to 0.5 (default: 0.3) - Maximum base candle wick size
Display Options
- Toggle demand/supply zones independently
- Maximum zones to display (1-50)
- Show/hide zone labels
- Customizable colors for demand and supply zones
- Adjustable border width
Zone Management
- Delete after X touches (1-30 touches)
- Delete on break option
- Touch counter displays current/max touches
💡 How to Use
For Swing Trading
1. Set timeframe to Daily or Weekly
2. Use 8:1 ratio for high-quality zones
3. Enable auto-delete after 3-5 touches
4. Trade pullbacks to green zones (demand) for longs
5. Trade rallies to red zones (supply) for shorts
For Day Trading
1. Set timeframe to 1H or 4H
2. Use 6:1 ratio for more zones
3. Watch for zone color changes as confirmation
4. Enter when price retests zones in the direction of the higher timeframe trend
For Scalping
1. Set timeframe to 15m or 1H
2. Use 5:1 ratio for frequent signals
3. Focus on first touch of fresh zones
4. Use lower timeframes for precise entries
📋 Best Practices
✅ DO:
- Use zones from higher timeframes for better reliability
- Wait for zone color change as confirmation of flip
- Focus on first 2-3 touches of a zone
- Combine with trend analysis
- Use zones as targets and entry levels
❌ DON'T:
- Trade every zone - quality over quantity
- Ignore the touch counter
- Use on very low timeframes without HTF context
- Trade zones that have been tested many times
🎓 Understanding Dynamic Colors
Green Zones (Demand) = Below current price = Support = Look for bounces
Red Zones (Supply) = Above current price = Resistance = Look for rejections
When price breaks a green zone downward, it flips to red (former support becomes resistance)
When price breaks a red zone upward, it flips to green (former resistance becomes support)
📊 Info Dashboard
The top-right table displays:
- Active timeframe
- Current demand zones count (below price)
- Current supply zones count (above price)
- Active base/blast ratio
- Maximum touches setting
🔔 Trading Signals
High Probability Setups:
- Fresh zones (0-1 touches) on higher timeframes
- Zones that align with major support/resistance
- First test after a zone color flip
- Multiple timeframe confluence
Avoid:
- Zones with 4+ touches
- Zones in choppy/ranging markets
- Counter-trend zones during strong momentum
⚡ Performance Notes
- Maximum 500 boxes and lines supported
- Optimized for real-time scanning
- Minimal resource usage
- No repainting - all zones are confirmed
🎯 Recommended Settings by Trading Style
Conservative (Higher Quality)
- Ratio: 10:1
- Wick Threshold: 0.2
- Delete After: 3 touches
Balanced (Default)
- Ratio: 8:1
- Wick Threshold: 0.3
- Delete After: 5 touches
Aggressive (More Signals)
- Ratio: 6:1
- Wick Threshold: 0.4
- Delete After: 7 touches
---
📖 Additional Resources
For more information on supply and demand trading:
- Study institutional order flow
- Learn base and blast candle patterns
- Understand market structure and liquidity zones
- Practice on demo before live trading
Risk Warning: This indicator is a tool for technical analysis. Always use proper risk management and combine with your trading strategy. Past performance does not guarantee future results.
---
Compatible with all markets: Forex, Stocks, Crypto, Futures, and Indices
Version: 1.0 | Language: Pine Script v5
SUPER BUY SELL(INDICATOR)Hello Trader Welcome Back To My SUPER BUY SELL(INDICATOR).
This Indicator Made By Pivot Point Demand Supply Zone And Super trend Indicator Formula.
Uses Of Instruction :-
When Market Up To The Super Trend Indicator's Then We Should To Take BUY Entry . Don't Take SELL Entry .
When Market Down To The Super Trend Indicator's Then We Should To Take SELL Entry . Don't Take BUY Entry .
This Indicator Educational Purpose Only Not For Sale.
(MS)TRADING-INDICATORHello Welcome Back To My (MS)TRADING-INDICATOR .
This Indicator Formula Uses Of Order Block And Bollinger Band Indicator.
If Any Place Bullish Order Block And Bollinger Band's Lower Band If Same Place And There Bullish Reversal Candlestick If We Can Buy Signal Then Its Valid BUY Position.
If Any Place Bearish Order Block And Bollinger Band's Upper Band If Same Place And There Bearish Reversal Candlestick If We Can Sell Signal Then Its Valid SELL Position.
This Indicator Educational Purpose Only Not For Sale.
Support & Resistance Zones + FVG**Overview:**
This tool automatically identifies **key support and resistance levels** and highlights **Fair Value Gaps (FVGs)** on the chart. It helps traders of all levels **visualize important price areas**, spot potential market reactions, and make better-informed trading decisions.
Support and resistance zones are areas where price tends to **reverse, stall, or accelerate**, making them essential for entries, exits, and stop-loss placement. Fair Value Gaps represent rapid price movements that leave temporary imbalances, which often act as **future targets or reversal points**. Together, these features provide a **comprehensive view of market structure**.
---
## Features:
1. **Automatic Support & Resistance Detection:**
* Detects zones based on recent price action patterns:
* **Bull-to-Bear transitions** → resistance zones
* **Bear-to-Bull transitions** → support zones
* Dynamically calculates **zone heights** based on recent candle ranges, adapting to market volatility.
2. **Broken Zones & Proximity Alerts:**
* Highlights zones that have been broken, helping traders **focus on relevant levels**.
* Optional proximity alerts indicate broken zones that are **near the current price**, showing potential retests.
3. **Fair Value Gaps (FVGs):**
* Detects bullish and bearish gaps automatically.
* Options to **ignore narrow gaps** and **remove fully crossed FVGs**.
* Acts as a guide for potential **price targets or reversal areas**.
4. **Clean Chart & Customization:**
* Hides overlapping or invalid zones to reduce clutter.
* Fully adjustable inputs, including:
* Zone length
* Lookback range
* Zone height multiplier
* FVG extension
* Display and opacity settings
5. **Timeframe-Independent:**
* Works on **any chart interval**, from scalping to long-term swing charts.
---
## How It Helps Traders:
* **Identify Key Levels Automatically:**
Visualizes areas where the price has historically reacted. These zones act as **natural barriers** guiding entries and exits.
* **Spot Broken Zones:**
Broken zones may lose significance but could act as **future retest points**, helping assess trend continuation or reversal.
* **Visualize Price Gaps (FVGs):**
Gaps left by rapid price movement often act as **price magnets**, providing potential targets or reversal points.
* **Reduce Noise:**
Automatically hides overlapping or invalid zones for a **cleaner, easier-to-read chart**, highlighting only the most significant levels.
* **Adaptable to Any Trading Style:**
Useful for **swing trading, intraday trading, or scalping**, showing where buyers and sellers are most active.
---
## Practical Usage Guide:
1. **Enable Support & Resistance Zones:**
* Visualize critical price levels.
* Adjust **zone length, lookback range, and height multiplier** to fit your trading style and volatility.
2. **Enable FVGs:**
* Highlights gaps created by rapid price movements.
* Customize **minimum gap size, extension, and filtering options** to reduce chart noise.
3. **Observe Price Reactions:**
* **Bounce at support:** Potential buy opportunity.
* **Reversal at resistance:** Potential sell/short opportunity.
* **Breakout:** Watch for price breaking a zone for trend continuation trades.
4. **Risk Management:**
* Place stop-loss orders just outside zones to protect trades.
* Use broken zones as **profit targets** or areas to tighten stops.
5. **Trend Analysis:**
* Understand where buyers and sellers are concentrated.
* Identify strong trends by observing multiple zones being respected or broken.
6. **Multi-Timeframe Application:**
* Apply on different timeframes to **align short-term entries with longer-term structure**, improving trade probability.
---
## Key Inputs & Customizations:
* **Support & Resistance Zones:**
* Show/Hide Zones
* Zone Length Extend (bars)
* Loopback Range (bars)
* Zone Height Multiplier
* Hide Overlapped Zones
* Hide Broken Zones
* Ignore Last N Candles for Break Check
* Show Proximity Broken Zones
* Proximity Range for Broken Zones
* **Fair Value Gaps (FVGs):**
* Show/Hide FVGs
* Extend FVGs (bars)
* Minimum FVG Size
* Ignore Narrow FVGs
* Ignore Fully Crossed FVGs
* Up and Down Colors with Opacity
---
**Summary:**
This indicator saves **time, improves chart clarity, and highlights key market levels**. It is suitable for beginners who want to **understand market structure visually**, as well as experienced traders seeking **precise entry, exit, and target zones**. By combining support/resistance detection with Fair Value Gaps, it provides a **complete visual guide to price behavior**, helping traders make **more confident and informed decisions**.
KD-10-20 Cross No Chop ChopThis strategy avoids 80% of the choppy trades. Take entry when it gives a buy signal and put TP and SL as per your convenience. Happy Trading!
Liquidity Sniper V3 (ANTI-FAKEOUT)An advanced institutional trading indicator combining liquidity pool targeting, smart money concepts, and momentum-based entries with comprehensive risk management.
🎯 CORE FEATURES:
- Liquidity Sniper Module: Identifies and targets major liquidity pools (PDH/PDL, PWH/PWL, Equal Highs/Lows, HVN/LVN edges)
- Anti-Fakeout Stack: 10-layer confirmation system including VWAP reclaim, micro BOS, displacement, relative volume, and mitigation entries
- Momentum Engulf Add-On: Catches high-velocity impulsive moves with engulfing candles, volume spikes, and volatility breakouts
- GARCH Volatility Filter: Dynamic volatility analysis to avoid choppy conditions
- Multi-Timeframe Confirmation: Ensures alignment across timeframes before entries
📊 SIGNAL CLASSIFICATION:
- BEST (Green): Highest probability setups with all confirmations aligned - 6.0+ score
- BETTER (Medium Green): Strong setups with most confirmations - 4.5-6.0 score
- GOOD (Light Green): Valid setups with basic confirmations - 3.0-4.5 score
🔍 TRADE SCENARIOS:
S1: Liquidity Reversal - Sweeps + reversals at key levels with displacement
S2: Continuation - Trend following with VWAP mean reversion
S3: Mean Reversion - Extreme deviations (2σ+) with Fibonacci exhaustion
S4: Deep Sweep - 3σ sweeps at major liquidity with high confluence
⚡ MOMENTUM TRIGGERS:
- MET (Momentum Engulf): Bullish/bearish engulfing with 1.5x+ volume spike and ATR impulse
- VBT (Volatility Breakout): Range breakouts with sigma bursts and participation
🛡️ RISK MANAGEMENT:
- Dynamic TP/SL based on ATR, VWAP bands, and liquidity pools
- 3-tier targets (T1: VWAP, T2: Nearest pool, T3: 5R extension)
- Early invalidation tracking (0.5R movement monitoring)
- Minimum 2:1 RR requirement with cooldown periods
- RTH session filters and anti-spam protection
📈 TECHNICAL EDGE:
- SMT Divergence detection vs ES correlation
- CVD (Cumulative Volume Delta) divergence confirmation
- FVG (Fair Value Gap) and Order Block mitigation entries
- Equal highs/lows clustering analysis
- Volume profile HVN/LVN identification
⚙️ FULLY CUSTOMIZABLE:
All parameters adjustable including cooldowns, proximity thresholds, ATR multipliers, RR floors, and scenario weights.
Perfect for: ES/NQ futures, forex majors, and liquid stocks. Works on 1-15 min timeframes. Best results during NY session (9:35-11:00 AM & 1:30-3:30 PM ET).
Created for serious traders seeking institutional-grade edge with quantifiable risk/reward and high-probability setups
Trappin Previous Timeframe LevelsTrappin Previous Timeframe Levels (Trappin PTL)
Overview
Trappin PTL is a comprehensive multi-timeframe support and resistance indicator that displays key price levels from multiple timeframes on a single chart. This indicator helps traders identify critical price zones where reversals or breakouts are likely to occur, making it ideal for both intraday and swing trading strategies.
💡 Origin Story
I got tired of manually drawing these lines that I learned from watching Wallstreet Trapper on Trappin Tuesdays YouTube live streams. After repeatedly marking the same previous timeframe levels on every chart, I decided to automate the process. Hope it helps you as much as it helps me!
Key Features
📊 Multiple Timeframe Levels
The indicator tracks and displays high/low levels from:
Previous Hour (PHH/PHL) - Purple lines
Previous Day (PDH/PDL) - Green lines
Previous Week (PWH/PWL) - Yellow lines
Previous Month (PMH/PML) - Blue lines
All-Time High (ATH) - Red line
52-Week High - Orange line
🎨 Fully Customizable
Colors - Change the color of each timeframe independently
Line Styles - Choose between Solid, Dashed, or Dotted lines
Line Widths - Adjust thickness from 1-4 pixels
All settings organized in intuitive groups for easy access
📍 Smart Line Extension
Lines extend back to show when the level was established
Lines project forward to show current relevance
Historical context helps identify key support/resistance zones
🏷️ Clear Price Labels
Each level displays its exact price value (no currency symbols)
Labels positioned horizontally to avoid overlap
Adaptive text color for visibility on any chart theme (dark or light mode)
Why "Trappin"?
The name is a tribute to Wallstreet Trapper and his Trappin Tuesdays YouTube live streams, where I learned the importance of marking previous timeframe levels. The name also reflects the indicator's purpose: identifying price levels where traders often get "trapped" - whether it's bulls getting trapped below resistance or bears getting trapped above support. These levels represent zones where significant order flow and liquidity exist, making them prime areas for reversals or breakouts.
Credits
Created by resoh
Inspired by Wallstreet Trapper and Trappin Tuesdays YouTube live streams
This indicator is provided for educational and informational purposes. Always practice proper risk management and conduct your own analysis before making trading decisions.
Version History
v1.0 - Initial Release
Multi-timeframe high/low levels
All-time high tracking
52-week high tracking
Fully customizable colors, styles, and widths
Adaptive labels with price display
Smart line extension showing historical context
[PS] Planetary Movements & Nakshatras - Adv Astrological Trading🌟 Planetary Movements & Nakshatras - Advanced Astrological Trading Indicator
📊 Overview
Planetary Movements & Nakshatras is a comprehensive Pine Script indicator that bridges ancient Vedic astrology with modern technical analysis. This powerful tool overlays planetary positions, transitions, alignments, and nakshatras (lunar mansions) directly on your price charts, providing unique insights into potential market movements based on celestial patterns.
🎯 Key Features
1. Real-Time Planetary Tracking
Displays current positions of 7 major celestial bodies: Sun ☉, Moon ☽, Mercury ☿, Venus ♀, Mars ♂, Jupiter ♃, and Saturn ♄
Shows each planet's current zodiac sign and nakshatra
Optional degree display for precise astronomical positioning
Color-coded labels for easy identification
2. Industry-Specific Intelligence
Choose from 15 industry classifications with customized planetary and nakshatra associations:
Technology - Mercury, Rahu, Uranus (Innovation & Communication)
Finance/Banking - Jupiter, Mercury, Venus (Wealth & Trade)
Healthcare/Pharma - Sun, Moon, Jupiter (Vitality & Healing)
Energy/Oil - Sun, Mars (Power & Energy)
Agriculture - Moon, Venus, Jupiter (Growth & Fertility)
Real Estate - Saturn, Mars, Venus (Property & Construction)
Media/Entertainment - Venus, Mercury, Moon (Arts & Creativity)
Transportation - Mars, Mercury, Moon (Movement & Travel)
Metals/Mining - Saturn, Mars, Sun (Minerals & Iron)
FMCG/Retail - Venus, Mercury, Moon (Commerce & Consumer Goods)
Telecom - Mercury, Rahu (Communication & Networks)
Automobile - Mars, Saturn, Mercury (Machinery & Engineering)
Defense - Mars, Sun, Saturn (War & Discipline)
Education - Jupiter, Mercury, Moon (Knowledge & Learning)
General - All planets (Universal application)
Primary planets for each industry are marked with ★ and highlighted with vibrant colors, while secondary planets appear muted.
3. 27 Nakshatras (Lunar Mansions)
Complete coverage of all 27 Vedic nakshatras from Ashwini to Revati:
Each nakshatra spans 13.33° of the zodiac
Industry-specific favorable nakshatras marked with ✓
Visual nakshatra boundaries with dotted lines
Configurable display: Lines, Labels, Both, or None
Enhanced visualization for auspicious nakshatras
4. Planetary Transitions & Sign Changes
Track when planets change zodiac signs (every 30°):
Triangle markers indicate sign transitions
Historical price impact displayed with each transition
Shows average upward ↑% and downward ↓% swing following the event
Significant transitions highlighted at chart bottom
Regular transitions appear at chart top
5. Planetary Alignments & Aspects
Detects major astronomical events:
Conjunctions - Planets in the same position (customizable orb: 1-15°)
Oppositions - Planets 180° apart (customizable orb: 1-15°)
Sun-Moon Conjunctions (New Moon) - Powerful market turning points
Sun-Moon Oppositions (Full Moon) - High volatility periods
Jupiter-Saturn Conjunctions - Major cycle indicators (every 20 years)
Background highlighting for major alignments
6. Advanced Pattern Detection System
Machine learning-inspired historical analysis:
Automatic Pattern Recognition - Identifies recurring planetary configurations
Swing Analysis - Calculates price movements following each event
Configurable Parameters:
Minimum Swing Threshold (0.5% - 50%)
Lookforward Period (5-180 days)
Minimum Occurrences (1-10 instances)
Statistical Tracking:
Count of pattern occurrences
Average upward swing percentage
Average downward swing percentage
Maximum upward swing
Maximum downward swing
Industry Relevance Filtering - Focus only on patterns relevant to your sector
7. Three Interactive Information Tables
📋 Industry Planet Guide Table (Configurable Position)
Shows primary planets to watch for your selected industry
Lists favorable nakshatras for optimal timing
Legend explaining symbols (★ = Primary, ✓ = Favorable)
Compact format with color-coded information
📊 Pattern Statistics Table (Configurable Position)
Historical performance data for all detected patterns
Sortable by significance
Columns: Pattern Name, Count, Avg↑%, Avg↓%, Max↑%, Max↓%, Relevance
Color-coded thresholds (green for bullish, red for bearish)
Industry relevance marked with ★
Shows up to 15 most significant patterns
🔮 Future Events Table (Configurable Position)
Projects planetary events up to 365 days into the future
Lists upcoming transitions, conjunctions, and oppositions
Shows historical average price impacts for each future event
Date, Event type, Sign/Nakshatra, Expected swing percentages
Significant events marked with ★
Displays up to 20 upcoming events
Table Positioning: Each table can be placed in any of 9 positions:
Top: Left, Center, Right
Middle: Left, Center, Right
Bottom: Left, Center, Right
8. Visual Enhancements
Nakshatra Boundary Lines - Dotted vertical lines every 27 bars
Color-Coded Events - Orange (Sun), Silver (Moon), Yellow (Mercury), Green (Venus), Red (Mars), Purple (Jupiter), Blue (Saturn)
Significance Highlighting - Bright colors for high-impact events, muted for regular events
Background Shading - Subtle yellow for Sun-Moon conjunctions, purple for Jupiter-Saturn conjunctions
Responsive Labels - Adjustable size (tiny, small, normal, large)
9. Astronomical Calculations
Julian Day Number conversion for precise date handling
Keplerian Orbital Elements for planetary position calculation
J2000 Epoch (January 1, 2000) as reference point
Accurate for historical, current, and future dates
Accounts for mean longitude and orbital mechanics
🎛️ Comprehensive Settings
Industry Settings
15 industry types with pre-configured planetary associations
Planets Group
Toggle planetary positions display
Toggle transition markers
Toggle alignment indicators
Planet Selection
Individual on/off switches for all 7 planets
Mix and match based on your trading strategy
Pattern Detection
Enable/disable pattern recognition
Minimum swing threshold (%)
Days to measure swing impact
Minimum pattern occurrences for validity
Highlight significant events
Filter by industry-relevant planets
Alignments
Conjunction orb (1-15°)
Opposition orb (1-15°)
Customizable sensitivity
Display Options
Label size selection
Show/hide degree measurements
Toggle all three information tables
Nakshatra display modes
Table Settings
Show/hide Future Events Table
Show/hide Pattern Statistics Table
Show/hide Industry Guide Table
Configure position for each table (9 positions)
Adjust future projection days (30-365)
Nakshatras
Display modes: Lines, Labels, Both, or None
Automatic favorable nakshatra highlighting
💡 Use Cases
Timing Market Entries & Exits
Identify high-probability periods using planetary alignments
Watch for favorable nakshatra transits in your industry
Track historical success rates of specific planetary configurations
Risk Management
Be aware of volatile periods (Full Moons, major transitions)
Reduce position sizes during unfavorable planetary periods
Increase exposure during auspicious nakshatra alignments
Industry-Specific Analysis
Technology stocks may respond to Mercury movements
Banking stocks may correlate with Jupiter-Venus alignments
Energy stocks may track Sun-Mars aspects
Long-Term Cycle Analysis
Jupiter-Saturn conjunctions mark major market cycles (20-year cycles)
Saturn transitions indicate sector rotation (2.5-year cycles)
Jupiter transitions show expansion/contraction phases (1-year cycles)
Intraday & Swing Trading
Moon transitions every 2.5 days for short-term timing
Mercury retrogrades for communication/tech sector volatility
Venus transitions for consumer goods and luxury items
Pattern Backtesting
Quantify historical price impacts of specific events
Build confidence in planetary timing strategies
Compare multiple patterns for optimal selection
📈 Performance & Optimization
Efficient Calculations - Optimized algorithms for minimal lag
Smart Pattern Storage - Tracks only significant patterns
Configurable Display Limits - Control label and line counts
Future Projection - Pre-calculates events without real-time overhead
Industry Filtering - Reduces noise by focusing on relevant patterns
🔧 Technical Specifications
Pine Script Version: 6
Chart Type: Overlay (true)
Max Labels: 500
Max Lines: 500
Max Boxes: 500
Calculation Method: Simplified Keplerian orbital mechanics
Date Range: Works for past, present, and future dates
Zodiac System: Tropical (Western) zodiac with Vedic nakshatras
🌙 Nakshatra Reference
All 27 nakshatras are supported with industry-specific favorable classifications:
Ashwini - Swift action, healing, pioneering (Tech, Auto, Transport)
Bharani - Transformation, restraint (Defense, Entertainment)
Krittika - Purification, cutting through (Energy, Real Estate, Metals)
Rohini - Growth, beauty, fertility (Finance, Agriculture, FMCG)
Mrigashira - Seeking, curiosity (Agriculture, Auto)
Ardra - Storm, transformation, breakthroughs (Tech, Telecom)
Punarvasu - Renewal, expansion (Agriculture, Transport, Telecom, Education)
Pushya - Nourishment, prosperity (Finance, Healthcare, Agriculture, Education)
Ashlesha - Control, mysticism (Healthcare)
Magha - Power, authority, leadership (Energy, Metals, Defense)
... and 17 more nakshatras with specific industry associations
🎨 Color Scheme
Sun ☉ - Orange (vitality, authority)
Moon ☽ - Silver (emotions, public)
Mercury ☿ - Yellow (communication, intellect)
Venus ♀ - Green (beauty, wealth, harmony)
Mars ♂ - Red (action, energy, conflict)
Jupiter ♃ - Purple (expansion, wisdom, fortune)
Saturn ♄ - Blue (restriction, discipline, structure)
📚 Trading Strategy Ideas
The Industry-Specific Strategy
Select your stock's industry classification
Focus only on primary planet transitions (marked with ★)
Wait for favorable nakshatra alignments (marked with ✓)
Check Pattern Statistics Table for historical success rate
Enter on confluence of favorable conditions
The Alignment Trading Strategy
Monitor Sun-Moon conjunctions (New Moons) for trend reversals
Track Sun-Moon oppositions (Full Moons) for volatility spikes
Use conjunction orb settings to fine-tune sensitivity
Compare with technical support/resistance levels
The Pattern Recognition Strategy
Enable Pattern Detection with your preferred parameters
Set minimum swing threshold based on your risk tolerance
Focus on patterns with high occurrence counts (5+)
Use Future Events Table to plan entries in advance
Backtest patterns in Pattern Statistics Table
The Nakshatra Timing Strategy
Identify favorable nakshatras for your industry
Wait for Moon to transit through favorable nakshatras
Combine with planetary transitions for stronger signals
Use nakshatra boundary lines for visual confirmation
⚠️ Disclaimer
This indicator is for educational and research purposes only. Planetary positions and astrological calculations should not be the sole basis for trading decisions. Always combine with fundamental analysis, technical analysis, and proper risk management. Past performance of planetary patterns does not guarantee future results. Trading involves substantial risk of loss.
🔄 Updates & Support
This indicator combines ancient wisdom with modern data analysis. While planetary positions are calculated using established astronomical formulas, the correlation between celestial events and market movements is a subject of ongoing research and debate. Use this tool as one component of a comprehensive trading strategy.
Aude - Minimal Session IndicatorMinimal Session Indicator
- The indicator allows users to highlight specific sessions (time range) on the chart.
- There are options to change the visual settings of the session box (BG color, Border color, Border style).
- Max 500 sessions drawn
VIX Overnight Unch or Up AlertThis indicator alerts when VIX opens the day unchanged or higher on the day. If in fact VIX opens up unchanged or higher, it will display near the first bar of the day, previous day's close time and level and the opening time and level. The close time is typically 16:15 New York Time and the opening time is 09:30 or the first print a few minutes later. I use TVC:VIX instead of CBOT because TVC for me is real time. I also use the 1 minute chart and the script is coded as 1 minute.
Smart ATR - Position Sizing for YM Dow JonesSmart ATR includes all basic functionality of ATR + an EMA of ATR. The EMA can give you a baseline or long-term perspective of what ATR normally is. The built-in, automatic sizing tool will display a recommended number of contracts each bar, based upon a multiple of the current ATR. Supports fractional tick values for MYM by clicking the down arrow. Supports fractional ATR values, such as 1.5x. Updates contract sizing on each new bar. This indicator will maintain your RR as volatility increases and decreases. Currently only optimized for YM, will publish other versions if there is an interest.
Market Profile based Support/ResistanceBrought to you by Stock Kaka - Your trading sidekick 🦜📈 - pay your visit at stockkaka.my.canva.site or find us on X #StockKaka
📊 What This Indicator Does
Ever wish the market would just tell you where the important levels are? Well, buckle up, because this indicator is like having a market whisperer on your chart!
Based on cutting-edge hierarchical market structure analysis (fancy words for "smart support and resistance"), this bad boy uses ATR-based Directional Change to identify turning points that actually matter. No more guessing where price might bounce or break—let the algorithm do the heavy lifting while you sip your coffee ☕
🎯 The Five Levels Explained (From Noisy to Mighty)
Think of these levels like a pyramid of importance. Level 0 is your chatty friend who notices everything, while Level 4 is the wise oracle who only speaks when it really matters.
Level 0: The Hyperactive Scout 🐿️
What it does: Catches every little zigzag in price using ATR confirmation
Significance: Very short-term, intraday noise
Best for: Scalpers who love action every few minutes
Trader Type: "I refresh my chart 100 times an hour"
Reliability: ⭐⭐ (It's enthusiastic but easily excitable)
Level 1: The Day Trader's Buddy 🎯
What it does: Filters Level 0 to show minor swing highs/lows
Significance: Intraday support/resistance, hourly structure
Best for: Day traders, scalpers looking for better entries
Trader Type: "I close all positions before dinner"
Reliability: ⭐⭐⭐ (Solid for quick moves)
Level 2: The Swing Trader's Sweet Spot 🎪
What it does: Identifies multi-day to weekly structure points
Significance: Intermediate support/resistance where battles happen
Best for: Swing traders, position traders
Trader Type: "I hold for days, not minutes"
Reliability: ⭐⭐⭐⭐ (Now we're talking real structure!)
Level 3: The Big Money Magnet 💰
What it does: Shows major market structure—where the whales play
Significance: Weekly to monthly levels, institutional zones
Best for: Position traders, trend followers
Trader Type: "I think in weeks and months, not hours"
Reliability: ⭐⭐⭐⭐⭐ (These levels have gravitational pull!)
Level 4: The Market Prophet 🔮
What it does: Reveals ultra-major turning points (think: quarterly/yearly pivots)
Significance: Long-term macro structure, investment-grade levels
Best for: Investors, long-term position traders
Trader Type: "Warren Buffett is my spirit animal"
Reliability: ⭐⭐⭐⭐⭐⭐ (When these break, market's rewrite the story)
⚙️ Parameter Setup Guide (The Secret Sauce)
The magic ingredient is the ATR Lookback Period—think of it as teaching the indicator your timeframe's "dialect." Here's your cheat sheet:
2-Minute Chart ⚡
ATR Lookback: 720 (24 hours of 2-min bars)
Who uses this: Crypto degens, futures scalpers, adrenaline junkies
Show Levels: L0, L1, L2 (L3+ won't budge much)
Pro Tip: Enable only L1 and L2 or your chart will look like spaghetti
5-Minute Chart 🏃
ATR Lookback: 288 (24 hours of 5-min bars)
Who uses this: Active day traders, news traders
Show Levels: L1, L2, L3
Pro Tip: L2 is your best friend here—perfect for intraday swings
15-Minute Chart 📈
ATR Lookback: 96 (24 hours of 15-min bars)
Who uses this: Swing traders, patient day traders
Show Levels: L1, L2, L3
Pro Tip: This is the "Goldilocks zone"—not too fast, not too slow
1-Hour Chart ⏰
ATR Lookback: 168 (1 week of hourly bars)
Who uses this: Swing traders, position traders
Show Levels: L2, L3, L4
Pro Tip: L3 levels here are like magnets for price action
Daily Chart 📅
ATR Lookback: 30 to 50 (1-2 months)
Who uses this: Investors, long-term traders, people with patience
Show Levels: L2, L3, L4
Pro Tip: L4 on dailies = "Don't fight this level, respect it"
🎨 How to Use This Thing
Add to Chart - Duh! 😄
Set Your ATR Lookback - Use the guide above (don't wing it!)
Enable Relevant Levels - Less is more! Turn off levels that just clutter
Watch the Magic - See horizontal lines appear at key S/R zones
Check the Table - Top-right corner shows current levels (fancy!)
Set Alerts - Get notified when price approaches or breaks levels
Trading Strategies 🎲
The Bounce Play:
Price approaches Level 2 or 3 support → Look for bullish reversal signals
Take profit at the next level resistance
Stop loss just below the support level
The Breakout Play:
Price breaks through Level 2/3 resistance with volume → Go long
Next level becomes your target
Failed breakout? Level becomes resistance again (classic fake-out)
The Confluence Play:
When Level 3 aligns with your favorite indicator (RSI oversold, moving average, Fibonacci) → Chef's kiss! 👨🍳💋
These multi-confirmation setups are where the money lives
🚨 Important Notes (Read This or Blame Yourself Later)
⚠️ This indicator REPAINTS on the current bar until an extreme is confirmed. That's not a bug, it's how directional change works. The past levels are solid as a rock, but the pending one is still... pending.
⚠️ More levels ≠ Better results. Showing all 5 levels is like having 5 GPS apps shouting directions at once. Pick 2-3 levels max.
⚠️ ATR Lookback matters! Wrong setting = garbage results. Use the guide above or experiment carefully.
⚠️ Volatile markets (crypto, meme stocks) work GREAT with this. Choppy, range-bound markets? Meh.
⚠️ Combine with other tools! This shows you WHERE, not WHEN. Use momentum indicators, volume, or your favorite chicken entrails for timing 🐔
🦜 Final Word from Stock Kaka
Remember: Indicators don't make money, traders do. This tool shows you where the market has historically respected structure. What you do with that info? That's on you, champ!
Use proper risk management, don't YOLO your rent money, and may your stops never get hunted 🎯
Trade smart, trade safe, and let Stock Kaka be your guide!
📝 Credits
Algorithm: neurotrader888 (Python implementation)
Pine Script Conversion: Your friendly neighborhood Stock Kaka team!!
Inspiration: Ginger chai, market inefficiencies, and a dash of chaos
📌 Tags
support-and-resistance market-structure atr directional-change multi-timeframe swing-trading day-trading levels hierarchical-analysis algo-trading
Price–Volume Anomaly DetectorDescription
This indicator identifies unusual relationships between price strength and trading volume. By analyzing expected intraday volume behavior and comparing it with current activity, it highlights potential exhaustion, absorption, or expansion events that may signal changing market dynamics.
How It Works
The script profiles average volume by time of day and compares current volume against this adaptive baseline. Combined with normalized price movement (ATR-based), it detects conditions where price and volume diverge:
Exhaustion: Strong price move on low volume (potential fade)
Absorption: Weak price move on high volume (potential reversal)
Expansion: Strong price move on high volume (momentum continuation)
Key Features
Adaptive time-based volume normalization
Configurable sensitivity thresholds
Optional visibility for each anomaly type
Adjustable label transparency and offset
Light Mode support: label text automatically adjusts for dark or light chart backgrounds
Lightweight overlay design
Inputs Overview
Volume Profile Resolution: Defines time bucket size for expected volume
[* ]Lookback Days: Controls how quickly the profile adapts
Price / Volume Thresholds: Tune anomaly sensitivity
Show Expansion / Exhaustion / Absorption: Toggle specific labels
Label Transparency & Offset: Adjust chart visibility
How to Use:
Apply the indicator to any chart or timeframe.
Observe where labels appear:
🔴 Exhaustion: strong price, weak volume
🔵 Absorption: weak price, strong volume
🟢 Expansion: strong price, strong volume
Use these as context clues, not trade signals — combine with broader volume or trend analysis.
How It Helps
Reveals hidden price–volume imbalances
Highlights areas where momentum may be fading or strengthening
Enhances understanding of market behavior beyond raw price action
⚠️Disclaimer:
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
Opening Range + Daily LevelsA comprehensive multi-timeframe indicator designed for intraday traders who need critical support/resistance levels and EMAs all in one clean display.
Features:
📊 EMAs
9 EMA (default: white)
21 EMA (default: orange)
📅 Previous Day Levels
Yesterday's High, Low, Open, and Close
Lines extend progressively through the current session
Clean visual separation between trading days
📈 Previous Week Levels
Last Week's High, Low, Open, and Close
Dotted lines that extend through the current week
Perfect for identifying major support/resistance zones
🌙 Pre-Market Session (12:00 AM - 7:30 AM)
Pre-Market High and Low
Tracks overnight price action
Extends through the trading day
⏰ 15-Minute Opening Range (7:30 AM - 7:45 AM)
Opening Range High and Low with shaded box
Fibonacci retracement levels (0.382, 0.5, 0.618)
Golden ratio levels (0.382 & 0.618) in gold, midpoint (0.5) in dotted gray
Customization:
Adjustable timezone settings
Fully customizable colors for all levels
Adjustable line widths
Toggle Fibonacci levels on/off
Perfect For:
Day traders who need key levels at a glance
Price action traders using previous session data
Opening range breakout strategies
Multi-timeframe analysis
All levels update automatically and extend progressively as the day progresses, with labels staying visible at the current bar edge.






















