EMA 9/21 Crossover Alert (BerryRight)This indicator gives entry signals through EMA crossover and the gives the opportunity to set up alerts. I will update this indicator with exits in the future. it's written in Pinesctipt v5
真實波幅均值(ATR)
Fibonacci Blended and Volume Flow (VFI) by富东 Fibonacci times period claude atr /etc
new blend between fibonacci vfi 
EMA Channel with ATR Offset + 2 Custom EMAsJust an alternative channel indicator to Bollinger Bands or Ketner channels that uses ATR offsets as the corridor of possible movements, which I recommend changing to fit various tickers. 
Also thrown in is EMA, default is 100 and 50 periods for trend direction and potential confirmation 
Fundur - Trend LinesFundur - Trend Lines: Complete Trading Indicator Guide 
 Indicator Overview 
The  Fundur - Trend Lines  is an advanced multi-layered trend analysis system that combines adaptive trend line technology, momentum analysis, and intelligent signal generation into one comprehensive trading tool. This indicator goes beyond traditional moving averages by utilizing volatility-adjusted trend lines that dynamically adapt to market conditions, providing traders with precise trend strength measurements and actionable trading signals.
 What Makes Trend Lines Unique? 
The Trend Lines indicator introduces  Adaptive Trend Line Technology  - a sophisticated methodology that uses Average True Range (ATR) calculations to create trend lines that respond intelligently to market volatility. Unlike static indicators, Trend Lines provides dynamic analysis that adapts its sensitivity based on current market conditions, offering more accurate trend identification and strength assessment.
 Core Methodology 
The indicator operates on the principle that trend strength can be quantified by analyzing the relationship between multiple adaptive trend lines, momentum indicators, and market structure. By combining  Alignment Analysis ,  Distance Measurements ,  Momentum Confirmation , and  Volatility Expansion Potential , the system generates a comprehensive trend strength score from 0-100% with corresponding trading signals.
 Key Features 
 🎯 Adaptive Trend Line System     Slow Trend Line : Primary trend direction with lower sensitivity for major trend identification  Fast Trend Line : Higher sensitivity trend line for early trend change detection  Volatility Adaptation : Both lines automatically adjust to market volatility using ATR calculations  Cloud Visualization : Colored areas between trend lines show trend strength and direction  
 📊 Comprehensive Trend Strength Analysis     Quantified Strength (0-100%) : Precise trend strength measurement combining multiple factors  Alignment Score : Measures agreement between multiple trend line systems  Distance Analysis : Evaluates price proximity to trend lines using ATR normalization  Momentum Integration : Incorporates Awesome Oscillator for momentum confirmation  Squeeze Factor : Identifies volatility expansion potential for breakout opportunities  
 🧠 Intelligent Signal Generation     Position Signals : Clear ADD LONG, ADD SHORT, REDUCE, HOLD recommendations  Risk Zone Classification : STRONG, MEDIUM, WEAK trend categorization  Trend Direction : Bullish, Bearish, or Neutral trend identification  Dynamic Updates : Real-time signal adjustments based on changing conditions  
 ⚡ Enhanced Momentum Analysis     Smoothed Momentum : Configurable momentum smoothing to reduce noise  Acceleration Detection : Identifies momentum acceleration and deceleration  Divergence Alerts : Detects price-momentum divergences for reversal warnings  Directional Bias : Momentum confirmation for trend direction validation  
 🔍 Advanced Market Structure Detection     Momentum Squeeze : Identifies low-volatility periods preceding major moves  Volatility Expansion : Detects when markets break out of consolidation phases  Trend Weakness Detection : Early warning system for deteriorating trends  Structure Transition : Identifies when trends change character or direction  
 🎨 Professional Visual Interface     Comprehensive Analysis Table : All key metrics displayed in organized format  Visual Strength Bar : Graphical representation of trend strength  Color-Coded Components : Intuitive color scheme for quick analysis  Customizable Display : Flexible positioning and sizing options  
 Setup Guide 
 Step 1: Adding the Indicator 
   Open TradingView and navigate to your desired chart  Click the "Indicators" button or press "/" key  Search for "Fundur - Trend Lines"  Add the indicator to your chart  
 Step 2: Basic Configuration 
 Main Features Settings  ✅  Show Trend Analysis Table : ON (Essential for comprehensive analysis) ✅  Enable Trend Strength Analysis : ON (Core functionality) ✅  Generate Trading Signals : ON (For position management guidance)
 Trend Lines Display  ✅  Show Slow Trend Line : ON (Primary trend identification) ✅  Show Fast Trend Line : ON (Early signal detection)  Trend Cloud Transparency : 89% (Default recommended, adjust for visibility)
 Table Positioning   Table Position : Top Right (recommended for most setups)  Table Size : Normal (adjust based on screen size)
 Step 3: Advanced Analysis Configuration 
 Enhanced Features (Optional)  ✅  Enhanced Momentum Analysis : ON (for more accurate signals) ✅  Divergence Detection : ON (for reversal warnings) ⚠️  Momentum Squeeze Analysis : OFF initially (can add visual complexity)
 Sensitivity Settings   Divergence Sensitivity : 5 (Default - lower = more sensitive)  Momentum Smoothing : 3 (Default - higher = smoother signals)
 Step 4: Alert Configuration 
 Essential Alerts (Recommended)   Trading Signal Alerts : Enable for position changes  Trend Strength Change Alerts : Enable for trend monitoring  Strength Change Threshold : 15% (Default recommended)
 Advanced Alerts (Optional)   Divergence Alerts : Enable for reversal warnings  Early Weakness Alerts : Enable for risk management  Momentum Squeeze Alerts : Enable for breakout opportunities  Trend Line Cross Alerts : Enable for level-based signals
 Basic Trading Guide 
 Understanding Trend Strength 
