Trend Targets [AlgoAlpha]OVERVIEW
This script combines a smoothed trend-following model with dynamic price rejection logic and ATR-based target projection to give traders a complete visual framework for trading trend continuations. It overlays on price and automatically detects potential trend shifts, confirms rejections near dynamic support/resistance, and displays calculated stop-loss and take-profit levels to support structured risk-reward management. Unlike traditional indicators that only show trend direction or signal entries, this tool brings together a unique mix of signal validation, volatility-aware positioning, and layered profit-taking to guide decision-making with more context.
CONCEPTS
The core trend logic is built on a custom Supertrend that uses an ATR-based band structure with long smoothing chains—first through a WMA, then an EMA—allowing the trend line to respond to major shifts while ignoring noise. A key addition is the use of rejection logic: the script looks for consolidation candles that "hug" the smoothed trend line and counts how many consecutive bars reject from it. This behavior often precedes significant moves. A user-defined threshold filters out weak tests and highlights only meaningful rejections.
FEATURES
Trend Detection : Automatically identifies trend direction using a smoothed Supertrend (WMA + EMA), with shape markers on trend shifts and color-coded bars for clarity.
Rejection Signals : Detects price rejections at the trend line after a user-defined number of consolidation bars; plots ▲/▼ icons to highlight strong continuation setups.
Target Projection : On trend confirmation, plots entry, stop-loss (ATR-based), and three dynamic take-profit levels based on customizable multiples.
Dynamic Updates : All levels (entry, SL, TP1–TP3) auto-adjust based on volatility and are labeled in real time on the chart.
Customization : Users can tweak trend parameters, rejection confirmation count, SL/TP ratios, smoothing lengths, and appearance settings.
Alerts : Built-in alerts for trend changes, rejection events, and when TP1, TP2, or TP3 are reached.
Chart Overlay : Plots directly on price chart with minimal clutter and clearly labeled levels for easy trading.
USAGE
Start by tuning the Supertrend factor and ATR period to fit your asset and timeframe—higher values will catch bigger swings, lower values catch faster moves. The confirmation count should match how tightly you want to filter rejection behavior—higher values make signals rarer but stronger. When the trend shifts, the indicator colors the bars and line accordingly, and if enabled, plots the full entry-TP-SL structure. Rejection markers appear only after enough qualifying bars confirm price pressure at the trend line. This is especially useful for continuation plays where price retests the trend but fails to break it. All calculations are based on volatility (ATR), so targets naturally adjust with market conditions. Add alerts to get notified of important signals even when away from the chart.
Analisis Trend
Vwap Vision #WhiteRabbitVWAP Vision #WhiteRabbit
This Pine Script (version 5) script implements a comprehensive trading indicator called "VWAP Vision #WhiteRabbit," designed for analyzing price movements using the Volume-Weighted Average Price (VWAP) along with multiple customizable features, including adjustable color themes for better visual appeal.
Features:
Customizable Color Themes:
Choose from four distinct themes: Classic, Dark Mode, Fluo, and Phil, enhancing the visual layout to match user preferences.
VWAP Calculation:
Uses standard VWAP calculations based on selected anchor periods (Session, Week, Month, etc.) to help identify price trends.
Band Settings:
Multiple bands are calculated based on standard deviations or percentages, with customization options to configure buy/sell zones and liquidity levels.
Buy/Sell Signals:
Generates clear buy and sell signals based on price interactions with the calculated bands and the exponential moving average (EMA).
Real-time Data Display:
Displays real-time signals and VWAP values for selected trading instruments, including XAUUSD, NAS100, and BTCUSDT, along with related alerts for trading opportunities.
Volatility Analysis:
Incorporates volatility metrics using the Average True Range (ATR) to assess market conditions and inform trading decisions.
Enhanced Table Displays:
Provides tables for clear visualization of trading signals, real-time data, and performance metrics.
This script is perfect for traders looking to enhance their analysis and gain insights for making informed trading decisions across various market conditions.
Heiken Ashi Supertrend ADXHeiken Ashi Supertrend ADX Indicator
Overview
This indicator combines the power of Heiken Ashi candles, Supertrend indicator, and ADX filter to identify strong trend movements across multiple timeframes. Designed primarily for the cryptocurrency market but adaptable to any tradable asset, this system focuses on capturing momentum in established trends while employing a sophisticated triple-layer stop loss mechanism to protect capital and secure profits.
Strategy Mechanics
Entry Signals
The strategy uses a unique blend of technical signals to identify high-probability trade entries:
Heiken Ashi Candles: Looks specifically for Heiken Ashi candles with minimal or no wicks, which signal strong momentum and trend continuation. These "full-bodied" candles represent periods where price moved decisively in one direction with minimal retracement. These are overlayed onto normal candes for more accuarte signalling and plotting
Supertrend Filter: Confirms the underlying trend direction using the Supertrend indicator (default factor: 3.0, ATR period: 10). Entries are aligned with the prevailing Supertrend direction.
ADX Filter (Optional) : Can be enabled to focus only on stronger trending conditions, filtering out choppy or ranging markets. When enabled, trades only trigger when ADX is above the specified threshold (default: 25).
Exit Signals
Positions are closed when either:
An opposing signal appears (Heiken Ashi candle with no wick in the opposite direction)
Any of the three stop loss mechanisms are triggered
Triple-Layer Stop Loss System
The strategy employs a sophisticated three-tier stop loss approach:
ATR Trailing Stop: Adapts to market volatility and locks in profits as the trend extends. This stop moves in the direction of the trade, capturing profit without exiting too early during normal price fluctuations.
Swing Point Stop: Uses natural market structure (recent highs/lows over a lookback period) to place stops at logical support/resistance levels, honoring the market's own rhythm.
Insurance Stop: A percentage-based safety net that protects against sudden adverse moves immediately after entry. This is particularly valuable when the swing point stop might be positioned too far from entry, providing immediate capital protection.
Optimization Features
Customizable Filters : All components (Supertrend, ADX) can be enabled/disabled to adapt to different market conditions
Adjustable Parameters : Fine-tune ATR periods, Supertrend factors, and ADX thresholds
Flexible Stop Loss Settings : Each of the three stop loss mechanisms can be individually enabled/disabled with customizable parameters
Best Practices for Implementation
[Recommended Timeframes : Works best on 4-hour charts and above, where trends develop more reliably
Market Conditions: Performs well across various market conditions due to the ADX filter's ability to identify meaningful trends
Performance Characteristics
When properly optimized, this has demonstrated profit factors exceeding 3 in backtesting. The approach typically produces generous winners while limiting losses through its multi-layered stop loss system. The ATR trailing stop is particularly effective at capturing extended trends, while the insurance stop provides immediate protection against adverse moves.
The visual components on the chart make it easy to follow the strategy's logic, with position status, entry prices, and current stop levels clearly displayed.
This indicator represents a complete trading system with clearly defined entry and exit rules, adaptive stop loss mechanisms, and built-in risk management through position sizing.
Follow-Through Day (FTD) SignalThis plots up arrows beneath the price on days when a William O’Neil “Follow Through Day” (FTD) takes place. A FTD occurs when an index rallies 1.2% or more with volume greater than the prior day. The rally must also be three days or more from the recent low to ensure it is authentic buying vs. short covering.
Inputs:
• Min % Gain From Previous Close: Define the minimum gain required to qualify as a FTD
• Lookback Period: Define a market low. By default, the indicator uses a 20-day low.
Daily LevelsOverview:
The Daily Levels indicator plots key price levels from the previous trading day, including the high, low, median (pivot), and projected extensions. These levels help traders identify potential support/resistance zones and anticipate breakout or reversal opportunities.
Key Features:
✅ Previous Day High & Low – Visualizes the prior day’s high and low as dynamic support/resistance levels.
✅ Median (Pivot) Line – Calculates the midpoint between the previous day’s high and low, acting as a key intraday reference.
✅ Projected Levels – Extends the high/low range symmetrically above and below the median, highlighting potential breakout zones.
✅ Customizable Display – Toggle visibility, adjust colors, and modify line styles (solid, dotted, dashed).
✅ Price Labels – Clear on-chart labels showing exact price values for quick reference.
✅ Built-in Alerts – Get notified when price crosses any of the key levels.
How to Use:
Trend Identification: If price holds above the median, the bias is bullish; below suggests bearish momentum.
Breakout Trading: Watch for moves beyond the projected levels for potential continuation.
Mean Reversion: Fade moves toward the previous day’s high/low if the median holds as support/resistance.
Ideal For:
Day Traders – Intraday support/resistance levels.
Swing Traders – Context for multi-day trends.
Breakout/Reversal Strategies – Clear levels for trade triggers.
Settings Recommendations:
High/Low Lines: Use semi-transparent colors (e.g., green/red) for clarity.
Projections: Helpful for anticipating extended moves (e.g., teal for upper, orange for lower).
Alerts: Enable notifications for key crosses (e.g., median or high/low breaks).
Dskyz (DAFE) MAtrix with ATR-Powered Precision Dskyz (DAFE) MAtrix with ATR-Powered Precision
This cutting‐edge futures trading strategy built to thrive in rapidly changing market conditions. Developed for high-frequency futures trading on instruments such as the CME Mini MNQ, this strategy leverages a matrix of sophisticated moving averages combined with ATR-based filters to pinpoint high-probability entries and exits. Its unique combination of adaptable technical indicators and multi-timeframe trend filtering sets it apart from standard strategies, providing enhanced precision and dynamic responsiveness.
imgur.com
Core Functional Components
1. Advanced Moving Averages
A distinguishing feature of the DAFE strategy is its robust, multi-choice moving averages (MAs). Clients can choose from a wide array of MAs—each with specific strengths—in order to fine-tune their trading signals. The code includes user-defined functions for the following MAs:
imgur.com
Hull Moving Average (HMA):
The hma(src, len) function calculates the HMA by using weighted moving averages (WMAs) to reduce lag considerably while smoothing price data. This function computes an intermediate WMA of half the specified length, then a full-length WMA, and finally applies a further WMA over the square root of the length. This design allows for rapid adaptation to price changes without the typical delays of traditional moving averages.
Triple Exponential Moving Average (TEMA):
Implemented via tema(src, len), TEMA uses three consecutive exponential moving averages (EMAs) to effectively cancel out lag and capture price momentum. The final formula—3 * (ema1 - ema2) + ema3—produces a highly responsive indicator that filters out short-term noise.
Double Exponential Moving Average (DEMA):
Through the dema(src, len) function, DEMA calculates an EMA and then a second EMA on top of it. Its simplified formula of 2 * ema1 - ema2 provides a smoother curve than a single EMA while maintaining enhanced responsiveness.
Volume Weighted Moving Average (VWMA):
With vwma(src, len), this MA accounts for trading volume by weighting the price, thereby offering a more contextual picture of market activity. This is crucial when volume spikes indicate significant moves.
Zero Lag EMA (ZLEMA):
The zlema(src, len) function applies a correction to reduce the inherent lag found in EMAs. By subtracting a calculated lag (based on half the moving average window), ZLEMA is exceptionally attuned to recent price movements.
Arnaud Legoux Moving Average (ALMA):
The alma(src, len, offset, sigma) function introduces ALMA—a type of moving average designed to be less affected by outliers. With parameters for offset and sigma, it allows customization of the degree to which the MA reacts to market noise.
Kaufman Adaptive Moving Average (KAMA):
The custom kama(src, len) function is noteworthy for its adaptive nature. It computes an efficiency ratio by comparing price change against volatility, then dynamically adjusts its smoothing constant. This results in an MA that quickly responds during trending periods while remaining smoothed during consolidation.
Each of these functions—integrated into the strategy—is selectable by the trader (via the fastMAType and slowMAType inputs). This flexibility permits the tailored application of the MA most suited to current market dynamics and individual risk management preferences.
2. ATR-Based Filters and Risk Controls
ATR Calculation and Volatility Filter:
The strategy computes the Average True Range (ATR) over a user-defined period (atrPeriod). ATR is then used to derive both:
Volatility Assessment: Expressed as a ratio of ATR to closing price, ensuring that trades are taken only when volatility remains within a safe, predefined threshold (volatilityThreshold).
ATR-Based Entry Filters: Implemented as atrFilterLong and atrFilterShort, these conditions ensure that for long entries the price is sufficiently above the slow MA and vice versa for shorts. This acts as an additional confirmation filter.
Dynamic Exit Management:
The exit logic employs a dual approach:
Fixed Stop and Profit Target: Stops and targets are set at multiples of ATR (fixedStopMultiplier and profitTargetATRMult), helping manage risk in volatile markets.
Trailing Stop Adjustments: A trailing stop is calculated using the ATR multiplied by a user-defined offset (trailOffset), which captures additional profits as the trade moves favorably while protecting against reversals.
3. Multi-Timeframe Trend Filtering
The strategy enhances its signal reliability by leveraging a secondary, higher timeframe analysis:
15-Minute Trend Analysis:
By retrieving 15-minute moving averages (fastMA15m and slowMA15m) via request.security, the strategy determines the broader market trend. This secondary filter (enabled or disabled through useTrendFilter) ensures that entries are aligned with the prevailing market direction, thereby reducing the incidence of false signals.
4. Signal and Execution Logic
Combined MA Alignment:
The entry conditions are based primarily on the alignment of the fast and slow MAs. A long condition is triggered when the current price is above both MAs and the fast MA is above the slow MA—complemented by the ATR filter and volume conditions. The reverse applies for a short condition.
Volume and Time Window Validation:
Trades are permitted only if the current volume exceeds a minimum (minVolume) and the current hour falls within the predefined trading window (tradingStartHour to tradingEndHour). An additional volume spike check (comparing current volume to a moving average of past volumes) further filters for optimal market conditions.
Comprehensive Order Execution:
The strategy utilizes flexible order execution functions that allow pyramiding (up to 10 positions), ensuring that it can scale into positions as favorable conditions persist. The use of both market entries and automated exits (with profit targets, stop-losses, and trailing stops) ensures that risk is managed at every step.
5. Integrated Dashboard and Metrics
For transparency and real-time analysis, the strategy includes:
On-Chart Visualizations:
Both fast and slow MAs are plotted on the chart, making it easy to see the market’s technical foundation.
Dynamic Metrics Dashboard:
A built-in table displays crucial performance statistics—including current profit/loss, equity, ATR (both raw and as a percentage), and the percentage gap between the moving averages. These metrics offer immediate insight into the health and performance of the strategy.
Input Parameters: Detailed Breakdown
Every input is meticulously designed to offer granular control:
Fast & Slow Lengths:
Determine the window size for the fast and slow moving averages. Smaller values yield more sensitivity, while larger values provide a smoother, delayed response.
Fast/Slow MA Types:
Choose the type of moving average for fast and slow signals. The versatility—from basic SMA and EMA to more complex ones like HMA, TEMA, ZLEMA, ALMA, and KAMA—allows customization to fit different market scenarios.
ATR Parameters:
atrPeriod and atrMultiplier shape the volatility assessment, directly affecting entry filters and risk management through stop-loss and profit target levels.
Trend and Volume Filters:
Inputs such as useTrendFilter, minVolume, and the volume spike condition help confirm that a trade occurs in active, trending markets rather than during periods of low liquidity or market noise.
Trading Hours:
Restricting trade execution to specific hours (tradingStartHour and tradingEndHour) helps avoid illiquid or choppy markets outside of prime trading sessions.
Exit Strategies:
Parameters like trailOffset, profitTargetATRMult, and fixedStopMultiplier provide multiple layers of risk management and profit protection by tailoring how exits are generated relative to current market conditions.
Pyramiding and Fixed Trade Quantity:
The strategy supports multiple entries within a trend (up to 10 positions) and sets a predefined trade quantity (fixedQuantity) to maintain consistent exposure and risk per trade.
Dashboard Controls:
The resetDashboard input allows for on-the-fly resetting of performance metrics, keeping the strategy’s performance dashboard accurate and up-to-date.
Why This Strategy is Truly Exceptional
Multi-Faceted Adaptability:
The ability to switch seamlessly between various moving average types—each suited to particular market conditions—enables the strategy to adapt dynamically. This is a testament to the high level of coding sophistication and market insight infused within the system.
Robust Risk Management:
The integration of ATR-based stops, profit targets, and trailing stops ensures that every trade is executed with well-defined risk parameters. The system is designed to mitigate unexpected market swings while optimizing profit capture.
Comprehensive Market Filtering:
By combining moving average crossovers with volume analysis, volatility thresholds, and multi-timeframe trend filters, the strategy only enters trades under the most favorable conditions. This multi-layered filtering reduces noise and enhances signal quality.
-Final Thoughts-
The Dskyz Adaptive Futures Elite (DAFE) MAtrix with ATR-Powered Precision strategy is not just another trading algorithm—it is a multi-dimensional, fully customizable system built on advanced technical principles and sophisticated risk management techniques. Every function and input parameter has been carefully engineered to provide traders with a system that is both powerful and transparent.
For clients seeking a state-of-the-art trading solution that adapts dynamically to market conditions while maintaining strict discipline in risk management, this strategy truly stands in a class of its own.
****Please show support if you enjoyed this strategy. I'll have more coming out in the near future!!
-Dskyz
Caution
DAFE is experimental, not a profit guarantee. Futures trading risks significant losses due to leverage. Backtest, simulate, and monitor actively before live use. All trading decisions are your responsibility.
FVG, Swing, Target, D/W/M High Low Detector Basic by Trader Riaz"FVG, Swing, Target, D/W/M High Low Detector Basic by Trader Riaz " is a powerful TradingView indicator designed to enhance your trading strategy by identifying key market structures and levels. This all-in-one tool detects Fair Value Gaps (FVGs), Swing Highs/Lows, and previous Day, Previous Week, and Previous Month Highs/Lows, helping traders make informed decisions with ease.
Key Features:
Bullish & Bearish FVG Detection: Highlights Fair Value Gaps with customizable colors, labels, and extension options.
Swing Highs & Lows: Automatically detects and marks Swing Highs and Lows with adjustable display settings and extensions.
Next Target Levels: Identifies potential price targets based on market direction (rising or falling).
Daily, Weekly, and Monthly High/Low Levels: Displays previous day, week, and month highs/lows with customizable colors.
Customizable Settings: Fully adjustable inputs for colors, number of levels to display, and extension periods.
Clean Visuals: Intuitive and non-intrusive design with dashed lines, labels, and tooltips for better chart readability.
This indicator is ideal for traders looking to identify key price levels, improve market structure analysis, and enhance their trading strategies.
Happy Trading,
Trader Riaz
Heiken Ashi Supertrend ADX - StrategyHeiken Ashi Supertrend ADX Strategy
Overview
This strategy combines the power of Heiken Ashi candles, Supertrend indicator, and ADX filter to identify strong trend movements across multiple timeframes. Designed primarily for the cryptocurrency market but adaptable to any tradable asset, this system focuses on capturing momentum in established trends while employing a sophisticated triple-layer stop loss mechanism to protect capital and secure profits.
Strategy Mechanics
Entry Signals
The strategy uses a unique blend of technical signals to identify high-probability trade entries:
Heiken Ashi Candles: Looks specifically for Heiken Ashi candles with minimal or no wicks, which signal strong momentum and trend continuation. These "full-bodied" candles represent periods where price moved decisively in one direction with minimal retracement.
Supertrend Filter : Confirms the underlying trend direction using the Supertrend indicator (default factor: 3.0, ATR period: 10). Entries are aligned with the prevailing Supertrend direction.
ADX Filter (Optional) : Can be enabled to focus only on stronger trending conditions, filtering out choppy or ranging markets. When enabled, trades only trigger when ADX is above the specified threshold (default: 25).
Exit Signals
Positions are closed when either:
An opposing signal appears (Heiken Ashi candle with no wick in the opposite direction)
Any of the three stop loss mechanisms are triggered
Triple-Layer Stop Loss System
The strategy employs a sophisticated three-tier stop loss approach:
ATR Trailing Stop: Adapts to market volatility and locks in profits as the trend extends. This stop moves in the direction of the trade, capturing profit without exiting too early during normal price fluctuations.
Swing Point Stop : Uses natural market structure (recent highs/lows over a lookback period) to place stops at logical support/resistance levels, honoring the market's own rhythm.
Insurance Stop: A percentage-based safety net that protects against sudden adverse moves immediately after entry. This is particularly valuable when the swing point stop might be positioned too far from entry, providing immediate capital protection.
Optimization Features
Customizable Filters: All components (Supertrend, ADX) can be enabled/disabled to adapt to different market conditions
Adjustable Parameters: Fine-tune ATR periods, Supertrend factors, and ADX thresholds
Flexible Stop Loss Settings: Each of the three stop loss mechanisms can be individually enabled/disabled with customizable parameters
Best Practices for Implementation
Recommended Timeframes: Works best on 4-hour charts and above, where trends develop more reliably
Market Conditions: Performs well across various market conditions due to the ADX filter's ability to identify meaningful trends
Position Sizing: The strategy uses a percentage of equity approach (default: 3%) for position sizing
Performance Characteristics
When properly optimized, this strategy has demonstrated profit factors exceeding 3 in backtesting. The approach typically produces generous winners while limiting losses through its multi-layered stop loss system. The ATR trailing stop is particularly effective at capturing extended trends, while the insurance stop provides immediate protection against adverse moves.
The visual components on the chart make it easy to follow the strategy's logic, with position status, entry prices, and current stop levels clearly displayed.
This strategy represents a complete trading system with clearly defined entry and exit rules, adaptive stop loss mechanisms, and built-in risk management through position sizing.
NFCI National Financial Conditions IndexNFCI National Financial Conditions Index
This indicator plots the NFCI as an indicator below your chart. You have the option to select the NFCI as well as its subcomponents.
Global M2 10-Week Lead (for bitcoin)This script displays a combined view of the Global M2 Money Supply, converted to USD and adjusted with a configurable forward lead (default 10 weeks). It is designed to help visualize macro liquidity trends and anticipate potential impacts on Bitcoin price movements across any timeframe.
🔹 Main Features:
- Aggregates M2 data from 18 countries and regions including the USA, Eurozone, China, Japan, and more.
- All M2 values are converted to USD using respective exchange rates.
- Customizable “Slide Weeks Forward” setting lets you project global liquidity data into the future.
- Works on all timeframes by adjusting the projection logic dynamically.
- Toggle each country’s data on or off to customize the liquidity model.
💡 Use Case:
Global liquidity is often a leading indicator for major asset classes. This tool helps traders and analysts assess macro-level trends and their potential influence on Bitcoin by looking at changes in M2 money supply worldwide.
💡 Inspired By:
This tool mimics the Global M2 10-Week Lead liquidity indicator often referenced by Raoul Pal of Real Vision and Global Macro Investor, used for macro analysis and Bitcoin movement prediction.
📊 Note:
All economic and FX data is sourced from TradingView’s built-in datasets (ECONOMICS and FX_IDC). Data availability may vary depending on your plan.
MACD with Signals. Non-editable version. NACHOMIXCRYPTODescription of the "MACD with Signals. Non-editable version. NACHOMIXCRYPTO" Indicator
The "MACD with Signals. Non-editable version. NACHOMIXCRYPTO"
is a technical analysis indicator built in Pine Script (version 6) for TradingView. It is based on the traditional Moving Average Convergence Divergence (MACD) indicator but includes additional features such as signal labels on the main chart and two informational tables displayed in a separate window below the price chart (overlay=false). This version is designed to be fully non-editable, meaning users cannot modify its core parameters or visual settings through the input menu. Below is a detailed breakdown of its components, functionality, and purpose:
1. Purpose
This indicator aims to assist traders in identifying potential buy ("LONG") and sell ("SHORT") opportunities by analyzing crossovers between the MACD line and the signal line. It enhances the standard MACD by:
Labeling signals directly on the price chart.
Filtering signals as "TRUE" or "FALSE" based on their position relative to the zero line.
Predicting possible crossovers within the next 4 bars.
Displaying current and predicted signals in two separate tables.
The "non-editable" nature ensures that the indicator's settings (MACD lengths and source) remain fixed and hidden from users, making it a standardized tool for public use without customization options.
2. Components
Fixed Parameters
Fast EMA Length: Set to a fixed value (not visible or editable), representing the shorter-term exponential moving average (EMA).
Slow EMA Length: Set to a fixed value (not visible or editable), representing the longer-term EMA.
Signal Line Length: Set to a fixed value (not visible or editable), determining the smoothing period for the signal line.
MACD Source: Fixed to the closing price (close), not visible or editable in the input menu.
These values are embedded in the code and cannot be altered by users, ensuring consistency in how the MACD is calculated.
Informative Message
A static message appears in the input menu: "This is the public version that does not allow edits or signal modifications." This informs users that no customization is available.
MACD Calculations
MACD Line (macdLine): The difference between the fast EMA and slow EMA.
Signal Line (signalLine): An EMA of the MACD line, smoothed over the fixed signal line length.
Histogram (histogram): The difference between the MACD line and the signal line, visualized as columns.
Zero Line
A horizontal line at 0 (zeroLine) serves as a reference point to distinguish bullish (above 0) and bearish (below 0) conditions.
Slope Calculations
MACD Slope (macdSlope): The change in the MACD line from the previous bar.
Signal Slope (signalSlope): The change in the signal line from the previous bar.
These slopes are used to predict potential crossovers.
Crossover Prediction
Next 4 Bars Prediction (crossInNext4Bars): Estimates if the MACD line and signal line will cross within the next 4 bars based on their current values and slopes.
Signal Conditions
Buy Signal (longCondition): Triggered when the MACD line crosses above the signal line (ta.crossover).
Sell Signal (shortCondition): Triggered when the MACD line crosses below the signal line (ta.crossunder).
Tables
Current Signal Table: Positioned at the bottom-right corner with a blue border, displaying the active signal.
Next Signal Table: Positioned at the top-right corner with an orange border, showing the predicted signal.
Labels
Labels appear on the main price chart at the price level (yloc.price) with fixed styles and colors:
"LONG": Green background, white text, upward arrow style (label.style_label_up).
"SHORT": Red background, white text, downward arrow style (label.style_label_down).
"FALSE.LONG": Aqua background, white text, upward arrow style.
"FALSE.SHORT": Fuchsia background, white text, downward arrow style.
3. Functionality
MACD Calculation:
The indicator calculates the MACD using the fixed fast EMA, slow EMA, and signal line lengths applied to the closing price.
Signal Generation:
Buy Signal ("LONG" or "FALSE.LONG"):
If the MACD line crosses above the signal line:
"LONG" if the MACD line is above the zero line (valid bullish signal).
"FALSE.LONG" if below the zero line (potentially misleading).
Sell Signal ("SHORT" or "FALSE.SHORT"):
If the MACD line crosses below the signal line:
"SHORT" if the MACD line is below the zero line (valid bearish signal).
"FALSE.SHORT" if above the zero line (potentially misleading).
These signals are displayed as labels on the price chart and in the current signal table.
Crossover Prediction:
The indicator analyzes the slopes of the MACD and signal lines to predict if a crossover is likely within 4 bars:
"POSSIBLE: LONG" if the MACD line is trending upward relative to the signal line.
"POSSIBLE: SHORT" if trending downward.
This prediction is shown in the next signal table.
Visualization:
Separate Window:
Histogram: Columns with dynamic colors (dark green/light green above zero, dark red/light red below zero) based on value and trend.
MACD Line: Green line with a thickness of 2.
Signal Line: Red line with a thickness of 2.
Zero Line: Yellow horizontal line at 0.
Tables: Current signal (bottom-right, blue frame) and next signal (top-right, orange frame) with white text and background colors matching the signal type.
Main Chart: Labels indicating "LONG", "SHORT", "FALSE.LONG", or "FALSE.SHORT" at the price level of the triggering bar.
4. Visual Output
Histogram: Green above the zero line, red below, with shades varying based on whether the histogram is increasing or decreasing.
Lines: Green MACD line, red signal line, and yellow zero line.
Labels: Fixed colors and styles on the price chart.
Tables:
Current signal table: Green for "LONG", red for "SHORT", aqua for "FALSE LONG", gray for "NO SIGNAL".
Next signal table: Green for "POSSIBLE: LONG", red for "POSSIBLE: SHORT", gray for "NO SIGNAL".
5. Usage
Target Audience: Traders looking for a simple, pre-configured MACD-based tool to identify entry and exit points without needing to adjust settings.
Trading Style: Suitable for scalping or swing trading, with the added benefit of crossover predictions for proactive decision-making.
Non-editable Design: The fixed parameters and lack of customization ensure consistent behavior across all users, making it ideal for public distribution.
6. Limitations
No Customization: Users cannot adjust MACD lengths, source, colors, or label styles, limiting flexibility.
Fixed Source: Relies solely on closing prices, which may not suit all trading strategies.
Prediction Accuracy: The 4-bar crossover prediction depends on current trends and may not always be reliable in choppy markets.
False Signals: While filtered by the zero line, false signals can still occur in sideways markets.
7. Input Menu
The only visible element in the input menu is the "Information" field with the message: "This is the public version that does not allow edits or signal modifications." No other settings are exposed or adjustable.
In summary, the "MACD with Signals. Non-editable version. NACHOMIXCRYPTO" is a locked-down, user-friendly version of a MACD indicator tailored for public use. It provides clear buy/sell signals, predictive insights, and visual aids through labels and tables, all while maintaining a standardized, non-customizable configuration for simplicity and consistency.
ICT MACRO MAX RETRI ( ALERT )🖤 ICT Reversal Detector – Minimalist Edition
This indicator is designed for traders who follow Inner Circle Trader (ICT) concepts, particularly focused on liquidity sweeps and displacement reversals.
It detects:
• Swing Highs & Lows that occur during the most reactive windows of each hour
→ Specifically the last 20 minutes and first 15 minutes
(ICT teaches these moments often reveal macro-level reversals. I’ve expanded the window slightly to give the indicator more room to catch valid setups.)
• Liquidity Sweeps of previous highs/lows
• Displacement (State Change): defined as a manipulation wick followed by 1–3 strong candles closing in the opposite direction
Visually:
• Clean black lines pointing right from the liquidity sweep wick
• White triangle markers inside black label boxes only when valid displacement occurs
• No clutter, no unnecessary shapes — just focused signal
Built for:
• 5-minute charts, especially NASDAQ (NAS100) and S&P 500 (SPX500)
• Confirm setups manually on the 15-minute chart for extra precision
This is a partial automation tool for ICT-style reversal traders who prefer clarity, minimalism, and sharp intuition over noise.
Let it alert you to setups — then decide like a sniper.
Leavitt Convolution ProbabilityTechnical Analysis of Markets with Leavitt Market Projections and Associated Convolution Probability
The aim of this study is to present an innovative approach to market analysis based on the research "Leavitt Market Projections." This technical tool combines one indicator and a probability function to enhance the accuracy and speed of market forecasts.
Key Features
Advanced Indicators : the script includes the Convolution line and a probability oscillator, designed to anticipate market changes. These indicators provide timely signals and offer a clear view of price dynamics.
Convolution Probability Function : The Convolution Probability (CP) is a key element of the script. A significant increase in this probability often precedes a market decline, while a decrease in probability can signal a bullish move. The Convolution Probability Function:
At each bar, i, the linear regression routine finds the two parameters for the straight line: y=mix+bi.
Standard deviations can be calculated from the sequence of slopes, {mi}, and intercepts, {bi}.
Each standard deviation has a corresponding probability.
Their adjusted product is the Convolution Probability, CP. The construction of the Convolution Probability is straightforward. The adjusted product is the probability of one times 1− the probability of the other.
Customizable Settings : Users can define oversold and overbought levels, as well as set an offset for the linear regression calculation. These options allow for tailoring the script to individual trading strategies and market conditions.
Statistical Analysis : Each analyzed bar generates regression parameters that allow for the calculation of standard deviations and associated probabilities, providing an in-depth view of market dynamics.
The results from applying this technical tool show increased accuracy and speed in market forecasts. The combination of Convolution indicator and the probability function enables the identification of turning points and the anticipation of market changes.
Additional information:
Leavitt, in his study, considers the SPY chart.
When the Convolution Probability (CP) is high, it indicates that the probability P1 (related to the slope) is high, and conversely, when CP is low, P1 is low and P2 is high.
For the calculation of probability, an approximate formula of the Cumulative Distribution Function (CDF) has been used, which is given by: CDF(x)=21(1+erf(σ2x−μ)) where μ is the mean and σ is the standard deviation.
For the calculation of probability, the formula used in this script is: 0.5 * (1 + (math.sign(zSlope) * math.sqrt(1 - math.exp(-0.5 * zSlope * zSlope))))
Conclusions
This study presents the approach to market analysis based on the research "Leavitt Market Projections." The script combines Convolution indicator and a Probability function to provide more precise trading signals. The results demonstrate greater accuracy and speed in market forecasts, making this technical tool a valuable asset for market participants.
CandelaCharts - Premium & Discount 📝 Overview
Premium and Discount are key concepts in ICT (Inner Circle Trader) trading strategies, used to pinpoint ideal entry and exit points in the market. These concepts are based on an understanding of market structure and the behavior of institutional traders, commonly referred to as Smart Money.
To understand the Premium and Discount zones, it's crucial to first grasp the concept of the equilibrium level, also known as the basic or fair value. The equilibrium represents the midpoint of a given price range and acts as a reference point, dividing the range into Premium and Discount zones.
The equilibrium reflects the "fair value" of the price within the considered range. Traders use this as a benchmark to assess whether the current price is in the Premium or Discount zone.
The Premium zone lies above the equilibrium level, while the Discount zone is located below it within the price range.
📦 Features
Swing-based detection
Custom detection
Modes
Styling
⚙️ Settings
Range: Determines how you will identify Premium and Discount, either by swing points or by custom date.
Mode: Controls what UI will be displayed
Premium: Sets the Premium color
Discount: Sets the Discount color
Equilibrium: Sets the Equilibrium color
Labels: Controls the labels visibility
⚡️ Showcase
Pro Mode
Solid Mode
Outlined Mode
Flat Mode
The Indicator can be effortlessly applied in replay mode to highlight premium and discount zones based on the most prominent market swings.
🚨 Alerts
The indicator does not provide any alerts!
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
HTF Short/Long Alert V1thanks @Ozynation on X
📌 HTF Short/Long Alert Strategy V1
Timeframe: Primarily used on 1-hour charts (HTF).
Indicators Used:
EMA200 (200-period Exponential Moving Average)
Mid Bollinger Band (Mid BB) (Standard 20-period SMA, 2 standard deviations)
Parabolic SAR (Standard parameters: 0.02, 0.2, 0.2)
🔴 Short Entry Conditions:
Mid BB crosses below EMA200 (bearish cross).
Price attempts but fails to close above EMA200 (wicks above, candle closes below).
Parabolic SAR flips from below price to above, signaling bearish momentum.
🟢 Long Entry Conditions:
Mid BB crosses above EMA200 (bullish cross).
Previous candle clearly closes above both EMA200 and Mid BB.
Parabolic SAR flips from above price to below, indicating bullish momentum.
✅ How to Use:
Wait for HTF alert to trigger ("Short" or "Long").
Confirm entry manually on lower timeframes (15m/1m).
Use your own risk management rules to set SL and TP.
Filtered Swing Pivot S&R )Pivot support and resis🔍 Filtered Swing Pivot S&R - Overview
This indicator identifies and plots tested support and resistance levels using a filtered swing pivot strategy. It focuses on high-probability zones where price has reacted before, helping traders better anticipate future price behavior.
It filters out noise using:
Customizable pivot detection logic
Minimum price level difference
ATR (Average True Range) volatility filter
Confirmation by price retesting the level before plotting
⚙️ Core Logic Explained
✅ 1. Pivot Detection
The script uses Pine Script's built-in ta.pivothigh() and ta.pivotlow() functions to find local highs (potential resistance) and lows (potential support).
Pivot Lookback/Lookahead (pivotLen):
A pivot is confirmed if it's the highest (or lowest) point within a lookback and lookahead range of pivotLen bars.
Higher values = fewer, stronger pivots.
Lower values = more, but potentially noisier levels.
✅ 2. Pending Pivot Confirmation
Once a pivot is detected:
It is not drawn immediately.
The script waits until price re-tests that pivot level. This retest confirms the market "respects" the level.
For example: if price hits a previous high again, it's treated as a valid resistance.
✅ 3. Dual-Level Filtering System
To reduce chart clutter and ignore insignificant levels, two filters are applied:
Fixed Threshold (Minimum Level Difference):
Ensures a new pivot level is not too close to the last one.
ATR-Based Filter:
Dynamically adjusts sensitivity based on current volatility using the formula:
java
Copy
Edit
Minimum distance = ATR × ATR Multiplier
Only pivots that pass both filters are plotted.
✅ 4. Line Drawing
Once a pivot is:
Detected
Retested
Filtered
…a horizontal dashed line is drawn at that level to highlight support or resistance.
Resistance: Red (default)
Support: Green (default)
These lines are:
Dashed for clarity
Extended for X bars into the future (user-defined) for forward visibility
🎛️ Customizable Inputs
Parameter Description
Pivot Lookback/Lookahead Bars to the left and right of a pivot to confirm it
Minimum Level Difference Minimum price difference required between plotted levels
ATR Length Number of bars used in ATR volatility calculation
ATR Multiplier for Pivot Multiplies ATR to determine volatility-based pivot separation
Line Extension (bars) How many future bars the level line will extend for better visibility
Resistance Line Color Color for resistance lines (default: red)
Support Line Color Color for support lines (default: green)
📈 How to Use It
This indicator is ideal for:
Identifying dynamic support & resistance zones that adapt to volatility.
Avoiding false levels by waiting for pivot confirmation.
Visual guidance for entries, exits, stop placements, or take-profits.
🔑 Trade Ideas:
Use support/resistance retests for entry confirmations.
Combine with candlestick patterns or volume spikes near drawn levels.
Use in confluence with trendlines or moving averages.
🚫 What It Does Not Do (By Design)
Does not repaint or remove past levels once confirmed.
Does not include labels or alerts (but can be added).
Does not auto-scale based on timeframes (manual tuning recommended).
🛠️ Possible Enhancements (Optional)
If desired, you could extend the functionality to include:
Labels with “S” / “R”
Alert when a new level is tested or broken
Toggle for support/resistance visibility
Adjustable line width or style
tance indicator
Order Blocks & Breaker Blocks + EMA 50/200 + RSIthis instrument shows actual trend with order blocks on different timeframes and EMA 50/200
Simplified Pullback SAR - One Signal After Trend ChangeSimplified Pullback SAR combines the classic Parabolic SAR with a minimalistic pullback logic — triggering only one signal after a trend change.
🔹 In an uptrend: After the trend flips to bullish, the script waits for a minor pullback (lower close and lower low), then triggers a long signal if price resumes higher.
🔹 In a downtrend: After the trend flips to bearish, it waits for a minor upward pullback (higher close and higher high), then triggers a short signal if price resumes lower.
Key Features:
Clean and simple logic
Only one re-entry signal after trend change
Customizable SAR parameters
Alert-ready for both long and short signals
This tool is designed to avoid overtrading by filtering out noise and focusing on meaningful entries in the direction of the new trend, right after a brief correction.
SMC Master v10 FINAL - Full SMC + OB Types + Enhanced EQH/EQL🇹🇭 ภาษาไทย: คำอธิบายอินดิเคเตอร์
🔰 อินดิเคเตอร์ SMC Master for MT4 คืออะไร?
SMC Master คืออินดิเคเตอร์ที่ออกแบบมาเพื่อนักเทรดที่ใช้แนวคิด Smart Money Concepts (SMC) อย่างจริงจัง
ช่วยให้คุณมองเห็นจุดเข้าเทรดที่แม่นยำ โดยไม่ต้องตีกราฟเองทุกครั้ง
✅ ฟีเจอร์หลัก:
🔹 วาด Order Block (OB) ทั้งฝั่งซื้อ-ขาย พร้อมบอกประเภท (RBD, DBR, DBD, RBR)
🔹 สร้างสัญญาณ Buy/Sell เฉพาะ OB ปัจจุบันเท่านั้น
🔹 วาด SL / TP อัตโนมัติ และลบเมื่อโดน
🔹 ตรวจจับ BOS / CHoCH พร้อมลูกศรแสดงทิศทาง
🔹 วาด Fair Value Gap (FVG)
🔹 แสดง EQH / EQL พร้อมเส้นแนวนอนแนวรับ-แนวต้าน
🔔 มีระบบแจ้งเตือน: Popup + Push Notification (ไม่มีเสียง)
🧠 เหมาะสำหรับใคร?
เทรดเดอร์ที่ใช้ SMC
คนที่ต้องการอินดิเคเตอร์ช่วยดู OB, SL/TP, และโครงสร้างตลาด
เหมาะกับทุก Timeframe และคู่เงิน
📌 ข้อแนะนำ:
ใช้ร่วมกับเทคนิคบริหารความเสี่ยงของคุณเสมอ
อินดิเคเตอร์นี้ไม่ repaint และทำงานกับแท่งปัจจุบันเท่านั้น
🇺🇸 English: Indicator Description
🔰 What is “SMC Master for MT4”?
SMC Master is a powerful indicator designed for traders who follow Smart Money Concepts (SMC).
It automatically identifies key market structures, entry zones, and trade signals — so you don’t have to draw everything manually.
✅ Key Features:
🔹 Detects Bullish/Bearish Order Blocks and labels them (RBD, DBR, RBR, DBD)
🔹 Generates Buy/Sell signals only for the latest valid OB
🔹 Auto-calculates SL / TP and removes them once hit
🔹 Detects BOS / CHoCH with directional arrows
🔹 Displays Fair Value Gaps (FVG)
🔹 Marks EQH / EQL with horizontal lines
🔔 Alerts: Popup + Push Notification (no sound)
🧠 Who is this for?
SMC-based traders
Traders who want auto-OB, clean market structure, and entry zone clarity
Works on all timeframes and symbols
📌 Tips for Use:
Always pair it with proper risk management
This indicator does not repaint and works with the current price action only
VWAP SharkzVWAP for VIP Group
JUST IN - Panama deal allows US to deploy troops to canal — The document, signed by top security officials from both countries, allows US military personnel to deploy to Panama-controlled facilities for training, exercises and a range of other activities
Dynamic Support|Resistance SSA & SSBHello, traders. I offer you an indicator to complement the Ichimoku Kinho Hyo trading system. This indicator determines possible dynamic resistance and support levels based on pivots and end points of the Senkou Span A and Senkou Span B lines.
You determine the pivots yourself, choosing how many bars back to look for HIGH and LOW.
Attention! Unlike the classical theory of Goichi Hosoda: the levels are dynamic, that is, they change values with each new bar!
Also added is the MTF function for displaying levels from different time frames.
RSI + MA + Divergence + SnR + Price levelOverview
This indicator combines several technical analysis tools to give traders a comprehensive view based on the RSI indicator. Its main features include:
RSI & Moving Averages on RSI:
RSI: Calculates the RSI based on the closing price (or a user-selected source) with a configurable period (default is 14).
EMA and WMA: Computes and plots an Exponential Moving Average (EMA with a period of 9) and a Weighted Moving Average (WMA with a period of 45) on the RSI, helping to smooth out signals and better identify trends.
Price Ladder Based on RSI:
Draws horizontal lines at specified target RSI levels (from targetRSI1 to targetRSI7, default levels ranging from 20 to 80).
Calculates a target price based on the price change relative to the averaged gains and losses, providing an estimated price level when the RSI reaches those critical levels.
Divergence Detection:
Identifies divergence between price and RSI:
Bullish Divergence: Detected when the price forms a lower low but RSI fails to confirm with a corresponding lower low, with the RSI falling under a configurable threshold (d_below).
Bearish Divergence: Detected when the price forms a higher high while the RSI does not, with the RSI exceeding a configurable upper threshold (d_upper).
Optionally displays labels on the chart to alert the trader when divergence signals are detected.
Auto Support & Resistance on RSI:
Automatically calculates and plots support and resistance lines based on the RSI over different lookback periods (e.g., 34, 89, 200 bars).
Helps traders identify key RSI levels where price reversals or breakouts might occur.
Benefits for the Trader
This indicator is designed to assist traders in their decision-making process by integrating multiple technical analysis elements:
Identifying Market Trends:
By combining the RSI with its moving averages (EMA, WMA), traders can better assess market trends and the strength of these trends, thereby improving trade entry accuracy.
Early Reversal Signals via Divergence:
Divergence signals (both bullish and bearish) can help forecast potential reversals in the market, allowing traders to adjust their strategies timely.
Determining RSI-Based Support/Resistance Levels:
Automatic identification of support and resistance levels on the RSI provides key areas where a price reversal or breakout may occur, assisting traders in setting stop-loss and take-profit levels strategically.
Price Target Forecasting with the Price Ladder:
The target price labels calculated at important RSI levels provide insights into potential price objectives, aiding in risk management and profit planning.
Flexible Configuration:
Traders can customize key parameters such as the RSI period, lengths for EMA and WMA, target RSI levels, divergence conditions, and support/resistance settings. This flexibility allows the indicator to adapt to different trading styles and strategies.
How to read data
Some use-cases
Used to estimate price according to the RSI level.
When you trade using RSI, you want to set your stop-loss or take-profit levels based on RSI. By looking at the price ladder, you know the corresponding price level to enter a trade.
Used to determine the entry zone.
RSI often reacts to its own previously established support/resistance levels. Use the Auto SnR feature to identify those zones.
Used to determine the trend.
RSI and its moving averages help identify the price trend:
Uptrend: 3 lines separate and point upward.
Downtrend: 3 lines separate and point downward.
Use WMA45 to determine the trend:
Uptrend: WMA45 is moving upward or trading above the 50 level.
Downtrend: WMA45 is moving downward or trading below the 50 level.
Sideways: WMA45 is trading around the 50 level.
Use EMA9 to confirm the trend: A crossover of EMA9 through WMA45 confirms the formation of a new trend.
Configuration
The script allows users to configure a number of important parameters to suit their analytical preferences:
RSI Settings:
RSI Length (rsiLengthInput): The number of periods used to compute the RSI (default is 14, adjustable as needed).
RSI Source (rsiSourceInput): Select the price source (default is the closing price).
RSI Color (rsiClr): The color used to display the RSI line.
Moving Averages on RSI:
EMA Length (emaLength): The period for calculating the EMA on RSI (default is 9).
WMA Length (wmaLength): The period for calculating the WMA on RSI (default is 45).
EMA Color (emaClr) and WMA Color (wmaClr): Customize the colors of the EMA and WMA lines.
Price Ladder Settings:
Toggle Price Ladder (showPrice): Enable or disable the display of the price ladder.
Target RSI Levels: targetRSI1 through targetRSI7: RSI values at which target prices are calculated (default values range from 20, 30, 40, 50, 60, 70 to 80).
Price Label Color (priceColor): The text color for displaying the target price labels.
Divergence Settings:
Divergence Toggle (calculateDivergence): Option to enable or disable divergence calculation and display.
Divergence Conditions:
d_below: RSI level below which bullish divergence is considered.
d_upper: RSI level above which bearish divergence is considered.
Display Divergence Labels (showDivergenceLabel): Option to display labels on the chart when divergence is detected.
Auto Support & Resistance on RSI:
Toggle Auto S&R (enableAutoSnR): Enable or disable automatic plotting of support and resistance levels.
Lookback Periods for Support/Resistance:
L1_lookback: Lookback period for level 1 (e.g., 34 bars).
L2_lookback: Lookback period for level 2 (e.g., 89 bars).
L3_lookback: Lookback period for level 3 (e.g., 200 bars).
Support and Resistance Colors:
rsiSupportClr: Color for the support line.
rsiResistanceClr: Color for the resistance line.
Alerts:
Divergence Alerts: Alert conditions are set up to notify the trader when bullish or bearish divergence is detected, aiding in timely decision-making.
Goichi Hosoda TheoryGreetings to traders. I offer you an indicator for trading according to the Ichimoku Kinho Hyo trading system. This indicator determines possible time cycles of price reversal and expected asset price values based on the theory of waves and time cycles by Goichi Hosoda.
The indicator contains classic price levels N, V, E and NT, and is supplemented with intermediate levels V+E, V+N, N+NT and x2, x3, x4 for levels V and E, which are used in cases where the wave does not contain corrections and there is no possibility to update the impulse-corrective wave.
A function for counting bars from points A B and C has also been added.
12, 21 & 50 EMA Indicator12, 21 & 50 EMA Indicator Overview : This simple yet effective indicator plots three key Exponential Moving Averages (EMAs) – the 12-day, 21-day, and 50-day – directly on your chart.