Trend Table ZeeZeeMonMulti-Timeframe Trend Indicator
Overview
This indicator identifies trends across multiple higher timeframes and displays them in a widget on the right side of the chart. It serves as an alternative trend-filtering tool, helping traders align with the dominant market direction. Unlike traditional moving average-based trend detection (e.g., price above/below a 200 MA), this indicator assesses whether higher timeframes are genuinely trending by analyzing swing highs and lows.
Trend Definition
Uptrend: Higher highs and higher lows.
Downtrend: Lower highs and lower lows.
A trend reversal occurs when a prior high/low is breached (e.g., in a downtrend, breaking the last high signals an uptrend).
Customization Options
Lookback Period: Adjusts the sensitivity for identifying swing highs/lows (pivot points). A shorter lookback detects more frequent pivots.
Historical Pivot Visibility: Toggle to display past swing highs/lows for verification.
Support/Resistance Lines: Show dynamic levels from recent pivots on higher timeframes. Breaching these lines indicates potential trend changes.
Purpose
Helps traders:
Confirm higher timeframe trends before entering trades.
Monitor proximity to trend reversals.
Fine-tune pivot sensitivity for optimal trend detection.
Note: Works best as a supplementary trend filter alongside other trading strategies.
Trend
Log($/SMA) v2.0.1Purpose
Most great TA indicators are simple and easy to understand. E.g. RSI, Bollinger Bands, MACD, etc.
This gives a super-simple yet remarkably useful trailing signal. Use it in conjunction with other signals of course.
Copyright
Copyright © 2021-2025 t00mietum (aka TradingView’s “NeanderTraderBC”).
License
This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
ATR Volatility giua64ATR Volatility giua64 – Smart Signal + VIX Filter
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
Low Volatility Threshold Threshold to define "LOW" volatility
High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
Azro Systems™ Top/Bottom – XRP ModuleDetects statistically extreme capitulation or euphoria in XRP’s long-term cycle.
The indicator overlays “Bottom” or “Top” labels when a proprietary multi-factor
model confirms a macro inflection on the weekly XRP-USD chart.
• Built-in adaptive architecture auto-tunes to evolving market structure—no settings to tweak.
• Designed strictly for the weekly timeframe; treat labels as a directional compass and always confirm entries with independent risk-management rules.
• Trading carries risk; past performance is not indicative of future results.
Tenoris Trend Line + Dashboard (Real Arrows)Tenoris Trend Dashboard-shows Tenoris based trend on current chart and color of open live candle on current chart. used for live trading to make confirmation between chart timeframes easier and faster. Authored by David Fauvre, TrendGuruX part of the Tenoris Apex Suite of indicators.
Pucci Trend EMA-SMA Crossover with TolerancePucci Trend EMA-SMA Crossover with Tolerance
This indicator helps identify market trends and generates trading signals based on the crossover between an Exponential Moving Average (EMA) and a Simple Moving Average (SMA) with an adjustable tolerance threshold. The signals work as follows:
Buy Signal (B) -> Triggers when the EMA crosses above the SMA, exceeding a user-defined tolerance (in basis points). Optionally, a price filter can require the high or low to be below the EMA for confirmation.
Sell Signal (S) -> Triggers when the SMA crosses above the EMA, exceeding the tolerance. The optional price filter may require the high or low to be above the EMA.
The tolerance helps reduce false signals by requiring a minimum distance between the moving averages before confirming a crossover. The price filter adds an extra confirmation layer by checking if price action respects the EMA level.
Important Notes:
1º No profitability guarantee: This tool is for analysis only and may generate losses.
2º "As Is" disclaimer: Provided without warranties or responsibility for trading outcomes.
3º Use Stop Loss: Users must determine their own risk management.
4º Parameter adjustment needed: Optimal MA periods and tolerance vary by timeframe.
5º Filter impact varies: Enabling/disabling the price filter may improve or worsen performance.
Ichimoku Tek Çizgi Trend
Açıklama (Komut Dosyasını Açıkla):
This indicator aims to analyze the market direction through a single trend line by simplifying the basic components of the Ichimoku Kinko Hyo system. It reduces the complexity of the classic Ichimoku Cloud, providing traders with clearer and more understandable trend following. TradingView
+1
TradingView
+1
TradingView
+1
TradingView
+1
📌 Highlights:
A single trend line (kumoMid) created by averaging the upper and lower limits of the Ichimoku Cloud
Color changes depending on whether the price is above or below this line:
Green: Uptrend
Red: Downtrend
Gray: Neutral or uncertain
User-adjustable parameters:
Conversion Line Length
Base Line Length
Leading Span B Length
Displacement
🔧 Purpose of Use:
This indicator offers investors a simple and effective trend-following tool, while preserving the basic principles of the Ichimoku system. It is especially ideal for those who want to avoid complex indicators.
💡 Note: This indicator does not constitute investment advice. It is important to take your own analysis and strategies into consideration when making your investment decisions.
tratejilerinizi dikkate almanız önemlidir.
Multi-Timeframe Continuity Custom Candle ConfirmationMulti-Timeframe Continuity Custom Candle Confirmation
Overview
The Timeframe Continuity Indicator is a versatile tool designed to help traders identify alignment between their current chart’s candlestick direction and higher timeframes of their choice. By coloring bars on the current chart (e.g., 1-minute) based on the directional alignment with selected higher timeframes (e.g., 10-minute, daily), this indicator provides a visual cue for confirming trends across multiple timeframes—a concept known as Timeframe Continuity. This approach is particularly useful for day traders, swing traders, and scalpers looking to ensure their trades align with broader market trends, reducing the risk of trading against the prevailing momentum.
Originality and Usefulness
This indicator is an original creation, built from scratch to address a common challenge in trading: ensuring that price action on a lower timeframe aligns with the trend on higher timeframes. Unlike many trend-following indicators that rely on moving averages, oscillators, or other lagging metrics, this script directly compares the bullish or bearish direction of candlesticks across timeframes. It introduces the following unique features:
Customizable Timeframes: Users can select from a range of higher timeframes (5m, 10m, 15m, 30m, 1h, 2h, 4h, 1d, 1w, 1M) to check for alignment, making it adaptable to various trading styles.
Neutral Candle Handling: The script accounts for neutral candles (where close == open) on the current timeframe by allowing them to inherit the direction of the higher timeframe, ensuring continuity in trend visualization.
Table: A table displays the direction of each selected timeframe and the current timeframe, helping identify direction in the event you don't want to color bars.
Toggles for Flexibility: Options to disable bar coloring and the debug table allow users to customize the indicator’s visual output for cleaner charts or focused analysis.
This indicator is not a mashup of existing scripts but a purpose-built tool to visualize timeframe alignment directly through candlestick direction, offering traders a straightforward way to confirm trend consistency.
What It Does
The Timeframe Continuity Indicator colors bars on your chart when the direction of the current timeframe’s candlestick (bullish, bearish, or neutral) aligns with the direction of the selected higher timeframes:
Lime: The current bar (e.g., 1m) is bullish or neutral, and all selected higher timeframes (e.g., 10m) are bullish.
Pink: The current bar is bearish or neutral, and all selected higher timeframes are bearish.
Default Color: If the directions don’t align (e.g., 1m bar is bearish but 10m is bullish), the bar remains the default chart color.
The indicator also includes a debug table (toggleable) that shows the direction of each selected timeframe and the current timeframe, helping traders diagnose alignment issues.
How It Works
The script uses the following methodology:
1. Direction Calculation: For each timeframe (current and selected higher timeframes), the script determines the candlestick’s direction:
Bullish (1): close > open / Bearish (-1): close < open / Neutral (0): close == open
Higher timeframe directions are fetched using Pine Script’s request.security function, ensuring accurate data retrieval.
2. Alignment Check: The script checks if all selected higher timeframes are uniformly bullish (full_bullish) or bearish (full_bearish).
o A higher timeframe must have a clear direction (bullish or bearish) to trigger coloring. If any selected timeframe is neutral, alignment fails, and no coloring occurs.
3. Coloring Logic: The current bar is colored only if its direction aligns with the higher timeframes:
Lime if the higher timeframes are bullish and the current bar is bullish or neutral.
Maroon if the higher timeframes are bearish and the current bar is bearish or neutral.
If the current bar’s direction opposes the higher timeframe (e.g., 1m bearish, 10m bullish), the bar remains uncolored.
Users can disable bar coloring entirely via the settings, leaving bars in their default chart color.
4. Direction Table:
A table in the top-right corner (toggleable) displays the direction of each selected timeframe and the current timeframe, using color-coded labels (green for bullish, red for bearish, gray for neutral).
This feature helps traders understand why a bar is or isn’t colored, making the indicator accessible to users unfamiliar with Pine Script.
How to Use
1. Add the Indicator: Add the "Timeframe Continuity Indicator" to your chart in TradingView (e.g., a 1m chart of SPY).
2. Configure Settings:
Timeframe Selection: Check the boxes for the higher timeframes you want to compare against (default: 10m). Options include 5m, 10m, 15m, 30m, 1h, 2h, 4h, 1D, 1W, and 1M. Select multiple timeframes if you want to ensure alignment across all of them (e.g., 10m and 1d).
Enable Bar Coloring: Default: true (bars are colored lime or maroon when aligned). Set to false to disable coloring and keep the default chart colors.
Show Table: Default: true (table is displayed in the top-right corner). Set to false to hide the table for a cleaner chart.
3. Interpret the Output:
Colored Bars: Lime bars indicate the current bar (e.g., 1m) is bullish or neutral, and all selected higher timeframes are bullish. Maroon bars indicate the current bar is bearish or neutral, and all selected higher timeframes are bearish. Uncolored bars (default chart color) indicate a mismatch (e.g., 1m bar is bearish while 10m is bullish) or no coloring if disabled.
Direction Table: Check the table to see the direction of each selected timeframe and the current timeframe.
4. Example Use Case:
On a 1m chart of SPY, select the 10m timeframe.
If the 10m timeframe is bearish, 1m bars that are bearish or neutral will color maroon, confirming you’re trading with the higher timeframe’s trend.
If a 1m bar is bullish while the 10m is bearish, it remains uncolored, signaling a potential misalignment to avoid trading.
Underlying Concepts
The indicator is based on the concept of Timeframe Continuity, a strategy used by traders to ensure that price action on a lower timeframe aligns with the trend on higher timeframes. This reduces the risk of entering trades against the broader market direction. The script directly compares candlestick directions (bullish, bearish, or neutral) rather than relying on lagging indicators like moving averages or RSI, providing a real-time, price-action-based confirmation of trend alignment. The handling of neutral candles ensures that minor indecision on the lower timeframe doesn’t interrupt the visualization of the higher timeframe’s trend.
Why This Indicator?
Simplicity: Directly compares candlestick directions, avoiding complex calculations or lagging indicators.
Flexibility: Customizable timeframes and toggles cater to various trading strategies.
Transparency: The debug table makes the indicator’s logic accessible to all users, not just those who can read Pine Script.
Practicality: Helps traders confirm trend alignment, a key factor in successful trading across timeframes.
Hybrid Momentum Suite [QuantAlgo]The Hybrid Momentum Suite is an advanced momentum-based technical indicator that utilizes a weighted fusion of RSI and CCI, combined with adaptive boundary detection to help traders and investors identify momentum strength and potential reversal zones across different timeframes and asset classes.
🟢 Technical Foundation
The Hybrid Momentum Suite employs a dual-component approach to momentum analysis, incorporating:
Hybrid RSI-CCI Calculation: Uses a customizable ratio for momentum signature creation, allowing traders and investors to balance the characteristics of both indicators
Bi-Directional Component Separation: Automatically separates unified momentum into distinct bullish and bearish forces for independent analysis
Adaptive Impulse Boundary: Uses exponential moving average combined with standard deviation multipliers to detect momentum exhaustion zones
Multi-Level Gradient Visualization: Applies sophisticated layering with varying transparency to show momentum strength and direction changes
The indicator processes price data through multiple filtering stages, applying mathematical principles including weighted averaging, component isolation, and statistical variance analysis. This creates a momentum system that adapts to market volatility while maintaining clarity in directional bias and strength quantification.
🟢 Key Features & Signals
1. Bi-Directional Component Separation
The indicator presents momentum through mathematically isolated histograms that separate bullish and bearish forces for independent analysis.
When bullish momentum is dominant, the bullish component (green) shows greater amplitude than the bearish component.
Similarly, when bearish momentum is dominant, the bearish component (red) shows greater amplitude than the bullish component.
During transitional periods, components may show equal strength, indicating momentum equilibrium.
This visualization provides immediate insights into:
→ Competing market forces simultaneously
→ Momentum exhaustion before reversals
→ Quantified momentum strength across different timeframes
2. Real-Time Status Update
The indicator features a comprehensive analysis dashboard that operates with dynamic strength classification:
The dashboard automatically categorizes momentum from "Very Weak" to "Very Strong" based on component amplitude.
Historical comparison displays previous bar metrics for trend analysis, helping traders and investors understand momentum persistence.
Color-coded visualization matches histogram components for immediate recognition of market bias.
Adaptive positioning offers nine customizable table locations for optimal display across different chart layouts.
Regardless of position, the dashboard displays:
Current momentum direction (BULLISH or BEARISH)
Momentum strength percentage (0-100%)
Previous bar comparison for trend persistence
Active component colors for visual consistency
This comprehensive approach helps traders and investors:
→ Assess current momentum strength quantitatively
→ Identify momentum shifts through historical comparison
→ Make informed decisions based on momentum context
3. Reversal Signal Detection System
The indicator generates trading signals using advanced multi-factor validation:
Exhaustion signals are detected when components cross down after exceeding statistical boundaries, indicating potential momentum reversals.
Trend flip alerts are generated when component dominance changes (bull>bear or bear>bull), signaling directional shifts.
Boundary interaction monitoring tracks crossovers above/below impulse threshold for extreme momentum identification.
Visual markers ( X ) are positioned using mathematical placement algorithms for clear signal identification.
The indicator also features a comprehensive alert system with notifications for:
Bullish potential reversals
Bearish potential reversals
Trend flip signals
Momentum boundary crossings
*Alerts can be customized and delivered through TradingView's notification system, making it easy to stay informed of important momentum developments even when away from the charts.
4. Conditional Bar Coloring
The indicator provides optional price bar coloring based on momentum analysis:
Bars are colored based on dominant momentum component (bullish/bearish).
Reversal conditions are highlighted with specialized coloring (default orange).
Color transparency adjusts based on momentum strength for immediate visual feedback.
Bar coloring can be toggled on/off to suit different chart aesthetics and personal preferences.
🟢 Practical Usage Tips
→ Component Analysis and Interpretation: The indicator visualizes momentum direction and strength through separate components, allowing traders to immediately identify dominant market forces. This helps in assessing potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on component crossovers, boundary violations, and momentum exhaustion. Users can focus on reversal signals at statistical extremes or trend-following signals during component dominance.
→ Multi-Component Assessment: Through its bi-directional approach, the indicator enables users to understand competing forces within the same timeframe. This helps in identifying momentum equilibrium and potential turning points.
🟢 Pro Tips
Adjust RSI/CCI ratio based on market conditions:
→ High ratios (70-100) for mean-reverting markets and longer timeframes
→ Low ratios (0-30) for trending markets and shorter timeframes
→ Default 50/50 for balanced momentum assessment across market types
Fine-tune impulse boundary based on volatility:
→ Lower boundary lengths (20-30) for more frequent reversal signals
→ Higher lengths (40-60) for only major momentum extremes
→ Adjust standard deviation multiplier (2.0-4.0) based on market volatility
Look for confluence between components:
→ Component divergence as early reversal warning
→ Simultaneous extreme readings for high-probability setups
→ Component correlation with price for confirmation
Use for multiple trading approaches:
→ Reversal trading at component extremes near impulse boundary
→ Trend following when components show clear dominance
→ Early momentum shift detection with gradient fading patterns
→ Position sizing based on component strength percentage
Combine with:
→ Support/resistance analysis for strategic entry and exit points
→ Volume indicators for momentum validation
→ Multiple timeframe analysis for broader market context
→ Price action patterns for confirmation of reversal signals
Volumetric Entropy IndexVolumetric Entropy Index (VEI)
A volume-based drift analyzer that captures directional pressure, trend agreement, and entropy structure using smoothed volume flows.
---
🧠 What It Does:
• Volume Drift EMAs : Shows buy/sell pressure momentum with adaptive smoothing.
• Dynamic Bands : Bollinger-style volatility wrappers react to expanding/contracting drift.
• Baseline Envelope : Clean structural white rails for mean-reversion zones or trend momentum.
• Background Shading : Highlights when both sides (up & down drift) are in agreement — green for bullish, red for bearish.
• Alerts Included : Drift alignment, crossover events, net drift shifts, and strength spikes.
---
🔍 What Makes It Different:
• Most volume indicators rely on bars, oscillators, or OBV-style accumulation — this doesn’t.
• It compares directional EMAs of raw volume to isolate real-time bias and acceleration.
• It visualizes the twisting tension between volume forces — not just price reaction.
• Designed to show when volatility is building inside the volume mechanics before price follows.
• Modular — every element is optional, so you can run it lean or fully loaded.
---
📊 How to Use It:
• Drift EMAs : Watch for one side consistently dominating — sharp spikes often precede breakouts.
• Bands : When they tighten and start expanding, it often signals directional momentum forming.
• Envelope Lines : Use as high-probability reversal or continuation zones. Bands crossing envelopes = potential thrust.
• Background Color : Green/red backgrounds confirm volume agreement. Can be used as a filter for other signals.
• Net Drift : Optional smoothed oscillator showing the difference between bullish and bearish volume pressure. Crosses above or below zero signal directional bias shifts.
• Drift Strength : Measures pressure buildup — spikes often correlate with large moves.
---
⚙️ Full Customization:
• Turn every layer on/off independently
• Modify all colors, transparencies, and line widths
• Adjust band width multiplier and envelope offset (%)
• Toggle bonus plots like drift strength and net baseline
---
🧪 Experimental Tools:
• Smoothed Net Drift trace
• Drift Strength signal
• Envelope lines and dynamic entropy bands with adjustable math
---
Built for signal refinement. Made to expose directional imbalance before the herd sees it.
Created by @Sherlock_Macgyver
Precision Trend Shot | JeffreyTimmermansPrecision Trend Shot
The "Precision Trend Shot" Indicator is an advanced technical tool designed to provide a dynamic and adaptive view of market trends. By combining three core components—RSI Oscillator, LSMA ATR, and Adaptable Trend—this indicator delivers precise signals that help traders identify market direction, volatility, and potential trend reversals. The calculated total score, derived from these components, provides a clear, actionable view of market conditions.
Key Features
Multi-Component Analysis: Integrates three key indicators (RSI, LSMA ATR, and Adaptable Trend) for a comprehensive view of market trends.
Dynamic Trend Classification: Categorizes market states as "Bullish" or "Bearish", based on a combined score.
Standard Deviation Bands: Displays standard deviation bands around the score line for enhanced volatility visualization.
Gradient Background Coloring: Visually highlights market phases with gradient colors, aiding quick interpretation.
Customizable Visuals: Offers extensive settings for coloring, background gradients, and signal visibility.
Real-Time Alerts: Generates alerts for significant trend changes or transitions between market states.
Inputs & Settings
RSI Settings:
RSI Source: Default: Close price. Defines the data source for RSI calculation.
RSI Length: Default: 10. Sets the period for calculating RSI.
LSMA ATR Settings:
LSMA Source: Default: Close price. Defines the data source for LSMA calculation.
LSMA Length: Default: 21. Sets the period for calculating the Least Squares Moving Average.
ATR Length: Default: 12. Sets the period for calculating the Average True Range.
Adaptable Trend Settings:
Trend Length: Default: 5. Sets the period for calculating the trend.
Smoothing Length: Default: 5. Controls the smoothing of trend volatility.
Sensitivity: Default: 1.5. Adjusts the sensitivity of trend bands.
Standard Deviation Settings:
Enable Standard Deviation Bands: Default: True. Toggles the display of standard deviation bands.
Standard Deviation Length: Default: 20. Sets the period for standard deviation calculation.
Standard Deviation Multiplier: Default: 2.0. Adjusts the width of the bands.
Smoothing Length: Default: 5. Controls the smoothing of standard deviation bands.
Visual Settings:
Enable Candle Coloring: Default: True. Colors candles based on market state (Bullish or Bearish).
Enable Background Gradient: Default: True. Applies gradient coloring to the background based on trend direction.
Score Line Colors: Customize colors for bullish or bearish score lines.
Calculation Process
RSI Calculation:
Computes the Relative Strength Index (RSI) of the selected source data.
Signals bullish (RSI > 50) or bearish (RSI < 50) conditions.
LSMA ATR Calculation:
Computes LSMA for trend direction and ATR for volatility measurement.
Generates buy and sell signals based on crossover and crossunder of ATR bands.
Adaptable Trend Calculation:
Calculates dynamic trend levels using EMA and standard deviation bands.
Classifies trend states as Bullish or Bearish.
Combined Signal Calculation:
Averages the signals from RSI, LSMA ATR, and Adaptable Trend to generate a total score.
Classifies the market as "Bullish" or "Bearish" based on this score.
Standard Deviation Bands:
Plots standard deviation bands around the combined signal for enhanced volatility analysis.
Gradient Background Coloring:
Colors the chart background based on the identified market state (Bullish or Bearish).
How to Use the Precision Trend Shot Indicator
Identifying Market States:
Bullish Market: Total score > 0, gradient background green.
Bearish Market: Total score < 0, gradient background red.
Confirming Signals:
Use RSI and LSMA ATR signals for early indications.
Use Trend Recon for confirming longer-term trend direction.
Visualizing Volatility:
Standard deviation bands highlight potential reversal zones.
Dynamic Alerts
The Precision Trend Shot Indicator includes a robust alert system for real-time market transitions:
Bullish to Bearish: Market shifts from a bullish to bearish trend.
Bearish to Bullish: Market shifts from a bearish to bullish trend.
Conclusion
The Precision Trend Shot Indicator is an advanced, versatile tool for identifying market trends, visualizing volatility, and generating actionable signals. With customizable settings, dynamic alerts, and clear visual representation, it is an essential addition to any trader’s toolkit.
-Jeffrey
Trend Classifier [ChartPrime]Trend Classifier
This is a multi-level trend classification tool that detects bullish, bearish, and ranging conditions using an adaptive smoothing method. It highlights trend strength through color-coded candles and layered bands, making it easy to interpret market momentum visually.
⯁ KEY FEATURES
Classifies trend strength using 3 bullish and 3 bearish levels relative to an adaptive trend line.
Neutral (range) zones are marked when price stays between key bands, often signaling low volatility or consolidation.
Automatically filters band visibility based on current trend direction:
In uptrends, only levels below the price are displayed.
In downtrends, only levels above the price are shown.
Color-coded candles:
Aqua candles for bullish conditions.
Red candles for bearish conditions.
Orange candles during neutral or ranging conditions.
Includes a trend direction change marker (diamond), plotted when a shift in trend is detected.
Plots a central smoothed trend line to anchor the trend bands dynamically.
Displays a trend strength dashboard in the top-right corner with real-time bull and bear scores (0 to 3).
Labels with arrows (▲/▼) show current trend direction and strength on the chart.
⯁ HOW TO USE
Use bull and bear levels (1–3) to assess the momentum of the current trend.
When bull = 0 and bear = 0 , market is considered ranging or consolidating – consider fading or waiting for breakout confirmation.
Trend bands can be used as dynamic support/resistance during trending phases.
Monitor the trend change diamonds to spot potential early reversals.
Combine with volume or oscillator tools for confirmation of strength shifts.
⯁ CONCLUSION
Trend Classifier helps traders stay aligned with the dominant trend while visually breaking down market momentum into levels. Its clean color-coded design and strength dashboard make it ideal for both trend following and range trading strategies.
MTS📊 MTS (Murrey Math System) Trading Strategy for TradingView 📊
Introduction:
This script implements the Murrey Math System (MTS), a market analysis tool based on a set of pivot points and price ranges, designed to help traders identify key levels of support and resistance.
MTS calculates key price levels based on historical price swings and helps identify price targets, stop-loss levels, and potential breakout zones.
The strategy also includes an adaptive bias panel, showing buy or sell suggestions based on current price action relative to Murrey Math levels.
Key Components:
1. Pivot Calculation and Conditions:
Pivot Lookback & Spikeyness Index:
The pivots: lookback/forward input defines how far back (and forward) the script looks to identify potential pivot points (high and low). A smaller value focuses on more recent swings, while larger values consider a broader range.
The Spikeyness Index (atrMult) allows you to adjust sensitivity to market spikes, utilizing the Average True Range (ATR) to detect sharp price movements that could indicate potential turning points.
Pivot Conditions:
isPivHigh and isPivLow detect local high and low pivot points, respectively.
Spiky Conditions: The spikyH and spikyL conditions filter out pivots that do not meet the spikiness criteria, which is based on ATR and moving averages.
2. Swing High and Swing Low Identification:
The script identifies and stores previous swing highs (HR_prev) and lows (LR_prev), updating them based on the current market structure.
3. Proprietary Calculation:
The propCalc input enables a proprietary calculation method for determining higher or lower levels beyond the typical Murrey Math levels, offering a more adaptive approach to price targets and support/resistance levels.
4. Murrey Math Lines (MML):
MML Calculation:
The code calculates a set of Murrey Math Lines (EightEight, FourEight, ZeroEight), which are key price levels based on the range of the price over a given time period. These levels represent major support and resistance zones, with the EightEight line indicating extremely overbought conditions and ZeroEight signaling deeply oversold conditions.
Level and Extension Lines:
The script also plots additional levels and extensions based on the range between HR and LR, representing key support/resistance levels. These levels are dynamically drawn on the chart, offering clear insights into where price might reverse or break out.
Strategy Logic:
- Breakout and Breakdown:
The Bias Box panel dynamically displays a trade bias, either suggesting to "Buy on Dip" or "Sell on Rise," depending on whether the current price is above or below the midpoint of the Murrey Math range (BEP). This bias is calculated using the market's relationship to the Murrey Math Levels.
- Buy on Dip: When the price is below the midpoint (BEP), suggesting the market is in a buying zone.
- Sell on Rise: When the price is above the midpoint, suggesting the market is in a selling zone.
- Stop-Loss and Target Hints:
The stop-loss (SL) and target levels are dynamically set based on the position relative to HR and LR:
For Buy on Dip: SL is set at LR Low, Target is set at HR High.
For sell on Rise: SL is set at HR Low, Target is set at LR High.
2. Historical and Current Levels:
The script compares the most recent Murrey Math levels with historical levels. This helps identify any shifts or changes in the market structure, enhancing the trader's ability to adapt to new trends.
- Current Levels:
The current levels are drawn from the most recent HR and LR values, with corresponding extensions showing possible breakout or breakdown zones.
- Historical Levels:
Historical levels are drawn in a "ghost" style, helping traders visualize past market conditions and potential support/resistance zones that could still influence price movement.
- Trade Examples:
Example 1: Buy on Dip
a. Scenario:
Price is below the midpoint (BEP), and the bias suggests a buy on dip.
The trader looks for a rebound from the LR Low level, with a target at the HR High.
b. Entry:
Buy when the price reaches the LR Low level.
c. Exit:
Take profit when the price hits the HR High.
d. Stop-Loss:
Place stop-loss at the LR Low.
Example 2: Sell on Rise
a. Scenario:
Price is above the midpoint (BEP), and the bias suggests a sell on rise.
The trader looks for a pullback to the HR Low, with a target at the LR High.
b. Entry:
Sell when the price reaches the HR High level.
c. Exit:
Take profit when the price hits the LR Low.
d. Stop-Loss:
Place stop-loss at the HR Low.
Key Features:
Bias Panel: A table in the top-right corner showing the current market bias (Buy on Dip, Sell on Rise, or Neutral).
Displays real-time trade direction and risk information, such as stop-loss and target hints.
Dynamic Level Adjustment: As the price moves, the script dynamically updates the key levels (HR, LR, and Murrey Math lines), keeping traders aware of the most recent market structure.
Visualization Tools:
The chart is populated with a series of lines and labels that indicate the critical price levels for trading.
Support/Resistance Lines: Each key level is marked with different colors for quick recognition.
Extensions: Additional lines are plotted based on price projections, indicating where the market could potentially move.
Note:
Please note that this is an educational purpose idea, any action/trade taken will be user's own responsibility.
Enjoy!
Regards.
Currency Basket vs USD - Trend & RSI Breakdown📊 Indicator Methodology
Currency Basket vs USD – Trend & Valuation Breakdown
💱 Strategy of Rotating Between USD and the Currency Basket
💰 100% cash strategy – always ready for market crashes.
🟢 Hold USD if the trend indicator shows USD is trending.
🔵 Hold the currency basket (EUR, PLN, CZK, CHF, GBP) if the basket is trending.
✅ This way, you're always on the winning side of the trade, never risking a loss of purchasing power.
📈 Since it's a LONG ONLY, NO LEVERAGE strategy, there are no trading or holding fees, except for a small 0.15% FX fee every few months when the trending currency changes.
📈 Trend Indicator
Uses 5 different indicators working together to determine which asset is in a trend.
👀 On the chart it's visualized as:
➕ Plus symbols indicating trend strength (usually ranges from -4 to +4).
🔺 If USD has a higher trend signal than the basket → Hold USD.
🔻 If the basket has a higher signal → Hold the basket.
🕒 Signals typically last several months and operate on the 3D (3-day) timeframe, giving a high probability of catching macro moves.
💡 Valuation Indicator (Z-scored RSI)
Uses RSI with a length of 30.
Z-scored between -1 to 1.
📉 Interpretation:
-1 for USD = too strong → likely stagnation or reversal.
-1 for Basket = undervalued → likely growth or stabilization.
📊 Displayed as a separate line below the main chart.
📍 A horizontal line at 90 is added on the main chart – helping you quickly see what’s above or below this key reference level.
⚙️ How the Strategy Works in Practice
✅ You update the indicator daily (takes only seconds).
✅ The trend indicator tells you which currency to hold.
✅ The valuation indicator prepares you for possible reversals.
🔄 When the trend shifts, you rotate your full position.
⏳ Trades typically last several months.
📈 Usually generates consistent profits of 2–8%.
💪 It grows your capital while keeping you ready to buy assets during major selloffs.
🔍 Best Usage
Use it as a quick scanner to observe trend or valuation changes.
If a signal appears, validate it using additional trend and valuation indicators.
📌 If most agree, take the position.
Compression Patterns (w/ Trend + Proximity Filter)🧠 Description:
This indicator identifies high-probability price compression patterns within trending environments — a setup prized by experienced swing and day traders alike. It combines the classic NR4, NR7, 2-Bar NR, 3-Bar NR, and Inside Day formations with a powerful trend filter and proximity logic to deliver clear, focused signals.
🔍 What's Inside:
▪️ Compression Patterns
The core of this tool lies in the logic of price compression. These patterns signal the market taking a breath — volatility contracts, volume dries up, and price coils like a spring.
When this happens in the right context, the next move is often explosive.
NR4 / NR7: Narrowest range in 4 or 7 bars — excellent for spotting the quiet before the storm.
2-Bar NR / 3-Bar NR: These identify the tightest consecutive 2 or 3-day ranges over the past 20 days — contextually rare and powerful.
Inside Day: A simple but highly effective consolidation pattern, especially when it clusters around key moving averages.
▪️ Trend Filter (EMA Stack)
You could say this is where most indicators fall apart — no context.
This one doesn’t make that mistake.
Signals only fire when the 10 EMA > 20 EMA > 50 EMA, and price is above the 20 EMA. That’s a strong, established uptrend — the only environment where breakouts are statistically favourable.
Why?
Because trend following works.
It may not give you fixed daily returns, but it’s the only strategy with theoretically infinite profit potential. You risk little, trade less, and position yourself for rare but massive moves. That’s the edge.
▪️ Proximity Filter (1 ATR to EMA)
We’ve added another layer of discipline. Signals only fire when price is:
Within 1 ATR of the 10 EMA (if price is above it), or
Within 1 ATR of the 20 EMA (if price is below the 10 EMA)
This ensures you’re not chasing. You’re waiting for tight, controlled pullbacks into dynamic support — exactly where institutions add size, not exit.
⚙️ Fully Customisable:
Toggle visibility of each pattern
Custom colours and transparency for label & background
Adjustable ATR length and multiplier
Change label text if needed (useful for translations or tweaks)
🎯 Ideal Use Case:
Swing trading off the daily chart
Day trading with VWAP/MACD filters (in alternate versions)
Supplementing price action strategies
🔚 Final Word:
This isn’t an “everything scanner.”
It’s a discerning sniper scope for traders who wait patiently for clean trends, tight consolidations, and perfect proximity — then strike.
PivotBox by Nadeem Al-QahwiPivotBox by Nadeem Al-Qahwi
General Idea of the Indicator: The PivotBox indicator is an advanced technical analysis tool designed to identify key reversal points in the market based on pivot highs and pivot lows. The indicator helps traders to detect breakout and breakdown opportunities based on past price movements, guiding informed trading decisions.
Indicator Functions:
Key Reversal Points (Pivot Points):
The indicator identifies pivot highs and pivot lows over a user-defined period, helping traders spot significant price levels in the market.
These points are plotted on the chart, showing where market reversals may occur.
Breakouts and Breakdowns:
The indicator identifies breakouts when the price moves above a pivot high or breakdowns when the price falls below a pivot low.
Once these breakouts or breakdowns are detected, the indicator draws lines indicating the critical price levels for visual reference.
Trend Levels using Zero-Lag MA:
The indicator includes an option to add a Zero-Lag Moving Average (Zero-Lag MA) to display the overall trend in the market. This moving average helps filter out noise and identify the general market direction, improving trade decision-making.
Line Styles:
The pivot points (highs and lows) are displayed using different line styles, such as solid, dashed, or dotted lines. The user can customize the style based on their preference.
These lines represent the breakouts or breakdown levels in the market.
Alerts:
The indicator can activate alerts when a breakout or breakdown occurs. Users can customize the alerts to notify them when specific conditions are met, ensuring that they do not miss significant price movements.
Input Variables:
Period (prd): The time period over which the pivot highs and lows are calculated. The user can define this period based on their trading strategy.
Max Breakout Length (bo_len): The maximum time duration for a breakout or breakdown to occur. This variable helps determine the relevance of the price movement.
Threshold Rate (cwidthu): The width percentage that helps to define the price area for breakouts and breakdowns.
Line Style (lstyle): Allows the user to choose the style of lines used to display the pivot points (solid, dashed, or dotted).
Minimum Number of Tests (mintest): The minimum number of tests required before a breakout or breakdown is considered valid.
How the Indicator Works:
The indicator first calculates the pivot highs and lows based on the user-defined period (Period).
It then tracks price movements to detect if a breakout or breakdown occurs.
When a breakout or breakdown is confirmed, the indicator draws lines at these levels and shows the user the new price direction.
Alerts can be triggered based on predefined conditions such as when a breakout or breakdown occurs.
The Zero-Lag MA helps the user visualize the trend, adding another layer of analysis to the market movements.
Key Benefits:
Accurate Reversal Point Analysis: Helps traders identify key entry and exit points based on precise technical analysis.
Breakout and Breakdown Detection: Allows traders to spot breakout and breakdown opportunities in real-time.
Customizable Alerts: Users can set up alerts to notify them when a breakout or breakdown happens, ensuring they don't miss important market moves.
Flexible Customization: The indicator offers various options to customize the display (line styles, alerts, trendlines), catering to different trading strategies.
Machine Learning | Adaptive Trend Signals [Bitwardex]⚙️🧠Machine Learning | Adaptive Trend Signals
🔷Overview
Machine Learning | Adaptive Trend Signals is a Pine Script™ v6 indicator designed to visualize market trends and generate signals through a combination of volatility clustering, Gaussian smoothing, and adaptive trend calculations. Built as an overlay indicator, it integrates advanced techniques inspired by machine learning concepts, such as K-Means clustering, to adapt to changing market conditions. The script is highly customizable, includes a backtesting module, and supports alert conditions, making it suitable for traders exploring trend-based strategies and developers studying volatility-driven indicator design.
🔷Functionality
The indicator performs the following core functions:
• Volatility Clustering: Uses K-Means clustering to categorize market volatility into high, medium, and low states, adjusting trend sensitivity accordingly.
• Trend Calculation: Computes adaptive trend lines (SmartTrend) based on volatility-adjusted standard deviation, smoothed RSI, and ADX filters.
• Signal Generation: Identifies potential buy and sell points through trend line crossovers and directional confirmation.
• Backtesting Module: Tracks trade outcomes based on the SmartTrend3 value, displaying win rate and total trades.
• Visualization: Plots trend lines with gradient colors and optional signal markers (bullish 🐮 and bearish 🐻).
• Alerts: Provides configurable alerts for trend shifts and volatility state changes.
🔷Technical Methodology
Volatility Clustering with K-Means
The indicator employs a K-Means clustering algorithm to classify market volatility, measured via the Average True Range (ATR), into three distinct clusters:
• Data Collection: Gathers ATR values over a user-defined training period (default: 100 bars).
• Centroid Initialization: Sets initial centroids at the highest, lowest, and midpoint ATR values within the training period.
• Iterative Clustering: Assigns ATR data points to the nearest centroid, recalculates centroid means, and repeats until convergence.
• Dynamic Adjustment: Assigns a volatility state (high, medium, or low) based on the closest centroid, adjusting the trend factor (e.g., tighter for high volatility, wider for low volatility).
This approach allows the indicator to adapt its sensitivity to varying market conditions, providing a data-driven foundation for trend calculations.
🔷Gaussian Smoothing
To enhance signal clarity and reduce noise, the indicator applies Gaussian kernel smoothing to:
• RSI: Smooths the Relative Strength Index (calculated from OHLC4) to filter short-term fluctuations.
• SmartTrend: Smooths the primary trend line for a more stable output.
The Gaussian kernel uses a sigma value derived from the user-defined smoothing length, ensuring mathematically consistent noise reduction.
🔷SmartTrend Calculation
The pineSmartTrend function is the core of the indicator, producing three trend lines:
• SmartTrend: The primary trend line, calculated using a volatility-adjusted standard deviation, smoothed RSI, and ADX conditions.
• SmartTrend2: A secondary trend line with a wider factor (base factor * 1.382) for signal confirmation.
SmartTrend3: The average of SmartTrend and SmartTrend2, used for plotting and backtesting.
Key components of the calculation include:
• Dynamic Standard Deviation: Scales based on ATR relative to its 50-period smoothed average, with multipliers (1.0 to 1.4) applied according to volatility thresholds.
• RSI and ADX Filters: Requires RSI > 50 for bullish trends or < 50 for bearish trends, alongside ADX > 15 and rising to confirm trend strength.
Volatility-Adjusted Bands: Constructs upper and lower bands around price action, adjusted by the volatility cluster’s dynamic factor.
🔷Signal Generation
The generate_signals function generates signals as follows:
• Buy Signal: Triggered when SmartTrend crosses above SmartTrend2 and the price is above SmartTrend, with directional confirmation.
• Sell Signal: Triggered when SmartTrend crosses below SmartTrend2 and the price is below SmartTrend, with directional confirmation.
Directional Logic: Tracks trend direction to filter out conflicting signals, ensuring alignment with the broader market context.
Signals are visualized as small circles with bullish (🐮) or bearish (🐻) emojis, with an option to toggle visibility.
🔷Backtesting
The get_backtest function evaluates signal outcomes using the SmartTrend3 value (rather than closing prices) to align with the trend-based methodology.
It tracks:
• Total Trades: Counts completed long and short trades.
• Win Rate: Calculates the percentage of trades where SmartTrend3 moves favorably (higher for longs, lower for shorts).
Position Management: Closes opposite positions before opening new ones, simulating a single-position trading system.
Results are displayed in a table at the top-right of the chart, showing win rate and total trades. Note that backtest results reflect the indicator’s internal logic and should not be interpreted as predictive of real-world performance.
🔷Visualization and Alerts
• Trend Lines: SmartTrend3 is plotted with gradient colors reflecting trend direction and volatility cluster, accompanied by a secondary line for visual clarity.
• Signal Markers: Optional buy/sell signals are plotted as small circles with customizable colors.
• Alerts: Supports alerts for:
• Bullish and bearish trend shifts (confirmed on bar close).
Transitions to high, medium, or low volatility states.
🔷Input Parameters
• ATR Length (default: 14): Period for ATR calculation, used in volatility clustering.
• Period (default: 21): Common period for RSI, ADX, and standard deviation calculations.
• Base SmartTrend Factor (default: 2.0): Base multiplier for volatility-adjusted bands.
• SmartTrend Smoothing Length (default: 10): Length for Gaussian smoothing of the trend line.
• Show Buy/Sell Signals? (default: true): Enables/disables signal markers.
• Bullish/Bearish Color: Customizable colors for trend lines and signals.
🔷Usage Instructions
• Apply to Chart: Add the indicator to any TradingView chart.
• Configure Inputs: Adjust parameters to align with your trading style or market conditions (e.g., shorter ATR length for faster markets).
• Interpret Output:
• Trend Lines: Use SmartTrend3’s direction and color to gauge market bias.
• Signals: Monitor bullish (🐮) and bearish (🐻) markers for potential entry/exit points.
• Backtest Table: Review win rate and total trades to understand the indicator’s behavior in historical data.
• Set Alerts: Configure alerts for trend shifts or volatility changes to support manual or automated trading workflows.
• Combine with Analysis: Use the indicator alongside other tools or market context, as it is designed to complement, not replace, comprehensive analysis.
🔷Technical Notes
• Data Requirements: Requires at least 100 bars for accurate volatility clustering. Ensure sufficient historical data is loaded.
• Market Suitability: The indicator is designed for trend detection and may perform differently in ranging or volatile markets due to its reliance on RSI and ADX filters.
• Backtesting Scope: The backtest module uses SmartTrend3 values, which may differ from price-based outcomes. Results are for informational purposes only.
• Computational Intensity: The K-Means clustering and Gaussian smoothing may increase processing time on lower timeframes or with large datasets.
🔷For Developers
The script is modular, well-commented, encouraging reuse and modification with proper attribution.
Key functions include:
• gaussianSmooth: Applies Gaussian kernel smoothing to any data series.
• pineSmartTrend: Computes adaptive trend lines with volatility and momentum filters.
• getDynamicFactor: Adjusts trend sensitivity based on volatility clusters.
• get_backtest: Evaluates signal performance using SmartTrend3.
Developers can extend these functions for custom indicators or strategies, leveraging the volatility clustering and smoothing methodologies. The K-Means implementation is particularly useful for adaptive volatility analysis.
🔷Limitations
• The indicator is not predictive and should be used as part of a broader trading strategy.
• Performance varies by market, timeframe, and parameter settings, requiring user experimentation.
• Backtest results are based on historical data and internal logic, not real-world trading conditions.
• Volatility clustering assumes sufficient historical data; incomplete data may affect accuracy.
🔷Acknowledgments
Developed by Bitwardex, inspired by machine learning concepts and adaptive trading methodologies. Community feedback is welcome via TradingView’s platform.
🔷 Risk Disclaimer
Trading involves significant risks, and most traders may incur losses. Bitwardex AI Algo is provided for informational and educational purposes only and does not constitute financial advice or a recommendation to buy or sell any financial instrument . The signals, metrics, and features are tools for analysis and do not guarantee profits or specific outcomes. Past performance is not indicative of future results. Always conduct your own due diligence and consult a financial advisor before making trading decisions.
SynchroTrend Oscillator (STO) [PhenLabs]📊 SynchroTrend Oscillator
Version: PineScript™ v5
📌 Description
The SynchroTrend Oscillator (STO) is a multi-timeframe synchronization tool that combines trend information from three distinct timeframes into a single, easy-to-interpret oscillator ranging from -100 to +100.
This indicator solves the common problem of having to analyze multiple timeframe charts separately by consolidating trend direction and strength across different time horizons. The STO helps traders identify when markets are truly synchronized across timeframes, potentially indicating stronger trend conditions and higher probability trading opportunities.
Using either Moving Average crossovers or RSI analysis as the trend definition metric, the STO provides a comprehensive view of market structure that adapts to various trading strategies and market conditions.
🚀 Points of Innovation
Triple-timeframe synchronization in a single view eliminates chart switching
Dual trend detection methods (MA vs Price or RSI) for flexibility across different markets
Dynamic color intensity that automatically increases with signal strength
Scaled oscillator format (-100 to +100) for intuitive trend strength interpretation
Customizable signal thresholds to match your risk tolerance and trading style
Visual alerts when markets reach full synchronization states
🔧 Core Components
Trend Scoring System: Calculates a binary score (+1, -1, or 0) for each timeframe based on selected metrics, providing clear trend direction
Multi-Timeframe Synchronization: Combines and scales trend scores from all three timeframes into a single oscillator
Dynamic Visualization: Adjusts color transparency based on signal strength, creating an intuitive visual guide
Threshold System: Provides customizable levels for identifying potentially significant trading opportunities
🔥 Key Features
Triple Timeframe Analysis: Synchronizes three user-defined timeframes (default: 60min, 15min, 5min) into one view
Dual Trend Detection Methods: Choose between Moving Average vs Price or RSI-based trend determination
Adjustable Signal Smoothing: Apply EMA, SMA, or no smoothing to the oscillator output for your preferred signal responsiveness
Dynamic Color Intensity: Colors become more vibrant as signal strength increases, helping identify strongest setups
Customizable Thresholds: Set your own buy/sell threshold levels to match your trading strategy
Comprehensive Alerts: Six different alert conditions for crossing thresholds, zero line, and full synchronization states
🎨 Visualization
Oscillator Line: The main line showing the synchronized trend value from -100 to +100
Dynamic Fill: Area between oscillator and zero line changes transparency based on signal strength
Threshold Lines: Optional dotted lines indicating buy/sell thresholds for visual reference
Color Coding: Green for bullish synchronization, red for bearish synchronization
📖 Usage Guidelines
Timeframe Settings
Timeframe 1: Default: 60 (1 hour) - Primary higher timeframe for trend definition
Timeframe 2: Default: 15 (15 minutes) - Intermediate timeframe for trend definition
Timeframe 3: Default: 5 (5 minutes) - Lower timeframe for trend definition
Trend Calculation Settings
Trend Definition Metric: Default: “MA vs Price” - Method used to determine trend on each timeframe
MA Type: Default: EMA - Moving Average type when using MA vs Price method
MA Length: Default: 21 - Moving Average period when using MA vs Price method
RSI Length: Default: 14 - RSI period when using RSI method
RSI Source: Default: close - Price data source for RSI calculation
Oscillator Settings
Smoothing Type: Default: SMA - Applies smoothing to the final oscillator
Smoothing Length: Default: 5 - Period for the smoothing function
Visual & Threshold Settings
Up/Down Colors: Customize colors for bullish and bearish signals
Transparency Range: Control how transparency changes with signal strength
Line Width: Adjust oscillator line thickness
Buy/Sell Thresholds: Set levels for potential entry/exit signals
✅ Best Use Cases
Trend confirmation across multiple timeframes
Finding high-probability entry points when all timeframes align
Early detection of potential trend reversals
Filtering trade signals from other indicators
Market structure analysis
Identifying potential divergences between timeframes
⚠️ Limitations
Like all indicators, can produce false signals during choppy or ranging markets
Works best in trending market conditions
Should not be used in isolation for trading decisions
Past performance is not indicative of future results
May require different settings for different markets or instruments
💡 What Makes This Unique
Combines three timeframes in a single visualization without requiring multiple chart windows
Dynamic transparency feature that automatically emphasizes stronger signals
Flexible trend definition methods suitable for different market conditions
Visual system that makes multi-timeframe analysis intuitive and accessible
🔬 How It Works
1. Trend Evaluation:
For each timeframe, the indicator calculates a trend score (+1, -1, or 0) using either:
MA vs Price: Comparing close price to a moving average
RSI: Determining if RSI is above or below 50
2. Score Aggregation:
The three trend scores are combined and then scaled to a range of -100 to +100
A value of +100 indicates all timeframes show bullish conditions
A value of -100 indicates all timeframes show bearish conditions
Values in between indicate varying degrees of alignment
3. Signal Processing:
The raw oscillator value can be smoothed using EMA, SMA, or left unsmoothed
The final value determines line color, fill color, and transparency settings
Threshold levels are applied to identify potential trading opportunities
💡 Note:
The SynchroTrend Oscillator is most effective when used as part of a comprehensive trading strategy that includes proper risk management techniques. For best results, consider using the oscillator in conjunction with support/resistance levels, price action analysis, and other complementary indicators that align with your trading style.
Triad Macro Gauge__________________________________________________________________________________
Introduction
__________________________________________________________________________________
The Triad Macro Gauge (TMG) is designed to provide traders with a comprehensive view of the macroeconomic environment impacting financial markets. By synthesizing three critical market signals— VIX (volatility) , Credit Spreads (credit risk) , and the Stocks/Bonds Ratio (SPY/TLT) —this indicator offers a probabilistic assessment of market sentiment, helping traders identify bullish or bearish macro conditions.
Holistic Macro Analysis: Combines three distinct macroeconomic indicators for multi-dimensional insights.
Customization & Flexibility: Adjust weights, thresholds, lookback periods, and visualization styles.
Visual Clarity: Dynamic table, color-coded plots, and anomaly markers for quick interpretation.
Fully Consistent Scores: Identical values across all timeframes (4H, daily, weekly).
Actionable Signals: Clear bull/bear thresholds and volatility spike detection.
Optimized for timeframes ranging from 4 hour to 1 week , the TMG equips swing traders and long-term investors with a robust tool to navigate macroeconomic trends.
__________________________________________________________________________________
Key Indicators
__________________________________________________________________________________
VIX (CBOE:VIX): Measures market volatility (negatively weighted for bearish signals).
Credit Spreads (FRED:BAMLH0A0HYM2EY): Tracks high-yield bond spreads (negatively weighted).
Stocks/Bonds Ratio (SPY/TLT): Evaluates equity sentiment relative to treasuries (positively weighted).
__________________________________________________________________________________
Originality and Purpose
__________________________________________________________________________________
The TMG stands out by combining VIX, Credit Spreads, and SPY/TLT into a single, cohesive indicator. Its unique strength lies in its fully consistent scores across all timeframes, a critical feature for multi-timeframe analysis.
Purpose: To empower traders with a clear, actionable tool to:
Assess macro conditions
Spot market extremes
Anticipate reversals
__________________________________________________________________________________
How It Works
__________________________________________________________________________________
VIX Z-Score: Measures volatility deviations (inverted for bearish signals).
Credit Z-Score: Tracks credit spread deviations (inverted for bearish signals).
Ratio Z-Score: Assesses SPY/TLT strength (positively weighted for bullish signals).
TMG Score: Weighted composite of z-scores (bullish > +0.30, bearish < -0.30).
Anomaly Detection: Identifies extreme volatility spikes (z-score > 3.0).
All calculations are performed using daily data, ensuring that scores remain consistent across all chart timeframes.
__________________________________________________________________________________
Visualization & Interpretation
__________________________________________________________________________________
The script visualizes data through:
A dynamic table displaying TMG Score , VIX Z, Credit Z, Ratio Z, and Anomaly status, with color gradients (green for positive, red for negative, gray for neutral/N/A).
A plotted TMG Score in Area, Histogram, or Line mode , with adaptive opacity for clarity.
Bull/Bear thresholds as horizontal lines (+0.30/-0.30) to signal market conditions.
Anomaly markers (orange circles) for volatility spikes.
Crossover signals (triangles) for bull/bear threshold crossings.
The table provides an immediate snapshot of macro conditions, while the plot offers a visual trend analysis. All values are consistent across timeframes, simplifying multi-timeframe analysis.
__________________________________________________________________________________
Script Parameters
__________________________________________________________________________________
Extensive customization options:
Symbol Selection: Customize VIX, Credit Spreads, SPY, TLT symbols
Core Parameters: Adjust lookback periods, weights, smoothing
Anomaly Detection: Enable/disable with custom thresholds
Visual Style: Choose display modes and colors
__________________________________________________________________________________
Conclusion
__________________________________________________________________________________
The Triad Macro Gauge by Ox_kali is a cutting-edge tool for analyzing macroeconomic trends. By integrating VIX, Credit Spreads, and SPY/TLT, TMG provides traders with a clear, consistent, and actionable gauge of market sentiment.
Recommended for: Swing traders and long-term investors seeking to navigate macro-driven markets.
__________________________________________________________________________________
Credit & Inspiration
__________________________________________________________________________________
Special thanks to Caleb Franzen for his pioneering work on macroeconomic indicator blends – his research directly inspired the core framework of this tool.
__________________________________________________________________________________
Notes & Disclaimer
__________________________________________________________________________________
This is the initial public release (v2.5.9). Future updates may include additional features based on user feedback.
Please note that the Triad Macro Gauge is not a guarantee of future market performance and should be used with proper risk management. Past performance is not indicative of future results.
Dynamic Trend Bands [ChartPrime]The Dynamic Trend Bands is a versatile trend-following indicator that uses a double-smoothed Hull Moving Average (HMA) to detect market trends, combined with dynamic bands that provide insight into potential momentum shifts and volatility-based price zones.
⯁ KEY FEATURES
Double HMA Trend Filter
Utilizes a double-smoothed HMA for a smoother and more responsive trend line, reducing noise while highlighting clear market trends.
float base = ta.hma(ta.hma(close, length - 10), length)
Dynamic Volatility Bands
Plots upper and lower bands based on volatility, positioned above the price in a downtrend and below the price in an uptrend.
Momentum Shift Detection
Highlights bars in orange when a potential momentum shift occurs:
- During a downtrend, if the high breaks above the upper band.
- During an uptrend, if the low breaks below the lower band.
Customizable Band Appearance
Users can adjust the size, distance, and colors of the bands, as well as choose whether to display the mid-band line and fill the area between bands.
Timeframe Flexibility
Allows selection of different calculation timeframes, enabling traders to adapt the indicator to various trading strategies.
⯁ HOW TO USE
Identify Trend Direction
Use the double HMA line to confirm the prevailing trend:
- Above the bands: downtrend.
- Below the bands: uptrend.
Spot Potential Momentum Shifts
Watch for orange-highlighted bars signaling potential reversals or weakening trends.
Optimize Entries and Exits
Enter trades on trend continuation signals while using band breaks to spot potential reversal zones.
Customize to Fit Your Strategy
Adjust the bands’ size, distance, and calculation timeframe to suit scalping, swing, or position trading.
⯁ CONCLUSION
The Dynamic Trend Bands is an all-in-one tool that helps traders assess trend strength, detect momentum shifts, and identify key price zones. Its customizable features make it adaptable for various trading styles and market conditions.
DEMA Trend Oscillator Strategy📌 Overview
The DEMA Trend Oscillator Strategy is a dynamic trend-following approach based on the Normalized DEMA Oscillator SD.
It adapts in real-time to market volatility with the goal of improving entry accuracy and optimizing risk management.
⚠️ This strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
The main goal of this strategy is to respond quickly to sudden price movements and trend reversals,
by combining momentum-based signals with volatility filters.
It is designed to be user-friendly for traders of all experience levels.
✨ Key Features
Normalized DEMA Oscillator: A momentum indicator that normalizes DEMA values on a 0–100 scale, allowing intuitive identification of trend strength
Two-Bar Confirmation Filter: Requires two consecutive bullish or bearish candles to reduce noise and enhance entry reliability
ATR x2 Trailing Stop: In addition to fixed stop-loss levels, a trailing stop based on 2× ATR is used to maximize profits during strong trends
📊 Trading Rules
Long Entry:
Normalized DEMA > 55 (strong upward momentum)
Candle low is above the upper SD band
Two consecutive bullish candles appear
Short Entry:
Normalized DEMA < 45 (downward momentum)
Candle high is below the lower SD band
Two consecutive bearish candles appear
Exit Conditions:
Take-profit at a risk-reward ratio of 1.5
Stop-loss triggered if price breaks below (long) or above (short) the SD band
Trailing stop activated based on 2× ATR to secure and extend profits
💰 Risk Management Parameters
Symbol & Timeframe: Any (AUDUSD 5M example)
Account size (virtual): $3000
Commission: 0.4PIPS(0.0004)
Slippage: 2 pips
Risk per trade: 5%
Number of trades (backtest):534
All parameters can be adjusted based on broker specifications and individual trading profiles.
⚙️ Trading Parameters & Considerations
Indicator: Normalized DEMA Oscillator SD
Parameter settings:
DEMA Period (len_dema): 40
Base Length: 20
Long Threshold: 55
Short Threshold: 45
Risk-Reward Ratio: 1.5
ATR Multiplier for Trailing Stop: 2.0
🖼 Visual Support
The chart displays the following visual elements:
Upper and lower SD bands (±2 standard deviations)
Entry signals shown as directional arrows
🔧 Strategy Improvements & Uniqueness
This strategy is inspired by “Normalized DEMA Oscillator SD” by QuantEdgeB,
but introduces enhancements such as a two-bar confirmation filter and an ATR-based trailing stop.
Compared to conventional trend-following strategies, it offers superior noise filtering and profit optimization.
✅ Summary
The DEMA Trend Oscillator Strategy is a responsive and practical trend-following method
that combines momentum detection with adaptive risk management.
Its visual clarity and logical structure make it a powerful and repeatable tool
for traders seeking consistent performance in trending markets.
⚠️ Always apply appropriate risk management. This strategy is based on historical data and does not guarantee future results.
RSI-MACD Momentum Fusion Indicator(RMFI)📈 RSI-MACD Momentum Fusion Indicator (RMFI)
The RMFI combines the strengths of two RSI variants with a dynamically adaptive MACD module into a powerful momentum oscillator ranging from 0 to 100. The goal is to unify converging momentum information from different perspectives into a clear, weighted overall signal.
🔧 Core Features
RSI 1: Classic Wilder RSI, sensitive to short-term momentum.
RSI 2: Modified RSI based on normalized price movement ranges (Range Momentum).
MACD (3 Modes):
Standardized (min/max-based)
Fully adaptive (Z-score normalization)
50% adaptive (hybrid weighting of both approaches)
Dynamic MACD mode selection (optional): Automatic switching of MACD normalization based on volatility levels (ATR-based).
Signal Line: Smoothed average of all components to visualize momentum trends and crossovers.
🎯 Visualization
Clear separation of overbought (>70) and oversold (<30) zones with color highlighting.
Different colors based on the dynamic MACD mode – visually indicates how strongly the market adapts to volatility.
⚙️ Recommended Use
Ideal for trend following, divergence confirmation (with external divergence logic), and momentum reversals.
Particularly effective in volatile markets, as the MACD component adaptively responds to instability.
© champtrades
Directional Deviation Index (DDI)Directional Deviation Index (DDI) is a streamlined, adaptive indicator for analyzing market cycles, detecting trend direction, and gauging momentum. By measuring how far price deviates from a smoothed average, the DDI adapts dynamically to both bullish and bearish conditions.
Key Features:
Unified Smoothing: Choose SMA or EMA for consistent, predictable signals.
Log Scale: Focus on percentage-based moves—ideal for volatile or higher-priced assets.
Adaptive Trend Levels: Auto-adjust uptrend/downtrend thresholds based on market volatility.
Momentum Visualization: Transparent color fills (green for uptrends, red for downtrends) that intensify with stronger deviations.
Customizable Sensitivity: Fine-tune uptrend and downtrend settings to suit any trading style.
Simple Alerts & Status Line: Get notified on key crossovers and track real-time price without chart clutter.
Comparison to Similar Indicators:
Bollinger Bands: Both use deviations from a moving average, but the DDI emphasizes directional momentum and adaptive threshold levels rather than fixed bands.
RSI/Stochastics: While these oscillators focus on overbought or oversold conditions, the DDI tracks how far price strays from its average, giving a clearer picture of trend strength.
MACD: MACD is built on EMA crossovers, whereas the DDI highlights deviations from a mean and adapts more directly to volatility changes.
Use the DDI to identify trend strength, spot potential reversals, and monitor evolving market conditions across stocks, crypto, forex, and beyond. It’s a versatile yet concise tool for traders seeking faster, more confident decisions.