MA Band Zones with AlertsThis is a simple script with alerts.
Its a tool, helps traders, who works on price average range, to identify zones away from Moving average + and - side.
it will work on sma, ema, wma.
custom TF
custom source
alert 5 alert variation to choose from.
there is small glitch, kindly uncheck both the background boxes in in the input setting. it will removed in the next version
Breadth Indicators
Turtle Trading System + ATR Trailing StopIndicator Description: Turtle ATR Trailing Stop
The **Turtle ATR Trailing Stop** is a technical indicator designed to enhance the classic Turtle Trading System by incorporating a dynamic trailing stop based on the Average True Range (ATR). This indicator is ideal for traders seeking to manage risk and lock in profits on both long and short positions in trending markets.
Key Features:
- Turtle Trading Levels: Calculates the 20-day highest high and lowest low to identify potential breakout points, a core principle of the Turtle Trading System.
- ATR-Based Trailing Stop: Utilizes a trailing stop that adjusts dynamically based on a multiple of the ATR (default multiplier: 2.0), providing a volatility-adjusted exit mechanism.
- Position Flexibility: Supports both long and short positions, with the trailing stop positioned below the highest price for long trades and above the lowest price for short trades.
- Smooth Updates: The trailing stop updates on each bar, ensuring a more responsive adjustment to price movements, rather than only on new highs or lows.
- Reset Mechanism: Automatically resets the trailing stop when the price deviates significantly (configurable threshold, default 0.1%), adapting to major trend reversals.
- Alerts: Includes customizable alerts that trigger when the price reaches the trailing stop level, notifying traders of potential exit points.
- Debugging Tools: Features an on-chart debug table displaying ATR, Close, Highest Price, Lowest Price, Potential Stop, and Trailing Stop values for real-time analysis.
How It Works:
- For **Long Positions**: The trailing stop starts below the initial close price (minus 2*ATR) and moves up as the highest price increases, locking in profits while trailing at a fixed ATR distance.
- For **Short Positions**: The trailing stop starts above the initial close price (plus 2*ATR) and moves down as the lowest price decreases, protecting against upward price movements.
- The stop resets if the price falls (for long) or rises (for short) beyond the set threshold, ensuring adaptability to new market conditions.
Customization:
- Period Settings: Adjust the length for highs/lows (default 20) and ATR period (default 14).
- ATR Multiplier: Modify the distance of the trailing stop (default 2.0).
- Reset Threshold: Fine-tune the percentage at which the stop resets (default 0.1%).
- Position Type: Switch between "Long" and "Short" modes via input settings.
Usage:
Apply this indicator to any chart in TradingView, set your preferred parameters, and monitor the trailing stop line (yellow) alongside the Turtle highs (red) and lows (blue). Use the debug table to validate calculations and set alerts to stay informed of stop triggers.
This indicator combines the trend-following strength of the Turtle System with a flexible, ATR-based stop-loss strategy, making it a powerful tool for both manual and automated trading strategies.
SMC⁵ – Enhanced Composite + Strong Divergences & LinesSMC⁵⁺ is a next-generation momentum and divergence indicator that fuses four key volume-and-flow metrics into a single, ultra-responsive conviction score—and then plots clear, strong divergence signals directly on that composite line.
Key Logic & Workflow
Composite Construction
On-Balance Volume (OBV) : Captures directional volume flow.
Chaikin Money Flow (CMF) : Weighs close location within the bar by volume.
Cumulative Volume Delta (CVD) : Measures aggressive buyer vs. seller pressure.
Money Flow Index (MFI) : Reflects overbought/oversold conditions using typical price and volume.
Each raw series is transformed into a rolling z-score over a user-configurable lookback (Norm Length). This ensures stationarity and removes boundary artifacts.
Weighted by individual “trust” inputs (OBV, CMF, CVD, MFI weights), then optionally smoothed with an EMA to dial in responsiveness vs. noise.
Gradient Zone Highlight
The composite oscillates between 0–1 (neutral at 0.5).
A dynamic green/red gradient fill instantly shows when conviction enters “High” (>Upper Threshold) or “Low” (<Lower Threshold) zones—perfect for quick visual scans.
Divergence Detection
Regular Divergence:
Requires a minimum % price swing on the composite and a composite delta beyond a dynamic threshold (Reg Δ × StDev), ensuring only the most significant tops/bottoms trigger.
Plotted with bold lines and labels directly on the composite curve for unambiguous signals.
Hidden Divergence:
Uses a lighter threshold (Hid Δ × StDev) and thinner styling to highlight continuation opportunities behind the scenes—so you never miss stealth moves.
Both divergence types are pruned to a configurable maximum to keep your chart clean.
Why It’s Strong
Multi-Metric Confluence: By combining four independent flow/volume metrics, false-signal noise from any single source is virtually eliminated.
Statistical Normalization: Z-score transforms allow direct comparability and robust thresholding across any asset or timeframe.
Dynamic Sensitivity: User-tunable StDev multipliers and minimum Δ filters guarantee that only high-confidence divergences make it through.
Visual Clarity: Divergences are drawn on the actual composite line (not price), making it immediately clear when momentum is shifting beneath price action.
How to Use
Drop SMC⁵⁺ on any chart (works on all symbols/timeframes).
Adjust the four weights to emphasize your favorite flow metric.
Tweak Norm Length, Reg × StDev, and Min Composite Δ to tune sensitivity.
Watch for bold “Reg Div” signals for high-quality reversal setups, and lighter “Hid Div” signals for stealth continuation entries.
Combine with your trend filter or higher-timeframe confluence for pinpoint entries.
SMC⁵⁺ brings institutional-grade volume-flow analysis and divergence detection into one elegant package—empowering you to spot true momentum shifts before the crowd.
EMA Slope FilterEMA SLOPE FILTER....50EMA....You’ll see a line oscillating around zero; when it’s within ±0.1, treat the market as “flat.”
TrEx H/L Trendlines [ETPINVEST]TrEx H/L Trendlines - User Guide
🎯 WHAT IS THIS INDICATOR?
TrEx H/L Trendlines is a professional indicator for automatic search and display of price extremes with trendline construction.
🔍 WHAT IS IT USED FOR?
Main tasks:
Extreme identification - automatic search for significant price highs and lows
Trend analysis - building trendlines between found extremes
Reversal point detection - identifying potential zones of direction change
Structural analysis - understanding the internal structure of price movement
Who is it suitable for:
📈 Swing traders - for identifying key turning points
⚡ Day traders - for analyzing intraday structure
🎯 Scalpers - for precise local extreme identification
📊 Analysts - for structural market analysis
⚙️ HOW DOES THE ALGORITHM WORK?
1. Extreme search
The indicator uses a complex algorithm to find significant highs and lows through strictly defined candle combinations.
Validation - verification of compliance with strict mathematical conditions
2. Filtering and alternation
Found extremes undergo additional processing:
Selection of strongest - choosing the most significant extremes in each zone
Ensuring alternation - correct sequence of highs and lows
Time sorting - chronological ordering
3. Trendline construction
Based on filtered extremes, connecting lines are built:
Sequential connection - linking all extremes in order
Trend visualization - displaying overall movement direction
Structure analysis - understanding internal movement waves
🛠️ DETAILED SETTINGS DESCRIPTION
📊 Extremes
Show Extremes
Purpose: Enable/disable extreme display
Default: Enabled
Upper Extreme Color
Purpose: Color of upper extreme markers (highs)
Default: Red
Lower Extreme Color
Purpose: Color of lower extreme markers (lows)
Default: Green
Analysis Depth
Range: 50-300 bars
Default: 200
Purpose: Depth of historical analysis for extreme search
Timeframe recommendations:
- M1-M5: 100-150 bars
- M15-H1: 150-250 bars
- H4-D1: 200-300 bars
📈 Trendline
Show Trendline
Purpose: Enable/disable trendline display
Default: Enabled
Trendline Color
Purpose: Color of trendlines connecting extremes
Default: Yellow
Trendline Width
Range: 1-5 pixels
Default: 1
Purpose: Thickness of trendlines
📈 PRACTICAL USAGE TIPS
🎯 Trading strategies
1. Trading from extremes
✅ Buy signal:
Price approaches lower extreme (green marker)
Reversal pattern forms on lower timeframe
Confirmation by volume or other indicators
✅ Sell signal:
Price approaches upper extreme (red marker)
Reversal pattern forms on lower timeframe
Confirmation by additional signals
2. Trend structure analysis
✅ Uptrend:
Sequential higher highs and lows
Trendlines directed upward
Each new extreme higher than previous
✅ Downtrend:
Sequential lower highs and lows
Trendlines directed downward
Each new extreme lower than previous
3. Trend reversal identification
⚠️ Reversal signals:
Violation of extreme sequence
Change in trendline slope
Formation of divergences with oscillators
💡 Settings optimization
For scalping (M1-M5):
Analysis Depth: 100-150
Focus on fresh extremes
For day trading (M15-H1):
Analysis Depth: 150-200
Balance between history and relevance
For swing trading (H4-D1):
Analysis Depth: 200-300
Maximum analysis depth
🔍 Additional techniques
Combining with other tools:
Oscillators - finding divergences at extremes
TrEx S/R Levels - applying support and resistance levels
⚠️ IMPORTANT FEATURES
✅ Advantages:
Automation - no manual extreme search required
Mathematical precision - strict selection algorithms
Universality - works on any assets and timeframes
Ease of use - intuitive interface
Trend analysis - automatic structure construction
Real-time updates - on each candle close
⚠️ Limitations:
Requires history - needs minimum 50 bars for operation
Lag - extremes determined after their formation
🎯 CONCLUSION
TrEx H/L Trendlines is a powerful tool for automatic analysis of extremes and trend structure of the market. The indicator is perfect for studying price behavior and can serve as a foundation for developing trading strategies.
Samrat Directional Movement Index with Mediun to track ADX Samrat Directional Movement Index with Mediun to track ADX has a mediun line added for better tracking of ADX and +DI an -DI for traders.Feedback welcome
Chiaroscuro Scalp Model A [Signal + Visuals]This indicator is based on the Chiaroscuro Scalp Model A — a precision-based scalping system that identifies high-probability trade setups during the London and New York sessions. It combines daily range expansion, order blocks, fair value gaps, and W/M reversal patterns to generate 20-pip scalping opportunities with clearly plotted stop loss and take profit levels. Ideal for intraday traders seeking structured, rule-based entries.
SMA Fecho na Máxima, Mínima e NormalLarry Williams' Strategy - Short Moving Average Channel
✅ Indicators used:
High SMA: 3 periods
Low SMA: 3 periods
30-period Closing SMA: used as a trend filter
Chiaroscuro Scalp Model A [Signal + Visuals]This indicator is based on the Chiaroscuro Scalp Model A — a precision-based scalping system that identifies high-probability trade setups during the London and New York sessions. It combines daily range expansion, order blocks, fair value gaps, and W/M reversal patterns to generate 20-pip scalping opportunities with clearly plotted stop loss and take profit levels. Ideal for intraday traders seeking structured, rule-based entries.
Intraday vs Overnight OBV🔍 Purpose
This indicator provides a volume-weighted cumulative flow model that mimics On-Balance Volume (OBV) logic but splits the volume impact into intraday vs. overnight sessions. It allows traders to track how volume contributes to price movement in each session and identify whether buying/selling pressure is stronger during or outside of regular trading hours.
This indicator attempts to alleviate some of the downfalls of the standard OBV indicator, which only looks at total volume and total direction. The price of stocks generally behaves extremely differently during market hours and outside market hours, and many of the large moves happen outside of regular market hours on low volume.
⚙️ Core Features
1) OBV-style calculation:
If price increases → volume is added to the OBV stream.
If price decreases → volume is subtracted.
If price is flat → OBV remains unchanged.
2) Session splitting:
Intraday session: movement from today's open to close.
Overnight session: movement from yesterday’s close to today’s open.
Volume is split proportionally between these two periods based on user input.
3) Four visualization modes:
"Intraday" — plots only OBV from intraday price movement.
"Overnight" — plots only OBV from overnight price movement.
"Aggregate" — plots the sum of intraday and overnight OBV for a holistic view.
"Both Intraday and Overnight" — plots intraday and overnight OBV separately on the same chart.
📐 Inputs
1) Synthetic OBV Type:
"Intraday" — Show OBV from open to close only.
"Overnight" — Show OBV from prior close to today's open only.
"Aggregate" — Show a single line combining both.
"Both Intraday and Overnight" — Show both lines on the same chart.
2) Estimated Overnight Volume %:
Percentage of total daily volume assumed to occur during extended hours.
The rest is allocated to regular session (intraday).
Default: 20% overnight, 80% intraday.
🧮 How It Works
Volume Splitting:
Total bar volume is split into overnight Volume and intraday Volume:
Intraday change is the difference between today’s close and open.
Overnight change is the difference between today’s open and yesterday’s close.
Session OBV Calculations:
OBV is incremented/decremented by the session's allocated volume, depending on whether the session’s price change was positive or negative.
Aggregate OBV:
Combines both session deltas for a holistic volume flow view.
📊 Interpretation
Rising OBV (any stream) suggests accumulation; falling OBV suggests distribution.
Divergences between price and OBV lines (especially overnight vs. intraday) can reveal where hidden buying/selling is occurring.
Comparing intraday vs overnight OBV can help:
Spot whether institutional demand is building off-hours.
Detect retail vs. institutional behavior (retail trades often dominate intraday; institutional may prefer after-hours).
💡 Use Cases
Identify whether overnight gaps are supported by overnight volume momentum.
Detect accumulation in low-volume overnight sessions.
Compare intraday and overnight strength during earnings season or news events.
Complement traditional OBV by seeing session-based breakdowns.
Turtle Trading System + ATRTurtle Trading System + ATR
This Pine Script v5 indicator implements a Turtle Trading System with ATR integration.
It plots a 20-day high (red), 20-day low (blue), and an ATR-based level (orange) shifted upward by a user-defined percentage (default 5%).
Customizable inputs include lookback period (default 20), ATR period (default 14), and ATR offset.
Dynamic labels show the 20-day high, low, and ATR values at the current bar, updating with price.
Suitable for trend-following strategies, it highlights breakout and volatility levels.
EMA 5 20 DCema 5 to ema 20 Death Cross by APkhant. Ema 5 to Ema 20 Deathcross and price is under deathcross , should sell for aggressive trader mode and should wait , pull back and sell for conservative trader mode. this is for me, my first script.
Crypto Breadth | AlphaNatt\ Crypto Breadth | AlphaNatt\
A dynamic, visually modern market breadth indicator designed to track the strength of the top 40 cryptocurrencies by measuring how many are trading above their respective 50-day moving averages. Built with precision, branding consistency, and UI enhancements for fast interpretation.
\ 📊 What This Script Does\
* Aggregates the performance of \ 40 major cryptocurrencies\ on Binance
* Calculates a \ breadth score (0.00–1.00)\ based on how many tokens are above their moving averages
* Smooths the breadth with optional averaging
* Displays the result as a \ dynamic, color-coded line\ with aesthetic glow and gradient fill
* Provides automatic \ background zones\ for extreme bullish/bearish conditions
* Includes \ alerts\ for key threshold crossovers
* Highlights current values in an \ information panel\
\ 🧠 How It Works\
* Pulls real-time `close` prices for 40 coins (e.g., XRP, BNB, SOL, DOGE, PEPE, RENDER, etc.)
* Compares each coin's price to its 50-day SMA (adjustable)
* Assigns a binary score:
• 1 if the coin is above its MA
• 0 if it’s below
* Aggregates all results and divides by 40 to produce a normalized \ breadth percentage\
\ 🎨 Visual Design Features\
* Smooth blue-to-pink \ color gradient\ matching the AlphaNatt brand
* Soft \ glow effects\ on the main line for enhanced legibility
* Beautiful \ multi-stop fill gradient\ with 16 transition zones
* Optional \ background shading\ when extreme sentiment is detected:
• Bullish zone if breadth > 80%
• Bearish zone if breadth < 20%
\ ⚙️ User Inputs\
* \ Moving Average Length\ – Number of periods to calculate each coin’s SMA
* \ Smoothing Length\ – Smooths the final breadth value
* \ Show Background Zones\ – Toggle extreme sentiment overlays
* \ Show Gradient Fill\ – Toggle the modern multicolor area fill
\ 🛠️ Utility Table (Top Right)\
* Displays live breadth percentage
* Shows how many coins (e.g., 27/40) are currently above their MA
\ 🔔 Alerts Included\
* \ Breadth crosses above 50%\ → Bullish signal
* \ Breadth crosses below 50%\ → Bearish signal
* \ Breadth > 80%\ → Strong bullish trend
* \ Breadth < 20%\ → Strong bearish trend
\ 📈 Best Used For\
* Gauging overall market strength or weakness
* Timing trend transitions in the crypto market
* Confirming trend-based strategies with broad market support
* Visual dashboard in macro dashboards or strategy overlays
\ ✅ Designed For\
* Swing traders
* Quantitative investors
* Market structure analysts
* Anyone seeking a macro view of crypto performance
Note: Not financial advise
Unified Signals + BB Expansion Filtercan be universal use for different futures product but yet to fine tune for individual use
Delta Volume Movement TrackerOverview
This Pine Script, titled "Delta Volume Movement Tracker," is a sophisticated volume analysis tool designed to run in a separate pane below the main price chart. Its primary purpose is to dissect market activity by analyzing volume data from a lower timeframe to provide a clearer picture of the real buying and selling pressure behind price movements.
The core concept is to look at the volume delta (up-tick volume minus down-tick volume) from a faster timeframe (e.g., 1-minute) and correlate it with the price action on the current chart. This allows the indicator to distinguish between different market scenarios, such as strong, confirmed buying versus selling pressure that occurs even as the price rises.
Key Components
1. Lower Timeframe Volume Delta
The script's engine is the ta.requestUpAndDownVolume() function. It pulls detailed volume data from a user-specified lower timeframe. This provides a high-resolution view of the order flow. From this, it calculates the delta, which is the net difference between buying and selling volume.
Positive Delta: More volume occurred on up-ticks than down-ticks, suggesting buying pressure.
Negative Delta: More volume occurred on down-ticks than up-ticks, suggesting selling pressure.
2. Categorizing Price and Volume Interaction
The script intelligently categorizes market action by looking at both the direction of the price change and the sign of the volume delta. This creates four distinct conditions:
Strong Buying (upPositiveDelta): Price is moving up, AND the volume delta is positive. This is a confirmation signal, indicating that the upward price move is supported by aggressive buying.
Selling into Strength (upNegativeDelta): Price is moving up, BUT the volume delta is negative. This is a divergence, suggesting that despite the price rise, larger players may be distributing or selling into the rally.
Buying into Weakness (downPositiveDelta): Price is moving down, BUT the volume delta is positive. This is also a divergence, suggesting that buyers are stepping in to absorb the selling pressure, potentially indicating a bottom.
Strong Selling (downNegativeDelta): Price is moving down, AND the volume delta is negative. This is a confirmation signal, indicating that the downward price move is supported by aggressive selling.
3. Price-Weighted Summation
Instead of just counting the occurrences, the script calculates a rolling sum for each category over a lookbackPeriod. Crucially, it weights these values by the close price, effectively measuring the monetary value of the flow in each category. This gives more significance to volume that occurs at higher price levels.
How It Appears on the Chart
The indicator plots the two most powerful confirmation signals as columns to make them easy to interpret:
Green Columns (upBuySum): Represents the cumulative, price-weighted value of "Strong Buying." Taller green bars indicate significant and sustained buying pressure.
Red Columns (downSellSum): Represents the cumulative, price-weighted value of "Strong Selling." Taller red bars indicate significant and sustained selling pressure.
EMA Lines: Smooth exponential moving averages of both the buying and selling plots are overlaid to help identify the prevailing trend in order flow.
Filled Zones: The areas beneath the zero line and the plotted columns are filled with color, making it easy to visually gauge the magnitude of buying or selling pressure at a glance.
In summary, this indicator provides a nuanced view of market dynamics, helping traders see beyond simple price action to understand the strength and conviction of the buyers and sellers driving the trend.
Market Breadth TableDisplay overall market condition, can select different trading market NYSE or NASDAQ, if declining stock number is more than advancing same day is not good for heavy traded long position
You can adjust the table position in the chart as well
Universal Trade Levels & Signal Classifierscript has been enhanced and generalized for all instruments — not just ES or SPX.
You now get the following classifications:
💎 Perfect Trade – trend confirmed, strong signal, ATR + VWAP + volume aligned
🚀 Sure Shot Trade – very high volume + ATR breakout + directional bias
⚡ Quick Call/Put – fast actionable setups
❌ No Trade – avoid/no confirmation
The logic works across any timeframe and any ticker.
You can now test this live on any instrument in TradingView. Let me know if you’d like to add things like:
Multi-timeframe confirmation
Re-entry logic
Heatmap table of confidence levels
Signal filtering based on RSI, OBV, etc.
[Oscar] OBV with MA & SMA filterBy invitation only.
This script is based on daily on balance volume.
Both MA & SMA can be set as filters for noise.
The bullish trend is indicated with green color; the bearish trend is in red color.
The best buying point should be
1. The SMA has a positive slope;
2. The green line (bullish trend) appears.
OBV with MA & SMA filterBy invitation only.
This script is based on daily on balance volume.
Both MA & SMA can be set as filters for noise.
The bullish trend is indicated with green color; the bearish trend is in red color.
The best buying point should be
1. The SMA has a positive slope;
2. The green line (bullish trend) appears.
AUTO SBSThis is my auto SBS , with alerts!
its so simple and i created it for me and my friends so nothing to sya here