The indicator's foundation is the  Trend Strength Score  - a quantified measurement (0-100%) that combines four key factors:
 Strong Trends (75%+ Strength) 🟢     Characteristics : High alignment, close price-to-trend proximity, strong momentum  Signals : ADD LONG (bullish) or ADD SHORT (bearish)  Strategy : Aggressive position building, trend continuation trades  Risk : Lower risk due to strong trend confirmation  
 Medium Trends (35-75% Strength) 🟡     Characteristics : Mixed signals, moderate alignment, transitional phases  Signals : HOLD current positions  Strategy : Conservative approach, wait for clearer signals  Risk : Medium risk, requires careful monitoring  
 Weak Trends (Below 35% Strength) 🔴     Characteristics : Poor alignment, distant from trend lines, weak momentum  Signals : REDUCE positions or CLOSE  Strategy : Risk reduction, position unwinding  Risk : High risk, trend likely changing or failing  
 Entry Strategies 
 Primary Strategy: Trend Continuation Entries     Setup : Strong trend strength (75%+) with clear directional bias  Entry Trigger : ADD LONG or ADD SHORT signal confirmation  Direction : Follow the trend direction (Bullish ⬆ or Bearish ⬇)  Timing : Enter on signal generation or price pullback to trend lines  
 Stop Loss Placement     Conservative Method : Beyond the opposite trend line  Aggressive Method : Below/above recent swing points  For Long Positions : Below the Slow Trend Line  For Short Positions : Above the Slow Trend Line  Dynamic Adjustment : Move stops with trend line progression  
 Profit Taking Strategy 
 For Long Positions (Bullish Trend):     Take 50% profits when trend strength begins declining from peak  Take another 25% when trend strength drops below 60%  Close remaining position when REDUCE signal appears  Trail stops using Fast Trend Line for remaining position  
 For Short Positions (Bearish Trend):     Take 50% profits when trend strength begins declining from peak  Take another 25% when trend strength drops below 60%  Close remaining position when REDUCE signal appears  Trail stops using Fast Trend Line for remaining position  
 Alternative Strategy: Divergence-Based Reversal Entries     Setup : Bullish or bearish divergence detected with weakening trend strength  Entry : On trend direction change confirmation  Risk Management : Tight stops due to counter-trend nature  Targets : Opposite trend line or previous swing levels  
 Risk Management Framework 
 Position Sizing Based on Trend Strength     Strong Trends (75%+) : Full position size (within risk tolerance)  Medium Trends (35-75%) : Reduced position size (50-75% of normal)  Weak Trends (Below 35%) : Minimal or no new positions  Transitional Periods : Smallest position sizes due to uncertainty  
 Dynamic Risk Adjustment     Increasing Strength : Can add to positions gradually  Decreasing Strength : Begin profit-taking and position reduction  Rapid Strength Loss : Quick position reduction or exit  Divergence Warning : Tighten stops and prepare for reversal  
 Analysis Setups 
 Setup 1: Scalping Configuration (1-5 minute charts) 
 Settings Optimization:     Momentum Smoothing: 2 (more responsive)  Divergence Sensitivity: 3 (higher sensitivity)  Enhanced Momentum Analysis: ON  All alerts: ON for rapid signal updates  
 Visual Settings:     Table Size: Small (less screen space)  Table Position: Top Right  Trend Cloud Transparency: 85% (subtle background)  
 Trading Approach:     Focus on quick ADD signals in strong trends  Use Fast Trend Line for entry timing  Quick profit-taking at first sign of strength decline  Very tight risk management due to lower timeframe noise  
 Setup 2: Day Trading Configuration (5-15 minute charts) 
 Settings Optimization:     All default settings work well  Enable Momentum Squeeze Analysis for breakout identification  Divergence Detection: ON for reversal warnings  Trend Strength Change Threshold: 12% (more sensitive)  
 Visual Settings:     Table Size: Normal  Show all trend analysis components  Trend Cloud Transparency: 89% (default)  
 Trading Approach:     Wait for clear trend strength above 65% before entering  Use momentum squeeze breakouts for early entries  Hold positions through medium strength phases  Exit on REDUCE signals or strength below 40%  
 Setup 3: Swing Trading Configuration (1-4 hour charts) 
 Settings Optimization:     Momentum Smoothing: 4 (smoother for higher timeframe)  Divergence Sensitivity: 7 (less sensitive, higher quality signals)  Enhanced Momentum Analysis: ON  Early Weakness Alerts: ON (important for swing trades)  
 Visual Settings:     Table Size: Normal or Large  Focus on trend strength and direction components  Enable all visual features for comprehensive analysis  
 Trading Approach:     Require trend strength above 70% for new positions  Hold through temporary strength dips if above 50%  Use divergence signals for early exit warnings  Focus on major trend changes for position adjustments  
 Setup 4: Position Trading Configuration (4H-Daily charts) 
 Settings Optimization:     Momentum Smoothing: 5 (maximum smoothing)  Divergence Sensitivity: 10 (only high-quality divergences)  Strength Change Threshold: 20% (major changes only)  Focus on trend direction and strength alerts  
 Visual Settings:     Table Size: Large (detailed analysis)  Clean visual setup focusing on major components  Minimal clutter for long-term perspective  
 Trading Approach:     Only enter on very strong trends (80%+ strength)  Hold through significant strength fluctuations  Focus on major trend direction changes  Use weekly/monthly trend alignment for confirmation  
 Setup 5: Multi-Asset Analysis Configuration 
 For Forex Pairs:     Standard settings work well due to 24-hour markets  Pay attention to session-based strength changes  Use momentum squeeze for breakout trading  Enable all alert types for continuous monitoring  
 For Cryptocurrency:     Reduce momentum smoothing (2-3) due to high volatility  Increase divergence sensitivity (3-4) for early warnings  Focus on strength changes above 20% threshold  Use squeeze analysis for breakout opportunities  
 For Stock Indices:     Standard settings appropriate for most indices  Enable early weakness alerts for risk management  Consider market hours for signal validity  Use higher timeframes for better signal quality  
 Visual Components 
 Trend Analysis Table     Trend Strength : Percentage with visual strength bar  Trend Signal : Current position recommendation  Risk Zone : STRONG/MEDIUM/WEAK classification  Alignment : Trend line agreement analysis  Distance : Price proximity to trend lines  Momentum : Current momentum direction and strength  
 Trend Lines and Clouds     Colored Clouds : Green for bullish trends, red for bearish trends  Cloud Intensity : Opacity reflects trend strength  Dynamic Colors : Automatically adjust based on trend direction  
 Momentum Squeeze Visualization     Yellow Highlights : Above and below price during squeeze periods  Squeeze Indication : Identifies low-volatility consolidation  Breakout Preparation : Visual cue for potential explosive moves  
 Alert System 
 Trading Signal Alerts     ADD LONG : Strong bullish trend confirmed  ADD SHORT : Strong bearish trend confirmed  REDUCE : Trend weakness detected, position reduction recommended  HOLD : Maintain current positions, no change needed  
 Trend Analysis Alerts     Strength Increase : Trend gaining momentum  Strength Decrease : Trend losing momentum  Early Weakness : Warning of potential trend deterioration  Trend Direction Change : Major trend shift detected  
 Technical Alerts     Bullish Divergence : Price falling but momentum rising  Bearish Divergence : Price rising but momentum falling  Momentum Squeeze Start : Volatility contraction beginning  Momentum Squeeze End : Breakout from low volatility period  Trend Line Cross : Price crossing above/below trend lines  
 Setting Up Alerts     Enable desired alert types in indicator settings  Create TradingView alerts using "Fundur - Trend Lines" as source  Configure notification methods (email, SMS, app notifications)  Test alerts with paper trading before live implementation  Adjust alert frequency settings to avoid spam  
 Best Practices 
 Trend Strength Interpretation     Above 75% : High confidence trades, full position sizes  50-75% : Moderate confidence, reduced positions  Below 50% : Low confidence, minimal or no positions  Rapid Changes : Pay attention to sudden strength shifts  
 Signal Management     Don't Chase : Wait for clear signals rather than predicting  Confirm with Price Action : Use chart patterns for additional confirmation  Respect Risk Zones : Adjust position sizes based on trend classification  Monitor Alignment : Strong alignment increases signal reliability  
 Multi-Timeframe Integration     Higher Timeframe Bias : Use daily/weekly for overall trend direction  Lower Timeframe Entries : Use hourly/15min for precise entry timing  Confirmation Requirement : Ensure alignment between timeframes  Conflict Resolution : Higher timeframe takes precedence  
 Common Mistakes to Avoid 
 Signal Misinterpretation     Ignoring Trend Strength : Don't trade weak signals (below 60%)  Fighting the Trend : Don't go against strong trend directions  Overreliance on Single Component : Consider all analysis factors  Impatience : Wait for clear STRONG trend classification  
 Risk Management Errors     Fixed Position Sizes : Adjust sizes based on trend strength  Ignoring REDUCE Signals : Take profits when indicator suggests  No Stop Losses : Always use stops beyond trend lines  Overleveraging Weak Signals : Use smaller positions in MEDIUM zones  
 Technical Analysis Errors     Ignoring Divergences : Pay attention to momentum warnings  Missing Squeeze Opportunities : Watch for breakout setups  Poor Timeframe Selection : Match timeframe to trading style  Alert Fatigue : Don't enable too many alerts simultaneously  
 Advanced Techniques 
 Divergence Trading     Early Reversal Detection : Use divergences to anticipate trend changes  Confirmation Required : Wait for trend strength decline confirmation  Tight Risk Management : Use smaller positions for counter-trend trades  Quick Exits : Take profits rapidly on divergence trades  
 Momentum Squeeze Strategies     Breakout Preparation : Position before squeeze resolution  Direction Bias : Use trend direction for breakout direction  Volume Confirmation : Combine with volume analysis when possible  False Breakout Protection : Use tight stops for failed breakouts  
 Multi-Component Analysis     Alignment Priority : Perfect alignment (100%) provides highest confidence  Distance Consideration : Closer to trend lines = higher probability  Momentum Confirmation : Rising momentum supports trend direction  Squeeze Integration : High squeeze factor increases breakout potential  
 Dynamic Position Management     Scaling In : Add to positions as trend strength increases  Scaling Out : Reduce positions as trend strength decreases  Stop Trailing : Move stops with Fast Trend Line progression  Profit Optimization : Use strength peaks for profit-taking timing  
 Conclusion 
