المؤشرات والاستراتيجيات
SPDR Sectors TableThis script generates an interactive and customizable SPDR Sectors Table designed to monitor and analyze the performance of the 11 main sectors of the S&P 500 via sector-specific ETFs. It offers a dynamic overview of daily or periodic sector movements, making it a valuable tool for traders, analysts, and investors implementing sector rotation strategies.
█ DEFINITIONS
SPDR Sectors ETFs are exchange-traded funds managed by State Street Global Advisors, which divide the S&P 500 into the following 11 sectors:
- Communication Services (XLC)
- Consumer Discretionary (XLY)
- Consumer Staples (XLP)
- Energy (XLE)
- Financials (XLF)
- Health Care (XLV)
- Industrials (XLI)
- Materials (XLB)
- Real Estate (XLRE)
- Technology (XLK)
- Utilities (XLU)
These ETFs aim to replicate the performance of their respective sectors as defined by the Global Industry Classification Standard (GICS). The funds are periodically rebalanced to match changes in the S&P 500 composition, offering an accurate snapshot of sectoral trends.
█ INDICATOR
The table displays each sector's ticker and full name, following official GICS terminology and SPDR color coding. It also shows percentage performance, calculated daily on intraday charts or based on the selected time frame.
Users can sort the table by either percentage performance or the relative weight of each ETF in the S&P 500. The default weight values reflect data updated as of 17 April 2025, and can be manually adjusted based on the most recent sector weightings available on the official SPDR website.
RSI - 5UP Overview
The "RSI - 5UP" indicator is a versatile tool that enhances the traditional Relative Strength Index (RSI) by adding smoothing options, Bollinger Bands, and divergence detection. It provides a clear visual representation of RSI levels with customizable bands and optional moving averages, helping traders identify overbought/oversold conditions and potential trend reversals through divergence signals.
Features
Customizable RSI: Adjust the RSI length and source to fit your trading style.
Overbought/Oversold Bands: Visualizes RSI levels with intuitive color-coded bands (red for overbought at 70, white for neutral at 50, green for oversold at 30).
Smoothing Options: Apply various types of moving averages (SMA, EMA, SMMA, WMA, VWMA) to the RSI, with optional Bollinger Bands for volatility analysis.
Divergence Detection: Identifies regular bullish and bearish divergences, with visual labels ("Bull" for bullish, "Bear" for bearish) and alerts.
G radient Fills: Highlights overbought and oversold zones with gradient fills (green for overbought, red for oversold).
How to Use
1. Add to Chart: Apply the "RSI - 5UP" indicator to any chart. It works well on timeframes from 5 minutes to daily.
2. Configure Settings:
RSI Settings:
RSI Length: Adjust the period for RSI calculation (default: 14).
Source: Choose the price source for RSI (default: close).
Calculate Divergence: Enable to detect bullish/bearish divergences (default: disabled).
Smoothing:
Type: Select the type of moving average to smooth the RSI ("None", "SMA", "SMA + Bollinger Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"; default: "SMA").
Length: Set the period for the moving average (default: 14).
BB StdDev: If "SMA + Bollinger Bands" is selected, adjust the standard deviation multiplier for the bands (default: 2.0).
3.Interpret the Indicator:
RSI Levels: The RSI line (purple) oscillates between 0 and 100. Levels above 70 (red band) indicate overbought conditions, while levels below 30 (green band) indicate oversold conditions. The 50 level (white band) is neutral.
Gradient Fills: The background gradients (green above 70, red below 30) highlight overbought and oversold zones for quick reference.
Moving Average (MA): If enabled, a yellow MA line smooths the RSI. If "SMA + Bollinger Bands" is selected, green bands appear around the MA to show volatility.
Divergences: If "Calculate Divergence" is enabled, look for "Bull" (green label) and "Bear" (red label) signals:
Bullish Divergence: Indicates a potential upward reversal when the price makes a lower low, but the RSI makes a higher low.
Bearish Divergence: Indicates a potential downward reversal when the price makes a higher high, but the RSI makes a lower high.
4. Set Alerts:
Use the "Regular Bullish Divergence" and "Regular Bearish Divergence" alert conditions to be notified when a divergence is detected.
Notes
The indicator does not provide direct buy/sell signals. Use the RSI levels, moving averages, and divergence signals as part of a broader trading strategy.
Divergence detection requires the "Calculate Divergence" option to be enabled and may not work on all timeframes or assets due to market noise.
The Bollinger Bands are only visible when "SMA + Bollinger Bands" is selected as the smoothing type.
Credits
Developed by Marrulk. Enjoy trading with RSI - 5UP! 🚀
[blackcat] L3 Magic-9/13 with Reversal Points ConfirmationOVERVIEW
The L3 Magic-9/13 with Reversal Points Confirmation indicator is designed to help traders identify potential reversal points in the market using a sequential approach. This indicator adopts the "buy when fearful, sell when greedy" philosophy, focusing on capturing key reversal moments 📉↗️. It plots labels on the chart to indicate these reversal points and uses custom functions to filter occurrences based on specific conditions.
FEATURES
Identifies consecutive price movements to detect potential reversals.
Plots labels for various sequential patterns:
High Sequentials: 5, 6, 7, 8, 9, 12, 13
Low Sequentials: 5, 6, 7, 8, 9, 12, 13
Uses custom functions to count consecutive occurrences and filter conditions.
Provides visual confirmation of reversal points with colored labels 🏷️.
Allows customization of sequence lengths and lookback periods ⚙️.
HOW TO USE
Add the indicator to your TradingView chart by selecting it from the indicators list.
Observe the plotted labels indicating potential reversal zones:
Green labels for buy signals ('B').
Red labels for sell signals ('S').
Customize the sequence lengths and lookback periods as needed in the settings panel.
Combine this indicator with other tools for confirmation before making trading decisions.
LIMITATIONS
The indicator relies heavily on sequential patterns, which might not capture all market nuances.
False signals can occur in ranging or sideways markets 🌪️.
Users should always confirm signals with other forms of analysis.
NOTES
Ensure that you have sufficient historical data available for accurate calculations.
Test the indicator thoroughly on demo accounts before applying it to live trading 🔍.
Understand the concept of buying at bottoms and selling at tops before using this indicator.
VPSRVP Sovereign Reign (VPSR) - Advanced Volume Profile Analysis
A sophisticated volume analysis tool that provides deep insights into market participation and momentum through an intuitive visual interface. This indicator helps traders identify significant market moves, potential reversals, and institutional activity.
Key Features:
1. Smart Volume Analysis
• Dynamic volume profiling
• Institutional participation detection
• Abnormal volume identification
• Real-time momentum tracking
2. Advanced Visual System
• Color-coded volume bars
• Adaptive cloud formation
• Reversal pattern detection
• Fake-out warning system
Visual Components:
1. Volume Bars
• Green: Bullish pressure with normal volume
• Purple: Bearish pressure with normal volume
• White: Significant bullish participation
• Pink: Significant bearish participation
• Orange: High-probability reversal zones
2. Dynamic Cloud
• White Cloud: Bullish control zone
• Purple Cloud: Bearish control zone
• Cloud density indicates participation strength
• Adaptive to market conditions
Signal Interpretation:
1. Normal Market Conditions
• Green/Purple bars show directional pressure
• Cloud color indicates dominant force
• Cloud height shows average participation
2. Significant Events
• White/Pink bars signal major moves
• Orange bars highlight potential reversals
• Cloud expansion shows increasing activity
• Cloud contraction indicates consolidation
Customization Options:
• Volume MA Length: Smoothing factor
• Abnormal Volume Threshold: Sensitivity
• Cloud Display: Toggle visualization
• Color scheme optimization
Best Practices:
1. Multiple Timeframe Analysis
• Start with higher timeframes
• Confirm on lower timeframes
• Watch for confluence
2. Volume Analysis
• Compare to historical levels
• Monitor abnormal spikes
• Track participation trends
3. Trade Management
• Use as confirmation tool
• Wait for clear signals
• Monitor fake-out warnings
• Combine with price action
Trading Applications:
1. Trend Analysis
• Identify strong moves
• Spot weakening trends
• Detect consolidation
2. Reversal Detection
• Spot potential turning points
• Identify fake-outs
• Monitor institutional activity
3. Risk Management
• Volume-based position sizing
• Stop loss placement
• Profit target selection
The VP Sovereign Reign indicator excels at:
• Identifying significant market moves
• Detecting institutional participation
• Warning of potential reversals
• Highlighting fake-outs
• Providing clear market context
Risk Warning:
This indicator is designed as a technical analysis tool and should be used as part of a complete trading strategy. Past performance does not guarantee future results. Always employ proper risk management techniques.
Note: For optimal results, use in conjunction with price action analysis and other complementary indicators.
[blackcat] L3 Magic-9 Sequential SetupOVERVIEW
The L3 Magic-9 Sequential Setup indicator is designed to identify potential reversal points in the market using a sequential pattern analysis. This script plots specific labels on the chart based on predefined conditions, helping traders spot key levels where price reversals might occur 📉↗️.
FEATURES
Identifies consecutive occurrences of price movements above or below certain thresholds.
Plots labeled markers on the chart for easy visualization:
Red Labels: Indicate potential sell signals (e.g., '5', '6', '7', etc.).
Green Labels: Indicate potential buy signals (e.g., '5', '6', '7', etc.)
Uses custom functions to filter and count occurrences over specified lookback periods ⚙️.
Changes bar colors based on detected signals for enhanced visual cues 🎨.
Supports extensive customization through input parameters for fine-tuning the setup.
HOW TO USE
Add the indicator to your TradingView chart by selecting it from the indicators list.
Observe the plotted labels ('5', '6', '7', etc.) indicating potential reversal zones.
Pay attention to bar color changes that confirm the identified patterns.
Combine this indicator with other tools for confirmation before making trading decisions.
LIMITATIONS
The indicator relies heavily on sequential patterns, which may not capture all market nuances.
False signals can occur in ranging or sideways markets 🌪️.
Users should always confirm signals with other forms of analysis.
NOTES
Ensure that you have sufficient historical data available for accurate calculations.
Test the indicator thoroughly on demo accounts before applying it to live trading 🔍.
Customize input parameters as needed to fit your trading strategy.
AmbushFX – Session Background ShadingVisually highlights Asia, London, and NY sessions using color-coded background shading.
Average pips in a time range ( pbalbisFX )This indicator show how much pips the price moved in a especific period of time.
RNDR Reentry SystemStrategy for Render for daily trading
It helps getting in and out depending on volume, shape of the candles in the chart, uptrend, Overbought and oversold signals.
volatilityThis indicator indicates whether volatility is sufficient for trading. It works on time frames from 1 minute to 2 hours. The redder the indicator, the less volatility there is, and the greener the indicator, the more volatility there is.
5 custom moving averages5 custom moving averages
5 custom moving averages is an original TradingView indicator that lets you plot and manage five independent moving averages on one chart—each with customizable type, period, color, and data source. Rather than a simple mash‑up of defaults, it’s designed to help you synchronize short‑, mid‑, long‑term trends and volume dynamics for better entry timing and trend confirmation.
1. Key Features & Originality
Five fully independent lines (MA1–MA5), each selectable as SMA, EMA, WMA, or VWMA.
Default periods of 10, 21, 50, 200, 325—but all periods are freely customizable.
Default color scheme for clarity: transparent pink (10), green (21), red (50), black (200), light blue (325)—colors are also fully customizable.
Synergy rationale: Ultra‑short (10) through extra‑long/volume‑weighted (325) layered together create a multi‑filter that no single MA can match.
2. Calculation Logic
SMA (Simple Moving Average)
(P₁ + P₂ + … + Pₙ) ÷ N
EMA (Exponential Moving Average)
α = 2 ÷ (N + 1)
EMA_today = (Price_today – EMA_yesterday) × α + EMA_yesterday
WMA (Weighted Moving Average)
(P₁×N + P₂×(N–1) + … + Pₙ×1) ÷
VWMA (Volume‑Weighted MA)
Σ(Pᵢ × Vᵢ) ÷ Σ(Vᵢ) for i = 1…N
3. Usage Scenarios & Examples
Short‑Mid Cross Entry
MA1 (10) crossing above MA2 (21) when price is above MA3 (50) signals a potential buy.
Trend Confirmation
Price consistently above MA3 (50) and an upward‑sloping MA4 (200) confirms a strong uptrend.
Volume‑Backed Rebound
Set MA5 to VWMA‑325—if price bounces on rising volume, institutional buying is likely.
Combined Filter Workflow
Apply the indicator
Look for MA1×MA2 cross on the daily chart
Check price vs. MA3/MA4 for trend alignment
Confirm with MA5/VWMA volume signal
4. Parameters
MA1–MA5 Type: SMA / EMA / WMA / VWMA
Period 1–5: Default 10 / 21 / 50 / 200 / 325 (editable; all periods freely customizable)
Source: Close, Open, High, Low, HL2, etc.
Colors & Line Width: Default transparent colors (fully customizable in code)
Volumen Extremo + SRThis indicator detects high-impact trading moments by combining:
Volume spikes (3x or 5x above average)
Strong candle bodies
Dynamic support/resistance zones (based on recent highs/lows)
It highlights key turning points in the market—whether due to whale take-profits, institutional exits, or breakout confirmations.
🔺 Green/Red Arrows:
Appear when volume is 3× the average and the candle has a significant body
→ Confirms strong market conviction (buy/sell)
🌟 Fuchsia Star:
Appears when volume exceeds 5× average with a large-bodied candle
→ Signals extreme moves, whale actions or liquidation spikes
🟩 Support Line (green):
Dynamic recent lowest price (lookback configurable)
→ Identifies zones where buyers previously stepped in
→ Identifies zones where buyers previously stepped in
🟥 Resistance Line (red):
Dynamic recent highest price (lookback configurable)
→ Shows zones where sellers previously dominated
Alerts Included:
Bullish breakout with volume
Bearish rejection with volume
Volume explosion alerts for extreme moves
Don't guide yourself by man uptrend if it doesn't have exceptional volume.
By Teo Mariscal
QQAI Order & Breaker BlocksQQAI on yo Headtop
detects order blocks that can automatically turn into breaker blocks on the chart once mitigated. However, the key difference/uniqueness is that the pure price action version relies solely on price patterns, eliminating the need for length definitions.
Volume_volatility_24)📊 TechData24h (24h Technical Metrics)
This TradingView indicator displays and alerts on key daily metrics for the current trading instrument, including:
Volume (24h, Yesterday, Day Before Yesterday)
Price Change (%) over 24h
Volatility (%) over 24h
Volume Change (%) vs Yesterday and Day Before
Correlation with BTC (custom symbol & timeframe)
🔔 Custom Alerts:
You can define your own percentage thresholds for both positive and negative changes. Alerts will trigger when:
Price change exceeds or drops below a set threshold
Volatility crosses a threshold
Volume increases or decreases significantly
Correlation with BTC moves beyond limits
📋 Table Dashboard:
All selected metrics are shown in a 2-column dashboard at the bottom left of the chart, with color-coded values based on increase/decrease.
Alerta Volumen Alto
To determine is the uptrend is solid or is a failed attempt, we should always look for the volume. If BTC breaks with a volume 2X bigger than the mean of the last 20 candles, there is a good chance that we see a solid uptrend.
It detects and compares volume automatically.
Measure and compare volume automatically.
Ideal to detect real breakouts.
CandlestickUtilitiesThis library provides essential functions for candlestick chart analysis and pattern recognition in Pine Script®.
It includes:
• Candle structure analysis (bodies, shadows, lengths)
• Trend detection using EMAs
• Common candlestick pattern recognition
This library is under construction.
Designed to support strategy development and improve signal accuracy for traders.
Created by @xprophetx — under MPL-2.0 license.
[blackcat] L3 Magic-9 Sequential MACDOVERVIEW
The L3 Magic-9 Sequential MACD indicator is an advanced tool designed to enhance the traditional Moving Average Convergence Divergence (MACD) by incorporating sequential patterns. This script calculates various MACD components and applies custom logic to identify potential buy and sell signals based on specific sequential conditions 📊💹.
FEATURES
Calculates MACD Line, Signal Line, and enhanced histogram.
Plots colored histograms to visualize differences between MACD line and signal line:
Positive histogram bars indicate bullish momentum.
Negative histogram bars indicate bearish momentum.
Identifies sequential patterns in the MACD line for generating buy ('Buy') and sell ('Sell') signals 🏷️.
Adds numerical labels (e.g., '5', '6', '7', etc.) to mark specific sequential conditions.
Supports customizable colors and styles for plotted elements ⚙️.
Generates alerts for identified sequential patterns 🔔.
HOW TO USE
Add the indicator to your TradingView chart by selecting it from the indicators list.
Adjust the input parameters for Fast Length, Slow Length, and Signal Length.
Monitor the chart for labeled buy/sell signals and numerical markers indicating sequential patterns.
Set up alerts based on the generated signals to receive notifications when conditions are met 📲.
Use the indicator alongside other technical analysis tools for better decision-making.
LIMITATIONS
The effectiveness of sequential patterns may vary depending on market conditions.
False signals can occur in highly volatile or ranging markets 🌪️.
Users should always confirm signals with other forms of analysis before entering trades.
NOTES
Ensure that you have sufficient historical data available for accurate MACD calculations.
Test the indicator thoroughly on demo accounts before applying it to live trading 🔍.
Customize the appearance of the plotted elements as needed to suit your chart layout.
[blackcat] L3 Magic-9 Sequential within HighlightsOVERVIEW
The L3 Magic-9 Sequential within Highlights indicator is designed to identify potential buy and sell signals based on sequential price patterns. This script uses custom functions to detect consecutive occurrences of specific conditions and highlights these patterns on the chart with labels and background colors 📊🔍.
FEATURES
Detects sequential price patterns for both bullish and bearish movements:
High sequences: 5, 6, 7, 8, 9, 12, 13 bars.
Low sequences: 5, 6, 7, 8, 9, 12, 13 bars.
Plots characters ('5', '6', etc.) and shapes (arrows) on the chart to indicate detected sequences 🏷️↗️↘️.
Uses a customizable period for calculating averages of price differences.
Highlights overbought and oversold conditions using background colors 🎨.
Generates buy ('B') and sell ('S') labels based on filtered occurrences and index values.
HOW TO USE
Add the indicator to your TradingView chart by selecting it from the indicators list.
Observe the plotted characters and arrows indicating detected sequential patterns.
Monitor the background color changes to identify overbought and oversold conditions.
Look for generated buy ('B') and sell ('S') labels for potential trading opportunities.
Customize the period and thresholds in the settings panel as needed ⚙️.
LIMITATIONS
The indicator relies heavily on sequential price patterns, which might not capture all market nuances.
False signals can occur in ranging or sideways markets 🌪️.
Users should always confirm signals with other forms of analysis before making trading decisions.
NOTES
Ensure that you have sufficient historical data available for accurate calculations.
Test the indicator thoroughly on demo accounts before applying it to live trading 🔍.
Adjust the period and threshold inputs to fit your preferred trading strategy.
Slope Change Rate Volume ConfirmationSlope Change Rate Volume Confirmation (SCR)
█ OVERVIEW
This indicator identifies moments where the price trend is not just moving, but accelerating (i.e., the rate of change of the trend's slope is increasing or decreasing significantly), and crucially, whether this acceleration is confirmed by high volume . The core idea is that price acceleration backed by strong volume suggests higher conviction behind the move, potentially indicating the start or continuation of a strong thrust. Conversely, acceleration without volume might be less reliable.
It calculates the slope (velocity) of price movement, then the change in that slope (acceleration). This acceleration is normalized to a -100 to 100 range for consistent threshold application. Finally, it checks if significant acceleration coincides with volume exceeding its recent average.
█ HOW IT WORKS
The indicator follows these steps:
1. Slope Calculation (Velocity):
Calculates the slope of a linear regression line based on the input `Source` over the `Slope Calculation Length`. This represents the instantaneous rate of change or "velocity" of the price trend.
// Calculate linear regression slope (current value - previous value)
slope = ta.linreg(src, slopeLen, 0) - ta.linreg(src, slopeLen, 1)
2. Acceleration Calculation & Normalization:
Determines the bar-to-bar change in the calculated `slope` (`slope - slope `). This raw change represents the "acceleration". This value is then immediately normalized to a fixed range of -100 to +100 using the internal `f_normalizeMinMax` function over the `Volume SMA Length` lookback period. Normalization allows the `Acceleration Threshold` input to be applied consistently.
// Calculate slope change rate (acceleration) and normalize it
// f_normalizeMinMax(source, length, newMin, newMax)
accel = f_normalizeMinMax(slope - slope , volSmaLen, -100, 100)
*( Note: `f_normalizeMinMax` is a standard min-max scaling function adapted to the -100/100 range, included within the script's code.*)*
3. Volume Confirmation Check:
Calculates the Simple Moving Average (SMA) of volume over the `Volume SMA Length`. It then checks if the current bar's volume is significantly higher than this average, defined by exceeding the average multiplied by the `Volume Multiplier Threshold`.
// Calculate average volume
avgVolume = ta.sma(volume, volSmaLen)
// Determine if current volume is significantly high
isHighVolume = volume > avgVolume * volMultiplier
4. Confirmation Signals:
Combines the normalized acceleration and volume check to generate the final confirmation boolean flags:
// Bullish: Price is accelerating upwards (accel > threshold) AND volume confirms
confirmBullishAccel = accel > accelThreshold and isHighVolume
// Bearish: Price is accelerating downwards (accel < -threshold) AND volume confirms
confirmBearishAccel = accel < -accelThreshold and isHighVolume
█ HOW TO USE
Confirmation Filter: The primary intended use is to filter entry signals from another strategy. Only consider long entries when `confirmBullishAccel` is true, or short entries when `confirmBearishAccel` is true. This helps ensure you are entering during periods of strong, volume-backed momentum.
// Example Filter Logic
longEntry = yourPrimaryBuySignal and confirmBullishAccel
shortEntry = yourPrimarySellSignal and confirmBearishAccel
Momentum Identification: High absolute values of the plotted `Acceleration` (especially when confirmed by the shapes) indicate strong directional conviction.
Potential Exhaustion/Divergence: Consider instances where price accelerates significantly (large absolute `accel` values) without volume confirmation (`isHighVolume` is false). This *might* suggest weakening momentum or potential exhaustion, although this requires further analysis.
█ INPUTS
Slope Calculation Length: Lookback period for the linear regression slope calculation.
Volume SMA Length: Lookback period for the Volume SMA and also for the normalization range of the acceleration calculation.
Volume Multiplier Threshold: Factor times average volume to define 'high volume'. (e.g., 1.5 means > 150% of average volume).
Acceleration Threshold: The minimum absolute value the normalized acceleration (-100 to 100 range) must reach to trigger a confirmation signal (when combined with volume).
Source: The price source (e.g., close, HLC3) used for the slope calculation.
█ VISUALIZATION
The indicator plots in a separate pane:
Acceleration Plot: A column chart showing the normalized acceleration (-100 to 100). Columns are colored dynamically based on acceleration's direction (positive/negative) and change (increasing/decreasing).
Threshold Lines: White horizontal dashed lines drawn at the positive and negative `Acceleration Threshold` levels.
Confirmation Shapes:
Green Upward Triangle (▲) below the bar when Bullish Acceleration is confirmed by volume (`confirmBullishAccel` is true).
Red Downward Triangle (▼) above the bar when Bearish Acceleration is confirmed by volume (`confirmBearishAccel` is true).
█ SUMMARY
The SCR indicator is a tool designed to highlight periods of significant price acceleration that are validated by increased market participation (high volume). It can serve as a valuable filter for momentum-based trading strategies by helping to distinguish potentially strong moves from weaker ones. As with any indicator, use it as part of a comprehensive analysis framework and always practice sound risk management.
Multi-Scale Slope Alignment FilterMulti-Scale Slope Alignment Filter (MSSA)
█ OVERVIEW
This indicator identifies periods where the market trend, measured by the slope of a linear regression line, is aligned across multiple time scales (short, medium, and long-term). It acts as a trend confirmation filter, visually highlighting when different trend perspectives agree. The core idea is that signals or trades taken in the direction of aligned slopes might have a higher probability of success.
It plots the calculated slopes in a separate pane and colors the main chart background based on the alignment status: green for bullish alignment, red for bearish alignment.
█ HOW IT WORKS
The indicator calculates the slope of a linear regression line for three different lookback periods defined by the user inputs (`Short-Term`, `Medium-Term`, `Long-Term`).
The "slope" is determined by comparing the value of the linear regression line at the current bar (`offset=0`) to its value on the previous bar (`offset=1`).
A positive difference indicates an upward sloping regression line (potential uptrend).
A negative difference indicates a downward sloping regression line (potential downtrend).
The core calculation for a single slope is:
ta.linreg(source, length, 0) - ta.linreg(source, length, 1)
Based on these three slopes, the alignment state is determined:
Bullish Alignment: All three slopes (Short, Medium, Long) are positive (greater than 0). This suggests an uptrend is confirmed across all measured scales.
Bearish Alignment: All three slopes are negative (less than 0). This suggests a downtrend is confirmed across all measured scales.
Neutral/Mixed: The slopes do not unanimously agree (i.e., some are positive while others are negative, or some are zero). This indicates conflicting signals or a potential consolidation phase.
█ HOW TO USE
The primary use of the Multi-Scale Slope Alignment Filter (MSSA) is as a trend confirmation tool or trade filter .
Consider taking long trades only when the background is green ( Bullish Alignment ). This acts as confirmation that the broader trend context supports the long idea.
Consider taking short trades only when the background is red ( Bearish Alignment ). This acts as confirmation that the broader trend context supports the short idea.
Consider being cautious or avoiding trades when there is no background color ( Neutral/Mixed Alignment ), as the trend direction is unclear or conflicting across different timeframes.
This indicator is generally not designed to provide direct entry or exit signals on its own. It works best when combined with your primary trading strategy or other indicators to filter their signals based on multi-timeframe trend agreement.
Example filter logic:
// Example Long Condition
primaryLongSignal = ta.crossover(fastMA, slowMA) // Your primary signal
longCondition = primaryLongSignal and isBullishAligned // Filter with MSSA
// Example Short Condition
primaryShortSignal = ta.crossunder(fastMA, slowMA) // Your primary signal
shortCondition = primaryShortSignal and isBearishAligned // Filter with MSSA
█ INPUTS / SETTINGS
Short-Term Slope Length: (Default: 20) The lookback period for calculating the short-term linear regression slope.
Medium-Term Slope Length: (Default: 50) The lookback period for calculating the medium-term linear regression slope.
Long-Term Slope Length: (Default: 100) The lookback period for calculating the long-term linear regression slope.
Source: (Default: close) The price data source used for the linear regression calculations (e.g., close, HLC3, OHLC4).
█ VISUALIZATION
Background Coloring: The background of the main price chart is colored to indicate the alignment state:
Green: Bullish Alignment (all slopes positive).
Red: Bearish Alignment (all slopes negative).
No Color: Neutral/Mixed Alignment.
Indicator Pane: A separate pane below the main chart displays:
Three lines representing the calculated slope values for the short (red), medium (blue), and long (yellow) terms.
A dashed horizontal line at zero, making it easy to visually distinguish positive (above zero) from negative (below zero) slopes.
█ SUMMARY
The MSSA indicator provides a visual filter based on the consensus of trend direction across short, medium, and long-term perspectives using linear regression slopes. It helps traders align their strategies with the prevailing multi-scale trend environment. Remember to use it as part of a comprehensive trading plan and always practice sound risk management. This tool provides analysis and is not financial advice.
Apex Edge SMC Tactical Suite
🛰 Apex Edge SMC Tactical Suite
Apex Edge SMC Tactical Suite is a precision-engineered multi-signal tool designed for advanced traders who demand real-time edge detection, breakout identification, and smart volatility-based risk placement. Built to blend seamlessly into any price action, SMC, or momentum-based strategy.
🔧 Core Features:
📍 Entry Signals
Green & red arrows appear only when a candle meets strict "Power Candle" criteria:
High momentum breakout
Volume spike confirmation
OBV spike divergence
Trend & HTF filter optional
Volatility-adjusted stop placement
💥 Power Candles
Smart detection of explosive volume+range candles
Custom "fuel score" system ranks their momentum potential
Displays as either candle highlights or subtle labels
📊 Fuel Meter
RSI-based energy tracker with customizable threshold
Plots real-time bar strength on a mini histogram
🧠 Trap Detection + Reversals
Detects stop hunt wicks or "liquidity traps"
Shows reversal diamonds on potential reclaim setups
Built-in swing logic confirms trap reversals
🧮 HTF Filtering
Optional higher-timeframe trend filter via Hull MA
Keeps signals aligned with broader market direction
📦 TP/SL Zones
Risk is calculated using volatility clustering (recent swing zones)
TP auto-calculated using ATR-based expansion
🔔 Alerts Included:
✅ Power Candle Detection
✅ Long/Short Entry Alerts
✅ Exit Signal Alerts
✅ Trap Defense Alerts
✅ Trap Reversal Confirmations
🎯 Ideal For:
SMC / ICT traders
Breakout traders
Trend followers
Scalpers / intraday setups
Momentum + volume combo traders
⚠️ Tip: Best paired with clean chart layouts, market structure, or order block frameworks. Can be combined with internal/external liquidity sweep logic for extra confluence.
Feel free to play around with the code and if you're a professional coder (unlike me) then please tag me into any versions that you can make better. Enjoy!
Disclaimer - This script was created entirely with many hours using the assistance of ChatGPT
GIGANEVA V6.61 PublicThis enhanced Fibonacci script for TradingView is a powerful, all-in-one tool that calculates Fibonacci Levels, Fans, Time Pivots, and Golden Pivots on both logarithmic and linear scales. Its ability to compute time pivots via fan intersections and Range interactions, combined with user-friendly features like Bool Fib Right, sets it apart. The script maximizes TradingView’s plotting capabilities, making it a unique and versatile tool for technical analysis across various markets.
1. Overview of the Script
The script appears to be a custom technical analysis tool built for TradingView, improving upon an existing script from TradingView’s Community Scripts. It calculates and plots:
Fibonacci Levels: Standard retracement levels (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range.
Fibonacci Fans: Trendlines drawn from a high or low point, radiating at Fibonacci ratios to project potential support/resistance zones.
Time Pivots: Points in time where significant price action is expected, determined by the intersection of Fibonacci Fans or their interaction with key price levels.
Golden Pivots: Specific time pivots calculated when the 0.5 Fibonacci Fan (on a logarithmic or linear scale) intersects with its counterpart.
The script supports both logarithmic and linear price scales, ensuring versatility across different charting preferences. It also includes a feature to extend Fibonacci Fans to the right, regardless of whether the user selects the top or bottom of the range first.
2. Key Components Explained
a) Fibonacci Levels and Fans from Top and Bottom of the "Range"
Fibonacci Levels: These are horizontal lines plotted at standard Fibonacci retracement ratios (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range (the "Range"). The Range is typically the distance between a significant high (top) and low (bottom) on the chart.
Example: If the high is $100 and the low is $50, the 0.618 retracement level would be at $80.90 ($50 + 0.618 × $50).
Fibonacci Fans: These are diagonal lines drawn from either the top or bottom of the Range, radiating at Fibonacci ratios (e.g., 0.382, 0.5, 0.618). They project potential dynamic support or resistance zones as price evolves over time.
From Top: Fans drawn downward from the high of the Range.
From Bottom: Fans drawn upward from the low of the Range.
Log and Linear Scale:
Logarithmic Scale: Adjusts price intervals to account for percentage changes, which is useful for assets with large price ranges (e.g., cryptocurrencies or stocks with exponential growth). Fibonacci calculations on a log scale ensure ratios are proportional to percentage moves.
Linear Scale: Uses absolute price differences, suitable for assets with smaller, more stable price ranges.
The script’s ability to plot on both scales makes it adaptable to different markets and user preferences.
b) Time Pivots
Time pivots are points in time where significant price action (e.g., reversals, breakouts) is anticipated. The script calculates these in two ways:
Fans Crossing Each Other:
When two Fibonacci Fans (e.g., one from the top and one from the bottom) intersect, their crossing point represents a potential time pivot. This is because the intersection indicates a convergence of dynamic support/resistance zones, increasing the likelihood of a price reaction.
Example: A 0.618 fan from the top crosses a 0.382 fan from the bottom at a specific bar on the chart, marking that bar as a time pivot.
Fans Crossing Top and Bottom of the Range:
A fan line (e.g., 0.5 fan from the bottom) may intersect the top or bottom price level of the Range at a specific time. This intersection highlights a moment where the fan’s projected support/resistance aligns with a key price level, signaling a potential pivot.
Example: The 0.618 fan from the bottom reaches the top of the Range ($100) at bar 50, marking bar 50 as a time pivot.
c) Golden Pivots
Definition: Golden pivots are a special type of time pivot calculated when the 0.5 Fibonacci Fan on one scale (logarithmic or linear) intersects with the 0.5 fan on the opposite scale (or vice versa).
Significance: The 0.5 level is the midpoint of the Fibonacci sequence and often acts as a critical balance point in price action. When fans at this level cross, it suggests a high-probability moment for a price reversal or significant move.
Example: If the 0.5 fan on a logarithmic scale (drawn from the bottom) crosses the 0.5 fan on a linear scale (drawn from the top) at bar 100, this intersection is labeled a "Golden Pivot" due to its confluence of key Fibonacci levels.
d) Bool Fib Right
This is a user-configurable setting (a boolean input in the script) that extends Fibonacci Fans to the right side of the chart.
Functionality: When enabled, the fans project forward in time, regardless of whether the user selected the top or bottom of the Range first. This ensures consistency in visualization, as the direction of the Range selection (top-to-bottom or bottom-to-top) does not affect the fan’s extension.
Use Case: Traders can use this to project future support/resistance zones without worrying about how they defined the Range, improving usability.
3. Why Is This Code Unique?
Original calculation of Log levels were taken from zekicanozkanli code. Thank you for giving me great Foundation, later modified and applied to Fib fans. The script’s uniqueness stems from its comprehensive integration of Fibonacci-based tools and its optimization for TradingView’s plotting capabilities. Here’s a detailed breakdown:
All-in-One Fibonacci Tool:
Most Fibonacci scripts on TradingView focus on either retracement levels, extensions, or fans.
This script combines:
Fibonacci Levels: Static horizontal lines for retracement and extension.
Fibonacci Fans: Dynamic trendlines for projecting support/resistance.
Time Pivots: Temporal analysis based on fan intersections and Range interactions.
Golden Pivots: Specialized pivots based on 0.5 fan confluences.
By integrating these functions, the script provides a holistic Fibonacci analysis tool, reducing the need for multiple scripts.
Log and Linear Scale Support:
Many Fibonacci tools are designed for linear scales only, which can distort projections for assets with exponential price movements. By supporting both logarithmic and linear scales, the script caters to a wider range of markets (e.g., stocks, forex, crypto) and user preferences.
Time Pivot Calculations:
Calculating time pivots based on fan intersections and Range interactions is a novel feature. Most TradingView scripts focus on price-based Fibonacci levels, not temporal analysis. This adds a predictive element, helping traders anticipate when significant price action might occur.
Golden Pivot Innovation:
The concept of "Golden Pivots" (0.5 fan intersections across scales) is a unique addition. It leverages the symmetry of the 0.5 level and the differences between log and linear scales to identify high-probability pivot points.
Maximized Plot Capabilities:
TradingView imposes limits on the number of plots (lines, labels, etc.) a script can render. This script is coded to fully utilize these limits, ensuring that all Fibonacci levels, fans, pivots, and labels are plotted without exceeding TradingView’s constraints.
This optimization likely involves efficient use of arrays, loops, and conditional plotting to manage resources while delivering a rich visual output.
User-Friendly Features:
The Bool Fib Right option simplifies fan projection, making the tool intuitive even for users who may not consistently select the Range in the same order.
The script’s flexibility in handling top/bottom Range selection enhances usability.
4. Potential Use Cases
Trend Analysis: Traders can use Fibonacci Fans to identify dynamic support/resistance zones in trending markets.
Reversal Trading: Time pivots and Golden Pivots help pinpoint moments for potential price reversals.
Range Trading: Fibonacci Levels provide key price zones for trading within a defined range.
Cross-Market Application: Log/linear scale support makes the script suitable for stocks, forex, commodities, and cryptocurrencies.
The original code was from zekicanozkanli . Thank you for giving me great Foundation.
EMA Crossover Strategy with Trailing Stop and AlertsPowerful EMA Crossover Strategy with Dynamic Trailing Stop and Real-Time Alerts
This strategy combines the simplicity and effectiveness of EMA crossovers with a dynamic trailing stop-loss mechanism for robust risk management.
**Key Features:**
* **EMA Crossover Signals:** Identifies potential trend changes using customizable short and long period Exponential Moving Averages.
* **Trailing Stop-Loss:** Automatically adjusts the stop-loss level as the price moves favorably, helping to protect profits and limit downside risk. The trailing stop percentage is fully adjustable.
* **Visual Buy/Sell Signals:** Clear buy (green upward label) and sell (red downward label) signals are plotted directly on the price chart.
* **Customizable Inputs:** Easily adjust the lengths of the short and long EMAs, as well as the trailing stop percentage, to optimize the strategy for different assets and timeframes.
* **Real-Time Alerts:** Receive instant alerts for buy and sell signals, ensuring you don't miss potential trading opportunities.
**How to Use:**
1. Add the strategy to your TradingView chart.
2. Customize the "Short EMA Length," "Long EMA Length," and "Trailing Stop Percentage" in the strategy's settings.
3. Enable alerts in TradingView to receive notifications when buy or sell signals are generated.
This strategy is intended to provide automated trading signals based on EMA crossovers with built-in risk management. Remember to backtest thoroughly on your chosen instruments and timeframes before using it for live trading.
#EMA
#Crossover
#TrailingStop
#Strategy
#TradingView
#TechnicalAnalysis
#Alerts
#TradingStrategy
Market Session Boxes with Volume Delta [algo_aakash]This script highlights four key forex trading sessions — Tokyo, London, New York, and Sydney — by drawing color-coded boxes directly on the chart. For each session, it shows:
High and low of the session
Total volume traded
Volume delta (bullish vs bearish pressure)
Optional extension of session highs/lows into future candles
Cleanly labeled time range and stats
Users can:
Select which sessions to display
Customize session times (in UTC+0)
Choose colors per session
Toggle session labels and extension lines
Use Case: Designed to help intraday and short-term traders visualize market rhythm, liquidity zones, and session-based volatility. The volume delta metric adds an extra layer of sentiment analysis.
This tool works best on intraday timeframes like 15m, 30m, or 1H.
Disclaimer:
This indicator is for educational and visual analysis purposes. It does not constitute trading advice or guarantee results. Always conduct your own analysis before making trading decisions.