ATR ZLEMA [QuantAlgo]🟢 Overview
The ATR ZLEMA indicator identifies trend direction and reversal points using a Zero Lag Exponential Moving Average (ZLEMA) combined with volatility-adjusted dynamic trailing stops. It eliminates the inherent lag of traditional moving averages while incorporating Average True Range (ATR) volatility measurement to create adaptive support and resistance levels that automatically adjust to market conditions, with optional noise filtering to reduce whipsaws in choppy markets, helping traders and investors identify trend changes, maintain positions during trending markets, and exit when momentum shifts across multiple timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its zero-lag trend detection system combined with volatility-adaptive trailing stops, where the ZLEMA eliminates moving average lag while ATR-based bands provide dynamic support and resistance levels:
lag = math.floor((zlemaLength - 1) / 2)
rawZlema = ta.ema(source + (source - source ), zlemaLength)
The Zero Lag EMA calculation uses lag reduction through data compensation, adding the difference between current price and lagged price to eliminate the delay inherent in traditional exponential moving averages, providing faster response to trend changes while maintaining smoothness.
The script incorporates an optional ATR-based noise filter that prevents the ZLEMA from updating during insignificant price movements, helping to reduce false signals in choppy, range-bound markets:
if enableNoiseFilter
noiseThreshold = atr * noiseFilter
priceChange = math.abs(rawZlema - zlema)
if priceChange > noiseThreshold
zlema := rawZlema
First, the indicator calculates the Average True Range to measure current market volatility, then applies a user-defined multiplier to determine the distance of the trailing stop from the ZLEMA:
atr = ta.rma(ta.tr(true), atrLength)
atrBand = atr * atrMultiplier
Next, dynamic trend detection occurs through a state-based system where the indicator tracks whether the ZLEMA is above or below the ATR trailing line, automatically adjusting the trailing stop position:
if trend == 1
if zlema < zlemaATR
trend := -1
zlemaATR := zlema + atrBand
else
zlemaATR := math.max(zlemaATR, zlema - atrBand)
The ATR trailing line acts as a volatility-adjusted stop that follows the ZLEMA during trends but never moves against the trend direction. It ratchets upward with the ZLEMA in uptrends and ratchets downward in downtrends, creating a protective barrier that adapts to market volatility.
Finally, trend reversal signals are generated when the ZLEMA crosses the ATR trailing line, indicating a shift in market momentum:
bullSignal = trend == 1 and trend == -1
bearSignal = trend == -1 and trend == 1
This creates a volatility-adaptive trend-following system that combines ZLEMA with dynamic support/resistance levels and optional noise filtering, providing traders with responsive directional signals and automatic stop-loss levels that adjust to both price momentum and market volatility conditions.
🟢 Signal Interpretation
▶ Bullish Trend (Green): ZLEMA trading above ATR trailing line with indicator showing bullish color, indicating established upward momentum with zero-lag confirmation = Long/Buy opportunities
▶ Bearish Trend (Red): ZLEMA trading below ATR trailing line with indicator showing bearish color, indicating established downward momentum with zero-lag confirmation = Short/Sell opportunities
▶ ATR Trailing Line as Dynamic Support: In uptrends, the trailing line acts as volatility-adjusted support level that rises with ZLEMA, never declining = Use as potential stop-loss reference for long positions = ZLEMA holding above indicates trend strength and momentum continuation
▶ ATR Trailing Line as Dynamic Resistance: In downtrends, the trailing line acts as volatility-adjusted resistance level that falls with ZLEMA, never rising = Use as potential stop-loss reference for short positions = ZLEMA holding below indicates trend weakness and momentum continuation
🟢 Features
▶ Preconfigured Presets: Three optimized parameter sets for different trading styles and market conditions. "Default" provides balanced configuration suitable for swing trading on daily and 4-hour charts with standard ZLEMA and ATR periods, moderate multiplier, and moderate noise filtering that works across most market conditions. "Fast Response" delivers aggressive configuration designed for intraday trading and scalping on 5-minute to 1-hour charts with shorter ZLEMA period for quick trend detection, reduced ATR period for rapid volatility adaptation, tighter multiplier for early entries/exits, and minimal noise filtering for maximum responsiveness. This is ideal for active traders monitoring positions closely but expect more frequent signals and potential whipsaws in choppy conditions. "Smooth Trend" focuses on conservative configuration for position trading and long-term trend following on daily to weekly charts with extended ZLEMA period for smoother trend identification, longer ATR period for stable volatility measurement, wide multiplier to filter minor corrections, and aggressive noise filtering to ensure only strong sustained trends trigger signals. This is best for patient traders focused on major trend moves with fewer reversals.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend changes and zero-lag momentum shifts. "Bullish Trend" triggers when the ZLEMA crosses above the ATR trailing line and trend state changes from bearish to bullish, signaling potential long entry opportunities with lag-eliminated confirmation. "Bearish Trend" activates when the ZLEMA crosses below the ATR trailing line and trend state changes from bullish to bearish, signaling potential short entry or long exit points with immediate momentum detection. "Any Trend Change" provides a combined alert for any trend reversal regardless of direction, allowing traders to be notified of all zero-lag momentum shifts without setting up separate alerts. These notifications enable traders to capitalize on trend changes and protect positions without continuous chart monitoring, leveraging the indicator's zero-lag technology for faster trend change alerts.
▶ Color Customization: Six visual themes (Classic, Aqua, Cosmic, Ember, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast for identifying bullish versus bearish trends across various trading environments. The adjustable cloud fill transparency control (0-100%) allows fine-tuning of the gradient area prominence between the ATR trailing line and ZLEMA, with higher transparency values (70-95) creating subtle background context without overwhelming the chart while lower values (20-40) produce bold, prominent trend zone emphasis for instant recognition. Optional bar coloring with adjustable transparency (0-100%) extends the trend color directly to the price bars themselves based on ZLEMA trend state, providing immediate visual reinforcement of current trend direction without requiring reference to the indicator lines.
Average True Range (ATR)
Core IC 2.0
## 📌 NIFTY Weekly Option Seller — Core Regime & Risk Framework
This indicator is designed for **systematic weekly option selling on NIFTY**, focused on **Iron Condors (IC), Put Credit Spreads (PCS), and Call Credit Spreads (CCS)**.
It is **not a scalping tool** and **not a signal generator**.
Instead, it provides a **structured decision framework** to help option sellers decide:
* *What structure to deploy* (IC / PCS / CCS)
* *How aggressive to be* (position size & distance)
* *When to adjust* (defend / harvest / regime change)
---
## 🔍 What the Indicator Does
### 1️⃣ Market Regime Detection
The script continuously evaluates the market and classifies it into one of three regimes:
* **IC (Range / Mixed)** – neutral, mean-reverting conditions
* **PCS (Trend Up)** – bullish trend continuation
* **CCS (Trend Down)** – bearish trend continuation
Regime selection is based on:
* EMA structure
* ADX (trend strength)
* VWAP positioning
* Higher timeframe (daily) trend alignment
---
### 2️⃣ Independent Conviction Scores
The indicator computes **three independent scores (0–5)**:
```
IC / PCS / CCS
```
These scores represent **conviction strength**, not trade signals.
* Higher score = stronger suitability for that structure
* All three scores are always visible for transparency
Only **one active score** (based on the current regime) is used for:
* Position sizing
* Strike distance suggestions
* Risk management logic
---
### 3️⃣ Risk-First Position Guidance
Based on the active score, the indicator suggests:
* **Position Size** (100% / 50% / 25%)
* **Short strike distance** (ATR-based, dynamic)
* **Defend / Harvest conditions**
* **Regime change alerts**
This helps traders remain **consistent and disciplined**, especially during volatile weeks.
---
### 4️⃣ Visual Decision Panel
A compact panel displays all key information at a glance:
* Regime (IC / PCS / CCS)
* ATR & ADX
* Suggested size
* Suggested short distance
* IC / PCS / CCS scores
* Key reference levels (H3 / L3, VWAP)
No guesswork, no over-trading.
---
## 🕒 Recommended Usage
* **Best timeframe:** 1H or 4H
* **Ideal style:** End-of-day or limited-check traders
* **Designed for:** Weekly option sellers (not intraday scalpers)
Adjustments are intended to be made **at fixed checkpoints**, not every candle.
---
## ⚠️ Important Notes
* This is **not financial advice**
* The indicator does **not place trades**
* Works best when combined with:
* Defined stop-loss rules
* Fixed risk-reward discipline
* Proper position sizing
---
## 🎯 Who This Is For
✔ Rule-based option sellers
✔ Traders focused on consistency over excitement
✔ Professionals who value structure and risk control
❌ Not for discretionary scalpers
❌ Not for beginners without options knowledge
ST | ATR Trailing StopA precise volatility-based Trailing Stop designed for momentum trading. This indicator helps remove emotional decision-making from exits by trailing the price based on the Average True Range (ATR).
Weekly IR Breakout SignalsInspired by XO (@Trader_XO) on CT for his trading strategy
and special thanks to REBO (@@R3BOOO) for putting it together in a cheat sheet and sharing it
contact me on X: @neuromancer0x
-------------------------------------------
Timeframe Recommendations:
1H chart - Day trading (5-10 signals/month)
4H chart - Swing trading (2-5 signals/month) ⭐ Best
Daily chart - Position trading (1-2 signals/month)
-------------------------------------------
When Signals Appear:
Monday: No signals (just setting up IR)
Tuesday-Friday: Watch for breakouts
Max 1 LONG + 1 SHORT per week (indicator enforces this)
-------------------------------------------
Risk Management:
Risk 0.5-1% per trade
Never risk more than 2% in one day
If 2 losses in a row → reduce size or pause
-------------------------------------------
🔔 Setting Up Alerts
Click "Create Alert" (⏰ icon)
Condition: Select "🟢 LONG Entry" or "🔴 SHORT Entry"
Alert name: "Weekly IR Signal"
Set to: "Once Per Bar Close"
Send to: Phone/Email/App
Adaptive Trend Flow (ATF)Adaptive Trend Flow (ATF) is a custom trend-following indicator designed to work reliably across all markets and all timeframes.
It uses an adaptive moving average that automatically adjusts to market conditions, combined with trend slope analysis and a volatility filter to reduce noise during ranging periods.
Unlike traditional fixed moving averages, ATF reacts faster during strong trends and slows down during consolidation, helping traders stay aligned with meaningful price movements.
🔍 How It Works
Uses an adaptive smoothing algorithm to track price efficiently
Confirms trend direction using trend slope
Filters out low-volatility and choppy conditions using ATR-based logic
Does not repaint — signals are based only on confirmed data
📊 Visual Interpretation
🟢 Green line / background → Bullish trend
🔴 Red line / background → Bearish trend
⚪ Gray → No clear trend (range / low volatility)
⚙️ Features
Works on Crypto, Forex, Stocks, Futures
Compatible with all timeframes
Optional trend-change signals
Optional background highlighting
Fully customizable inputs
Alert-ready
🎯 Best Use Cases
Trend filter for entries and exits
Directional bias for scalping, day trading, or swing trading
Strategy backbone when combined with price action or momentum tools
⚠️ Disclaimer
This indicator is for educational and analytical purposes only and does not constitute financial advice. Always manage risk appropriately.
ATR with History (Red/Yellow Style)Gives you last 20 candles ATR (Red Line) , and averages the last 2 weeks' ATR at your current time (Yellow Line)
Prop Safety Filter - Dynamic SizeListen, we all know the market gets too fast sometimes. This scrypt lets you set your personal daily loss limit and helps you guess when market conditions will let you trade up to 4 trades without blowing your PDLL.
You earnetly can still trade if the screen goes red, but the suggestion is if you do, trade smaller. Tell it how many micros you're trading and this script uses ATR to determine if the individual candles are too wild or not for you to hold a trade with a reasonably small stop loss.
I "wrote" this script with Gemini, so if you have any issue with it, have gemini rewrite it for you, no problem.
MACD-V (Volatility Normalized MACD)Award-Winning Momentum Indicator by Alex Spiroglou (CMT Charles Dao Award & NAAIM Founders Award, 2022)
The classic MACD has powered trading decisions for decades, but it suffers from five major limitations that undermine consistency:
1- Readings are not comparable over time (absolute price dependency causes massive scale differences across decades)
2- Not comparable across markets or assets (e.g., stocks vs. forex vs. crypto)
3- No universal overbought/oversold levels
4- Excessive whipsaws in low-momentum/range-bound conditions
5- Lagging signals in high-momentum reversals (e.g., missing big chunks of V-shaped recoveries)
MACD-V solves all five issues by normalizing momentum against volatility instead of price.
Core Formula
MACD-V = (EMA(12) - EMA(26)) / ATR(26) × 100
This expresses momentum in units of Average True Range (ATR), creating a volatility-adjusted oscillator that remains mathematically meaningful and comparable:
-Analysts can use MACD-V across any timeframe:
-Across any asset class (stocks, forex, commodities, bonds, crypto)
-Over decades of history
Key Features & Benefits
Time-stable & cross-market comparable: A +100 reading today has the same meaning as +100 in the past years, regardless of asset or price level.
Universal extremes: ±150 captures ~95% of all readings across markets → extreme/stretched momentum.
Momentum Lifecycle Roadmap (objective framework):
+150 or < -150: Extreme / overstretched (high reversal risk)
+50 to +150 or -50 to -150: Strong directional momentum (rallying, retracing, rebounding, reversing)
-50 to +50: Neutral / low momentum / ranging (avoid most signals — high whipsaw zone)
Range Rules for regime context: In bullish regimes (price > 200 EMA), -50 to -150 becomes the practical oversold zone; readings below -100 are rare and often powerful buy setups. Opposite in bearish regimes.
Improved signal quality: Filter whipsaws in neutral zone, anticipate lag in extremes, prioritize high-probability crosses in strong-momentum bands.
MACD-V Histogram (MACD-VH): Normalized short-term momentum with extremes at ±40 for fast reversal detection.
Backtesting & strategy-friendly: Enables reliable historical analysis, cross-asset relative strength, and systematic rules
MACD-V transforms momentum from subjective art into objective, repeatable science — giving you consistent, actionable insights no matter what you're trading.
Use it standalone or layer with trend filters (e.g., 200 EMA), volume, or price action for even stronger edges.
Developer: Alex Spiroglou
Open-source versions inspired by his work — feel free to fork and improve!
Happy trading! 🚀
Dynamic Strike Selection Indicator [ARJO]Dynamic Strike Selection Indicator
OVERVIEW
The Dynamic Strike Selection Indicator is a visual analysis tool designed for traders observing NSE (National Stock Exchange of India) instruments, particularly those interested in options. It displays a trend-based oscillator in the lower chart pane and automatically calculates option strike prices , presenting them in an easy-to-read table. The indicator helps users observe trend changes and understand how option strikes might be selected based on current market conditions.
IT has a dashboard that shows you:
Where the trend might be heading (through the oscillator)
What option strikes align with the current price level
When trend transitions occurred
CONCEPTS
This indicator combines several technical analysis concepts in a beginner-friendly format:
1. Trend Observation (Chandelier Exit)
The indicator uses a method called "Chandelier Exit" which observes price volatility to identify potential trend directions. When the indicator shows green, it suggests an upward trend pattern; red suggests a downward pattern. These are reference points, not predictions.
2. Smoothed Price Movement
Raw price data can be noisy. This indicator applies mathematical smoothing (called "Ehlers 2-Pole filter") to reduce short-term fluctuations, making it easier to observe the underlying trend direction.
3. Momentum Oscillator
The oscillator (displayed as bars and lines in the lower pane) shows the difference between smoothed price and its moving average. Positive values suggest upward momentum; negative values suggest downward momentum . This is similar to how MACD or LBR works.
4. Strike Price Calculation
For option traders , the indicator automatically calculates:
ATM (At-The-Money): The strike price closest to the current underlying price
OTM (Out-of-The-Money): Strike prices at a distance from ATM, based on your settings
These calculations use standard rounding methods based on each instrument's official strike interval.
FEATURES
Visual Components:
Color-Coded Oscillator: Green/teal for potential uptrend, purple/red for potential downtrend
Histogram Display: Visual bars showing momentum strength
Chandelier Exit Lines: Plotted on the main price chart as reference levels
Information Table: Displays calculated strikes, timestamps, and optional tracking data
Supported Instruments:
Major indices: NIFTY, BANKNIFTY
Popular stocks: RELIANCE, HDFCBANK, ICICIBANK, INFY, TCS, SBIN, and more
Any NSE instrument (using manual strike interval setting)
Flexible Configuration:
Choose between "Sell Mode" and "Buy Mode" perspectives
Customize strike interval for any instrument
Adjust sensitivity of trend detection
Modify visual appearance (colors, table position, text size)
Track entry prices and observe P&L calculations (for reference only)
Features:
Automatic strike interval detection for predefined instruments
Manual override option for custom requirements
Real-time option premium fetching (where available)
Timestamp recording of trend transitions
Active trade highlighting based on current trend
HOW TO USE
Step 1: Adding the Indicator
Open your TradingView chart with an NSE instrument (e.g., NIFTY, BANKNIFTY, or any stock)
Search for " Dynamic Strike Selection Indicator " in the Indicators menu
Click to add it to your chart
You'll see an oscillator appear in a pane below your price chart and a table in the corner
Step 2: Basic Settings
Click the settings (gear icon) on the indicator. Here are the key settings to understand:
Symbol Settings:
Symbol Source: Keep it on " Use Chart Symbol " to analyze whatever instrument is on your chart
Custom Symbol: Only change if you want to analyze a different instrument while viewing another chart
Expiry Date:
Set the expiry date of the option contracts you're observing
Use the dropdown menus for Day, Month, and Year
Example: For 30th January 2025, select Day: 30, Month: 01, Year: 25
Trade Entry (Optional):
Trade Mode: Choose "Sell" or "Buy" based on your observation perspective
Lot Size: Enter your intended lot size for P&L calculation reference
PUT/CALL Entry Price: Manually enter prices if you want to track reference P&L
OTM Strike Distance:
Default is 4 (means 4 strikes away from ATM)
Increase for further OTM strikes, decrease for closer strikes
Step 3: Understanding the Display
The Oscillator (Lower Pane):
Green/Teal Bars: Suggest bullish momentum characteristics
Purple/Red Bars: Suggest bearish momentum characteristics
Zero Line: The reference point - above suggests strength, below suggests weakness
Color Change: When the oscillator changes from red to green (or vice versa), it indicates a potential trend transition
Active Row Highlighting:
In Sell Mode: Green background on PUT row during uptrend, Red background on CALL row during downtrend
In Buy Mode: Green background on PUT row during downtrend, Red background on CALL row during uptrend
This helps you observe which strike aligns with the current trend direction
Visual Customization:
Change oscillator colors under "Color Settings"
Adjust table position, size, and transparency under "Table Settings"
Modify table colors to match your chart theme
NOTES FOR BEGINNERS
Start Simple: Use default settings first. Don't change too many parameters initially.
Paper Trade First: Observe the indicator for several days before considering any real trades. Note how often trend transitions occur and how strikes align.
Understand Your Instrument: Know the strike interval for your chosen stock/index. NIFTY/BANKNIFTY use 100, most stocks use 10, 20, or 50.
Timeframe Matters: The indicator behaves differently on different timeframes. A 5-minute chart will show more transitions than a 1-hour chart.
Use with Other Analysis: This indicator is one tool among many. Combine with price action, support/resistance, and volume analysis.
Don't Chase: Just because a transition occurs doesn't mean you must act. Observe the quality of the move.
Backtest Observations: Use TradingView's replay feature to observe how the indicator performed historically.
CONCLUSION
The Dynamic Strike Selection Indicator serves as an educational tool for observing trend-based oscillator patterns and understanding how option strikes might be mathematically selected based on current market conditions. It combines visual trend analysis with structured strike price calculations, helping users study the relationship between momentum patterns and option strike references.
The indicator is designed to enhance chart interpretation skills and provide transparency into strike selection methodologies. It does not predict future price movements or guarantee any outcomes. Users are encouraged to use it as one component of a broader analytical approach, always conducting independent research and maintaining realistic expectations about market analysis tools.
DISCLAIMER
This indicator is strictly for educational and analytical observation purposes. It is NOT a trading system, signal generator, or financial advisory service.
What This Indicator Does NOT Do:
Does not predict future price movements with certainty
Does not guarantee profitable trades or outcomes
Does not constitute financial, investment, or trading advice
Does not replace the need for independent research and analysis
Does not eliminate trading risks or ensure success
What You Must Understand:
All calculated strikes, P&L values, and trend observations are informational references only
Option trading involves substantial risk and can result in complete loss of invested capital
Past indicator performance does not predict future results
Trend transitions shown are historical observations, not predictions
The "active" highlighting is a visual reference tool, not a trade recommendation
Conduct thorough independent research before taking any trading decision. and consult qualified, licensed financial professionals for personalized advice.
The creator of this indicator is not a registered investment advisor, broker, or financial planner. This tool is provided "as is" without warranties of any kind. By using this indicator, you acknowledge that you understand these risks and limitations, and you agree that all trading decisions and their consequences are solely your responsibility. If you do not fully understand these risks or are unsure about options trading, do not use this indicator for live trading .
Uptrend Pullback (High Winrate-ish) - RSI + EMA + ATR TrailUptrend Pullback Strategy (EMA Filter + RSI Reversal + ATR Trailing Stop)
Description
This strategy is designed for rising markets and trades long only. It uses a simple trend filter and a pullback entry:
Trend filter: An uptrend is defined when EMA(50) > EMA(200) and price is above EMA(200). Trades are allowed only under these conditions.
Entry (buy the dip): A long position is opened when RSI crosses up above a user-defined pullback level (default 40), suggesting a pullback is ending and momentum is recovering.
Exits:
Take profit: Close the position when RSI reaches an overbought level (default 70).
Risk management: A dynamic ATR-based trailing stop follows price upward to lock in gains.
Hard stop: An additional ATR-based stop acts as a safety net to limit downside risk.
Notes
Parameters (EMA lengths, RSI levels, ATR multipliers) are fully configurable.
This is a demo/reference strategy for research and optimization; results depend strongly on the symbol and timeframe.
If you want, I can also write a shorter “one-liner” description and a set of tag keywords for the publish page.
Profit Punch: Risk & Target Planner (ATR + Fixed R)Profit Punch: Risk & Target Planner (ATR + Fixed R)
This indicator is a complete trade planning tool designed to visualize your Risk (R) and Reward levels instantly. Whether you use a volatility-based strategy (ATR) or precise manual levels, this tool draws your roadmap directly on the chart.
It solves the problem of calculating "R-Multiples" manually and ensures every trade plan is consistent.
Key Features
1. Smart Risk Calculation
Auto Mode (ATR): Uses the stock's daily volatility (ATR) to automatically suggest a logical Stop Loss.
Manual Mode: Lets you type in your exact Stop Loss price (e.g., below a recent low), and the tool automatically adjusts your Profit Targets to match that specific risk.
2. Hybrid Targeting (The "Nuance")
You can set a tight manual stop but keep your profit targets based on daily volatility (ATR). This allows for "Hybrid" setups where you risk a small amount (tight stop) but aim for a standard volatility move (ATR targets).
3. Backtesting Friendly
Use the "Target Date" feature to apply the tool to any past candle. It will calculate the targets based on what the volatility was on that specific day , allowing you to accurately review past trades.
4. Clean & Customizable
Editable Labels: Rename "1R" to "Goal 1" or "Take Profit".
Clean Look: Toggle any line on/off to keep your chart simple.
Timeframe Independent: Calculations are always anchored to Daily data for consistency, even if you are viewing a 5-minute chart.
How to Use
Step 1: Add to Chart. The lines will appear on the latest bar by default.
Step 2: Set Entry. In Settings, check "Use Manual Entry" to type your exact buy price, or leave unchecked to use the closing price.
Step 3: Set Stop. Choose "Auto (ATR)" for a volatility-based stop, or "Manual Price" to type in your specific stop level.
Step 4: Visualize. The tool draws your 1R, 3R, 5R, and 7R targets instantly.
Settings Guide
Risk Factor: Multiplier for the ATR calculation (Default is 1.5).
Target Base: Choose whether profit targets are multiples of your Stop Distance (Classic) or Fixed ATR (Volatility).
Custom Labels: Change the text displayed on the chart (e.g., "Safe Exit" instead of "1R").
Who is this for?
This tool is built for swing traders, educators, and anyone who uses "R-Multiples" (Risk Units) to manage their portfolio. It is especially useful for creating consistent trade plan screenshots.
ATR Levels - Current Candle Open [MTF]a further improvement from the first version of the script. My intent is to look at 4H ATR levels meanwhile being on 5m or 1m.
Let me know if you have any questions or any suggestions to improve.
Multi-Timeframe Support
Anchor to any timeframe (e.g., 240 for 4H, D for Daily)
Leave blank to use chart's timeframe
ATR Levels
24 configurable levels (0.5 - 12.0 ATR)
4 groups for easy management
Bull color (default: teal) / Bear color (default: orange)
Adjustable line width
Optional level labels
Levels start at current HTF candle open, extend right
Live Extension Display
NOW row shows real-time UP/DN extension in ATR units
Updates as price moves within current HTF candle
Anchor Marker
Line + crosshair at current HTF open
Configurable colors (label bg, text, line)
Adjustable label offset (0-100 bars)
Statistics Table
REACH / REACT / REACT % for levels 0.5-3.0 ATR
Color-coded: green ≥50%, orange 30-50%, red <30%
Position: bottom-right
Size: Normal/Large/Huge
ATR Levels - Previous Candle Open [MTF]a further improvement from the first version of the script. My intent is to look at 4H ATR levels meanwhile being on 5m or 1m.
Let me know if you have any questions or any suggestions to improve
Multi-Timeframe Support
Anchor to any timeframe while viewing on a different chart timeframe
Examples: View 4H ATR levels on 5m chart (set to 240), Daily on 1H (D), etc.
Leave blank to use chart's timeframe
ATR Levels
24 configurable levels from 0.5 to 12.0 ATR (in 0.5 increments)
Organized in 4 groups for easy management
Separate bull/bear colors
Adjustable line width
Optional level labels
Previous Candle Zone
Visual background box showing previous HTF candle's high-low range
Configurable zone color and transparency
Toggle on/off
Extend Levels Setting
0 = Levels end exactly where previous candle closed
-1 = Extend infinitely to the right
1-500 = Extend specific number of bars beyond candle close
Anchor Marker
Horizontal line + vertical crosshair at anchor point
Configurable label background, text color, and line color
Adjustable label offset (0-100 bars)
Line extends to meet the label
Statistics Table
Tracks REACH (times price hit level) and REACT (times price reversed)
REACT % color-coded: green ≥50%, orange 30-50%, red <30%
Based on HTF candle data (100 bars)
Configurable table size (Normal/Large/Huge)
Positioned top-right
ATR Levels - Current Candle Close1 of 3 scripts
I use all 3 together to "tell the story"
specifically designed for NQ to watch 4H timeframe.
code is generated by Claude AI so thats why it is free.
ATR Levels - Current Candle Open1 of 3 scripts
I use all 3 together to "tell the story"
specifically designed for NQ to watch 4H timeframe.
code is generated by Claude AI so thats why it is free.
ATR Value Number Display Only (No line chart)OVERVIEW:
The ATR (Average True Range) Value Display provides a clean, always-visible ATR reading on your chart. This essential volatility indicator helps traders set appropriate stop losses, position sizes, and profit targets based on current market volatility.
KEY FEATURES:
• Real-Time ATR Display: Shows current ATR value in a clean table format
• Customizable Appearance: Fully customizable text and background colors
• Adjustable Period: Standard 14-period default with full customization
• Bottom-Right Positioning: Non-intrusive placement that doesn't obstruct price action
• Tick Precision: Displays ATR value with accurate tick formatting
• Lightweight: Minimal resource usage with maximum clarity
HOW TO USE:
1. Add the indicator to any timeframe chart
2. Adjust ATR Length based on your trading style (14 is standard)
3. Customize colors to match your chart theme
4. Use ATR value to:
- Set stop loss distances (e.g., 1.5x ATR)
- Calculate position sizes based on risk tolerance
- Identify increasing/decreasing volatility trends
- Set realistic profit targets
SETTINGS:
• ATR Length: Calculation period (default: 14)
• Text Color: Customize the ATR text color (default: white)
• Box Color: Customize the background box color (default: semi-transparent blue)
PERFECT FOR:
✓ Position sizing based on volatility
✓ Setting dynamic stop losses that adapt to market conditions
✓ Identifying high/low volatility periods
✓ Comparing volatility across different instruments
✓ Risk management and trade planning
WHAT IS ATR?
Average True Range (ATR) measures market volatility by calculating the average range between high and low prices over a specified period. Higher ATR values indicate higher volatility, while lower values suggest calmer markets.
TIP: Use ATR on multiple timeframes to understand volatility across different trading horizons.
Median TR SuperTrend | RakoQuantMedian TR SuperTrend | RakoQuant
A Robust Trend-Following Regime Indicator for Daily Crypto Markets
The Median TR SuperTrend is a modern trend-following indicator designed to help students and traders clearly identify the dominant market regime on higher timeframes (especially 1D crypto).
This tool is inspired by the classic SuperTrend framework, but enhanced with a more robust volatility engine, making it better suited for the extreme wick behavior and noise typical in cryptocurrency markets.
What This Indicator Does:
The Median TR SuperTrend answers one simple question:
Are we currently in a bullish trend regime or a bearish trend regime?
It is not meant for rapid scalping or frequent signals.
Instead, it is built to provide:
Clear directional context
Trend continuation bias
Regime-based positioning
Noise reduction on higher timeframes
This makes it ideal for students learning disciplined trend-following.
Core Concept: Trend Following, Not Prediction
This indicator does not attempt to predict tops or bottoms.
It follows trends by reacting only when price establishes a true breakout beyond a volatility-adjusted band.
That means:
Strong trends are captured early
Choppy markets are filtered
Signals are based on regime shifts, not candle-to-candle noise
What Makes It “Robust”?
Traditional SuperTrend systems use ATR (Average True Range) to define volatility.
Crypto markets, however, often produce outlier candles (wicks, liquidations, spikes) that distort ATR.
This version replaces ATR with:
Median True Range (MTR)
Median TR is more resistant to extreme one-off candles, providing:
Smoother volatility estimates
More stable trend bands
Less sensitivity to random spikes
This creates a more reliable trend structure in high-volatility environments.
How It Works (Simple Breakdown)
1. Median Baseline
The indicator begins by calculating a rolling median of price, forming a stable central trend reference.
2. Robust Volatility Bands
A volatility envelope is created using Median True Range:
Upper band = baseline + multiplier × MTR
Lower band = baseline − multiplier × MTR
3. SuperTrend Regime Logic
Only one band is active at a time:
Bull regime → trailing lower band
Bear regime → trailing upper band
Trend flips occur only when price breaks beyond the active band.
Visual Interpretation
Neon Aqua Band
Bullish regime
Trend-following long environment
Neon Magenta Band
Bearish regime
Defensive or short environment
Filled Trend Zone
Shows the active trend space clearly without clutter.
This indicator is designed for learning:
Market structure
Regime trading
Patience and higher timeframe discipline
Recommended workflow:
Use Median TR SuperTrend on 1D
Trade only in the direction of the active regime
Combine with a trigger tool if needed (RSI, momentum, breakout)
Ideal Markets
BTC, ETH, SOL
Daily swing trend environments
Portfolio regime filtering (RSPS / LTPI-style frameworks)
Disclaimer
This indicator is a regime and trend-following tool, not a complete trading system.
It should be used as part of a broader strategy with:
Risk management
Position sizing
Confirmation logic
Fibonacci Active Timeframe Range [UkutaLabs]█ OVERVIEW
Fibonacci Active Timeframe Range is a precision intraday structure tool that uses real-time price expansion combined with Fibonacci ratios to map dynamic support and resistance levels directly from the active timeframe.
Rather than relying on fixed historical averages, this indicator continuously builds a live range from current price action, projecting Fibonacci-derived levels that adapt to market conditions as they develop.
The goal is to give traders a clear structural framework for:
Intraday bias
Reaction zones
Volatility expansion
Pullback levels
Continuation targets
—all in a clean, visual format that integrates seamlessly into any strategy or system.
█ USAGE
The indicator calculates the current timeframe range in real time, anchoring from the active session’s open and projecting multiple Fibonacci levels within that range.
These levels act as dynamic support and resistance zones, updating as price evolves — allowing traders to:
Identify high-probability reaction areas
Define structure for entries and exits
Frame risk more precisely
Align trades with real-time volatility
Anticipate expansion and contraction phases
Each level is clearly labeled for instant recognition and can be used across scalping, intraday, and short-term swing strategies.
█ SETTINGS
Configuration
• Show Labels – Toggle labels on/off for a clean or informational view
• Display Mode – Control how much historical structure is visible
• Font Size – Adjust label size for readability
• Text Alignment – Align labels relative to each level
• Fibonacci Levels – Enable/disable specific ratios
• Range Mode – Select how the current timeframe range is calculated
Luminous Volatility Flux [Pineify]```
Luminous Volatility Flux - Dynamic ATR Bands with Hull Moving Average Baseline
The Luminous Volatility Flux indicator is a sophisticated trend-following and volatility analysis tool that combines the responsiveness of the Hull Moving Average (HMA) with adaptive ATR-based bands that expand and contract based on real-time market volatility conditions. This indicator helps traders identify trend direction, volatility regimes, and potential breakout opportunities with high-probability entry signals.
Key Features
Hull Moving Average baseline for low-lag trend detection
Dynamic volatility bands that breathe with market conditions
Flux Factor system comparing short-term vs long-term ATR
Volatility-filtered breakout signals to reduce false entries
Gradient-filled zones for intuitive visual analysis
Real-time bar coloring based on trend direction
How It Works
The indicator operates on three core calculation layers:
1. Hull Moving Average Baseline
The foundation of this indicator is the Hull Moving Average, calculated using the formula: WMA(2*WMA(n/2) - WMA(n), sqrt(n)). Unlike traditional moving averages, the HMA dramatically reduces lag while maintaining smoothness. This makes it ideal for identifying trend changes earlier than conventional EMAs or SMAs. When the HMA is rising, the baseline turns green indicating bullish momentum; when falling, it turns red for bearish conditions.
2. Volatility Flux Factor
The unique aspect of this indicator is the Flux Factor calculation. It compares short-term ATR (default 14 periods) against long-term ATR (default 100 periods) to determine the current volatility regime:
Flux Factor > 1.0 = Volatility Expansion (market is more volatile than usual)
Flux Factor < 1.0 = Volatility Compression (market is in a squeeze)
This ratio creates a dynamic multiplier that causes the bands to expand during high volatility periods and contract during consolidation phases.
3. Dynamic Band Calculation
The upper and lower bands are calculated as: Baseline ± (Short ATR × Multiplier × Flux Factor). This means the bands automatically widen when volatility increases and tighten during quiet market conditions, providing context-aware support and resistance levels.
Trading Ideas and Insights
Trend Following: Trade in the direction of the baseline color. Green baseline suggests looking for long opportunities; red baseline suggests short opportunities.
Volatility Breakouts: The indicator plots "Flux" signals when price breaks above the upper band (bullish) or below the lower band (bearish) during volatility expansion phases. These signals indicate potential momentum continuation.
Mean Reversion: During compression phases (tight bands), prices often revert to the baseline. Consider taking profits near the bands and re-entering near the baseline.
Squeeze Detection: When bands are unusually tight (Flux Factor < 1), the market is coiling for a potential explosive move. Prepare for breakout trades.
How Multiple Indicators Work Together
This indicator integrates three distinct technical analysis concepts into a cohesive system:
The Hull Moving Average provides the trend direction foundation with minimal lag. The dual ATR comparison (short vs long) creates the Flux Factor that measures relative volatility. The dynamic bands combine both elements, using the HMA as the center and ATR-based deviations that scale with the Flux Factor.
The synergy works as follows: The HMA identifies the trend, the Flux Factor determines market regime (expansion vs compression), and the bands provide dynamic support/resistance levels. Breakout signals only trigger when all components align - price breaks the band AND volatility is expanding. This multi-layered approach filters out many false signals that would occur with static bands or simple moving average crossovers.
Unique Aspects
Unlike Bollinger Bands that use standard deviation, this indicator uses ATR ratio-based dynamic bands that better capture directional volatility
The Flux Factor concept is original - comparing two ATR timeframes to create a volatility regime indicator
Breakout signals are filtered by volatility expansion, reducing false signals during choppy, low-volatility conditions
Gradient fills provide instant visual feedback on the strength of the bullish or bearish zones
How to Use
Add the indicator to your chart. It works on all timeframes and instruments.
Observe the baseline color for overall trend direction (green = bullish, red = bearish).
Watch for band expansion/contraction to gauge volatility regime.
Look for "Flux" signals for potential breakout entries - these appear only during volatility expansion.
Use the gradient zones to identify potential support (lower green zone) and resistance (upper red zone) areas.
Customization
Baseline Length (default: 24) - Controls the HMA period. Lower values = more responsive but noisier; higher values = smoother but more lag.
ATR Length (default: 14) - Short-term ATR period for band calculation. Standard setting works well for most markets.
Flux Multiplier (default: 2.0) - Controls band width. Increase for wider bands (fewer signals), decrease for tighter bands (more signals).
Flux Sensitivity (default: 100) - Long-term ATR period for Flux Factor calculation. Higher values create a more stable volatility reference.
Conclusion
The Luminous Volatility Flux indicator offers traders a comprehensive view of market conditions by combining trend detection, volatility analysis, and signal generation into one elegant tool. Its adaptive nature makes it suitable for various market conditions - from trending markets where it identifies direction and momentum, to ranging markets where it highlights compression and potential breakout zones. The volatility-filtered signals help traders focus on high-probability setups while the visual gradient fills make chart analysis intuitive and efficient.
Note: This indicator is designed as a technical analysis tool. Always use proper risk management and consider multiple factors before making trading decisions. Past performance does not guarantee future results.
```
Daily ATR + DeltaThis indicator shows last value of ATR with this parameters: Length 14, Smoothing RMA, Timeframe 1 day i Wait for timeframe closes.
Also, it shows Delta in percentage.
Delta is calculated in this way: -((the last one-minute closing price of the previous day's stock exchange)-(last price at the moment))/(value of ATR) * 100
Notice:
If you are in postmarket or premarket, delta will be also calculated from the "the last one-minute closing prices of the previous day's stock exchange" not from the "the last one-minute closing price of the todays stock exchange".
You dont need to have indicator Average True Range for this indicator to be working.
ATR Stop LinesATR Stop Lines
Plots dynamic stop-loss levels on the price chart based on ATR (Average True Range). Optionally adjusts stop distance based on volatility regime.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
Green line — Long stop (Close − ATR × multiplier)
Red line — Short stop (Close + ATR × multiplier)
Lines move with price and volatility. When regime-adjust is enabled, stop distance widens in high volatility and tightens in low volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 REGIME-ADJUSTED MULTIPLIERS
When enabled, the multiplier auto-adjusts based on the ATR percentile:
LOW (< 25th pctl) — 1.0× ATR — Tight stops, small moves expected
NORMAL (25–50th pctl) — 1.5× ATR — Standard distance
HIGH (50–75th pctl) — 2.0× ATR — Wider to avoid noise
EXTREME (> 75th pctl) — 2.5× ATR — Widest, or skip the trade
Disable regime-adjust to use a fixed multiplier for all conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
Entry: Note stop line level when entering a trade. Set stop-loss at or beyond that level.
Trailing: Move stop to new line level as price advances in your favor.
Sizing: Wider stop = smaller position to maintain constant risk.
Example:
BTC Daily, ATR = \$2,000, Regime = HIGH (2.0×)
Entry: \$50,000 → Long stop: \$46,000 / Short stop: \$54,000
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 STATUS LABEL
VOL — Current regime (LOW / NORMAL / HIGH / EXTREME)
ATR — Raw ATR value in price units
Mult — Active multiplier
Stop Dist — Current stop distance in price units
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
ATR Settings:
ATR Length (default: 14)
Percentile Lookback (default: 100)
Timeframe:
Use Fixed Timeframe — Lock to specific TF
Fixed Timeframe (default: D)
Stop Settings:
Regime-Adjusted Multiplier — Toggle auto-adjust on/off
Base ATR Multiplier — Used when regime-adjust is off
LOW/NORMAL/HIGH/EXTREME Multipliers — Customize per regime
Display:
Show Long Stop / Show Short Stop
Show Status Label
Long/Short Stop Colors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
Vol → EXTREME
Vol → LOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 COMPANION INDICATOR
Use with ATR Volatility Regime (separate pane) for full context:
Pane indicator → percentile visualization, zone backgrounds
This indicator → actionable stop levels on price chart
Both use identical ATR/percentile logic and stay in sync.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
Works on any timeframe
Stops are dynamic — recalculate each bar
Not a signal generator — use with your own entry logic
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷️ TAGS
ATR, stop-loss, volatility, risk-management, position-sizing, trailing-stop, swing-trading






