The Fundur - Trend Lines indicator represents a sophisticated approach to trend analysis, combining adaptive trend line technology with comprehensive strength measurement and intelligent signal generation. By quantifying trend strength through multiple analytical components, this indicator provides traders with objective, data-driven insights for making informed trading decisions.
The indicator's strength lies in its ability to adapt to changing market conditions while providing clear, actionable signals. The comprehensive trend strength analysis removes guesswork from trend trading, allowing traders to size positions appropriately and manage risk effectively based on quantified market conditions.
Success with the Trend Lines indicator comes from understanding that trend strength is dynamic and requires continuous monitoring. The 0-100% strength scale provides an objective framework for position management, while the multi-component analysis ensures robust signal generation across different market conditions.
Remember that this indicator works best when combined with proper risk management, position sizing, and market context awareness. Start with conservative settings and smaller position sizes while learning the indicator's behavior in different market environments. The comprehensive alert system helps maintain awareness of changing conditions, but successful trading still requires discipline and adherence to your trading plan.
For optimal results, practice with the indicator across different timeframes and market conditions, always prioritizing risk management over profit potential, and maintaining realistic expectations about market behavior and indicator performance.
ATR 5 min- FOREX + XAUThis indicator displays the Average True Range (ATR) over the last 20 candles, calculated using the 5-minute timeframe, regardless of the chart timeframe you're currently viewing.
It supports:
All major forex pairs
XAUUSD (Gold), with ATR displayed in full dollars
Key Features
Always reflects 5-minute volatility 
Accurate pip scaling:
JPY pairs = 1 pip = 0.01
Other forex pairs = 1 pip = 0.0001
XAUUSD = 1 pip = 1.00 (i.e., full dollar)
Clean and minimal top-right table display
Automatically adapts based on the instrument you're viewing
Helps traders gauge recent market volatility across timeframes
This is an ideal tool for scalpers, intraday traders, or swing traders who want to monitor short-term volatility conditions from any timeframe view.
Options Strategy V2.0📈 Options Strategy V2.0 – Intraday Reversal-Resilient Momentum System
Overview:
This strategy is designed specifically for intraday SPY, TSLA, MSFT, etc. options trading (0DTE or 1DTE), using high-probability signals derived from a confluence of technical indicators: EMA crossovers, RSI thresholds, ATR-based risk control, and volume spikes. The strategy aims to capture strong directional moves while avoiding overtrading, thanks to a built-in cooldown logic and optional time/session filters.
⚙️ Core Concept
The strategy executes trades only in the direction of the prevailing trend, determined by short- and long-term Exponential Moving Averages (EMA). Entry signals are generated when the Relative Strength Index (RSI) confirms momentum in the direction of the trend, and volume spikes suggest institutional activity.
To increase adaptability and user control, it includes a highly customizable parameter set for both long and short entries independently.
📌 Key Features
✅ Trend-Following Logic
Long entries are only allowed when EMA(short) > EMA(long)
Short entries are only allowed when EMA(short) < EMA(long)
✅ RSI Confirmation
Long: Requires RSI crossover above a configurable threshold
Short: Requires RSI crossunder below a configurable threshold
Optional rejection filters: Entry blocked above/below specific RSI extremes
✅ Volume Spike Filter
Confirms institutional participation by comparing current volume to an average multiplied by a user-defined factor.
✅ ATR-Based Risk Management
Both Stop Loss (SL) and Take Profit (TP) are dynamically calculated using ATR × a multiplier.
TP/SL ratio is fully configurable.
✅ Cooldown Control
After every trade, the system waits for a set number of bars before allowing new entries.
This prevents overtrading and increases signal quality.
Optionally, cooldown is ignored for reversal trades, ensuring the system can react immediately to a confirmed trend change.
✅ Candle Body Filter (Noise Control)
Avoids trades on candles with too small bodies relative to wicks (often noise or indecision candles).
✅ VWAP Confirmation (Optional)
Ensures price is trading above VWAP for long entries, or below for short entries.
✅ Time & Session Filters
Trades only during regular market hours (09:30–16:00 EST).
No-trade zone (e.g., 14:15–15:45 EST) to avoid low-liquidity traps or late-day whipsaws.
✅ End-of-Day Auto Close
All open positions are force-closed at 15:55 EST, protecting against overnight risk (especially relevant for 0DTE options).
📊 Visual Aids
EMA plots show trend direction
VWAP line provides real-time mean-reversion context
Stop Loss and Take Profit lines appear dynamically with each trade
Alerts notify of entry signals and exit triggers
🔧 Customization Panel
Nearly every element of the strategy can be tailored:
EMA lengths (short and long, for both sides)
RSI thresholds and length
ATR length, SL multiplier, and TP/SL ratio
Volume spike sensitivity
Minimum EMA distance filter
Candle body ratio filter
Session restrictions
Cooldown logic (duration + reversal exception)
This makes the strategy extremely versatile, allowing both conservative and aggressive configurations depending on the trader’s profile and the market context.
📌 Example Use Case: SPY Options (0DTE or 1DTE)
This system was designed and tested specifically for SPY and other intraday options trading, where:
Delta is around 0.50 or higher
Trades are short-lived (often 1–5 candles)
You aim to trade 1–3 signals per day, filtering out weak entries
🚫 Important Notes
It is not a scalping strategy; it relies on confirmed breakouts with trend support
No pyramiding or re-entries without cooldown to preserve risk integrity
Should be used with real-time alerts and manual broker execution 
📈 Alerts Included
📈 Long Entry Signal 
📉 Short Entry Signal
⚠️ Auto-closed all positions at 15:55 EST
✅ Proven Settings – Real Trades + Backtest Results
The current version of the strategy includes the optimal settings I’ve arrived at through extensive backtesting, as well as 3 months of real trading with consistent profitability. These results reflect real-world execution under live market conditions using 0DTE SPY options, with disciplined trade management and risk control.
🧠 Final Thoughts
Options Strategy V2.0  is a robust, highly tunable intraday strategy that blends momentum, trend-following, and volume confirmation. It is ideal for disciplined traders focused on SPY or other 0DTE/1DTE options, and it includes guardrails to reduce false signals and improve execution timing.
Perfect for those who seek precision, flexibility, and risk-defined setups—not blind automation.
 %ATR + ΔClose HighlightScript Overview
