Moving Average ExponentialUsing VWAP and two different EMAs. Also includes BollingerBands, showing if the Close is above or below VWAP.
Bande di Bollinger (BB)
Premarket & Previous Day High/LowLines for Premarket High Low as well as Previous Day High and Low. Also adds Bollinger Bands. Colors the Bollinger Bands depending wether the Close is above or below PMH or PML
4H & 1D Sig_chartbugRohmoohyun is alive
Auxiliary Indicator for Buy/Sell Signals Using Bollinger Bands and Moving Averages.
Recommended for NASDAQ, Gold, Oil, BTC, Stocks on 4-hour or higher timeframes.
For Ethereum, Ripple, and other volatile altcoins, it is advisable to also check the daily chart.
Indicator Idea: This strategy utilizes two types of indicators: Bollinger Bands as a volatility (or momentum) indicator, and Moving Averages as a trend indicator. A triangle signal is generated in zones where the Bollinger Bands converge (squeeze). After a candle closes, a Rocket icon will appear, at which point a trading strategy can be devised based on the prevailing trend indicated by the Moving Averages.
Indicator Feature: When used on timeframes of 4 hours or higher, this indicator is extremely powerful for establishing trading criteria, especially when combined with trend analysis and support/resistance zones.
Basic Trading Method: Enter a position at the Rocket icon + Immediately set a stop-loss (e.g., at the previous low/high, a maximum loss threshold like 2% of capital, or at a level planned for a second entry to average down) + Take partial profit (e.g., 50%) at your desired TP level, then move the stop-loss to your entry price (break-even) and hold the remainder of the position.
Recommended Timeframes: 5-minute, 4-hour, 1-day.
Trading Strategy
Pullback Trading / Trend Reversal Trading.
Instrument Selection (Commodities & Indices, Crypto, NASDAQ-listed Stocks).
Understand Instrument Characteristics (The three categories behave differently, so backtesting before use is essential).
a) Bullish Alignment (Price > 20MA > 200MA)
: Focus primarily on long (buy) positions.
: If attempting a counter-trend (short) trade, do so only with multiple confirmations, such as RSI/Disparity divergence and a major resistance zone. Use a tight stop-loss.
b) Bearish Alignment (Price < 20MA < 200MA)
: The opposite of the above; focus on short (sell) positions.
c) During a Bullish Trend, Price is Between MAs (200MA < Price < 20MA)
: This indicates either a consolidation phase within an uptrend or a potential early sign of a reversal to a downtrend. Consider both possibilities.
: A possible approach is to allocate capital with a 60% bias to long positions and a 40% bias to short positions (unlike in full bullish/bearish alignments where counter-trend trading has a poor risk/reward ratio).
: If it turns out to be a reversal point, you can enter a position at the very beginning of a new trend, allowing for a longer ride.
: It's recommended to take partial profits rather than closing the entire position. For instance, close half and move the stop-loss to your entry price to eliminate risk while keeping profit potential open.
d) During a Bearish Trend, Price is Between MAs (200MA > Price > 20MA)
: The opposite of the above.
Instrument-Specific Characteristics
Commodities & Indices (NASDAQ, Oil, Gold)
: The indicator was primarily developed and tested on NASDAQ and Gold, so it tends to work well with them.
: However, NASDAQ often exhibits strong, one-way trends, so a trend-following approach is highly recommended.
: Gold and Oil tend to have significant reversals from key support/resistance zones.
Crypto
: These assets are extremely volatile, so use this indicator with caution and skill.
: It performs reasonably well with BTC. For anything from Ethereum downwards, the price action can be chaotic, so it's crucial to use the daily chart and other confirming factors.
: Instead of frequent day trading, focus on long-term positions, reduce the number of trades, and aim for entries with a good average price.
NASDAQ-listed Stocks
: Recommended for a long-term, accumulation-style investment approach.
: Use the indicator not as a signal that "it will pump immediately!" but rather as a sign that "this is a decent entry point to build a position."
: Alternatively, it can be used for more active swing trading (buy, sell, repeat).
Important Disclaimers
This is an auxiliary indicator, as the name implies. Do not trust it blindly.
When entering a position, immediately set your stop-loss or have a plan for a single additional entry (max one recommended).
Always use it in conjunction with other forms of analysis.
Track your performance (win rate, risk/reward ratio) based on this strategy.
Continuously refine and improve your approach.
Stochastic RSI and BB - RKDual-Power Indicator: Stochastic RSI and On-Chart Bollinger Bands!
I'm excited to present my latest Pine Script indicator, "Stochastic RSI and BB - RK." I designed this script to bring two of the most popular and effective technical analysis tools together into a single, cohesive view. By combining the power of Stochastic RSI in a lower pane with directly plotted Bollinger Bands on your main chart, I believe this indicator offers a unique advantage for identifying momentum shifts, overbought/oversold conditions, and volatility trends.
What I've Built In
I've carefully crafted this indicator with distinct features for both components:
1. Stochastic RSI (Lower Pane)
I've included a fully customizable Stochastic RSI in a separate pane below your main chart. This momentum oscillator helps you gauge whether an asset is overbought or oversold, based on its RSI value.
Smooth K & D Lines: I've provided inputs to fine-tune the smoothing periods for both the %K and %D lines, allowing you to adjust sensitivity to market noise.
RSI and Stochastic Lengths: You have full control over the lookback periods for both the underlying RSI calculation and the Stochastic process itself.
Customizable Source: I've made the RSI source adjustable, defaulting to close, but allowing you to experiment with other price types.
Clear Overbought/Oversold Zones: I've plotted standard 80 and 20 levels, along with a middle 50 line, and filled the area between 80 and 20 to easily visualize overbought and oversold regions.
2. On-Chart Bollinger Bands (Main Chart Overlay)
I've integrated Bollinger Bands directly onto your main price chart. These dynamic bands are a powerful tool for measuring volatility and identifying potential price reversal points.
Adjustable Length & Standard Deviation: I've included inputs for you to set the period for the moving average and the standard deviation multiplier, giving you flexibility to adapt to different instruments and timeframes.
Multiple MA Types: I've ensured you have a choice of popular moving average types for the basis of the bands: SMA, EMA, SMMA (RMA), WMA, or VWMA.
Offset Option: I've added an offset input for those who prefer to shift the bands horizontally.
Visual Clarity: The area between the upper and lower bands is filled, which I find greatly enhances readability and helps in quickly identifying periods of expansion or contraction.
How I Envision You Using This
I believe this dual-purpose indicator can be incredibly beneficial for confirming trade signals. For example, you might look for:
Potential Reversals: When price touches the Bollinger Band extremes while the Stochastic RSI is in an overbought/oversold zone and showing signs of turning.
Breakouts: When the Bollinger Bands narrow (indicating low volatility), followed by a breakout of the bands, confirmed by strong momentum on the Stochastic RSI.
Trend Confirmation: Using the Bollinger Bands to identify the prevailing trend and the Stochastic RSI to pick optimal entry and exit points within that trend.
I've put a lot of effort into making this a valuable tool for your trading arsenal. I truly hope this combination provides you with the clarity and edge needed to make more informed decisions.
If you find this script useful, please consider boosting it to show your support and encourage me to create more tools like this. Your feedback is highly appreciated as I constantly strive to improve.
I wish you all the best on your trading journey!
Bollinger Bands Oscillator | QuantMAC📊 Bollinger Bands Oscillator | QuantMAC
🎯 Overview
The Bollinger Bands Oscillator is a sophisticated technical analysis tool that combines the power of traditional Bollinger Bands with an oscillator-based approach for enhanced signal generation. This indicator transforms the classic Bollinger Bands into a percentage-based oscillator, providing clearer entry and exit signals for both trending and ranging markets.
🔧 Key Features
Dual Trading Modes : Choose between Long/Short or Long/Cash strategies
Advanced BB% Calculation : Enhanced Bollinger Band percentage with customizable multipliers
Comprehensive Metrics : Built-in performance analytics including Sharpe Ratio, Sortino Ratio, and Profit Factor
Visual Color Coding : Dynamic bar coloring and 9 different color schemes for optimal chart visibility
Date Range Filtering : Backtest specific time periods with customizable start dates
Real-time Signal Generation : Clear long and short entry signals with threshold customization
Advanced Risk Management : Half Kelly criterion calculation for optimal position sizing
📈 How It Works
The indicator operates by calculating a modified Bollinger Band percentage that oscillates between values, typically ranging from 0 to 100+. When the BB% crosses above the Long Threshold (default: 83), it generates a bullish signal. Conversely, when it crosses below the Short Threshold (default: 55), it produces a bearish signal.
Core Calculation Process:
Calculate the moving average basis using the specified Base Length (default: 40 periods)
Determine standard deviation using a separate SD Length (default: 27 periods)
Create upper and lower bands using the SD Multiplier (default: 2.6)
Convert to percentage oscillator with BB% Multiplier (default: 100)
Generate signals based on threshold crossovers
⚙️ Customizable Parameters
BMD Settings:
Base Length : Controls the moving average period (default: 40)
Standard Deviation Length : Determines volatility calculation period (default: 27)
SD Multiplier : Adjusts band width sensitivity (default: 2.6)
BB% Multiplier : Scales the oscillator values (default: 100)
Source : Choose price source (close, open, high, low, etc.)
Signal Thresholds:
Long Threshold : Entry level for bullish positions (default: 83)
Short Threshold : Entry level for bearish positions (default: 55)
🎨 Visual Elements
Main Chart Overlay:
Bollinger Bands : Upper and lower bands with customizable colors and transparency
Middle Line : Basis line displayed as subtle dots
Band Fill : Colored area between bands for easy visualization
Bar Coloring : Candles change color based on current signal state
Separate Oscillator Pane:
BB% Line : Main oscillator line with dynamic coloring
Threshold Lines : Horizontal lines marking entry/exit levels
Color Coding : Line colors change based on bullish/bearish state
📊 Performance Metrics
The indicator includes a comprehensive metrics table displaying:
Net Profit % : Total return percentage
Max Drawdown % : Maximum peak-to-trough decline
Win Rate % : Percentage of profitable trades
Profit Factor : Ratio of gross profit to gross loss
Sharpe Ratio : Risk-adjusted return measure
Sortino Ratio : Downside risk-adjusted return
Omega Ratio : Probability-weighted ratio of gains vs losses
Half Kelly % : Optimal position sizing recommendation
Total Trades : Number of completed transactions
🎯 Trading Strategies
Long/Short Mode: 🔄
The indicator alternates between long and short positions based on threshold crossovers. This mode is ideal for traders who can profit from both rising and falling markets.
Long/Cash Mode: 💰
This conservative approach only takes long positions, moving to cash during bearish signals. Perfect for traders in accounts that don't allow short selling or those preferring a buy-and-hold approach with strategic exits.
🚀 Getting Started
Add the indicator to your chart
Choose your preferred Trading Mode (Long/Short or Long/Cash)
Adjust the Base Length and SD Length to match your trading timeframe
Fine-tune the Long Threshold and Short Threshold based on your risk tolerance
Select your preferred color scheme from 9 available options
Enable the metrics table to monitor performance in real-time
💡 Pro Tips
Lower thresholds (e.g., Long: 75, Short: 60) generate more frequent but potentially less reliable signals
Higher thresholds (e.g., Long: 90, Short: 45) produce fewer but potentially higher-quality signals
Shorter base lengths make the indicator more responsive to recent price action
Longer base lengths smooth out noise but may lag market turns
Use the Half Kelly % metric to guide position sizing decisions
⚠️ Important Disclaimers
Past performance is not indicative of future results . This indicator is a technical analysis tool designed to assist in trading decisions but should not be used as the sole basis for investment choices.
Key Risk Considerations:
Market Conditions : No indicator works perfectly in all market environments
Backtesting Bias : Historical performance may not reflect future market behavior
Risk Management : Always use proper position sizing and stop-loss orders
Multiple Confirmations : Consider using additional indicators and analysis methods
📚 Educational Value
This indicator serves as an excellent learning tool for understanding:
Bollinger Band mechanics and interpretation
Oscillator-based trading strategies
Performance metrics and risk assessment
Position sizing using Kelly Criterion principles
The relationship between volatility and price movement
🔔 Updates and Support
The Bollinger Bands Oscillator | QuantMAC is regularly updated to ensure compatibility with TradingView's latest features. The code is thoroughly commented for educational purposes and transparency.
Remember: Trading involves substantial risk of loss and is not suitable for all investors. The value of investments may go down as well as up, and you may not get back the amount you invested. Always conduct your own research and consider seeking advice from a qualified financial advisor.
5EMA_BB_ScalpingWhat?
In this forum we have earlier published a public scanner called 5EMA BollingerBand Nifty Stock Scanner , which is getting appreciated by the community. That works on top-40 stocks of NSE as a scanner.
Whereas this time, we have come up with the similar concept as a stand-alone indicator which can be applied for any chart, for any timeframe to reap the benifit of reversal trading.
How it works?
This is essentially a reversal/divergence trading strategy, based on a widely used strategy of Power-of-Stocks 5EMA.
To know the divergence from 5-EMA we just check if the high of the candle (on closing) is below the 5-EMA. Then we check if the closing is inside the Bollinger Band (BB). That's a Buy signal. SL: low of the candle, T: middle and higher BB.
Just opposite for selling. 5-EMA low should be above 5-EMA and closing should be inside BB (lesser than BB higher level). That's a Sell signal. SL: high of the candle, T: middle and lower BB.
Along with we compare the current bar's volume with the last-20 bar VWMA (volume weighted moving average) to determine if the volume is high or low.
Present bar's volume is compared with the previous bar's volume to know if it's rising or falling.
VWAP is also determined using `ta.vwap` built-in support of TradingView.
The Bolling Band width is also notified, along with whether it is rising or falling (comparing with previous candle).
What's special?
We love this reversal trading, as it offers many benifits over trend following strategies:
Risk to Reward (RR) is superior.
It _Does Hit_ stop losses, but the stop losses are tiny.
Means, althrough the Profit Factor looks Nahh , however due to superior RR, end of day it ended up in green.
When the day is sideways, it's difficult to trade in trending strategies. This sort of volatility, reversal strategies works better.
It's always tempting to go agaist the wind. Whole world is in Put/PE and you went opposite and enter a Call/CE. And turns out profitable! That's an amazing feeling, as a trader :)
How to trade using this?
* Put any chart
* Apply this screener from Indicators (shortcut to launch indicators is just type / in your keyboard).
* It will show you the Green up arrow when buy alert comes or red down arrow when sell comes. * Also on the top right it will show the latest signal with entry, SL and target.
Disclaimer
* This piece of software does not come up with any warrantee or any rights of not changing it over the future course of time.
* We are not responsible for any trading/investment decision you are taking out of the outcome of this indicator.
Mitsos4 RSI + BB + Dispersion + Trendlines + VIX Fix Mitsos4 RSI + BB + Dispersion + Trendlines + VIX Fix
This powerful custom indicator combines two analytical tools into one view:
RSI-based Bollinger Bands with Dispersion and the Vix Fix volatility spike detector.
It is designed for traders who want early volatility signals and precision RSI insights, all in a single pane.
🧩 What's Included:
✅ 1. RSI + BB (EMA) + Dispersion
RSI-Based Bollinger Bands: Tracks the RSI with Bollinger Bands using an EMA as the basis.
Dispersion Zone: A buffer zone around the moving average band for more sensitive overbought/oversold detection.
Dynamic RSI Coloring:
🟢 Green: RSI breaks above the dispersion zone.
🔴 Red: RSI breaks below the dispersion zone.
🟡 Yellow: RSI inside the zone (neutral).
Trendlines at RSI levels: 40 (green), 50 (yellow), 60 (red).
Alerts when RSI crosses dispersion zones.
✅ 2. CM_Williams_Vix_Fix
Designed to simulate VIX-like volatility spikes on non-VIX instruments.
Detects potential market bottoms by measuring price deviation from recent highs.
Includes:
Bollinger Band range on WVF.
Percentile high/low zones to detect significant volatility moves.
Histogram plot of WVF for quick visual alerts.
Color-coded spikes (green when above upper thresholds).
⚙️ User Controls:
Adjustable RSI, Bollinger Band, and dispersion settings.
Toggle options for:
Viewing high/low VIX percentiles.
Showing standard deviation bands for WVF.
Custom trendline display levels at RSI key areas.
📌 Best Use Cases:
Detect early market reversals and volatility spikes.
Combine RSI strength with volatility-based bottom signals.
Layer dispersion-based logic on top of classic RSI strategies.
MACD + RSI + EMA + BB + ATR Day Trading StrategyEntry Conditions and Signals
The strategy implements a multi-layered filtering approach to entry conditions, requiring alignment across technical indicators, timeframes, and market conditions .
Long Entry Requirements
Trend Filter: Fast EMA (9) must be above Slow EMA (21), price must be above Fast EMA, and higher timeframe must confirm uptrend
MACD Signal: MACD line crosses above signal line, indicating increasing bullish momentum
RSI Condition: RSI below 70 (not overbought) but above 40 (showing momentum)
Volume & Volatility: Current volume exceeds 1.2x 20-period average and ATR shows sufficient market movement
Time Filter: Trading occurs during optimal hours (9:30-11:30 AM ET) when market volatility is typically highest
Exit Strategies
The strategy employs multiple exit mechanisms to adapt to changing market conditions and protect profits :
Stop Loss Management
Initial Stop: Placed at 2.0x ATR from entry price, adapting to current market volatility
Trailing Stop: 1.5x ATR trailing stop that moves up (for longs) or down (for shorts) as price moves favorably
Time-Based Exits: All positions closed by end of trading day (4:00 PM ET) to avoid overnight risk
Best Practices for Implementation
Settings
Chart Setup: 5-minute timeframe for execution with 15-minute chart for trend confirmation
Session Times: Focus on 9:30-11:30 AM ET trading for highest volatility and opportunity
Alex Scalper with Volatility CheckAlex Scalper with Volatility Check - Script Description
This Pine Script indicator is a comprehensive scalping strategy designed for short-term trading with built-in risk management and volatility filtering.
Key Features:
📊 Core Strategy:
Uses VWAP (Volume Weighted Average Price) as the primary trend filter
Employs Stochastic oscillator for entry timing (oversold/overbought conditions)
Generates buy signals when price is above VWAP with stochastic momentum
Generates sell signals when price is below VWAP with stochastic reversal
🛡️ Risk Management:
Volatility Protection: Automatically pauses trading during high volatility periods using ATR and Bollinger Band width analysis
Multi-Target System: Three take-profit levels (10, 15, 25 points) for progressive profit-taking
Fixed Stop Loss: 20-point stop loss protection
Position Sizing: Dynamic lot size adjustment based on win/loss performance
⏰ Trading Hours:
Restricted to US market hours (9:30-11:30 AM and 2:00-4:00 PM EST)
Prevents trading during low-liquidity periods
🔔 Alert System:
Real-time buy/sell alerts with complete trade information
Includes entry price, stop loss, take profit levels, and position size
Ready for automated trading integration
📈 Visual Elements:
Green triangles for buy signals below price bars
Red triangles for sell signals above price bars
Orange volatility warning labels during high-risk periods
This script is ideal for traders seeking a systematic approach to scalping with built-in protection against volatile market conditions.
Bollinger Bands - Multi Symbol Alert (Miu)This script extends the classic Bollinger Bands indicator with support for up to 8 user-defined symbols and a unique alert system.
Unlike traditional Bollinger Band indicators, it allows traders to configure alerts across multiple assets without keeping the indicator visible on the chart, making it ideal for passive multi-asset monitoring.
What it does:
This script calculates Bollinger Bands using a 100-period simple moving average and a standard deviation multiplier of 3 (or any input you set in the settings panel).
For each selected symbol, the upper and lower bands are retrieved using request.security() and monitored for breakouts.
Alerts are triggered when the closing price of the selected symbol breaks above the upper band (Overbought) or below the lower band (Oversold) — at the bar close.
How to use it:
1) Add the indicator to your chart.
2) Open the settings panel.
3) Select up to 8 symbols to monitor.
4) After setting parameters, click the three dots next to the indicator title and choose "Add Alert on...".
5) Name your alert and confirm.
6) If you don’t wish to keep the indicator visible, you can remove it from the chart — alerts will still function as expected.
Alert message includes:
- Symbol name (e.g., BTC, ETH, LTC)
- (OB) for overbought or (OS) for oversold
- Symbol’s price at the alert moment
Technical note:
This script uses request.security() to fetch Bollinger Band levels and closing prices from up to 8 selected symbols in real time.
Feel free to leave your feedback or suggestions in the comments section below.
Enjoy!
Dual Stochastic Enhanced (with Presets giua64)Script Title: Dual Stochastic Enhanced (with Presets giua64)
Overview:
This indicator enhances the traditional Dual Stochastic strategy, aiming to provide more filtered and potentially reliable trading signals. By integrating dynamic overbought/oversold levels via Bollinger Bands on the slow stochastic, a trend filter based on a moving average, momentum confirmation via RSI, and user-friendly selectable presets, "Dual Stochastic Enhanced" seeks to offer a more robust approach to identifying potential entry points.
Key Features:
Dual Stochastics: Utilizes a slow stochastic (configurable, e.g., 14 periods) as a context filter and a fast stochastic (configurable, e.g., 5 periods) as a signal trigger.
Bollinger Bands on Slow Stochastic: Instead of fixed overbought/oversold levels (80/20), Bollinger Bands are applied to the %K line of the slow stochastic. This creates dynamic zones that adapt to the stochastic's own volatility.
Trend Filter: A moving average (configurable type and length, e.g., EMA 100 as seen in the example chart for general context) on the price helps filter signals, allowing only trades aligned with the prevailing trend.
RSI Confirmation: An RSI oscillator (configurable length, e.g., 14 periods) is used to confirm momentum. Signals require the RSI to cross certain thresholds to validate the strength of the move.
User Presets: Includes presets for "Scalping," "Intraday," and "Swing trading," which quickly set all key parameters to suit different styles and timeframes. A "Custom" option is also available for full manual configuration.
Clear Visual Signals: Long (green) and Short (red) arrows appear on the chart when all entry conditions are met.
Active Zone Highlighting: The background of the indicator panel changes color (green or red) when "active zone" conditions (a combination of stochastics, trend, and RSI) are favorable.
Information Panel: A table in the top-right corner of the indicator panel displays the current status of the selected preset, trend filter, RSI value, and stochastic levels.
Signal Logic:
A LONG signal is generated when:
The fast stochastic %K crosses above its %D line.
The slow stochastic %K line is below its lower Bollinger Band (dynamic oversold condition).
The fast stochastic %K line is also in a low area (e.g., <25) to confirm the trigger is not premature.
The closing price is above the trend moving average (uptrend).
The RSI is above its long confirmation level (e.g., >40), indicating sufficient bullish momentum.
A SHORT signal is generated when:
The fast stochastic %K crosses below its %D line.
The slow stochastic %K line is above its upper Bollinger Band (dynamic overbought condition).
The fast stochastic %K line is also in a high area (e.g., >75).
The closing price is below the trend moving average (downtrend).
The RSI is below its short confirmation level (e.g., <60), indicating sufficient bearish momentum.
How to Use:
Select a Preset suitable for your trading style and the timeframe you are analyzing (e.g., Scalping for M1-M15, Intraday for M5-H1, Swing for H4-D1).
Alternatively, choose "Custom" and manually adjust all parameters (stochastic lengths, smoothing, Bollinger Bands, Moving Average, RSI, confirmation thresholds).
Observe the Information Panel for a quick understanding of the current conditions.
Evaluate the arrow signals, always considering the broader market context, price action, and any other confluences (supports/resistances, chart patterns).
The background highlighting can help quickly identify periods where conditions are aligned for potential trades.
Disclaimer:
This script is provided for educational and informational purposes only. Trading involves significant risk, and past performance is not indicative of future results. Always thoroughly test any strategy or indicator on historical data and on a demo account before risking real capital. The author assumes no responsibility for any losses incurred from the use of this script.
Author: giua64
RDBRB Strategy with Filters + Cooldowns + LabelsRDBRB Strategy with Filters + Cooldowns
This script implements the RDBRB (Rally-Drop-Base-Retest-Breakout) strategy, a classic price action setup designed to identify structured trade opportunities using volume, volatility bands, and trend alignment. It’s ideal for traders looking for clean, rule-based entries across any timeframe.
🧠 Core Components
Rally & Drop Detection
Identifies short-term momentum shifts using moving average crossovers:
✅ Ra = Rally (bullish crossover)
🔻 Dr = Drop (bearish crossunder)
Base Formation
A statistical base is defined using a moving average with a standard deviation envelope (Upper/Lower BB). This forms the foundation for breakout or retest setups.
Retest Zone (RT)
When price returns to the lower band (but stays below the base), it suggests a potential re-accumulation or reaction zone before a breakout.
Breakout Confirmation (BO)
A breakout is validated when:
Price crosses above the upper band
Volume exceeds the 20-bar average by a threshold multiplier
RSI is above a bullish momentum level
Price is trending above the longer-term EMA
⏱️ Smart Cooldown Logic
Each signal (Rally, Drop, Retest, Breakout) has an independent cooldown timer to prevent multiple triggers within a short range, filtering out noise and duplicate signals:
Customizable cooldown periods via input settings
Ensures signals are meaningful and not clustered
💡 Visual Markers
All signals are shown as small, color-coded labels:
Ra : Green label below bar
Dr : Red label above bar
RT : Yellow label below bar
BO : Green breakout label below bar
Bands and base are plotted for structure reference.
🛠️ Customizable Settings
Cooldown periods for each signal type
MA lengths, volume and RSI thresholds
Trend filter and base calculation inputs
This script is ideal for price action traders who want a clean, structured method to trade consolidations and trend continuations while avoiding over-signaling. Use it on any timeframe and combine with higher-timeframe confirmation for best results.
Breakout Core | by Solid#SignalsBreakout Core | by SolidSignals
General Overview
Breakout Core is an advanced breakout trading strategy designed for Bitcoin (BTC). Optimized for the unique market dynamics following the launch of BlackRock’s Spot ETFs in January 2024, it adapts to Bitcoin’s post-ETF volatility patterns. The strategy’s core strength lies in its low drawdown, achieved through a proprietary time-based signal-filtering algorithm that sets it apart from traditional breakout strategies. Breakout Core offers traders a reliable tool for navigating Bitcoin’s evolving market with reduced risk and enhanced precision.
Mechanisms
Breakout Core combines well-known indicators BB, EMAs, MAs with custom-tuned parameters to improve signal accuracy. Its unique feature is a proprietary time-filter algorithm that prioritizes high-probability breakout signals during specific high-volatility trading hours, derived from market analysis post-ETF launch. This algorithm minimizes false positives, particularly in volatile conditions, by integrating time-based volatility patterns with price action. The result is a robust strategy that optimizes entry and exit points for Bitcoin trading.
Objectives
Breakout Core aims to provide steady returns with controlled risk by targeting Bitcoin’s breakout patterns in the post-ETF market. Its low drawdown, achieved through extensive optimization and proprietary logic, makes it suitable for leverage trading (e.g., 3–5x leverage), balancing growth with capital protection. Tailored for BTC, the strategy equips traders with a precise tool to navigate Bitcoin’s transformed market dynamics.
Backtesting and Parameter Notes
Backtesting was performed using a $10,000 USDT account, risking up to 10% of equity per trade, including 0.06% commission fees and 2-tick slippage, aligned with standard exchange conditions. The strategy report details backtesting results from the launch of BlackRock’s Spot ETFs. These settings are the script’s defaults, ensuring transparency. Traders are encouraged to verify results using TradingView’s Deep Backtest feature to adapt to current market conditions.
Please note: Past performance does not guarantee future results.
Chart and Usage
The chart is clean and intuitive, displaying only Breakout Core’s buy and sell signals for easy interpretation. Parameters are pre-optimized for immediate use, with adjustable Take Profit (TP) and Stop Loss (SL) levels. Traders should validate custom settings via TradingView’s backtesting tools to ensure market compatibility. An integrated Alarm Panel supports API connectivity, providing clear Entry/Exit commands for Long and Short positions, enabling seamless automated trading workflows.
Originality Statement
Breakout Core is an original strategy developed by SolidSignals, leveraging standard indicators (Bollinger Bands, EMAs, MAs) combined with a proprietary time-filter algorithm. No third-party or open-source code is used, ensuring full compliance with TradingView’s originality requirements. The time-filter mechanism, based on post-ETF volatility analysis, distinguishes this strategy from conventional breakout approaches.
Important Disclaimer
Market conditions evolve continuously, and past performance is not indicative of future results. Traders are responsible for validating the strategy’s settings and performance under current market conditions before use.
ABC Market stage judgmentABC Stage Judgment Indicators · Introduction
Core ideology
The market situation is divided into three stages:
Zone B (Low Volatility Accumulation): Extremely low volatility, no trend, institutions accumulate chips.
Zone A (oscillation zone): The volatility has rebounded but there is no unilateral trend, suitable for short-term high selling and low buying.
Zone C (Trend Explosion): The volatility has significantly expanded and the trend is strong, making it profitable to follow the position.
Core Indicators
Volatility measurement
Bollinger Bands Width (BBWidth): 20 cycle moving average ± 2 σ bandwidth, reflecting relative volatility compression/release;
ATR (Average True Volatility): measures the absolute intensity of price volatility.
Trend Strength
ADX (Average Trend Index): measures the strength of a trend (without distinguishing direction),
ADX<20 → No trend (Zone B/A)
ADX>25 → Significant trend (Zone C)
Stage division logic
Zone B: Both BWidth and ATR are less than the set multiple of their respective historical means, and ADX is less than the threshold → "quiet bottoming out";
Zone C: ADX>threshold, and BBWidth or ATR>set multiple of their respective historical means, trading volume amplification → "trend takeoff";
Zone A: Time periods that do not belong to B/C are all classified as oscillation zones.
Optional enhanced filtering
Direction confirmation (+DI/- DI): avoid going against the trend;
Multi cycle verification (4H): in line with the trend of large-scale;
Momentum filtering (ROC/MACD/RSI): ensuring kinetic energy support;
ATR slope: Confirm the release of fluctuations;
Breakthrough Confirmation: Enter only after the breakthrough is confirmed at the closing level.
These filters are turned off by default and can be selected with one click for different scenarios such as "high-level oscillation", "low-level bottoming", "planting trees in the middle", etc.
usage
Multi cycle switching: Built in "5-minute/1-hour" two main cycles for free switching;
Visualization: The background color and labels display the current Zone at a glance;
Alarm: Stage switching automatically triggers an Alert, which can be pushed through mobile phones/Telegram.
WMB Oscillator | [DeV]The "WMB Oscillator" indicator is a multi-factor momentum and volatility indicator designed to give traders a dynamic edge in identifying trend strength, market pressure, and potential turning points. By combining three powerful tools—Williams %R, Money Flow Index, and Bollinger Band Width—this oscillator presents a single histogram that visually represents the interplay between overbought/oversold levels, volume-weighted pressure, and volatility expansion. Use it to anticipate trend shifts, confirm entries, or avoid traps in ranging markets.
Williams %R:
Williams %R measures the closing price's position relative to the recent high-low range over a defined period. It outputs a value between 0 and -100, where values closer to -100 suggest oversold conditions, and those near 0 indicate overbought. In this oscillator, the raw %R is normalized between your defined overbought and oversold thresholds, allowing it to integrate seamlessly into the combined signal without distortion from price scale differences.
Money Flow Index (MFI):
The MFI gauges buying and selling pressure using both price and volume. It calculates the typical price for each bar, multiplies it by volume, and compares positive versus negative money flows over time. Normalized between your custom thresholds, the MFI component helps highlight when a move is driven by real conviction (volume) rather than weak price fluctuation, enhancing the signal’s reliability.
Bollinger Band Width (BB Width):
BB Width quantifies volatility by measuring the percentage difference between the upper and lower Bollinger Bands relative to their moving average. When volatility contracts, BB Width narrows—often preceding explosive moves. When it expands, volatility is peaking. Here, the raw BB Width is detrended using its moving average and scaled with a user-defined multiplier to reflect its deviation strength.
Why Combine These:
Each of these three metrics captures a unique dimension of market behavior: %R tracks momentum in price extremes, MFI confirms the move’s strength through volume, and BB Width anticipates volatility surges. Combined, they form a balanced oscillator that reacts fluidly to market changes while filtering out noise. The result is a nuanced, multi-angle view of the market's internal dynamics, enabling smarter, more confident trading decisions.
Zero Lag MTF Moving Average by CoffeeshopCryptoBased on Moving Average Types supplied by @TradingView www.tradingview.com
Ideas and code enhanced to show higher timeframe by @CoffeeShopCrypto
It’s time to take the guesswork out of moving averages and multiple timeframes when day trading. Moving averages are a cornerstone of many trading strategies, often viewed as dynamic support and resistance levels. Traders rely on these levels to anticipate price reactions, whether it’s a bounce in a trending market or a reversal in a ranging one. Additionally, the direction and alignment of multi timeframe moving averages—whether they’re moving in the same direction or diverging—provide critical clues about market momentum and potential reversals. However, the traditional higher timeframe moving average indicators force traders to wait for higher timeframe candles to close, creating lag and missed opportunities.
The Old Way
For example: If you are on a 5 minute chart and you want to observe the location and direction of a 30 minute chart Moving Average, you'll need to wait for a total of 6 candles to close, and again every 6 candles after that. This only creates more lag.
The New Way
Now there is no waiting for high timeframe session candles to close. No matter what timeframe Moving Average you want to know about, this indicator will show you its location on your current chart at any time in real time.
For those who prefer Bollinger Bands, this indicator adds a whole new dimension to your strategy. Traders often wait for price action to break outside the lower time frame Bollinger bands before considering a trade, while still seeking key support or resistance levels beyond them. But if you don't know the position of your higher time frame Bollinger, you could be trading into a trap. With Zero Lag Multi Timeframe Moving Average, you can view both your current and higher timeframe Bollinger Bands simultaneously with zero waiting. This lets you instantly see when price action is traveling between the bands of either timeframe or breaking through both—indicating a strong trend in that direction. Additionally, when both sets of Bollinger Bands overlap at the same price levels, it highlights areas of strong consolidation and ranging conditions, giving you a clear picture of market dynamics. This is a key element in price action that tells you there is currently no direction to the market and both the current and higher time frames are flat.
Enter Zero Lag Multi Timeframe Moving Average—the ultimate tool for real-time higher timeframe moving averages and Bollinger Bands. This innovative indicator eliminates the delay, delivering instant, precise values for higher timeframe averages and bands, even on open candles. Seamlessly combining current and higher timeframe data, it allows traders to identify key moments where moving averages or Bollinger Bands align or diverge, signaling market conditions. Whether you’re gauging the strength of a trend, pinpointing potential reversals, or identifying consolidation zones, Zero Lag Multi Timeframe Moving Average gives you the clarity needed to make better trading decisions according to market conditions.
Why is this "Mashup" of moving averages different and important?
Honestly its really about the calculation thats imported through the "import library" function.
Heres what it does:
The ZLMTF-MA is designed to help traders easily see where higher timeframe moving averages and Bollinger Bands are—without needing to switch chart timeframes or wait for those larger candles to close. It works by adjusting common moving average types like SMA, EMA, and VWMA to show what they would look like if they were based on a higher timeframe, right on your current chart. This helps users stay focused on their main timeframe while still having a clear view of the bigger picture, making it easier to spot trend direction, key support and resistance levels, and overall market structure. The goal is to keep things simple, fast, and more visually informative for everyday traders.
Bollinger Bands
When working with Bollinger Bands, a common strategy is to take the trades once price action has escaped through the top or bottom of your current Bollinger Band.
A false breakout occurs when both Bollinger Bands are not moving in the same direction as eachother or when they are overlapping.
Moving Averages as Support and Resistance:
Traders who use Moving Averages as support or resistance, looking for rejections or failures of these areas can now see multiple timeframe price action instantly and simultaneously.
Trading Setup Examples:
Price Action Scenario 1:
Higher Timeframe Ranging-
When price action breaks through a current moving average headed toward a higher timeframe moving average, trades are taken with caution if the moving averages are converging.
Price Action Scenario 2:
Strong Trending Market -
If the moving averages are in the same direction, and your price action is now leading the low timeframe moving average, you have re-entered a strong trend.
Price Action Scenario 3:
High Timeframe Rejections -
If you have a rejection of a higher timeframe moving average, and your both averages are still diverging, this is the end of a pullback as you re-enter a strong trend in the original direction
Price Action Scenario 4:
Trend Reversals -
If you close beyond both the low and high timeframe moving averages, you can consider that price action is strong enough to change direction here and you should prepare for trade setups in the opposite direction of the previous.
HTF MA Label Information:
Even if your high timeframe moving average is turned off, you can still see this label.
It gives you a quick reminder of what high timeframe settings you have used to see MA values.
Atlas BBTlevelsAtlas BBTlevels is a custom Bollinger Bands-based indicator that measures the momentum and strength of price trends using the difference between short- and long-period Bollinger Bands. Inspired by John Bollinger’s official tools like BBTrend, %b, and Bandwidth, this script adds adjustable horizontal threshold levels so traders can mark important reaction zones on their charts.
It visualizes when markets may be entering overheated or exhausted conditions — either for trend continuation or potential reversals — and works across crypto, stocks, forex, spot, or perpetual charts.
How I personally use it:
I apply Atlas BBTlevels across three timeframes:
Low timeframe (LTF): 5m–15m
Mid timeframe (MTF): 1h–6h
High timeframe (HTF): 1d–2d
I review where the indicator historically spiked during major moves. For example, if the 4-hour chart shows repeated spikes to +10 or −10, I’ll set my positive and negative thresholds near those levels. This lets me anticipate zones where the market may reverse, cool off, or break out. I then compare LTF, MTF, and HTF levels to look for confluence. When multiple timeframes align near key levels, it gives me higher confidence to prepare for a trade — but I always combine this with price action and other confirmation tools.
How others can use it:
Identify overbought/oversold zones by adjusting the thresholds to match historical extremes on your chosen asset.
Use it as a trend strength gauge: when the histogram is near or above the top threshold, the trend is likely strong; when it fades back toward zero, momentum is weakening.
Watch for volatility expansions or contractions as the indicator accelerates away from or returns toward zero.
Combine it with price action (support/resistance, trendlines, chart patterns) or other momentum tools to reduce false signals.
Apply it across multiple timeframes to look for confluence — this increases reliability compared to using it on just one chart.
Important tips:
Positive spikes (above zero) usually indicate strength or overextension upward; negative spikes (below zero) show weakness or downward exhaustion.
You can reverse the color logic if you want (for example, highlight negative spikes as green for buy interest and positive spikes as red for sell interest) — this is just a visual preference.
This is not a standalone buy/sell system. Always combine it with other tools, market context, and risk management.
Bollinger Bands ETSOverview
Bollinger Bands ETstyle (BB ETS) is an advanced volatility and breakout detection indicator, building upon the classic Bollinger Bands. This script introduces adaptive ATR-based band width smoothing and clear squeeze detection, making it a versatile tool for traders seeking more responsive and actionable volatility analysis.
Features
Dual Bollinger Bands: Plots both standard and outer bands around a configurable moving average, allowing visualization of typical and extreme volatility ranges.
ATR-Based Band Smoothing (Optional): When enabled, the bands automatically widen during low-volatility periods using the Average True Range (ATR), reducing false signals and making the bands more adaptive.
Squeeze Detection (Optional): Highlights periods when the bands contract below a user-defined threshold, signaling potential breakout setups. Squeeze periods are visually marked with a background highlight for easy identification.
Customizable Settings: Users can adjust band length, standard deviation multipliers, ATR parameters, and squeeze thresholds. Both ATR smoothing and squeeze detection can be toggled on or off.
Clean Chart Output: The indicator overlays directly on price with clear, distinguishable visuals for all features.
How It Works
The indicator calculates a moving average (basis) and plots upper and lower bands at user-selected standard deviations.
If ATR smoothing is enabled, the band width expands by a multiple of the ATR, adapting to real-time volatility.
The script computes the relative band width ("bandwidth"). When this falls below your chosen threshold, the background is highlighted to indicate a "squeeze"-a period of reduced volatility that often precedes breakouts.
How to Use
Trend & Volatility Analysis: Use the bands to identify overbought/oversold conditions and current market volatility. Price touching or crossing the outer bands may signal trend exhaustion or continuation.
Breakout Anticipation: Watch for background highlights indicating a squeeze. These periods suggest the market is coiling for a potential significant move.
Adaptive Sensitivity: Enable ATR smoothing to keep bands relevant during both calm and volatile markets, reducing false signals in low-volatility conditions.
Customization: Adjust all parameters in the settings to match your trading style and the asset’s behavior.
Limitations
The indicator is designed for standard price charts and may not perform as intended on non-standard chart types (such as Renko or Heikin Ashi).
As with all technical tools, best results are achieved when used alongside other forms of analysis.
Summary
Bollinger Bands ETstyle (BB ETS) offers a modern, adaptive approach to volatility and breakout analysis by combining classic bands with ATR-based smoothing and clear squeeze visualization. It is suitable for trend-following and breakout strategies, and requires no additional scripts-simply apply to your chart and adjust the settings as needed.
BK AK-9I am incredibly proud to introduce my fourth indicator to the TradingView community:
BK AK-9 — a next-level momentum-volatility hybrid, built for traders who demand precision.
🔥 Why “AK-9”? The Meaning Behind the Name
This indicator is deeply personal to me.
The “AK” in the name represents the initials of my mentor — the man whose guidance shaped my journey in trading, discipline, and strategy.
His wisdom is woven into every line of code, every design choice, and every purpose behind this tool.
The “9” holds its own powerful meaning:
9 is the number of completion and breakthrough — the moment where preparation meets opportunity.
The AK-9 weapon itself is a suppressed variant of the legendary AK platform, built for stealth, precision, and maximum impact in close-quarters combat.
It’s quiet, adaptive, and deadly effective — just like this indicator cuts through market noise, adapts to volatility, and pinpoints moments of maximum opportunity.
✨ About the BK AK-9 Indicator
The BK AK-9 is not just an oscillator.
It’s a multi-layered trading weapon combining:
✅ RSI → Stochastic → Bollinger Bands on Stoch RSI → momentum measured inside volatility.
✅ Dynamic or Static Background Flash → when extremes hit, you get instant visual alerts.
✅ Color-coded %K zones →
🔴 Red: oversold
🟢 Green: overbought
🔵 Blue: neutral
✅ Volatility-adaptive bands → instead of relying on static levels, the bands expand and contract dynamically using standard deviation.
🛡️ Why This Indicator Matters
Pinpoints exhaustion zones statistically, not emotionally.
Confirms breakouts with volatility evidence, not just price action.
Filters noise and helps you wait for high-probability setups.
Gives you visual edge with color-coded momentum and background flash.
Perfect for:
🔹 Breakout traders confirming momentum surges.
🔹 Mean-reversion traders catching exhaustion pivots.
🔹 Swing traders using multi-layered momentum analysis.
🔹 Momentum traders hunting volatility-backed entries.
💥 How to Use BK AK-9
Breakout Confirmation → when Stoch RSI breaks above upper Bollinger Band (green zone, flash ON), ride the trend.
Mean Reversion Trades → when Stoch RSI drops below lower Bollinger Band (red zone, flash ON), look for reversals.
Noise Filtering → stay patient inside the blue zone, wait for extremes.
Advanced Sync → align it with Gann levels, harmonic patterns, Fibonacci clusters, or Elliott waves for maximum edge.
🙏 Final Thoughts
This isn’t just another tool — it’s a weapon in your trading arsenal.
🔹 Dedicated to my mentor, A.K., whose wisdom and legacy guide my work.
🔹 Designed around the number 9, the number of completion, transition, and breakthrough.
🔹 Built to help traders act with precision, discipline, and clarity.
But above all, I give praise and glory to Gd — the true source of wisdom, insight, and success.
Markets will test your patience and your skill, but faith tests your soul. Through every challenge, every victory, and every setback, Gd remains the constant.
This tool is simply another way to use the gifts He has given — to help others rise.
⚡ Stay Ready, Stay Sharp
The markets are a battlefield. But with the right tools, the right strategy, and the right mindset — you will always stay 10 steps ahead.
🔥 Stay locked. Stay loaded. Trade with precision. 🔥
Gd bless, and may He guide us all to wisdom and success. 🙏
External Signals Strategy Tester v5External Signals Strategy Tester v5 – User Guide (English)
1. Purpose
This Pine Script strategy is a universal back‑tester that lets you plug in any external buy/sell series (for example, another indicator, webhook feed, or higher‑time‑frame condition) and evaluate a rich set of money‑management rules around it – with a single click on/off workflow for every module.
2. Core Workflow
Feed signals
Buy Signal / Sell Signal inputs accept any series (price, boolean, output of request.security(), etc.).
A crossover above 0 is treated as “signal fired”.
Date filter
Start Date / End Date restricts the test window so you can exclude unwanted history.
Trade engine
Optional Long / Short enable toggles.
Choose whether opposite signals simply close the trade or reverse it (flip direction in one transaction).
Risk modules – all opt‑in via check‑boxes
Classic % block – fixed % Take‑Profit / Stop‑Loss / Break‑Even.
Fibonacci Bollinger Bands (FBB) module
Draws dynamic VWMA/HMA/SMA/EMA/DEMA/TEMA mid‑line with ATR‑scaled Fibonacci envelopes.
Every line can be used for stops, trailing, or multi‑target exits.
Separate LONG and SHORT sub‑modules
Each has its own SL plus three Take‑Profits (TP1‑TP3).
Per TP you set line, position‑percentage to close, and an optional trailing flag.
Executed TP/SLs deactivate themselves so they cannot refire.
Trailing behaviour
If Trail is checked, the selected line is re‑evaluated once per bar; the order is amended via strategy.exit().
3. Inputs Overview
Group Parameter Notes
Trade Settings Enable Long / Enable Short Master switches
Close on Opposite / Reverse Position How to react to a counter‑signal
Risk % Use TP / SL / BE + their % Traditional fixed‑distance management
Fibo Bands FIBO LEVELS ENABLE + visual style/length Turn indicator overlay on/off
FBB LONG SL / TP1‑TP3 Enable, Line, %, Trail Rules applied only while a long is open
FBB SHORT SL / TP1‑TP3 Enable, Line, %, Trail Rules applied only while a short is open
Line choices: Basis, 0.236, 0.382, 0.5, 0.618, 0.764, 1.0 – long rules use lower bands, short rules use upper bands automatically.
4. Algorithm Details
Position open
On the very first bar after entry, the script checks the direction and activates the corresponding LONG or SHORT module, deactivating the other.
Order management loop (every bar)
FBB Stop‑Loss: placed/updated at chosen band; if trailing, follows the new value.
TP1‑TP3: each active target updates its limit price to the selected band (or holds static if trailing is off).
The classic % block runs in parallel; its exits have priority because they call strategy.close_all().
Exit handling
When any strategy.exit() fires, the script reads exit_id and flips the *_Active flag so that order will not be recreated.
A Stop‑Loss (SL) also disables all remaining TPs for that leg.
5. Typical Use Cases
Scenario Suggested Setup
Scalping longs into VWAP‐reversion Enable LONG TP1 @ 0.382 (30 %), TP2 @ 0.618 (40 %), SL @ 0.236 + trailing
Fade shorts during news spikes Enable SHORT SL @ 1.0 (no trail) and SHORT TP1,2,3 on consecutive lowers with small size‑outs
Classic trend‑follow Use only classic % TP/SL block and disable FBB modules
6. Hints & Tips
Signal quality matters – this script manages exits, it does not generate entries.
Keep TV time zone in mind when picking start/end dates.
For portfolio‑style testing allocate smaller default_qty_value than 100 % or use strategy.percent_of_equity sizing.
You can combine FBB exits with fixed‑% ones for layered management.
7. Limitations / Safety
No pyramiding; the script holds max one position at a time.
All calculations are bar‑close; intra‑bar touches may differ from real‑time execution.
The indicator overlay is optional, so you can run visual‑clean tests by unchecking FIBO LEVELS ENABLE.
Dskyz (DAFE) Adaptive Regime - Quant Machine ProDskyz (DAFE) Adaptive Regime - Quant Machine Pro:
Buckle up for the Dskyz (DAFE) Adaptive Regime - Quant Machine Pro, is a strategy that’s your ultimate edge for conquering futures markets like ES, MES, NQ, and MNQ. This isn’t just another script—it’s a quant-grade powerhouse, crafted with precision to adapt to market regimes, deliver multi-factor signals, and protect your capital with futures-tuned risk management. With its shimmering DAFE visuals, dual dashboards, and glowing watermark, it turns your charts into a cyberpunk command center, making trading as thrilling as it is profitable.
Unlike generic scripts clogging up the space, the Adaptive Regime is a DAFE original, built from the ground up to tackle the chaos of futures trading. It identifies market regimes (Trending, Range, Volatile, Quiet) using ADX, Bollinger Bands, and HTF indicators, then fires trades based on a weighted scoring system that blends candlestick patterns, RSI, MACD, and more. Add in dynamic stops, trailing exits, and a 5% drawdown circuit breaker, and you’ve got a system that’s as safe as it is aggressive. Whether you’re a newbie or a prop desk pro, this strat’s your ticket to outsmarting the markets. Let’s break down every detail and see why it’s a must-have.
Why Traders Need This Strategy
Futures markets are a gauntlet—fast moves, volatility spikes (like the April 28, 2025 NQ 1k-point drop), and institutional traps that punish the unprepared. Meanwhile, platforms are flooded with low-effort scripts that recycle old ideas with zero innovation. The Adaptive Regime stands tall, offering:
Adaptive Intelligence: Detects market regimes (Trending, Range, Volatile, Quiet) to optimize signals, unlike one-size-fits-all scripts.
Multi-Factor Precision: Combines candlestick patterns, MA trends, RSI, MACD, volume, and HTF confirmation for high-probability trades.
Futures-Optimized Risk: Calculates position sizes based on $ risk (default: $300), with ATR or fixed stops/TPs tailored for ES/MES.
Bulletproof Safety: 5% daily drawdown circuit breaker and trailing stops keep your account intact, even in chaos.
DAFE Visual Mastery: Pulsing Bollinger Band fills, dynamic SL/TP lines, and dual dashboards (metrics + position) make signals crystal-clear and charts a work of art.
Original Craftsmanship: A DAFE creation, built with community passion, not a rehashed clone of generic code.
Traders need this because it’s a complete, adaptive system that blends quant smarts, user-friendly design, and DAFE flair. It’s your edge to trade with confidence, cut through market noise, and leave the copycats in the dust.
Strategy Components
1. Market Regime Detection
The strategy’s brain is its ability to classify market conditions into five regimes, ensuring signals match the environment.
How It Works:
Trending (Regime 1): ADX > 20, fast/slow EMA spread > 0.3x ATR, HTF RSI > 50 or MACD bullish (htf_trend_bull/bear).
Range (Regime 2): ADX < 25, price range < 3% of close, no HTF trend.
Volatile (Regime 3): BB width > 1.5x avg, ATR > 1.2x avg, HTF RSI overbought/oversold.
Quiet (Regime 4): BB width < 0.8x avg, ATR < 0.9x avg.
Other (Regime 5): Default for unclear conditions.
Indicators: ADX (14), BB width (20), ATR (14, 50-bar SMA), HTF RSI (14, daily default), HTF MACD (12,26,9).
Why It’s Brilliant:
Regime detection adapts signals to market context, boosting win rates in trending or volatile conditions.
HTF RSI/MACD add a big-picture filter, rare in basic scripts.
Visualized via gradient background (green for Trending, orange for Range, red for Volatile, gray for Quiet, navy for Other).
2. Multi-Factor Signal Scoring
Entries are driven by a weighted scoring system that combines candlestick patterns, trend, momentum, and volume for robust signals.
Candlestick Patterns:
Bullish: Engulfing (0.5), hammer (0.4 in Range, 0.2 else), morning star (0.2), piercing (0.2), double bottom (0.3 in Volatile, 0.15 else). Must be near support (low ≤ 1.01x 20-bar low) with volume spike (>1.5x 20-bar avg).
Bearish: Engulfing (0.5), shooting star (0.4 in Range, 0.2 else), evening star (0.2), dark cloud (0.2), double top (0.3 in Volatile, 0.15 else). Must be near resistance (high ≥ 0.99x 20-bar high) with volume spike.
Logic: Patterns are weighted higher in specific regimes (e.g., hammer in Range, double bottom in Volatile).
Additional Factors:
Trend: Fast EMA (20) > slow EMA (50) + 0.5x ATR (trend_bull, +0.2); opposite for trend_bear.
RSI: RSI (14) < 30 (rsi_bull, +0.15); > 70 (rsi_bear, +0.15).
MACD: MACD line > signal (12,26,9, macd_bull, +0.15); opposite for macd_bear.
Volume: ATR > 1.2x 50-bar avg (vol_expansion, +0.1).
HTF Confirmation: HTF RSI < 70 and MACD bullish (htf_bull_confirm, +0.2); RSI > 30 and MACD bearish (htf_bear_confirm, +0.2).
Scoring:
bull_score = sum of bullish factors; bear_score = sum of bearish. Entry requires score ≥ 1.0.
Example: Bullish engulfing (0.5) + trend_bull (0.2) + rsi_bull (0.15) + htf_bull_confirm (0.2) = 1.05, triggers long.
Why It’s Brilliant:
Multi-factor scoring ensures signals are confirmed by multiple market dynamics, reducing false positives.
Regime-specific weights make patterns more relevant (e.g., hammers shine in Range markets).
HTF confirmation aligns with the big picture, a quant edge over simplistic scripts.
3. Futures-Tuned Risk Management
The risk system is built for futures, calculating position sizes based on $ risk and offering flexible stops/TPs.
Position Sizing:
Logic: Risk per trade (default: $300) ÷ (stop distance in points * point value) = contracts, capped at max_contracts (default: 5). Point value = tick value (e.g., $12.5 for ES) * ticks per point (4) * contract multiplier (1 for ES, 0.1 for MES).
Example: $300 risk, 8-point stop, ES ($50/point) → 0.75 contracts, rounded to 1.
Impact: Precise sizing prevents over-leverage, critical for micro contracts like MES.
Stops and Take-Profits:
Fixed: Default stop = 8 points, TP = 16 points (2:1 reward/risk).
ATR-Based: Stop = 1.5x ATR (default), TP = 3x ATR, enabled via use_atr_for_stops.
Logic: Stops set at swing low/high ± stop distance; TPs at 2x stop distance from entry.
Impact: ATR stops adapt to volatility, while fixed stops suit stable markets.
Trailing Stops:
Logic: Activates at 50% of TP distance. Trails at close ± 1.5x ATR (atr_multiplier). Longs: max(trail_stop_long, close - ATR * 1.5); shorts: min(trail_stop_short, close + ATR * 1.5).
Impact: Locks in profits during trends, a game-changer in volatile sessions.
Circuit Breaker:
Logic: Pauses trading if daily drawdown > 5% (daily_drawdown = (max_equity - equity) / max_equity).
Impact: Protects capital during black swan events (e.g., April 27, 2025 ES slippage).
Why It’s Brilliant:
Futures-specific inputs (tick value, multiplier) make it plug-and-play for ES/MES.
Trailing stops and circuit breaker add pro-level safety, rare in off-the-shelf scripts.
Flexible stops (ATR or fixed) suit different trading styles.
4. Trade Entry and Exit Logic
Entries and exits are precise, driven by bull_score/bear_score and protected by drawdown checks.
Entry Conditions:
Long: bull_score ≥ 1.0, no position (position_size <= 0), drawdown < 5% (not pause_trading). Calculates contracts, sets stop at swing low - stop points, TP at 2x stop distance.
Short: bear_score ≥ 1.0, position_size >= 0, drawdown < 5%. Stop at swing high + stop points, TP at 2x stop distance.
Logic: Tracks entry_regime for PNL arrays. Closes opposite positions before entering.
Exit Conditions:
Stop-Loss/Take-Profit: Hits stop or TP (strategy.exit).
Trailing Stop: Activates at 50% TP, trails by ATR * 1.5.
Emergency Exit: Closes if price breaches stop (close < long_stop_price or close > short_stop_price).
Reset: Clears stop/TP prices when flat (position_size = 0).
Why It’s Brilliant:
Score-based entries ensure multi-factor confirmation, filtering out weak signals.
Trailing stops maximize profits in trends, unlike static exits in basic scripts.
Emergency exits add an extra safety layer, critical for futures volatility.
5. DAFE Visuals
The visuals are pure DAFE magic, blending function with cyberpunk flair to make signals intuitive and charts stunning.
Shimmering Bollinger Band Fill:
Display: BB basis (20, white), upper/lower (green/red, 45% transparent). Fill pulses (30–50 alpha) by regime, with glow (60–95 alpha) near bands (close ≥ 0.995x upper or ≤ 1.005x lower).
Purpose: Highlights volatility and key levels with a futuristic glow.
Visuals make complex regimes and signals instantly clear, even for newbies.
Pulsing effects and regime-specific colors add a DAFE signature, setting it apart from generic scripts.
BB glow emphasizes tradeable levels, enhancing decision-making.
Chart Background (Regime Heatmap):
Green — Trending Market: Strong, sustained price movement in one direction. The market is in a trend phase—momentum follows through.
Orange — Range-Bound: Market is consolidating or moving sideways, with no clear up/down trend. Great for mean reversion setups.
Red — Volatile Regime: High volatility, heightened risk, and larger/faster price swings—trade with caution.
Gray — Quiet/Low Volatility: Market is calm and inactive, with small moves—often poor conditions for most strategies.
Navy — Other/Neutral: Regime is uncertain or mixed; signals may be less reliable.
Bollinger Bands Glow (Dynamic Fill):
Neon Red Glow — Warning!: Price is near or breaking above the upper band; momentum is overstretched, watch for overbought conditions or reversals.
Bright Green Glow — Opportunity!: Price is near or breaking below the lower band; market could be oversold, prime for bounce or reversal.
Trend Green Fill — Trending Regime: Fills between bands with green when the market is trending, showing clear momentum.
Gold/Yellow Fill — Range Regime: Fills with gold/aqua in range conditions, showing the market is sideways/oscillating.
Magenta/Red Fill — Volatility Spike: Fills with vivid magenta/red during highly volatile regimes.
Blue Fill — Neutral/Quiet: A soft blue glow for other or uncertain market states.
Moving Averages:
Display: Blue fast EMA (20), red slow EMA (50), 2px.
Purpose: Shows trend direction, with trend_dir requiring ATR-scaled spread.
Dynamic SL/TP Lines:
Display: Pulsing colors (red SL, green TP for Trending; yellow/orange for Range, etc.), 3px, with pulse_alpha for shimmer.
Purpose: Tracks stops/TPs in real-time, color-coded by regime.
6. Dual Dashboards
Two dashboards deliver real-time insights, making the strat a quant command center.
Bottom-Left Metrics Dashboard (2x13):
Metrics: Mode (Active/Paused), trend (Bullish/Bearish/Neutral), ATR, ATR avg, volume spike (YES/NO), RSI (value + Oversold/Overbought/Neutral), HTF RSI, HTF trend, last signal (Buy/Sell/None), regime, bull score.
Display: Black (29% transparent), purple title, color-coded (green for bullish, red for bearish).
Purpose: Consolidates market context and signal strength.
Top-Right Position Dashboard (2x7):
Metrics: Regime, position side (Long/Short/None), position PNL ($), SL, TP, daily PNL ($).
Display: Black (29% transparent), purple title, color-coded (lime for Long, red for Short).
Purpose: Tracks live trades and profitability.
Why It’s Brilliant:
Dual dashboards cover market context and trade status, a rare feature.
Color-coding and concise metrics guide beginners (e.g., green “Buy” = go).
Real-time PNL and SL/TP visibility empower disciplined trading.
7. Performance Tracking
Logic: Arrays (regime_pnl_long/short, regime_win/loss_long/short) track PNL and win/loss by regime (1–5). Updated on trade close (barstate.isconfirmed).
Purpose: Prepares for future adaptive thresholds (e.g., adjust bull_score min based on regime performance).
Why It’s Brilliant: Lays the groundwork for self-optimizing logic, a quant edge over static scripts.
Key Features
Regime-Adaptive: Optimizes signals for Trending, Range, Volatile, Quiet markets.
Futures-Optimized: Precise sizing for ES/MES with tick-based risk inputs.
Multi-Factor Signals: Candlestick patterns, RSI, MACD, and HTF confirmation for robust entries.
Dynamic Exits: ATR/fixed stops, 2:1 TPs, and trailing stops maximize profits.
Safe and Smart: 5% drawdown breaker and emergency exits protect capital.
DAFE Visuals: Shimmering BB fill, pulsing SL/TP, and dual dashboards.
Backtest-Ready: Fixed qty and tick calc for accurate historical testing.
How to Use
Add to Chart: Load on a 5min ES/MES chart in TradingView.
Configure Inputs: Set instrument (ES/MES), tick value ($12.5/$1.25), multiplier (1/0.1), risk ($300 default). Enable ATR stops for volatility.
Monitor Dashboards: Bottom-left for regime/signals, top-right for position/PNL.
Backtest: Run in strategy tester to compare regimes.
Live Trade: Connect to Tradovate or similar. Watch for slippage (e.g., April 27, 2025 ES issues).
Replay Test: Try April 28, 2025 NQ drop to see regime shifts and stops.
Disclaimer
Trading futures involves significant risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Backtest results may differ from live trading due to slippage, fees, or market conditions. Use this strategy at your own risk, and consult a financial advisor before trading. Dskyz (DAFE) Trading Systems is not responsible for any losses incurred.
Backtesting:
Frame: 2023-09-20 - 2025-04-29
Slippage: 3
Fee Typical Range (per side, per contract)
CME Exchange $1.14 – $1.20
Clearing $0.10 – $0.30
NFA Regulatory $0.02
Firm/Broker Commis. $0.25 – $0.80 (retail prop)
TOTAL $1.60 – $2.30 per side
Round Turn: (enter+exit) = $3.20 – $4.60 per contract
Final Notes
The Dskyz (DAFE) Adaptive Regime - Quant Machine Pro is more than a strategy—it’s a revolution. Crafted with DAFE’s signature precision, it rises above generic scripts with adaptive regimes, quant-grade signals, and visuals that make trading a thrill. Whether you’re scalping MES or swinging ES, this system empowers you to navigate markets with confidence and style. Join the DAFE crew, light up your charts, and let’s dominate the futures game!
(This publishing will most likely be taken down do to some miscellaneous rule about properly displaying charting symbols, or whatever. Once I've identified what part of the publishing they want to pick on, I'll adjust and repost.)
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
Created by Dskyz, powered by DAFE Trading Systems. Trade smart, trade bold.
BollingerBands MTF | AlchimistOfCrypto🌌 Bollinger Bands – Unveiling Market Volatility Fields 🌌
"The Bollinger Bands, reimagined through quantum mechanics principles, visualizes the probabilistic distribution of price movements within a multi-dimensional volatility field. This indicator employs principles from wave function mathematics where standard deviation creates probabilistic boundaries, similar to electron cloud models in quantum physics. Our implementation features algorithmically enhanced visualization derived from extensive mathematical modeling, creating a dynamic representation of volatility compression and expansion cycles with adaptive glow effects that highlight the critical moments where volatility phase transitions occur."
📊 Professional Trading Application
The Bollinger Bands Quantum transcends traditional volatility measurement with a sophisticated gradient illumination system that reveals the underlying structure of market volatility fields. Scientifically calibrated for multiple timeframes and featuring eight distinct visual themes, it enables traders to perceive volatility contractions and expansions with unprecedented clarity.
⚙️ Indicator Configuration
- Volatility Field Parameters 📏
Python-optimized settings for specific market conditions:
- Period: 20 (default) - The quantum time window for volatility calculation
- StdDev Multiplier: 2.0 - The probabilistic boundary coefficient
- MA Type: SMA/EMA/VWMA/WMA/RMA - The quantum field smoothing algorithm
- Visual Theming 🎨
Eight scientifically designed visual palettes optimized for volatility pattern recognition:
- Neon (default): High-contrast green/red scheme enhancing volatility transition visibility
- Cyan-Magenta: Vibrant palette for maximum volatility boundary distinction
- Yellow-Purple: Complementary colors for enhanced compression/expansion detection
- Specialized themes (Green-Red, Forest Green, Blue Ocean, Orange-Red, Grayscale): Each calibrated for different market environments
- Opacity Control 🔍
- Variable transparency system (0-100) allowing seamless integration with price action
- Adaptive glow effect that intensifies during volatility phase transitions
- Quantum field visualization that reveals the probabilistic nature of price movements
🚀 How to Use
1. Select Visualization Parameters ⏰: Adjust period and standard deviation to match market conditions
2. Choose MA Type 🎚️: Select the appropriate smoothing algorithm for your trading strategy
3. Select Visual Theme 🌈: Choose a color scheme that enhances your personal pattern recognition
4. Adjust Opacity 🔎: Fine-tune visualization intensity to complement your chart analysis
5. Identify Volatility Phases ✅: Monitor band width to detect compression (pre-breakout) and expansion (trend)
6. Trade with Precision 🛡️: Enter during band contraction for breakouts, or trade mean reversion using band boundaries
7. Manage Risk Dynamically 🔐: Use band width as volatility-based position sizing parameter
Polygot Moving AveragesDescription
This is essentially a source merger of Bollinger Bands by Trading View and Simple Moving Averages by stoxxinbox. My additions and subtractions are minimal. There is the BB MA, which I default at 5d, and the other 4 averages are the standard 21, 50, 100, 200, day moving averages. I default the averaging method to WMA (Weighted Moving Average). The method of averaging can be changed as also can the lengths of the inputs to match user preferences. This is what I wanted for an indicator and didn't find.
Usage
The same as you would use any other BB or MA indicator. The benefit of this one is that it has 4 MAs, one MA with the Bollinger Bands attached, and the colours adjusted to be easy on the eyes when using high contrast themes, to be discernible yet sit quietly in the background with lines and candle sticks everywhere shouting for attention. I use it as a base first indicator which I can hide easily (imagine hiding five MA indicators individually constantly) when the more serious indicators come into play.