Liquidity Zone IndicatorLiquidity Zone Indicator
This PineScript indicator for TradingView identifies liquidity zones in the market where significant trading activity occurs, based on volume spikes and price levels. It highlights areas where large orders may be filled, useful for day traders and scalpers.
Features:
Detects bullish and bearish liquidity zones using a lookback period (default: 50 bars) and volume threshold (default: 1.5x average volume).
Displays zones as shaded boxes or diamond markers above/below bars, customizable by color.
Option to extend zones until price breaks through, with dynamic transparency for better visualization.
Includes an alert for when a liquidity zone is hit.
Settings:
Liquidity Lookback: Number of bars to analyze for high/low price levels.
Volume Threshold: Multiplier for detecting volume spikes.
Display as Zone: Toggle between zone boxes or markers.
Extend Zone: Keep zones active until price crosses them.
Zone Color: Customize the color of zones or markers.
Ideal for traders looking to spot potential reversal or breakout areas driven by liquidity.
Indicatori e strategie
*All Candlestick Patterns*AbandonedBabyInput = input(title = "Abandoned Baby" ,defval=true)
DarkCloudCoverInput = input(title = "Dark Cloud Cover" ,defval=false)
DojiInput = input(title = "Doji" ,defval=true)
DojiStarInput = input(title = "Doji Star" ,defval=false)
DownsideTasukiGapInput = input(title = "Downside Tasuki Gap" ,defval=false)
DragonflyDojiInput = input(title = "Dragonfly Doji" ,defval=true)
EngulfingInput = input(title = "Engulfing" ,defval=true)
EveningDojiStarInput = input(title = "Evening Doji Star" ,defval=false)
EveningStarInput = input(title = "Evening Star" ,defval=false)
FallingThreeMethodsInput = input(title = "Falling Three Methods" ,defval=false)
FallingWindowInput = input(title = "Falling Window" ,defval=false)
GravestoneDojiInput = input(title = "Gravestone Doji" ,defval=false)
HammerInput = input(title = "Hammer" ,defval=true)
HangingManInput
HaramiCrossInput
HaramiInput
InvertedHammerInput
KickingInput
LongLowerShadowInput
LongUpperShadowInput
MarubozuBlackInput
MarubozuWhiteInput
MorningDojiStarInput
OnNeckInput
PiercingInput
RisingThreeMethodsInput
RisingWindowInput
ShootingStarInput
SpinningTopBlackInput
SpinningTopWhiteInput
ThreeBlackCrowsInput
ThreeWhiteSoldiersInput
TriStarInput
TweezerBottomInput
TweezerTopInput
UpsideTasukiGapInput
Indicador Strong Buy + Volume
Association of several bullish indicators with a trigger on a sudden increase in volume
New London Breakout StructureThe London Breakout Structure Pro is a fully mechanical trading indicator designed to capture high-probability breakout moves during the London session. It automatically identifies valid trade setups based on time-defined zones, price structure, and breakout confirmation. With a built-in risk-reward ratio of 1:2 and session filters, it helps traders maintain consistency and discipline. Ideal for intraday traders looking to systematize their strategy during the most volatile hours of the Forex market.
BTCUSD 5m Aggressive Buy/Sell Signals v2 with AlertsThis indicator highlights potential buy and sell opportunities on the BTCUSD 5-minute chart. It plots visual signals on the chart and includes optional TradingView alerts for fast notifications.
Key features:
- Aggressive scalp-style signals
- 5-minute timeframe focus
- Simple and clean logic with clear markers
- Integrated alerts for buy and sell triggers
⚠️ Disclaimer: This script is for educational and informational purposes only. It is not financial advice. Use at your own risk and always manage your positions responsibly.
EMA 20 – Yellow DotsA simple EMA 20 designed for high visibility to easily stand out amongst other indicators.
Correlation & Mean Reversion - Paired Stocks/ETFs (By MC)This indicator is designed to help identify mean reversion opportunities between two correlated instruments, such as ETFs or stocks (e.g., SPY vs. TLT). It provides statistical insight, visual signals, and a summary table to support pair trading strategies.
🔍 Key Functions:
Price Ratio Analysis
Calculates and monitors the price ratio (A/B) between two user-defined tickers over a rolling period.
Z-Score Calculation
Measures how far the current ratio deviates from its mean in standard deviation units (Z-score), with safeguards against unstable values.
Mean Reversion Probability
Uses a normal distribution function to estimate the likelihood of the ratio reverting to its mean — shown as a percentage.
Rolling Correlation
Computes the correlation of log returns between the two instruments to gauge relationship strength.
| Correlation Value | Interpretation |
| ----------------- | ----------------------------- |
| +1.0 | Perfect positive correlation (price of both move in the same direction)|
| +0.7 to +0.9 | Strong positive correlation |
| +0.4 to +0.6 | Moderate positive correlation |
| 0 | No correlation (independent) |
| -0.4 to -0.6 | Moderate negative correlation |
| -0.7 to -0.9 | Strong negative correlation |
| -1.0 | Perfect negative correlation (price both move in the opposite direction)|
Trade Signal Alerts
🔴 Strong Mean Reversion if probability > 95%
🟡 Moderate Mean Reversion if probability > 80%
% Reversion >= 0.9 - "High"
% Reversion >= 0.8 - "Moderate High"
% Reversion >= 0.6 - "Low"
% Reversion < 0.6 "Very Low"
Color-Coded Backgrounds & Signal Markers
Visual indicators appear on the chart to flag potential trade setups.
Stats Table (Mobile-Optimized)
Displays:
Symbol A & B
Ratio
Z-Score
Mean Reversion %
Rolling Correlation
Trade Quality: High, Moderate High, Low, or Very Low (color-coded)
User Customization
Table position (top/bottom left/right)
Toggle display of plots (Z-score, correlation, ratio overlay)
Chart style for mean reversion % (line/histogram)
🎯 Use Case:
This tool is ideal for pair traders looking to exploit statistical arbitrage opportunities by entering trades when price relationships deviate from their historical norm.
My script/@version=5
indicator("50 EMA - Green Up / Red Down", overlay=true)
// Calculate the 50 EMA
ema50 = ta.ema(close, 50)
// Determine if the EMA is rising or falling
color_ema = ema50 > ema50 ? color.green : color.red
// Plot the 50 EMA with dynamic color
plot(ema50, title="50 EMA", color=color_ema, linewidth=2)
RTI Seven Slope Systemthis is an indicatorthis is an indicatorthis is an indicatorthis is an indicator
Period Separator with DatesSimple Period Separator script for multiple timeframes with dates and months for higher timeframes, and time if you are using lower time frames.
Adjustable EMA Crossover with Signals3 Adjustable Ema's with crossover. These are used for identifying a trend and help with entry and exit signals.
Shavarie's Sniper LineShavarie’s Sniper Line is a precision confirmation tool built for high-quality entries — not noisy signals.
It activates only when all 3 conditions agree:
🔁 Momentum bend detection
💧 Money Flow Index (MFI) pressure
🔺 Delta volume strength (emulated from price/volume flow)
When all conditions align, the Sniper Line shifts to:
+1 for potential buy zone
-1 for potential sell zone
0 when neutral — no action
Best used in combination with supply/demand zones, Heikin Ashi, or larger trend structures. Built for traders who value patience, precision, and massive R:R setups.
RTI Seven Slope SystemRTI Seven Slope System created by me myself and i. This has my favorite lines I like to use.
Volatility & Market Regimes [AlgoXcalibur]Analyze Market Conditions Like a Pro.
Volatility & Market Regimes is a specialized, institution-inspired indicator designed to help traders instantly identify the current conditions of the market with clarity and confidence.
By combining a real-time Volatility Histogram and Strength Line with a compact Regime Table, this tool reveals four essential market dimensions—Volatility, Strength, Participation, and Noise—in a clean and intuitive format. Whether you’re confirming trade setups or managing risk, knowing the current regimes enhances awareness across all assets and timeframes.
🧠 Algorithm Logic
This sophisticated tool continuously monitors four independent regimes, each reflecting a distinct dimension of market behavior:
• Volatility – Gauges how active or dormant the market is by comparing current price action movement to historical averages. A dynamic, color-gradient Volatility Histogram transitions from Low (ice blue/white) to Medium (green/yellow) to High (orange/red), giving you an immediate assessment of volatility and risk.
• Strength – Measures directional intensity by assessing trend momentum, pressure, and persistence. A color-gradient Strength Line ranges from weak (red) to strong (green), helping traders determine if directional strength is trending, weakening, or consolidating.
• Participation – Analyzes relative volume to assess the level of trader engagement. Higher volume indicates stronger participation and conviction, while low volume may signal uncertainty, fading momentum, or even liquidity traps.
• Noise – Evaluates structural stability by measuring how orderly or chaotic the price action is. High noise suggests choppy, unstable conditions, while low noise reflects clean, stable moves.
Each regime includes a High / Medium / Low classification and a color-coded directional arrow to indicate whether condition parameters are increasing or decreasing. Together, these components deliver real-time market context—helping you stay grounded in logic, not emotion.
⚙️ User-Selectable Features
Each component of the indicator—the Volatility Histogram, Strength Line, and Regime Table—can be independently made visible or hidden to match your preference. This flexibility allows you to display only the Regime Table and move it directly to your main chart, where it auto-positions to the center-right and integrates seamlessly with other AlgoXcalibur indicators that also use data tables for a cohesive and refined experience.
📊 Clarity, Not Guesswork
Volatility & Market Regimes is a unique, institution-inspired algorithm rarely seen in retail trading. Not only does it clearly display volatility—it translates complex market behavior into a clear context to reveal what’s happening behind the candles. By decoding core regimes in real-time, this tool transforms uncertainty into structured insight—empowering traders to act with clarity, not guesswork.
🔐 To get access or learn more, visit the Author’s Instructions section.
SantiHOURchange
Indicator to mark changes in the next hours; once an hour passes, the following one will be marked automatically. It's ideal for those who do not want to wait for the indicator to mark it upon arrival, but rather see it beforehand.
EMA 9/21 Crossover Indicator w/ ADX Filter9 and 21 EMA cross over showing buy and sell signals when the ADX is above 20. This is scalping strategy but does work on all time frame. Best used in a trending market
RSI + Divergence + Stochastic RSIsimple indicator combining RSI and STOCH
RSI indicator (with divergence detection, smoothing, and optional Bollinger Bands)
Stochastic RSI indicator (with %K and %D lines, bands, and background fill)
Gabriel's MPT Moving Average RibbonGabriel's MPT Moving Average Ribbon is a cutting-edge, risk-adjusted technical analysis tool that fuses Modern Portfolio Theory (MPT) with adaptive moving average logic to dynamically guide market participants through bullish and bearish conditions.
This ribbon is not a simple MA crossover — it leverages Sharpe Ratio, Sortino Ratio, Omega Ratio, and Value at Risk (VaR) to scale and smooth each moving average using real-time probabilistic efficiency metrics. Combined, these elements create a volatility-weighted, risk-optimized visualization of market structure.
🔍 Core Features:
Multi-Ratio Adaptive Scaling: Moving averages are dynamically weighted by Omega Ratio, Sortino Stdev, Sharpe Winrate, and VaR conditions for smarter price tracking.
Volatility Engine: Supports multiple return models:
Close-to-Close
Parkinson
Garman-Klass
Rogers–Satchell
Yang–Zhang (default for highest accuracy)
Smart Ribbon Construction:
Blends 3 different MA types per ribbon (e.g., SMA, EMA, WMA) for each of the 4 ribbons
Supports WMA-style dynamic weighting using MPT-derived ratios
Sharpe Winrate Estimation: Uses CDF logic to project the probability of success given current Sharpe ratio.
Dynamic Risk Phase Detection (VaR):
Identifies Risk On, Risk Off, or Neutral states using a triple-model composite VaR framework.
🛎️ Alerts Included:
📈 Bullish Crossover Alert: MA #1 crossing above MA #2 with all ribbons aligned upward.
📉 Bearish Crossunder Alert: MA #1 crossing below MA #2 with all ribbons aligned downward.
📊 Omega Ratio Alert: Triggered when Omega exceeds 1 (profitable risk-adjusted reward).
⚠️ Omega Caution Alert: Triggered when Omega drops below 1.
🟢 Risk On Alert: Market enters a favorable, low-risk zone. Deep Value Zone for Long-Term Investing.
🔴 Risk Off Alert: Market enters a cautionary, high-risk phase.
🎯 Use Cases:
Trend Identification: MA ribbon alignment indicates momentum phases.
Risk-Tuned Entries/Exits: Combine ribbon crossovers with VaR/Ratio signals for confirmation.
Institutional Strategy Overlay: Ideal for portfolio managers integrating risk-adjusted technical overlays.
🧠 Pro Tips:
Use "Complete" mode for the most robust risk signal, as it blends Historical, EWMA, and Variance-Covariance ratios.
Customize each MA’s type and length to match your trading horizon (e.g., intraday, swing).
Toggle Ratios Weighted MA for adaptive weighting when market risk fluctuates.
It's set to the settings I use to trade, from MA settings to MPT table. It goes in order: Sharpe Est. Winrate, Deviation of Sortino, Omega Ratio (1 Year), and the Ideal position size according to VaR.
All SMAs Bullish/Bearish Screener (Visually Enhanced)Title: All SMAs Bullish/Bearish Screener Enhanced: Uncover Elite Trend Opportunities with Confidence & Clarity
Description:
Are you striving to master the art of trend-following, but often find yourself overwhelmed by market noise and ambiguous signals? Do you yearn for a trading edge that clearly identifies high-conviction opportunities and equips you with robust risk management principles? Look no further. The "All SMAs Bullish/Bearish Screener Enhanced" is your ultimate solution – a meticulously crafted Pine Script indicator designed to cut through the clutter, pinpointing stocks where the trend is undeniably strong, and providing you with the clarity you need to trade with confidence.
The Pinnacle of Confluence: Beyond Simple Averages
This is not just another moving average indicator. This is a sophisticated, multi-layered analytical engine built on the profound principle of Confluence. While our core strength lies in tracking a comprehensive suite of six critical Simple Moving Averages (5, 10, 20, 50, 100, and 200-period SMAs), this Enhanced version elevates signal reliability by integrating powerful, independent confirmation layers:
Momentum (Rate of Change - ROC): A true trend isn't just about direction; it's about the force and persistence of price movement. The Momentum filter ensures that the trend is backed by accelerating buying (for bullish signals) or selling (for bearish signals) pressure, validating its underlying strength.
Volume Confirmation: Smart money always leaves a trail. Significant price moves, especially trend continuations or reversals, demand genuine participation. This enhancement confirms that the "All SMAs" alignment is accompanied by above-average volume, signaling institutional conviction and differentiating authentic moves from mere whipsaws.
Relative Strength Index (RSI) Bias: The RSI helps gauge the health of the trend. For a bullish signal, we confirm RSI maintains a bullish bias (above 50), while for a bearish signal, we look for a bearish bias (below 50). This adds another layer of qualitative validation, ensuring the trend isn't overextended without confirmation.
When a stock's price is trading above ALL six critical SMAs, and is simultaneously confirmed by strong positive Momentum, robust Volume, and a bullish RSI bias, you are witnessing a powerful "STRONGLY BULLISH" signal. This rare alignment often precedes sustained upward moves and signifies a prime accumulation phase across all time horizons. Conversely, a "STRONGLY BEARISH" signal, where price is below ALL SMAs with compelling negative Momentum, validating Volume, and a bearish RSI bias, indicates significant distribution and potential for substantial downside.
Seamless Usage & Unmatched Visual Clarity:
Adding this script to your TradingView chart is simple, and its visual design has been meticulously optimized for maximum readability:
Easy Integration: Paste the script into your Pine Editor and click "Add to Chart."
Full Customization: All SMA lengths, RSI periods, Volume SMA periods, and Momentum periods are easily adjustable via user-friendly input settings, allowing you to fine-tune the strategy to your precise preferences.
Optimal Timeframes:
For identifying robust, actionable trends for swing and position trading, Daily (1D) and 4-Hour (240 min) timeframes are highly recommended. These capture significant market movements with reduced noise.
While the script functions on shorter timeframes (e.g., 15min, 60min), these are best reserved for highly active day traders seeking precise entry triggers within broader trends, as shorter timeframes are prone to increased volatility and noise.
Important Note on Candle Size: The width of candles on your chart is controlled by TradingView's platform settings and your zoom level, not directly by Pine Script. To make candles appear larger, simply zoom in horizontally on your chart or adjust the "Bar Spacing" in your Chart Settings (Right-click chart > Settings > Symbol Tab).
Crystal-Clear Visual Signals:
Subtle Background Hues: The chart background will subtly tint lime green for "STRONGLY BULLISH" and red for "STRONGLY BEARISH" conditions. This transparency ensures your underlying candles remain perfectly visible.
Distinct Moving Averages: SMAs are plotted with increased line thickness and a carefully chosen color palette for easy identification.
Precise Signal Triangles: Small, clean green triangles below the bar signify "STRONGLY BULLISH," while small red triangles above the bar mark "STRONGLY BEARISH" conditions. These are unobtrusive yet clear.
Dedicated Indicator Panes: RSI and Momentum plots, along with their key levels, now appear in their own separate, clean sub-panes below the main price chart, preventing clutter and allowing for focused analysis.
On-Chart Status Table: A prominent table in your chosen corner of the chart provides an immediate, plain-language update on the current trend status.
Real-Time Screener Power (via TradingView Alerts): This is your ultimate automation tool. Set up custom alerts for "Confirmed Bullish Trade" or "Confirmed Bearish Trade" conditions. Receive instant notifications (email, app, webhook) for any stock in your watchlist that meets these stringent, high-conviction criteria, allowing you to react swiftly to premium setups across the market without constant chart monitoring.
Mastering Risk & Rewards: The Trader's Edge
Finding a signal is only the first step. This script helps you trade intelligently by guiding your risk management:
Strategic Stop-Loss Placement: Your stop-loss is your capital protector. For a "STRONGLY BULLISH" trade, place it just below the most recent significant swing low (higher low). This is where the uptrend's structure is invalidated. For "STRONGLY BEARISH" trades, place it just above the most recent significant swing high (lower high). As an alternative, consider placing your stop just outside the 20-period SMA; a close beyond this mid-term average often signals a crucial shift. Always ensure your chosen stop-loss aligns with your strict risk-per-trade rules (e.g., risking no more than 1-2% of your capital per trade).
Disciplined Profit Booking: Don't just let winners turn into losers. Employ a strategy to capture gains:
Trailing Stop-Loss: As your trade moves into profit, dynamically move your stop-loss upwards (for longs) or downwards (for shorts). You can trail it by following subsequent swing lows/highs or by using a faster Moving Average like the 10 or 20-period SMA as a dynamic exit point if price closes beyond it. This allows you to ride extended trends while protecting accumulated gains.
Target Levels: Identify potential profit targets using traditional support/resistance levels, pivot points, or Fibonacci extensions. Consider taking partial profits at these key junctures to secure gains while letting a portion of your position run.
Loss of Confluence: A unique exit signal for this script is the breakdown of the "STRONGLY BULLISH" or "STRONGLY BEARISH" confluence itself. If the confirmation layers or even a few of the core SMAs are no longer aligned, it might be time to re-evaluate or exit, even if your hard stop hasn't been hit.
The "All SMAs Bullish/Bearish Screener Enhanced" is more than just code; it's a philosophy for disciplined trend trading. By combining comprehensive multi-factor confluence with intuitive visuals and robust risk management principles, you're equipped to make smarter, higher-conviction trading decisions. Add it to your favorites today and transform your approach to the markets!
#PineScript #TradingView #SMA #MovingAverage #TrendFollowing #StockScreener #TechnicalAnalysis #Bullish #Bearish #MarketScanner #Momentum #Volume #RSI #Confluence #TradingStrategy #Enhanced #Signals #Analysis #DayTrading #SwingTrading
Pro Dual Supertrend-PDS|ask2maniish📘 Dual Supertrend Pro|PDS
Version: Pine Script v6 | Author: ask2maniish | Overlay: Yes
Description: Combines two Supertrend layers for high-confidence signals with advanced trade management and volatility-adjusted safety margins.
🌟 Key Features
Feature Description
Dual Supertrend Confirmation Main (conservative) + Fast (responsive) layers for high-probability entries
Trade Management System 3 Profit Targets + Dynamic Trailing Stop-Loss with auto-exit at T3
Safety Margin ATR/Percentage/Point-based buffer with volatility adjustments
Professional Visualization Trend tables, target lines, and color-coded trade markers
Comprehensive Alerts Entry/exit signals, target hits, and SL updates
⚙️ Input Parameters
🔵 Supertrend (Main)
Parameter Description Default
ATR Period (Main) ATR length for trend filtering 10
ATR Multiplier (Main) Sensitivity control 3.0
Change ATR Method? Use SMA(TR) instead of classic ATR true
Show Signals? Display buy/sell markers true
Highlighter Color-coded trend background true
🟢 Supertrend (Fast)
Parameter Description Default
ATR Period (Fast) Shorter ATR for early signals 5
ATR Multiplier (Fast) Aggressive sensitivity 1.5
Change ATR Method? Use SMA(TR) calculation true
Show Signals? Display fast layer markers true
Highlighter Highlight fast trend true
🎯 Trade Management
Parameter Description Default
ATR For SL/Target Volatility basis for risk management 21
SL/Target Multiplier Base distance multiplier 3.0
Auto Exit After T3? Close trade automatically at final target true
Show Target Labels? Mark T1/T2/T3 hits on chart true
Show Entry/Exit Marks? Label trade events true
🛡️ Safety Margin
Parameter Description Default
Enable Safety Margin Activate SL buffer true
Margin Type ATR/Percentage/Points ATR
Margin Value Buffer size (e.g., 0.5 ATR) 0.5
Dynamic Adjustment? Auto-increase in volatility true
Volatility Threshold ATR % to trigger dynamic mode 1.5%
Dynamic Factor Margin multiplier in volatility 1.5x
📊 Visuals & Tables
Parameter Description Default
Show Target Lines Plot T1/T2/T3 levels true
Show Trailing SL Display dynamic stop-loss true
Trend Layer Table Show Main/Fast trend status true
Trade State Table Real-time trade dashboard true
Table Location Bottom Right/Top Left etc. Bottom Right
🔍 Logic Overview
1. Dual Supertrend Calculation
pine
// Modified ATR Calculation
getATR(len, changeMethod) => changeMethod ? ta.atr(len) : ta.sma(ta.tr, len)
// Supertrend Logic
upBand = src - (Multiplier × ATR)
dnBand = src + (Multiplier × ATR)
trend = close > prevUpBand ? 1 : close < prevDnBand ? -1 : prevTrend
2. Trade Triggers
Condition Action
Both supertrends flip UP Long Entry
Both supertrends flip DOWN Short Entry
Price hits trailing SL or T3 Exit Trade
3. Safety Margin Adjustment
pine
safetyMargin =
useSafetyMargin ?
(safetyMarginType=="ATR" ? atrVal×safetyMarginValue :
safetyMarginType=="Percentage" ? close×(safetyMarginValue/100) :
safetyMarginValue×syminfo.mintick) : 0
4. Trailing SL Evolution
Event New SL Position
T1 Hit Entry price (breakeven)
T2 Hit Entry ± 0.5×ATR
T3 Hit Entry ± 1.5×ATR
📊 Visual Outputs
Trend Lines
Main Layer: 🟢 Green (UP) / 🔴 Red (DOWN)
Fast Layer: 🦠 Teal (UP) / 🟠 Orange (DOWN)
Signals
Buy/Sell markers for individual layers
CB (Confirmed Buy) / CS (Confirmed Sell) labels
Trade Markers
Entry: 🟩 Long / 🟥 Short
Exit: ⛔ "SL Hit" or "Exit"
Targets: ✅ T1 (Green) / T2 (Blue) / T3 (Purple)
IST Timestamps
All trade events in Indian Standard Time
🔔 Alert Conditions
Long Entry - Both supertrends confirm UP trend
Short Entry - Both supertrends confirm DOWN trend
Target 1/2/3 Hit - Profit targets achieved
Stop Loss Updated - Trailing SL moved
Long/Short Exit - Trade closed at SL or T3
⚡ Recommended Settings
Market Profile ATR Period Multiplier Use Case
Conservative 14 1.0-1.5× Balanced risk-reward
High Volatility 21 1.5-2.5× Crypto/indices
Scalping 5-10 0.5-1.0× Fast intraday trades
Swing Trading 14-21 1.5-3.0× Trend following
💡 Pro Tips
Layer Alignment - Only trade when both supertrends agree
Safety Margin - Use dynamic mode for crypto/volatile assets
Trade Management
Trail stops aggressively after T2
Enable auto-exit at T3 to lock profits
Backtesting - Test multipliers: Stocks (1-3×), Crypto (2-5×)
Note: For institutional-style exits, combine with order blocks/volume analysis
*** Disclaimer: Educational tool only. Not financial advice. Test strategies in risk-controlled environments.
HalfTrend cross 2.0 LcfxCore Functionality
HalfTrend Baseline
Plots a dynamic trend-following line that alternates between blue (bullish) and red (bearish)
Uses amplitude and channel deviation settings to adapt to market volatility
Shows ATR-based channels around the trend line (optional)
Key Signals:
Reversal Signals: Traditional arrows at trend reversal points
Cross Signals: Basic "B"/"S" labels when price crosses the HalfTrend line
Re-Cross Signals: Special "RB"/"RS" labels for strategic re-entry opportunities
Unique Re-Cross Logic
Bullish Trend:
Triggers RB (Re-Cross Buy) only when:
Price first crosses BELOW HalfTrend (bearish cross)
Then crosses BACK ABOVE HalfTrend
Only the FIRST such occurrence in current bullish trend
Bright green "RB" label
Bearish Trend:
Triggers RS (Re-Cross Sell) only when:
Price first crosses ABOVE HalfTrend (bullish cross)
Then crosses BACK BELOW HalfTrend
Only the FIRST such occurrence in current bearish trend
Orange "RS" label
Smart Signal Management
Prevents signal spam by allowing only one re-cross signal per trend phase
Automatically resets signals when trend reverses
Dedicated alerts for all signal types
Customizable visual elements (colors, channels, arrows)
Practical Use Case
Identifies high-probability continuation entries:
RB signals: Potential add-to-position points in uptrends after minor pullbacks
RS signals: Shorting opportunities in downtrends after dead-cat bounces
This enhanced version reduces noise while highlighting strategic trade setups where price temporarily violates the trend line but quickly reconfirms the dominant trend direction.
ANDROMEDA - Directional Strength Matrix [Multi-Asset]ANDROMEDA - Directional Strength Matrix
Pedro Canto – Portfolio Manager | CGA/CGE
OVERVIEW
The Directional Strength Matrix is a multi-symbol indicator designed to track and compare the directional momentum of up to five financial instruments simultaneously.
It builds upon the logic of the classic Currency Strength Slope, but expands its utility beyond currencies—making it applicable to indices, commodities, stocks, and crypto assets. The core of the system relies on a normalized slope algorithm, using a TMA-compensated moving average and ATR-based scaling to deliver accurate, real-time momentum readings.
This tool is ideal for traders seeking a quantitative view of strength and weakness across multiple assets, enabling fast relative analysis and improved decision-making in both trend-following and mean-reversion strategies.
---
WALKTHROUGH
Each asset’s directional strength is calculated using the slope of a weighted moving average (WMA), adjusted for volatility using the Average True Range (ATR). To reduce lag while maintaining stability, a TMA-compensated formula is applied — replicating behavior seen in the classic MQL4 CSS Indicator.
The normalized slope values are plotted as independent lines in a dedicated window, making it easy to spot which assets are strengthening or weakening at any given moment.
Key logic flow:
i) Calculate a TMA-style WMA for each instrument
ii) Estimate directional slope via differential between current and previous weighted averages
iii) Normalize by ATR to make values comparable across different assets and price ranges
iv) Plot all slope values on a shared matrix
Traders can compare multiple symbols side by side and visually identify the relative direction, strength, and acceleration of each asset.
---
USE CASES
- Comparing strength across indices like US30, US500, NASDAQ, Oil and Crypto
- Detecting early momentum shifts between competing assets
- Timing entries based on momentum divergence or alignment
- Filtering out weaker assets in trend strategies
- Creating custom strength overlays in multi-asset dashboards
---
KEY FEATURES
1. Multi-Asset Capability
Analyze up to 5 assets in real time, including the chart’s native symbol plus 4 customizable inputs.
2. TMA-Compensated Slope Algorithm
Provides low-lag slope estimation with high reactivity and accuracy.
3. ATR-Based Normalization
Ensures comparability across assets with different price scales and volatility levels.
4. Customizable Color Scheme
Assign distinct colors to each asset line for clean visual separation.
5. Real-Time Responsiveness
Supports shift adjustments to align with candle timing (real-time or closed-bar mode).
6. Compatible with All Asset Classes
Works with forex, indices, commodities, stocks, and crypto (a major improvement from the original Currency Strength Slope Indicator).
---
INPUTS AND CUSTOMIZATION
- Moving Average Period: Adjustable WMA length
- ATR Period: Volatility scaling parameter
- Shift: Choose between real-time view (-1) or closed-candle confirmation (0)
- Asset Inputs: Symbol selection for Asset 2 to 5
- Colors: Fully customizable for each line
---
DISCLAIMER
This indicator is a tool for technical analysis and educational purposes only. It is not intended as financial advice or a trading signal provider. Always apply proper risk management and consider fundamental and macroeconomic context before making investment decisions.
Past performance does not guarantee future results.