This indicator displays on your chart:
Table of the last N bars that passed the ATR-based range filter:
Columns: Bar #, High, Range (High–Low), Low
Summary row: ATR(N), suggested Stop-Loss (SL = X % of ATR), and the current bar’s range as a percentage of ATR
Red badge on the most recent bar showing ΔClose% (the absolute difference between today’s and yesterday’s close, expressed as % of ATR)
Background highlights:
Blue fill under the most recent bar that met the filter
Yellow fill under bars that failed the filter
Hidden plots of ATR, %ATR, and ΔClose% (for use in strategies or alerts)
All table elements, fills, and plots can be toggled off with a single switch so that only the red ΔClose% badge remains visible.
Inputs
Setting	Description	Default
Length (bars)	Lookback period for ATR and range filter (bars)	5
Upper deviation (%)	Upper filter threshold (% of average ATR)	150%
Lower deviation (%)	Lower filter threshold (% of average ATR)	50%
SL as % of ATR	Stop-loss distance (% of ATR)	10%
Label position	Table position relative to bar (“above” or “below”)	above
Vertical offset (×ATR)	Vertical spacing from the bar in ATR units	2.0
Show table & ATR plots	Show or hide table, background highlights, and plots	true
How It Works
ATR Calculation & Filtering
Computes average True Range over the last N bars.
Marks bars whose daily range falls within the specified upper/lower deviation band.
Table Construction
Gathers up to N most recent bars that passed the filter (or backfills from the most recent pass).
Formats each bar’s High, Low, and Range into fixed-width columns for neat alignment.
Stop-Loss & Percent Metrics
Calculates a recommended SL distance as a percentage of ATR.
Computes today’s bar range and ΔClose (absolute change in close) as % of ATR.
Chart Display
Table: Shows detailed per-bar data and summary metrics.
Background fills: Blue for the latest valid bar, yellow for invalid bars.
Hidden plots: ATR, %ATR, and ΔClose% (useful for backtesting).
Red badge: Always visible on the right side of the last bar, displaying ΔClose%.
Tips
Disable the table & ATR plots to reduce chart clutter—leave only the red ΔClose% badge for a minimalist volatility alert.
Use the hidden ATR fields (plot outputs) in TradingView Strategies or Alerts to automate volatility-based entries/exits.
Adjust the deviation band to capture “normal” intraday moves vs. outsized volatility spikes.
Load this script on any US market chart (stocks, futures, crypto, etc.) to instantly visualize recent volatility structure, set dynamic SL levels, and highlight today’s price change relative to average true range.
SuperTrend Strategy with Trend-Based Exits🟩 SuperTrend Strategy with Trend-Based Exits
This is a fully automated trend-following strategy based on the popular SuperTrend indicator, enhanced with a position sizing algorithm tied to stop-loss distance and dynamic entry/exit rules. The strategy is designed for futures trading with an emphasis on sustainable risk, realistic backtesting, and transparent logic.
🧠 Concept and Methodology
The strategy uses the SuperTrend indicator, which is derived from ATR (Average True Range) and is widely used to capture medium- to long-term market trends.
Key features:
✅ Entries are triggered only when the SuperTrend direction changes (trend reversal).
✅ Exits are performed using a dynamic stop-loss placed at the SuperTrend line.
✅ Position size is automatically calculated based on the trader’s fixed dollar risk per trade and the current distance to the stop-loss.
✅ Rounding logic is included to ensure quantity is valid for the exchange’s lot size.
This strategy does not use any take-profit or classic trailing stop — the position is only closed when the trend reverses or the stop is hit by touching the SuperTrend line.
⚙️ Default Parameters
ATR Length: 300
Factor: 7.5
Risk per trade: $90 (3% of the default $3,000 capital)
Lot step: 10
Commission: 0.05%
These default parameters are not universal. They were optimized specifically for STXUSDT swap at 15M timeframe at Bybit and may not produce viable results on other pairs and timeframes.
Users are encouraged to customize the settings according to specific asset’s volatility, timeframe and other characteristics.
❗ These default settings yield meaningful backtesting results on STXUSDT with a reasonable number of trades (105+) over 7-month period. If applied to other assets, results may vary significantly.
📈 Position Sizing Logic
The strategy uses a dynamic position sizing formula:
Pine Script®
position_size = floor((risk_per_trade / stop_loss_distance) / lot_step) * lot_step
This ensures the trader always risks a fixed dollar amount per trade and never exceeds a sustainable equity exposure (recommended 2% or less).
✅ Realism in Backtesting
To ensure realistic and non-misleading backtest results, this strategy includes:
— Slippage and commission settings matching average exchange conditions (commission = 0.05%, slippage 5 ticks).
— Position sizing based on stop-loss distance (not fixed contract quantity).*
— A fixed risk-per-trade model that adheres to responsible capital management principles.
— This is in compliance with TradingView's Script publishing rules and House Rules.
📌 How to Use
Apply the strategy to a clean chart (preferably 15M for STXUSDT by default).
If using another asset, adjust:
- ATR Length
- Factor
- Risk per trade
- Qty step (lot precision for the symbol)
Avoid using with other indicators unless you understand their purpose.
Use the Strategy Tester to evaluate performance and optimize parameters.
⚠️ Disclaimer
This is not financial advice. Always perform forward testing and assess risk before deploying any strategy on live capital. The strategy is designed for educational and experimental use.
20-Candle ATR in Pips (5m only)This custom indicator displays the Average True Range (ATR) over the last 20 candles on a 5-minute chart, specifically designed for pairs where 1 pip = 0.01.
Key features:
📐 Calculates a simple moving average of the true range over the last 20 five-minute candles.
📋 Outputs the ATR value in a clean table with a green background and white text.
⚠️ Designed exclusively for the 5-minute timeframe – prompts you to switch if you’re on a different one.
📏 Values are shown in pips (e.g., “ATR (20 candles): 9.83 pips”).
This tool is ideal for short-term volatility tracking, scalping strategies, and identifying market conditions where price is expanding or contracting.
Ultimate Scalping Strategy v2Strategy Overview
 This is a versatile scalping strategy designed primarily for low timeframes (like 1-min, 3-min, or 5-min charts). Its core logic is based on a classic EMA (Exponential Moving Average) crossover system, which is then filtered by the VWAP (Volume-Weighted Average Price) to confirm the trade's direction in alignment with the market's current intraday sentiment.
