ATR Trailing + Alerts + Price LabelsATR Trend is a clean and intelligent trend-following overlay built for traders who want clarity during both trending and ranging markets.
This indicator dynamically detects bullish and bearish market trends using the Average True Range (ATR), applying a confirmation-based approach to filter out false signals and minor pullbacks.
The trend line is:
Blue 🔵 during uptrends.
Black ⚫ during downtrends.
Continuous, recalculating only when the market truly shifts — not just when price temporarily crosses the line.
When a confirmed trend reversal occurs:
A 🔼 or 🔽 label shows the exact price of the flip.
An alert can be triggered to notify the user immediately.
💡 Features:
✅ Single-line trend direction
✅ Filters out short-term noise
✅ Exact price labeling on trend change
✅ Built-in alerts for up/down trend shifts
⚙️ Inputs:
ATR Period – Length of ATR calculation (default: 14)
ATR Multiplier – Offset for trend line placement (default: 2.0)
Flip Sensitivity – Number of bars required to confirm a trend reversal (default: 3)
This tool is suitable for:
Swing traders avoid false breakouts
Scalpers looking for high-probability trend entries
Algorithmic setups requiring structured trend logic
ATR
Risk Distribution HistogramStatistical risk visualization and analysis tool for any ticker 📊
The Risk Distribution Histogram visualizes the statistical distribution of different risk metrics for any financial instrument. It converts risk data into histograms with quartile-based color coding, so that traders can understand their risk, tail-risks, exposure patterns and make data-driven decisions based on empirical evidence rather than assumptions.
The indicator supports multiple risk calculation methods, each designed for different aspects of market analysis, from general volatility assessment to tail risk analysis.
Risk Measurement Methods
Standard Deviation
Captures raw daily price volatility by measuring the dispersion of price movements. Ideal for understanding overall market conditions and timing volatility-based strategies.
Use case: Options trading and volatility analysis.
Average True Range (ATR)
Measures true range as a percentage of price, accounting for gaps and limit moves. Valuable for position sizing across different price levels.
Use case: Position sizing and stop-loss placement.
The chart above illustrates how ATR statistical distribution can be used by looking at the ATR % of price distribution. For example, 90% of the movements are below 5%.
Downside Deviation
Only considers negative price movements, making it ideal for checking downside risk and capital protection rather than capturing upside volatility.
Use case: Downside protection strategies and stop losses.
Drawdown Analysis
Tracks peak-to-trough declines, providing insight into maximum loss potential during different market conditions.
Use case: Risk management and capital preservation.
The chart above illustrates tale risk for the asset (TQQQ), showing that it is possible to have drawdowns higher than 20%.
Entropy-Based Risk (EVaR)
Uses information theory to quantify market uncertainty. Higher entropy values indicate more unpredictable price action, valuable for detecting regime changes.
Use case: Advanced risk modeling and tail-risk.
VIX Histogram
Incorporates the market's fear index directly into analysis, showing how current volatility expectations compare to historical patterns. The CAPITALCOM:VIX histogram is independent from the ticker on the chart.
Use case: Volatility trading and market timing.
Visual Features
The histogram uses quartile-based color coding that immediately shows where current risk levels stand relative to historical patterns:
Green (Q1): Low Risk (0-25th percentile)
Yellow (Q2): Medium-Low Risk (25-50th percentile)
Orange (Q3): Medium-High Risk (50-75th percentile)
Red (Q4): High Risk (75-100th percentile)
The data table provides detailed statistics, including:
Count Distribution: Historical observations in each bin
PMF: Percentage probability for each risk level
CDF: Cumulative probability up to each level
Current Risk Marker: Shows your current position in the distribution
Trading Applications
When current risk falls into upper quartiles (Q3 or Q4), it signals conditions are riskier than 50-75% of historical observations. This guides position sizing and portfolio adjustments.
Key applications:
Position sizing based on empirical risk distributions
Monitoring risk regime changes over time
Comparing risk patterns across timeframes
Risk distribution analysis improves trade timing by identifying when market conditions favor specific strategies.
Enter positions during low-risk periods (Q1)
Reduce exposure in high-risk periods (Q4)
Use percentile rankings for dynamic stop-loss placement
Time volatility strategies using distribution patterns
Detect regime shifts through distribution changes
Compare current conditions to historical benchmarks
Identify outlier events in tail regions
Validate quantitative models with empirical data
Configuration Options
Data Collection
Lookback Period: Control amount of historical data analyzed
Date Range Filtering: Focus on specific market periods
Sample Size Validation: Automatic reliability warnings
Histogram Customization
Bin Count: 10-50 bins for different detail levels
Auto/Manual Bin Width: Optimize for your data range
Visual Preferences: Custom colors and font sizes
Implementation Guide
Start with Standard Deviation on daily charts for the most intuitive introduction to distribution-based risk analysis.
Method Selection: Begin with Standard Deviation
Setup: Use daily charts with 20-30 bins
Interpretation: Focus on quartile transitions as signals
Monitoring: Track distribution changes for regime detection
The tool provides comprehensive statistics including mean, standard deviation, quartiles, and current position metrics like Z-score and percentile ranking.
Enjoy, and please let me know your feedback! 😊🥂
Trend CatcherTrend Catcher with Trade Statistics is a clean, high-precision trend-following tool designed to help traders stay confidently aligned with the market's dominant direction.
It avoids premature reversals by using an ATR-based confirmation model that waits for multiple bar validations before flipping trend direction — filtering out noise and false signals during consolidations.
Along with visually intuitive signals, the indicator also tracks and summarizes trade performance, giving traders real-time insights into their strategy's effectiveness.
💡 Key Features
🔹 Trend Detection
Uses ATR-based logic with confirmation bars (Flip Sensitivity) to determine real trend shifts.
Single-line trend display:
🔵 Blue = Uptrend
⚫ Black = Downtrend
Flips only when the market confirms, not just when price temporarily crosses the line.
🔹 Visual Feedback
🔼 / 🔽 labels on the chart with exact price of trend flips.
Smart spacing keeps the chart clean and legible.
🔹 Real-Time Alerts
Alerts when a new trend is confirmed (Uptrend or Downtrend).
Useful for automation, scalping alerts, or swing trade monitoring.
🔹 Built-in Performance Tracker
A summary table (top-right corner) displays performance over the last trades:
✅ Count of winning long trades
❌ Count of losing long trades
✅ Count of winning short trades
❌ Count of losing short trades
📊 Total PnL (point difference between entries and exits)
⚙️ Inputs
Setting Description
ATR Period Period used to calculate ATR
ATR Multiplier How far away the trend line sits from price
Flip Sensitivity Bars needed to confirm a new trend
🧑💻 Author
vineeth059
Tx ATR sl/tp table
This indicator is designed for TX students to streamline ATR-based Stop Loss (SL) and Take Profit (TP) calculations across three trading styles: Swing, Intraday, and Scalp.
It automatically displays the ATR value and computes SL/TP levels based on TX education, helping you avoid the hassle of switching timeframes.
You can toggle each trading style on or off to show only the levels relevant to your strategy, and easily reposition the TP/SL table to the top or bottom right of the chart for better visibility.
Flexible, efficient, and tailored for TX risk management workflows, this tool helps simplify your decision-making with clarity and control.
ISS V5 Strategy (3, 97, 100)
This is a trend strategy that uses a classic combination of indicators:
MACD to determine the main entry signal (line crossing).
RSI as a filter to confirm the strength of the trend.
ATR for dynamic risk management (setting stop-loss and take-profit orders).
AI Smart Liquidity Signal 🚀
The "AI Smart Liquidity Signal" indicator is an advanced technical analysis tool designed for traders on TradingView. It aims to identify high-probability trading opportunities by analyzing liquidity dynamics and integrating a comprehensive suite of intelligent filters. This indicator provides precise entry and exit signals, complete with defined take-profit and stop-loss levels, helping traders make informed decisions.
Key Features:
Advanced Liquidity Analysis: The indicator identifies and plots liquidity trendlines based on key pivot points (Pivot High/Low), revealing "liquidity breakouts" that often precede significant price movements. This analysis offers unique insights into hidden supply and demand zones in the market.
Comprehensive Signal Filtering System: To ensure the highest quality signals, the indicator incorporates a robust filtering system, including:
Trend Filters: General and Smart Trend analysis using Moving Averages (SMA, EMA) to determine market strength and direction.
Momentum and Volatility Filters: Utilizing indicators like RSI, MACD, and ATR to assess momentum and price volatility, helping to avoid false signals in choppy markets.
Candle Body Strength Filters: Evaluating the strength of candle bodies to confirm signal validity.
Support & Resistance Filters: Identifying dynamic and retested support and resistance zones, and filtering signals that might be trapped within these areas.
Higher Timeframe Filters: Ability to enable trend filters from higher timeframes (e.g., 30-minute, 1-hour, 4-hour) to ensure signal confluence with larger trends.
Session Filter: Trade only during specific market sessions (Asian, London, New York) to focus trading on the most active periods.
Integrated Risk Management: The indicator provides automatic Take Profit (TP1, TP2, TP3) and Stop Loss (SL) levels based on Average True Range (ATR), helping traders effectively manage their trades and set realistic targets.
Multi-Timeframe (MTF) Scanner: The indicator allows you to monitor buy and sell signals across multiple timeframes simultaneously (from 1-minute to 1-day), providing a holistic market view and helping to identify the best entry opportunities.
Customizable Alerts: Set up instant alerts for buy/sell signals, entry/exit levels, or when price touches support/resistance zones, to stay informed about trading opportunities without constant chart monitoring.
Clear Visual Representation: All signals, trendlines, take-profit/stop-loss levels, and support/resistance zones are clearly and intuitively displayed on the chart, facilitating visual analysis.
How It Works:
The indicator employs a sophisticated algorithm that combines liquidity analysis with signal confirmation through a customizable set of filters. It identifies potential reversal points in the market (pivot points) and draws liquidity trendlines that represent areas of price attraction or rejection. When these lines are broken, an initial signal is generated. This signal then passes through a series of filters (such as RSI, MACD, ATR, trend analysis, support and resistance) to enhance its accuracy and reduce false positives. The final signals are displayed with dynamically calculated take-profit and stop-loss levels.
Why Choose AI Smart Liquidity Signal?
Enhanced Accuracy: Thanks to its multi-layered filtering system, the indicator aims to provide more precise and reliable signals.
Effective Risk Management: Integrated take-profit and stop-loss levels help you protect your capital and maximize profitable trades.
Comprehensive Market View: The multi-timeframe scanner gives you a broad market perspective, helping you identify the strongest trends and opportunities.
User-Friendly: Despite its internal complexity, the indicator is designed to be user-friendly, with clear input options allowing you to customize it to fit your trading style.
Whether you are a novice or an experienced trader, the "AI Smart Liquidity Signal" indicator provides you with the necessary tools to enhance your trading strategy and improve your results.
ATR as % of Close (Daily)Sometimes, ATR is more comparable and meaningful when we express it in % rather than dollar. This is a quickly developed version (using ChatGPT), so review it and use it with caution, although the calculation is quite straightforward.
Finance Nirvana Buy/Sell Signals Generator V1.2Finance Nirvana Buy Sell Indicator combines multiple layers of analysis into a single, streamlined overlay. It plots key trend and volatility structures—EMAs and Bollinger Bands—while computing a fast, zero-lag EMA (ZLEMA20) for more responsive trend detection. Extreme RSI and volume events are flagged directly on the chart, and classic two-bar price-action (Buy / Sell) signals are only triggered when confirmed by ATR-based volatility breakouts, ADX trend strength, dynamic RSI momentum filters, and volume confirmations. A multit imeframe alignment table shows both “bullish vs. bearish” status and live RSI readings across 5m, 15m, 60m, 240m, and daily frames, and intraday pivot, support, and resistance levels are drawn for easy reference.
table added to show live level + Todays n yesterday high n low levels
Average Daily Range ADR by thSpecial for Amer and ATR testing and some text for description which I will add a little bit later because beatiful tv can't pass my indicator to be published
Finance Nirvana Buy/Sell Signals Generator V1.0Finance Nirvana Buy Sell Indicator combines multiple layers of analysis into a single, streamlined overlay. It plots key trend and volatility structures—EMAs and Bollinger Bands—while computing a fast, zero-lag EMA (ZLEMA20) for more responsive trend detection. Extreme RSI and volume events are flagged directly on the chart, and classic two-bar price-action (Buy / Sell) signals are only triggered when confirmed by ATR-based volatility breakouts, ADX trend strength, dynamic RSI momentum filters, and volume confirmations. A multi-timeframe alignment table shows both “bullish vs. bearish” status and live RSI readings across 5m, 15m, 60m, 240m, and daily frames, and intraday pivot, support, and resistance levels are drawn for easy reference.
UT Bot + LinReg Candles (Dual Sensitivity)
Script Description:
This indicator combines the popular UT Bot Alerts system with Linear Regression Candles (open source) for enhanced trend detection and trading signals in one singel script. The UT Bot features independent, then 2 x ATR sensitivity and periods controls for buy and sell signals, allowing you to fine-tune entries and exits to match your strategy. The script also overlays colored Linear Regression Candles with an optional signal line, helping you visually identify trend strength and direction. All calculations are performed on standard chart prices (no Heikin Ashi). Suitable for all asset classes and timeframes.
Eample setting for usdjpy 5 min chart for repeated buy and sell singnals based on trend:
BUY ATR period 300 multiplier 1
SELL ATR period 1 multiplier 2
Disclaimer:
This script is for informational and educational purposes only. It is not financial advice. Use at your own risk; the author assumes no responsibility for any trading results or losses.
Credits goes to to Ugurvu for linreg candles and quantnomad for UT Bot alerts that make this script possible.
Author: Patrick
ATR Label (Top Right)Final version easier to run daily ATR first, then move to lower time frames, only purpose is to see the ATR quick
Random Coin Toss Strategy📌 Overview
This strategy is a probability-based trading simulation that randomly decides trade direction using a coin-toss mechanism and executes trades with a customizable risk-reward ratio. It's designed primarily for testing entry frequency and risk dynamics, not predictive accuracy.
🎯 Core Concept
Every N bars (configurable), the strategy performs a pseudo-random coin toss.
Based on the result:
If heads → Buy
If tails → Sell
Once a position is opened, it sets a Stop-Loss (SL) and Take-Profit (TP) based on a multiple of the current ATR (Average True Range) value.
⚙️ Configurable Inputs
ATR Length Period for ATR calculation, determines volatility basis.
SL Multiplier SL distance = ATR × multiplier (e.g., 1.0 means 1x ATR) .
TP Multiplier TP distance = ATR × multiplier (e.g., 2.0 = 2x ATR) .
Entry Frequency Bars to wait between each new coin toss decision.
Show TP/SL Zones Toggle on/off for drawing visual TP and SL zones.
Box Size Number of bars used to define the width of the TP/SL boxes.
🔁 Entry & Exit Logic
Entry:
Happens only when no current position exists and it's the correct bar interval.
Entry direction is randomly decided.
Exit:
Positions exit at either:
Take-Profit (TP) level
Stop-Loss (SL) level
Both are calculated using the configured ATR-based distances.
🖼️ Visual Features
TP and SL zones:
Rendered as shaded rectangles (boxes) only once per trade.
Green box for TP zone, red box for SL zone.
Automatically deleted and redrawn for each new trade to avoid chart clutter.
ATR Display Table:
A minimal info table at the top-right shows the current ATR value.
Updates every few bars for performance.
🧪 Use Cases
Ideal for risk-reward modeling, strategy prototyping, and understanding how volatility-based SL/TP behavior affects results.
Great for backtesting frequency, RR tweaks (e.g., 2:5 or 3:1), and execution structure in random conditions.
⚠️ Disclaimer
Since the trade direction is random, this script is not meant for predictive trading but serves as a powerful experiment framework for studying how SL, TP, and volatility interact with random chance in a controlled, repeatable system.
ATR Stop-Loss with Fibonacci Take-Profit [jpkxyz]ATR Stop-Loss with Fibonacci Take-Profit Indicator
This comprehensive indicator combines Average True Range (ATR) volatility analysis with Fibonacci extensions to create dynamic stop-loss and take-profit levels. It's designed to help traders set precise risk management levels and profit targets based on market volatility and mathematical ratios.
Two Operating Modes
Default Mode (Rolling Levels)
In default mode, the indicator continuously plots evolving stop-loss and take-profit levels based on real-time price action. These levels update dynamically as new bars form, creating rolling horizontal lines across the chart. I use this mode primarily to plot the rolling ATR-Level which I use to trail my Stop-Loss into profit.
Characteristics:
Levels recalculate with each new bar
All selected Fibonacci levels display simultaneously
Uses plot() functions with trackprice=true for price tracking
Custom Anchor Mode (Fixed Levels)
This is the primary mode for precision trading. You select a specific timestamp (typically your entry bar), and the indicator locks all calculations to that exact moment, creating fixed horizontal lines that represent your actual trade levels.
Characteristics:
Entry line (blue) marks your anchor point
Stop-loss calculated using ATR from the anchor bar
Fibonacci levels projected from entry-to-stop distance
Lines terminate when price breaks through them
Includes comprehensive alert system
Core Calculation Logic
ATR Stop-Loss Calculation:
Stop Loss = Entry Price ± (ATR × Multiplier)
Long positions: SL = Entry - (ATR × Multiplier)
Short positions: SL = Entry + (ATR × Multiplier)
ATR uses your chosen smoothing method (RMA, SMA, EMA, or WMA)
Default multiplier is 1.5, adjustable to your risk tolerance
Fibonacci Take-Profit Projection:
The distance from entry to stop-loss becomes the base unit (1.0) for Fibonacci extensions:
TP Level = Entry + (Entry-to-SL Distance × Fibonacci Ratio)
Available Fibonacci Levels:
Conservative: 0.618, 1.0, 1.618
Extended: 2.618, 3.618, 4.618
Complete range: 0.0 to 4.764 (23 levels total)
Multi-Timeframe Functionality
One of the indicator's most powerful features is timeframe flexibility. You can analyze on one timeframe while using stop-loss and take-profit calculations from another.
Best Practices:
Identify your entry point on execution timeframe
Enable "Custom Anchor" mode
Set anchor timestamp to your entry bar
Select appropriate analysis timeframe
Choose relevant Fibonacci levels
Enable alerts for automated notifications
Example Scenario:
Analyse trend on 4-hour chart
Execute entry on 5-minute chart for precision
Set custom anchor to your 5-minute entry bar
Configure timeframe setting to "4h" for swing-level targets
Select appropriate Fibonacci Extension levels
Result: Precise entry with larger timeframe risk management
Visual Intelligence System
Line Behaviour in Custom Anchor Mode:
Active levels: Lines extend to the right edge
Hit levels: Lines terminate at the breaking bar
Entry line: Always visible in blue
Stop-loss: Red line, terminates when hit
Take-profits: Green lines (1.618 level in gold for emphasis)
Customisation Options:
Line width (1-4 pixels)
Show/hide individual Fibonacci levels
ATR length and smoothing method
ATR multiplier for stop-loss distance
ATR Buy, Target, Stop + OverlayATR Buy, Target, Stop + Overlay
This tool is to assist traders with precise trade planning using the Average True Range (ATR) as a volatility-based reference.
This script plots buy, target, and stop-loss levels on the chart based on a user-defined buy price and ATR-based multipliers, allowing for objective and adaptive trade management.
*NOTE* In order for the indicator to initiate plotted lines and table values a non-zero number must be entered into the settings.
What It Does:
Buy Price Input: Users enter a manual buy price (e.g., an executed or planned trade entry).
ATR-Based Target and Stop: The script calculates:
Target Price = Buy + (ATR × Target Multiplier)
Stop Price = Buy − (ATR × Stop Multiplier)
Customizable Timeframe: Optionally override the ATR timeframe (e.g., use daily ATR on a 1-hour chart).
Visual Overlay: Lines are drawn directly on the price chart for the Buy, Target, and Stop levels.
Interactive Table: A table is displayed with relevant levels and ATR info.
Customization Options:
Line Settings:
Adjust color, style (solid/dashed/dotted), and width for Buy, Target, and Stop lines.
Choose whether to extend lines rightward only or in both directions.
Table Settings:
Choose position (top/bottom, left/right).
Toggle individual rows for Buy, Target, Stop, ATR Timeframe, and ATR Value.
Customize text color and background transparency.
How to Use It for Trading:
Plan Your Trade: Enter your intended buy price when planning a trade.
Assess Risk/Reward: The script immediately visualizes the potential stop-loss and target level, helping assess R:R ratios.
Adapt to Volatility: Use ATR-based levels to scale stop and target dynamically depending on current market volatility.
Higher Timeframe ATR: Select a different timeframe for the ATR calculation to smooth noise on lower timeframe charts.
On-the-Chart Reference: Visually track trade zones directly on the price chart—ideal for live trading or strategy backtesting.
Ideal For:
Swing traders and intraday traders
Risk management and trade planning
Traders using ATR-based exits or scaling
Visualizing asymmetric risk/reward setups
How I Use This:
After entering a trade, adding an entry price will plot desired ATR target and stop level for visualization.
Adjusting ATR multiplier values assists in evaluating and planning trades.
Visualization assists in comparing ATR multiples to recent support and resistance levels.
Pineify Signals and OverlaysIndicator Theoretical Basis
Pineify Signals and Overlays is an invite-only trend-following and reversal-detection toolkit that fuses four well-known concepts— Dow-Theory trend phases , a multi-pair EMA cloud, QQE momentum, and ATR-based risk management—into a single, weight-balanced engine. An optional multi-time-frame (MTF) filter aligns lower-time-frame signals with higher-time-frame structure, helping traders avoid counter-trend setups. All components can be toggled from the settings panel, and a beginner “One-Click” preset loads a conservative profile out of the box.
Why it’s a single script: The algorithm scores every bar on three orthogonal axes—trend, momentum, and volatility—then issues context-aware arrows and coloured clouds only when the axes agree within user-defined tolerances. This inter-locking logic cannot be reproduced by simply stacking independent indicators on a chart, hence the need for an integrated implementation.
Trend Confirmation
Trend Confirmation: This indicator presents two types of market trends: the primary trend and the secondary trend. The primary trend is the long - term direction of the market and can last for days or months; the secondary trend is the adjustment phase within the primary trend.
This indicator uses the EMA (Exponential Moving Average) and visualizes the trend phases through color filling. The judgment of the trend is that blue plus green indicates a bullish trend, and yellow plus red indicates a bearish trend.
The primary trend of this indicator is visualized by two sets of moving averages through color filling. These two sets of moving averages are used to describe the short - term and long - term trends in the market.
The short - period moving averages and the long - period moving averages each consist of 4 moving averages, with a total of 8 moving averages, representing the short - term fluctuations and trends of the market.
Trend Persistence: Once the primary trend is formed, it will persist for a period of time. This indicator judges based on the Dow Theory. Short - term market fluctuations do not necessarily reflect changes in the primary trend. Therefore, the judgment direction of the primary trend is visualized through color.
The Signals of Buying, Selling and Closing
In the primary trend, we can see signals of trend reversal. This indicator incorporates the "Consecutive Candles". The indicator mainly identifies the overbought or oversold state of the market through a series of consecutive conditions, so as to predict the reversal point. The core of this indicator is to identify a series of consecutive price movements in the market trend and determine whether the market is about to reverse based on this sequence. We visualize the turning points through buy and sell signals.
The trend confirmation system utilizes four pairs of Exponential Moving Averages (EMAs) creating dynamic cloud formations that visualize market direction. Short-period EMAs (5, 8, 20, 34) interact with longer-period EMAs (9, 13, 21, 50) to generate color-coded trend clouds . Blue and green clouds indicate bullish conditions, while yellow and red clouds signal bearish trends, providing immediate visual trend identification.
The presentation of buying and selling points, namely "Quantitative Qualitative Estimation", is a technical indicator that combines the concepts of the Relative Strength Index (RSI) and moving averages. It is used to evaluate market trends, overbought and oversold conditions, as well as potential trend reversal points. The oscillator has a relatively long smoothing period, making the indicator relatively stable, thus enabling the visualization of buy + and sell + signals for trading.
ATR Stop - Loss Line
ATR (Average True Range) is an indicator for measuring market volatility. By using the ATR value to set the stop - loss distance, the stop - loss level can be automatically adjusted according to market volatility, making the stop - loss more flexible.
Core principle
Trend-Cloud Engine
EMA Pairs (5, 8, 20, 34 vs 9, 13, 21, 50)—Two four-EMA sets form “fast” and “slow” envelopes. When the volume-weighted mean of the fast set sits above the slow set and both slopes are positive, the bar is tagged primary bullish; the inverse tags primary bearish. Cloud colours (blue/green vs yellow/red) mirror Dow Theory’s primary/secondary trend hierarchy.
Momentum & Exhaustion Layer
QQE Oscillator (RSI 14, factor 4.238) detects momentum extremes and smooths noise more than a raw RSI, making it better suited for multi-time-frame use.
Consecutive-Candle Counter (default 8) highlights potential exhaustion after extended unidirectional moves; reversal symbols appear only if QQE divergence also exists.
Volatility-Adjusted Risk Line
ATR Trailing Stop (ATR 21, dynamic multiplier) expands in high volatility and tightens in low volatility, offering an adaptive exit reference rather than a fixed-tick stop.
Multi-Time-Frame Confirmation
The script automatically chooses a higher aggregation (e.g., 4 × the chart timeframe) and requires primary-trend agreement before issuing “Long ▲+” or “Short ▼+” confirmations. This guards against false signals during counter-trend rebounds.
Recommended parameters
RSI Length: 14 (QQE calculation base)
QQE Factor: 4.238 (Fibonacci-based multiplier)
ATR Period: 21 (volatility measurement)
EMA Lengths: Configurable short (5,8,20,34) and long (9,13,21,50) periods
Consecutive Candles: Selectable count (8)
Multi-timeframe Filter: Filter is enabled by default, resulting in more accurate signals.
Filters
The multi-timeframe filter enhances signal reliability by confirming trends across higher timeframes. This prevents counter-trend trades by ensuring alignment between current chart timeframe and broader market direction. The filter automatically calculates appropriate higher timeframes for trend confirmation.
Signals & Alerts
The indicator system exports multiple alert signals, and you can easily alert for any signal.
Up Trend : Primary long signal appears
Long - ▲ : Buy signal appears
Long - ▲+ : Confirmation buy signal appears
Long - ● : Primary reversal signal appears
Long - ☓ : Secondary reversal signal appears
Down Trend : Primary short signal appears
Short - ▼ : Sell signal appears
Short - ▼+ : Confirmation sell signal appears
Short - ● : Primary reversal signal appears
Short - ☓ : Secondary reversal signal appears
Originality & Value for Traders
Integrated scoring logic ensures signals fire only when trend, momentum, and volatility metrics corroborate, reducing “indicator conflict”.
Auto-computed MTF pairs mean no manual timeframe juggling.
Weight-balanced QQE/EMA blend creates smoother trend clouds than standard MA crosses, yet remains more responsive than Keltner or Donchian approaches.
One-click beginner profile plus full parameter access supports both novice and advanced users.
Risk Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Pineify) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
ATR Stop Loss BandsATR Stop Loss Bands Indicator
Overview
The ATR Stop Loss Bands indicator creates dynamic support and resistance levels based on the Average True Range (ATR), providing traders with volatility-adjusted price bands that can be used for stop loss placement and trend analysis.
How It Works
This indicator calculates two bands around the current closing price using the ATR value:
Upper Band: Close price + ATR value
Lower Band: Close price - ATR value
The bands automatically adjust to market volatility, expanding during volatile periods and contracting during calmer market conditions.
Key Features
Customizable ATR Period: Default 14-period length (adjustable from 1 to any desired value)
Multiple Smoothing Options: Choose from RMA (default), SMA, EMA, or WMA for ATR calculation
Dynamic Volatility Adjustment: Bands automatically adapt to current market volatility
Clean Visual Design: Gray bands that don't clutter your chart
Trading Applications
Stop Loss Placement: Use the bands as dynamic stop loss levels - long positions might use the lower band as a stop, while short positions could use the upper band
Volatility Assessment: Wide bands indicate high volatility periods, narrow bands suggest low volatility
Breakout Identification: Price movements beyond the bands may signal potential breakouts or trend changes
Support/Resistance Levels: The bands can act as dynamic support and resistance zones
Settings
Length: ATR calculation period (default: 14)
Smoothing: Method for ATR smoothing (RMA, SMA, EMA, or WMA)
Best Practices
Use in conjunction with other technical analysis tools for confirmation
Consider the overall trend direction when interpreting band breaks
Adjust the length parameter based on your trading timeframe and strategy
Remember that ATR bands are reactive, not predictive - they respond to price movements rather than forecasting them
This indicator is particularly useful for traders who want to incorporate market volatility into their risk management and entry/exit decisions.
Normalized Volume & True RangeThis indicator solves a fundamental challenge that traders face when trying to analyze volume and volatility together on their charts. Traditionally, volume and price volatility exist on completely different scales, making direct comparison nearly impossible. Volume might range from thousands to millions of shares, while volatility percentages typically stay within single digits. This indicator brings both measurements onto a unified scale from 0 to 100 percent, allowing you to see their relationship clearly for the first time.
The core innovation lies in the normalization process, which automatically calculates appropriate scaling factors for both volume and volatility based on their historical statistical properties. Rather than using arbitrary fixed scales that might work for one stock but fail for another, this system adapts to each instrument's unique characteristics. The indicator establishes baseline averages for both measurements and then uses statistical analysis to determine reasonable maximum values, ensuring that extreme outliers don't distort the overall picture.
You can choose from three different volatility calculation methods depending on your analytical preferences. The "Body" option measures the distance between opening and closing prices, focusing on the actual trading range that matters most for price action. The "High/Low" method captures the full daily range including wicks and shadows, giving you a complete picture of intraday volatility. The "Close/Close" approach compares consecutive closing prices, which can be particularly useful for identifying gaps and overnight price movements.
The indicator displays volume as colored columns that match your candlestick colors, making it intuitive to see whether high volume occurred during up moves or down moves. Volatility appears as a gray histogram, providing a clean background reference that doesn't interfere with volume interpretation. Both measurements are clipped at 100 percent, which represents their calculated maximum normal values, so any readings near this level indicate unusually high activity in either volume or volatility.
The baseline reference line shows you what "normal" volume looks like for the current instrument, helping you quickly identify when trading activity is above or below average. Optional moving averages for both volume and volatility are available if you prefer smoothed trend analysis over raw daily values. The entire system updates in real-time as new data arrives, continuously refining its statistical calculations to maintain accuracy as market conditions evolve.
This two-in-one indicator provides a straightforward way to examine how price movements relate to trading volume by presenting both measurements on the same normalized scale, making it easier to spot patterns and relationships that might otherwise remain hidden when analyzing these metrics separately.
Double Bottom Strategy (Long Only, ATR Trailing Stop + Alerts)This script implements a long-only breakout strategy based on the recognition of a Double Bottom price pattern, enhanced with a 50 EMA trend filter and a dynamic ATR-based trailing stop. It is suitable for traders looking to capture reversals in trending markets using a structured pattern-based entry system.
🧠 Key Features:
Double Bottom Detection: Identifies double bottom structures using pivot lows with configurable tolerance.
ATR-Based Trailing Stop: Manages exits using a trailing stop calculated from Average True Range (ATR), dynamically adjusting to market volatility.
EMA Filter (Optional): Filters trades to only go long when price is above the 50 EMA (trend confirmation).
Alerts: Real-time alerts on entry and exit, formatted in JSON for webhook compatibility.
Backtest Range Controls: Customize historical testing period with start and end dates.
✅ Recommended Markets:
Gold (XAUUSD)
S&P 500 (SPX, ES)
Nasdaq (NDX, NQ)
Stocks (Equities)
⚠️ Not recommended for Forex due to differing behavior and noise levels in currency markets.
🛠️ User Guidance:
Tune the pivot period, tolerance, and ATR settings for best performance on your chosen asset.
Backtest thoroughly over your selected date range to assess historical effectiveness.
Use small position sizes initially to test viability in live or simulated environments.
ATR RopeATR Rope is inspired by DonovanWall's "Range Filter". It implements a similar concept of filtering out smaller market movements and adjusting only for larger moves. In addition, this indicator goes one step deeper by producing actionable zones to determine market state. (Trend vs. Consolidation)
> Background
When reading up on the Range Filter indicator, it reminded me exactly of a Rope stabilization drawing tool in a program I use frequently. Rope stabilization essentially attaches a fixed length "rope" to your cursor and an anchor point (Brush). As you move your cursor, you are pulling the brush behind it. The cursor (of course) will not pull the brush until the rope is fully extended, this behavior filters out jittery movements and is used to produce smoother drawing curves.
If compared visually side-by-side, you will notice that this indicator bears striking resemblance to its inspiration.
> Goal
Other than simply distinguishing price movements between meaningful and noise, this indicator strives to create a rigid structure to frame market movements and lack-there-of, such as when to anticipate trend, and when to suspect consolidation.
Since the indicator works based on an ATR range, the resulting ATR Channel does well to get reactions from price at its extremes. Naturally, when consolidating, price will remain within the channel, neither pushing the channel significantly up or down. Likewise, when trending, price will continue to push the channel in a single direction.
With the goal of keeping it quick and simple, this indicator does not do any smoothing of data feeds, and is simply based on the deviation of price from the central rope. Adjusting the rope when price extends past the threshold created by +/- ATR from the rope.
> Features & Behaviors
- ATR Rope
ATR Rope is displayed as a 3 color single line.
This can be considered the center line, or the directional line, whichever you'd prefer.
The main point of the Rope display is to indicate direction, however it also is factually the center of the current working range.
- ATR Rope Color
When the rope's value moves up, it changes to green (uptrend), when down, red (downtrend).
When the source crosses the rope, it turns blue (flat).
With these simple rules, we've formed a structure to view market movements.
- Consolidation Zones
Consolidation Zones generate from "Flat" areas, and extend into subsequent trend areas. Consolidation is simply areas where price has crossed the Rope and remains inside the range. Over these periods, the upper and lower values are accumulated and averaged together to form the "Consolidation Zone" values. These zones are draw live, so values are averaged as the flat areas progress and don't repaint, so all values seen historically are as they would appear live.
- ATR Channel
ATR Channel displays the upper and lower bounds of the working range.
When the source moves beyond this range, the rope is adjusted based on the distance from the source to the channel. This range can be extremely useful to view, but by default it is hidden.
> Application
This indicator is not created to provide signals, or serve as a "complete" system.
(People who didn't read this far will still comment for signals. :) )
This is created to be used alongside manual interpretation and intuition. This indicator is not meant to constrain any users into a box, and I would actually encourage an open mind and idea generation, as the application of this indicator can take various forms.
> Examples
As you would probably already know, price movement can be fast impulses, and movement can be slow bleeds. In the screenshot below, we are using movements from and to consolidation zones to classify weak trend and strong trend. As you can see, there are also areas of consolidation which get broken out of and confirmed for the larger moves.
Author's Note: In each of these examples, I have outlined the start and end of each session. These examples come from 1 Min Future charts, and have specifically been framed with day trading in mind.
"Breakout Retest" or "Support/Resistance Flips" or "Structure Retests" are all generally the same thing, with different traders referring to them by different names, all of which can be seen throughout these examples.
In the next example, we have a day which started with an early reversal leading into long, slow, trend. Notice how each area throughout the trend essentially moves slightly higher, then consolidates while holding support of the previous zone. This day had a few sharp movements, however there was a large amount of neutrality throughout this day with continuous higher lows.
In contrast to the previous example, next up, we have a very choppy day. Throughout which we see a significant amount of retests before fast directional movements. We also see a few examples of places where previous zones remained relevant into the future. While the zones only display into the resulting trend area, they do not become immediately meaningless once they stop drawing.
> Abstract
In the screenshot below, I have stacked 2 of these indicators, using the high as the source for one and the low as the source for the other. I've hidden lines of the high and low channels to create a 4 lined channel based on the wicks of price.
This is not necessary to use the indicator, but should help provide an idea of creative ways the simple indicator could be used to produce more complicated analysis.
If you've made it this far, I would hope it's clear to you how this indicator could provide value to your trading.
Thank you to DonovonWall for the inspiration.
Enjoy!
ATR% Multiple from MAThis indicator builds upon the original idea by jfsrevg of using the ATR% multiple from a daily 50-period moving average to highlight when a stock or instrument is extended relative to its own volatility. My version expands on this by incorporating an ADR% (Average Daily Range percentage) volatility filter, which helps refine the signals to adapt better to different instruments and timeframes.
What it does:
• Calculates the 50-period simple moving average (SMA) using daily data as the baseline trend reference.
• Measures the instrument’s Average True Range (ATR) relative to the current close (ATR%).
• Uses this ratio to identify when an instrument is significantly extended above its average volatility-based range.
• Adds a dynamic ADR% filter — computed as the average daily range divided by the daily close — to adjust the extension threshold dynamically based on recent price volatility.
• Plots small circles above price bars when extension conditions are met, signaling potential overbought conditions.
•The script works on both daily and weekly timeframes, but all volatility calculations are based on daily data to ensure consistency.
How to use:
• Traders can use this indicator to spot when a stock or instrument is significantly stretched relative to its own volatility, which may signal a good time to scale out or manage risk.
• The dynamic ADR% filter helps reduce false positives by adjusting thresholds based on market conditions.
• Use the customizable settings for ATR length, SMA length, and ADR length to fine-tune the indicator for your preferred instruments.
Original Contributions:
• Integrated an ADR% filter that refines the extension threshold based on real-time volatility.
• Added dynamic thresholds that adapt to market conditions, making the indicator more reliable across different instruments and timeframes.
• Maintained daily volatility calculations while allowing signals to appear on both daily and weekly charts.
BK AK-Scope🔭 Introducing BK AK-Scope — Target Locked. Signal Acquired. 🔭
After building five precision weapons for traders, I’m proud to unveil the sixth.
BK AK-Scope — the eye of the arsenal.
This is not just an indicator. It’s an intelligence system for volatility, signal clarity, and rate-of-change dynamics — forged for elite vision in any market terrain.
🧠 Why “Scope”? And Why “AK”?
Every shooter knows: you can’t hit what you can’t see.
The Scope brings range, clarity, and target distinction. It filters motion from noise. Purpose from panic.
“AK” continues to honor the man who trained my sight — my mentor, A.K.
His discipline taught me to wait for alignment. To move with reason, not emotion.
His vision lives in every code line here.
🔬 What Is BK AK-Scope?
A Triple-Tier TSI Correlation Engine, fused with adaptive opacity logic, a volatility scoring system, and real-time signal clarity. It’s momentum dissected — by speed, depth, and rate of change.
Built to serve traders who:
Need visual hierarchy between fast, mid, and slow TSI responses.
Want adaptive fills that pulse with volatility — not static zones.
Require a volatility scoring overlay that reads the battlefield in real time.
⚙️ Core Systems: How BK AK-Scope Works
✅ Fast/Mid/Slow TSI →
Three layers of correlation: like scopes with zoom levels.
You track micro moves, mid swings, and macro flow simultaneously.
✅ Rate-of-Change Adaptive Opacity →
Momentum fills fade or flash based on speed — giving you movement density at a glance.
Bull vs. Bear zones adapt to strength. You feel the market’s pulse.
✅ Volatility Score Intelligence →
Custom algorithm measuring:
Range expansion
Rate-of-change differentials
ATR dynamics
Standard deviation pressure
All combined into a score from 0–100 with live icons:
🔥 = Extreme Heat (70+)
🧊 = Cold Zone (<30)
⚠️ = ROC Warning
• = Neutral drift
✅ Auto-Detect Volatility Modes →
Scalp = <15min
Swing = intraday/hourly
Macro = daily/weekly
Or override manually with total control.
🎯 How To Use BK AK-Scope
🔹 Trend Continuation → When all three TSI layers align in direction + volatility score climbs, ride with the trend.
🔹 Early Reversals → Opposing TSI + rapid opacity change + volatility shift = sniper reversal zone.
🔹 Consolidation Filter → Neutral fills + score < 30 = stay out, wait for signal surge.
🔹 Signal Confluence → Pair with:
• Gann fans or angles
• Fib time/price clusters
• Elliott Wave structure
• Harmonics or divergence
To isolate entry perfection.
🛡️ Why This Indicator Changes the Game
It's not just momentum. It’s TSI with depth hierarchy.
It’s not just color. It’s real-time strength visualization.
It’s not just volatility. It’s rate-weighted market intelligence.
This is market optics for the advanced trader — built for vision, clarity, and discipline.
🙏 Final Thoughts
🔹 In honor of A.K., my mentor. The man who taught me to see what others miss.
🔹 Inspired by the power of vision — because execution without clarity is chaos.
🔹 Powered by faith — because Gd alone gives sight beyond the visible.
“He gives sight to the blind and wisdom to the humble.” — Psalms 146
Every tool I build is a prayer in code — that it helps someone trade with clarity, integrity, and precision.
⚡ Zoom In. Focus Deep. Trade Clean.
BK AK-Scope — Lock on the target. See what others don’t.
🔫 Clarity is power. 🔫
Gd bless. 🙏
PRO Trading Averaging Beta(v1)Adaptive Position Scaling
Automatically increases position size during pullbacks using exponential volume scaling (1x, 2x, 4x, etc.). This reduces average entry cost and accelerates breakeven when price reverses.
Multi-Timeframe Confirmation
All indicators operate on a higher timeframe (120 minutes), providing:
Noise-filtered signals
Stronger trend alignment
Reduced false entries
Triple-Layer Entry Logic
Requires simultaneous confluence of:
Custom Bollinger Band penetration
RSI oversold filter (above critical threshold)
Golden cross confirmation (fast MA > slow MA)
Volatility assessment via ATR
Intelligent Exit System
Position closure triggers when either:
Fixed profit target (% of account) is reached
Technical boundary (upper Bollinger Band) is touched
⚙️ Core Mechanics:
graph LR
A --> B
B --> C{Initial Entry: 1% capital}
C --> D
D -->|Yes| E
D -->|No| F
E --> G{Max Averaging Levels?}
G -->|No| D
G -->|Yes| H
F --> I
📊 Implementation Guide:
Capital Configuration
Set initial_capital to your actual account size
Calculate base contract size:
(Account Size × 0.01) / (Instrument Price × Point Value)
Example: $10,000 account → 0.01 BTC futures contracts
Pyramiding Structure
Volume progression per averaging level:
Level 1: 1× (Base volume)
Level 2: 2×
Level 3: 4×
Level 4: 8×
Level 5: 16×
Level 6: 32×
(Max 6 levels configurable in strategy settings)
Custom Entry Variations
Alternative approach for swing captures:
// Enter only at 3rd averaging with 5% capital
if averaging_condition and strategy.opentrades == 2
strategy.entry("SwingEntry", strategy.long, qty=base_order_size*5)
Risk Management Protocol
No traditional stop-loss (replaced by averaging)
Break-even trigger: Manually move to breakeven at +0.5% profit
Max exposure: Capped at 6 averaging levels
Commissions: Pre-configured at 0.1% per trade
⚠️ Critical Risk Disclosures:
"Past Performance ≠ Future Results"
Historical optimization requires continuous forward testing ("Walk Forward" in TV).
Pyramiding Hazards
Exponential volume growth demands:
Minimum 20% free margin buffer
High liquidity instruments (spread < 0.5% of ATR)
Strict per-level risk calculation
Market Regime Dependence
Peak efficiency during:
Strong trends with 2-4% retracements
Assets with ATR > 1.5% of daily range
Avoid ranging/low-volatility conditions
💡 Pro Usage Recommendations:
Position Sizing Formula
For futures: Contracts = (Capital × Risk %) / (Entry Price × Point Value × Stop Distance)
Profit Protection
Close 50% position at 50% profit target, trail remainder
Event Safety
Disable averaging during:
High-impact news events
Exchange outages
Abnormal volume spikes
pie
title Risk Allocation per Level
“First Entry” : 12
“Level 2” : 18
“Level 3” : 25
“Level 4” : 45
ESSENTIAL: This strategy demands strict discipline. Terminate averaging when price action deviates from expected patterns. Always maintain reserve capital exceeding maximum drawdown requirements. Regularly validate strategy performance against current market dynamics.
🔥 Уникальные особенности и ценность:
Адаптивное усреднение
Стратегия автоматически увеличивает позицию при движении против вас, используя экспоненциальное наращивание объема (1x, 2x, 4x и т.д.). Это снижает среднюю цену входа и ускоряет выход в прибыль при развороте.
Мультитаймфреймная фильтрация
Все индикаторы работают на старшем таймфрейме (120 минут), что:
Фильтрует рыночный шум
Обеспечивает более надежные сигналы
Синхронизируется с глобальным трендом
Комбинированный триггер входа
Для активации требуется одновременное выполнение 4 условий:
Пробитие кастомной полосы Боллинджера
Подтверждение тренда (быстрая MA > медленной MA)
Контроль перепроданности (RSI выше критического уровня)
Фильтр волатильности (ATR)
Двойной механизм выхода
Закрытие позиций происходит при:
Достижении целевого уровня прибыли (% от депозита)
Техническом сигнале (касание верхней полосы Боллинджера)
⚙️ Как работает стратегия:
graph TD
A --> B
B --> C{Первый вход: 1% депозита}
C --> D
D -->|Да| E
D -->|Нет| F
E --> G{Достигнут лимит усреднений?}
G -->|Нет| D
G -->|Да| H
F --> I
📊 Как пользоваться:
Стартовые настройки
Base Order Size: Стартовый объем = 1% депозита
(Пример: при $10 000 депозита = 0.01 контракта)
initial_capital: Укажите ваш реальный депозит
Правила пирамидинга
Объем наращивается по схеме:
Уровень 1: 1x (базовый объем)
Уровень 2: 2x
Уровень 3: 4x
Уровень 4: 8x
Уровень 5: 16x
Уровень 6: 32x
РЕКОМЕНДУЕТСЯ Максимум 6 уровней усреднения (настраивается в pyramiding)
Кастомизация входов
Пример модификации для агрессивной тактики:
// Вход только на 3-м усреднении с 5% депозита
if averaging_condition and strategy.opentrades == 2
strategy.entry("BuyAggressive", strategy.long, qty=base_order_size*5)
Можно поставить параметр пираммидинг 1 и получать больше сигналов на младших тайм фреймах
Управление рисками
Стоп-лосс: Не используется (заменен усреднением)
Перевод в безубыток: Активируйте вручную при +0.5%
Максимальная просадка: Рекомендуется Ограничивать 6 уровнями усреднения
Комиссии: Учтены (0.1% от объема сделки)
Критические предупреждения:
"Вчера ≠ Сегодня"
Стратегия оптимизирована под историческую волатильность. Регулярно тестируйте на новых данных (режим "Перед тест" в TV).
Опасность усреднения
Экспоненциальный рост объема требует:
Глубокого расчета риска на уровень
Минимум 20% свободного маржи
Ликвидный инструмент (спред < 0.5% от ATR)
Рыночные условия
Максимальная эффективность в:
Трендовых рынках с коррекциями 2-4%
Инструментах с ATR > дневного диапазона 1.5%
💡 Рекомендации по использованию:
Для фьючерсов: Рассчитайте контракты через (капитал * 0.01) / (цена * пункт_стоимости)
При 50% достижении цели прибыли - закройте 50% позиции
Отключайте усреднение при выходе макро-новостей
pie
title Распределение риска
"Первый вход" : 10
"Уровень 2" : 20
"Уровень 3" : 30
"Уровень 4" : 40
ВАЖНО: Эта стратегия требует дисциплины! Прекращайте усреднение при отклонении рынка от исторических паттернов. Всегда имейте резервный капитал для экстренных случаев.