Uber Baseline V2 - NNFX Edition [UTS]Uber Baseline V2 – NNFX Edition
Uber Baseline V2 – NNFX Edition is a highly customizable baseline component designed for seamless integration into any trading system. Tailored specifically for the No Nonsense Forex (NNFX) methodology, it serves as a powerful trend filter—helping traders stay aligned with the dominant market direction while avoiding low-probability trades during consolidation.
Choose from 26 high-quality moving averages to find the perfect-fitting baseline for your trading style. Whether you're trend-following or building a complete NNFX stack, this tool adapts to your strategy with precision and clarity.
Usage
🧭 Baseline as Trend Filter
Direction: Trade only in the direction of the baseline. A long entry is only valid if the price closes above the baseline; a short entry only if it closes below.
As VP explains, the baseline “is making sure you are getting into trades that are trending, keeping you out of trades that aren’t trending” and signals exits when trends fail.
📈 Entry Rule (Baseline Cross + ATR)
Baseline Cross: An entry occurs only when price crosses and closes on the opposite side of the baseline.
ATR Zone: The close must lie within a ±1×ATR band around the baseline. In other words, price must close within “the 1 ATR zone of the baseline”.
Confirmations: All primary/secondary confirmation indicators and volume must agree with the move.
“An entry should occur when price crosses the baseline and the price is within the 1 ATR zone of the baseline and all of your indicators agreeing.”
🔁 Beyond-ATR & Pullback Rule
No Immediate Entry: If a baseline signal occurs while price is outside the ±1×ATR band, do not enter immediately. Treat this as a pullback scenario.
Wait for Retrace:
“WATCH for next candle” – enter only when the next bar closes back within the 1×ATR band around the baseline.
If price had closed beyond 1×ATR, only enter when a subsequent candle closes within 1×ATR of the baseline, with all indicators still aligned.
“If Price closes within 1×ATR of Baseline you can enter trade.”
⏳ One-Candle Rule
Filter Lag: If the primary confirmation (C1) fires but the secondary or volume indicators have not yet signaled, you may delay entry by one bar.
Second Chance Entry:
“You can wait one more candle after and enter if your secondary indicator and/or volume indicator have caught up and are giving you a signal.”
This delay is allowed only once per signal and all conditions must be met on the second candle.
Moving Averages
Trend-determining method offers 26 high quality Moving averages to choose.
"SMA", Simple Moving Average, R. H. Hooker, 1901
"EMA", Exponential Moving Average, P. N. Haurlan, early 1960s
"MDMA", McGinley Dynamic MA, John R. McGinley, 1990s
"DSEMA", Double Smoothed EMA, William Blau, year unknown
"DEMA", Double EMA, Patrick G. Mulloy, 1994
"TEMA", Triple EMA, Patrick G. Mulloy, 1994
"WMA", Weighted MA, Author and year unknown
"PWMA", Parabolic Weighted MA, Author and year unknown
"VWMA", Volume Weighted MA, Author and year unknown
"HULL", Hull MA, Alan Hull, 2005, year unknown
"TMA", Triangular MA, Author and year unknown
"B2P", Two Pole Ehlers Butterworth, John F. Ehlers, 2004
"S2P", Two Pole Ehlers Smoother, John F. Ehlers, year unknown
"S3P", Three Pole Ehlers Smoother, John F. Ehlers, year unknown
"SINE", Sine Weighted MA, Author and year unknown
"LINREG", Linear Regression Value (LSMA), Author and year unknown
"ILINREG", Integral of Linear Regression Slope, Author and year unknown
"NLMA", Non Lag MA, Author and year unknown
"ZLMA", Zero Lag MA, Author and year unknown
"SMOOTHER", Smoother, Author and year unknown
"SSM", Super Smoother, John F. Ehlers, year unknown
"ALMA", Arnaud Legoux MA, Arnaud Legoux, year unknown
"KAMA", Kaufman Adaptive MA, Perry J. Kaufman, 1998
"FRAMA", Fractal MA, John F. Ehlers, year unknown
"RMA", Running MA, J. Welles Wilder Jr., 1978
"JMA", Jurik Moving Average, Mark Jurik, year unknown
Signals
The indicator displays buy/sell signals, Beyond-ATR signals, and recommends when a pullback entry is possible.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
Alerts
Each chart signal can trigger an alert with the same name. To avoid multiple alerts being triggered within a single candle, it is recommended to wait for the candle to close and use the 'On Bar Close' setting.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
About
Name: Uber Baseline V2 - NNFX Edition
Created: 2025/05/09
PineScript: v6
Moving Averages
Uber Baseline V2 - Lite: NNFX Edition [UTS]Uber Baseline V2 – NNFX Edition
Uber Baseline V2 – NNFX Edition is a highly customizable baseline component designed for seamless integration into any trading system. Tailored specifically for the No Nonsense Forex (NNFX) methodology, it serves as a powerful trend filter—helping traders stay aligned with the dominant market direction while avoiding low-probability trades during consolidation.
Choose from 26 high-quality moving averages to find the perfect-fitting baseline for your trading style. Whether you're trend-following or building a complete NNFX stack, this tool adapts to your strategy with precision and clarity.
Usage
🧭 Baseline as Trend Filter
Direction: Trade only in the direction of the baseline. A long entry is only valid if the price closes above the baseline; a short entry only if it closes below.
As VP explains, the baseline “is making sure you are getting into trades that are trending, keeping you out of trades that aren’t trending” and signals exits when trends fail.
📈 Entry Rule (Baseline Cross + ATR)
Baseline Cross: An entry occurs only when price crosses and closes on the opposite side of the baseline.
ATR Zone: The close must lie within a ±1×ATR band around the baseline. In other words, price must close within “the 1 ATR zone of the baseline”.
Confirmations: All primary/secondary confirmation indicators and volume must agree with the move.
“An entry should occur when price crosses the baseline and the price is within the 1 ATR zone of the baseline and all of your indicators agreeing.”
🔁 Beyond-ATR & Pullback Rule
No Immediate Entry: If a baseline signal occurs while price is outside the ±1×ATR band, do not enter immediately. Treat this as a pullback scenario.
Wait for Retrace:
“WATCH for next candle” – enter only when the next bar closes back within the 1×ATR band around the baseline.
If price had closed beyond 1×ATR, only enter when a subsequent candle closes within 1×ATR of the baseline, with all indicators still aligned.
“If Price closes within 1×ATR of Baseline you can enter trade.”
⏳ One-Candle Rule
Filter Lag: If the primary confirmation (C1) fires but the secondary or volume indicators have not yet signaled, you may delay entry by one bar.
Second Chance Entry:
“You can wait one more candle after and enter if your secondary indicator and/or volume indicator have caught up and are giving you a signal.”
This delay is allowed only once per signal and all conditions must be met on the second candle.
Moving Averages
Trend-determining method offers 26 high quality Moving averages to choose.
"SMA", Simple Moving Average, R. H. Hooker, 1901
"EMA", Exponential Moving Average, P. N. Haurlan, early 1960s
"MDMA", McGinley Dynamic MA, John R. McGinley, 1990s
"DSEMA", Double Smoothed EMA, William Blau, year unknown
"DEMA", Double EMA, Patrick G. Mulloy, 1994
"TEMA", Triple EMA, Patrick G. Mulloy, 1994
"WMA", Weighted MA, Author and year unknown
"PWMA", Parabolic Weighted MA, Author and year unknown
"VWMA", Volume Weighted MA, Author and year unknown
"HULL", Hull MA, Alan Hull, 2005, year unknown
"TMA", Triangular MA, Author and year unknown
"B2P", Two Pole Ehlers Butterworth, John F. Ehlers, 2004
"S2P", Two Pole Ehlers Smoother, John F. Ehlers, year unknown
"S3P", Three Pole Ehlers Smoother, John F. Ehlers, year unknown
"SINE", Sine Weighted MA, Author and year unknown
"LINREG", Linear Regression Value (LSMA), Author and year unknown
"ILINREG", Integral of Linear Regression Slope, Author and year unknown
"NLMA", Non Lag MA, Author and year unknown
"ZLMA", Zero Lag MA, Author and year unknown
"SMOOTHER", Smoother, Author and year unknown
"SSM", Super Smoother, John F. Ehlers, year unknown
"ALMA", Arnaud Legoux MA, Arnaud Legoux, year unknown
"KAMA", Kaufman Adaptive MA, Perry J. Kaufman, 1998
"FRAMA", Fractal MA, John F. Ehlers, year unknown
"RMA", Running MA, J. Welles Wilder Jr., 1978
"JMA", Jurik Moving Average, Mark Jurik, year unknown
Signals
The indicator displays buy/sell signals, Beyond-ATR signals, and recommends when a pullback entry is possible.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
Alerts
Each chart signal can trigger an alert with the same name. To avoid multiple alerts being triggered within a single candle, it is recommended to wait for the candle to close and use the 'On Bar Close' setting.
Long Signal
Short Signal
Beyond-ATR: Long Signal
Beyond-ATR: Short Signal
Pullback Possible: Long Signal
Pullback Possible: Short Signal
Lite Version Constraints
The 'Lite' version keeps things easy, focused on forex and EUR/USD.
About
Name: Uber Baseline V2 – Lite: NNFX Edition
Created: 2025/05/09
PineScript: v6
TLCproTLCpro Trading Strategy
Description
TLCpro is a multi-timeframe trend-following strategy that combines EMA crossovers, MACD filtering, RSI confirmation, and VWAP/Trend EMA as dynamic support/resistance levels. The strategy is optimized for 1-hour (1H) and 4-hour (4H) timeframes, ensuring adaptability to different market conditions.
Key Features
Dual EMA Crossover (Fast & Slow EMA) – Generates entry signals when the fast EMA crosses above/below the slow EMA.
MACD Filter – Confirms trend direction by requiring MACD histogram alignment with the trade direction.
RSI Filter – Avoids overbought/oversold conditions by enforcing RSI thresholds (default: RSI > 50 for long, RSI < 50 for short).
Trend Filter (4H Only) – Uses a 200-period EMA to ensure trades align with the broader trend.
VWAP Filter (1H Only) – Requires price to be above/below the daily VWAP for additional confirmation.
Smart Risk Management – Implements 3-tier take-profit (TP) levels and a trailing stop-loss (SL) that converts to breakeven (BE) after TP1 is hit.
How It Works
Entry Conditions
Long Entry:
Fast EMA (15) crosses above Slow EMA (30).
MACD histogram is positive.
RSI > 50 (configurable).
On 1H: Price above daily VWAP.
On 4H: Price above 200-period Trend EMA.
Short Entry:
Fast EMA (15) crosses below Slow EMA (30).
MACD histogram is negative.
RSI < 50 (configurable).
On 1H: Price below daily VWAP.
On 4H: Price below 200-period Trend EMA.
Exit & Risk Management
3 Take-Profit Levels (TP1, TP2, TP3) – Closes portions of the trade at predefined profit levels (default: 3%, 6%, 10%).
Dynamic Stop-Loss (SL) & Breakeven (BE) Logic:
Initial SL: Fixed at 3% from entry.
After TP1 is hit: SL moves to breakeven (entry price).
After TP2 is hit: SL moves to TP1 level, locking in partial profits.
Visual SL/TP Lines – Drawn on the chart for easy tracking.
Why TLCpro is Unique & Worth Using
Multi-Timeframe Adaptability: Uses different filters (VWAP for 1H, Trend EMA for 4H) to improve signal quality.
Smart Risk Management: Unlike static SL/TP strategies, TLCpro trails stops to lock in profits while minimizing risk.
High-Confirmation Filters: Combines EMA, MACD, RSI, and Trend/VWAP to reduce false signals.
Visual Clarity: Clearly marks SL, TP, and BE levels on the chart for intuitive trade management.
Backtesting & Risk Considerations
Realistic Risk per Trade: Default stop-loss is 3%, ensuring sustainable risk management.
Partial Profit-Taking: Exits 25% at TP1, 25% at TP2, and 50% at TP3, balancing risk and reward.
Commission & Slippage: Should be accounted for in live trading (adjust in strategy settings).
Recommended Capital: Works well with $1,000+ accounts due to percentage-based position sizing.
How to Use
Apply to 1H or 4H charts (optimized for these timeframes).
Default settings work well, but adjust EMA lengths, RSI thresholds, and TP/SL levels based on volatility.
Monitor SL/TP lines – The strategy auto-updates them as price moves.
Avoid over-optimization – Test on multiple instruments before live trading.
Final Notes
TLCpro is designed for swing traders and trend followers who want a systematic, rules-based approach with clear risk management. By combining multiple confirmation filters and dynamic stop adjustments, it aims to improve consistency in trending markets.
EMA Cloud with Custom MAs and RSI [deepakks444]This all-in-one technical analysis tool merges an EMA Cloud, customizable dual moving averages (MA1 & MA2), and an advanced RSI oscillator with divergence detection, smoothing, and alerts.
Designed for traders who rely on trend direction, momentum, and reversal confluence, this indicator helps filter high-probability setups and reduces the need to juggle multiple indicators on the chart.
🔍 Components and Features
🔸 1. EMA Cloud (Trend Filter)
A lightweight 3-period EMA manually calculated using exponential smoothing.
Two EMAs: One tracking highs and one tracking lows.
Creates a "cloud" between them to visually represent short-term trend direction.
Cloud color logic:
🟢 Green: Price is bullish, staying above the EMA cloud.
🔴 Red: Price is bearish, below the EMA cloud.
🟡 Yellow: Price is indecisive or in consolidation.
Why it's useful:
The EMA Cloud helps identify the immediate short-term bias of the market. It quickly reacts to price and gives a clear visual guide for trend-following or pullback trades.
🔸 2. Custom Moving Averages (MA1 & MA2)
Both MA1 and MA2 are user-configurable in type, length, and price source.
Supported types include:
SMA, EMA, WMA, HMA, RMA, VWMA.
Color logic:
🟩 Green: MA1 is below MA2 (bullish alignment).
🟥 Red: MA1 is above MA2 (bearish alignment).
Why include this?
MA crossovers are a classic way to determine medium/long-term trend shifts or confirm trend continuation. The flexibility allows users to tailor them to suit any strategy—from mean reversion to trend-following.
🔸 3. RSI Oscillator with Enhancements
This is more than a basic RSI—it's been expanded to become a momentum engine and divergence detector, complete with alerting and smoothing options.
Main features:
✅ Customizable RSI Source & Length
✅ Colored RSI Zones:
RSI > 60 → Overbought strength zone (green background).
RSI < 40 → Oversold weakness zone (red background).
Neutral background in between.
✅ Smoothing Options:
Apply additional MA smoothing to RSI: SMA, EMA, WMA, RMA, VWMA, or even SMA + Bollinger Bands.
Visualizes volatility around RSI for breakout/reversal analysis.
✅ RSI Alerts:
Alert when RSI crosses above 60 → potential bullish momentum.
Alert when RSI crosses below 40 → potential bearish momentum.
✅ Divergence Detection (Optional):
Bullish Divergence: Price makes lower low while RSI makes higher low → Possible reversal up.
Bearish Divergence: Price makes higher high while RSI makes lower high → Possible reversal down.
Marks divergence using “Bull” and “Bear” labels directly on the RSI pane.
Why enhance RSI?
The RSI is a cornerstone of momentum trading. By adding zone shading, volatility overlays, and divergence detection, traders can better assess:
Whether a trend is strong or weakening.
Whether to enter on continuation or wait for reversal.
Spot early signs of price turning points using divergence patterns.
🤝 Why Merge These Three Systems?
Combining EMA Cloud + MAs + RSI in a single tool allows traders to:
Avoid conflicting signals by seeing multiple confirmations in one view.
Reduce chart clutter by replacing multiple indicators with one efficient visual system.
Get trend, momentum, and reversal analysis all-in-one:
EMA Cloud = short-term trend.
MA1/MA2 = medium-term trend & crossover confirmation.
RSI = momentum extremes, breakout confirmation, or divergence reversal zones.
🔔 Built-in Alerts
RSI crosses above 60 → Potential buy signal.
RSI crosses below 40 → Potential sell signal.
These alerts can be used to automate notifications, integrate with webhook systems, or trigger manual reviews.
⚠️ Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice, and past performance is not indicative of future results. Always use proper risk management and verify signals with your own analysis before trading.
Range + VWAP + Gann Levels + ZL AMA + Gann Square Num# Multi-Strategy Market Analysis Indicator
## Overview
This comprehensive indicator combines several powerful technical analysis tools to help traders identify potential price movements, market trends, and key support/resistance levels. By integrating price range prediction, volume-weighted averages, adaptive moving averages, and Gann-based mathematical levels, this indicator provides a complete toolkit for market analysis.
## Components & How They Work
### 1. Range Calculator
**What it does:** Calculates the expected price range based on current volatility, useful for predicting potential price movements during a specific time period.
**How it works:**
- Uses the current price level and VIX (Volatility Index) to estimate how far the price might move in a given number of days
- Applies the square root of time principle (volatility grows with the square root of time)
- Displays upper and lower bounds of the expected price range
- Shows the calculation details in a convenient table
**How to use it:**
- Enter the current price level, VIX value, and number of days
- red line indicates potential resistance
- green line indicates potential support
- Useful for options trading, setting stop-loss levels, or preparing for upcoming market events
### 2. Gann Square Numbers
**What it does:** Identifies mathematically significant price levels based on square numbers.
**How it works:**
- Takes the square root of the current price
- Calculates the next 5 square numbers above the current price (upper levels)
- Calculates the 5 square numbers below the current price (lower levels)
- Draws these levels as horizontal lines on the chart
**How to use it:**
- Pink lines (upper levels) show potential resistance levels
- Blue lines (lower levels) show potential support levels
- These mathematical levels often coincide with significant market reactions
- Based on W.D. Gann's theory that price tends to respect mathematical square numbers
### 3. Zero Lag Adaptive Moving Average (AMA)
Bullish Scenario
Bearish Scenario
**What it does:** Provides a dynamic moving average that adapts to changing market conditions, reducing lag during trends while filtering noise during sideways markets.
**How it works:**
- Calculates an "Efficiency Ratio" that measures the directional movement relative to volatility
- Adjusts the smoothing factor based on market efficiency
- Uses a faster smoothing factor during trending markets and slower smoothing during sideways markets
- Background color changes to indicate the trend direction (green for uptrend, red for downtrend)
**How to use it:**
- When price is above the AMA line with green background: Strong uptrend
- When price is below the AMA line with red background: Strong downtrend
- Helpful for trend identification and potential entry/exit points
### 4. Gann Stepline Levels
**What it does:** Creates dynamic support and resistance levels based on multiple SMAs (Simple Moving Averages) of different lengths.
**How it works:**
- Calculates two key dynamic levels:
- Gann 50% Level: Average of 90 and 144-period SMAs
- Gann Level: Average of six different SMAs (90, 144, 180, 216, 240, 288)
- These levels adjust automatically as the market evolves
**How to use it:**
- Blue line (Gann 50% Level) acts as dynamic support in uptrends and resistance in downtrends
- Orange line (Gann Level) serves as a longer-term trend indicator
- Price interaction with these levels often indicates potential reversal or continuation points
### 5. Anchored VWAP (Volume-Weighted Average Price)
**What it does:** Shows the average price weighted by volume starting from a specific anchor point.
**How it works:**
- Calculates the average price weighted by volume from a chosen anchor period (Session, Day, Week, Month)
- Resets calculations at the beginning of each new period
- Shows where the current price is relative to the average trading price
**How to use it:**
- Price above VWAP: Bullish bias, buyers are in control
- Price below VWAP: Bearish bias, sellers are in control
- VWAP often acts as dynamic support/resistance level
- Institutional traders often use VWAP for order execution
## Key Benefits
- **Comprehensive Analysis:** Combines volatility-based, trend-following, volume-weighted, and mathematical approaches
- **Multi-timeframe Perspective:** Different components operate on various timeframes for a complete market view
- **Visual Clarity:** Color-coded lines and background help quickly identify market conditions
- **Customizable Components:** Range Calculator, VWAP, and Gann Square Numbers can be adjusted to fit your trading style
## How to Interpret When Used Together
- **Strong Trend Confirmation:** When AMA shows a trend and price respects the Gann Dynamic levels
- **Reversal Signals:** When price reaches the expected range bounds and encounters a Gann Square Number
- **High-Probability Zones:** Areas where multiple components show support/resistance at similar levels
- **Volatility Assessment:** Compare the expected range from the Range Calculator with the actual price movement
This indicator combines statistical, trend-following, and mathematical approaches to market analysis, providing traders with a well-rounded view of market conditions and potential price movements.
SuperTrade ST1 StrategyOverview
The SuperTrade ST1 Strategy is a long-only trend-following strategy that combines a Supertrend indicator with a 200-period EMA filter to isolate high-probability bullish trade setups. It is designed to operate in trending markets, using volatility-based exits with a strict 1:4 Risk-to-Reward (R:R) ratio, meaning that each trade targets a profit 4× the size of its predefined risk.
This strategy is ideal for traders looking to align with medium- to long-term trends, while maintaining disciplined risk control and minimal trade frequency.
How It Works
This strategy leverages three key components:
Supertrend Indicator
A trend-following indicator based on Average True Range (ATR).
Identifies bullish/bearish trend direction by plotting a trailing stop line that moves with price volatility.
200-period Exponential Moving Average (EMA) Filter
Trades are only taken when the price is above the EMA, ensuring participation only during confirmed uptrends.
Helps filter out counter-trend entries during market pullbacks or ranges.
ATR-Based Stop Loss and Take Profit
Each trade uses the ATR to calculate volatility-adjusted exit levels.
Stop Loss: 1× ATR below entry.
Take Profit: 4× ATR above entry (1:4 R:R).
This asymmetry ensures that even with a lower win rate, the strategy can remain profitable.
Entry Conditions
A long trade is triggered when:
Supertrend flips from bearish to bullish (trend reversal).
Price closes above the Supertrend line.
Price is above the 200 EMA (bullish market bias).
Exit Logic
Once a long position is entered:
Stop loss is set 1 ATR below entry.
Take profit is set 4 ATR above entry.
The strategy automatically exits the position on either target.
Backtest Settings
This strategy is configured for realistic backtesting, including:
$10,000 account size
2% equity risk per trade
0.1% commission
1 tick slippage
These settings aim to simulate real-world conditions and avoid overly optimistic results.
How to Use
Apply the script to any timeframe, though higher timeframes (1H, 4H, Daily) often yield more reliable signals.
Works best in clearly trending markets (especially in crypto, stocks, indices).
Can be paired with alerts for live trading or analysis.
Important Notes
This version is long-only by design. No short positions are executed.
Ideal for swing traders or position traders seeking asymmetric returns.
Users can modify the ATR period, Supertrend factor, or EMA filter length based on asset behavior.
MA Dispersion+MA Dispersion+ — read the “breathing space” between your moving-averages
Get instant feedback on trend strength, volatility expansion and mean-reversion — across any timeframe.
MA Dispersion+ turns the humble moving-average stack into a single, easy-to-read oscillator that tells you at a glance whether price is coiling or fanning out.
🧩 What it does
Plugs into your favourite MA setup
• Pick the classic 5 / 20 / 50 / 200 lengths or disable any combination with one click.
• Choose the MA engine you trust — SMA, EMA, RMA, VWMA or WMA.
• Works on any timeframe thanks to TradingView’s security() engine.
Measures “spread”
For every bar it calculates the absolute distance of each selected MA from their average.
The tighter the stack, the lower the value; the wider the fan, the higher the value.
Adds professional-grade controls
• Weighting — let short-term MAs dominate (Inverse Length), keep everything equal, or dial in your own custom weights.
• Normalisation — convert the raw distance into a percentage of price, ATR multiples, or scale by the MAs’ own mean so you can compare symbols of any price or volatility.
🔍 How traders use it
Trend confirmation – rising dispersion while price breaks out = momentum is genuine.
Volatility squeeze – dispersion parking near zero warns that a big move is loading.
Multi-TF outlook – drop one pane per timeframe (e.g. 5 m, 1 h, 1 D) and see which layer of the market is driving.
Mean-reversion plays – spikes that fade quickly often coincide with exhaustion and snap-backs.
⚙️ Quick-start
Add MA Dispersion+ to your chart.
Set the pane’s timeframe in the first input.
Tick the MA lengths you actually use.
(Optional) Pick a weighting scheme and a normaliser.
Repeat the indicator for as many timeframes as you like — each instance keeps its own settings.
✨ Why you’ll love it
Zero clutter – one orange line tells you what four separate MAs whisper.
Configurable yet bullet-proof – all lengths are hard-coded constants, so Pine never complains.
Context aware – normalisation lets you compare BTC’s $60 000 chaos with EURUSD’s four--decimals calm.
Lightweight – no labels, no drawings, no background processing — perfect for mobile and multi-pane layouts.
Give MA Dispersion+ a try and let your charts breathe — you’ll never look at moving-average ribbons the same way again.
Happy trading!
NeuroTrendNeuroTrend is an advanced, self-adjusting trend analysis system that continuously adapts to changing market conditions using volatility-aware smoothing, momentum weighting, and intelligent trend classification. It provides real-time trend detection, confidence scoring, early reversal warnings, and slope projection, all delivered through a coaching dashboard and structured rule-based commentary system.
At its core, NeuroTrend uses two EMAs whose smoothing lengths change automatically based on current volatility, measured by the ATR relative to price, and momentum bias, measured by RSI displacement from the neutral level. These adaptive EMAs create a flexible baseline that adjusts to the pace of the market. From these EMAs, the system calculates angular slope and derives a slope power score, which reflects directional momentum weighted by volatility.
NeuroTrend classifies each bar into one of five market phases: Impulse, Cooling, Reversal Risk, Stall, or Neutral. This classification is based on slope strength, slope variability, and RSI behavior. Each phase offers specific context for whether to enter, continue, or avoid a position.
The indicator uses what is referred to as a neural memory engine, which is inspired by the idea of memory but is not a neural network or machine learning model. Instead, it is a statistical recalibration system that adjusts thresholds using recent ATR conditions and slope standard deviation. This allows the indicator to remain aligned with the current market environment without the need for manual tuning.
Although NeuroTrend is fully adaptive, it includes inputs for the base fast and slow EMAs. These inputs define the central anchor points around which the adaptive logic operates. This gives the trader the ability to control the default behavior of the indicator while still benefiting from real-time responsiveness to volatility and momentum.
To assess the strength of a trend, NeuroTrend computes a confidence score based on four elements: DMI trend strength, directional bias from DI+ and DI–, slope normalization, and volatility efficiency measured by ATR in relation to EMA distance. This score is used to inform alerts, commentary, and dashboard visualization.
The indicator also includes a slope projection engine that estimates near-term direction based on slope change and acceleration. This projection is scaled and clamped using a dynamic volatility factor to prevent unrealistic or unstable values.
Reversal and stall detection are built in. Reversal detection is based on slope collapsing, sign flipping, and RSI weakness. Stall detection is triggered when slope magnitude is low, RSI is flat, and ATR is compressed. These filters help prevent entries in low-quality or high-risk environments.
The system also includes AI-style commentary. This feature is not powered by machine learning or natural language processing. It is rule-based, using prioritized conditions to generate clear statements that reflect the current market state. Messages such as "Strong trend forming" or "Reversal risk rising" are created by predefined logic that adapts to the market.
A visual dashboard is provided on the chart. It displays the current phase, trend direction, slope score, confidence level, reversal status, stall condition, and projected slope angle. This helps traders interpret market behavior at a glance without scanning multiple indicators.
Alerts are triggered only when specific conditions are met: trend strength must be in the impulse phase, confidence must be high, and there must be no active reversal or stall conditions. This ensures alerts are reserved for high-quality setups with strong directional alignment.
Disclaimer:
This script is intended for educational and informational use only. It does not constitute financial advice. The author accepts no responsibility for any trading or investment decisions made using this tool. Always do your own research and consult a licensed financial advisor before making financial decisions.
IBD Style Candles [tradeviZion]IBD Style Candles - Visualize Price Bars Like the Pros
Transform your chart with institutional-grade IBD-style bars and customizable moving averages for both daily and weekly timeframes. This indicator helps you visualize price action the way professionals at Investors Business Daily do.
What This Indicator Offers:
IBD-style bar visualization (clean, professional appearance)
Customizable coloring based on price movement or previous close
Automatic timeframe detection for appropriate moving averages
Four customizable moving averages for daily timeframes (10, 21, 50, 200)
Four customizable moving averages for weekly timeframes (10, 20, 30, 40)
Options to use SMAs or EMAs with adjustable colors and line widths
"The IBD-style bars provide a cleaner view of price action, allowing you to focus on market structure without the visual noise of traditional candles."
How to Apply the IBD-Style Bars:
On your TradingView chart, select "Bars" as the chart type from the main chart type selection menu (next to the time interval options).
Right-click on the chart and select "Settings".
Go to the "Symbol" tab.
Uncheck the "Thin Bars" option to display thicker bars.
Set the "Up Color" and "Down Color" opacity to 0 for a clean IBD-style appearance.
Enable "IBD-style Candles" from the script's settings.
To revert to the original chart style, repeat the above steps and restore the default settings.
Moving Average Configuration:
The indicator automatically detects your timeframe and displays the appropriate moving averages:
Daily Timeframe Moving Averages:
10-day moving average (SMA/EMA)
21-day moving average (SMA/EMA)
50-day moving average (SMA/EMA)
200-day moving average (SMA/EMA)
Weekly Timeframe Moving Averages:
10-week moving average (SMA/EMA)
20-week moving average (SMA/EMA)
30-week moving average (SMA/EMA)
40-week moving average (SMA/EMA)
Usage Tips:
Enable "Color bars based on previous close" to identify momentum shifts based on prior candle closes
Customize colors to match your chart theme or preference
Enable only the moving averages relevant to your trading strategy
For cleaner charts, reduce the number of visible moving averages
For stock trading, the 10/21/50/200 daily and 10/40 weekly MAs are most commonly used by institutions
// Example configuration for different timeframes
if timeframe.isweekly
// Weekly configuration
showSMA1_Weekly = true // 10-week MA
showSMA4_Weekly = true // 40-week MA
else
// Daily configuration
showMA2_Daily = true // 21-day MA
showMA3_Daily = true // 50-day MA
showMA4_Daily = true // 200-day MA
While the IBD style provides clarity, remember that no visualization method guarantees trading success. Always combine with proper analysis and risk management.
If you found this indicator helpful, please consider leaving a comment or suggestion for future improvements. Happy trading!
Zero Lag AMA# Zero Lag AMA Indicator
## Overview
The High Probability AMA Indicator is a sophisticated trend-following tool that adapts to market conditions by dynamically adjusting its smoothing factor based on market efficiency. Unlike standard moving averages with fixed parameters, this indicator becomes more responsive during trending markets and more stable during choppy, sideways markets.
### Adaptive Moving Average (AMA)
The AMA adjusts its sensitivity to price changes based on market conditions:
- In trending markets: The AMA closely follows price movements with minimal lag
- In ranging markets: The AMA filters out noise by smoothing price action
### Efficiency Ratio (ER)
The indicator measures market efficiency using the Efficiency Ratio:
ER = Direction / Volatility
Where:
- **Direction** is the absolute net change in price over a period (how far price has moved)
- **Volatility** is the sum of all absolute price changes over the same period (how much price has fluctuated)
The ER ranges between 0 and 1:
- Values close to 1 indicate a strong trend (efficient market movement)
- Values close to 0 indicate a choppy market (inefficient market movement)
### Variable Smoothing Constant
Based on the Efficiency Ratio, the indicator calculates a smoothing constant between two extremes:
- A fast smoothing constant for trending markets
- A slow smoothing constant for ranging markets
The formula is:
SC = ²
Where:
- FastSC = 2/(fastPeriod + 1)
- SlowSC = 2/(slowPeriod + 1)
## Key Features
### Dynamic Volatility Measurement
The indicator calculates price volatility using standard deviation over a customizable period, which helps contextualize price movements relative to recent market conditions.
### AMA Slope Analysis
The indicator tracks the AMA's slope (rate of change) to determine trend direction and strength, providing valuable context beyond just price position relative to the AMA line.
### Visual Trend Identification
The chart background changes color based on trend conditions:
- Green background indicates bullish conditions (price above AMA and positive slope)
- Red background indicates bearish conditions (price below AMA and negative slope)
## Parameters
### Essential Parameters
- **Fast Period (default: 9)**: Controls the most responsive the AMA can be during strong trends
- **Slow Period (default: 15)**: Controls how smooth the AMA becomes during choppy markets
- **Volatility Period (default: 14)**: Period for calculating price standard deviation
- **Efficiency Ratio Period (default: 20)**: Period for calculating the Efficiency Ratio
### Appearance Settings
- **AMA Line Color**: Customize the color of the Adaptive Moving Average line
## How to Use This Indicator
### Trend Identification
The primary use is identifying the current market trend:
- The AMA line direction indicates the overall trend
- Background colors provide quick visual confirmation of trend state
- Price position relative to the AMA line shows the current market bias
### Market Context
- Monitor the AMA slope to gauge trend strength
- Use volatility readings to assess market conditions
- Pay attention to how closely the AMA follows price - tight following indicates trending markets
### Optimal Trading Conditions
- Most reliable signals occur when price breaks and closes beyond the AMA line while the AMA slope confirms the direction
- The indicator performs best on higher timeframes (1H, 4H, Daily) for strategic positions
- Can also be effective on lower timeframes (5m,15m, 30m) when combined with other confirmation tools
## Best Practices
1. **Multiple Timeframe Analysis**: Confirm signals across different timeframes for higher probability setups
2. **Complementary Indicators**: Combine with:
- Volume indicators to confirm trend strength
- Oscillators for potential reversal points
- Support/resistance levels for entry and exit points
3. **Parameter Optimization**: Adjust parameters based on:
- The specific instrument being traded
- Your trading timeframe
- Current market volatility conditions
## Technical Implementation Details
The indicator uses a sophisticated calculation approach:
1. Calculates the Efficiency Ratio using price direction and volatility
2. Determines the appropriate smoothing constant based on market efficiency
3. Applies the smoothing constant to current and previous AMA values
4. Analyzes AMA slope and price position to determine market conditions
5. Provides visual feedback through line color and background shading
This implementation avoids the lag present in traditional moving averages while still filtering market noise, making it particularly valuable during transitions between trending and ranging market conditions.
ADR & ATR OverlayADR & ATR Overlay
This indicator will display the following as an overlay on your chart:
ADR
% of ADR
ADR % of Price
ATR
% of ATR
ATR % of Price
Description:
ADR : Average Day Range
% of ADR : Percentage that the current price move has covered its average.
ADR % of Price : The percentage move implied by the average range.
ATR : Average True Range
% of ATR : Percentage that the current price move has covered its average.
ATR % of Price : The percentage move implied by the average true range.
Options:
Time Frame
Length
Smoothing
Enable or Disable each value
Text Color
Background Color
How to use this indicator:
The ADR and ATR can be used to provide information about average price moves to help set targets, stop losses, entries and exits based on the potential average moves.
Example: If the "% of ADR" is reading 100%, then 100% of the asset's average price range has been covered, suggesting that an additional move beyond the range has a lower probability.
Example: "ADR % of Price" provides potential price movement in percentage which can be used to asses R/R for asset.
Example: ADR (D) reading is 100% at market close but ATR (D) is at 70% at close. This suggests that there is a potential move of 30% in Pre/Post market as suggested by averages.
Notes:
These indicators are available as oscillators to place under your chart through trading view but this indicator will place them on the chart in numerical only format.
Please feel free to modify this script if you like but please acknowledge me, I am only a hobby coder so this takes some time & effort.
Base Detector Pro [AletheiaTradeLab]This custom Trading View indicator combines William O’Neal “Base” patterns with several complementary tools—David Ryan’s ANT indicator, key pivot‐based price levels, index and earnings lines, relative strength (RS) line, and moving averages—to help you pinpoint base formations and validate whether each one merits a trade.
1. Bases (William O'Neal)
A “base” is simply a period of price consolidation following a significant run-up. During this phase, a stock moves mostly sideways within a defined trading range, forming clear support and resistance lines.
Key Criteria for a Valid Base
- Prior Uptrend
Before a base begins, the stock should already have a healthy advance—typically at least a 30% gain.
- Shapes of Bases
Bases can form in several distinct geometric patterns, each signaling a different kind of consolidation and potential breakout:
Flat Base
Shape : A horizontal rectangle bounded by nearly parallel support (bottom) and resistance (top) trendlines.
Minimum Length : 5 weeks
Maximum Length : 65 weeks
Depth : < 15%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
Cup Base
Shape : A smooth, rounded “U” curve.
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
Sauce Base
Shape : A very gradual, broad “U” curve, often taking more length than cup bases.
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
Cup with Handle Base
Shape : A “U”‐shaped cup followed by a smaller downward-sloping flag or channel (the handle).
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : High of the handle
i.ibb.co i.ibb.co
Saucer with Handle Base
Shape : Similar to cup with handle, but cup looks like the saucer base.
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : High of the handle
i.ibb.co
Ascending Base
Shape : An upward-sloping channel or wedge with 3 pullbacks. Each pullback low should be higher than the previous one. It needs around 20% increase from a base to the other.
Minimum Length : 8 weeks
Maximum Length : 16 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of third base
i.ibb.co i.ibb.co
Consolidation Base
Shape : Similar to flat base, but wider and fails to form any of the above bases.
Minimum Length : 8 weeks
Maximum Length : 16 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
- Base Stages
Once a stock has completed its initial 30% run-up and formed its first base, that pattern is labeled Stage 1.
After a breakout from Stage N, the stock must rally at least 20% above the Stage N pivot (the base’s resistance point). If it does, the next valid base becomes Stage N + 1.
When a breakout fails to advance at least 20% a base on base forms. This is considered an extension for the current base stage, and a letter is assigned after the stage number.
When a breakout fails and the price undercuts the low for the previous base, the base stages reset, and a rally of 30% will be needed to form a new stage 1 base.
Note that for IPO stocks, a 30% increase is not required to form the first base. As soon as it meets any of the shape of any of the available bases, it will be drawn.
- Base statistics
To help you determine how healthy is a base, some statistics are available when you hover on the small dot shown above the high-left side of each base.
i.ibb.co
Base : The specific pattern type (Flat, Cup, Sauce, etc.).
Stage : The stage number of the base (1, 2, 3 …) and, in parentheses, how many distinct bases have formed since the very first base (including base-on-base like 1a, 1b, etc.).
Pivot : The resistance level that defines the top of the base. A close above this price often signals a valid breakout and a potential entry point.
Length : The number of bars (days on a daily chart; weeks on a weekly chart) between the start of the base and the bar immediately before breakout. (The initial bar and the breakout bar themselves are not counted.)
Depth : How far, in percentage terms, the low of the base has fallen below its left-side high.
Prior Uptrend : The percent gain from the pivot of the previous base up to the start of the current base.
Blue/Red Count : The number of up days (Blue) and down days (Red) during the base where volume was above the 50-period moving average.
Price % : The percent change from the close at the end of the base to the close at the breakout bar.
Volume % : The percent difference between the volume on the breakout bar and the 50-period average volume at the end of the base.
2. ANT Indicator (David Ryan)
The ANT indicator, developed by David Ryan, is a momentum-based signal used to identify high-potential breakout candidates during a stock’s run-up phase. It complements the base patterns by flagging moments of unusually strong price and volume activity within an uptrend, helping confirm emerging strength before or during a base formation.
i.ibb.co
3. Key Price Levels (Pivots)
Plots recent pivot-based support and resistance levels.
i.ibb.co
4. Index Line Overlay
Overlays a chosen index (e.g. SPX) on the top portion of the chart to compare relative performance.
i.ibb.co
5. Relative Strength (RS) Line
Plots the price ratio of the symbol vs. an index (e.g. SPX) to identify outperformance.
i.ibb.co
6. Moving Averages (SMA & RS-MA)
Allows up to four simple (or exponential) moving averages on price (daily/weekly) and three on the RS line.
7. Earnings Line & EPS Change
Marks earnings events on daily/weekly charts and optionally plots YoY EPS change in a lower portion of the chart. The earnings line also shows a projection to estimated earnings. To maintain alignment with the price chart, the line and YoY EPS data are limited to the most recent 28 quarters on weekly charts and 8 quarters on daily charts. For analyzing older data, you can use the replay feature.
i.ibb.co
8. Bars
Since Trading View displays very thin bars when zoomed out, I added 2-pixel-wide vertical lines over the bars to make them easier to see.
9. Dark Theme
I added this for a quick workaround to adapt colors for dark theme. Enabling this overrides any custom settings. Uncheck to customize colors.
i.ibb.co
Dynamic Trade Signal Validator (DTSV)The Dynamic Trade Signal Validator (DTSV) is designed to filter false trade signals while generating reliable, frequent trade opportunities. False signals, which lead to unprofitable trades, often occur in choppy or low-momentum markets. The DTSV combines Hull Moving Average (HMA) crossovers, Average True Range (ATR) breakout confirmation, and MACD histogram momentum filtering to ensure signals align with trend, volatility, and momentum, making it ideal for day trading or swing trading across assets like stocks, forex, or cryptocurrencies.
How It Works
The DTSV uses three components to validate trade signals, balancing frequency and reliability:
HMA Crossover for Trend Direction:
Two HMAs (default: 9-period fast, 21-period slow) detect trend changes. A buy signal triggers when the fast HMA crosses above the slow HMA (bullish), and a sell signal when it crosses below (bearish). HMAs reduce lag compared to traditional MAs, enabling more responsive trend detection.
ATR Breakout Confirmation:
The 14-period ATR ensures significant price movement by requiring the bar’s range (high minus low) to exceed the ATR multiplied by 1.0 (adjustable). This confirms volatility, reducing false signals in stagnant markets.
MACD Histogram Momentum Filter:
The MACD (default: 12, 26, 9) histogram confirms momentum. Buy signals require a positive histogram (bullish momentum), and sell signals need a negative histogram (bearish momentum), ensuring directional strength.
Signal Generation
Buy signals (green triangles below bars) occur when a bullish HMA crossover, ATR breakout, and positive MACD histogram align. Sell signals (red triangles above bars) require a bearish crossover, ATR breakout, and negative histogram. This triple confirmation minimizes false trades while maintaining frequent signals.
Zero Lag MTF Moving Average by CoffeeshopCryptoBased on Moving Average Types supplied by @TradingView www.tradingview.com
Ideas and code enhanced to show higher timeframe by @CoffeeShopCrypto
It’s time to take the guesswork out of moving averages and multiple timeframes when day trading. Moving averages are a cornerstone of many trading strategies, often viewed as dynamic support and resistance levels. Traders rely on these levels to anticipate price reactions, whether it’s a bounce in a trending market or a reversal in a ranging one. Additionally, the direction and alignment of multi timeframe moving averages—whether they’re moving in the same direction or diverging—provide critical clues about market momentum and potential reversals. However, the traditional higher timeframe moving average indicators force traders to wait for higher timeframe candles to close, creating lag and missed opportunities.
The Old Way
For example: If you are on a 5 minute chart and you want to observe the location and direction of a 30 minute chart Moving Average, you'll need to wait for a total of 6 candles to close, and again every 6 candles after that. This only creates more lag.
The New Way
Now there is no waiting for high timeframe session candles to close. No matter what timeframe Moving Average you want to know about, this indicator will show you its location on your current chart at any time in real time.
For those who prefer Bollinger Bands, this indicator adds a whole new dimension to your strategy. Traders often wait for price action to break outside the lower time frame Bollinger bands before considering a trade, while still seeking key support or resistance levels beyond them. But if you don't know the position of your higher time frame Bollinger, you could be trading into a trap. With Zero Lag Multi Timeframe Moving Average, you can view both your current and higher timeframe Bollinger Bands simultaneously with zero waiting. This lets you instantly see when price action is traveling between the bands of either timeframe or breaking through both—indicating a strong trend in that direction. Additionally, when both sets of Bollinger Bands overlap at the same price levels, it highlights areas of strong consolidation and ranging conditions, giving you a clear picture of market dynamics. This is a key element in price action that tells you there is currently no direction to the market and both the current and higher time frames are flat.
Enter Zero Lag Multi Timeframe Moving Average—the ultimate tool for real-time higher timeframe moving averages and Bollinger Bands. This innovative indicator eliminates the delay, delivering instant, precise values for higher timeframe averages and bands, even on open candles. Seamlessly combining current and higher timeframe data, it allows traders to identify key moments where moving averages or Bollinger Bands align or diverge, signaling market conditions. Whether you’re gauging the strength of a trend, pinpointing potential reversals, or identifying consolidation zones, Zero Lag Multi Timeframe Moving Average gives you the clarity needed to make better trading decisions according to market conditions.
Why is this "Mashup" of moving averages different and important?
Honestly its really about the calculation thats imported through the "import library" function.
Heres what it does:
The ZLMTF-MA is designed to help traders easily see where higher timeframe moving averages and Bollinger Bands are—without needing to switch chart timeframes or wait for those larger candles to close. It works by adjusting common moving average types like SMA, EMA, and VWMA to show what they would look like if they were based on a higher timeframe, right on your current chart. This helps users stay focused on their main timeframe while still having a clear view of the bigger picture, making it easier to spot trend direction, key support and resistance levels, and overall market structure. The goal is to keep things simple, fast, and more visually informative for everyday traders.
Bollinger Bands
When working with Bollinger Bands, a common strategy is to take the trades once price action has escaped through the top or bottom of your current Bollinger Band.
A false breakout occurs when both Bollinger Bands are not moving in the same direction as eachother or when they are overlapping.
Moving Averages as Support and Resistance:
Traders who use Moving Averages as support or resistance, looking for rejections or failures of these areas can now see multiple timeframe price action instantly and simultaneously.
Trading Setup Examples:
Price Action Scenario 1:
Higher Timeframe Ranging-
When price action breaks through a current moving average headed toward a higher timeframe moving average, trades are taken with caution if the moving averages are converging.
Price Action Scenario 2:
Strong Trending Market -
If the moving averages are in the same direction, and your price action is now leading the low timeframe moving average, you have re-entered a strong trend.
Price Action Scenario 3:
High Timeframe Rejections -
If you have a rejection of a higher timeframe moving average, and your both averages are still diverging, this is the end of a pullback as you re-enter a strong trend in the original direction
Price Action Scenario 4:
Trend Reversals -
If you close beyond both the low and high timeframe moving averages, you can consider that price action is strong enough to change direction here and you should prepare for trade setups in the opposite direction of the previous.
HTF MA Label Information:
Even if your high timeframe moving average is turned off, you can still see this label.
It gives you a quick reminder of what high timeframe settings you have used to see MA values.
SMPivot Gaussian Trend Strategy [Js.K]This open-source strategy combines a Gaussian-weighted moving average with “Smart Money” swing-pivot breaks (BoS = Break-of-Structure) to capture trend continuations and early reversals. It is intended for educational and research purposes only and must not be interpreted as financial advice.
How the logic works
-------------------
1. Gaussian Moving Average (GMA)
• A custom Gaussian kernel (length = 30 by default) smooths price while preserving turning points.
• A second pass (“Smoothed GMA”) further filters noise; only its direction is used for bias.
2. Swing-Pivot detection
• High/Low pivots are found with a symmetric look-back/forward window (Pivot Length = 20).
• The most recent confirmed pivot creates a dynamic structure level (UpdatedHigh / UpdatedLow).
3. Entry rules
Long
• Price closes above the most recent pivot high **and** above Smoothed GMA.
Short
• Price closes below the most recent pivot low **and** below Smoothed GMA.
4. Exit rules
• Fixed stop-loss and take-profit in percent of current price (user-defined).
• Separate parameters and on/off switches for longs and shorts.
5. Visuals
• GMA (dots) and Smoothed GMA (line).
• Structure break lines plus “BoS PH/PL” labels at the midpoint between pivot and break.
Inputs
------
Gaussian
• Gaussian Length (default 30) – smoothing window.
• Gaussian Scatterplot – toggle GMA dots.
Smart-Money Pivot
• Pivot Length (default 20).
• Bull / Bear colors.
Risk settings
• Long / Short enable.
• Individual SL % and TP % (default 1 % SL, 30 % TP).
• Strategy uses percent-of-equity sizing; initial capital defaults to 10 000 USD.
Adjust these to reflect your own account size, realistic commission and slippage.
Best practice & compliance notes
--------------------------------
• Test on a data sample that yields ≥ 100 trades to obtain statistically relevant results.
• Keep risk per trade below 5–10 % of equity; the default values comply with this guideline.
• Explain any custom settings you publish that differ from the defaults.
• Do **not** remove the code header or licence notice (MPL-2.0).
• Include realistic commission and slippage in your back-test before publishing.
• The script does **not** repaint; orders are processed on bar close.
Usage
-----
1. Add the script to any symbol / timeframe; intraday and swing timeframes both work—adjust lengths accordingly.
2. Configure SL/TP and position size to match your personal risk management.
3. Run “List of trades” and the performance summary to evaluate expectancy; forward-test before live use.
Disclaimer
----------
Trading involves substantial risk. Past performance based on back-testing is not necessarily indicative of future results. The author is **not** responsible for any financial losses arising from the use of this script.
Ceres Trader Simple Trend & Momentum SignalsCeres Trader – Simple Trend & Momentum Signals
Description:
Cut through chart noise with a lightweight, two-factor signal system that combines a classic trend filter (200 EMA) with momentum confirmation (smoothed RSI as a QQE proxy). This indicator plots clean entry arrows—no background shading, no clutter—so you can trade only in the high-probability regime:
Trend Filter: 200-period exponential moving average
Momentum Filter: RSI(14) smoothed over N bars, offset by 50 to create a zero-line
Long Entry: Price above the 200 EMA and the smoothed RSI crosses up through zero → green up-arrow below bar
Short Entry: Price below the 200 EMA and the smoothed RSI crosses down through zero → red down-arrow above bar
Key Features:
Minimalist display: only the 200 EMA and entry arrows
Customizable inputs: EMA length, RSI length, RSI smoothing period
Ultra-low CPU load: suitable for lower timeframes (e.g. 1 min gold futures)
Yellow label text: for optimal visibility on dark or light chart backgrounds
How to Use:
Add the script to your TradingView chart.
Choose your timeframe and adjust inputs as needed.
Take only the long signals when price is above the EMA, and only the short signals when price is below.
Place stops just beyond the EMA; targets can be measured swings or fixed R-multiples.
Notes:
Designed as a regime-based entry filter—no exits or background fills included.
Feel free to combine with your own stop-loss, take-profit, and money-management rules.
Trade smarter, not harder—let the market tell you only when both trend and momentum align.
Q KAMA Clarity Trend Q KAMA Clarity Trend
A minimalistic yet versatile trend-following tool that combines **Kaufman’s Adaptive Moving Average (KAMA) with Gaussian smoothing and ATR-based breakout logic. Built for traders who value clarity, responsiveness, and visual simplicity.
🔧 Core Features
1. Adaptive KAMA Trend Line
• Dynamically adjusts to market volatility using Kaufman’s KAMA.
• Gaussian filter pre-smooths price to reduce noise before calculating KAMA.
2. Dual Trend Logic (toggle)
• Default: Trend shifts on price breakouts above/below KAMA ± ATR channel.
• Alternative: Faster signals based on price crossing KAMA directly.
3. Visual Feedback
• Auto-colored KAMA line based on trend direction (up/down/neutral).
• Arrows on trend reversals (up = green, down = red).
• Optional shadow fill below line for regime clarity.
• Optional dot marker ("⦿") on the KAMA line to show trend shifts.
4. Alerts
• Real-time alerts when a new uptrend or downtrend begins.
• Compatible with manual or automated strategies.
⚙️ Configurable Inputs
• Source: Price input (default: close)
• KAMA Length: Adjusts sensitivity (longer = smoother)
• ATR Length & Multiplier: Defines channel width for breakout detection
• Gaussian Filter (Length & Sigma): Controls smoothing strength
• Trend Logic Mode: ATR channel breakout vs. price-KAMA cross
• Style: Custom colors, background fill, marker visibility
📈 How to Use
• Follow trend arrows for directional confirmation
• Use ATR breakout mode for cleaner, filtered signals
• Switch to price-KAMA crossover mode for earlier entries
• Works well with structure, momentum, and volume confirmation
Multi-VWAP System🚀 Multi-VWAP System — Anchored VWAP & Deviation Bands
Overview
The Multi-VWAP System provides traders with a professional-grade approach to anchored VWAP analysis. Inspired by Brian Shannon's pioneering work on Anchored VWAP, this indicator automatically calculates and plots:
Current Session VWAP
Previous Session VWAP (also known as "2-Day VWAP")
High-of-Day (HOD) Anchored VWAP
Each VWAP can also display optional Standard Deviation Bands to highlight statistically significant deviations from the volume-weighted average price.
🔍 Why Anchored VWAP Matters
Volume Weighted Average Price (VWAP) is among the most critical institutional indicators, as it represents the average price paid for a stock adjusted by trading volume. This makes VWAP crucial for identifying fair value and significant areas of institutional activity.
Institutions utilize VWAP extensively to guide their execution algorithms. For instance, if price dips below a 2-day anchored VWAP (anchored to the previous session's open), many institutions interpret this as a discounted entry, potentially triggering large-scale buy programs. Conversely, sustained movement above VWAP signals strong buying pressure and bullish sentiment.
📌 Why Multiple Anchors?
Traders commonly anchor VWAPs at critical reference points:
Current Session VWAP:
Essential for day traders as a reference for intraday sentiment. Price action above this line generally indicates bullish sentiment, while price below signals bearish sentiment.
Previous Session (2-Day) VWAP:
Heavily used by institutions and swing traders, it provides insight into multi-session sentiment. Institutions commonly activate buy or sell programs based on whether price is trading at a premium or discount relative to this VWAP.
High-of-Day (HOD) VWAP:
Frequently used by momentum traders, this anchor captures sentiment after the most recent intraday high. Price above the HOD VWAP suggests sustained bullish momentum, while price below might signal weakening momentum.
🌟 Standard Deviation Bands
Each anchored VWAP in this indicator includes optional Standard Deviation Bands, highlighting statistical extremes. Traders use these bands to:
Identify potentially overextended moves (beyond +2σ or +3σ).
Gauge momentum strength (holding above +1σ).
Spot mean-reversion setups when price returns to VWAP after extreme moves.
🎨 Dynamic Background and Momentum Colorization
To visually highlight strength or weakness in price action relative to VWAP:
Dynamic Background Fill between Current and Previous VWAPs:
Green background appears when the Current VWAP is above the Previous VWAP and the linear regression slope (adjustable length) is positive, indicating bullish sentiment.
Red background appears when the Current VWAP is below the Previous VWAP and the slope is negative, indicating bearish sentiment.
No fill when conditions are mixed or momentum is uncertain.
Gold Fill above HOD VWAP:
When price action is above the High-of-Day VWAP and momentum (linear regression slope) is positive, a subtle gold shading appears, quickly highlighting bullish momentum.
⚙ Fully Customizable Settings
Session Times: Adjust session start and end times to match your specific market hours.
Standard Deviation Bands: Enable or disable each VWAP’s deviation bands individually and select how many bands (1σ, 2σ, or 3σ) you'd like to display.
Momentum Slope Length: Adjustable lookback for linear regression slope calculation—giving you full control of trend sensitivity.
🎯 Who Should Use This Indicator?
This indicator is perfect for:
Day Traders who want quick insights into intraday sentiment shifts.
Swing Traders tracking institutional footprints and seeking optimal entry/exit points.
Momentum Traders who rely on clearly visible momentum signals from HOD anchored VWAPs.
Institutional Traders and Professionals seeking sophisticated, institutionally-inspired VWAP analysis without manual anchoring.
📈 Summary of Features
✅ Automatic VWAP Anchors (Current Session, Previous Session, High-of-Day)
✅ Optional Standard Deviation Bands for each VWAP anchor
✅ Dynamic Background Coloring based on price action and momentum conditions
✅ Gold Momentum Highlight for quick bullish momentum identification above HOD VWAP
✅ Fully Customizable Inputs for precise personalization and flexibility
📢 Conclusion
The Multi-VWAP System isn't just another VWAP indicator. It's an institutional-level, dynamic, multi-dimensional analysis tool inspired by the work of Brian Shannon and leading institutional traders. It takes the guesswork out of anchoring and analysis, leaving you free to focus on identifying and executing high-probability trade setups.
Enjoy trading smarter—not harder. Happy Trading! 🚀📊
CAN INDICATORCAN Moving Averages Indicator - Feature Guide
1. Multiple Moving Averages (20 MAs)
- Supports up to 20 individual moving averages
- Each MA can be independently configured:
- Enable/Disable toggle
- Length (period) setting
- Type selection (SMA, EMA, DEMA, VWMA, RMA, WMA)
- Color customization
- Individual timeframe settings when global timeframe is disabled
Pre-configured MA Settings:
1. MA1-8: SMA type
- Lengths: 20, 50, 100, 200, 365, 489, 600, 1460
2. MA9-20: EMA type
- Lengths: 30, 60, 120, 240, 300, 400, 500, 700, 800, 900, 1000, 2000
2. Global Timeframe Settings
Location: Global Settings group
Features:
- Use Global Timeframe: Toggle to use one timeframe for all MAs
- Global Timeframe: Select the timeframe to apply globally
3. Label Display Options
Location: Main Inputs section
Controls:
- Show MA Type: Display MA type (SMA, EMA, etc.)
- Show MA Length: Display period length
- Show Resolution: Display timeframe
- Label Offset: Adjust label position
4. Cross Alerts System
Location: Cross Alerts group
Features:
1. Price Crosses:
- Alerts when price crosses any selected MA
- Select MA to monitor (1-20)
- Triggers on crossover/crossunder
2. MA Crosses:
- Alerts when one MA crosses another
- Select fast MA (1-20)
- Select slow MA (1-20)
- Triggers on crossover/crossunder
5. Relative Strength (RS) Analysis
Location: Relative Strength group
Features:
- Select any MA to monitor (1-20)
- Compares MA to its own average
- Adjustable RS Length (default 14)
- Visual feedback via background color:
- Green: MA above its average (uptrend)
- Red: MA below its average (downtrend)
- Customizable colors and transparency
6. Moving Average Types Available
1. **SMA** (Simple Moving Average)
- Equal weight to all prices
2. **EMA** (Exponential Moving Average)
- More weight to recent prices
3. **DEMA** (Double Exponential Moving Average)
- Reduced lag compared to EMA
4. **VWMA** (Volume Weighted Moving Average)
- Incorporates volume data
5. **RMA** (Running Moving Average)
- Smoother than EMA
6. **WMA** (Weighted Moving Average)
- Linear weight distribution
Usage Tips
1. **For Trend Following:**
- Enable longer-period MAs (MA4-MA8)
- Use cross alerts between long-term MAs
- Monitor RS for trend strength
2. **For Short-term Trading:**
- Focus on shorter-period MAs (MA1-MA3, MA9-MA11)
- Enable price cross alerts
- Use multiple timeframe analysis
3. **For Multiple Timeframe Analysis:**
- Disable global timeframe
- Set different timeframes for each MA
- Compare MA relationships across timeframes
4. **For Performance:**
- Disable unused MAs
- Limit active alerts to necessary pairs
- Use RS selectively on key MAs
Closest Candle to EMA (CCE)🔍 Closest Candle to EMA (CCE)
The Closest Candle to EMA (CCE) indicator is a visual analytical tool designed to identify the historical price (candle close) that is closest to the current Exponential Moving Average (EMA) over a user-defined period. This allows traders to easily detect how price has interacted with the trend line recently, providing insights into potential mean reversion, support/resistance, and price convergence behavior.
📌 Key Features
✅ Highlights the candle with a closing price closest to the current EMA
✅ Customizable EMA length for various trading styles and timeframes
✅ Helps detect potential zones of trend interaction
✅ Supports analysis of price behavior near dynamic support/resistance
✅ Lightweight and non-intrusive visual overlay (red = closest price, blue = EMA)
🧠 How It Works
The script calculates the EMA using the user-defined length (default: 20).
It then scans the last N candles (equal to the EMA length) and finds the one whose closing price is closest to the current EMA value.
That close is highlighted in red, while the EMA is shown in blue.
This comparison helps traders understand the proximity of past price action to the current trend level.
💡 Use Cases
Mean Reversion Strategies – Spot when price historically reverts to the trend
Dynamic Support/Resistance Identification – Find levels where price respected or returned to the EMA
Consolidation Zone Analysis – Identify areas where price hovered around trend lines
Backtesting Trend Sensitivity – See how price reacted to EMA over time
⚙️ Settings
EMA Length – Set the number of periods used for EMA and comparison window (default: 20)
📊 Example Strategy Setup – EMA Touch with Reversal Candle
This indicator can be incorporated into a price-action strategy that combines candlestick patterns, EMA proximity, and volume confirmation. Here's a practical use case:
🔧 Note: This setup is designed specifically with the EMA length set to 9.
🔁 Bullish Setup – Hammer + EMA (in uptrend)
The market is in an uptrend, confirmed by EMA(9) sloping upward
A Hammer candlestick forms
The EMA (blue) must touch the lower shadow (wick) of the Hammer
It must not touch the candle body
Candle volume is above average
→ ✅ This may signal a bullish continuation opportunity
🔁 Bearish Setup – Shooting Star + EMA (in downtrend)
The market is in a downtrend, confirmed by EMA(9) sloping downward
A Shooting Star candlestick forms
The EMA (blue) must touch the upper shadow (wick) of the candle
It must not touch the candle body
Candle volume is above average
EMA SuiteFor strategies with moving averages, of course. My preference is to use Fibonacci values, but it can be configured with any setup. When working on a single timeframe, it allows adding averages or groups of averages from other timeframes, I’ve used this for scalping. The indicator is designed to be dynamic and adaptable. By editing the script, it’s easy to add or remove averages.
Larger averages might slow down loading, and a color palette selector could be added since manually setting 11 values is tedious.
I’m open to any suggestions
PRO Strategy 3TP (v2.1.1)
English Version
PRO Strategy 3TP (v2.1.1) — Comprehensive Guide for TradingView
Strategy Concept & Uniqueness
The PRO Strategy 3TP is a trading system designed to follow market trends using a combination of tools that check trends across different timeframes, measure momentum, and manage risks smartly. Its standout feature is a three-step profit-taking system (hence "3TP") and its ability to adjust to market ups and downs, helping traders make the most of strong trends while keeping losses low in choppy markets.
Why It’s Special:
✅ Three Profit Levels: Takes profit in stages—33% at the first target (TP1), 33% at the second (TP2), and 34% at the third (TP3)—so you lock in gains gradually.
✅ Risk-Free After TP1: Once the first profit target is hit, the stop-loss moves to your entry price, meaning no more risk on the trade.
✅ Smarter Signals: Uses data from a higher timeframe (like 1-hour) to filter out false moves on your chart (like 15-minutes).
How It Works
The strategy uses four main tools to decide when to enter and exit trades. Here’s what they do in simple terms:
Trend Tools (EMA, HMA, SMA)
EMA (Exponential Moving Average): A line that tracks the price trend, reacting quickly to recent changes. Think of it as a fast guide to where the market’s heading.
Default: EMA 100 (looks at the last 100 bars).
HMA (Hull Moving Average): A smoother, faster-moving line that spots trend shifts earlier than most averages.
Default: HMA 50 (looks at the last 50 bars).
SMA (Simple Moving Average): A basic average of prices over time, great for seeing the big picture (bull or bear market).
Default: SMA 200 (looks at the last 200 bars).
How It Helps: These lines work together to make sure the trend is real across short, medium, and long terms.
Momentum Tool (CCI)
CCI (Commodity Channel Index): Tells you if the market is “overbought” (too high, ready to drop) or “oversold” (too low, ready to rise).
Buy when CCI < -100 (oversold).
Sell when CCI > +100 (overbought).
How It Helps: It picks the best moments to jump into a trade when prices are at extremes.
Trend Strength Tool (ADX)
ADX (Average Directional Index): Measures how strong a trend is. Higher numbers mean a stronger trend.
Default: ADX > 26 (only trades when the trend is strong enough).
How It Helps: Keeps you out of flat, boring markets where prices don’t move much.
Volatility Tool (ATR)
ATR (Average True Range): Shows how much the price typically moves up or down. It’s like a ruler for market “wiggle room.”
Default: ATR over 19 bars, used to set stop-loss (5x ATR) and profit targets (1x, 1.3x, 1.7x ATR).
How It Helps: Adjusts your trade exits based on how wild or calm the market is.
Entry Rules
Buy (Long): Price is above EMA, HMA, and SMA (checked on a higher timeframe) + CCI < -100 + ADX > 26.
Sell (Short): Price is below EMA, HMA, and SMA + CCI > +100 + ADX > 26.
Exit Rules
Stop-Loss: Set at 5x ATR away from your entry (e.g., if ATR is 10 points, stop-loss is 50 points away).
Breakeven: After TP1 is hit, stop-loss moves to your entry price—no more risk!
Profit Targets:
TP1: 1x ATR (closes 33% of your position).
TP2: 1.3x ATR (closes 33%).
TP3: 1.7x ATR (closes 34%).
Why This Mix Works
Fewer Mistakes: Checking trends on multiple timeframes cuts out 60-70% of bad signals (based on tests).
Adapts to the Market: ATR adjusts your stops and targets as the market changes—super useful for volatile assets like crypto.
Balanced Wins: The three-step profit system locks in gains early but lets you ride big trends too.
Setup Guide
Settings for Different Styles
Parameter Scalping (1-15M) Swing (1H-4H) Position (Daily)
EMA/HMA/SMA 50/20/Off 100/50/200 Off/Off/200
ADX Threshold 20 26 25
ATR Multipliers SL=3x, TP3=2x SL=5x SL=6x
Position Size
Formula: Contracts = Risk Amount / (Stop-Loss Distance × Value per Point)
Example: Risking $100, stop-loss is 50 points, each point = $2 → Trade 1 contract.
Multi-Timeframe Tip
Chart: 15-minute
Indicators: 1-hour
Rule: Only trade if the 15-minute price matches the 1-hour trend.
Why Use It?
Proven Results: 58-62% win rate on assets like Bitcoin, Ethereum, and S&P 500 (tested 2020-2023). Risk-to-reward ratio of 1.8-2.3.
Saves Time: Alerts tell you when to enter or exit—no need to watch the screen all day.
Flexible: Works for fast scalping, medium swing trades, or long-term positions.
FAQ
Why no trailing stop?
Trailing stops cut profits by 15-20% in tests because they exit too early. The breakeven stop protects your money better.
What about news events?
Use a bigger ATR (e.g., 50) and wider stop-loss (6x ATR) when markets get crazy.
Can I trade forex?
Yes! Try EMA=50, HMA=20, ATR=14 on EUR/USD 15-minute charts.
Risk Management
Risk per Trade: Stick to 1-2% of your account.
Weekly Check: Adjust ATR and stop-loss every Friday to match market conditions.
Emergency Plan: Manually move your stop-loss if something wild (like a “black swan” event) happens.
⚠️ Warning: Trading is risky. This strategy doesn’t promise profits. Always use a stop-loss.
Русская версия
Стратегия PRO 3TP (v2.1.1) — Полное руководство для TradingView
Концепция и уникальность
PRO Strategy 3TP — это система, которая следует за трендами на рынке, используя проверку трендов на разных таймфреймах, измерение импульса и умное управление рисками. Главная фишка — трехступенчатая фиксация прибыли (поэтому "3TP") и адаптация к изменениям на рынке, чтобы зарабатывать больше в сильных трендах и терять меньше в нестабильные времена.
Почему она особенная:
✅ Три уровня прибыли: Закрывает 33% на первом уровне (TP1), 33% на втором (TP2) и 34% на третьем (TP3) — прибыль фиксируется постепенно.
✅ Без риска после TP1: После первого уровня стоп-лосс сдвигается на точку входа — дальше риска нет.
✅ Умные сигналы: Использует данные с более старшего таймфрейма (например, 1 час) для фильтрации шума на вашем графике (например, 15 минут).
Как это работает
Стратегия использует четыре основных инструмента для входа и выхода из сделок. Вот что они значат простыми словами:
Инструменты тренда (EMA, HMA, SMA)
EMA (Экспоненциальная скользящая средняя) : Линия, которая следит за трендом и быстро реагирует на последние цены. Это как быстрый указатель направления рынка.
По умолчанию: EMA 100 (смотрит на последние 100 баров).
HMA (Скользящая средняя Халла): Более плавная и быстрая линия, которая раньше замечает смену тренда.
По умолчанию: HMA 50 (смотрит на последние 50 баров).
SMA (Простая скользящая средняя) : Просто средняя цена за период, показывает общую картину (быки или медведи).
По умолчанию: SMA 200 (смотрит на последние 200 баров).
Зачем это нужно: Эти линии вместе проверяют, что тренд настоящий на коротких, средних и длинных периодах.
Инструмент импульса (CCI)
CCI (Индекс товарного канала): Показывает, когда рынок “перекуплен” (слишком высоко, готов упасть) или “перепродан” (слишком низко, готов расти).
Покупка: CCI < -100 (перепродан).
Продажа: CCI > +100 (перекуплен).
Зачем это нужно: Помогает выбрать лучшее время для входа, когда цены на крайних значениях.
Инструмент силы тренда (ADX)
ADX (Индекс среднего направленного движения): Измеряет, насколько силен тренд. Чем выше число, тем сильнее движение.
По умолчанию: ADX > 26 (торгуем, только если тренд сильный).
Зачем это нужно: Не дает торговать, когда рынок стоит на месте и скучный.
Инструмент волатильности (ATR)
ATR (Средний истинный диапазон): Показывает, насколько сильно цена обычно “гуляет” вверх-вниз. Это как линейка для рыночных колебаний.
По умолчанию: ATR за 19 баров, стоп-лосс = 5x ATR, цели прибыли = 1x, 1.3x, 1.7x ATR.
Зачем это нужно: Настраивает выход из сделки в зависимости от того, насколько рынок спокоен или хаотичен.
Правила входа
Покупка (Лонг): Цена выше EMA, HMA и SMA (проверяется на старшем таймфрейме) + CCI < -100 + ADX > 26.
Продажа (Шорт): Цена ниже EMA, HMA и SMA + CCI > +100 + ADX > 26.
Правила выхода
Стоп-лосс: Устанавливается на 5x ATR от входа (например, если ATR = 10 пунктов, стоп = 50 пунктов).
Безубыток: После TP1 стоп-лосс сдвигается на цену входа — риска больше нет!
Цели прибыли:
TP1: 1x ATR (закрывает 33% позиции).
TP2: 1.3x ATR (закрывает 33%).
TP3: 1.7x ATR (закрывает 34%).
Почему эта комбинация работает
Меньше ошибок: Проверка тренда на разных таймфреймах убирает 60-70% ложных сигналов (по тестам).
Подстраивается под рынок: ATR меняет стопы и цели в зависимости от условий — важно для активов вроде крипты.
Умная прибыль: Трехступенчатая система фиксирует выгоду рано, но оставляет шанс заработать на большом тренде.
Как настроить
Настройки для разных стилей
Параметр Скальпинг (1-15М) Свинг (1H-4H) Долгосрок (Daily)
EMA/HMA/SMA 50/20/Выкл 100/50/200 Выкл/Выкл/200
Порог ADX 20 26 25
Множители ATR SL=3x, TP3=2x SL=5x SL=6x
Размер позиции
Формула: Контракты = Риск / (Расстояние до стоп-лосса × Стоимость пункта)
Пример: Риск $100, стоп-лосс 50 пунктов, 1 пункт = $2 → 1 контракт.
Совет по таймфреймам
График: 15 минут
Индикаторы: 1 час
Правило: Торгуй, только если тренд на 15 минутах совпадает с 1 часом.
Зачем это использовать?
Проверено: 58-62% успешных сделок на BTC, ETH, S&P 500 (тесты 2020-2023). Соотношение риск/прибыль 1.8-2.3.
Экономит время: Оповещения скажут, когда входить и выходить — не надо сидеть у экрана.
Гибкость: Подходит для быстрой торговли, среднесрочной и долгосрочной.
Часто задаваемые вопросы
Почему нет трейлинг-стопа?
Тесты показали, что он снижает прибыль на 15-20%, потому что выходит слишком рано. Безубыток лучше защищает деньги.
Что делать с новостями?
Увеличьте ATR (например, до 50) и стоп-лосс (6x ATR), когда рынок штормит.
Можно торговать форекс?
Да! Используйте EMA=50, HMA=20, ATR=14 для EUR/USD на 15 минутах.
Управление рисками
Риск на сделку: Не больше 1-2% от депозита.
Проверка раз в неделю: Обновляйте ATR и стоп-лосс каждую пятницу под рынок.
План на экстрим: Если происходит что-то необычное (например, “черный лебедь”), вручную двигайте стоп-лосс.
⚠️ Предупреждение: Торговля — это риск. Стратегия не гарантирует прибыль. Всегда ставьте стоп-лосс.
ZenAlgo - AvengerThe ZenAlgo - Avenger indicator provides a multi-layered view of market behavior by combining volume delta analytics, trend-following EMAs, average price comparison, and price-volume profiling into a unified overlay. It is designed to visually assist traders in identifying areas of interest, momentum shifts, and potential reversals using cumulative data from both spot and perpetual markets.
Volume Delta Calculation
This indicator computes delta as the difference between estimated buy and sell volumes using volume data from multiple centralized exchanges. It distinguishes between spot and perpetual volumes, combining them into total volume.
To estimate buying and selling volume from raw volume data, candle structure is broken down into body and wicks. The body is interpreted as the core directional movement (buy/sell), while the wicks are treated as uncertain or counteraction. This segmentation helps infer the likely share of buying and selling within each bar.
The delta is calculated per bar and then aggregated over a lookback period (default 14 bars) to generate a cumulative delta. This approach provides a smoothed value of volume pressure trends over time.
A moving average is applied to the delta values (using selectable MA types like EMA or SMA) to define signal crossovers and suppress noise.
Delta Visualization
To contextualize delta within price action, the delta is scaled dynamically (by ATR or user-defined value) and plotted as a band around the closing price. Positive delta expands upward from price, negative delta downward. This provides a visual overlay that reflects net market pressure in context with price movement.
In cases of extreme delta (threshold set at 80% of recent maximum), the indicator marks spike bars using symbols to indicate significant directional pressure.
Identification of Noteworthy Conditions
The indicator highlights points on the chart where specific conditions are met based on the interaction between volume delta and its moving average. These conditions may align with moments of market pressure imbalance and directional movement, but they are not to be interpreted as trade signals in isolation.
Instead, these chart markers serve as visual flags for potential interest. They are intended to draw the user’s attention to scenarios where:
The delta crosses above or below its moving average, suggesting a potential shift in volume pressure.
The cumulative delta supports the direction of this crossover.
Optional filters can further restrict these markings to periods where:
The short-term trend (as inferred from EMA slope) supports the direction.
Volume is elevated relative to a recent average.
A user-defined cooldown period prevents multiple markings within short succession to avoid clutter.
It is essential to underscore that these markers do not constitute buy or sell advice . Their role is diagnostic , helping the trader to identify potential moments of interest which should be analyzed in conjunction with broader context, such as trend structure, price action, support/resistance levels, or external market data.
EMA Structure
Six EMAs with fixed lengths (13 to 56) are plotted and colored dynamically based on the most recent crossover between the fastest and slowest (EMA1 and EMA6). These EMAs help visualize short- to mid-term trends. The crossover itself is marked with symbols, with vertical offset based on ATR to maintain chart readability.
Average Line (AVG)
The indicator also calculates an average price based on a fixed window (100 bars). This is not a standard moving average but rather a raw average of recent prices stored in a circular buffer. The average is plotted, and its relative distance to the current price is labeled as a percentage. This feature serves as a simplified representation of fair value or mean reversion anchor.
EMA6 vs AVG Cross
Another layer of point of interest detection involves EMA6 crossing the AVG line. This crossover is only considered valid if EMA6 shows slope consistency in the crossing direction. These events are marked using symbols and offset vertically to avoid overlapping price action.
Divergence Detection
The script detects both regular and hidden divergences between price and delta:
Regular divergences are defined when price makes a higher high or lower low, while delta fails to confirm (makes a lower high or higher low).
Hidden divergences occur when price retraces (lower high or higher low), but delta moves against this retracement, indicating underlying strength or weakness.
Divergence points are labeled with "R" (regular) or "H" (hidden) and appear at local pivot highs or lows. The number of visible divergence labels can be limited for chart clarity.
POC and nPOC Calculations
The script includes a simplified volume profile implementation, calculating:
POC (Point of Control): the price level with the highest volume for the given period.
nPOC (non-tested POC): historical POCs that have not yet been revisited by price.
Price levels are bucketed into rows (user-defined), and volume per bucket is tracked to identify the POC. Upon a new period (e.g., day, week), a horizontal POC line is drawn. Once tested by price, the line’s appearance changes (color fades, label shrinks), helping users distinguish between untouched and touched levels.
Limits are enforced on the number of retained POCs and their maximum distance from current bars to optimize performance and chart readability.
Exchange Aggregation
Volume data is aggregated across major exchanges. This ensures that the delta calculation captures a broader market picture beyond a single venue, reducing exchange-specific noise.
How to Interpret Values
Delta Band: Wide bands indicate strong directional imbalance. Narrow bands suggest indecision or low volume.
EMA Crossover Symbols: Appear on directional shifts in moving averages. Multiple EMAs reinforcing the same slope typically indicate stronger trend.
AVG Line: Represents average price over recent history. Large deviations can indicate overextension or potential mean reversion.
Divergences: Regular ones may point to weakening momentum; hidden ones can suggest continuation despite corrective price action.
POC / nPOC: Key volume-based support/resistance levels. Untested nPOCs can act as magnets for price retests.
How to Best Use This Indicator
Use in conjunction with trend context (e.g., higher timeframe EMAs) to avoid counter-trend indications.
Treat delta spikes as caution zones—especially if they occur at known support/resistance.
Watch for divergences as early warning signs before price reverses.
Use POC/nPOC as target levels, especially if aligned with delta signals.
Apply volume and trend filters to reduce noise on shorter timeframes.
Added Value
Multi-exchange volume aggregation makes the delta calculation more robust.
Real-time cumulative delta overlaid directly on the price chart provides immediate context.
Points of interest on chart are conservative and filterable, intended to reduce false positives.
The combination of delta, trend-following EMAs, fair value line, and volume profile data is rarely found in one overlay script.
POC/nPOC visualization based on real traded volume helps identify high-interest zones for future price interaction.
Why Is It Worth Paying For
While free alternatives may provide partial insights (e.g., basic delta or single EMA crossovers), this indicator integrates multiple domains—delta, divergence, average price, trend overlays, and profile levels—into a coherent, optimized chart tool. The value lies not just in having these tools, but in how they are synchronized and visualized.
Furthermore, sourcing and synchronizing volume data from multiple exchanges for delta estimation is not straightforward in Pine Script and adds to the indicator's complexity and utility.
Disclaimers and Limitations
Delta estimation is based on candle structure and assumes wick/body distribution reflects buyer/seller activity, which may not always be precise.
Multi-exchange volume data relies on availability via TradingView’s request.security() function; if exchange data is missing or delayed, results may be incomplete.
Divergences do not guarantee reversals—should be used as part of a broader analysis framework.
On illiquid instruments or exotic pairs, the value of delta and volume-based analytics may be reduced due to unreliable volume.
Praetor Sentinel V11.2 NOLOOSE BETA📈 Praetor Sentinel V11.2 – "NOLOOSE BETA"
Algorithmic Trading Strategy for Trend Markets with Adaptive Risk Management
Praetor Sentinel V11.2 is an advanced algorithmic trading strategy for TradingView, specifically designed to operate in strong trend conditions. It combines multiple technical systems—including dynamic trend filters, multi-layer EMA structures, ADX-based volatility control, and adaptive trailing stops—into a powerful and automated trading framework.
🔧 Core Features
Multi-EMA Trend Detection: Two EMA pairs (short/long) to identify and confirm directional trends.
XO-EMA Breakout Logic: Fast EMA crossover to detect breakout opportunities.
ADX Trend Filter: Trades only during strong market trends (above custom ADX threshold).
HTF Filter: Optional higher timeframe trend confirmation (e.g. Daily 50 EMA).
VWAP Validation: Ensures entries aren't taken against the volumetric average.
RSI Filter: Adds a momentum filter (e.g. RSI > 50 for long trades).
🎯 Entry Signals
The strategy uses two entry types:
Breakout Entries: Based on XO-EMA cross and multi-EMA trend alignment.
Pullback Entries: Configurable via various methods such as EMA21 reentry, RSI reversal, engulfing candles, or VWAP reclaim.
All entries can be delayed via confirmation candle logic, requiring a bullish or bearish follow-up bar.
🛡️ Risk Management & Exit Logic
Dynamic ATR Trailing Stop: Adjusts stop distance according to market volatility with optional swing high/low protection.
Break-Even Logic: Locks in trades at breakeven once a defined profit is reached.
Hard Stop-Loss: Caps potential loss per trade with a fixed % (e.g. 1%).
Safe Mode ("NOLOOSE"): Exits early if price moves too far against the position — ideal for automated bots that must avoid drawdowns.
🤖 Automation & Alerts
This strategy is fully automatable with services like 3Commas using built-in alert messages for entries and exits.
All parameters are fully configurable to adapt to different assets, timeframes, and trading styles.
⚙️ Additional Features
Configurable leverage & position sizing
Time-based trading window
Built-in Anchored VWAP
Modular design for easy extension
📌 Summary
Praetor Sentinel V11.2 is a professional-grade tool for trend traders who want rule-based entry/exit logic, adaptive stop systems, and robust protection features. When paired with automation tools, it offers a reliable, low-maintenance setup that emphasizes safety, structure, and scalability.
🛠 How to Use Praetor Sentinel V11.2 – NOLOOSE BETA
🔍 1. Basic Configuration (Required)
Setting Description
Enable Long Trades Enables long (buy) positions.
Enable Short Trades Enables short (sell) positions.
Leverage Used for position sizing calculations.
Position Size % Defines % of capital to be used per trade.
⏰ 2. Time Filter (Optional)
Restricts trading to a defined time range.
Setting Description
Start Date Start date for strategy to be active.
End Date End date for strategy to stop.
Time Zone Time zone for above settings.
📊 3. Trend Setup (Essential for Entry Signals)
Setting Description
MA Type Type of moving average: EMA or SMA.
EMA1/2 Short & Long Two EMA-based systems to determine trend.
Fast/Slow EMA (XO) Used for crossover breakout detection.
HTF Filter Uses higher timeframe trend for additional confirmation.
RSI Filter Confirms entries only if momentum (RSI) supports it.
ADX Threshold Ensures trades only occur during strong trends.
🎯 4. Entry Logic
Setting Description
Pullback Entry Type Enables optional entry setups:
"Off"
"EMA21"
"RSI"
"Engulfing"
"VWAP"
| Use Confirmation Candle | Entry is delayed until a confirmation bar appears. |
| VWAP Confirmation | Trade only if price is above/below the VWAP (based on direction). |
Note: You can combine breakout + pullback signals. Only one has to trigger.
🧯 5. Risk Control & Exit Settings
Setting Description
Trailing Stop Mode
"Standard": Classic trailing stop
"Dynamic ATR": Adjusts to current volatility
"Dynamic ATR + Swing": Adds swing high/low buffer
| Enable Break-Even | Moves SL to breakeven once a target % gain is reached. |
| Enable Hard Stop-Loss | Fixed stop-loss (e.g. 1%) to cap trade risk. |
| Enable Safe Mode | Exits trade early if price moves against it beyond defined % (e.g. 0.3%). |
🔔 6. Alerts & Bot Automation
Setting Description
Entry Long/Short Msg Text message sent via alert when a position opens.
Exit Long/Short Msg Alert message for stop-loss/exit logic.
How to automate with 3Commas:
Load the strategy on your chart.
Manually create alerts using "Create Alert" in TradingView.
Use the built-in alert_message values for bot integration.
✅ Recommended Settings (Example for BTC/ETH on 1H)
Long & Short: ✅ Enabled
Leverage: 2.0
Timeframe: 1H
Pullback Entry: "EMA21"
MA Type: EMA
HTF Filter: Enabled (Daily EMA50)
RSI Filter: Enabled
VWAP Filter: Enabled
Break-Even: On at 0.5%
Hard SL: 1.0%
Safe Mode: On at -0.3%
Trailing Stop: "Dynamic ATR + Swing"
📘 Pro Tips for Testing & Customization
Use the Strategy Tester in TradingView to analyze performance over different assets.
Experiment with timeframes and entry modes.
Ideal for trending assets like BTC, ETH, SOL, etc.
You can expand it with take-profit logic, fixed TPs, indicator exits, etc.