The strategy is highly customizable, allowing traders to add layers of confirmation, control trade direction, and manage exits with precision.
 Core Strategy Logic
 
The strategy's entry signals are generated when two primary conditions are met simultaneously:
 
 Momentum Shift (EMA Crossover): It looks for a crossover between a fast EMA (default length 9) and a slow EMA (default length 21).
 Buy Signal: The fast EMA crosses above the slow EMA, indicating a potential shift to bullish momentum.
 Sell Signal: The fast EMA crosses below the slow EMA, indicating a potential shift to bearish momentum.
 Trend/Sentiment Filter (VWAP): The crossover signal is only considered valid if the price is on the "correct" side of the VWAP.
 For a Buy Signal: The price must be trading above the VWAP. This confirms that, on average, buyers are in control for the day.
 For a Sell Signal: The price must be trading below the VWAP. This confirms that sellers are generally in control.
 
 Confirmation Filters (Optional)
 
To increase the reliability of the signals and reduce false entries, the strategy includes two optional confirmation filters:
 
 Price Action Filter (Engulfing Candle): If enabled (Use Price Action), the entry signal is only valid if the crossover candle is also an "engulfing" candle.
 A Bullish Engulfing candle is a large green candle that completely "engulfs" the body of the previous smaller red candle, signaling strong buying pressure.
 A Bearish Engulfing candle is a large red candle that engulfs the previous smaller green candle, signaling strong selling pressure.
 Volume Filter (Volume Spike): If enabled (Use Volume Confirmation), the entry signal must be accompanied by a surge in volume. This is confirmed if the volume of the entry candle is greater than its recent moving average (default 20 periods). This ensures the move has strong participation behind it.
 
 Exit Strategy
 
A position can be closed in one of three ways, creating a comprehensive exit plan:
 
 Stop Loss (SL): A fixed stop loss is set at a level determined by a multiple of the Average True Range (ATR). For example, a 1.5 multiplier places the stop 1.5 times the current ATR value away from the entry price. This makes the stop dynamic, adapting to market volatility.
 Take Profit (TP): A fixed take profit is also set using an ATR multiplier. By setting the TP multiplier higher than the SL multiplier (e.g., 2.0 for TP vs. 1.5 for SL), the strategy aims for a positive risk-to-reward ratio on each trade.
 Exit on Opposite Signal (Reversal): If enabled, an open position will be closed automatically if a valid entry signal in the opposite direction appears. For example, if you are in a long trade and a valid short signal occurs, the strategy will exit the long position immediately. This feature turns the strategy into more of a reversal system.
 
 Key Features & Customization
 
 
 Trade Direction Control: You can enable or disable long and short trades independently using the Allow Longs and Allow Shorts toggles. This is useful for trading in harmony with a higher-timeframe trend (e.g., only allowing longs in a bull market).
 Visual Plots: The strategy plots the Fast EMA, Slow EMA, and VWAP on the chart for easy visualization of the setup. It also plots up/down arrows to mark where valid buy and sell signals occurred.
 Dynamic SL/TP Line Plotting: A standout feature is that the strategy automatically draws the exact Stop Loss and Take Profit price lines on the chart for every active trade. These lines appear when a trade is entered and disappear as soon as it is closed, providing a clear visual of your risk and reward targets.
 Alerts: The script includes built-in alertcondition calls. This allows you to create alerts in TradingView that can notify you on your phone or execute trades automatically via a webhook when a long or short signal is generated.
Advanced Forex Currency Strength Meter 
# Advanced Forex Currency Strength Meter
 🚀 The Ultimate Currency Strength Analysis Tool for Forex Traders 
This sophisticated indicator measures and compares the relative strength of major currencies (EUR, GBP, USD, JPY, CHF, CAD, AUD, NZD) to help you identify the strongest and weakest currencies in real-time, providing clear trading signals based on currency strength differentials.
##  📊 What This Indicator Does 
The Advanced Forex Currency Strength Meter analyzes currency relationships across 28+ major forex pairs and 8 currency indices to determine which currencies are gaining or losing strength. Instead of relying on individual pair analysis, this tool gives you a  bird's-eye view  of the entire forex market, helping you:
 
 Identify the strongest and weakest currencies at any given time
 Find high-probability trading opportunities by pairing strong vs weak currencies
 Avoid ranging markets by detecting when currencies have similar strength
 Get clear LONG/SHORT/NEUTRAL signals for your current trading pair
 Optimize your trading strategy based on your preferred timeframe and holding period
 
##  ⚙️ How The Indicator Works 
###  Dual Calculation Method 
The indicator uses a sophisticated dual approach for maximum accuracy:
 
 Pairs-Based Analysis:  Calculates currency strength from 28+ major forex pairs (EURUSD, GBPUSD, USDJPY, etc.)
 Index-Based Analysis:  Incorporates official currency indices (DXY, EXY, BXY, JXY, CXY, AXY, SXY, ZXY)
 Weighted Combination:  Blends both methods using smart weighting for enhanced accuracy
 
###  Smart Auto-Optimization System 
The indicator automatically adjusts its parameters based on your chart timeframe and intended holding period:
 The system recognizes that scalping requires different sensitivity than swing trading, automatically optimizing lookback periods, analysis timeframes, signal thresholds, and index weights. 
###  Strength Calculation Process 
 
 Fetches price data from multiple timeframes using optimized tuple requests
 Calculates percentage change over the specified lookback period
 Optionally normalizes by ATR (Average True Range) to account for volatility differences
 Combines pair-based and index-based calculations using dynamic weighting
 Generates relative strength by comparing base currency vs quote currency
 Produces clear trading signals when strength differential exceeds threshold
 
##  🎯 How To Use The Indicator 
###  Quick Start 
 
 Add the indicator to any forex pair chart
 Enable  🧠 Smart Auto-Optimization  (recommended for beginners)
 Watch for LONG 🚀 signals when the relative strength line is green and above threshold
 Watch for SHORT 🐻 signals when the relative strength line is red and below threshold
 Avoid trading during NEUTRAL ⚪ periods when currencies have similar strength
 
 Note:  This is highly recommended to couple this indicator with fundamental analysis and use it as an extra signal.
###  📋 Parameters Reference 
####  🤖 Smart Settings 
 
 🧠 Smart Auto-Optimization:   (Default: Enabled)  Automatically optimizes all parameters based on chart timeframe and trading style
 
####  ⚙️ Manual Override 
 These settings are only active when Smart Auto-Optimization is disabled: 
 
 Manual Lookback Period:   (Default: 14)  Number of periods to analyze for strength calculation
 Manual ATR Period:   (Default: 14)  Period for ATR normalization calculation
 Manual Analysis Timeframe:   (Default: 240)  Higher timeframe for strength analysis
 Manual Index Weight:   (Default: 0.5)  Weight given to currency indices vs pairs (0.0 = pairs only, 1.0 = indices only)
 Manual Signal Threshold:   (Default: 0.5)  Minimum strength differential required for trading signals
 
