Multi-Timeframe TrendBelow is a PineScript that calculates the trend for multiple timeframes (5 minutes, 15 minutes, 1 hour, 4 hours, and daily) using the Relative Strength Index (RSI) and Moving Averages (MA) to determine bullish, bearish, or neutral trends. The script displays the trend information on the TradingView chart using a table.
Bandas e Canais
Super-Elliptic BandsThe core of the "Super-Elliptic Bands" indicator lies in its use of a super-ellipse mathematical model to create dynamic price bands around a central Simple Moving Average (SMA). Here's a concise breakdown of its essential components:
Central Moving Average (MA):
A Simple Moving Average (ta.sma(close, maLen)) serves as the baseline, anchoring the bands to the average price over a user-defined period (default: 50 bars).
Super-Ellipse Formula:
The bands are generated using the super-ellipse equation: |y/b| = (1 - |x/a|^p)^(1/p), where:
x is a normalized bar index based on a user-defined cycle period (periodBase, default: 64), scaled to range from -1 to +1.
a = 1 (fixed semi-major axis).
b is the volatility-based semi-minor axis, calculated as volRaw * mult, where volRaw comes from ta.stdev, ta.atr, or ta.tr (user-selectable).
p (shapeP, default: 2.0) controls the band shape:
p = 2: Elliptical bands.
p < 2: Pointier, diamond-like shapes.
p > 2: Flatter, rectangular-like shapes.
This formula creates bands that dynamically adjust their width and shape based on price volatility and a cyclical component.
enjoy....
Venkat Sir RSI 38Here's a Pine Script (TradingView) code that does the following:
Uses the RSI indicator (Relative Strength Index).
Watches for RSI crossing below level 38 and then crossing above 38.
When RSI crosses above 38 (after having gone below), it plots a green triangle-up symbol above the candle that triggered the cross.
Flexi MA Heat ZonesOverview
Flexi MA Heat Zones is a powerful multi-timeframe visualization tool that helps traders easily identify trend strength, direction, and potential zones of confluence using multiple moving averages and dynamic heatmaps. The indicator plots up to three pairs of customizable moving averages, with color-coded heat zones to highlight bullish and bearish conditions at a glance.
Whether you're a trend follower, mean-reversion trader, or looking for visual confirmation zones, this indicator is designed to offer deep insights with high customizability.
⚙️ Key Features
🔄 Supports multiple MA types: Choose from EMA, SMA, WMA, VWMA to suit your strategy.
🎯 Six moving averages: Three MA pairs (MA1-MA2, MA3-MA4, MA5-MA6), each with independent lengths and colors.
🌈 Heatmap Zones: Dynamic fills between MA pairs, changing color based on bullish or bearish alignment.
👁️🗨️ Full customization: Enable/disable any MA pair and its heatmap zone from the settings.
🪞 Transparency controls: Adjust the visibility of heat zones for clarity or stylistic preference.
🎨 Color-coded for clarity: Bullish and bearish colors for each heat zone pair, fully user-configurable.
🧩 Efficient layout: Smart use of grouped inputs for easier configuration and visibility management.
📈 How to Use
Use the MA1–MA2 and MA3–MA4 zones for longer-term trend tracking and confluence analysis.
Use the faster MA5–MA6 zone for short-term micro-trend identification or scalping.
When a faster MA is above the slower one within a pair, the fill turns bullish (user-defined color).
When the faster MA is below the slower one, the fill turns bearish.
Combine with price action or other indicators for entry/exit confirmation.
🧠 Pro Tips
For trend-following strategies, consider using EMA or WMA types.
For mean-reversion or support/resistance zones, SMA and VWMA may offer better zone clarity.
Overlay with RSI, MACD, or custom entry signals for higher confidence setups.
Use different heatmap transparencies to visually separate overlapping MA zones.
Moving Average Exponential (Daily Frozen EMA)This script plots an Exponential Moving Average (EMA) based on the daily timeframe, but with a unique twist:
✅ The EMA value is frozen for the entire current daily session, only updating when a new daily candle begins.
🔍 How it works:
The EMA is calculated using the 1-day timeframe, regardless of the chart's current timeframe.
This EMA value remains fixed throughout the day — it doesn't fluctuate intrabar.
It updates only once the daily candle has closed, providing a stable and reliable reference point during the trading day.
The default is the 5 day EMA but can be changed to any EMA timeframe you desire such as 9, 21, 50, 100. 200, etc.
✨ Additional Features:
✅ Optional smoothing with various moving average types (SMA, EMA, WMA, SMMA, VWMA).
✅ Optional Bollinger Bands on top of the smoothed EMA.
✅ Adjustable settings for EMA length, smoothing type, Bollinger Band deviation, and display options.
🛠️ Use Cases:
Ideal for traders who want a non-reactive EMA during intraday trading.
Helps reduce signal noise by anchoring EMA to higher timeframe structure.
Useful for strategy development where EMA should represent confirmed daily bias only.
Hope this helps, happy trading!
Intelligent Moving📘 Intelligent Moving – Adaptive Neural Trend Engine
Intelligent Moving is an invite-only, closed-source indicator that dynamically adjusts itself to evolving market conditions using a built-in neural optimizer. It combines a custom adaptive Moving Average, ATR-based deviation bands, and a fully internal virtual trade simulator to deliver smart trend signals and automatic parameter tuning — all without repainting or manual intervention.
This script is built entirely from original code and does not use any open-source components or built-in TradingView indicators.
🧠 Core Logic and Visual Structure
The indicator plots:
- A central moving average (optimized dynamically),
- Upper and lower deviation bands based on ATR × adaptive coefficients,
- Buy (aqua) and Sell (orange) arrows on reversion signals,
- Color-coded trend zones based on price vs. moving average.
All three bands change color in real time depending on the price’s position relative to the MA, clearly showing uptrends (e.g. blue) and downtrends (e.g. red).
📈 Signal Logic: Reversion from Extremes
- Buy Signal: After price closes below the lower deviation band, it then closes back above it.
- Sell Signal: After price closes above the upper deviation band, it then closes back below it.
These signals are not based on crossovers, oscillators, or lagging logic — they are pure structure-based reversion entries, designed to detect exhaustion and reversal zones.
🤖 Built-In Neural Optimizer (Perceptron Engine)
At the heart of Intelligent Moving lies a self-training engine that uses simulated (virtual) positions to test multiple configurations and pick the best one. Here’s how it works:
🔄 Virtual Trade Simulation
At regular intervals (user-defined), the script:
- Simulates virtual buy/sell positions based on its signal logic.
- Applies virtual Stop-Loss (just beyond the signal zone) and virtual Take-Profit (when price crosses back over the MA).
- Calculates simulated profit for each combination of:
- - MA periods,
- - Upper/lower ATR multipliers.
🧠 Neural Training Process
- A perceptron-like engine evaluates the simulated results.
- It selects the best-performing configuration and applies it to live plotting.
- You can choose whether optimization uses a base value or the last best result from the previous training pass.
This process runs forward-only and never overwrites history or uses future data. It's completely transparent and non-repainting.
⚙️ Customization and Parameters
Users can control:
- MA period range, step, and training type (base vs last best)
- Deviation multiplier ranges and step
- Training depth (number of bars in history)
- Training interval (how often to retrain)
- Spread simulation, alert options, and all visual settings
💡 What Makes It Unique
- ✅ Self-optimization with virtual trades and perceptron logic
- ✅ Adaptive deviation bands based on ATR (not standard deviation)
- ✅ No built-in indicators, no repaints, no curve-fitting
- ✅ Clear trend zones and reversal signals
- ✅ Optimized for live use and consistent behavior across assets
Unlike typical moving average tools, Intelligent Moving thinks, adapts, and reacts — turning a standard concept into a living, learning trend engine.
📊 Use Cases
- Trend detection with adaptive coloring
- Reversion trading from volatility extremes
- Dynamic strategy building with minimal manual input
- Alerts for automated or discretionary traders
🔒 Invite-Only Notice
This script is invite-only and closed-source.
The optimization logic, trade simulation system, and perceptron engine were developed from scratch, specifically for this indicator. No built-in functions (e.g. MA, BB, RSI) or public scripts were used or copied.
All decisions and calculations are based on current and past price only — no repainting, retrofitting, or future leakage.
⚠️ Disclaimer
This indicator is for educational and analytical use only.
It does not predict future prices or guarantee profits. Always use appropriate risk management and test thoroughly before live trading.
Double Fractal Entry📘 Double Fractal Entry – Original Structure-Based Entry System
Double Fractal Entry is a proprietary indicator that uses dynamic fractal structure to generate actionable buy/sell signals, with automatic Stop-Loss and Take-Profit placement. Unlike classic fractal tools or ZigZag-based visuals, this script constructs real-time structural channels from price extremes and offers precise entry points based on breakout or rejection behavior.
It is designed for traders who want a clear, structured approach to trading price action — without repainting, lagging indicators, or built-in oscillators.
🧠 Core Logic
This script combines three custom-built modules:
1. Fractal Detection and Channel Construction
- Fractals are detected using a configurable number of left/right bars (sensitivity).
- Confirmed upper/lower fractals are connected into two continuous channels.
- These channels represent real-time structure zones that evolve with price.
2. Entry Signal Logic
You can choose between two signal types:
- Breakout Mode – Triggers when price breaks above the upper fractal structure (for buys) or below the lower one (for sells).
- Rebound Mode – Triggers when price approaches a fractal channel and then rejects it (forms a reversal setup).
Each signal includes:
- Entry arrow on the chart
- Horizontal entry line
- Stop-Loss and Take-Profit lines
3. SL/TP Calculation
Unlike tools that use ATR or fixed values, SL and TP are dynamically set using the fractal range — the distance between the most recent upper and lower fractals. This makes the risk model adaptive to market volatility and structure.
📊 Visuals on the Chart
- 🔺 Green/Red triangle markers = confirmed fractals
- 📈 Lime/Red channel lines = evolving upper/lower structure
- 🔵 Blue arrow = signal direction (buy/sell)
- 📉 SL/TP lines = dynamically drawn based on fractal spacing
- 🔁 Signal history = optional, toggleable for backtesting
⚙️ Settings and Customization
- Fractal sensitivity (bars left/right)
- Entry mode: Breakout or Rebound
- SL and TP multiplier (based on fractal range)
- Visibility settings (signal history, lines, colors, etc.)
💡 What Makes It Unique
This is not just a variation of standard fractals or a ZigZag wrapper.
Double Fractal Entry was built entirely from scratch and includes:
- ✅ A dual-channel system that shows the live market structure
- ✅ Entry signals based on price behavior around key zones
- ✅ Volatility-adaptive SL/TP levels for realistic trade management
- ✅ Clean, non-repainting logic for both manual and automated use
The goal is to simplify structure trading and provide precise, repeatable entries in any market condition.
🧪 Use Cases
- Breakout mode – Ideal for trend continuation and momentum entries
- Rebound mode – Great for reversals, pullbacks, and range-bound markets
- Can be used standalone or combined with volume/trend filters
🔒 Invite-Only Notice
This is an invite-only script with a fully closed source.
All logic is original and developed by the author. It does not use or copy public open-source scripts, built-in indicators (RSI, MA, etc.), or repainting tricks. The entire entry and risk system is based on custom structural logic built from real-time price action.
⚠️ Disclaimer
This tool is intended for technical analysis and educational use. It does not predict future market direction and should be used with proper risk management and strategy confirmation.
Support/Resistance MTF Merge ZonesIndicator Introduction
Support/Resistance MTF Merge Zones is an advanced technical analysis tool that automatically identifies and merges key support/resistance zones by analyzing highs and lows from multiple timeframes (15M, 1H, 4H, Daily).
Key Features
Multi-Timeframe Analysis: Integrates data from 15M, 1H, 4H, and Daily charts
Smart Zone Merging: Automatically consolidates levels within a specified percentage range into unified zones
Dynamic Color System: Distinguishes support/resistance zones based on position relative to current price
Strength Indication: Highlights zones where multiple levels converge as strong zones
Usage Guide
Configuration Parameters
Lookback Period (10): Period for calculating highs/lows
Adjustable range: 5-30
Higher values detect more long-term levels
Zone Merge % (0.5): Percentage threshold for zone merging
Range: 0.1-2.0%
Higher values merge levels across wider price ranges
Min Levels for Zone (2): Minimum number of levels required to form a zone
Range: 2-5 levels
Higher values display only more confirmed zones
Box Opacity (7): Transparency level of zone boxes
Range: 0-100%
Color Scheme
Red: Resistance zones above current price
Blue: Support zones below current price
Orange: Strong zones (3+ merged levels)
Enhanced FVG + BOS & Liquidity Prediction with Alerts### How to use:
1. Add this script to TradingView.
2. Go to the **Alerts** tab.
3. Create new alerts:
- Choose **"Enhanced FVG + BOS & Liquidity Prediction with Alerts"**.
- Select **"Bullish Reversal Alert"** or **"Bearish Reversal Alert"**.
- Set the trigger to **"Once"** or **"Every time"** based on your preference.
### Summary:
- The alerts fire when the combined signals (BOS, Liquidity Sweep, trend, candlestick pattern) strongly suggest a reversal.
- The **labels** and **shapes** give visual confirmation on your chart.
Zone Shift [ChartPrime]⯁ OVERVIEW
Zone Shift is a dynamic trend detection tool that uses EMA/HMA-based bands to determine trend shifts and plot key reaction levels. It highlights trend direction through colored candles and marks important retests with visual cues to help traders stay aligned with momentum.
⯁ KEY FEATURES
Dynamic EMA-HMA Band:
Creates a three-line channel using the average of an EMA and HMA for the midline, and expands it using average candle range to form upper and lower bounds. This band visually adapts to market volatility.
float ema = ta.ema(close, length)
float hma = ta.hma(close, length-40)
float dist = ta.sma(high-low, 200)
float mid = math.avg(ema, hma)
float top = mid + dist
float bot = mid - dist
Trend Detection (Band Cross Logic):
Detects an uptrend when the Low crosses above the top band.
Detects a downtrend when the High crosses below the bottom band.
Bars change color to lime for uptrends and blue for downtrends.
Trend Initiation Level:
At the start of a new trend, the indicator locks in the extreme point (low for uptrend, high for downtrend) and plots a dashed horizontal level, serving as a potential retest zone.
Trend Retest Signal:
If price crosses back over the Trend Initiation level in the direction of the trend, a diamond label (⯁) is plotted at the retest point — confirming that price is revisiting a key shift level.
Visual Band Layout:
Midline: Dashed line shows the average of EMA and HMA.
Top/Bottom: Solid lines showing dynamic thresholds above/below the midline.
These help visualize compression, expansion, and possible breakout zones.
Color-Based Candle Plotting:
Candles are recolored in real time according to the current trend, allowing instant visual alignment with the market’s directional bias.
Noise-Filtered Retests:
To avoid repetitive signals, retests are only marked if they occur more than 5 bars after the previous one — filtering out minor fluctuations.
⯁ USAGE
Use colored candles to align trades with the dominant trend.
Treat dashed trendStart levels as important support/resistance zones.
Watch for ⯁ diamond labels as confirmation of retests for continuation or entry.
Use band boundaries to assess trend strength and volatility expansion.
Combine with your existing setups to validate momentum and zone shifts.
⯁ CONCLUSION
Zone Shift helps traders visually capture trend changes and key reaction points with precision. By combining band breakouts with real-time retest signals and trend-colored candles, this tool simplifies the process of reading market structure shifts and identifying high-confluence entry areas.
Corys Buy and SellThe Cory’s Buy and Sell indicator is an advanced, all-in-one trading toolkit that combines dynamic trend detection, volatility breakout alerts, and visual EMA strength to help traders confidently identify high-probability buy and sell opportunities.
🔍 Key Features:
Adaptive Supertrend Engine
Powered by a modified Keltner Channel, this trend-following algorithm generates timely BUY 🚀 and SELL 😡 signals based on market momentum and volatility, with adjustable sensitivity and factor settings for full control.
EMA Energy Bands (Optional)
A cascade of 15 EMAs (from 9 to 51 periods) visually maps market energy. Colours shift from green (bullish) to red (bearish), showing short- to medium-term trend strength at a glance.
Trend Catcher Overlay
Highlights major shifts in trend using a fast/slow EMA crossover (10 vs 20 EMA). Bars are coloured to reflect bullish reversals for added confidence.
Pullback Signal Detection
Identifies bullish pullback opportunities when price reclaims key EMA levels after a crossover, marked with a green triangle for entry timing.
Built-in Range Detection System
Automatically highlights price consolidation zones using ATR-based logic. When price breaks above or below the detected range, the zone changes colour (green for breakout up, red for breakdown), helping traders spot breakout opportunities.
Smart Labels & Alerts
Instant BUY/SELL labels on the chart and built-in alert conditions make this indicator suitable for both discretionary and automated trading strategies.
⚙️ Customisable Inputs:
Sensitivity (for trend signals)
EMA Energy toggle
Keltner & ATR Lengths
Range Detection parameters and styling
Best For: Trend traders, breakout traders, and swing traders looking for a clean, powerful overlay that combines momentum, structure, and volatility in one tool.
Fractal Support and Resistance [BigBeluga]🔵 OVERVIEW
The Fractal Support and Resistance indicator automatically identifies high-probability support and resistance zones based on repeated fractal touches. When a defined number of fractal highs or lows cluster around the same price zone, the indicator plots a clean horizontal level and shaded zone, helping traders visualize structurally important areas where price may react.
🔵 CONCEPTS
Fractal Points: Swing highs and lows based on user-defined left and right range (length). A valid fractal forms only when the center candle is higher or lower than its neighbors.
Zone Validation: A level is only confirmed when the price has printed the specified number of fractals (e.g., 3) within a narrow ATR-defined range.
Dynamic Zone Calculation: The plotted level can be based on the average of clustered fractals or on the extreme value (min or max), depending on the user’s choice.
Support/Resistance Zones: Once a zone is validated, a horizontal line and shaded box are drawn and automatically extended into the future until new valid clusters form.
Auto-Clean & Reactivity: Each zone persists until replaced by a new fractal cluster, ensuring the chart remains uncluttered and adaptive.
🔵 FEATURES
Detects swing fractals using adjustable left/right range.
Confirms zones when a defined number of fractals occur near the same price.
Plots horizontal level and shaded box for visual clarity.
Choice between average or min/max logic for level calculation.
Distinct color inputs for support (green) and resistance (orange) zones.
Adaptive auto-extension keeps valid zones projected into the future.
Displays optional triangle markers above/below bars where fractals form.
Clean design optimized for structural S/R analysis.
🔵 HOW TO USE
Use support zones (from low fractals) to look for potential long entries or bounce points .
Use resistance zones (from high fractals) to look for short setups or rejections .
Adjust the Fractals Qty to make zones more or less strict—e.g., 3 for higher reliability, 2 for quicker responsiveness.
Combine with liquidity indicators or break/retest logic to validate zone strength.
Toggle between average and min/max mode to fit your style (average for balance, extremes for aggression).
🔵 CONCLUSION
Fractal Support and Resistance offers a robust way to identify hidden levels that the market respects repeatedly. By requiring multiple fractal confirmations within a zone, it filters out noise and highlights clean structural areas of interest. This tool is ideal for traders who want automatic, adaptive, and reliable S/R levels grounded in raw market structure.
Smart Money Breakout Channels [AlgoAlpha]🟠 OVERVIEW
This script draws breakout detection zones called “Smart Money Breakout Channels” based on volatility-normalized price movement and visualizes them as dynamic boxes with volume overlays. It identifies temporary accumulation or distribution ranges using a custom normalized volatility metric and tracks when price breaks out of those zones—either upward or downward. Each channel represents a structured range where smart money may be active, helping traders anticipate key breakouts with added context from volume delta, up/down volume, and a visual gradient gauge for momentum bias.
🟠 CONCEPTS
The script calculates normalized price volatility by measuring the standard deviation of price mapped to a scale using the highest and lowest prices over a set lookback period. When normalized volatility reaches a local low and flips upward, a boxed channel is drawn between the highest and lowest prices in that zone. These boxes persist until price breaks out, either with a strong candle close (configurable) or by touching the boundary. Volume analysis enhances interpretation by rendering delta bars inside the box, showing volume distribution during the channel. Additionally, a real-time visual “gauge” shows where volume delta sits within the channel range, helping users spot pressure imbalances.
🟠 FEATURES
Automatic detection and drawing of breakout channels based on volatility-normalized price pivots.
Optional nested channels to allow multiple simultaneous zones or a clean single-zone view.
Gradient-filled volume gauge with dynamic pointer to show current delta pressure within the box.
Three volume visualization modes: raw volume, comparative up/down volume, and delta.
Alerts for new channel creation and confirmed bullish or bearish breakouts.
🟠 USAGE
Apply the indicator to any chart. Wait for a new breakout box to form—this occurs when volatility behavior shifts and a stable range emerges. Once a box appears, monitor price relative to its boundaries. A breakout above suggests bullish continuation, below suggests bearish continuation; signals are stronger when “Strong Closes Only” is enabled.
Watch the internal volume candles to understand where buy/sell pressure is concentrated during the box. Use the gauge on the right to interpret whether net pressure is building upward or downward before breakout to anticipate the direction.
Use alerts to catch breakout events without needing to monitor the chart constantly 🚨.
MBDOM EMACROSS 5_13 with BB_EMA & Multi-Timeframe"MBDOM EMACROSS 5_13 with BB_EMA & Multi-Timeframe"
This Pine Script indicator is designed for multi-timeframe trend analysis using EMA crossovers (5 & 13) along with Bollinger Bands (BB) for additional confirmation.
Key Features:
Multi-Timeframe EMA Analysis
Tracks EMA 5 & 13 crossovers across higher (D, W, M) and lower (60min) timeframes.
Displays a summary table showing bullish (✓) or bearish (✓) signals for each timeframe.
EMA Crossovers (Current Chart)
Plots EMA 5, 9, 13, 21, 50, and 200 for trend identification.
Fills between EMA 5 & 13 (green if bullish, red if bearish).
Generates BUY/SELL signals when EMA 5 crosses above/below EMA 13.
Bollinger Bands (BB)
Plots BB (20-period, 2x multiplier) with upper/lower bands and a moving average basis.
Alerts & Visual Enhancements
Triggers alerts for EMA 5/13 crossovers.
Uses background color changes to highlight bullish/bearish conditions.
Use Case:
Helps traders confirm trends across multiple timeframes.
Provides entry/exit signals based on EMA crossovers.
Combines trend-following (EMA) and volatility (BB) indicators.
This script is useful for swing traders and trend followers who rely on multi-timeframe confluence for decision-making.
HBD.warning wave scanningThis indicator is a detailed technical analysis tool designed to track trading splits, identify potential trend reversals, and monitor key price movements in the cryptocurrency markets. Available in multiple versions, these indicators combine various options to help you understand market dynamics. Fibonacci levels automatically change. These are important areas within the orange zone. You can set alarms for these levels. Enjoy the benefits.
Nifty 500 Scanner
Nifty 500 Scanner
Your Ultimate TradingView Tool for Swing and Intraday Trading
🔥 Introduction
✅ If you want to find out which stock out of 500 stocks of Nifty500 is:
showing reversal pattern candles after a long down or up trend
also bouncing from support/resistance
and that stock gives you live alerts when this condition occurs
Then, look no further. Nifty500 Scanner is just for you.
📊 What is the Nifty 500 Scanner?
The Nifty 500 Scanner is a powerful TradingView indicator for Indian stocks designed to help you identify bullish and bearish reversal signals across all timeframes. Whether you are an intraday trader or a swing trader, this tool gives you an edge by scanning predefined groups of Nifty 500 stocks and visually showing you high-probability setups.
🔥 Key Features
Scans all Nifty 500 stocks in batches of 25 (20 groups in total). Takes less than 10 minutes to select bearish or bullish reversal stocks out of 500 stocks.
Detects over 50 advanced candlestick patterns, divergences, and trend changes in one go in all the selected stocks and displays result right on your chart in the form of a table.
Auto-populated real-time table display with signal count and color-coded results.
TradingView alerts for instant notification of reversal setups.
Shows key support and resistance levels for each stock.
Fully compatible with all timeframes – from 1 minutes to monthly chart.
✅ Why Traders Would Love It?
Eliminates manual chart scanning – saves hours every week.
Improves trade accuracy by filtering out weak setups.
Instantly tells you which stocks to trade tomorrow (if using after market hours)
Built for Indian market conditions and TradingView users.
⚙️ How It Works?
Select a stock group from the dropdown menu (Available in indicator settings).
Suppose you select Group1 and press OK, voila.. the scanner automatically runs through 25 predefined Nifty 500 stocks and updates the table in quick time.
The table shows which stocks are giving bullish or bearish signals and also tells you how many such signals are there. The more signals, the more conviction for upcoming reversal.
Open chart of any stock mentioned in the table to have a detailed look.
The chart will show you a consolidation zone, support/resistance lines automatically.
Set up alerts for your favorite stocks and let TradingView notify you when new signals emerge for that particular stock.
📌 Important Notes
Stock groups are hard-coded into the script and cannot be modified by the user.
Custom versions for other countries or indices (e.g., S&P 500, FTSE) can be created upon request.
🔍 Optimized For
Swing traders and intraday traders seeking high-probability setups.
Technical analysts using TradingView to analyze Indian stock charts.
Traders looking for an advanced reversal signal scanner.
🚀 Ready to Trade Smarter?
Start using the Nifty 500 Scanner on TradingView and never miss a reversal signal again.
Get Access Now.
Trigonometric Sine Cosine WavesTrigonometric Sine Cosine Waves - Advanced Cyclical Analysis
Overview
This innovative indicator applies trigonometric mathematics to market analysis, generating dynamic sine and cosine waves that adapt to price movement and volatility. Unlike traditional oscillators, this tool visualizes market cycles directly on your chart using mathematical wave functions.
How It Works
The indicator calculates phase-based waves using:
• Phase Calculation: 2π × bar_index / cycle_length
• Adaptive Amplitude: EMA-based price + ATR volatility scaling
• Sine Wave: avgPrice + volatility × sin(phase)
• Cosine Wave: avgPrice + volatility × cos(phase)
Key Features
Dynamic Wave Generation
• Sine Wave: Primary cycle indicator with smooth transitions
• Cosine Wave: Leading indicator (90° phase difference from sine)
• Adaptive Amplitude: Automatically adjusts to market volatility using ATR
Turning Point Detection
• Anti-Repaint Signals: Uses confirmed values from previous bars
• Sine Bottom: Potential buy zones when wave transitions from down to up
• Sine Top: Potential sell zones when wave transitions from up to down
Advanced Analytics
• Price Correlation Angle: Shows relationship between price movement and cycle
• Phase Information: Current position in the mathematical cycle
• Real-time Values: Live sine/cosine values and phase degrees
Visual Enhancement
• Background Coloring: Changes based on sine wave position (above/below zero)
• Clean Overlay: Waves plot directly on price chart without cluttering
Parameters
• Cycle Length (5-200): Controls wave frequency - shorter = more sensitive
• Amplitude Multiplier (0.1-5.0): Adjusts wave height relative to volatility
• Display Options : Toggle sine wave, cosine wave, and correlation table
• Show Correlation : Optional table showing mathematical values
Trading Applications
Cycle Analysis
• Identify market rhythm and timing
• Spot potential reversal zones
• Understand price-to-cycle relationships
Entry/Exit Timing
• Buy Signals: Sine wave bottoms (cycle lows)
• Sell Signals: Sine wave tops (cycle highs)
• Confirmation: Use with other indicators for higher probability setups
Market Structure
• Visualize underlying market cycles
• Identify periods of high/low cyclical activity
• Track phase relationships between price and mathematical cycles
Pro Tips
1. Longer cycles (50-100) work better for swing trading
2. Shorter cycles (10-20) suitable for scalping
3. Combine with volume for stronger signal confirmation
4. Monitor correlation angle for trend strength assessment
5. Use background color as quick visual cycle reference
Important Notes
• Signals are anti-repaint using confirmed previous bar values
• Best used in trending or cyclical markets
• Consider market context when interpreting signals
• Mathematical approach - not based on traditional TA concepts
Alerts Included
• Sine Wave Buy Signal: Triggered on wave bottom detection
• Sine Wave Sell Signal: Triggered on wave top detection
Technical Requirements
• Pine Script v6
• Works on all timeframes
• No external dependencies
• Optimized for performance
This is a free, open-source indicator. Feel free to modify and improve according to your trading needs!
Educational Value: Perfect for understanding how mathematical functions can be applied to market analysis and cycle detection.
CRYPTOMATH RSI Pro+This custom RSI indicator was built for the Cryptomath community.
It features clean visual signals with color-coded zones that highlight overbought and oversold conditions, helping traders quickly spot potential reversal areas.
Great for swing traders and intraday decision-making.
OB/OS adaptative v1.1# OB/OS Adaptative v1.1 - Multi-Timeframe Adaptive Overbought/Oversold Indicator
## Overview
The `tradingview_indicator_emas.pine` script is a sophisticated multi-timeframe indicator designed to identify dynamic overbought and oversold levels in financial markets. It combines EMA (Exponential Moving Average) crossovers and Bollinger Bands across monthly, weekly, and daily timeframes to create adaptive support and resistance levels that adjust to changing market conditions.
## Core Functionality
### Multi-Timeframe Analysis
The indicator analyzes three timeframes simultaneously:
- **Monthly (M)**: Long-term trend identification
- **Weekly (W)**: Intermediate-term trend identification
- **Daily (D)**: Short-term volatility measurement
### Technical Indicators Used
- **EMA 9 and EMA 20**: For trend identification and momentum assessment
- **Bollinger Bands (20-period)**: For volatility measurement and extreme level identification
- **Price action**: For confirmation of level validity and signal generation
## Key Features
### Adaptive Level Calculation
The indicator dynamically determines overbought and oversold levels based on market structure and trend bias:
#### Monthly Level Logic
- **Bullish Bias** (when monthly open > EMA20):
- Oversold = lower of EMA9 or EMA20
- Overbought = upper of EMA9 or Bollinger Upper Band
- **Bearish/Neutral Bias** (when monthly open ≤ EMA20):
- Oversold = Bollinger Lower Band
- Overbought = upper of EMA20 or EMA9
#### Weekly Level Logic
- **Bullish Bias** (when weekly open > EMA20):
- Oversold = lower of EMA9 or EMA20
- Overbought = Bollinger Upper Band
- **Bearish/Neutral Bias** (when weekly open ≤ EMA20):
- Oversold = Bollinger Lower Band
- Overbought = upper of EMA20 or EMA9
#### Daily Level Logic
- Simple Bollinger Bands:
- Oversold = Bollinger Lower Band
- Overbought = Bollinger Upper Band
### Final Level Determination
The indicator combines all three timeframes through a weighted averaging process:
1. Calculates initial values as the average of monthly, weekly, and daily levels
2. Ensures mathematical consistency by enforcing overbought_final ≥ oversold_final using min/max functions
3. Calculates a midpoint average level as the center of the range
### Visual Elements
- **Dynamic Lines**: Draws horizontal lines for current and previous period overbought, oversold, and average levels
- **Labels**: Places clear textual labels at the start of each period
- **Color Coding**:
- Red for overbought levels (resistance)
- Green for oversold levels (support)
- Blue for average levels (pivot point)
- **Transparency**: Previous period lines use semi-transparent colors to distinguish between current and historical levels
### Update Mechanism
- **Calculation Day**: User-defined day of the week (default: Monday)
- On the specified calculation day, the indicator:
- Updates all levels based on previous bar's data
- Draws new lines extending forward for a user-defined number of days
- Maintains previous period lines for comparison and trend analysis
- Automatically deletes and recreates lines to ensure clean visualization
### Proximity Detection
- Alerts when price approaches overbought/oversold levels (configurable distance in percentage)
- Helps identify potential reversal zones before actual crossovers occur
- Distance thresholds are user-configurable for both overbought and oversold conditions
### Alert Conditions
The indicator provides four distinct alert types:
1. **Cross below oversold**: Triggered when price crosses below the oversold level
2. **Cross above overbought**: Triggered when price crosses above the overbought level
3. **Near oversold**: Triggered when price approaches the oversold level within the configured distance
4. **Near overbought**: Triggered when price approaches the overbought level within the configured distance
### Debug Mode
When enabled, displays comprehensive debug information including:
- Current values for all levels (oversold, overbought, average)
- Timeframe-specific calculations and raw data points
- System status information (current day, calculation day, etc.)
- Lines existence and timing information
- Organized in multiple labels at different price levels to avoid overlap
## Configuration Parameters
| Parameter | Default Value | Description |
|---------|---------------|-------------|
| Short EMA (9) | 9 | Length for short-term EMA calculation |
| Long EMA (20) | 20 | Length for long-term EMA calculation |
| BB Length | 20 | Period for Bollinger Bands calculation |
| Std Dev | 2.0 | Standard deviation multiplier for Bollinger Bands |
| Distance to overbought (%) | 0.5 | Percentage threshold for "near overbought" alerts |
| Distance to oversold (%) | 0.5 | Percentage threshold for "near oversold" alerts |
| Calculation day | Monday | Day of week when levels are recalculated |
| Lookback days | 7 | Number of days to extend previous period lines backward |
| Forward days | 7 | Number of days to extend current period lines forward |
| Show Debug Labels | false | Toggle for comprehensive debug information display |
## Trading Applications
### Primary Use Cases
1. **Reversal Trading**: Identify potential reversal zones when price approaches overbought/oversold levels
2. **Trend Confirmation**: Use the adaptive nature of levels to confirm trend strength and direction
3. **Position Sizing**: Adjust position size based on distance from key levels
4. **Stop Placement**: Use opposite levels as dynamic stop-loss references
### Strategic Advantages
- **Adaptive Nature**: Levels adjust to changing market volatility and trend structure
- **Multi-Timeframe Confirmation**: Signals are validated across multiple timeframes
- **Visual Clarity**: Clear color-coded lines and labels enhance decision-making
- **Proactive Alerts**: "Near" conditions provide early warnings before crossovers
## Implementation Details
### Data Security
Uses `request.security()` function to fetch data from higher timeframes (monthly, weekly) while maintaining proper bar indexing with ` ` offset for open prices.
### Performance Optimization
- Uses `var` keyword to declare persistent variables that maintain state across bars
- Efficient line and label management with proper deletion before recreation
- Conditional execution of debug code to minimize performance impact
### Error Handling
- Comprehensive NA (not available) checks throughout the code
- Graceful degradation when data is unavailable for higher timeframes
- Mathematical safeguards to prevent invalid level calculations
## Conclusion
The OB/OS Adaptative v1.1 indicator represents a sophisticated approach to identifying market extremes by combining multiple technical analysis concepts. Its adaptive nature makes it particularly useful in trending markets where static levels may be less effective. The multi-timeframe approach provides a comprehensive view of market structure, while the visual elements and alert system enhance its practical utility for active traders.
ORx📌 Public Description for ORx - Opening Range Expansion
ORx - Opening Range Expansion is an advanced visual indicator designed to highlight trading zones based on the high and low of the first 4 candles of the 5-minute timeframe after the session opens.
🔹 Available session presets:
Market Open → from 6:00 PM NY to 6:00 PM the next day
Kill Zone NY → from 7:00 AM to 11:00 AM NY (ideal for high-liquidity windows)
Week Open → starts Sunday at 6:00 PM NY and ends Friday at 6:00 PM NY (weekly macro context)
🔹 Automatically drawn components:
Opening Range channel
Neutral zones (same size as the OR, above and below)
Multiple expansion zones (up to 5, user-defined)
Intermediate levels between each expansion
🔹 Customization options:
User-defined color and line style for each type of zone
Built with America/New_York timezone logic for maximum session accuracy
🧠 Ideal for traders using price structure, institutional flow, SMC, or ICT-based approaches.
⚠️ Best used on 5-minute charts to ensure proper zone calibration.
Multi EMA SMA ramlakshman_BandThis advanced technical indicator overlays 20 customizable moving averages of two types (EMA & SMA) along with Bollinger Bands on your chart, enabling layered trend visualization and precise momentum tracking.
🔍 Features:
EMA Group: Select from 9 MA types (ema, sma, wma, vwma, hma, swma, alma, rma, linreg) and plot 20 different EMAs with fully adjustable lengths.
SMA Group: Same flexibility as EMAs, for 20 SMA lines, each with individual length input.
Bollinger Bands: Classic 20-period bands (configurable length and stddev), shaded for clear volatility recognition.
Toggle visibility for EMAs, SMAs, and BBs independently.
Color-coded lines for immediate visual grouping and clarity.
🎯 Use Case:
Designed for systematic traders, scalpers, trend followers, and algorithmic strategists who rely on MA crossovers, ribbon convergence/divergence, and volatility envelopes to generate signals or validate entries/exits.
🧠 Bonus:
Built on Pine Script v6 for max performance.
Optimized ma() function for dynamic multi-type averaging.
Custom hma() logic included for accurate Hull MA support.
Dily-weekly CPR @RamlakshmanDaily & Weekly CPR Levels with Multi-MA & Camarilla Bands by @Bull_Bear_Beast
This powerful script is a comprehensive support-resistance and trend structure tool, combining:
🔹 Daily & Weekly CPR Levels
Central Pivot Range (CPR) including TC (Top Central), P (Pivot), BC (Bottom Central).
Classic Pivots: R1 / S1.
Previous Day’s High-Low and Previous Week’s High-Low lines for accurate market context.
🔸 Camarilla Bands (H5–H3, L3–L5)
Powerful reversal & breakout zones:
H3 / L3: Reversal Levels.
H4 / L4: SL Zones.
H5 / L5: Extreme Rejection / Trend Continuation Zones.
Visual zone fill between levels for clarity and confluence.
📈 Multi-Moving Averages (MA Cluster)
Up to 3 customizable EMAs and 1 SMA.
Choose from different types: EMA, SMA, WMA, VWMA, ALMA, HMA, RMA, Linear Regression.
Display Bollinger Bands using SMA with custom deviation.
🔍 Highlights:
✅ Timeframe-Aware: Daily pivots shown on intraday charts, Weekly pivots on higher timeframes.
✅ Stylish Visuals: Colored zone fills between key levels (H5–H3, L3–L5), CPR ranges, and BB bands.
✅ Modular Display Options: Toggle visibility of EMAs, SMAs, BBs, and labels.
✅ Smart Plotting: Avoids clutter by showing pivots only when relevant.
🛠️ Best Used For:
Intraday scalping with CPR + Camarilla reversals.
Swing setups using weekly levels for confluence.
Spotting trend vs. consolidation zones via BBs and MAs.
Identifying fake breakouts around L3/H3 and CPR traps.
⚙️ User Tips:
Use on 5m to 1H charts for day trading.
Combine with price action, volume profile, or RSI divergence.
Watch for confluence between CPR, Camarilla, and previous highs/lows.
✨ Inspired By:
Floor Pivots, Camarilla Math, Smart Money Concepts, and popular institutional tools — wrapped into one flexible layout for the modern trader.
🧠 Created by: @Bull_Bear_Beast
If you like it, consider following or sharing feedback for improvements!