Dskyz (DAFE) MAtrix with ATR-Powered Precision Dskyz (DAFE) MAtrix with ATR-Powered Precision
This cutting‐edge futures trading strategy built to thrive in rapidly changing market conditions. Developed for high-frequency futures trading on instruments such as the CME Mini MNQ, this strategy leverages a matrix of sophisticated moving averages combined with ATR-based filters to pinpoint high-probability entries and exits. Its unique combination of adaptable technical indicators and multi-timeframe trend filtering sets it apart from standard strategies, providing enhanced precision and dynamic responsiveness.
imgur.com
Core Functional Components
1. Advanced Moving Averages
A distinguishing feature of the DAFE strategy is its robust, multi-choice moving averages (MAs). Clients can choose from a wide array of MAs—each with specific strengths—in order to fine-tune their trading signals. The code includes user-defined functions for the following MAs:
imgur.com
Hull Moving Average (HMA):
The hma(src, len) function calculates the HMA by using weighted moving averages (WMAs) to reduce lag considerably while smoothing price data. This function computes an intermediate WMA of half the specified length, then a full-length WMA, and finally applies a further WMA over the square root of the length. This design allows for rapid adaptation to price changes without the typical delays of traditional moving averages.
Triple Exponential Moving Average (TEMA):
Implemented via tema(src, len), TEMA uses three consecutive exponential moving averages (EMAs) to effectively cancel out lag and capture price momentum. The final formula—3 * (ema1 - ema2) + ema3—produces a highly responsive indicator that filters out short-term noise.
Double Exponential Moving Average (DEMA):
Through the dema(src, len) function, DEMA calculates an EMA and then a second EMA on top of it. Its simplified formula of 2 * ema1 - ema2 provides a smoother curve than a single EMA while maintaining enhanced responsiveness.
Volume Weighted Moving Average (VWMA):
With vwma(src, len), this MA accounts for trading volume by weighting the price, thereby offering a more contextual picture of market activity. This is crucial when volume spikes indicate significant moves.
Zero Lag EMA (ZLEMA):
The zlema(src, len) function applies a correction to reduce the inherent lag found in EMAs. By subtracting a calculated lag (based on half the moving average window), ZLEMA is exceptionally attuned to recent price movements.
Arnaud Legoux Moving Average (ALMA):
The alma(src, len, offset, sigma) function introduces ALMA—a type of moving average designed to be less affected by outliers. With parameters for offset and sigma, it allows customization of the degree to which the MA reacts to market noise.
Kaufman Adaptive Moving Average (KAMA):
The custom kama(src, len) function is noteworthy for its adaptive nature. It computes an efficiency ratio by comparing price change against volatility, then dynamically adjusts its smoothing constant. This results in an MA that quickly responds during trending periods while remaining smoothed during consolidation.
Each of these functions—integrated into the strategy—is selectable by the trader (via the fastMAType and slowMAType inputs). This flexibility permits the tailored application of the MA most suited to current market dynamics and individual risk management preferences.
2. ATR-Based Filters and Risk Controls
ATR Calculation and Volatility Filter:
The strategy computes the Average True Range (ATR) over a user-defined period (atrPeriod). ATR is then used to derive both:
Volatility Assessment: Expressed as a ratio of ATR to closing price, ensuring that trades are taken only when volatility remains within a safe, predefined threshold (volatilityThreshold).
ATR-Based Entry Filters: Implemented as atrFilterLong and atrFilterShort, these conditions ensure that for long entries the price is sufficiently above the slow MA and vice versa for shorts. This acts as an additional confirmation filter.
Dynamic Exit Management:
The exit logic employs a dual approach:
Fixed Stop and Profit Target: Stops and targets are set at multiples of ATR (fixedStopMultiplier and profitTargetATRMult), helping manage risk in volatile markets.
Trailing Stop Adjustments: A trailing stop is calculated using the ATR multiplied by a user-defined offset (trailOffset), which captures additional profits as the trade moves favorably while protecting against reversals.
3. Multi-Timeframe Trend Filtering
The strategy enhances its signal reliability by leveraging a secondary, higher timeframe analysis:
15-Minute Trend Analysis:
By retrieving 15-minute moving averages (fastMA15m and slowMA15m) via request.security, the strategy determines the broader market trend. This secondary filter (enabled or disabled through useTrendFilter) ensures that entries are aligned with the prevailing market direction, thereby reducing the incidence of false signals.
4. Signal and Execution Logic
Combined MA Alignment:
The entry conditions are based primarily on the alignment of the fast and slow MAs. A long condition is triggered when the current price is above both MAs and the fast MA is above the slow MA—complemented by the ATR filter and volume conditions. The reverse applies for a short condition.
Volume and Time Window Validation:
Trades are permitted only if the current volume exceeds a minimum (minVolume) and the current hour falls within the predefined trading window (tradingStartHour to tradingEndHour). An additional volume spike check (comparing current volume to a moving average of past volumes) further filters for optimal market conditions.
Comprehensive Order Execution:
The strategy utilizes flexible order execution functions that allow pyramiding (up to 10 positions), ensuring that it can scale into positions as favorable conditions persist. The use of both market entries and automated exits (with profit targets, stop-losses, and trailing stops) ensures that risk is managed at every step.
5. Integrated Dashboard and Metrics
For transparency and real-time analysis, the strategy includes:
On-Chart Visualizations:
Both fast and slow MAs are plotted on the chart, making it easy to see the market’s technical foundation.
Dynamic Metrics Dashboard:
A built-in table displays crucial performance statistics—including current profit/loss, equity, ATR (both raw and as a percentage), and the percentage gap between the moving averages. These metrics offer immediate insight into the health and performance of the strategy.
Input Parameters: Detailed Breakdown
Every input is meticulously designed to offer granular control:
Fast & Slow Lengths:
Determine the window size for the fast and slow moving averages. Smaller values yield more sensitivity, while larger values provide a smoother, delayed response.
Fast/Slow MA Types:
Choose the type of moving average for fast and slow signals. The versatility—from basic SMA and EMA to more complex ones like HMA, TEMA, ZLEMA, ALMA, and KAMA—allows customization to fit different market scenarios.
ATR Parameters:
atrPeriod and atrMultiplier shape the volatility assessment, directly affecting entry filters and risk management through stop-loss and profit target levels.
Trend and Volume Filters:
Inputs such as useTrendFilter, minVolume, and the volume spike condition help confirm that a trade occurs in active, trending markets rather than during periods of low liquidity or market noise.
Trading Hours:
Restricting trade execution to specific hours (tradingStartHour and tradingEndHour) helps avoid illiquid or choppy markets outside of prime trading sessions.
Exit Strategies:
Parameters like trailOffset, profitTargetATRMult, and fixedStopMultiplier provide multiple layers of risk management and profit protection by tailoring how exits are generated relative to current market conditions.
Pyramiding and Fixed Trade Quantity:
The strategy supports multiple entries within a trend (up to 10 positions) and sets a predefined trade quantity (fixedQuantity) to maintain consistent exposure and risk per trade.
Dashboard Controls:
The resetDashboard input allows for on-the-fly resetting of performance metrics, keeping the strategy’s performance dashboard accurate and up-to-date.
Why This Strategy is Truly Exceptional
Multi-Faceted Adaptability:
The ability to switch seamlessly between various moving average types—each suited to particular market conditions—enables the strategy to adapt dynamically. This is a testament to the high level of coding sophistication and market insight infused within the system.
Robust Risk Management:
The integration of ATR-based stops, profit targets, and trailing stops ensures that every trade is executed with well-defined risk parameters. The system is designed to mitigate unexpected market swings while optimizing profit capture.
Comprehensive Market Filtering:
By combining moving average crossovers with volume analysis, volatility thresholds, and multi-timeframe trend filters, the strategy only enters trades under the most favorable conditions. This multi-layered filtering reduces noise and enhances signal quality.
-Final Thoughts-
The Dskyz Adaptive Futures Elite (DAFE) MAtrix with ATR-Powered Precision strategy is not just another trading algorithm—it is a multi-dimensional, fully customizable system built on advanced technical principles and sophisticated risk management techniques. Every function and input parameter has been carefully engineered to provide traders with a system that is both powerful and transparent.
For clients seeking a state-of-the-art trading solution that adapts dynamically to market conditions while maintaining strict discipline in risk management, this strategy truly stands in a class of its own.
****Please show support if you enjoyed this strategy. I'll have more coming out in the near future!!
-Dskyz
Caution
DAFE is experimental, not a profit guarantee. Futures trading risks significant losses due to leverage. Backtest, simulate, and monitor actively before live use. All trading decisions are your responsibility.
Trend Analysis
PBOC Balance Sheet (Approx USD Trillions)This indicator displays the People's Bank of China (PBOC) Balance Sheet in approximate USD trillions, converted from CNY data (ECONOMICS:CNCBBS) using a fixed exchange rate of 1 USD ≈ 7 CNY. The data is smoothed with a 3-month SMA and plotted as a black line in a separate pane, with a reference line at 6.0 USD trillions. Ideal for analyzing long-term macroeconomic trends and correlations with other financial metrics like bond yields or asset prices, it includes error handling for missing data to ensure reliable visualization.
China 10-Year Yield Inverted with Time Lead (Months)The "China 10-Year Yield Inverted with Time Lead (Months)" indicator is a Pine Script tool for TradingView that displays the inverted China 10-Year Government Bond Yield (sourced from TVC:CN10Y) with a user-defined time lead or lag in months. The yield is inverted by multiplying it by -1, making a rising yield appear as a downward movement and vice versa, which helps visualize inverse correlations with other assets. Users can input the number of months to shift the yield forward (lead) or backward (lag), with the shift calculated based on the chart’s timeframe (e.g., 20 bars per month on daily charts). The indicator plots the shifted, inverted yield as a blue line in a separate pane, with a zero line for reference, enabling traders to analyze leading or lagging relationships with other financial data, such as the PBOC Balance Sheet or Bitcoin price.
ICT MACRO MAX RETRI ( ALERT )🖤 ICT Reversal Detector – Minimalist Edition
This indicator is designed for traders who follow Inner Circle Trader (ICT) concepts, particularly focused on liquidity sweeps and displacement reversals.
It detects:
• Swing Highs & Lows that occur during the most reactive windows of each hour
→ Specifically the last 20 minutes and first 15 minutes
(ICT teaches these moments often reveal macro-level reversals. I’ve expanded the window slightly to give the indicator more room to catch valid setups.)
• Liquidity Sweeps of previous highs/lows
• Displacement (State Change): defined as a manipulation wick followed by 1–3 strong candles closing in the opposite direction
Visually:
• Clean black lines pointing right from the liquidity sweep wick
• White triangle markers inside black label boxes only when valid displacement occurs
• No clutter, no unnecessary shapes — just focused signal
Built for:
• 5-minute charts, especially NASDAQ (NAS100) and S&P 500 (SPX500)
• Confirm setups manually on the 15-minute chart for extra precision
This is a partial automation tool for ICT-style reversal traders who prefer clarity, minimalism, and sharp intuition over noise.
Let it alert you to setups — then decide like a sniper.
FVG, Swing, Target, D/W/M High Low Detector Basic by Trader Riaz"FVG, Swing, Target, D/W/M High Low Detector Basic by Trader Riaz " is a powerful TradingView indicator designed to enhance your trading strategy by identifying key market structures and levels. This all-in-one tool detects Fair Value Gaps (FVGs), Swing Highs/Lows, and previous Day, Previous Week, and Previous Month Highs/Lows, helping traders make informed decisions with ease.
Key Features:
Bullish & Bearish FVG Detection: Highlights Fair Value Gaps with customizable colors, labels, and extension options.
Swing Highs & Lows: Automatically detects and marks Swing Highs and Lows with adjustable display settings and extensions.
Next Target Levels: Identifies potential price targets based on market direction (rising or falling).
Daily, Weekly, and Monthly High/Low Levels: Displays previous day, week, and month highs/lows with customizable colors.
Customizable Settings: Fully adjustable inputs for colors, number of levels to display, and extension periods.
Clean Visuals: Intuitive and non-intrusive design with dashed lines, labels, and tooltips for better chart readability.
This indicator is ideal for traders looking to identify key price levels, improve market structure analysis, and enhance their trading strategies.
Happy Trading,
Trader Riaz
Long Short Lien TucRSI Long Short Continuum
The RSI Long Short Continuum unveils a meticulously engineered paradigm for decoding market momentum, transcending the rudimentary confines of the traditional Relative Strength Index (RSI). By orchestrating a symphony of Exponential Moving Average (EMA) and Weighted Moving Average (WMA) dynamics, this indicator distills the chaotic oscillations of price action into a refined lattice of actionable signals. Its esoteric methodology probes the undercurrents of trend expansion and contraction, harnessing real-time price flux to illuminate pivotal junctures of market intent.
Core Constructs:
• RSI (Period 14): A sentinel of momentum, its chromatic transmutations—crimson at ≥80, verdant at ≤20—herald zones of exuberance or capitulation.
• EMA (Period 9) of RSI: A mercurial filter that tempers the RSI’s caprice, tracing the ephemeral shifts in market fervor with surgical precision.
• WMA (Period 45) of RSI: An anchor of gravitas, weaving a tapestry of long-term momentum to sieve transient noise from enduring trends.
• Trend Expansion Logic: A proprietary calculus that discerns anomalous divergences between RSI and WMA, auguring moments of kinetic eruption or subsidence.
• Real-Time Signal Nexus: By interrogating live candle data, the indicator conjures buy and sell sigils—triangular glyphs of intent—poised at the precipice of momentum reversal.
Operational Codex:
The Continuum operates as a dualistic oracle, simultaneously charting the ebb of momentum and the crescendo of trend potential. Its signals emerge from a confluence of arcane conditions:
• Buy Signals: Manifest when RSI ascends past the EMA in the wake of a downtrend’s distension, with the EMA’s curvature aligning toward convergence with the WMA. The slope of the EMA, ascending gently, corroborates the nascent resurgence, while a disciplined proximity between EMA and WMA ensures fidelity.
• Sell Signals: Crystallize as RSI descends beneath the EMA following an uptrend’s apogee, with the EMA’s declivity and narrowing EMA-WMA interstice heralding exhaustion. The antecedent trend’s vigor, now waning, validates the signal’s portent.
• Trend Divination: The EMA’s ascent above the WMA augurs a burgeoning momentum, while its descent portends enervation. The indicator’s vigilance over trend expansion—gauged through aberrant RSI-WMA disparities—unveils moments of latent reversal.
Distinction from Orthodoxy:
Unlike the prosaic RSI, tethered to static thresholds of overbought and oversold, the Continuum probes deeper strata of market dynamics. Its fusion of EMA slope analysis, WMA-referenced trend anchoring, and real-time divergence detection transcends conventional momentum paradigms. By eschewing the banal reliance on fixed levels, it navigates the liminal spaces of price flux, offering prescience where others falter.
Application Mandala:
• Optimal Context: The Continuum thrives in the crucible of short-term frameworks—5 to 15-minute charts—where its real-time alchemy captures fleeting dislocations in forex, equities, or volatile indices.
• Strategic Deployment: Seek buy signals in the aftermath of oversold retrenchments, corroborated by EMA-WMA convergence; deploy sell signals at the zenith of overbought exuberance, tempered by trend exhaustion cues.
• Complementary Synthesis: Augment with support/resistance confluences or volume surges to refine entry precision.
Caveat Emporium:
This construct serves as a lens for technical divination, not an infallible prophecy. Markets, in their probabilistic dance, elude certainty. Practitioners are adjured to wield robust risk protocols and seek confluence across manifold analytical vectors before committing capital.
Global M2 10-Week Lead (for bitcoin)This script displays a combined view of the Global M2 Money Supply, converted to USD and adjusted with a configurable forward lead (default 10 weeks). It is designed to help visualize macro liquidity trends and anticipate potential impacts on Bitcoin price movements across any timeframe.
🔹 Main Features:
- Aggregates M2 data from 18 countries and regions including the USA, Eurozone, China, Japan, and more.
- All M2 values are converted to USD using respective exchange rates.
- Customizable “Slide Weeks Forward” setting lets you project global liquidity data into the future.
- Works on all timeframes by adjusting the projection logic dynamically.
- Toggle each country’s data on or off to customize the liquidity model.
💡 Use Case:
Global liquidity is often a leading indicator for major asset classes. This tool helps traders and analysts assess macro-level trends and their potential influence on Bitcoin by looking at changes in M2 money supply worldwide.
💡 Inspired By:
This tool mimics the Global M2 10-Week Lead liquidity indicator often referenced by Raoul Pal of Real Vision and Global Macro Investor, used for macro analysis and Bitcoin movement prediction.
📊 Note:
All economic and FX data is sourced from TradingView’s built-in datasets (ECONOMICS and FX_IDC). Data availability may vary depending on your plan.
Heiken Ashi Supertrend ADXHeiken Ashi Supertrend ADX Indicator
Overview
This indicator combines the power of Heiken Ashi candles, Supertrend indicator, and ADX filter to identify strong trend movements across multiple timeframes. Designed primarily for the cryptocurrency market but adaptable to any tradable asset, this system focuses on capturing momentum in established trends while employing a sophisticated triple-layer stop loss mechanism to protect capital and secure profits.
Strategy Mechanics
Entry Signals
The strategy uses a unique blend of technical signals to identify high-probability trade entries:
Heiken Ashi Candles: Looks specifically for Heiken Ashi candles with minimal or no wicks, which signal strong momentum and trend continuation. These "full-bodied" candles represent periods where price moved decisively in one direction with minimal retracement. These are overlayed onto normal candes for more accuarte signalling and plotting
Supertrend Filter: Confirms the underlying trend direction using the Supertrend indicator (default factor: 3.0, ATR period: 10). Entries are aligned with the prevailing Supertrend direction.
ADX Filter (Optional) : Can be enabled to focus only on stronger trending conditions, filtering out choppy or ranging markets. When enabled, trades only trigger when ADX is above the specified threshold (default: 25).
Exit Signals
Positions are closed when either:
An opposing signal appears (Heiken Ashi candle with no wick in the opposite direction)
Any of the three stop loss mechanisms are triggered
Triple-Layer Stop Loss System
The strategy employs a sophisticated three-tier stop loss approach:
ATR Trailing Stop: Adapts to market volatility and locks in profits as the trend extends. This stop moves in the direction of the trade, capturing profit without exiting too early during normal price fluctuations.
Swing Point Stop: Uses natural market structure (recent highs/lows over a lookback period) to place stops at logical support/resistance levels, honoring the market's own rhythm.
Insurance Stop: A percentage-based safety net that protects against sudden adverse moves immediately after entry. This is particularly valuable when the swing point stop might be positioned too far from entry, providing immediate capital protection.
Optimization Features
Customizable Filters : All components (Supertrend, ADX) can be enabled/disabled to adapt to different market conditions
Adjustable Parameters : Fine-tune ATR periods, Supertrend factors, and ADX thresholds
Flexible Stop Loss Settings : Each of the three stop loss mechanisms can be individually enabled/disabled with customizable parameters
Best Practices for Implementation
[Recommended Timeframes : Works best on 4-hour charts and above, where trends develop more reliably
Market Conditions: Performs well across various market conditions due to the ADX filter's ability to identify meaningful trends
Performance Characteristics
When properly optimized, this has demonstrated profit factors exceeding 3 in backtesting. The approach typically produces generous winners while limiting losses through its multi-layered stop loss system. The ATR trailing stop is particularly effective at capturing extended trends, while the insurance stop provides immediate protection against adverse moves.
The visual components on the chart make it easy to follow the strategy's logic, with position status, entry prices, and current stop levels clearly displayed.
This indicator represents a complete trading system with clearly defined entry and exit rules, adaptive stop loss mechanisms, and built-in risk management through position sizing.
Heiken Ashi Supertrend ADX - StrategyHeiken Ashi Supertrend ADX Strategy
Overview
This strategy combines the power of Heiken Ashi candles, Supertrend indicator, and ADX filter to identify strong trend movements across multiple timeframes. Designed primarily for the cryptocurrency market but adaptable to any tradable asset, this system focuses on capturing momentum in established trends while employing a sophisticated triple-layer stop loss mechanism to protect capital and secure profits.
Strategy Mechanics
Entry Signals
The strategy uses a unique blend of technical signals to identify high-probability trade entries:
Heiken Ashi Candles: Looks specifically for Heiken Ashi candles with minimal or no wicks, which signal strong momentum and trend continuation. These "full-bodied" candles represent periods where price moved decisively in one direction with minimal retracement.
Supertrend Filter : Confirms the underlying trend direction using the Supertrend indicator (default factor: 3.0, ATR period: 10). Entries are aligned with the prevailing Supertrend direction.
ADX Filter (Optional) : Can be enabled to focus only on stronger trending conditions, filtering out choppy or ranging markets. When enabled, trades only trigger when ADX is above the specified threshold (default: 25).
Exit Signals
Positions are closed when either:
An opposing signal appears (Heiken Ashi candle with no wick in the opposite direction)
Any of the three stop loss mechanisms are triggered
Triple-Layer Stop Loss System
The strategy employs a sophisticated three-tier stop loss approach:
ATR Trailing Stop: Adapts to market volatility and locks in profits as the trend extends. This stop moves in the direction of the trade, capturing profit without exiting too early during normal price fluctuations.
Swing Point Stop : Uses natural market structure (recent highs/lows over a lookback period) to place stops at logical support/resistance levels, honoring the market's own rhythm.
Insurance Stop: A percentage-based safety net that protects against sudden adverse moves immediately after entry. This is particularly valuable when the swing point stop might be positioned too far from entry, providing immediate capital protection.
Optimization Features
Customizable Filters: All components (Supertrend, ADX) can be enabled/disabled to adapt to different market conditions
Adjustable Parameters: Fine-tune ATR periods, Supertrend factors, and ADX thresholds
Flexible Stop Loss Settings: Each of the three stop loss mechanisms can be individually enabled/disabled with customizable parameters
Best Practices for Implementation
Recommended Timeframes: Works best on 4-hour charts and above, where trends develop more reliably
Market Conditions: Performs well across various market conditions due to the ADX filter's ability to identify meaningful trends
Position Sizing: The strategy uses a percentage of equity approach (default: 3%) for position sizing
Performance Characteristics
When properly optimized, this strategy has demonstrated profit factors exceeding 3 in backtesting. The approach typically produces generous winners while limiting losses through its multi-layered stop loss system. The ATR trailing stop is particularly effective at capturing extended trends, while the insurance stop provides immediate protection against adverse moves.
The visual components on the chart make it easy to follow the strategy's logic, with position status, entry prices, and current stop levels clearly displayed.
This strategy represents a complete trading system with clearly defined entry and exit rules, adaptive stop loss mechanisms, and built-in risk management through position sizing.
Vwap Vision #WhiteRabbitVWAP Vision #WhiteRabbit
This Pine Script (version 5) script implements a comprehensive trading indicator called "VWAP Vision #WhiteRabbit," designed for analyzing price movements using the Volume-Weighted Average Price (VWAP) along with multiple customizable features, including adjustable color themes for better visual appeal.
Features:
Customizable Color Themes:
Choose from four distinct themes: Classic, Dark Mode, Fluo, and Phil, enhancing the visual layout to match user preferences.
VWAP Calculation:
Uses standard VWAP calculations based on selected anchor periods (Session, Week, Month, etc.) to help identify price trends.
Band Settings:
Multiple bands are calculated based on standard deviations or percentages, with customization options to configure buy/sell zones and liquidity levels.
Buy/Sell Signals:
Generates clear buy and sell signals based on price interactions with the calculated bands and the exponential moving average (EMA).
Real-time Data Display:
Displays real-time signals and VWAP values for selected trading instruments, including XAUUSD, NAS100, and BTCUSDT, along with related alerts for trading opportunities.
Volatility Analysis:
Incorporates volatility metrics using the Average True Range (ATR) to assess market conditions and inform trading decisions.
Enhanced Table Displays:
Provides tables for clear visualization of trading signals, real-time data, and performance metrics.
This script is perfect for traders looking to enhance their analysis and gain insights for making informed trading decisions across various market conditions.
Leavitt Convolution ProbabilityTechnical Analysis of Markets with Leavitt Market Projections and Associated Convolution Probability
The aim of this study is to present an innovative approach to market analysis based on the research "Leavitt Market Projections." This technical tool combines one indicator and a probability function to enhance the accuracy and speed of market forecasts.
Key Features
Advanced Indicators : the script includes the Convolution line and a probability oscillator, designed to anticipate market changes. These indicators provide timely signals and offer a clear view of price dynamics.
Convolution Probability Function : The Convolution Probability (CP) is a key element of the script. A significant increase in this probability often precedes a market decline, while a decrease in probability can signal a bullish move. The Convolution Probability Function:
At each bar, i, the linear regression routine finds the two parameters for the straight line: y=mix+bi.
Standard deviations can be calculated from the sequence of slopes, {mi}, and intercepts, {bi}.
Each standard deviation has a corresponding probability.
Their adjusted product is the Convolution Probability, CP. The construction of the Convolution Probability is straightforward. The adjusted product is the probability of one times 1− the probability of the other.
Customizable Settings : Users can define oversold and overbought levels, as well as set an offset for the linear regression calculation. These options allow for tailoring the script to individual trading strategies and market conditions.
Statistical Analysis : Each analyzed bar generates regression parameters that allow for the calculation of standard deviations and associated probabilities, providing an in-depth view of market dynamics.
The results from applying this technical tool show increased accuracy and speed in market forecasts. The combination of Convolution indicator and the probability function enables the identification of turning points and the anticipation of market changes.
Additional information:
Leavitt, in his study, considers the SPY chart.
When the Convolution Probability (CP) is high, it indicates that the probability P1 (related to the slope) is high, and conversely, when CP is low, P1 is low and P2 is high.
For the calculation of probability, an approximate formula of the Cumulative Distribution Function (CDF) has been used, which is given by: CDF(x)=21(1+erf(σ2x−μ)) where μ is the mean and σ is the standard deviation.
For the calculation of probability, the formula used in this script is: 0.5 * (1 + (math.sign(zSlope) * math.sqrt(1 - math.exp(-0.5 * zSlope * zSlope))))
Conclusions
This study presents the approach to market analysis based on the research "Leavitt Market Projections." The script combines Convolution indicator and a Probability function to provide more precise trading signals. The results demonstrate greater accuracy and speed in market forecasts, making this technical tool a valuable asset for market participants.
Live Risk On/Off Sentiment Big Basket🔥 Live Risk On/Off Sentiment Indicator 🔥
This indicator provides a clear and immediate assessment of global market risk sentiment by combining multiple key financial instruments across various asset classes. It helps traders quickly gauge whether the market is currently in a risk-on or risk-off environment.
📈 Included Assets:
- Risk-off indicators:** VIX, Gold, US Dollar Index (DXY), US10Y Treasury Yields, TLT (Treasury Bonds)
- Risk-on indicators:** S&P 500 (SPY), Bitcoin (BTC), High Yield Bonds (HYG), AUD/JPY (Forex), Copper/Gold ratio, and Oil (WTI)
🛠️ How it Works:
The indicator calculates a weighted Z-score for each asset, dynamically capturing its performance relative to recent history. Positive values (green) indicate a risk-on sentiment, while negative values (red) suggest a risk-off sentiment.
🚨 Features:
- Fully customizable asset selection and weighting
- Easy-to-understand visual signals
- Adaptable lookback period for short-term and long-term market analysis
💡 How to Use:
- Identify market phases quickly (bullish or bearish sentiment).
- Enhance your decision-making for entries and exits based on broader market conditions.
- Incorporate into any trading strategy to improve alignment with global risk sentiment.
Harness the power of macro analysis and elevate your trading performance!
Enjoy and trade smart! 📊📈
Riseofatrader
Wave Analyzer - Bobal [hamgkia]The Bobal tool is a volume-based wave analyzer designed to highlight the effort behind price movement within trend waves. It is built with a focus on clarity, speed of response, and a Wyckoff-inspired philosophy, where volume and trend direction are deeply intertwined.
This script offers a unique visualization of directional volume flow — up or down — in clearly segmented waves, allowing traders to assess who is in control and how strong their effort is. It does this by calculating dynamic trend waves, accumulating volume within those waves, and comparing volume to volatility for normalization.
🔶 WHAT'S INCLUDED
Detects directional waves based on your selected moving average (SMA, EMA, WMA, or HMA).
Accumulates volume within each wave, creating a distinct "volume block" per wave.
Normalizes volume by ATR (optional) to adjust for current market volatility.
Applies a power function to volume strength for dynamic contrast (stronger waves stand out visually).
Plots volume histograms in real-time: green/orange for up waves, red/fuchsia for down waves.
Optional - displays trend strength background based on recent price expansion vs ATR.
🔷 HOW IT WORKS
Wave Definition
A wave is defined as a sequence of bars moving in the same direction based on a selected moving average:
If the MA rises → uptrend wave
If the MA falls → downtrend wave
Wave resets on direction change.
Volume Accumulation
Volume is accumulated within each wave, starting fresh at the beginning of each new wave. This clean segmentation reveals whether the current wave is attracting participation (volume).
Normalization (Optional)
Volume can be normalized by the ATR (Average True Range) to account for volatility differences across symbols and timeframes. This makes comparisons more meaningful.
Strength Calculation
Volume strength is calculated by comparing current wave volume to the maximum over a recent period (default: 50 bars), and applying a pow() function for expressive scaling. This emphasizes high-effort waves while de-emphasizing noise.
🔶 USAGE
A new wave starts when the selected MA (SMA, EMA, WMA, HMA) changes direction.
Read the Strength of the Current Wave
🟩 — strong up
🟧 — weak up
🟪 — weak down
🟥 — strong down
Look for these setups
📉 Strong down wave 🟥 followed by weak up wave 🟧 — possible lower high, selling may resume.
📈 Strong up wave 🟩 followed by weak down wave 🟪 — possible bullish absorption, look for long setups.
Wave is long, but volume fades (bars shrink) — trend may be slowing, consider tightening stops or avoiding late entries.
Trend is increasing, volumes are growing — potential entry points.
Use Background Strength for Context
🟩 — bright green — strong bullish
🟥 — bright red — strong bearish
Any dim or translucent color — no clear trend
What NOT to do
Don’t enter blindly on volume spikes — check direction and trend background first.
Don’t treat every strong bar as a signal — look for sequences and transitions, not isolated bars.
Ideal Use Cases
Confirming trend strength before entry.
Avoiding fakeouts in low-volume waves.
Spotting transitions in buyer/seller dominance.
Reading market participation in real time.
Daily LevelsOverview:
The Daily Levels indicator plots key price levels from the previous trading day, including the high, low, median (pivot), and projected extensions. These levels help traders identify potential support/resistance zones and anticipate breakout or reversal opportunities.
Key Features:
✅ Previous Day High & Low – Visualizes the prior day’s high and low as dynamic support/resistance levels.
✅ Median (Pivot) Line – Calculates the midpoint between the previous day’s high and low, acting as a key intraday reference.
✅ Projected Levels – Extends the high/low range symmetrically above and below the median, highlighting potential breakout zones.
✅ Customizable Display – Toggle visibility, adjust colors, and modify line styles (solid, dotted, dashed).
✅ Price Labels – Clear on-chart labels showing exact price values for quick reference.
✅ Built-in Alerts – Get notified when price crosses any of the key levels.
How to Use:
Trend Identification: If price holds above the median, the bias is bullish; below suggests bearish momentum.
Breakout Trading: Watch for moves beyond the projected levels for potential continuation.
Mean Reversion: Fade moves toward the previous day’s high/low if the median holds as support/resistance.
Ideal For:
Day Traders – Intraday support/resistance levels.
Swing Traders – Context for multi-day trends.
Breakout/Reversal Strategies – Clear levels for trade triggers.
Settings Recommendations:
High/Low Lines: Use semi-transparent colors (e.g., green/red) for clarity.
Projections: Helpful for anticipating extended moves (e.g., teal for upper, orange for lower).
Alerts: Enable notifications for key crosses (e.g., median or high/low breaks).
Tactical FlowTactical Flow – Altcoin Swing Strategy with Trend Logic & Dynamic TP System
(Built for 1H timeframe altcoin trading)
🎯 Purpose
Tactical Flow is a swing trading strategy purpose-built for altcoins on the 1-hour timeframe. It targets clean trend continuation setups by combining non-repainting filters for direction, momentum, and volume with a real-time execution engine that strictly avoids same-bar reversals. It includes a dynamic take-profit system with real-time trade tracking and an integrated visual dashboard.
⚙️ Strategy Core Components
Each module was chosen for precision, trend clarity, and altcoin-specific price behavior.
🔹 1. White Line Bias
Defines market structure using the midpoint of recent high/low range.
→ Keeps you trading with the dominant structure.
🔹 2. Tether Trend Engine
Two mid-range bands (Fast & Slow Tether) act like a dynamic trend cloud.
→ Ensures trend direction is confirmed with structural layering.
🔹 3. ZLEMA Gradient Filter
A Zero Lag EMA of price that’s compared to its previous value for momentum slope.
→ Confirms the trend has actual energy behind it.
🔹 4. TEMA Micro-Flow
A smoothed directional signal to confirm price is accelerating, not just trending.
→ Filters out late or fading entries.
🔹 5. Volume Spike Filter
Confirms that breakouts are real by requiring volume > 1.5× median of previous candles.
→ Designed for altcoins to avoid fakeouts during random volatility.
🔹 6. RMI Trend Memory
Keeps track of the trend state over time, allowing for smoother transitions and fewer whipsaws.
→ Helps the strategy stay in trend longer and only reverse when confirmation is strong.
🔹 7. Reversal Cooldown Logic
Exits a trade, then waits 1 full bar before taking a reversal entry.
→ Avoids common backtest false positives where entries and exits occur on the same candle.
💸 Trade Management – TP1/TP2 Logic
TP1 = 50% closed when price hits target 1
TP2 = full exit
Exits early if trend weakens
Supports dynamic reentry after TP2 if trend resumes
→ Keeps risk controlled while allowing position scaling in volatile altcoin swings.
📊 Strategy Dashboard
Visual interface shows:
Current Position (Long / Short / Flat)
Entry Price
TP1 and TP2 hit status
Bars since entry
Real-time Win Rate
Profit Factor
🧪 Backtesting & Execution Compliance
✅ Fully non-repainting
✅ Compatible with TradingView's deep backtesting
✅ Uses strategy.exit with limit logic for accurate TP tracking
✅ No stop-loss — closes trades on trend weakening only
🔥 Best Use Case
Altcoin swing trades on 1H chart
Works well during trending periods with volume
Not designed for choppy or sideways conditions
Pairs well with watchlist scanners and heatmaps
Forever Model [Pro+] (Sniper)Introduction
Forever Model (Sniper) is a clean, structured framework for visualizing internal liquidity to external liquidity rotations. It identifies shifts in market delivery by combining internal liquidity zones (Fair Value Gaps), divergence between correlated markets (Smart Money Technique), and lower timeframe orderflow changes (Orderblocks).
Designed for repeatability, the model helps analysts build confidence through familiarity, not complexity.
Rather than attempting to forecast direction, this model focuses on recognizing recurring patterns in delivery behavior across Timeframes. It presents a structured visual logic that can support manual analysis, with the aid of alerts that prompt analysts to investigate and validate potential price rotations.
The model is non-repainting, thoughtfully built to highlight past rotations once formed. It offers flexibility across assets and Timeframes, adapting to analysts' preferences while remaining consistent in its components.
Description
The model is organized into a three-part sequence. These three conditions form the visual foundation of the model. All parameters can be customized to match your preferred timeframe, session, and market:
Internal Range Liquidity Tag (IRL)
Price must interact with a defined internal inefficiency—typically a Fair Value Gap (FVG), which is an area between a three candle structure where price moves rapidly, leaving an imbalance that may later be revisited to be filled for efficiency.
Smart Money Technique Divergence Detected (SMT)
SMT transpires as a crack in correlation between two assets – this divergence is used to indicate potential shifts in price delivery.
SMT can be observed between two correlated assets, where one makes a lower low while the other holds a higher low (or conversely, one makes a higher high while the other forms a lower high).
Similarly, SMT can also occur between inverse correlated assets, where one makes a lower low while the other holds a lower high (or conversely, one makes a higher high while the other forms a higher low).
Change in State of Delivery (CISD)
After SMT occurs, the model identifies a CISD—a strong close engulfing the body of a previous directional candle that sweeps a short-term high or low. This suggests that price may be shifting from one delivery regime to another. The candle is labelled as an Orderblock (OB) candidate, with optional projected measures for better range of opportunity estimation.
Key Features
Model History Control
Controls how many past model formations appear on the chart, with a maximum of 40. Analysts may use shorter history for live charting or increase the count when studying past performance or recurring conditions.
When History is equal to 0, it will only show only live models in development, or nothing if no models are currently active.
Note: historical invalidated rotations are visualized through small markers, and may not display the model's components unless reviewed in Replay Mode. This mechanism keeps the chart clean, and allows the analyst to focus on the confirmed rotations.
Directional Bias Filter
Filters whether the model shows formations in only one direction or both. For example, selecting “Bullish” displays only internal range zones and divergence setups that meet criteria for upside movement. This feature is crucial for allowing analysts to align with higher Timeframe bias or studying unidirectional structures.
SMT Pair Input
The model compares your active chart with a second asset to detect SMT Divergence. You may manually enter a symbol (e.g., ES1!, BTCUSD, NZDUSD) or use Automatic SMT Pair Detection , which selects the most relevant correlated market. Inverse SMT inverts the logic, useful for negatively correlated pairs (e.g., gold vs dollar).
For example, although the Automatic SMT Pair Detection for CME_MINI:NQ1! is CME_MINI:ES1! , one may decide to use a leading stock in the NASDAQ such as NASDAQ:NVDA :
Timeframe Alignment
Defines which higher Timeframe the IRL is drawn from, and which lower Timeframe is used to evaluate the Model's conditions. These Timeframe Alignments can be selected individually to only showcase a specific combination of IRL and LTF Conditions; for a more dynamic approach, the "Automatic" option adjusts these pairings based on the current chart Timeframe. By selecting the "Custom" option, analysts can define and monitor their own preferred Timeframe Alignment.
Example: 5m Conditions ➞ 1H IRL vs. 4H Conditions ➞ Weekly IRL
Fair Value Gap (FVG) Visualization
Fair Value Gaps are areas where price moved quickly between two candles without overlap—these areas represent the IRL of the model, and are often revisited before continuing. Optionally, the analyst can decide to showcase the Consequent Encroachment (CE), the midpoint where price begins to fill the imbalance. Further, the analyst can maintain a cleaner chart by only showing FVG where SMT occurs, substantially limiting the number of drawings on the chart.
SMT Visualization
Draws visual lines connecting SMT points between the HTF reference points of the current chart's asset, and the SMT Pair asset. Helps analysts confirm divergence location and relationship at a glance, especially when reviewing multiple correlated pairs.
Liquidity Sweep Visualization
Most recent short-term liquidity swept, which resulted in a CISD. Marking this liquidity pool—a high or low that has been taken out—provides context and can give additional insight to evaluate the current market rotation.
Orderblock + Projections (OB)
When a CISD is recognized, an OB candidate is plotted. Projections from the OB can be displayed at customizable distances, serving as measurements for better range of opportunity estimation.
External Range Liquidity (ERL)
External Range Liquidity refers to price levels that sit beyond internal structures—typically local highs or lows that may be revisited after a retracement, for continuation.
Session Filters + Timezone Control
Define up to four time blocks (e.g., London Open, NY AM, PM session, Asia) for when the model is active. Timezones are fully customizable, supporting global use cases and precise filtering of formations to sessions with expected volume or cleaner structure.
Information Table
A compact, floating panel is available to display key model parameters in real time: Timeframe Alignment, Bias Direction, Active SMT Pair, Time Filter Conditions, Date.
This feature provides immediate context under which the model is operating — especially useful during active chart review or multi-pair monitoring. The table can be repositioned, resized, or disabled entirely depending on visual preference.
Model Markers & Backtest Support
The model includes a visual marker system to support chart review and backtesting. These overlays provide reference points for past structure, showcasing the following:
Reaching an OB Projection after revisiting the OB
Reaching the External Range Liquidity after revisiting the OB
Reaching an OB Projection without revisiting the OB
Reaching the External Range Liquidity without revisiting the OB
Invalidating the detected OB
Fully Automated Framework: all these components, when put together in the Forever Model ($niper), yield a clean and simple approach to studying and observing market rotations, empowering analysts in seeing the market through $niper's point of view. Each component is customizable to the analyst's liking to match their unique visual and technical preferences.
Usage Guidance:
Add Forever Model ($niper) to your TradingView chart.
Select your preferred SMT Pair, Timeframe Alignments, Model Style, and Time Filters.
Automate your analysis process with Forever Model (Sniper) and leverage it into your existing strategies to fine-tune your view through Sniper's point of view.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Filtered Swing Pivot S&R )Pivot support and resis🔍 Filtered Swing Pivot S&R - Overview
This indicator identifies and plots tested support and resistance levels using a filtered swing pivot strategy. It focuses on high-probability zones where price has reacted before, helping traders better anticipate future price behavior.
It filters out noise using:
Customizable pivot detection logic
Minimum price level difference
ATR (Average True Range) volatility filter
Confirmation by price retesting the level before plotting
⚙️ Core Logic Explained
✅ 1. Pivot Detection
The script uses Pine Script's built-in ta.pivothigh() and ta.pivotlow() functions to find local highs (potential resistance) and lows (potential support).
Pivot Lookback/Lookahead (pivotLen):
A pivot is confirmed if it's the highest (or lowest) point within a lookback and lookahead range of pivotLen bars.
Higher values = fewer, stronger pivots.
Lower values = more, but potentially noisier levels.
✅ 2. Pending Pivot Confirmation
Once a pivot is detected:
It is not drawn immediately.
The script waits until price re-tests that pivot level. This retest confirms the market "respects" the level.
For example: if price hits a previous high again, it's treated as a valid resistance.
✅ 3. Dual-Level Filtering System
To reduce chart clutter and ignore insignificant levels, two filters are applied:
Fixed Threshold (Minimum Level Difference):
Ensures a new pivot level is not too close to the last one.
ATR-Based Filter:
Dynamically adjusts sensitivity based on current volatility using the formula:
java
Copy
Edit
Minimum distance = ATR × ATR Multiplier
Only pivots that pass both filters are plotted.
✅ 4. Line Drawing
Once a pivot is:
Detected
Retested
Filtered
…a horizontal dashed line is drawn at that level to highlight support or resistance.
Resistance: Red (default)
Support: Green (default)
These lines are:
Dashed for clarity
Extended for X bars into the future (user-defined) for forward visibility
🎛️ Customizable Inputs
Parameter Description
Pivot Lookback/Lookahead Bars to the left and right of a pivot to confirm it
Minimum Level Difference Minimum price difference required between plotted levels
ATR Length Number of bars used in ATR volatility calculation
ATR Multiplier for Pivot Multiplies ATR to determine volatility-based pivot separation
Line Extension (bars) How many future bars the level line will extend for better visibility
Resistance Line Color Color for resistance lines (default: red)
Support Line Color Color for support lines (default: green)
📈 How to Use It
This indicator is ideal for:
Identifying dynamic support & resistance zones that adapt to volatility.
Avoiding false levels by waiting for pivot confirmation.
Visual guidance for entries, exits, stop placements, or take-profits.
🔑 Trade Ideas:
Use support/resistance retests for entry confirmations.
Combine with candlestick patterns or volume spikes near drawn levels.
Use in confluence with trendlines or moving averages.
🚫 What It Does Not Do (By Design)
Does not repaint or remove past levels once confirmed.
Does not include labels or alerts (but can be added).
Does not auto-scale based on timeframes (manual tuning recommended).
🛠️ Possible Enhancements (Optional)
If desired, you could extend the functionality to include:
Labels with “S” / “R”
Alert when a new level is tested or broken
Toggle for support/resistance visibility
Adjustable line width or style
tance indicator
Stoch_RSIStochastic RSI – Advanced Divergence Indicator
This custom indicator is an advanced version of the Stochastic RSI that not only smooths and refines the classic RSI input but also automatically detects both regular and hidden divergences using two powerful methods: fractal-based and pivot-based detection. Originally inspired by contributions from @fskrypt, @RicardoSantos, and later improved by developers like @NeoButane and @FYMD, this script has been fully refined for clarity and ease-of-use.
Key Features:
Dual Divergence Detection:
Fractal-Based Divergence: Uses a four-candle pattern to confirm top and bottom fractals for bullish and bearish divergences.
Pivot-Based Divergence: Employs TradingView’s built-in pivot functions for an alternate view of divergence conditions.
Customizable Settings:
The inputs are organized into logical groups (Stoch RSI settings, Divergence Options, Labels, and Market Open Settings) allowing you to adjust smoothing periods, RSI and Stochastic lengths, and divergence thresholds with a user-friendly interface.
Visual Enhancements:
Plots & Fills: The indicator plots both the K and D lines with corresponding fills and horizontal bands for quick visual reference.
Divergence Markers: Diamond shapes and labeled markers indicate regular and hidden divergences on the chart.
Market Open Highlighting: Optional histogram plots highlight the market open candle based on different timeframes for stocks versus non-forex symbols.
CandelaCharts - Premium & Discount 📝 Overview
Premium and Discount are key concepts in ICT (Inner Circle Trader) trading strategies, used to pinpoint ideal entry and exit points in the market. These concepts are based on an understanding of market structure and the behavior of institutional traders, commonly referred to as Smart Money.
To understand the Premium and Discount zones, it's crucial to first grasp the concept of the equilibrium level, also known as the basic or fair value. The equilibrium represents the midpoint of a given price range and acts as a reference point, dividing the range into Premium and Discount zones.
The equilibrium reflects the "fair value" of the price within the considered range. Traders use this as a benchmark to assess whether the current price is in the Premium or Discount zone.
The Premium zone lies above the equilibrium level, while the Discount zone is located below it within the price range.
📦 Features
Swing-based detection
Custom detection
Modes
Styling
⚙️ Settings
Range: Determines how you will identify Premium and Discount, either by swing points or by custom date.
Mode: Controls what UI will be displayed
Premium: Sets the Premium color
Discount: Sets the Discount color
Equilibrium: Sets the Equilibrium color
Labels: Controls the labels visibility
⚡️ Showcase
Pro Mode
Solid Mode
Outlined Mode
Flat Mode
The Indicator can be effortlessly applied in replay mode to highlight premium and discount zones based on the most prominent market swings.
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
TS- Multitimeframe📊 The Trend Synchronizer – Multitimeframe Scalper 🔁
Indicator added at the of the chart. - Just in case anyone is confused, and one on chart as overlay is our own Delta zones indicator - as usual available to use for everyone.
🚀 Precision Aligned, Momentum Enhanced
Welcome to the Trend Synchronizer (TS) – a custom-built, multitimeframe momentum indicator developed for active traders looking to scalp lower timeframes (1–5 min) while staying in sync with broader market direction.
🔍 What Is It?
The Trend Synchronizer is an advanced momentum oscillator designed to identify entry opportunities only when multiple timeframes align.
It overlays real-time momentum signals from higher aggregations to ensure your trade is moving with the market, not against it.
✅ When short-term momentum aligns with higher timeframe direction, opportunities are clearer, stronger, and more reliable.
🧠 How to Use It (No Settings Needed)
This tool is ready to go out of the box.
It uses three internal timeframes (default: 1m, 5m, 30m) and processes their behavior to create momentum signals. Here's how to trade it:
📈 Entries
Buy Bias: When histogram bars turn bullish colors across layers and align positively.
Sell Bias: When histogram bars shift to bearish tones, confirming momentum is to the downside.
Avoid Signals when higher timeframe momentum and lower timeframe are diverging – that's when chop often occurs.
⏳ Timeframes
Default is tuned for scalping (1–5m charts), but can be adjusted.
You can change TF1, TF2, and TF3 to experiment with your preferred layers (e.g., 5m/15m/1H for intraday swing entries).
🟢 Color Cues
The color scheme helps you spot bullish and bearish dominance quickly.
Histograms are visually synced: above 0 = strength, below 0 = weakness.
⚙️ Settings
You don’t need to tweak anything unless you want to. The inputs are exposed only for fine-tuners.
TS1, TS2, TS3: Toggle momentum layers on/off.
Custom colors available for personalization.
Clean histogram-style display for clear, fast decision-making.
📌 Best Practices
Combine with price action and volume for higher conviction.
Always look for trend confirmation on your chart before executing.
It’s ideal for:
Momentum scalpers
Order flow traders
High-frequency setups
Trend pullbacks & breakouts
⚠️ Disclaimer
This indicator is for educational purposes only. It is not financial advice and does not guarantee profitability. Always do your own research and use proper risk management. You are solely responsible for your trading decisions.
✨ Final Word
The Trend Synchronizer is a tool designed to help you align with the flow of the market – not fight it. It simplifies the complexity of multiple timeframes into a visual format any trader can interpret.
If you find it useful, don’t forget to ⭐ it and drop a comment with your feedback!
Happy trading and stay in sync!
Multi-SMA Dashboard (10 SMAs)Description:
This script, "Multi-SMA Dashboard (10 SMAs)," creates a dashboard on a TradingView chart to analyze ten Simple Moving Averages (SMAs) of varying lengths. It overlays the chart and displays a table with each SMA’s direction, price position relative to the SMA, and angle of movement, providing a comprehensive trend overview.
How It Works:
1. **Inputs**: Users define lengths for 10 SMAs (default: 5, 10, 20, 50, 100, 150, 200, 250, 300, 350), select a price source (default: close), and customize table appearance and options like angle units (degrees/radians) and debug plots.
2. **SMA Calculation**: Computes 10 SMAs using the `ta.sma()` function with user-specified lengths and price source.
3. **Direction Determination**: The `sma_direction()` function checks each SMA’s trend:
- "Up" if current SMA > previous SMA.
- "Down" if current SMA < previous SMA.
- "Flat" if equal (no strength distinction).
4. **Price Position**: Compares the price source to each SMA, labeling it "Above" or "Below."
5. **Angle Calculation**: Tracks the most recent direction change point for each SMA and calculates its angle (atan of price change over time) in degrees or radians, based on the `showInRadians` toggle.
6. **Table Display**: A 12-column table shows:
- Columns 1-10: SMA name, direction (Up/Down/Flat), Above/Below status, and angle.
- Column 11: Summary of Up, Down, and Flat counts.
- Colors reflect direction (lime for Up/Above, red for Down/Below, white for Flat).
7. **Debug Option**: Optionally plots all SMAs and price for visual verification when `debug_plots_toggle` is enabled.
Indicators Used:
- Simple Moving Averages (SMAs): 10 user-configurable SMAs ranging from short-term (e.g., 5) to long-term (e.g., 350) periods.
The script runs continuously, updating the table on each bar, and overlays the chart to assist traders in assessing multi-timeframe trend direction and momentum without cluttering the view unless debug mode is active.
Trend Targets [AlgoAlpha]OVERVIEW
This script combines a smoothed trend-following model with dynamic price rejection logic and ATR-based target projection to give traders a complete visual framework for trading trend continuations. It overlays on price and automatically detects potential trend shifts, confirms rejections near dynamic support/resistance, and displays calculated stop-loss and take-profit levels to support structured risk-reward management. Unlike traditional indicators that only show trend direction or signal entries, this tool brings together a unique mix of signal validation, volatility-aware positioning, and layered profit-taking to guide decision-making with more context.
CONCEPTS
The core trend logic is built on a custom Supertrend that uses an ATR-based band structure with long smoothing chains—first through a WMA, then an EMA—allowing the trend line to respond to major shifts while ignoring noise. A key addition is the use of rejection logic: the script looks for consolidation candles that "hug" the smoothed trend line and counts how many consecutive bars reject from it. This behavior often precedes significant moves. A user-defined threshold filters out weak tests and highlights only meaningful rejections.
FEATURES
Trend Detection : Automatically identifies trend direction using a smoothed Supertrend (WMA + EMA), with shape markers on trend shifts and color-coded bars for clarity.
Rejection Signals : Detects price rejections at the trend line after a user-defined number of consolidation bars; plots ▲/▼ icons to highlight strong continuation setups.
Target Projection : On trend confirmation, plots entry, stop-loss (ATR-based), and three dynamic take-profit levels based on customizable multiples.
Dynamic Updates : All levels (entry, SL, TP1–TP3) auto-adjust based on volatility and are labeled in real time on the chart.
Customization : Users can tweak trend parameters, rejection confirmation count, SL/TP ratios, smoothing lengths, and appearance settings.
Alerts : Built-in alerts for trend changes, rejection events, and when TP1, TP2, or TP3 are reached.
Chart Overlay : Plots directly on price chart with minimal clutter and clearly labeled levels for easy trading.
USAGE
Start by tuning the Supertrend factor and ATR period to fit your asset and timeframe—higher values will catch bigger swings, lower values catch faster moves. The confirmation count should match how tightly you want to filter rejection behavior—higher values make signals rarer but stronger. When the trend shifts, the indicator colors the bars and line accordingly, and if enabled, plots the full entry-TP-SL structure. Rejection markers appear only after enough qualifying bars confirm price pressure at the trend line. This is especially useful for continuation plays where price retests the trend but fails to break it. All calculations are based on volatility (ATR), so targets naturally adjust with market conditions. Add alerts to get notified of important signals even when away from the chart.
Dynamic Support|Resistance SSA & SSBHello, traders. I offer you an indicator to complement the Ichimoku Kinho Hyo trading system. This indicator determines possible dynamic resistance and support levels based on pivots and end points of the Senkou Span A and Senkou Span B lines.
You determine the pivots yourself, choosing how many bars back to look for HIGH and LOW.
Attention! Unlike the classical theory of Goichi Hosoda: the levels are dynamic, that is, they change values with each new bar!
Also added is the MTF function for displaying levels from different time frames.