####  📊 Display 
 
 Show Signal Markers:   (Default: Enabled)  Display triangle markers when signals change
 Show Info Label:   (Default: Enabled)  Show comprehensive information label with current analysis
 
####  🔍 Analysis 
 
 Use ATR Normalization:   (Default: Enabled)  Normalize strength calculations by volatility for fairer comparison
 
####  💰 Currency Indices 
 
 💰 Use Currency Indices:   (Default: Enabled)  Include all 8 currency indices in strength calculation for enhanced accuracy
 
####  🎨 Colors 
 
 Strong Currency Color:   (Default: Green)  Color for positive/strong signals
 Weak Currency Color:   (Default: Red)  Color for negative/weak signals  
 Neutral Color:   (Default: Gray)  Color for neutral conditions
 Strong/Weak Backgrounds:  Background colors for clear signal visualization
 
###  🧠 Smart Optimization Profiles 
The indicator automatically selects optimal parameters based on your chart timeframe:
####  ⚡ Scalping Profile (1M-5M Charts) 
 For positions held for a few minutes: 
 
 Lookback: 5 periods (fast/sensitive)
 Analysis Timeframe: 15 minutes
 Index Weight: 20% (favor pairs for speed)
 Signal Threshold: 0.3% (sensitive triggers)
 
####  📈 Intraday Profile (10M-1H Charts)  
 For positions held for a few hours: 
 
 Lookback: 12 periods (balanced sensitivity)
 Analysis Timeframe: 4 hours
 Index Weight: 40% (balanced approach)
 Signal Threshold: 0.4% (moderate sensitivity)
 
####  📊 Swing Profile (4H-Daily Charts) 
 For positions held for a few days: 
 
 Lookback: 21 periods (stable analysis)
 Analysis Timeframe: Daily
 Index Weight: 60% (favor indices for stability)
 Signal Threshold: 0.5% (conservative triggers)
 
####  📆 Position Profile (Weekly+ Charts) 
 For positions held for a few weeks: 
 
 Lookback: 30 periods (long-term view)
 Analysis Timeframe: Weekly
 Index Weight: 70% (heavily favor indices)
 Signal Threshold: 0.6% (very conservative)
 
###  Entry Timing 
 
 Wait for clear LONG 🚀 or SHORT 🐻 signals
 Avoid trading during NEUTRAL ⚪ periods
 Look for signal confirmations on multiple timeframes
 
###  Risk Management 
 
 Stronger signals (higher relative strength values) suggest higher probability trades
 Use appropriate position sizing based on signal strength
 Consider the trading style profile when setting stop losses and take profits
 
 💡 Pro Tip:  The indicator works best when combined with your existing technical analysis. Use currency strength to identify  which  pairs to trade, then use your favorite technical indicators to determine  when  to enter and exit. 
##  🔧 Key Features 
 
 28+ Forex Pairs Analysis:  Comprehensive coverage of major currency relationships
 8 Currency Indices Integration:  DXY, EXY, BXY, JXY, CXY, AXY, SXY, ZXY for enhanced accuracy
 Smart Auto-Optimization:  Automatically adapts to your trading style and timeframe
 ATR Normalization:  Fair comparison across different currency pairs and volatility levels
 Real-Time Signals:  Clear LONG/SHORT/NEUTRAL signals with visual markers
 Performance Optimized:  Efficient tuple-based data requests minimize external calls
 User-Friendly Interface:  Simplified settings with comprehensive tooltips
 Multi-Timeframe Support:  Works on any timeframe from 1-minute to monthly charts
 
 Transform your forex trading with the power of currency strength analysis! 🚀
Neural Network Buy and Sell SignalsTrend Architect Suite Lite - Neural Network Buy and Sell Signals 
 Advanced AI-Powered Signal Scoring 
This indicator provides neural network market analysis on buy and sell signals designed for scalpers and day traders who use 30s to 5m charts. Signals are generated based on an ATR system and then filtered and scored using an advanced AI-driven system.
 Features 
 Neural Network Signal Engine 
 
 5-Layer Deep Learning analysis combining market structure, momentum, and market state detection
 AI-based Letter Grade Scoring (A+ through F) for instant signal quality assessment
 Normalized Input Processing with Z-score standardization and outlier clipping
 Real-time Signal Evaluation using 5 market dimensions
 
 Advanced Candle Types 
 
 Standard Candlesticks - Raw price action
 Heikin Ashi - Trend smoothing and noise reduction  
 Linear Regression - Mathematical trend visualization
 Independent Signal vs Display - Calculate signals on one type, display another
 
 Key Settings 
 Signal Configuration 
- Signal Trigger Sensitivity (Default: 1.7) - Controls signal frequency vs quality
- Stop Loss ATR Multiplier (Default: 1.5) - Risk management sizing
- Signal Candle Type (Default: Candlesticks) - Data source for signal calculations
- Display Candle Type (Default: Linear Regression) - Visual candle display
 Display Options 
- Signal Distance (Default: 1.35 ATR) - Label positioning from price
- Label Size (Default: Medium) - Optimal readability
 Trading Applications 
Scalping 
- Fast pace signal detection with quality filtering
- ATR-based stop management prevents signal overlap
- Neural network attempts to reduces false signals in choppy markets
Day Trading
- Multi-timeframe compatible with adaptation settings
- Clear trend visualization with Linear Regression candles
- Support/resistance integration for better entries/exits
Signal Filtering
- Use A+/A grades for highest probability setups
- B grades for confirmation in trending markets
- C-F grades help identify market uncertainty
 Why Choose Trend Architect Lite? 
 
 No Lag - Real-time neural network processing  
 No Repainting - Signals appear and stay fixed  
 Clean Charts - Focus on price action, not indicators  
 Smart Filtering - AI reduces noise and false signals  
 Flexible and customizable - Works across all timeframes and instruments  
 
