Qossai Stock Info### Qossai Stock Info Indicator
This indicator provides a concise overlay of essential stock information directly on your chart, presented in a clean, organized table. Designed for quick glances, it helps traders and investors stay informed about key fundamental and volatility metrics of the currently viewed symbol.
**Key Features:**
* **Symbol/Ticker Display:** Clearly shows the ticker of the asset you are currently viewing.
* **Dynamic Market Capitalization (Market Cap):** Automatically calculates and displays the market capitalization in a readable format (Millions, Billions, or Trillions), providing instant insight into the company's size.
* **Average True Range (ATR) as Percentage:** Shows the 14-day Average True Range (a measure of volatility) as a percentage of the closing price, helping you gauge the typical price movement. The ATR period is customizable.
* **Earnings Countdown:** Keep track of upcoming events with a precise countdown displaying the number of days remaining until the next earnings announcement. This feature can be toggled on or off via the indicator's settings.
* **Clean Table Format:** All information is presented neatly in a table with a subtle black background, ensuring readability without cluttering your main chart view.
**How to Use:**
Simply add the "Qossai Stock Info" indicator to your chart. You can adjust the ATR length and toggle the earnings countdown visibility from the indicator's settings.
**Purpose:**
This tool aims to simplify access to critical stock data, empowering users to make quicker, more informed decisions by having vital information readily available on their screen.
---
Volatilite
[Top] LHAMA Consolidation DetectorIntroducing the Low-High Adaptive Moving Average (LHAMA 🦙), a powerful tool designed to help traders visually distinguish between trending and consolidating market phases. Unlike traditional moving averages that can produce false signals in choppy markets, the LHAMA is engineered to flatten out during periods of consolidation and become more responsive when a clear trend emerges.
This indicator's primary function is to act as a "Consolidation Detector." When the LHAMA line goes flat and adopts its "Flat Color," it serves as a clear visual cue that the market is range-bound. Conversely, when the line begins to slope and changes to its Bullish or Bearish color, it signals a potential breakout or the start of a new trend.
How It Works
The LHAMA is a type of adaptive moving average. Its adaptiveness is derived from a unique calculation that measures market "trendiness." It does this by tracking whether new highs or new lows are being made within a specified lookback period.
In a Trending Market: When the price consistently makes new highs or lows, the indicator's responsiveness increases, causing the LHAMA to track the price much more closely and responsively.
In a Consolidating Market: When the price is range-bound and fails to make new highs or lows, the responsiveness decreases significantly. This causes the LHAMA to flatten out and become less sensitive to minor price fluctuations, effectively filtering out market noise.
Key Features
Adaptive Calculation: The core engine of the indicator, which automatically adjusts its smoothing based on trend strength.
Slope-Based Coloring: The line's color dynamically changes based on its slope, providing an at-a-glance view of market conditions: bullish, bearish, or flat.
Multi-Line & Multi-Timeframe (MTF): You can enable up to six fully customizable LHAMA lines. Each line can be configured with its own length, colors, and can even be set to a different timeframe, allowing for comprehensive multi-timeframe analysis on a single chart.
Volatility Clouds: Each LHAMA can display an optional cloud around it. The cloud's width is based on your choice of either the Average True Range (ATR) or Standard Deviation (StdDev), offering a visual representation of volatility.
Volume Weighting: An option to incorporate volume into the adaptive calculation, making the LHAMA even more responsive during high-volume price movements.
How to Use
Identify Consolidation: The primary use case. A flat and consistently colored LHAMA line is a strong indication of a sideways or consolidating market. This can help traders avoid taking trend-following trades in choppy conditions.
Confirm Trends: When the LHAMA begins to slope upwards or downwards and changes to its trend color, it can be used to confirm the direction and strength of a new trend. The steeper the slope, the stronger the momentum, and more solid the directional color.
Dynamic Support & Resistance: Like other moving averages, the LHAMA can act as a dynamic level of support in an uptrend or resistance in a downtrend. The optional cloud can further define these zones.
Multi-MA Ribbon Strategy: By enabling multiple LHAMAs with different lengths (e.g., Fibonacci sequence like 14, 21, 34, 55), you can create a ribbon. The expansion of the ribbon indicates a strong trend, while its contraction signals a weakening trend or consolidation.
Settings Explained
Enable 🦙 Line: A simple checkbox to turn each of the six LHAMA lines on or off.
Length: The lookback period for the LHAMA calculation. Shorter lengths are more responsive, while longer lengths are smoother.
Timeframe: Set a specific timeframe for each LHAMA. Leave blank to use the chart's current timeframe.
Volume Weight: If checked, adds volume weighting to make the LHAMA more responsive to high-volume moves.
Colors (Bullish, Bearish, Flat): Customize the colors for each market state. To only see the line during consolidation, set the Bullish and Bearish colors to 100% transparency. To hide the line during consolidation, set the Flat color to 100% transparency.
Color Sensitivity: This is a crucial setting. Because price scales (tick sizes) vary widely between symbols, this setting allows you to adjust the sensitivity of the slope detection. A lower value requires a steeper slope to trigger a trend color, while a higher value is more sensitive.
Recommended settings are provided in the input tooltip as a starting point:
$5 Tick: 0.25 Sensitivity
$1 Tick: 0.75 Sensitivity
$0.25 Tick: 3 Sensitivity
$0.01 Tick: 50 Sensitivity
$0.005 Tick: 100 Sensitivity
Cloud Settings:
Show Cloud: Toggles the visibility of the volatility cloud around the LHAMA.
Width Based On: Choose between "ATR" or "StdDev" to calculate the cloud's width.
Cloud Length & Width: Set the lookback period and multiplier for the ATR/StdDev calculation to control the size of the cloud.
Risk Context + Position SizingWhat This Indicator Does (And Doesn't Do)
This is NOT a buy/sell signal indicator. Instead, it's a risk management tool that helps you understand two critical things:
How volatile the market is right now (compared to recent history)
How much you should risk on your next trade based on that volatility
The Core Problem It Solves
Imagine you always risk the same amount on every trade - say $100. But sometimes the market is calm and predictable, other times it's wild and unpredictable. This indicator says: "Hey, the market is going crazy right now - maybe only risk $70 instead of your usual $100."
How It Works
Measures Market "Nervousness"
Uses ATR (Average True Range) to measure how much prices typically move each day
Compares today's volatility to the past 100 days
Shows you a percentile (0-100%) - higher = more volatile
Categorizes Risk Environment
LOW (green): Market is calm, you can size up slightly
NORMAL: Standard conditions, use your normal position size
HIGH (red): Market is jumpy, reduce your position size
EXTREME (dark red): Market is in chaos, significantly reduce size
Important Disclaimers
This doesn't predict price direction - it only measures current market stress
You still need a trading strategy - this just helps you size it properly
Past volatility doesn't guarantee future volatility
Always combine with proper stop losses and risk management
Indian Stocks Daily, Weekly, Monthly, All-Time High-LowDaily high, low, last week high low, current week high low, current month high low.
SQV Indicator Bridge# SQV Indicator Bridge - Quick Guide
## What is SQV Indicator Bridge?
A simple connector that validates your indicator's signals using SQV Lite before displaying them on the chart. Only high-quality signals pass through.
## How It Works
```
Your Indicator → Generates Signals → SQV Lite → Validates Quality → Bridge → Shows Only Valid Signals
```
## Quick Setup (3 Steps)
### Step 1: Prepare Your Indicator
Add these lines to export your signals:
```pinescript
// At the end of your indicator code
plot(longCondition ? 1 : 0, "Long Signal", display=display.none)
plot(shortCondition ? 1 : 0, "Short Signal", display=display.none)
```
### Step 2: Add to Chart (in order)
1. Your indicator
2. SQV Lite
3. SQV Indicator Bridge
### Step 3: Connect Sources
In Bridge settings:
- **Long Signal Source** → Select: YourIndicator: Long Signal
- **Short Signal Source** → Select: YourIndicator: Short Signal
- **SQV Long Valid** → Select: SQV Lite: SQV Long Valid
- **SQV Short Valid** → Select: SQV Lite: SQV Short Valid
- **SQV Score** → Select: SQV Lite: SQV Score
## Visual Settings
| Setting | Description | Default |
|---------|-------------|---------|
| Show Labels | Display BUY/SELL labels | On |
| Label Offset | Distance from candles (0-5 ATR) | 0 |
| Label Size | Tiny, Small, or Normal | Small |
| Long Color | Color for buy signals | Green |
| Short Color | Color for sell signals | Red |
## What You'll See
- **Green "LONG" labels** - When your buy signal passes SQV validation
- **Red "SHORT" labels** - When your sell signal passes SQV validation
- **No label** - When signal quality is too low
## Common Issues & Solutions
### No labels appearing?
1. Check "Use External Signals" is ON in SQV Lite
2. Verify source connections are correct
3. Lower minimum score in SQV Lite (try 60)
4. Test your indicator separately to ensure it generates signals
### Too many/few signals?
- Adjust "Minimum Quality Score" in SQV Lite
- Default is 65, lower for more signals, higher for fewer
### Wrong signals showing?
- Check Trading Mode in SQV Lite matches your strategy (Long Only/Short Only/Both)
## Example Integration
### Simple MA Cross Indicator
```pinescript
//@version=6
indicator("MA Cross with SQV", overlay=true)
// Your logic
fast = ta.sma(close, 20)
slow = ta.sma(close, 50)
longSignal = ta.crossover(fast, slow)
shortSignal = ta.crossunder(fast, slow)
// Plot MAs
plot(fast, color=color.blue)
plot(slow, color=color.red)
// Export for SQV Bridge (REQUIRED!)
plot(longSignal ? 1 : 0, "Long Signal", display=display.none)
plot(shortSignal ? 1 : 0, "Short Signal", display=display.none)
```
## Tips
✅ **DO**:
- Test in "Autonomous Mode" first (SQV Lite setting)
- Use clear signal names in your plots
- Keep signals binary (1 or 0)
❌ **DON'T**:
- Forget to add `display=display.none` to signal plots
- Use values other than 0 and 1 for signals
- Leave "Use External Signals" OFF in SQV Lite
## Alert Setup
1. Enable "Enable Alerts" in Bridge settings
2. Create alert on Bridge (not your indicator)
3. Alert message includes SQV score
Example alert: `"Long Signal Validated | Score: 85"`
## Complete Bridge Code
```pinescript
//@version=6
indicator("SQV Indicator Bridge", overlay=true)
// From your indicator
longSignal = input.source(close, "Long Signal Source", group="Signal Sources")
shortSignal = input.source(close, "Short Signal Source", group="Signal Sources")
// From SQV Lite
sqvLongValid = input.source(close, "SQV Long Valid", group="SQV Sources")
sqvShortValid = input.source(close, "SQV Short Valid", group="SQV Sources")
sqvScore = input.source(close, "SQV Score", group="SQV Sources")
// Settings
showLabels = input.bool(true, "Show Labels", group="Visual")
labelOffset = input.float(0.0, "Label Offset (ATR)", minval=0.0, maxval=5.0, step=0.5, group="Visual")
labelSize = input.string("small", "Label Size", options= , group="Visual")
longColor = input.color(color.green, "Long Color", group="Visual")
shortColor = input.color(color.red, "Short Color", group="Visual")
enableAlerts = input.bool(false, "Enable Alerts", group="Alerts")
// Logic
atr = ta.atr(14)
offset = labelOffset > 0 ? atr * labelOffset : 0
hasValidLong = longSignal > 0 and sqvLongValid > 0 and barstate.isconfirmed
hasValidShort = shortSignal > 0 and sqvShortValid > 0 and barstate.isconfirmed
// Show labels
if showLabels
if hasValidLong
label.new(bar_index, low - offset, "LONG",
style=label.style_label_up,
color=longColor,
textcolor=color.white,
size=labelSize == "tiny" ? size.tiny :
labelSize == "small" ? size.small : size.normal)
if hasValidShort
label.new(bar_index, high + offset, "SHORT",
style=label.style_label_down,
color=shortColor,
textcolor=color.white,
size=labelSize == "tiny" ? size.tiny :
labelSize == "small" ? size.small : size.normal)
// Alerts
if enableAlerts
if hasValidLong
alert("Long Signal Validated | Score: " + str.tostring(sqvScore, "#"), alert.freq_once_per_bar_close)
if hasValidShort
alert("Short Signal Validated | Score: " + str.tostring(sqvScore, "#"), alert.freq_once_per_bar_close)
```
---
**Need help?** Check the full SQV documentation or contact through TradingView messages.
ATR Dynamic Stop (Table + Plot + ATR %)📊 This script displays dynamic stop levels based on ATR, designed for active traders.
Features:
- Shows long and short stop levels (price ± ATR × multiplier).
- Displays values as a floating table on the top-right corner.
- Optional plot lines directly on the chart.
- Option to calculate based on realtime price or last close.
- Displays the ATR value both in price units and as a percentage of the selected price.
- Fully customizable table: text size, text color, background color.
Inputs:
- ATR Multiplier and Length.
- Show/hide stop lines on the chart.
- Select price source (realtime or last close).
- Table appearance options.
Ideal for:
- Traders who want a clear visual stop guide.
- Combining volatility with risk management.
Volatility Breakout Strategy W15_T2.0# How to Use This Indicator
## **Setup Instructions:**
**Adjust parameters** as needed:
- **Volatility Window**: 15 (default) for 15-period volatility calculation
- **Volatility Threshold**: 2.0 (default) for 2x volatility spike trigger
- **Price Direction Periods**: 5 (default) for trend direction detection
### **What You'll See:**
- **🟢 Green UP arrows**: BUY signals (high volatility + upward price movement)
- **🔴 Red DOWN arrows**: SELL signals (high volatility + downward price movement)
- **🟠 Orange circles**: EXIT signals (volatility cooled down)
- **🟨 Yellow background**: High volatility periods (above threshold)
- **📊 Info table**: Real-time volatility metrics (top-right corner)
### **Signal Logic:**
- **Entry**: When volatility ratio ≥ 2.0x AND price direction is clear
- **Exit**: When volatility ratio drops below 1.4x (70% of threshold)
- **Direction**: Based on 5-period price change
### **Best Timeframes:**
- **1-minute**: Very sensitive, many signals
- **5-minute**: Balanced (matches your original analysis)
- **15-minute**: Less frequent but higher quality signals
### **Alert Setup:**
The indicator includes built-in alerts for:
- Buy signals
- Sell signals
- Exit signals
Fat Tails Analyzer🧠 Fat Tails Analyzer — Analysis of Anomalous ("Fat-Tailed") Movements
📌 Description
Fat Tails Analyzer is a tool for analyzing "fat tails" in the distribution of returns. Unlike normal distribution, financial markets often exhibit frequent extreme movements. This indicator identifies and visualizes such events by analyzing logarithmic returns, deviations from normal distribution, and excess kurtosis.
🔬 Methodology
Logarithmic returns (ln(Close / Close )) are calculated for accurate aggregation and symmetry.
Moving average and standard deviation of returns are computed over a specified period.
"Fat-tailed" events are identified when returns exceed μ ± k·σ, where k is user-defined.
Normal distribution bands (±2σ) and kurtosis (a measure of tail "heaviness") are displayed for clarity.
📊 What It Displays
📈 Histogram of Returns: Green for positive, red for negative.
🟣 Fat Tail Threshold Lines: Marking extreme events.
⚪ Silver Normal Distribution Bands: ±2σ boundaries.
🔵 Kurtosis Line: If enabled.
📋 Table with Key Metrics: Mean, σ, kurtosis.
⚙️ Parameters
Lookback Period (Bars): Analysis period (default: 252).
Fat Tail Threshold (Std Devs): Deviation for extreme events (k, default: 2.5).
Show Normal Distribution Bands: Toggle ±2σ boundaries.
Show Kurtosis: Enable kurtosis analysis mode.
📌 Interpretation
Excess Kurtosis > 0: More extreme events than predicted by normal distribution.
Returns beyond fat-tail thresholds: Potential signals of panic, shock, or exceptional news.
Consistently high kurtosis: Unstable or speculative asset.
🧪 Applications
📉 Identify extreme risks in assets (especially cryptocurrencies and derivatives).
🧠 Study market behavior and dispersion.
🛡 Support risk analysis, stop-loss settings, and systemic risk assessment.
🔎 Compare assets by the "normality" of their behavior.
🧭 Live Metrics Table
Displayed in the bottom-right corner:
Mean return
Standard deviation
Excess kurtosis (color-coded by value)
🧠 Good to Know
Normal distribution has kurtosis = 0.
> 0: "Fat tails" (more extreme values).
< 0: "Thin tails" (values close to the mean).
Volume Peak LineA fully configurable “Volume Peak Line” indicator that draws a horizontal threshold at the highest volume over the last X candles (default 5).
Custom lookback (X volume candles)
Optional alert when current volume exceeds that peak
Separate up/down volume bars (green/red) or hide them to use your own volume overlays
Use it to spot surges in trading activity on any timeframe—ideal for intraday or swing setups where a barn-burner volume bar can signal a reversal or the start of a new trend.
TREV Candles - Range-Based Trend ReversalTREV Candles - Range-Based Trend Reversal Chart Implementation
What is a Trend Reversal (TREV) Chart?
A Trend Reversal chart, also known as a Point & Figure chart variation, is a unique charting method that focuses on price movement thresholds rather than time intervals. Unlike traditional candlestick charts where each candle represents a fixed time period, TREV candles form only when price moves by predefined amounts in ticks.
TREV charts eliminate time-based noise and focus purely on significant price movements, making them ideal for identifying genuine trend changes and continuation patterns.
How TREV Candles Work
This indicator implements true TREV logic with two critical thresholds:
Trend Size: The number of ticks price must move in the current direction to form a trend continuation candle
Reversal Size: The number of ticks price must move against the current direction to form a reversal candle and change the overall trend direction
Key TREV Rules Enforced:
Direction Changes Only Through Reversals: You cannot go from bullish trend directly to bearish trend - a reversal candle must occur first
Threshold-Based Formation: Candles form only when price thresholds are breached, not on time
Logical Wick Placement: Wicks only appear on the "open" side of candles where price temporarily moved against the formation direction
Multiple Candles Per Bar: When price moves significantly, several TREV candles can form within a single time-based bar
Four Distinct Candle Types
Bullish Trend (Green): Continues upward movement when trend threshold is hit
Bearish Trend (Red): Continues downward movement when trend threshold is hit
Bullish Reversal (Blue): Changes from bearish to bullish direction when reversal threshold is breached
Bearish Reversal (Orange): Changes from bullish to bearish direction when reversal threshold is breached
Practical Trading Applications
Trend Identification: Clear visual representation of when trends are continuing vs. reversing
Noise Reduction: Filters out insignificant price movements that don't meet threshold requirements
Support/Resistance: TREV levels often act as significant support and resistance zones
Breakout Confirmation: When price forms multiple trend candles in succession, it confirms strong directional movement
Reversal Signals: Reversal candles provide early warning of potential trend changes
Technical Implementation Features
Intelligent Price Path Processing: Analyzes the assumed price path within each bar (Low→High→Close for bullish bars, High→Low→Close for bearish bars)
Automatic Tick Size Detection: Works with any instrument by automatically detecting the correct tick size
Manual Override Option: Allows manual tick size specification for custom analysis
Impossible Scenario Prevention: Built-in logic prevents impossible wick configurations and direction changes
PineScript Optimization: Efficient state management and drawing limits handling for smooth performance
Comprehensive Styling Options
Each of the four candle types offers complete visual customization:
Body Colors: Independent color settings for each candle type's body
Border Colors: Separate border color customization
Border Styles: Choose from solid, dashed, or dotted borders
Wick Colors: Individual wick color settings for each candle type
Default Color Scheme:
🟢 Bullish Trend: Green body and wicks
🔵 Bullish Reversal: Blue body and wicks
🔴 Bearish Trend: Red body and wicks
🟠 Bearish Reversal: Orange body and wicks
Configuration Guidelines
Trend Size: Larger values create fewer, more significant trend candles. Smaller values increase sensitivity
Reversal Size: Should typically be smaller than trend size. Controls how easily the trend direction can change
Tick Size: Use "auto" for most instruments. Manual override useful for custom point values or backtesting
Ideal Use Cases
Swing Trading: Identify major trend changes and continuation patterns
Scalping: Use smaller thresholds to catch quick reversals and momentum shifts
Position Trading: Use larger thresholds to filter noise and focus on major trend moves
Multi-Timeframe Analysis: Compare TREV patterns across different threshold settings
Support/Resistance Trading: TREV close levels often become significant price zones
Why This Implementation is Superior
True TREV Logic: Enforces proper trend reversal rules that many implementations ignore
No Impossible Scenarios: Prevents wicks on both sides of candles and impossible direction changes
Professional Visualization: Clean, customizable appearance suitable for serious analysis
Performance Optimized: Handles large datasets without lag or drawing limit issues
Educational Value: Helps traders understand the difference between time-based and threshold-based charting
Perfect for traders who want to see beyond time-based noise and focus on what price is actually doing - moving in significant, measurable amounts that matter for trading decisions.
Trap Detector Signals [Tweaked Version]This script highlights potential institutional liquidity traps by detecting price extensions relative to VWAP during periods of short-term volatility compression — using manual VIX9D input as a proxy for complacency.
Bob Volman - Consolidation BoxThis indicator identifies consolidation zones based on Bob Volman's scalping methodology. It highlights tight price ranges where the market is coiling before a potential breakout.
🔧 Features
📊 Detects consolidation boxes based on:
• Minimum number of candles
• ATR-based range filter (ATR × multiplier)
• Proximity to EMA (EMA ± multiplier × ATR)
⏩ Automatically extends the box while price remains inside
❌ Option to hide boxes after breakout
🧾 Status line plots:
• 🔺 Box High / 🔻 Box Low
• 📏 Box Range (in ATR units)
• 🕒 Box Length (number of bars)
⚙️ Fully customizable: ATR/EMA lengths, multipliers, border color
🔔 Alert on new consolidation box
🎯 Use Cases
Identify tight consolidation zones before breakout
Improve scalping entries and exits
Spot potential support/resistance areas
✅ Combine with volume, breakout confirmation, market structure, and price action for better accuracy
📚 Inspired by the book: "Understanding Price Action" by Bob Volman
EMA Pullback Indicator [ATR-based]🟦 EMA Pullback Indicator
This indicator identifies pullbacks in trending markets using the crossover of two EMAs (Fast and Slow). When a pullback occurs during a valid trend, an entry is triggered after price resumes in the trend direction. ATR is used to dynamically calculate stop-loss and take-profit levels.
🔍 Strategy Logic:
Trend Detection: EMA(8) vs EMA(21)
Pullback Zones:
In a bullish trend, a pullback is when price dips below the Fast EMA
In a bearish trend, a pullback is when price rises above the Fast EMA
Entry Trigger: Re-entry into trend direction after pullback
Stop Loss / Take Profit:
Based on ATR × SL/TP multipliers
Exit Options:
TP/SL Hit
Exit on new pullback (optional toggle)
Multiple Entry Toggle: Choose whether to allow multiple pullback entries or not
⚙️ Inputs:
Fast EMA Length
Slow EMA Length
ATR Period
SL Multiplier
TP Multiplier
Allow Multiple Entries
Exit on New Pullback
📊 Visuals:
Colored EMAs and fill zone between them
Grey bars during pullback
Blue/Black trend bar colors
Entry markers and TP/SL levels with labels
Real-time ATR display in corner
📢 Alerts Included:
Long/Short Pullback Entry
Take Profit Hit
Stop Loss Hit
Volatility Radar + Classic StochVolatility Radar + Classic Stoch
This indicator detects volatility squeezes by measuring Bollinger Bands tightness relative to recent history and confirms potential breakout strength using multiple factors:
Bollinger Bands bandwidth percentile to identify tight and super-tight squeezes
TTM Squeeze confirmation via Keltner Channels
Volume spikes indicating rising market interest
ADX trend strength to gauge directional momentum
Classic Stochastic oscillator to signal overbought/oversold conditions
A composite volatility score ranks the overall setup strength with intuitive color-coded background and a real-time label.
Use this tool to anticipate volatility expansions and improve timing for breakout trades.
BB Squeeze Flash (Overlay)SDC BB Squeeze Indicator - tells you when the BBs are getting super tight - made for GME but can be used anywhere i guess - TV told me i need to write more here to publish the indicator so here i am typing away ok hope this is enough characters
Quantum Dip Hunter | AlphaNattQuantum Dip Hunter | AlphaNatt
🎯 Overview
The Quantum Dip Hunter is an advanced technical indicator designed to identify high-probability buying opportunities when price temporarily dips below dynamic support levels. Unlike simple oversold indicators, this system uses a sophisticated quality scoring algorithm to filter out low-quality dips and highlight only the best entry points.
"Buy the dip" - but only the right dips. Not all dips are created equal.
⚡ Key Features
5 Detection Methods: Choose from Dynamic, Fibonacci, Volatility, Volume Profile, or Hybrid modes
Quality Scoring System: Each dip is scored from 0-100% based on multiple factors
Smart Filtering: Only signals above your quality threshold are displayed
Visual Effects: Glow, Pulse, and Wave animations for the support line
Risk Management: Automatic stop-loss and take-profit calculations
Real-time Statistics: Live dashboard showing current market conditions
📊 How It Works
The indicator calculates a dynamic support line using your selected method
When price dips below this line, it evaluates the dip quality
Quality score is calculated based on: trend alignment (30%), volume (20%), RSI (20%), momentum (15%), and dip depth (15%)
If the score exceeds your minimum threshold, a buy signal arrow appears
Stop-loss and take-profit levels are automatically calculated and displayed
🚀 Detection Methods Explained
Dynamic Support
Adapts to recent price action
Best for: Trending markets
Uses ATR-adjusted lowest points
Fibonacci Support
Based on 61.8% and 78.6% retracement levels
Best for: Pullbacks in strong trends
Automatically switches between fib levels
Volatility Support
Uses Bollinger Band methodology
Best for: Range-bound markets
Adapts to changing volatility
Volume Profile Support
Finds high-volume price levels
Best for: Identifying institutional support
Updates dynamically as volume accumulates
Hybrid Mode
Combines all methods for maximum accuracy
Best for: All market conditions
Takes the most conservative support level
⚙️ Key Settings
Dip Detection Engine
Detection Method: Choose your preferred support calculation
Sensitivity: Higher = more sensitive to price movements (0.5-3.0)
Lookback Period: How far back to analyze (20-200 bars)
Dip Depth %: Minimum dip size to consider (0.5-10%)
Quality Filters
Trend Filter: Only buy dips in uptrends when enabled
Minimum Dip Score: Quality threshold for signals (0-100%)
Trend Strength: Required trend score when filter is on
📈 Trading Strategies
Conservative Approach
Use Dynamic method with Trend Filter ON
Set minimum score to 80%
Risk:Reward ratio of 2:1 or higher
Best for: Swing trading
Aggressive Approach
Use Hybrid method with Trend Filter OFF
Set minimum score to 60%
Risk:Reward ratio of 1:1
Best for: Day trading
Scalping Setup
Use Volatility method
Set sensitivity to 2.0+
Focus on Target 1 only
Best for: Quick trades
🎨 Visual Customization
Color Themes:
Neon: Bright cyan/magenta for dark backgrounds
Ocean: Cool blues and teals
Solar: Warm yellows and oranges
Matrix: Classic green terminal look
Gradient: Smooth color transitions
Line Styles:
Solid: Clean, simple line
Glow: Adds depth with glow effect
Pulse: Animated breathing effect
Wave: Oscillating wave pattern
💡 Pro Tips
Start with the Trend Filter ON to avoid catching falling knives
Higher quality scores (80%+) have better win rates but fewer signals
Use Volume Profile method near major support/resistance levels
Combine with your favorite momentum indicator for confirmation
The pulse animation can help draw attention to key levels
⚠️ Important Notes
This indicator identifies potential entries, not guaranteed profits
Always use proper risk management
Works best on liquid instruments with good volume
Backtest your settings before live trading
Not financial advice - use at your own risk
📊 Statistics Panel
The live statistics panel shows:
Current detection method
Support level value
Trend direction
Distance from support
Current signal status
🤝 Support
Created by AlphaNatt
For questions or suggestions, please comment below!
Happy dip hunting! 🎯
Not financial advice, always do your own research
Trimmed ATR🧠 **Brief Description**:
Trimmed ATR is a modified volatility indicator that removes extreme values from the ATR calculation. This makes it more reliable for analyzing market conditions and filters out "noise" spikes. It is particularly useful for setting stop-losses and in strategies sensitive to false volatility.
🧾 **How Does Trimmed ATR Work?**
📌 For each bar:
- True Range (TR) is calculated.
- A sliding window of the last N TR values (where N = length) is stored.
- The TR list is sorted, and trimPercent % is cut off from each side:
- The smallest and largest values are removed.
- The remaining values are averaged → Trimmed ATR.
🔍 **Why Is This Important?**
Regular ATR can be distorted by outliers:
- A single spike can sharply inflate the ATR.
- This creates a false impression of market volatility.
🎯 Trimmed ATR solves this by eliminating the impact of anomalies, providing a more stable and accurate volatility measure.
📈 **What Does It Mean If Trimmed ATR Is Higher or Lower Than Regular ATR?**
🔵 **Trimmed ATR is lower than ATR** — this is normal:
- There are isolated TR spikes (high volatility on 1–2 bars).
- ATR increases, including these outliers.
- Trimmed ATR discards them → reflects the true average market background.
🧠 This is the most common case, indicating: a spike occurred, but the market is generally calm.
🟠 **Trimmed ATR is higher than ATR** — a rare but important signal:
- There were artificially low TR values (very small movements).
- ATR becomes too low.
- Trimmed ATR discards these "quiet" periods → provides a more realistic volatility estimate.
⚠️ This may indicate:
- Hidden pressure.
- Preparation for a breakout from a tight range.
- Underestimated volatility.
💡 **Applications**:
- **Trailing Stop**: Trimmed ATR helps avoid stop triggers due to noise.
- **Trend Filter**: Better reflects the "true" market dynamics.
- **Strategy Backtesting**: Eliminates distortions in volatility calculations.
Assaf ATRATR (Average True Range) is a volatility indicator developed by J. Welles Wilder. It measures how much an asset moves (in price), on average, during a specific time period. It does not indicate direction, only the degree of price volatility.
Max Drawdown (Asset-Based Lookback)Max Drawdown (Long-Term Trading)
🟦 Majors BTC, ETH, BNB, LTC 180 – 365
Captures full correction cycles and recovery patterns (6–12 months).
🟩 Altcoins SOL, ADA, DOT, LINK, AVAX 90 – 180
Alts move faster than majors; 3–6 months catches most large swings.
🟥 Meme coins DOGE, SHIB, PEPE, FLOKI 60 – 120
Volatile with quick trend reversals; 2–4 months captures parabolic runs + drawdowns.
📅 Chart Timeframe:
Use Daily (1D) timeframe for all these.
For extra macro insight, try Weekly (1W) with 52 bars (≈ 1 year).
Compare multiple assets using the same period to assess relative risk.
If you're building a long-term portfolio, combine this with:
200-day SMA or EMA for trend context.
Sharpe Ratio or Sortino Ratio if you're looking for risk-adjusted return metrics.
Earnings [theUltimator5]This indicator highlights daily price changes on earnings announcement days using dynamic colors, labels, and optional earnings markers.
🔍 Key Features:
Earnings Detection:
Highlights only the days when an earnings event occurs.
Price Change Calculation:
Computes the percentage change from open to close on earnings day.
Color-coded Labels:
Displays the % change as a floating label above the chart on earnings days.
Color intensity reflects the size and direction of the move:
Bright green for large gains (≥ +10%)
Bright red for large losses (≤ -10%)
White for negligible change
Gradient fades between those extremes
Optional "Earnings" Marker:
A small label marked “Earnings” appears beneath the % change label, controlled by a user toggle.
Background Highlight:
The chart background is shaded on earnings days with a semi-transparent color based on the % change.
⚙️ User Input:
✅ Show 'E' Marker: Toggles the visibility of the "Earnings" label below the main price change label.
✅ Ideal Use Case:
Use this indicator to visually analyze how a stock reacts on earnings days, helping traders spot consistent behavior patterns (e.g., post-earnings rallies or selloffs).
Tension Squeeze Clock v1.0🔥 Tension Squeeze Clock v1.0
Forecast explosive market moves before they happen.
The Tension Squeeze Clock is a cyclical compression detector that identifies when the market is storing energy across multiple dimensions — and signals when that energy is about to uncoil.
This indicator combines three critical components:
🔹 RSI Contraction – Detects when momentum is balanced and compressed
🔹 Volatility Squeeze – Measures low standard deviation in price movement
🔹 Range Tension – Flags tight candle ranges relative to average volatility
When all three compressions align, the indicator prints a clear “Squeeze Ready” signal. When the pressure breaks, it signals “Squeeze Uncoiling” — a prime moment to watch for volatility surges or directional breakouts.
📈 Recommended Usage
🔍 This tool works especially well on the Daily timeframe, where coiled conditions often lead to significant price expansions.
Use it to:
Anticipate breakout setups
Confirm coiled consolidation zones
Add timing precision to your volume or divergence-based strategies
📊 Display Options
Panel view with bar colors to reflect compression strength
On-chart labels for squeeze signals
Optional alerts when a squeeze begins or breaks
Whether you're swing trading, trend riding, or timing reversals, the Tension Squeeze Clock helps you see what most indicators miss: the calm before the storm.
ATR Trailing Stop with ATR Targets [v6]What the Indicator Does
This custom TradingView indicator is designed for active traders who want to automate and visualize their trailing stop management and target setting, using true market volatility. It combines the Average True Range (ATR) with dynamic market structure logic to:
Trail a stop-loss behind major swings in real time, using 2×ATR (adjustable) from the highest high in uptrends or the lowest low in downtrends.
Flip trading bias between bullish and bearish when the stop is breached.
Identify and plot three profit targets (at 1, 2, and 3 ATR from the breakout/flip point) after every stop-flip, helping traders scale out or set take-profits objectively.
Maintain a visible presence on your chart every bar to avoid indicator errors, with color and labeling for clear distinction between long/short phases.
How the Indicator Works
1. ATR Calculation
ATR Period and Multiplier: You select your preferred ATR length (default is 14 bars) and a multiplier (default is 2.0).
Volatility Adjustment: ATR measures the average "true" bar range, so the trailing stop and targets adapt to current volatility.
2. Trailing Stop Logic
Uptrend (bullish bias): The indicator tracks the highest high made since the last bearish-to-bullish flip and sets the stop at - .
The stop only raises (never lowers) during an uptrend, protecting gains in strong moves.
Downtrend (bearish bias): Tracks the lowest low made since the last bullish-to-bearish flip, with stop at + .
The stop only lowers (never raises) in a downtrend.
Flip Point: If price closes through the trailing stop, the current bias “flips,” and the logic reverses (bullish to bearish or vice versa). At the new close, flip price and bar index are stored for target calculation.
3. ATR Targets after Flip
After each stop flip:
Three targets—based on the new close price—are calculated and plotted:
Long flip (new bull bias): Target1 = close + 1×ATR, Target2 = close + 2×ATR, Target3 = close + 3×ATR.
Short flip (new bear bias): Target1 = close - 1×ATR, Target2 = close - 2×ATR, Target3 = close - 3×ATR.
These targets help with scaling out, partial profit-taking, or setting automated orders.
4. Visual Feedback
Trailing stop line: Green for long bias, red for short bias.
Targets: Distinct color-coded circles at 1, 2, 3 ATR levels from the most recent flip.
Flip Labels: Mark the bar and price where bias flipped (“Long Flip” or “Short Flip”) for quick pattern recognition.
Subtle background shading: Ensures TradingView's requirement for “indicator output every bar.”
How to Use This Indicator
Parameter Setup
ATR Period and Multiplier: Adjust to match the timeframe and volatility of your instrument.
Lower periods/multipliers for short-term/volatile trading.
Higher values for smoother signals or higher timeframes.
Starting Trend: Set to match the expected initial bias if the instrument has strong trend characteristics.
Trading Application
1. Daily Bias Approach
Establish your bias in line with your trading plan (e.g., only trade long if price is above the previous day's high, short below the previous day's low).
Only look for trades in the indicator's current bias direction, as expressed by the stop and background color.
2. Entry
Use the indicator as a real-time confirmation or trailing stop for your entries.
Breakout: Enter when price establishes the current bias, using the trailing stop as your risk level.
Reversal: Wait for a bias flip after an extended move; enter in the direction of the new bias.
VWAP Rebound: Combine with a VWAP bounce—enter only if the indicator bias supports your direction.
3. Exits/Targets
Trailing stop management: Move your stop according to the plotted line; exit if your stop is hit.
Profit-taking: Scale out or take profits as price approaches each ATR-based target.
Use the dynamic labeling to identify reversal flips and reset your plan if stopped or the bias changes.
4. Market Context
Filter and frame setups by watching correlated indicators (DXY, VIX, AUDJPY, put/call ratio) and upcoming news; trade only in the daily bias direction for best consistency.
5. Practical Tips
Combine this indicator with your custom watchlist and alert settings to get notified on flips or targets.
Review the last label ("Long Flip"/"Short Flip") and targets to plan partial exits.
Remember: ATR adapts to volatility, so the stop and targets stay proportionate even when price action shifts.
Hybrid Strategy with Position Control//@version=6
indicator('Hybrid Strategy with Position Control', overlay=true)
// === INPUTS ===
emaFastLen = input.int(8, 'Fast EMA')
emaSlowLen = input.int(21, 'Slow EMA')
rsiLen = input.int(14, 'RSI Length')
rsiOverbought = input.int(70, 'RSI Overbought')
rsiOversold = input.int(30, 'RSI Oversold')
macdFast = input.int(12, 'MACD Fast')
macdSlow = input.int(26, 'MACD Slow')
macdSignal = input.int(9, 'MACD Signal')
// === CALCULATIONS ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
rsi = ta.rsi(close, rsiLen)
= ta.macd(close, macdFast, macdSlow, macdSignal)
// === POSITION TRACKING ===
var int position = 0 // 0 = no position, 1 = long, -1 = short
// === ENTRY CONDITIONS ===
longCondition = ta.crossover(emaFast, emaSlow) and rsi < rsiOverbought and macdLine > signalLine and position != 1
shortCondition = ta.crossunder(emaFast, emaSlow) and rsi > rsiOversold and macdLine < signalLine and position != -1
// === EXIT CONDITIONS (Optional logic for reset) ===
exitLong = ta.crossunder(emaFast, emaSlow)
exitShort = ta.crossover(emaFast, emaSlow)
// === SIGNAL PLOTS ===
buySignal = longCondition
sellSignal = shortCondition
plotshape(buySignal, title='Buy Signal', location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small, text='BUY')
plotshape(sellSignal, title='Sell Signal', location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small, text='SELL')
// === STATE MANAGEMENT ===
if (longCondition)
position := 1
if (shortCondition)
position := -1
// Reset position if trend reverses
if (exitLong and position == 1)
position := 0
if (exitShort and position == -1)
position := 0
// === PLOT EMAs ===
plot(emaFast, color=color.orange, title='Fast EMA')
plot(emaSlow, color=color.blue, title='Slow EMA')