DTLLC Time & PriceDTLLC Time and Price with Signals
This indicator is built for traders who understand ICT concepts and want a structured, visual way to align time-based price action with key market levels. By combining customizable trading windows, breakout logic, and daily reference points, it helps you identify high-probability trade opportunities while filtering out market noise.
Key Features
1. Dual Custom Time Ranges (Kill Zones)
Set two independent time ranges per day (start/end hour and minute).
Each range identifies the highest high and lowest low within its window.
Built-in breakout detection generates buy/sell signals when price moves beyond these levels.
2. Volatility Filtering
Adjustable volatility threshold based on True Range relative to ATR.
Filters out low-quality signals during choppy, low-volatility conditions.
3. ATR-Based Stop Loss
Custom ATR length and stop-loss multiplier settings.
Automatically plots ATR-based stop levels for triggered trades.
4. Daily Key Levels
Plots Previous Day High, Previous Day Low, and Midnight Open continuously on the chart.
Useful for spotting breakout and reversal opportunities in line with ICT market structure concepts.
5. Liquidity & Engulfing Candle Highlights
Highlights potential liquidity grab zones (yellow candles) when significant highs/lows are set within your lookback period.
Detects bullish (green) and bearish (red) engulfing patterns for added confluence.
6. Visual & Signal Tools
Buy/Sell signals plotted directly on chart (separate colors for Range 1 and Range 2). Continuous plotting of reference levels to maintain market context throughout the session.
Example Use Case:
A common ICT-inspired reversal setup:
Wait for price to sweep the Previous Day’s High or Low during your chosen time range.
Look for a buy or sell signal with volatility confirmation.
Manage risk using the ATR-based stop-loss plot.
Disclaimer: This script is for educational purposes only and is not financial advice. Trade responsibly and always test strategies before applying them in live markets.
Cari dalam skrip untuk "signal"
Stoch Cross Signals above 50This indicator combines a Stochastic Oscillator crossover strategy with an optional 50 EMA trend filter and an extra slow stochastic level condition to identify high-probability trade setups.
Core Logic:
Buy Signal – Generated when the Fast Stoch (%K) crosses above the Slow Stoch (%D) AND %D is below 50.
Sell Signal – Generated when the Fast Stoch (%K) crosses below the Slow Stoch (%D) AND %D is above 50.
Optional Trend Filter – When enabled, buys only occur when price is above EMA-50 and sells only occur when price is below EMA-50.
Bar Close Confirmation – Signals can optionally be confirmed only after the bar closes to reduce false triggers.
Features:
Adjustable parameters for %K length, %K smoothing, %D smoothing, EMA length, and stochastic level thresholds.
Choice to enable/disable EMA trend filter.
Option to show %K and %D lines directly on the price chart.
Clear Buy (green triangle) and Sell (red triangle) markers on the chart.
Built-in alert conditions for automation and notifications.
Use Cases:
Works well for identifying momentum shifts when combined with a trend filter.
Helps traders avoid chasing moves by requiring %D to be in a favorable zone before acting on a crossover.
Suitable for swing trading, intraday setups, or trend-following entries.
Disclaimer:
This script is for educational purposes only and should not be considered financial advice.
Quant Signals: Entropy w/ ForecastThis is the first of many quantitative signals I plan to create for TV users.
Most technical analysis (TA) tools—like moving averages, oscillators, or chart patterns—are heuristic: they’re based on visually identifiable shapes, threshold crossovers, or empirically chosen rules. These methods rarely quantify the information content or structural complexity of market data. By quantifying market predictability before making a forecast, this method filters out noise and focuses your trading only during statistically favorable conditions—something traditional TA cannot objectively measure.
This MEPP-based approach is quantitative and model-free:
It comes from information theory and measures Shannon entropy rate to assess how predictable the market is at any moment.
Instead of interpreting price formations, it uses a data-compression algorithm (Lempel–Ziv) to capture hidden structure in the sequence of returns.
Forecasts are generated using a principle from statistical physics (Maximum Entropy Production), not historical chart patterns.
In short, this method measures the market's predictability BEFORE deciding a directional forecast is worth trusting. This tool is to inform TA traders on the market's current regime, whether it is smooth and predictable or it is volatile and turbulent.
Technical Introduction:
In information theory, Shannon entropy measures the uncertainty (or information content) in a sequence of data. For markets, the entropy rate captures how much new information price returns generate over time:
Low entropy rate → price changes are more structured and predictable.
High entropy rate → price changes are more random and unpredictable.
By discretizing recent returns into quartile-based states, this indicator:
Calculates the normalized entropy rate as a regime filter.
Uses MEPP to forecast the next state that maximizes entropy production.
Displays both the regime status (predictable vs chaotic) and the forecast bias (bullish/bearish) in a dashboard.
Measurements & How to Use Them
TLDR: HIGH ENTROPY -> information generation/market shift -> Don't trust forecast/strategy
1. H (bits/sym)
Shannon entropy rate of the last μ discrete returns, in bits per symbol (0–2).
Lower → more predictable; higher → more random.
Use as a raw measure of market structure.
2. H_max (log₂Ω)
Theoretical maximum entropy for Ω states. Here Ω = 4 → H_max = 2.0 bits.
Reference value for normalization.
3. Entropy (norm)
H / H_max, scaled between 0 and 1.
< 0.5–0.6 → predictable regime; > 0.6 → chaotic regime.
Main regime filter — forecasts are more reliable when below your threshold.
4. Regime
Label based on Entropy (norm) vs your entThresh.
LOW (predictable) = higher odds forecast will be correct.
HIGH (chaotic) = forecasts less reliable.
5. Next State (MEPP Forecast)
Discrete return state (1–4) predicted to occur next, chosen to maximize entropy production:
Large Down (strong bearish)
Small Down (mild bearish)
Small Up (mild bullish)
Large Up (strong bullish)
Use as your bias direction.
6. Bias
Simplified label from the Next State:
States 1–2 = Bearish bias (red)
States 3–4 = Bullish bias (green)
Align strategy direction with bias only in LOW regime.
EMA Pullback Entry SignalsEMA Pullback Entry Signals is a tool designed to help traders identify trend continuation opportunities by detecting price pullbacks toward a slow EMA (Exponential Moving Average) during trending conditions.
This indicator combines moving average crossovers, price interaction with EMAs, and optional filtering to improve the timing and quality of trend entries.
Core Features:
Golden Cross / Death Cross Detection
Golden Cross: Fast EMA crossing above Slow EMA
Death Cross: Fast EMA crossing below Slow EMA
Optional X-shaped markers for crossover visualization
Pullback Signal on Slow EMA
Green triangle: Price crosses up through the slow EMA during a bullish trend
Red triangle: Price crosses down through the slow EMA during a bearish trend
Designed to capture continuation entries after a trend pullback
Optional Fast EMA Signals
Green arrow: Price crosses above fast EMA in a bull trend
Red arrow: Price crosses below fast EMA in a bear trend
Helps confirm minor retracements or short-term momentum shifts
Sideways Market Filter
Suppresses signals when the fast and slow EMAs are too close
Prevents entries during low-trend or choppy price action
Cooldown Timer
Enforces a minimum bar interval between signals to reduce overtrading
Helps avoid multiple entries from clustered signals
Custom Alerts
Alerts available for all signal types
Include ticker and timeframe in each alert message
Configurable Settings:
Fast and slow EMA lengths1
Toggle individual signal types (pullbacks, fast EMA crosses, crossovers)
Enable/disable cooldown logic and set bar duration
Sideways market detection sensitivity (EMA proximity threshold)
Primary Use Case
This script is most useful for trend-following traders seeking to enter pullbacks after a trend is established. When the price retraces to the slow EMA and then resumes in the trend direction, it can offer high-quality continuation setups. Works well across timeframes and markets.
HHT Signal Analyzer (Refined)HHT Signal Analyzer
The HHT Signal Analyzer provides a real-time, smoothed approximation of the Hilbert-Huang Transform (HHT), designed to reveal adaptive cycles and phase changes in price action. It emulates Intrinsic Mode Functions (IMFs) using a double exponential moving average (EMA) filter to extract short-term oscillatory signals from price.
This indicator is helpful for identifying subtle shifts in market behavior, such as when a trend is transitioning or weakening, and is especially effective when paired with trend-based tools like GRJMOM.
How it works:
Applies a double EMA to the price (EMA of EMA)
Calculates the difference between the fast and slow EMA to emulate IMF behavior
Amplifies the signal for clear visual feedback
Highlights cycle slope changes with background coloring (green = rising, red = falling)
Use Cases:
Use slope direction to detect early phase shifts in the market
Combine with trend indicators to confirm or fade moves
Helps visualize when the market is entering a cycle crest or trough
Best for:
Traders looking to capture short-term reversals, cycle timing, or divergence with smooth and adaptive signals
Can be used on any timeframe
Ayman Entry Signal – Ultimate PRO (Scalping Gold Settings)1. Overview
This indicator is a professional gold scalping tool built for TradingView using Pine Script v6.
It combines multiple price action and technical filters to generate high-probability Buy/Sell signals with built-in trade management features (TP1, TP2, SL, Break Even, Partial Close, Stats tracking).
It is optimized for XAUUSD but can be applied to other assets with proper setting adjustments.
2. Key Features
Multi-Condition Trade Signals – EMA trend, Break of Structure, Order Blocks, FVG, Liquidity Sweeps, Pin Bars, Higher Timeframe confirmation, Trend Cloud, SMA Cross, and ADX.
Full Trade Management – Auto-calculates lot size, SL, TP1, TP2, Break Even, Partial Close.
Dynamic Chart Drawing – Entry lines, SL/TP lines, trade boxes, and real-time PnL.
Statistics Panel – Tracks wins, losses, breakeven trades, and total PnL over selected dates.
Customizable Filters – All filters can be turned ON/OFF to match your strategy.
3. Main Inputs & Settings
Account Settings
Capital ($) – Total trading capital.
Risk Percentage (%) – Risk per trade.
TP to SL Ratio – Risk-to-reward ratio.
Value Per Point ($) – Value per pip/point for lot size calculation.
SL Buffer – Extra points added to SL to avoid stop hunts.
Take Profit Settings
TP1 % of Full Target – Fraction of TP1 compared to TP2.
Move SL to Entry after TP1? – Activates Break Even after TP1.
Break Even Buffer – Extra points when moving SL to BE.
Take Partial Close at TP1 – Option to close half at TP1.
Signal Filters
ATR Period – For SL/TP calculation buffer.
EMA Trend – Uses EMA 9/21 crossover for trend.
Break of Structure (BoS) – Requires structure break confirmation.
Order Block (OB) – Validates trades within OB zones.
Fair Value Gap (FVG) – Confirms trades inside FVGs.
Liquidity Sweep – Checks if liquidity zones are swept.
Pin Bar Confirmation – Uses candlestick patterns for extra confirmation.
Pin Bar Body Ratio – Controls strictness of Pin Bar filter.
Higher Timeframe Filters (HTF)
HTF EMA Confirmation – Confirms lower timeframe trades with higher timeframe trend.
HTF BoS – Confirms with higher timeframe structure break.
HTF Timeframe – Selects higher timeframe.
Advanced Filters
SuperTrend Filter – Confirms trades based on SuperTrend.
ADX Filter – Filters out low volatility periods.
SMA Cross Filter – Uses SMA 8/9 cross as filter.
Trend Cloud Filter – Uses EMA 50/200 as a cloud trend filter.
4. How It Works
Buy Signal Conditions
EMA 9 > EMA 21 (trend bullish)
Optional filters (BoS, OB, FVG, Liquidity Sweep, Pin Bar, HTF confirmations, ADX, SMA Cross, Trend Cloud) must pass if enabled.
When all active filters pass → Buy signal triggers.
Sell Signal Conditions
EMA 9 < EMA 21 (trend bearish)
Same filtering process but for bearish conditions.
When all active filters pass → Sell signal triggers.
5. Trade Execution & Management
When a signal triggers:
Lot size is auto-calculated based on risk % and SL distance.
SL is placed beyond recent swing high/low + ATR buffer.
TP1 and TP2 are calculated from the SL using the reward-to-risk ratio.
Break Even: If enabled, SL moves to entry price after TP1 is hit.
Partial Close: If enabled, half of the position closes at TP1.
Trade Exit: Full exit at TP2, SL hit, or partial close at TP1.
6. Chart Display
Entry Line – Shows entry price.
SL Line – Red dashed line at stop loss level.
TP1 Line – Lime dashed line for TP1.
TP2 Line – Green dashed line for TP2.
PnL Labels – Displays real-time profit/loss in $.
Trade Box – Visual area showing trade range.
Pin Bar Shapes – Optional, marks Pin Bars.
7. Statistics Panel
Stats Header – Shows “Stats”.
Total Trades
Wins
Losses
Breakeven Trades
Total PnL
Can be reset or filtered by date.
8. How to Use
Load the Indicator in TradingView.
Select Gold (XAUUSD) on your preferred scalping timeframe (1m, 5m, 15m).
Adjust settings:
Use default gold scalping settings for quick start.
Enable/disable filters according to your style.
Wait for a Buy/Sell alert.
Confirm visually that all desired conditions align.
Place trade with calculated lot size, SL, and TP levels shown on chart.
Let trade run – the indicator manages Break Even & Partial Close if enabled.
9. Recommended Timeframes
Scalping: 1m, 5m, 15m
Day Trading: 15m, 30m, 1H
Swing: 4H, Daily (adjust settings accordingly)
RSI Custom ADX VWAP Swing SignalsRSI Custom ADX VWAP Swing Signals
This Pine Script indicator is designed for the NASDAQ 1-minute timeframe (or any timeframe you use) and combines several technical analysis tools:
RSI (Relative Strength Index): Measures momentum, indicating overbought and oversold conditions.
Custom ADX (Average Directional Index): Quantifies the strength of a trend, regardless of direction.
VWAP (Volume-Weighted Average Price): Represents the average price weighted by volume, indicating central price tendency.
Swing High/Low Detection: Identifies recent high and low points to detect breakout signals.
How it works:
RSI Calculation:
Uses a length of 14 (or your input) to assess whether market momentum is overbought (>60) or oversold (<30).
Custom ADX Calculation:
Computes plusDM and minusDM based on recent high/low price changes.
Smooths these using Wilder’s method (ta.rma) to obtain directional movement.
Derives the ADX value (sig), representing the trend strength.
VWAP Calculation:
Uses the typical price (hlc3) to compute the VWAP, a key level indicating average trading price weighted by
TFO + ADX with Histogram & SignalTrend Flow Oscillator (TFO + ADX) – Histogram + Signal
This version of the original TFO+ADX introduces a MACD-style histogram and signal line overlay for clearer momentum and trend visualization.
The Trend Flow Oscillator (TFO+ADX) blends two powerful volume-based tools — the Money Flow Index (MFI) and Chaikin Money Flow (CMF) — along with a normalized Average Directional Index (ADX). The result is a comprehensive momentum and trend strength tool that offers a more precise read on when markets are gaining or losing conviction.
⸻
How It Works
1.Money Flow Index (MFI)
• Measures volume-weighted buying/selling pressure using price and volume.
• Scaled between –1 and +1 for visual clarity.
2.Chaikin Money Flow (CMF)
• Evaluates volume distribution over time — institutional buying (accumulation) or selling (distribution).
• Also scaled between –1 and +1.
3.TFO Composite Line
• Combines MFI and CMF into a single flow reading.
• A signal line (EMA) tracks the trend of this flow.
• A histogram plots the difference between the TFO and its signal, giving clear signals on shifts in momentum.
4.Normalized ADX Overlay
• Shows trend strength on the same scale (–1 to +1).
• ADX > 0 indicates strong trending conditions.
• ADX < 0 signals weak or consolidating conditions.
⸻
Visual Interpretation
1. Histogram Bars
• Green: TFO is above the signal line → bullish momentum accelerating
• Red: TFO is below the signal line → bearish momentum building
• Bar height represents the strength of the momentum shift
2. Signal Line
• Tracks the smoothed trend of the TFO composite
• Histogram crossing above or below zero reflects momentum crossover and can act as entry or exit signals
3. TFO Raw Line (Optional)
• Still available for reference alongside the histogram
• Shows the unsmoothed blended money flow direction (MFI + CMF)
4. Extreme Zones
• Background shading appears when TFO exceeds ±1.0
• Helps highlight areas of stretched or unsustainable momentum, useful for spotting potential reversals or exhaustion
RSI SMA 7 Signal Strategy (No 50 Level)Script uses SMA 7 Perio and 14 Period RSI
If SMA crosses 40 RSI level from below consider it a buy zone or buy signal, if SMA crosses from below 60 RSI level, then super bullish, IF SMA crosses 60 RSI level from above its a profit taking time and Sell zone, if SMA crosses 40 level from above then super bearish sell signal.
MJBFX VWAP WITH SIGNALSThe MJBFX VWAP Channel is a custom-built volume-weighted average price indicator designed around the MJBFX trading methodology.
This tool tracks multiple rolling VWAPs anchored to a user-defined timeframe (default: 1H), then calculates percentile levels (Max, Upper, Median, Lower, Min) to create a dynamic channel. These levels act as key support and resistance zones that adapt to market conditions.
🔶 Features:
Adjustable anchor period and VWAP count (up to 500 VWAPs)
Percentile-based VWAP levels (Max, Upper, Median, Lower, Min)
Customisable colours, widths, and line styles
Optional gradient channel fills
Anchor period highlights for session awareness
MJBFX Branded Signals:
🟠 Buy – Triggered when price crosses above the lower VWAP (MJBFX Orange)
⚪ Sell – Triggered when price crosses below the upper VWAP (MJBFX Grey)
Built-in alert conditions for automated trade notifications
🔶 How to Use:
The VWAP channel provides a dynamic structure for intraday trading.
Buy opportunities often occur when price sweeps below the lower band and reclaims it.
Sell opportunities often occur when price sweeps above the upper band and rejects.
Use in confluence with market structure, session timing, and your trading plan (e.g., MJB-FX Asian Sweep strategy).
Twin Range Filter – Buy/Sell SignalsThe Twin Range Filter is a trend-following indicator that combines two adaptive volatility filters to identify potential market reversals and trend continuations. It uses two configurable smoothing periods (fast and slow) to calculate a dynamic range around price, filtering out market noise and highlighting meaningful shifts in direction.
This indicator plots BUY and SELL signals based on price action in relation to the range filter, as well as internal trend conditions.
✅ How It Works:
Long Signal (BUY) is triggered when:
Price is above the filtered range (showing strength), and
Short-term upward momentum is confirmed.
Short Signal (SELL) is triggered when:
Price is below the filtered range (showing weakness), and
Short-term downward momentum is confirmed.
The signals are highlighted using green "Long" and red "Short" labels on the chart.
Background colors reinforce the current directional bias.
🔔 Alerts:
Long Signal – A new BUY condition has been detected.
Short Signal – A new SELL condition has been detected.
📌 Use Cases:
Entry timing for swing or intraday trades
Trend confirmation filter
Signal generator in automated strategies (when paired with a strategy script)
Day‑trade Long/Short Signalsday trade Long\Short signals idskator
Displays EMA 5, 8, and 13 to track the trend.
Signals LONG when EMA5 crosses above EMA8 and the MACD line is above the signal line.
Signals SHORT when EMA5 crosses below EMA8 and the MACD line is below the signal line.
Reversal Signal avec TICK + RSIThis indicator is a potential reversal indicator for SCALPING, don't use it for swing. It's base on TICK and on an overbrought/oversold condition of the RSI. You can play with the setting, typicaly I like my TICK to be over reacting an 800/-800 and my rsi over 20 and 80, but it give not enough signal. So I set the TICK signal at 651/-651 and the RSI at 25/75. This indicator is made for SP500 and Nasdaq, so SPY/QQQ/SPX/ES/NQ should work well. It's the first version of it, so maybe I'll add so more data to it to increase signal and lower false one. For now I've test it on live market yet(26/7/25).
The RSI is Fast(5 period), I like to use it on the 1 or 5 min chart.
Please not that it only work during 9h30am to 4pm EST.(Because of the TICK)
Feel free to try and even comment. Don't be harsh on me, it's my first try!
(Sorry for my 'english' it's not my first language)
FAUCON
Volume Breakout SignalsScript by Hanssome
The Volume Breakout Signals indicator is a trading tool designed to identify potential entry points by pinpointing high-momentum price breakouts on your main chart. It operates on a simple but powerful principle: a true breakout should be supported by a significant increase in trading volume.
The indicator plots two primary visual elements on your price chart:
Pivot Highs and Lows: These are marked with green and red circles and represent the most recent significant swing points in the price. They act as dynamic support and resistance levels, and the script watches for the price to break past them.
BUY and SELL Labels: These signals appear directly on the chart to indicate a potential trading opportunity.
A signal is only generated when two specific conditions are met simultaneously:
Price Breakout: A BUY signal requires the price to cross decisively above the most recent pivot high. A SELL signal requires the price to cross below the most recent pivot low.
Volume Confirmation: This price breakout must be accompanied by a recent spike in trading volume. This confirmation suggests strong momentum and conviction behind the move, increasing the probability of a successful breakout.
All the parameters, such as the sensitivity of the pivot points and the definition of a volume spike, can be adjusted in the indicator's settings to fit your specific trading style and the asset you are viewing.
Volatility-Adjusted Momentum Score (VAMS) [QuantAlgo]🟢 Overview
The Volatility-Adjusted Momentum Score (VAMS) measures price momentum relative to current volatility conditions, creating a normalized indicator that identifies significant directional moves while filtering out market noise. It divides annualized momentum by annualized volatility to produce scores that remain comparable across different market environments and asset classes.
The indicator displays a smoothed VAMS Z-Score line with adaptive standard deviation bands and an information table showing real-time metrics. This dual-purpose design enables traders and investors to identify strong trend continuation signals when momentum persistently exceeds normal levels, while also spotting potential mean reversion opportunities when readings reach statistical extremes.
🟢 How It Works
The indicator calculates annualized momentum using a simple moving average of logarithmic returns over a specified period, then measures annualized volatility through the standard deviation of those same returns over a longer timeframe. The raw VAMS score divides momentum by volatility, creating a risk-adjusted measure where high volatility reduces scores and low volatility amplifies them.
This raw VAMS value undergoes Z-Score normalization using rolling statistical parameters, converting absolute readings into standardized deviations that show how current conditions compare to recent history. The normalized Z-Score receives exponential moving average smoothing to create the final VAMS line, reducing false signals while preserving sensitivity to meaningful momentum changes.
The visualization includes dynamically calculated standard deviation bands that adjust to recent VAMS behavior, creating statistical reference zones. The information table provides real-time numerical values for VAMS Z-Score, underlying momentum percentages, and current volatility readings with trend indicators.
🟢 How to Use
1. VAMS Z-Score Bands and Signal Interpretation
Above Mean Line: Momentum exceeds historical averages adjusted for volatility, indicating bullish conditions suitable for trend following
Below Mean Line: Momentum falls below statistical norms, suggesting bearish conditions or downward pressure
Mean Line Crossovers: Primary transition signals between bullish and bearish momentum regimes
1 Standard Deviation Breaks: Strong momentum conditions indicating statistically significant directional moves worth following
2 Standard Deviation Extremes: Rare momentum readings that often signal either powerful breakouts or exhaustion points
2. Information Table and Market Context
Z-Score Values: Current VAMS reading displayed in standard deviations (σ), showing how far momentum deviates from its statistical norm
Momentum Percentage: Underlying annualized momentum displayed as percentage return, quantifying the directional strength
Volatility Context: Current annualized volatility levels help interpret whether VAMS readings occur in high or low volatility environments
Trend Indicators: Directional arrows and change values provide immediate feedback on momentum shifts and market transitions
3. Strategy Applications and Alert System
Trend Following: Use sustained readings beyond the mean line and 1σ band penetrations for directional trades, especially when VAMS maintains position in upper or lower statistical zones
Mean Reversion: Focus on 2σ extreme readings for contrarian opportunities, particularly effective in sideways markets where momentum tends to revert to statistical norms
Alert Notifications: Built-in alerts for mean crossovers (regime changes), 1σ breaks (strong signals), and 2σ touches (extreme conditions) help monitor multiple instruments for both continuation and reversal setups
Trend Flow Trail [AlgoAlpha]OVERVIEW
This script overlays a custom hybrid indicator called the Money Flow Trail which combines a volatility-based trend-following trail with a volume-weighted momentum oscillator. It’s built around two core components: the AlphaTrail—a dynamic band system influenced by Hull MA and volatility—and a smoothed Money Flow Index (MFI) that provides insights into buying or selling pressure. Together, these tools are used to color bars, generate potential reversal markers, and assist traders in identifying trend continuation or exhaustion phases in any market or timeframe.
CONCEPTS
The AlphaTrail calculates a volatility-adjusted channel around price using the Hull Moving Average as the base and an EMA of range as the spread. It adaptively shifts based on price interaction to capture trend reversals while avoiding whipsaws. The direction (bullish or bearish) determines both the band being tracked and how the trail locks in. The Money Flow Index (MFI) is derived from hlc3 and volume, measuring buying vs selling pressure, and is further smoothed with a short Hull MA to reduce noise while preserving structure. These two systems work in tandem: AlphaTrail governs directional context, while MFI refines the timing.
FEATURES
Dynamic AlphaTrail line with regime switching logic that controls directional bias and bar coloring.
Smoothed MFI with gradient coloring to visually communicate pressure and exhaustion levels.
Overbought/oversold thresholds (80/20), mid-level (50), and custom extreme zones (90/10) for deeper signal granularity.
Built-in take-profit signal logic: crossover of MFI into overbought with bullish AlphaTrail, or into oversold with bearish AlphaTrail.
Visual fills between price and AlphaTrail for clearer confirmation during trend phases.
Alerts for regime shifts, MFI crossovers, trail interactions, and bar color regime changes.
USAGE
Add the indicator to any chart. Use the AlphaTrail plot to define trend context: bullish (trailing below price) or bearish (trailing above). MFI values give supporting confirmation—favor long setups when MFI is rising and above 50 in a bullish regime, and shorts when MFI is falling and below 50 in a bearish regime. The colored fills help visually track strength; sharp changes in MFI crossing 80/20 or 90/10 zones often precede pullbacks or reversals. Use the plotted circles as optional take-profit signals when MFI and trend are extended. Adjust AlphaTrail length/multiplier and MFI smoothing to better match the asset’s volatility profile.
Adaptive Signal Oscillator (ASO)📘 Adaptive Signal Oscillator (ASO)
A fully dynamic, self-calibrating oscillator that adapts to any asset or timeframe by optimizing for real-time signal stability and volatility structure — without relying on static parameters or hardcoded thresholds.
🔍 Overview
The Adaptive Signal Oscillator (ASO) is a next-generation technical analysis tool designed to provide context-aware long/short signals across crypto, equities, or forex markets. Unlike traditional oscillators (RSI, Stochastics, MACD), ASO requires no manual tuning of lookback periods or overbought/oversold zones — it self-optimizes based on current market behavior.
🧠 How It Works
✅ 1. Dynamic Lookback Optimization
ASO evaluates a range of lookback lengths between user-defined minLen and maxLen. For each length, it calculates the standard deviation of returns and finds the one with the least volatility change (i.e., the most stable structure). This length is dynamically assigned as bestLen, recalculated on every bar.
✅ 2. Multi-Layer Signal Composition
Four independent signal layers are computed using bestLen:
RSI Layer: Measures relative price strength via a custom dynamic RSI.
Z-Score Layer: Standardized deviation of price from its mean.
Volatility Layer: Standard deviation of log or percent returns.
Price Position Layer: Current price percentile within the lookback window.
Each of these layers is transformed into a percentile score scaled to the range .
✅ 3. Volatility-Based Weighting
The standard deviation (volatility) of each signal layer is computed. Less volatile layers are weighted more heavily, ensuring the final composite signal prioritizes stable, consistent inputs.
Weights are normalized and combined to form a composite score, representing a dynamically blended, noise-weighted signal across the four layers.
✅ 4. Optional Adaptive Smoothing
A boolean toggle lets users apply smoothing to the final score. The smoothing window scales proportionally to bestLen, preserving adaptiveness even during trend transitions.
✅ 5. Percentile-Based Thresholding
Rather than using arbitrary fixed thresholds, ASO converts the composite score into a ranked percentile. Long/short signals are then generated based on user-defined percentile bands, adapting naturally to each asset’s behavior.
📈 Interpreting ASO
Score > Threshold → Strong long signal (highlighted in aqua).
Score < Threshold → Strong short signal (highlighted in fuchsia).
Crossing h_thresh (e.g., 0) → Neutral-to-bias change; useful for early trend cues.
The background and label update in real time to reflect the current regime and bestLen.
⚙️ Inputs
minLen, maxLen, step: Define the search range for optimal lookback length.
retMethod: Choose between log or percent return calculations.
threshHigh, threshLow: Define signal zones using percentiles.
smooth: Enable dynamic score smoothing.
h_thresh: Midline crossover zone for directional context.
⚠️ Disclaimer
This tool is designed for exploratory and educational purposes only. It does not offer financial advice or trading recommendations. Past performance is not indicative of future results.
Always consult a licensed financial advisor before making investment decisions.
Adaptive MACD Deluxe [AlgoAlpha]OVERVIEW
This script is an advanced rework of the classic MACD indicator, designed to be more adaptive, visually informative, and customizable. It enhances the original MACD formula using a dynamic feedback loop and a correlation-based weighting system that adjusts in real-time based on how deterministic recent price action is. The signal line is flexible, offering several smoothing types including Heiken Ashi, while the histogram is color-coded with gradients to help users visually identify momentum shifts. It also includes optional normalization by volatility, allowing MACD values to be interpreted as relative percentage moves, making the indicator more consistent across different assets and timeframes.
CONCEPTS
This version of MACD introduces a deterministic weight based on R-squared correlation with time, which modulates how fast or slow the MACD adapts to price changes. Higher correlation means smoother, slower MACD responses, and low correlation leads to quicker reaction. The momentum calculation blends traditional EMA math with feedback and damping components to create a smoother, less noisy series. Heiken Ashi is optionally used for signal smoothing to better visualize short-term trend bias. When normalization is enabled, the MACD is scaled by an EMA of the high-low range, converting it into a bounded, volatility-relative indicator. This makes extreme readings more meaningful across markets.
FEATURES
The script offers six distinct options for signal line smoothing: EMA, SMA, SMMA (RMA), WMA, VWMA, and a custom Heiken Ashi mode based on the MACD series. Each option provides a different response speed and smoothing behavior, allowing traders to match the indicator’s behavior to their strategy—whether it's faster reaction or reduced noise.
Normalization is another key feature. When enabled, MACD values are scaled by a volatility proxy, converting the indicator into a relative percentage. This helps standardize the MACD across different assets and timeframes, making overbought and oversold readings more consistent and easier to interpret.
Threshold zones can be customized using upper and lower boundaries, with inner zones for early warnings. These zones are highlighted on the chart with subtle background fills and directional arrows when MACD enters or exits key levels. This makes it easier to spot strong or weak reversals at a glance.
Lastly, the script includes multiple built-in alerts. Users can set alerts for MACD crossovers, histogram flips above or below zero, and MACD entries into strong or weak reversal zones. This allows for hands-free monitoring and quick decision-making without staring at the chart.
USAGE
To use this script, choose your preferred signal smoothing type, enable normalization if you want MACD values relative to volatility, and adjust the threshold zones to fit your asset or timeframe. Use the colored histogram to detect changes in momentum strength—brighter colors indicate rising strength, while faded colors imply weakening. Heiken Ashi mode smooths out noise and provides clearer signals, especially useful in choppy conditions. Use alert conditions for crossover and reversal detection, or monitor the arrow markers for entries into potential exhaustion zones. This setup works well for trend following, momentum trading, and reversal spotting across all market types.
BBS – Bond Breadth Signal"When bonds scream, breadth collapses, and fear spikes — BBS listens."
🧠 BBS – Bond Breadth Signal
A reversal timing tool built on macro conviction, not price noise.
The Bond Breadth Signal (BBS) was developed to identify major market inflection points by combining four key market stress indicators:
1) 10-Year Yield ROC – Measures sharp moves in the bond market
2) Z-Score of the 10Y – Captures statistical extremes
3) NSHF (Net Highs–Lows) – Signals internal market strength or weakness
4) TLT ROC + VIX – Confirmations of flight to safety and volatility-driven fear
When all conditions align, BBS marks either a For-Sure Buy or For-Sure Sell — these are rare, high-confidence signals designed to cut through noise and focus on true market dislocations.
🔧 Features:
-Background color and signal arrows on confirmation days
-Signals remain visually active for 3 days for added clarity
-Fully adjustable thresholds and alert toggles
-Plot panel for yield, TLT, NSHF, VIX, and Z-score visuals
This tool isn’t designed to fire every day. It’s meant to wait for those moments when the market truly bends — not just wiggles.
Best used on major indices (SPY, QQQ, IWM) to assess macro turning points.
Consolidation Range with Signals (Zeiierman)█ Overview
Consolidation Range with Signals (Zeiierman) is a precision tool for identifying and trading market consolidation zones, where price contracts into tight ranges before significant movement. It provides dynamic range detection using either ADX-based trend strength or volatility compression metrics, and offers built-in take profit and stop loss signals based on breakout dynamics.
Whether you trade breakouts, range reversals, or trend continuation setups, this indicator visualizes the balance between supply and demand with clearly defined mid-bands, breakout zones, and momentum-sensitive TP/SL placements.
█ How It Works
⚪ Multi-Method Range Detection
ADX Mode
Uses the Average Directional Index (ADX) to detect low-trend-strength environments. When ADX is below your selected threshold, price is considered to be in consolidation.
Volatility Mode
This mode detects consolidation by identifying periods of volatility compression. It evaluates whether the following metrics are simultaneously below their respective historical rolling averages:
Standard Deviation
Variance
Average True Range (ATR)
⚪ Dynamic Range Band System
Once a range is confirmed, the system builds a dynamic band structure using a volatility-based filter and price-jump logic:
Middle Line (Trend Filter): Reacts to price imbalance using adaptive jump logic.
Upper & Lower Bands: Calculated by expanding from the middle line using a configurable multiplier.
This creates a clean, visual box that reflects current consolidation conditions and adapts as price fluctuates within or escapes the zone.
⚪ SL/TP Signal Engine
On detection of a breakout from the range, the indicator generates up to 3 Take Profit levels and one Stop Loss, based on the breakout direction:
All TP/SL levels are calculated using the filtered base range and multipliers.
Cooldown logic ensures signals are not spammed bar-to-bar.
Entries are visualized with colored lines and labeled levels.
This feature is ideal for traders who want automated risk and reward reference points for range breakout plays.
█ How to Use
⚪ Breakout Traders
Use the SL/TP signals when the price breaks above or below the range bands, especially after extended sideways movement. You can customize how far TP1, TP2, and TP3 sit from the entry using your own risk/reward profile.
⚪ Mean Reversion Traders
Use the bands to locate high-probability reversion zones. These serve as reference zones for scalping or fade entries within stable consolidation phases.
█ Settings
Range Detection Method – Choose between ADX or Volatility compression to define range criteria.
Range Period – Determines how many bars are used to compute trend/volatility.
Range Multiplier – Scales the width of the consolidation zone.
SL/TP System – Optional levels that project TP1/TP2/TP3 and SL from the base price using multipliers.
Cooldown – Prevents repeated SL/TP signals from triggering too frequently.
ADX Threshold & Smoothing – Adjusts sensitivity of trend strength detection.
StdDev / Variance / ATR Multipliers – Fine-tune compression detection logic.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Liquidity Sweep Candlestick Pattern with MA Filter📌 Liquidity Sweep Candlestick Pattern with MA Filter
This custom indicator detects liquidity sweep candlestick patterns—price action events where the market briefly breaks a previous candle’s high or low to trap traders—paired with optional filters such as moving averages, color change candles, and strictness rules for better signal accuracy.
🔍 What is a Liquidity Sweep?
A liquidity sweep occurs when the price briefly breaks the high or low of a previous candle and then reverses direction. These events often occur around key support/resistance zones and are used by institutional traders to trap retail positions before moving the price in the intended direction.
🟢 Bullish Liquidity Sweep Criteria
The current candle is bullish (closes above its open).
The low of the current candle breaks the low of the previous candle.
The candle closes above the previous candle’s open.
Optionally, in Strict mode, it must also close above the previous candle’s high.
Optionally, it can be filtered to only show if the candle changed color from the previous one (e.g., red to green).
Can be filtered to only show when the price is above or below a moving average (if MA filter is enabled).
🔴 Bearish Liquidity Sweep Criteria
The current candle is bearish (closes below its open).
The high of the current candle breaks the high of the previous candle.
The candle closes below the previous candle’s open.
Optionally, in Strict mode, it must also close below the previous candle’s low.
Optionally, it can be filtered to only show if the candle changed color from the previous one (e.g., green to red).
Can be filtered to only show when the price is above or below a moving average (if MA filter is enabled).
⚙️ Features & Customization
✅ Signal Strictness
Choose between:
Less Strict (default): Basic wick break and close conditions.
Strict: Must close beyond the wick of the previous candle.
✅ Color Change Candles Only
Enable this to only show patterns when the candle color changes (e.g., from red to green or green to red). Helps filter fake-outs.
✅ Moving Average Filter (optional)
Supports several types of MAs: SMA, EMA, WMA, VWMA, RMA, HMA
Choose whether signals should only appear above or below the selected moving average.
✅ Custom Visuals
Show short (BS) or full (Bull Sweep / Bear Sweep) labels
Plot triangles or arrows to represent bullish and bearish sweeps
Customize label and shape colors
Optionally show/hide the moving average line
✅ Alerts
Includes alert options for:
Bullish sweep
Bearish sweep
Any sweep
📈 How to Use
Add the indicator to your chart.
Configure the strictness, color change, or MA filters based on your strategy.
Observe signals where price is likely to reverse after taking out liquidity.
Use with key support/resistance levels, order blocks, or volume zones for confluence.
⚠️ Note
This tool is for educational and strategy-building purposes. Always confirm signals with other indicators, context, and sound risk management.
Bullish Bearish Signal with EMA Color + LabelsThis script generates clear BUY and SELL signals based on a combination of trend direction, momentum, and confirmation from multiple indicators. It is intended to help traders identify strong bullish or bearish conditions using commonly trusted tools: EMA 200, MACD, and RSI.
🔍 How it works:
The strategy combines three key elements:
EMA 200 Trend Filter
Identifies the long-term trend:
Price above EMA200 → Bullish trend bias
Price below EMA200 → Bearish trend bias
The EMA line is color-coded:
🔵 Blue for bullish
🔴 Red for bearish
⚪ Gray for neutral/unclear
MACD Crossover
Detects shifts in market momentum:
Bullish: MACD line crosses above signal line
Bearish: MACD line crosses below signal line
RSI Confirmation
Adds an extra layer of confirmation:
Bullish: RSI is above its signal line
Bearish: RSI is below its signal line
✅ Signal Logic:
BUY Signal appears when:
Price > EMA200
MACD crosses up
RSI > its signal line
SELL Signal appears when:
Price < EMA200
MACD crosses down
RSI < its signal line
Labels will appear on the chart to highlight these events.
🔔 Alerts:
The script includes alerts for both Buy and Sell conditions, so you can be notified in real-time when they occur.
📈 How to Use:
Best used in trending markets.
Recommended for higher timeframes (1H and above).
May be combined with other tools such as support/resistance or candlestick analysis.
⚠️ Disclaimer: This script is intended for educational purposes only and does not constitute financial advice or a trading recommendation.
Precision Entry Signals (RSI + MA12 Logic)Description:
This script provides precise entry signals based on a clean confluence of MA12 breakouts and RSI momentum, filtered by a VWMA (Volume-Weighted Moving Average) of the RSI.
-----------------------------------------------------------------------------------------------------------------
🔹 Long entry conditions:
- Candle opens below the 12-period MA and closes above it
- RSI crosses above its VWMA
- Previous candle is bearish (additional confirmation)
🔹 Short entry conditions:
- Candle opens above the 12-period MA and closes below it
- RSI crosses below its VWMA
- Previous candle is bullish
----------------------------------------------------------------------------------------------------------------
Once a signal is confirmed, the script automatically draws:
Entry line (at close price)
Stop Loss line (just below recent lows for long, or above highs for short)
Take Profit 1 (1R)
Take Profit 2 (2R)
Labels are attached to the lines for clarity: ENTRY, SL, TP1, and TP2.
⚠️ Note: This tool only provides entry signals and visual risk/reward guidance. It does not manage exits dynamically. Manual trade management is recommended.
This script is intended for active intraday traders, especially on lower timeframes like 3-minute, 5-minute or 15-minute charts.
---------------------------------------------------------------------------------------------------------------
🔧 Recommended companion indicator:
For better confirmation and visual tracking of the RSI/VWMA cross logic, it is strongly recommended to also use the companion script:
🔹 Relative Strength Index (with MA based cross signals)
→ Shows RSI and its moving average visually, with triangle plots on every valid cross.
→ Matches exactly the RSI/VWMA behavior used in this entry signal script.
📌 Important:
After adding the RSI script to your chart, make sure to set:
RSI Length = 14
MA Type = VWMA
MA Length = 20
This ensures it visually matches the logic used by the entry signal script.
Both indicators are fully open source and meant to be used together — especially when trading manually.