Compatibility
- All Timeframes - 1m to Monthly charts
- All Instruments - Forex, Crypto, Stocks, Futures, Indices
Risk Disclaimer
This indicator is a tool for technical analysis and should not be used as the sole basis for trading decisions. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
BERLIN-MAX 1V.5BERLIN-MAX 1V.5 is a comprehensive trading indicator designed for TradingView that combines multiple advanced strategies and tools. It integrates EMA crossover signals, UT Bot logic with ATR-based trailing stops, customizable stop-loss and target multipliers per timeframe, Hull Moving Averages with color-coded trends, linear regression channels for support and resistance, and a multi-timeframe RSI and volume signal table. This script aims to provide clear entry and exit signals for scalping and swing trading, enhancing decision-making across different market conditions.
Super tp 🔍 How the Indicator Works
The indicator tracks trend changes 
Step-based stop logic — using dynamic high/low structure.
When a new trend is detected (either bullish or bearish), the indicator:
Sets an entry price at the candle close;
Calculates the stop-loss based on the previous trend's high/low;
Computes the distance between entry and stop (R);
Plots TP1 to TP10 (1R to 10R);
If enabled, also plots half-levels (TP0.5, TP1.5, ..., TP9.5).
ATR Squeeze BackgroundThis simple but powerful indicator shades the background of your chart whenever volatility contracts, based on a custom comparison of fast and slow ATR (Average True Range) periods.
By visualizing low-volatility zones, you can:
* Identify moments of compression that may precede explosive price moves
* Stay out of choppy, low-momentum periods
* Adapt this as a component in a broader volatility or breakout strategy
🔧 How It Works
* A Fast ATR (default: 7 periods) and a Slow ATR (default: 40 periods) are calculated
* When the Fast ATR is lower than the Slow ATR, the background is shaded in blue
* This shading signals a contraction in volatility — a condition often seen before breakouts or strong directional moves
⚡️ Why This Matters
Many experienced traders pay close attention to volatility cycles. This background indicator helps visualize those cycles at a glance. It's minimal, non-intrusive, and easy to combine with your existing tools.
🙏 Credits
This script borrows core logic from the excellent “Relative Volume at Time” script by TradingView. Credit is given with appreciation.
⚠️ Disclaimer
This script is for educational purposes only.
It does not constitute financial advice, and past performance is not indicative of future results. Always do your own research and test strategies before making trading decisions.
Advanced Supertrend StrategyA comprehensive Pine Script v5 strategy featuring an enhanced Supertrend indicator with multiple technical filters, risk management, and advanced signal confirmation for automated trading on TradingView.
## Features
- **Enhanced Supertrend**: Configurable ATR-based trend following with improved accuracy
- **RSI Filter**: Optional RSI-based signal filtering to avoid overbought/oversold conditions
- **Moving Average Filter**: Trend confirmation using SMA/EMA/WMA with customizable periods
- **Risk Management**: Built-in stop-loss and take-profit based on ATR multiples
- **Trend Strength Analysis**: Filters weak signals by requiring minimum trend duration
- **Breakout Confirmation**: Optional price breakout validation for stronger signals
- **Visual Interface**: Comprehensive chart plotting with multiple indicator overlays
- **Advanced Alerts**: Multiple alert conditions with detailed signal information
- **Backtesting**: Full strategy backtesting with commission and realistic execution
Trend MagicTrend Magic is an indicator identity Multi time frame Trend. Ideal time frame 5 Min
Long Entry :
     Long term Line is Green and price goes above blue line taka a long position 
Short Entry :
       Long term Line is Red and price goes below both red line take a short position
Range Breakout with Persistent Zone Bar Colors
// DESCRIPTION:
// The "Range Breakout   with Persistent Zone Bar Colors" indicator identifies and visualizes
// periods of consolidation (boxes or channels) based on an ATR‑driven range and highlights
// directional breakouts, zone entries, and persistent zone trends.
//
// KEY FEATURES:
// 1. ATR‑Based Channel Construction:
//    • Computes a rolling channel around the midpoint (HL2) using a historical ATR length,
//      scaled by the "Channel Width" multiplier. This channel represents the box or range.
//    • Automatically resets when price closes beyond the upper or lower boundary, or after
//      a user‑defined maximum number of bars (Length) inside the range.
//
// 2. Persistent Zone Bar Coloring:
//    • Colors bars within the current box uniformly—green for bullish zones after an
//      upward breakout, red for bearish zones after a downward breakout—based on the last
//      breakout direction (trend). Bars outside the box use a neutral color.
//    • Provides an at‑a‑glance view of whether price remains in a bullish or bearish box.
//
// 3. Zone Entry & Breakout Signals:
//    • "New Bull Box" / "New Bear Box" labels mark each new zone formation at the reset bar.
//    • "Enter Bull Zone" and "Enter Bear Zone" tiny labels flag when price first crosses into
//      the lower or upper half of the box, spotlighting momentum within the range.
//    • Classic breakout symbols (▲ for buys, ▼ for sells) appear when price decisively crosses
//      the box mid‑lines, with optional filtering by trend.
//    • Optional X markers identify potential fakeout attempts beyond the box boundaries.
//
// 4. Customizable Inputs:
//    • LENGTH: Maximum bars before auto‑reset if no breakout occurs.
//    • CHANNEL WIDTH: ATR multiplier controlling box height.
//    • Color settings for channel lines, fills, labels, and both inside/outside bar coloring.
//    • Options to show fakeouts (X signals) and filter ▲/▼ by breakout trend.
//
// USE CASES:
// • Consolidation & Breakout Strategy: Clearly visualize ranges where price consolidates
//   and prepare for directional entries on breakout or zone entry.
// • Trend Detection: Persistent bar colors provide quick confirmation of current zone bias.
// • Momentum Assessment: Mid‑zone entry labels highlight shifts in momentum within boxes.
// • Risk Management: Time‑based resets ensure the channel does not become stale if no
//   breakout occurs.
//
// HOW TO READ:
// 1. Watch for the channel box formation (colored fills between upper and lower lines).
// 2. A label "New Bull Box" or "New Bear Box" indicates the start of a fresh zone.
// 3. Bars inside that zone remain uniformly colored until a new breakout resets the box.
// 4. "Enter Bull Zone" / "Enter Bear Zone" marks when price first enters each half.
// 5. ▲ / ▼ symbols on mid‑line crossovers signal potential entries.
// 6. Outside the box, bars turn neutral, highlighting no‑trade or transition periods.
// 7. Adjust inputs to fit the time frame and volatility of your market.
//
// By leveraging both visual zone coloring and precise labels, this indicator streamlines
// range analysis, breakout timing, and bias confirmation into a single, intuitive tool.
RED E Support & ResistanceThe “RED-E Support & Resistance” indicator is designed to assist traders in visualizing key levels of support and resistance on a chart by employing ATR (Average True Range) to create dynamic horizontal zones. This indicator automatically plots robust support and resistance bands that can help identify potential areas where price may reverse, consolidate, or react. These levels are particularly beneficial for traders who employ concepts like Smart Money analysis, as they illustrate zones where institutional trading activity might occur.
How It Works:
• The indicator uses ATR-based calculations to determine the placement of the support and resistance zones. This approach accounts for market volatility, making the zones adaptive to changing conditions.
• The Zone Thickness parameter allows users to customize the width of the plotted zones, enhancing visibility and fitting them to their specific trading style.
• The support and resistance zones extend horizontally across the chart, providing clear reference points for potential price reactions.
Practical Application:
• Trend Analysis: Identify areas of significant price resistance and support to understand potential turning points or trends in the market.
• Risk Management: Use these zones to better inform stop-loss placements or set profit targets.
• Confirmation Tool: Combine the indicator with other technical analysis tools for confirmation of potential trade entries or exits.
Customization Options:
• Change the colors of the support and resistance zones for better integration with different chart themes.
• Adjust the ATR Length and Multiplier to fine-tune the sensitivity of the zones based on personal preferences and the characteristics of the asset being analyzed.
Disclaimer:
This indicator is for educational and informational purposes only. It is not intended to serve as investment advice or a recommendation to buy or sell any financial instrument. Always perform your own research and consider consulting with a financial professional before making trading decisions. Trading involves significant risk, and past performance does not guarantee future results.
3 hours ago
Release Notes
The “RED-E Support & Resistance” indicator is designed to assist traders in visualizing key levels of support and resistance on a chart by employing ATR (Average True Range) to create dynamic horizontal zones. This indicator automatically plots robust support and resistance bands that can help identify potential areas where price may reverse, consolidate, or react. These levels are particularly beneficial for traders who employ concepts like Smart Money analysis, as they illustrate zones where institutional trading activity might occur.
How It Works:
• The indicator uses ATR-based calculations to determine the placement of the support and resistance zones. This approach accounts for market volatility, making the zones adaptive to changing conditions.
• The Zone Thickness parameter allows users to customize the width of the plotted zones, enhancing visibility and fitting them to their specific trading style.
• The support and resistance zones extend horizontally across the chart, providing clear reference points for potential price reactions.
Practical Application:
• Trend Analysis: Identify areas of significant price resistance and support to understand potential turning points or trends in the market.
• Risk Management: Use these zones to better inform stop-loss placements or set profit targets.
• Confirmation Tool: Combine the indicator with other technical analysis tools for confirmation of potential trade entries or exits.
Customization Options:
• Change the colors of the support and resistance zones for better integration with different chart themes.
• Adjust the ATR Length and Multiplier to fine-tune the sensitivity of the zones based on personal preferences and the characteristics of the asset being analyzed.
Disclaimer:
This indicator is for educational and informational purposes only. It is not intended to serve as investment advice or a recommendation to buy or sell any financial instrument. Always perform your own research and consider consulting with a financial professional before making trading decisions. Trading involves significant risk, and past performance does not guarantee future results.
Combined Predictive Indicator### Combined Predictive Zones & Levels
This indicator is a powerful hybrid tool designed to provide a comprehensive map of potential future price action. It merges two distinct predictive models into a single, cohesive view, helping traders identify key levels of support, resistance, and areas of high confluence.
#### How It Works: Two Models in One
This script is built on two core components that you can use together or analyze separately:
**Part 1: Classic Range & Fibonacci Prediction**
This model uses classic technical analysis principles to project a potential range for the upcoming price action.
*   **Highest High / Lowest Low:** It identifies the significant trading range over a user-defined lookback period.
*   **Fibonacci Levels:** It automatically plots key Fibonacci retracement levels (e.g., 38.2% and 61.8%) within this range, which often act as critical support or resistance.
*   **ATR & Average Range:** It calculates a "predicted" upper and lower boundary based on the average historical range and current volatility (ATR).
**Part 2: Advanced Predictive Ranges (Self-Adjusting Channels)**
This is a dynamic model that creates adaptive support and resistance zones based on a smoothed average price and volatility.
*   **Dynamic Average:** It uses a unique moving average that only adjusts when the price moves significantly, creating a stable baseline.
*   **ATR-Based Zones:** It projects multiple levels of support (S1, S2) and resistance (R1, R2) around this average, which widen and narrow based on market volatility. These zones often signal areas where price might stall or reverse.
#### Key Features:
*   **Hybrid Model for Confluence:** The true power of this indicator lies in finding where the levels from both models overlap. A Fibonacci level aligning with a Predictive Range support zone is a much stronger signal.
*   **Comprehensive Data Table:** A clean, on-chart table displays the precise values of all key predictive levels, allowing for quick reference and precise trade planning.
*   **Multi-Timeframe (MTF) Capability:** The Advanced Predictive Ranges can be calculated on a higher timeframe, giving you a broader market context.
*   **Fully Customizable:** All lengths, multipliers, and levels for both models are fully adjustable in the settings to fit any asset or trading style.
*   **Clear Visuals:** All zones and levels are color-coded for intuitive and easy-to-read analysis.
#### How to Use:
1.  Look for areas of **confluence** where multiple levels from both models cluster together. These are high-probability zones for price reactions.
2.  Use the Predictive Range zones (S1/S2 and R1/R2) as potential targets for trades or as areas to watch for entries and exits.
3.  Pay attention to the on-chart table for exact price levels to set limit orders or stop-losses.
**Disclaimer:** This script is an analytical tool for educational purposes and should not be considered financial advice. All trading involves risk. Past performance is not indicative of future results. Always use this indicator as part of a comprehensive trading strategy with proper risk management.
Feedback is welcome! If you find this tool useful, please leave a like.
Market DashboardMarket Dashboard — All-in-One Technical Indicator Panel
The Market Dashboard is a powerful visual tool that consolidates key technical indicators into a single on-chart table, helping traders make faster and more informed decisions. This script includes:
 RSI —  Detects overbought and oversold market conditions
 MACD —  Shows trend momentum and crossover signals
 CVD (Cumulative Volume Delta) —  Highlights buyer vs. seller pressure
 Volume Analysis —  Flags unusually high volume
 ATR (Average True Range) —  Displays current market volatility
 Session Detector —  Automatically identifies ASIAN, LONDON, or NEW YORK sessions based on UTC time
 Fully Customizable —  Adjust table position and text size to fit your chart layout
