Average True Range (ATR)
Options Strategy V1.3📈 Options Strategy V1.3 — EMA Crossover + RSI + ATR + Opening Range
Overview:
This strategy is designed for short-term directional trades on large-cap stocks or ETFs, especially when trading options. It combines classic trend-following signals with momentum confirmation, volatility-based risk management, and session timing filters to help identify high-probability entries with predefined stop-loss and profit targets.
🔍 Strategy Components:
EMA Crossover (Fast/Slow)
Entry signals are triggered by the crossover of a short EMA above or below a long EMA — a traditional trend-following method to detect shifts in momentum.
RSI Filter
RSI confirms the signal by avoiding entries in overbought/oversold zones unless certain momentum conditions are met.
Long entry requires RSI ≥ Long Threshold
Short entry requires RSI ≤ Short Threshold
ATR-Based SL & TP
Stop-loss is set dynamically as a multiple of ATR below (long) or above (short) the entry price.
Take-profit is placed as a ratio (TP/SL) of the stop distance, ensuring consistent reward/risk structure.
Opening Range Filter (Optional)
If enabled, the strategy only triggers trades after price breaks out of the 09:30–09:45 EST range, ensuring participation in directional moves.
Session Filters
No trades from 04:00 to 09:30 and from 16:00 to 20:00 EST, avoiding low-liquidity periods.
All open trades are closed at 15:55 EST, to avoid overnight risk or expiration issues for options.
⚙️ Built-in Presets:
You can choose one of the built-in ticker-specific presets for optimal conditions:
Ticker EMAs RSI (Long/Short) ATR SL×ATR TP/SL
SPY 8/28 56 / 26 14 1.4× 4.0×
TSLA 23/27 56 / 33 13 1.4× 3.6×
AAPL 6/13 61 / 26 23 1.4× 2.1×
MSFT 25/32 54 / 26 14 1.2× 2.2×
META 25/32 53 / 26 17 1.8× 2.3×
AMZN 28/32 55 / 25 16 1.8× 2.3×
You can also choose "Custom" to fully configure all parameters to your own market and strategy preferences.
📌 Best Use Case:
This strategy is especially suited for intraday options trading, where timing and risk control are critical. It works best on liquid tickers with strong trends or clear breakout behavior.
Volatility Strategy 01a quantitative volatility strategy (especially effective in trend direction on the 15min chart on the s&p-index)
the strategy is a rule-based setup, which dynamically adapts to the implied volatility structure (vx1!–vx2!)
context-dependent mean reversion strategy based on multiple timeframes in the vix index
a signal is provided under following conditions:
1. the vvix/vix spread has deviated significantly beyond one standard deviation
2. the vix is positioned above or below 3 moving averages on 3 minor timeframes
3. the trade direction is derived from the projected volatility regime, measured via vx1! and vx2! (cboe)
EMA/ATR/RSIThis indicator overlays three key technical measures—Exponential Moving Average (EMA), Average True Range (ATR), and a custom-scaled Relative Strength Index (RSI)—on your price chart, all using the same lookback period.
Features
• EMA (Exponential Moving Average): Smooths price action to highlight trend direction.
• ATR (Average True Range): Measures market volatility via an RMA-smoothed True Range.
• RSI (Modified): Scales the standard RSI by subtracting 35 and multiplying by 2, shifting the baseline for clearer momentum signals.
Inputs
• period (integer): Lookback length for EMA, ATR, and RSI calculations (default: 14).
How to Use
1. Adjust period to suit your preferred timeframe (e.g., 14 for daily charts, 7 for intraday).
2. Use the EMA line to identify trend direction and dynamic support/resistance.
3. Monitor ATR to gauge changing volatility—wider bands signal stronger moves.
4. Watch the modified RSI crossovers around zero:
• Above 0: Bullish momentum
• Below 0: Bearish momentum
Combine these three overlays to refine entries, exits, and stop-loss placement based on trend strength, volatility, and momentum all in one view.
Trend Reversal Trading Indicator🔍 What It Does
The TRTI indicator is a custom-built tool designed to identify potential trend reversals and plot buy/sell signals on the chart using adaptive volatility-based logic. Unlike basic trend indicators, TRTI recalculates dynamic upper and lower thresholds based on price action and volatility, allowing more precise signal generation.
⚙️ How It Works
Uses a custom trend reversal engine built on median price and ATR-based ranges
Tracks evolving high/low thresholds (TUp / TDown) to define trend direction
Generates 'Long' and 'Short' labels when a clean trend change is confirmed
No reliance on Pine Script’s built-in indicators - this logic is manually developed
Inputs like TRTI Trend and TRTI Swift allow users to control the signal sensitivity
✅ Why It’s Unique
Fully custom-coded trend logic - not a wrapper around built-in indicators
Designed to reduce false breakouts by confirming conditions before flipping trend
Lightweight and effective for intraday, swing, and positional strategies
Offers clean visual entries, especially useful for traders focusing on price action-based trading
⚠️ Note
No indicator is perfect or predictive. TRTI is meant to support decision-making, not replace your analysis. It helps identify potential high-probability reversal zones based on structure and volatility behavior.
AlgoChadLin's BITCOIN H1 Breakout Strategy No.545Strategy Overview
AlgoChadLin's BITCOIN H1 Breakout Strategy No.545 is a sophisticated breakout trading system designed for Bitcoin on the H1 timeframe. It integrates multiple volatility and price action indicators to identify high-probability breakout opportunities, aiming to capitalize on significant market movements.
Auther: @algochadlin
Strategy Logic
Breakout Confirmation: Utilizes a combination of Average True Range (ATR) and Bollinger Bands to identify periods of low volatility followed by sharp price movements.
Long: Initiated when the price breaks above the previous hour's upper Bollinger Band, with ATR confirming increased volatility.
Short: Triggered when the price breaks below the previous hour's lower Bollinger Band, with ATR indicating heightened volatility.
Parameters
Price Entry Multiplier: Adjusts the entry price relative to the breakout level.
Exit After Bars: Specifies the number of bars to hold the position before exiting.
Profit Target (%): Defines the percentage gain at which to take profit.
Stop Loss Coefficient: Multiplier for ATR to calculate stop-loss distance.
Trailing Stop Coefficients: Defines the trailing stop parameters.
Biggest Range Period: Determines the lookback period for identifying the largest price range.
Setup
Timeframe: 1-Hour (H1)
Asset: Bitcoin, also suitable for ETH
The Barking Rat Reversions - SOLUSDT (Published)🚀 The Barking Rat - Reversal Strategy
Trade crypto reversals on the 1-minute SOLUSDT chart using smart, multi-layered mechanics. This advanced script combines Fair Value Gap (FVG) detection, EMA boundaries, Support & Resistance zones, and RSI filtering to pinpoint high-quality reversal trades.
⚙️ What makes it powerful?
Data-driven reversal strategy built on almost 10 confluences — it only triggers entries when the most robust conditions align.
Clean entry & exit labels plotted directly on your chart so you can follow along easily.
Push alerts for entries and exits (just add them on TradingView — the logic is fully embedded).
Specially tuned for SOLUSDT on the 1-minute chart, tested live across 15+ months of data since early 2024.
📈 Backtested results on SOLUSDT over 15 months
✅ ~82.11% win rate
✅ Profit factor: 3.10 over 313 trades
✅ ~20+ trades per month
(See the backtest screenshot for a clear picture of performance.)
imgur.com
⚠️ A few important notes
This is an advanced script — it may have fewer trades some months and more in others. That’s intentional: it’s designed to wait patiently for the best setups.
Markets change every month, so past results aren’t guarantees. Use this tool to improve your decision-making, but always apply your own risk management.
For educational purposes only — not financial advice.
🔔 How to enable alerts
Once the script is added to your chart, simply create your TradingView alerts as usual. The script already has all alert logic built-in for clean notifications.
📨 How to get access
This is an invite-only script.
👉 Contact us directly on TradingView or email thebarkingrat@gmail.com to get access.
Support and Resistance with SL and TrendOverview :
This script builds a complete chart overlay using dynamic pivot-based Support/Resistance zones, adaptive to market volatility. It incorporates SL estimation, visual trade context cues, and trendline structure—all derived from a smart ATR-normalized engine. Ideal for discretionary traders who want structural confluence, rapid proximity alerts, and volatility-aware S/R levels.
Core Components:
> 1. Volatility-Normalized Pivot Detection: The script computes pivot highs/lows using an adaptive strength mechanism, which scales dynamically based on ATR fluctuations. This ensures S/R levels are responsive to shifting volatility regimes, rather than being fixed or rigid.
> 2. Horizontal S/R Line Generation: Pivot highs form resistance zones (Red), while pivot lows map support zones (Green). Lines can be extended or set to expire after a fixed bar duration for clean charting.
> 3. SL Labeling (Structure-Based): Each S/R level is labeled with a corresponding “Sell SL” or “Buy SL”, computed using the extreme structure from the previous 10 bars. This provides a fast visual cue for risk management placement.
> 4. Proximity Highlighting: When price comes within a % threshold (user-defined) of any active S/R level, triangle markers appear—Red near Resistance, Green near Support. These cues reduce screen-watching and help time entries.
> 5. Trendline Projection from Pivot Pairs: Dashed trendlines connect the two most recent swing highs and swing lows respectively, offering additional structure awareness—perfect for spotting compression zones, flags, and swing breaks.
Configuration & Usage Guide:
> 🛠 Inputs You Can Adjust:
Base Swing Strength: Controls how "wide" the pivots are
ATR Sensitivity: Amplifies or softens the impact of volatility on pivot strength
Proximity %: Sets how close price must be to trigger the triangle markers
Extend Lines: Whether S/R lines extend infinitely right or expire after set bars
How to Use It:
Add to chart and configure settings to match your trading style (scalping = higher sensitivity).
Watch for price nearing plotted zones. Triangle markers appear when proximity criteria are met.
Use the SL labels below/above the zones to anchor stop placement relative to structure.
Observe dashed trendlines to define the current local range or trend structure.
Ideal For:
Scalpers wanting S/R zones with trigger cues
Swing traders needing volatility-adaptive structure
Manual traders seeking precise stop placement and trend context
Those who dislike repainting and want structure-driven logic
CE Reversal + TSI OB/OS FilterChandelier Exit Reversal + TSI OB/OS Breakout Filter
This script combines the classic Chandelier Exit (CE) strategy with a momentum-based filter using the True Strength Index (TSI). It is designed to improve signal quality by confirming reversal entries with momentum breakouts from overbought/oversold zones.
🔍 Signal Logic
Buy Signal:
Price crosses above the Chandelier Exit line (bullish breakout)
TSI crosses upward from below the oversold level
Sell Signal:
Price crosses below the Chandelier Exit line (bearish breakout)
TSI crosses downward from above the overbought level
✅ Purpose
This filter improves the reliability of reversal entries by requiring confirmation of a momentum shift. It helps eliminate false breakouts by validating CE signals with TSI breakouts.
📊 Use Case
Best used on trending pairs or instruments showing clear structure reversals. The combination of trend-level CE breakouts and momentum confirmation makes it suitable for swing entries or lower-timeframe scalping with directional bias.
Optimus Prime X SignalsOptimus Prime X Signals - TradingView Indicator Description
Overview
The Optimus Prime X Signals is a sophisticated, customizable technical analysis indicator designed for the TradingView platform. It combines three widely used technical indicators—Average True Range (ATR), Exponential Moving Average (EMA), and Relative Strength Index (RSI)—to generate actionable buy and sell signals. By integrating these indicators, the script provides traders with a versatile tool to identify potential entry and exit points in various market conditions. The indicator is displayed as an overlay on the price chart, with clear visual cues for signals, including labeled markers and candlestick color changes.
This indicator is suitable for traders of all experience levels, offering flexible configuration options to tailor signal generation to specific trading strategies and timeframes. It also includes built-in alert conditions, enabling seamless integration with TradingView’s alert system for real-time notifications.
Features
1. Multi-Indicator Signal Generation
The indicator combines signals from ATR-based support/resistance levels, EMA price deviations, and RSI overbought/oversold conditions. Traders can enable or disable each indicator’s contribution to the final signal, allowing for a highly customizable approach.
2. Visual Feedback
* Buy and Sell Labels: Green "Buy" labels appear below the price bar, and red "Sell" labels appear above the price bar when signals are triggered.
* Candlestick Coloring: Candlesticks turn white when a buy or sell signal is generated, providing an immediate visual cue.
* Overlay Design: The indicator integrates directly with the price chart, ensuring a clutter-free and intuitive user experience.
3. Flexible Configuration
Each indicator component (ATR, EMA, RSI) has its own configuration group in the settings panel, allowing traders to:
* Adjust periods, multipliers, and thresholds.
* Specify custom timeframes for each indicator.
* Enable or disable individual indicators for signal generation.
4. Alert Integration
The script includes two alert conditions:
* Buy Signal: Triggered when all enabled conditions (ATR, EMA, RSI) align for a bullish signal.
* Sell Signal: Triggered when all enabled conditions align for a bearish signal.
These alerts can be configured within TradingView to notify traders via email, SMS, or other supported methods.
Configuration Options
Support/Resistance Configuration (ATR)
* Use (ATR) Support/Resistance for Signals: Enable or disable ATR-based signals (default: enabled).
* ATR Period: Set the lookback period for calculating the ATR (default: 5).
* ATR Multiplier: Define the multiplier applied to the ATR value to calculate support and resistance levels (default: 0.5).
* ATR Timeframe: Specify the timeframe for ATR calculations (default: Daily, "D").
The ATR is used to establish dynamic support (price below the last close minus ATR * multiplier) and resistance (price above the last close plus ATR * multiplier) levels. A buy signal is generated when the price falls below the support level, and a sell signal is generated when the price rises above the resistance level.
EMA Configuration
* Use EMA for Signals: Enable or disable EMA-based signals (default: enabled).
* EMA Period: Set the lookback period for the EMA calculation (default: 50).
* EMA (%) Distance: Define the percentage distance from the EMA to create upper and lower bands (default: 0.5%).
* EMA Timeframe: Specify the timeframe for EMA calculations (default: chart timeframe).
The EMA component generates a buy signal when the price falls below the lower EMA band (EMA * (1 - distance/100)) and a sell signal when the price rises above the upper EMA band (EMA * (1 + distance/100)).
RSI Configuration
* Use RSI for Signals: Enable or disable RSI-based signals (default: enabled).
* RSI Period: Set the lookback period for RSI calculation (default: 14).
* RSI Overbought Level: Define the RSI level for overbought conditions (default: 70).
* RSI Oversold Level: Define the RSI level for oversold conditions (default: 30).
* RSI Timeframe: Specify the timeframe for RSI calculations (default: chart timeframe).
The RSI component triggers a buy signal when the RSI falls below the oversold level and a sell signal when it rises above the overbought level.
How It Works
Signal Logic
The indicator generates buy and sell signals based on the combined conditions of the enabled indicators:
* Buy Signal: Triggered when all enabled conditions are met (e.g., price below ATR support, price below EMA lower band, and RSI below oversold level).
* Sell Signal: Triggered when all enabled conditions are met (e.g., price above ATR resistance, price above EMA upper band, and RSI above overbought level).
If any indicator is disabled, its condition is ignored in the signal calculation, allowing traders to focus on specific indicators or combinations.
Visual and Alert Output
* When a signal is triggered, a label ("Buy" or "Sell") is plotted on the chart, and the corresponding candlestick is colored white.
* Alerts are available for integration with TradingView’s notification system, ensuring traders can act promptly on signals.
Usage Instructions
1. Add to Chart: Add the "Optimus Prime X Signals" indicator to your TradingView chart.
2. Configure Settings: Access the indicator’s settings to customize ATR, EMA, and RSI parameters, including periods, multipliers, thresholds, and timeframes.
3. Enable Alerts: Set up alerts for buy and sell signals through TradingView’s alert system for real-time notifications.
4. Analyze Signals: Monitor the chart for labeled signals and candlestick color changes to identify potential trading opportunities.
Notes for Traders
* Customization: Adjust the settings to align with your trading style, market, and timeframe. For example, increase the ATR multiplier for wider support/resistance zones or adjust the RSI levels for more or less frequent signals.
* Timeframe Flexibility: Use different timeframes for ATR, EMA, and RSI to capture multi-timeframe trends and improve signal accuracy.
* Risk Management: Always combine this indicator with proper risk management strategies, as no indicator guarantees profitable trades.
* Backtesting: Test the indicator on historical data to evaluate its performance in your chosen market and timeframe.
Limitations
* The indicator may generate false signals in choppy or sideways markets, as it relies on trend and momentum-based conditions.
* Signals are based on historical data and may lag in fast-moving markets.
* The maximum number of labels displayed is set to 500 to comply with TradingView’s limitations.
Conclusion
The Optimus Prime X Signals indicator is a powerful and user-friendly tool for traders seeking to combine ATR, EMA, and RSI signals into a cohesive trading strategy. Its customizable settings, clear visual feedback, and alert integration make it suitable for both novice and experienced traders. By providing flexibility in configuration and timeframe selection, it empowers users to adapt the indicator to various markets and trading styles.
For support or feedback, please contact the script author through TradingView’s messaging system.
Dynamic Volatility Channel (DVC) - Smooth
The indicator's adaptability comes from a unique blend of well-known concepts:
The Adaptive Engine (ADX): The indicator uses the Average Directional Index (ADX) in the background to analyze the strength of the trend. This acts as the "brain", telling the channel whether the market is trending strongly or moving sideways.
Hybrid Volatility: This is the core of the indicator. The width of the channel is determined by a weighted mix of two volatility measures:
In trending markets (high ADX), the channel gives more weight to the Average True Range (ATR).
In ranging markets (low ADX), the channel gives more weight to Standard Deviation.
Smooth Centerline (HMA): The channel is centered around a Hull Moving Average (HMA), which is known for its smoothness and reduced lag compared to other moving averages.
Advanced Smoothing Layers: This version includes dedicated smoothing for both the volatility components (ATR and StDev) and the logic that switches between regimes. This ensures the channel expands, contracts, and adapts in a very fluid manner, eliminating sudden jumps and reducing market noise.
Mean Reversion: In ranging markets (indicated by a flatter channel), the outer bands can act as dynamic support and resistance levels. Look for opportunities to sell near the upper band and buy near the lower band, always waiting for price action confirmation like reversal candles.
Trend Following: In strong trends (indicated by a steeply sloped channel), the centerline (HMA) often serves as a dynamic level of support (in an uptrend) or resistance (in a downtrend). Pullbacks to the centerline can present opportunities to join the trend. A "band ride," where price action consistently pushes against the upper or lower band, signals a very strong trend.
Volatility Analysis: A "squeeze," where the bands come very close together, indicates low volatility and can foreshadow a significant price breakout. A sudden expansion of the bands signals an increase in volatility and the potential start of a new, powerful move.
All core parameters are fully customizable to suit your trading style and preferred assets:
You can adjust the lengths for the HMA, ATR, StDev, and the ADX filter.
You can change the multipliers for the ATR and Standard Deviation components.
Crucially, you can control the Volatility Smoothing Length and Logic Smoothing Length to find the perfect balance between responsiveness and smoothness.
Disclaimer: This indicator is provided for educational and analytical purposes only. It is not financial advice, and past performance is not indicative of future results. Always conduct your own research and backtesting before risking capital in a live market.
Doji Ashi v2.0 (with SL & TP levels)This is a version of @SassyStonks Doji Ashi v2.0 that includes ATR based SL levels with adjustable R:R TP levels.
What is Doji Ashi v2.0?
This indicator is designed for short-term intraday momentum trading, offering Buy and Sell signals based on a refined combination of filters including:
Trend alignment with daily SMAs
Momentum confirmation using EMA 3/8 cross
Relative volume to identify activity spikes
VWAP positioning to confirm trend consistency
Time filters to avoid unreliable early market chop
It adapts dynamically depending on whether you’re trading Stocks or Crypto, with appropriate filters toggled automatically.
...
How the Script Works
Core Logic:
A Buy signal appears when:
The price is in an uptrend (via SMAs)
VWAP and volume confirm momentum
EMA 3 crosses above EMA 8
Relative strength is strong (if enabled)
Market opens past first 30 mins
A Sell signal appears when:
The asset shows weakness across these same filters, in reverse
You’ll see green “BUY” or red “SELL” markers on your chart instantly when the full condition set is met. This script does not repaint.
Entry Logic Options:
Choose between:
"Cross" mode: Signals appear on 3/8 EMA crossover
"Above/Below" mode: Persistent signal while 3 EMA stays above/below 8 EMA
...
Strategy for Consistent Gains
This script works best on liquid stocks such as LUNR, ASTS and PLUG. It also works with Crypto. Make sure you choose the correct indicator setup type (Stocks or Crypto) in the setting before testing.
If you don't see any signals the default settings may be too strict for your chosen stock. Have a play with the settings to find the right balance for you. The default settings follow the strategy below for what I believe are currently the best results.
Alerts for buy/sell signals can be set from the alerts menu. For best results, make sure you set the alert to action on close of bar.
This indicator is most effective when:
Used with liquid stocks or crypto
Entries are confirmed with VWAP, not counter-trend
Signals are filtered by volume spikes and trend direction
Example strategy:
Buy a Call when you see a BUY signal with high volume, in an uptrend
Exit on a cross back to VWAP (the orange line) or a quick 1% profit
Do the opposite with PUTs on a SELL signal
This is ideal for quick day trades (scalps or trend moves), and avoids the choppy, uncertain zones at market open.
...
Optimizing via Settings
There are additional, stricter filters in the settings. Please adapt to your preference.
Presets:
Stocks (Default): Applies all filters but lets you disable them as needed
Crypto: Disables stock-specific filters (SPY comparison, RS, Daily trend)
Filters:
Daily Trend Filter: Helps align trades with higher timeframe direction (recommended ON for stocks)
Market Trend & RS: Filters based on SPY and relative performance (test enabling for SPY-following tickers)
VWAP Entry Filter: Keeps you from fighting the dominant intraday trend
Ignore First 30 Minutes: Avoids false signals at the open
Experiment with toggling filters ON/OFF to match your asset class and volatility conditions.
...
Finally
The best way to master this indicator is to understand the trading mindset it came from.
Read The Damn Wiki — it’s free, comprehensive, and packed with wisdom that this script distills into a usable tool.
If you would like to adapt this indicator you are very welcome to do so. All I ask in return is that you share your findings with the wider community.
...
Happy trading. May your entries be sharp and your exits cleaner.
~ @SassyStonks
Key Metrics Dashboard (Float, MCap, ATR) (ValueRay)This dashboard displays critical fundamental and volatility data, saving you from switching screens. It’s perfect for traders who need to quickly assess a stock's character, risk profile, and potential before making a move.
📊 Metrics Included
- Market Cap (MCap): Quickly gauge company size.
- Float: See tradable shares (color-coded for low-float stocks).
- Short %: Measure bearish sentiment and short-squeeze potential (color-coded).
- ATR % & ADR %: Understand true volatility to manage risk.
🚀 Key Features
- Fully Customizable: Toggle any metric on/off to create your ideal view.
- Flexible Layout: Choose your preferred on-chart position, size, and layout (horizontal or vertical).
- Lightweight & Clean: Get essential data without cluttering your chart.
If you find this indicator useful, please give it a Boost (🚀)!
Happy Trading
KST Strategy [Skyrexio]Overview
KST Strategy leverages Know Sure Thing (KST) indicator in conjunction with the Williams Alligator and Moving average to obtain the high probability setups. KST is used for for having the high probability to enter in the direction of a current trend when momentum is rising, Alligator is used as a short term trend filter, while Moving average approximates the long term trend and allows trades only in its direction. Also strategy has the additional optional filter on Choppiness Index which does not allow trades if market is choppy, above the user-specified threshold. Strategy has the user specified take profit and stop-loss numbers, but multiplied by Average True Range (ATR) value on the moment when trade is open. The strategy opens only long trades.
Unique Features
ATR based stop-loss and take profit. Instead of fixed take profit and stop-loss percentage strategy utilizes user chosen numbers multiplied by ATR for its calculation.
Configurable Trading Periods. Users can tailor the strategy to specific market windows, adapting to different market conditions.
Optional Choppiness Index filter. Strategy allows to choose if it will use the filter trades with Choppiness Index and set up its threshold.
Methodology
The strategy opens long trade when the following price met the conditions:
Close price is above the Alligator's jaw line
Close price is above the filtering Moving average
KST line of Know Sure Thing indicator shall cross over its signal line (details in justification of methodology)
If the Choppiness Index filter is enabled its value shall be less than user defined threshold
When the long trade is executed algorithm defines the stop-loss level as the low minus user defined number, multiplied by ATR at the trade open candle. Also it defines take profit with close price plus user defined number, multiplied by ATR at the trade open candle. While trade is in progress, if high price on any candle above the calculated take profit level or low price is below the calculated stop loss level, trade is closed.
Strategy settings
In the inputs window user can setup the following strategy settings:
ATR Stop Loss (by default = 1.5, number of ATRs to calculate stop-loss level)
ATR Take Profit (by default = 3.5, number of ATRs to calculate take profit level)
Filter MA Type (by default = Least Squares MA, type of moving average which is used for filter MA)
Filter MA Length (by default = 200, length for filter MA calculation)
Enable Choppiness Index Filter (by default = true, setting to choose the optional filtering using Choppiness index)
Choppiness Index Threshold (by default = 50, Choppiness Index threshold, its value shall be below it to allow trades execution)
Choppiness Index Length (by default = 14, length used in Choppiness index calculation)
KST ROC Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #2 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #3 (by default = 20, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #4 (by default = 30, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #2 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #3 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #4 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST Signal Line Length (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is KST, Williams Alligator, Moving Average, ATR and Choppiness Index.
The KST (Know Sure Thing) is a momentum oscillator developed by Martin Pring. It combines multiple Rate of Change (ROC) values, smoothed over different timeframes, to identify trend direction and momentum strength. First of all, what is ROC? ROC (Rate of Change) is a momentum indicator that measures the percentage change in price between the current price and the price a set number of periods ago.
ROC = 100 * (Current Price - Price N Periods Ago) / Price N Periods Ago
In our case N is the KST ROC Length inputs from settings, here we will calculate 4 different ROCs to obtain KST value:
KST = ROC1_smooth × 1 + ROC2_smooth × 2 + ROC3_smooth × 3 + ROC4_smooth × 4
ROC1 = ROC(close, KST ROC Length #1), smoothed by KST SMA Length #1,
ROC2 = ROC(close, KST ROC Length #2), smoothed by KST SMA Length #2,
ROC3 = ROC(close, KST ROC Length #3), smoothed by KST SMA Length #3,
ROC4 = ROC(close, KST ROC Length #4), smoothed by KST SMA Length #4
Also for this indicator the signal line is calculated:
Signal = SMA(KST, KST Signal Line Length)
When the KST line rises, it indicates increasing momentum and suggests that an upward trend may be developing. Conversely, when the KST line declines, it reflects weakening momentum and a potential downward trend. A crossover of the KST line above its signal line is considered a buy signal, while a crossover below the signal line is viewed as a sell signal. If the KST stays above zero, it indicates overall bullish momentum; if it remains below zero, it points to bearish momentum. The KST indicator smooths momentum across multiple timeframes, helping to reduce noise and provide clearer signals for medium- to long-term trends.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The next indicator is Moving Average. It has a lot of different types which can be chosen to filter trades and the Least Squares MA is used by default settings. Let's briefly explain what is it.
The Least Squares Moving Average (LSMA) — also known as Linear Regression Moving Average — is a trend-following indicator that uses the least squares method to fit a straight line to the price data over a given period, then plots the value of that line at the most recent point. It draws the best-fitting straight line through the past N prices (using linear regression), and then takes the endpoint of that line as the value of the moving average for that bar. The LSMA aims to reduce lag and highlight the current trend more accurately than traditional moving averages like SMA or EMA.
Key Features:
It reacts faster to price changes than most moving averages.
It is smoother and less noisy than short-term EMAs.
It can be used to identify trend direction, momentum, and potential reversal points.
ATR (Average True Range) is a volatility indicator that measures how much an asset typically moves during a given period. It was introduced by J. Welles Wilder and is widely used to assess market volatility, not direction.
To calculate it first of all we need to get True Range (TR), this is the greatest value among:
High - Low
abs(High - Previous Close)
abs(Low - Previous Close)
ATR = MA(TR, n) , where n is number of periods for moving average, in our case equals 14.
ATR shows how much an asset moves on average per candle/bar. A higher ATR means more volatility; a lower ATR means a calmer market.
The Choppiness Index is a technical indicator that quantifies whether the market is trending or choppy (sideways). It doesn't indicate trend direction — only the strength or weakness of a trend. Higher Choppiness Index usually approximates the sideways market, while its low value tells us that there is a high probability of a trend.
Choppiness Index = 100 × log10(ΣATR(n) / (MaxHigh(n) - MinLow(n))) / log10(n)
where:
ΣATR(n) = sum of the Average True Range over n periods
MaxHigh(n) = highest high over n periods
MinLow(n) = lowest low over n periods
log10 = base-10 logarithm
Now let's understand how these indicators work in conjunction and why they were chosen for this strategy. KST indicator approximates current momentum, when it is rising and KST line crosses over the signal line there is high probability that short term trend is reversing to the upside and strategy allows to take part in this potential move. Alligator's jaw (blue) line is used as an approximation of a short term trend, taking trades only above it we want to avoid trading against trend to increase probability that long trade is going to be winning.
Almost the same for Moving Average, but it approximates the long term trend, this is just the additional filter. If we trade in the direction of the long term trend we increase probability that higher risk to reward trade will hit the take profit. Choppiness index is the optional filter, but if it turned on it is used for approximating if now market is in sideways or in trend. On the range bounded market the potential moves are restricted. We want to decrease probability opening trades in such condition avoiding trades if this index is above threshold value.
When trade is open script sets the stop loss and take profit targets. ATR approximates the current volatility, so we can make a decision when to exit a trade based on current market condition, it can increase the probability that strategy will avoid the excessive stop loss hits, but anyway user can setup how many ATRs to use as a stop loss and take profit target. As was said in the Methodology stop loss level is obtained by subtracting number of ATRs from trade opening candle low, while take profit by adding to this candle's close.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2025.05.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 60%
Maximum Single Position Loss: -5.53%
Maximum Single Profit: +8.35%
Net Profit: +5175.20 USDT (+51.75%)
Total Trades: 120 (56.67% win rate)
Profit Factor: 1.747
Maximum Accumulated Loss: 1039.89 USDT (-9.1%)
Average Profit per Trade: 43.13 USDT (+0.6%)
Average Trade Duration: 27 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 1h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrexio commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation.
Visual SL/TP con ATR + Pips/TicksThis indicator automatically displays the current ATR size along with suggested SL (Stop Loss) and TP (Take Profit) values, expressed in key units such as pips and ticks.
✅ Compatible with:
Forex (e.g., EURUSD)
Indices (e.g., NAS100, US30)
Gold (XAUUSD)
Cryptocurrencies (e.g., XRPUSDT)
🎯 Ideal for scalping, intraday, or swing trading.
🧠 Saves calculation time and improves trading speed.
Includes:
Automatic SL/TP calculation based on ATR multiples
Conversion to pips and ticks for quick reading
Dynamic support for different instrument types
📌 Tip: Use this indicator alongside your entry strategy with EMAs or volume for more precise trading.
TX EM LevelsThis is for TX students usage only. Kindly follow the course guide to use this indicator to set your exit levels.
ATR Rangeshows the high and low of the given range of the asset base on the daily atr fixed by the weekly trend.
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.
ATR FX DashboardATR FX Dashboard – Multi-Timeframe Volatility Monitor
Overview:
The ATR FX Dashboard provides a quick, at-a-glance view of market volatility across multiple timeframes for any forex pair. It uses the well-known Average True Range (ATR) indicator to display real-time volatility information in both pips and percentage terms, helping traders assess potential risk, position sizing, and market conditions.
How It Works:
This dashboard displays:
✔ ATR in Pips — The average price movement over a given timeframe, converted to pips for easy interpretation, automatically adjusting for JPY pairs.
✔ ATR as a Percentage of Price — Shows how significant the ATR is relative to the current price. Higher percentages often signal higher volatility or more active markets.
✔ Color-Coded Volatility Highlights — On the daily timeframe, ATR % cells are color-coded:
Green: High volatility
Orange: Moderate volatility
Red: Low volatility
Timeframes Displayed:
15 Minutes
1 Hour
4 Hour
Daily
This gives traders a clear, multi-timeframe view of short-term and broader market volatility conditions, directly on the chart.
Ideal For:
✅ Forex traders seeking quick, reliable volatility reference points
✅ Day traders and swing traders needing help with risk assessment and position sizing
✅ Anyone using ATR-based strategies or simply wanting to stay aware of changing market conditions
Additional Features:
Toggle option to display or hide ATR % relative to price
Automatic pip conversion for JPY pairs
Simple, clean table layout in the bottom-right corner of the chart
Supports all forex symbols
Disclaimer:
This tool is for informational purposes only and is not financial advice. As with all technical indicators, it should be used in conjunction with other tools and proper risk management.
ATR FX DashboardATR FX Dashboard – Multi-Timeframe Volatility Monitor
Overview:
The ATR FX Dashboard provides a quick, at-a-glance view of market volatility across multiple timeframes for any forex pair. It uses the well-known Average True Range (ATR) indicator to display real-time volatility information in both pips and percentage terms, helping traders assess potential risk, position sizing, and market conditions.
How It Works:
This dashboard displays:
✔ ATR in Pips — The average price movement over a given timeframe, converted to pips for easy interpretation, automatically adjusting for JPY pairs.
✔ ATR as a Percentage of Price — Shows how significant the ATR is relative to the current price. Higher percentages often signal higher volatility or more active markets.
✔ Color-Coded Volatility Highlights — On the daily timeframe, ATR % cells are color-coded:
Green: High volatility
Orange: Moderate volatility
Red: Low volatility
Timeframes Displayed:
15 Minutes
1 Hour
4 Hour
Daily
This gives traders a clear, multi-timeframe view of short-term and broader market volatility conditions, directly on the chart.
Ideal For:
✅ Forex traders seeking quick, reliable volatility reference points
✅ Day traders and swing traders needing help with risk assessment and position sizing
✅ Anyone using ATR-based strategies or simply wanting to stay aware of changing market conditions
Additional Features:
Toggle option to display or hide ATR % relative to price
Automatic pip conversion for JPY pairs
Simple, clean table layout in the bottom-right corner of the chart
Supports all forex symbols
Disclaimer:
This tool is for informational purposes only and is not financial advice. As with all technical indicators, it should be used in conjunction with other tools and proper risk management.
Frahm FactorIntended Usage of the Frahm Factor Indicator
The Frahm Factor is designed to give you a rapid, at-a-glance assessment of how volatile the market is right now—and how large the average candle has been—over the most recent 24-hour window. Here’s how to put it to work:
Gauge Volatility Regimes
Volatility Score (1–10)
A low score (1–3, green) signals calm seas—tight ranges, low risk of big moves.
A mid score (4–6, yellow) warns you that volatility is picking up.
A high score (7–10, red) tells you to prepare for disorderly swings or breakout opportunities.
How to trade off it
In low-volatility periods, you might favor mean-reversion or range-bound strategies.
As the score climbs into the red zone, consider widening stops, scaling back position size, or switching to breakout momentum plays.
Monitor Average Candle Size
Avg Candle (ticks) cell shows you the mean true-range of each bar over that 24h window in ticks.
When candles are small, you know the market is consolidating and liquidity may be thin.
When candles are large, momentum and volume are driving strong directional bias.
The optional dynamic color ramp (green→yellow→red) immediately flags when average bar size is unusually small or large versus its own 24h history.
Customize & Stay Flexible
Timeframes: Works on any intraday chart—from 1-minute scalping to 4-hour swing setups—because it always looks back exactly 24 hours.
Toggles:
Show or hide the Volatility and Avg-Candle cells to keep your screen uncluttered.
Turn on the dynamic color ramp only when you want that extra visual cue.
Alerts: Built-in alerts fire automatically at meaningful thresholds (Volatility ≥ 8 or ≤ 3), so you’ll never miss regime shifts, even if you step away.
Real-World Applications
Risk Management: Automatically adjust your stop-loss distances or position sizing based on the current volatility band.
Strategy Selection: Flip between range-trading and momentum strategies as the volatility regime changes.
Session Analysis: Pinpoint when during the day volatility typically ramps—perfect for doorway sessions like London opening or the US midday news spikes.
Bottom line: the Frahm Factor gives you one compact dashboard to see the pulse of the market—so you can make choices with conviction, dial your risk in real time, and never be caught off guard by sudden volatility shifts.
Logic Behind the Frahm Factor Indicator
24-Hour Rolling Window
On every intraday bar, we append that bar’s True Range (TR) and timestamp to two arrays.
We then prune any entries older than 24 hours, so the arrays always reflect exactly the last day of data.
Volatility Score (1–10)
We count how many of those 24 h TR values are less than or equal to the current bar’s TR.
Dividing by the total array size gives a percentile (0–1), which we scale and round into a 1–10 score.
Average Candle Size (ticks)
We sum all TR values in the same 24 h window, divide by array length to get the mean TR, then convert that price range into ticks.
Optionally, a green→yellow→red ramp highlights when average bar size is unusually small, medium or large versus its own 24 h history.
Color & Alerts
The Volatility cell flips green (1–3), yellow (4–6) or red (7–10) so you see regime shifts at a glance.
Built-in alertcondition calls fire when the score crosses your high (≥ 8) or low (≤ 3) thresholds.
Modularity
Everything—table location, which cells to show, dynamic coloring—is controlled by simple toggles, so you can strip it back or layer on extra visual cues as needed.
That’s the full recipe: a true 24 h look-back, a percentile-ranked volatility gauge, and a mean-bar-size meter, all wrapped into one compact dashboard.
Adaptive RSI (ARSI)# Adaptive RSI (ARSI) - Dynamic Momentum Oscillator
Adaptive RSI is an advanced momentum oscillator that dynamically adjusts its calculation period based on real-time market volatility and cycle analysis. Unlike traditional RSI that uses fixed periods, ARSI continuously adapts to market conditions, providing more accurate overbought/oversold signals and reducing false signals during varying market phases.
## How It Works
At its core, ARSI calculates an adaptive period ranging from 8 to 28 bars using two key components: volatility measurement through Average True Range (ATR) and cycle detection via price momentum analysis. The logic is straightforward:
- **High volatility periods** trigger shorter calculation periods for enhanced responsiveness to rapid price movements
- **Low volatility periods** extend the calculation window for smoother, more reliable signals
- **Market factor** combines volatility and cycle analysis to determine optimal RSI period in real-time
When RSI crosses above 70, the market enters overbought territory. When it falls below 30, oversold conditions emerge. The indicator also features extreme levels at 80/20 for stronger reversal signals and midline crossovers at 50 for trend confirmation.
The adaptive mechanism ensures the oscillator remains sensitive during critical market movements while filtering out noise during consolidation phases, making it superior to static RSI implementations across different market conditions.
## Features
- **True Adaptive Calculation**: Dynamic period adjustment from 8-28 bars based on market volatility
- **Multiple Signal Types**: Overbought/oversold, extreme reversals, and midline crossovers
- **Configurable Parameters**: RSI length, adaptive sensitivity, ATR period, min/max bounds
- **Smart Smoothing**: Adjustable EMA smoothing from 1-21 periods to reduce noise
- **Visual Clarity**: Gradient colors, area fills, and signal dots for immediate trend recognition
- **Real-time Information**: Live data table showing current RSI, adaptive period, and market factor
- **Flexible Source Input**: Apply to any price source (close, hl2, ohlc4, etc.)
- **Professional Alerts**: Six built-in alert conditions for automated trading systems
## Signal Generation
ARSI generates multiple signal types for comprehensive market analysis:
**Primary Signals**: RSI crosses above 70 (overbought) or below 30 (oversold) - most reliable entry/exit points
**Extreme Signals**: RSI reaches 80+ (extreme overbought) or 20- (extreme oversold) - potential reversal zones
**Trend Signals**: RSI crosses above/below 50 midline - confirms directional momentum
**Reversal Signals**: Price action contradicts extreme RSI levels - early turning point detection
The adaptive period changes provide additional confirmation - signals accompanied by significant period shifts often carry higher probability of success.
## Visual Implementation
The indicator employs sophisticated visual elements for instant market comprehension:
- **Gradient RSI Line**: Color intensity reflects both value and momentum direction
- **Dynamic Zones**: Overbought/oversold areas with customizable fill colors
- **Signal Markers**: Triangular indicators mark key reversal and continuation points
- **Information Panel**: Real-time display of RSI value, adaptive period, market factor, and signal status
- **Background Coloring**: Subtle fills indicate current market state without chart clutter
## Parameter Configuration
**RSI Settings**:
- RSI Length: Base calculation period (default: 14)
- Adaptive Sensitivity: Response aggressiveness to volatility changes (default: 1.0)
- ATR Length: Volatility measurement period (default: 14)
- Min/Max Period: Adaptive calculation boundaries (default: 8/28)
- Smoothing Length: Final noise reduction filter (default: 3)
**Level Settings**:
- Overbought/Oversold: Standard signal levels (default: 70/30)
- Extreme Levels: Enhanced reversal zones (default: 80/20)
- Midline Display: 50-level trend confirmation toggle
**Visual Settings**:
- Line Width: RSI line thickness (1-5)
- Area Fills: Zone highlighting toggle
- Gradient Colors: Dynamic color intensity
- Signal Dots: Entry/exit marker display
## Alerts
ARSI includes six comprehensive alert conditions:
- **ARSI Overbought** - RSI crosses above overbought level
- **ARSI Oversold** - RSI crosses below oversold level
- **ARSI Bullish Cross** - RSI crosses above 50 midline
- **ARSI Bearish Cross** - RSI crosses below 50 midline
- **ARSI Extreme Bull** - Potential bullish reversal from extreme oversold
- **ARSI Extreme Bear** - Potential bearish reversal from extreme overbought
## Use Cases
**Trend Following**: Adaptive periods naturally adjust during trend acceleration and consolidation phases
**Mean Reversion**: Enhanced overbought/oversold signals with volatility-based confirmation
**Breakout Trading**: Extreme level breaches often precede significant directional moves
**Risk Management**: Multiple signal types allow for layered entry/exit strategies
**Multi-Timeframe Analysis**: Works effectively across various timeframes and asset classes
## Trading Applications
**Swing Trading**: Excels during trend transitions with adaptive sensitivity to changing conditions
**Day Trading**: Enhanced responsiveness during volatile sessions while filtering consolidation noise
**Position Trading**: Longer smoothing periods provide stable signals for broader market analysis
**Scalping**: Minimal smoothing with high sensitivity captures short-term momentum shifts
The indicator performs well across stocks, forex, commodities, and cryptocurrencies, though parameter optimization may be required for specific market characteristics.
## Settings Summary
**Display Settings**:
- RSI Length: Moving average baseline period
- Adaptive Sensitivity: Volatility response factor
- ATR Length: Volatility measurement window
- Min/Max Period: Adaptive calculation boundaries
- Smoothing Length: Noise reduction filter
**Level Configuration**:
- Overbought/Oversold: Primary signal thresholds
- Extreme Levels: Secondary reversal zones
- Midline Display: Trend confirmation toggle
**Visual Options**:
- Line Width: RSI line appearance
- Area Fills: Zone highlighting
- Gradient Colors: Dynamic visual feedback
- Signal Dots: Entry/exit markers
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always conduct thorough testing and risk assessment before live implementation. The adaptive nature of this indicator requires understanding of its behavior across different market conditions for optimal results.