Designed for traders who want a clean, real-time snapshot of market dynamics, directly on the chart.
Supertrend AT v1.0### Overview
"Supertrend AT v1.0" is an automated trading strategy based on the Supertrend indicator, designed to detect trend reversals and execute entries accordingly. This script supports both **long and short** positions and includes customizable risk management features such as **RPT (Risk Per Trade)** and **RR (Risk/Reward ratio)**.
### Key Features
- 📈 **Supertrend-based Entry Logic**: 
  - Enters a **long position** when the Supertrend flips from red to green (downtrend → uptrend).
  - Enters a **short position** when the Supertrend flips from green to red (uptrend → downtrend).
- 💰 **Auto-Calculated Position Sizing**: 
  - Quantity is automatically calculated to ensure that loss per trade (including commission) matches the specified risk percentage (RPT).
- 🎯 **Take-Profit and Stop-Loss**: 
  - Both targets are dynamically computed using the RR ratio and account for commission fees.
- 📊 **Visual Elements**: 
  - Entry, stop, and target prices are plotted on the chart.
  - Real-time PnL and account equity are shown in a dashboard.
  - Optional on-screen README guide explains the strategy and key terms.
### Inputs
- **RPT (%)**: Risk per transaction (based on account equity).
- **RR**: Reward-to-risk ratio.
- **Commission (%)**: Used in all calculations (must match the Properties tab).
- **Supertrend Settings**: Adjustable factor and length.
- **Market Decimal Places**: For accurate quantity rounding according to exchange rules.
- **Time Filter**: Set start and end time for trading logic activation.
### Risk Management Logic
This strategy calculates trade size and targets using a formula that considers both the price distance between entry and stop-loss and the effect of commission fees. This ensures:
- Consistent risk across trades
- Realistic take-profit levels
- Exchange-compliant order quantities
### Notes
- ⚠️ Be sure to set the **correct commission rate** and **decimal precision** for your exchange.
- ⚠️ If trade quantity is smaller than your exchange’s minimum unit, orders may be rejected.
- 🔧 For strategy to behave as intended in automation, double-check both **input tab** and **Properties tab** settings.
### Disclaimer
This strategy is for educational and research purposes only. It does not constitute financial advice. Always test on paper before using in a live environment.
ATR as % of CloseATR 14day period in % terms
the Normal ATR indicator by TV helps but this gives a clear idea as to the range in percentage terms as and when market rises to newer and newer highs
better than an absolute value






















