ADX Cross 30 & EMA 20 Touch SignalHOLY GRAIL: ADX Cross 30 & EMA 20 Touch Signal
This TradingView script is a powerful tool designed to help traders identify high-probability trend-following opportunities, drawing inspiration from the renowned "HOLY GRAIL" strategy outlined in the Street Smarts book by Linda Bradford Raschke and Laurence A. Connors. It combines the Average Directional Index (ADX) with the Exponential Moving Average (EMA) to generate precise trading signals directly on your chart.
How it Works (Inspired by the "HOLY GRAIL" Strategy):
The script generates a "Buy Signal" when two crucial technical conditions align simultaneously on the same price bar, mirroring the core principles of the "HOLY GRAIL" setup:
ADX Trend Strength Confirmation (ADX Cross Above 30):
The ADX indicator, which measures the strength of a trend (regardless of its direction), crosses above the 30 level.
An ADX reading above 30 typically indicates that a strong and well-defined trend is developing and gaining momentum. This condition filters out choppy or range-bound markets, focusing on clear trending environments, as emphasized in the "HOLY GRAIL" approach.
Price Retest/Interaction with EMA (EMA 20 Touch):
The current price candle (its body or wick) touches or encompasses the 20-period Exponential Moving Average (EMA). This means the low of the candle is at or below the EMA, and the high of the candle is at or above the EMA.
This condition identifies moments within a strong trend where price retraces or consolidates to interact with the EMA, which often acts as a dynamic support or resistance level. This interaction, a key component of the "HOLY GRAIL" strategy, can signal a potential entry point for a continuation of the prevailing trend.
The combination of these two conditions aims to provide a robust signal for trend continuation, ensuring both strong trend presence and a favorable entry point, as per the strategy's design.
Key Features & On-Chart Visuals:
Customizable Parameters:
ADX Length: Easily adjust the lookback period for the ADX calculation (default: 14).
EMA Length: Customize the length of the Exponential Moving Average (default: 20).
20 EMA Plot: The 20-period EMA is clearly plotted on your main price chart as a prominent dark blue line, making it easy to observe price interaction.
Combined Buy Signal: When both the ADX cross above 30 and the EMA touch conditions are met, a green upward-pointing triangle (▲) is displayed directly below the relevant price bar, indicating a confirmed buy signal.
Background Highlight: The background of the chart is subtly highlighted in a soft green color when a combined buy signal is active, drawing your attention to the signal bar for quick identification.
Debugging & Analysis Aids:
To assist traders in understanding the individual components of the signal and for fine-tuning the indicator, the script includes two helpful debugging plots:
"ADX Cross Only" (Orange Circle (●) above bar): This small orange circle appears above the price bar when only the ADX has crossed above 30, but the EMA touch condition was not met. This helps identify periods of strong trend development without an EMA retest.
"EMA Touch Only" (Purple Square (■) above bar): A small purple square is plotted above the price bar when only the price has touched the 20 EMA, but the ADX has not yet crossed above 30. This highlights instances of EMA interaction without strong trend confirmation.
These debugging plots are invaluable for refining your understanding of the script's logic and for optimizing input parameters for different market conditions.
Important Recommendation for Users:
To gain a deeper insight into the ADX and its directional components (+DI and -DI) and to cross-reference the script's signals, it is strongly recommended to:
Navigate to your TradingView chart.
Click on the "Indicators" or "fx" icon.
Search for and add the built-in "ADX / DMI" indicator to a separate pane below your main chart.
Ensure that its "Length" setting is synchronized with the ADX Length input you are using in this custom script (default 14).
This will provide a clear visual representation of the ADX indicator itself, which is crucial for comprehensive analysis and informed decision-making based on the "HOLY GRAIL" principles.
Médias Móveis
Fibonacci Entry Bands [AlgoAlpha]OVERVIEW
This script plots Fibonacci Entry Bands, a trend-following and mean-reversion hybrid system built around dynamic volatility-adjusted bands scaled using key Fibonacci levels. It calculates a smoothed basis line and overlays multiple bands at fixed Fibonacci multipliers of either ATR or standard deviation. Depending on the trend direction, specific upper or lower bands become active, offering a clear framework for entry timing, trend identification, and profit-taking zones.
CONCEPTS
The core idea is to use Fibonacci levels—0.618, 1.0, 1.618, and 2.618—as multipliers on a volatility measure to form layered price bands around a trend-following moving average. Trends are defined by whether the basis is rising or falling. The trend determines which side of the bands is emphasized: upper bands for downtrends, lower bands for uptrends. This approach captures both directional bias and extreme price extensions. Take-profit logic is built in via crossovers relative to the outermost bands, scaled by user-selected aggressiveness.
FEATURES
Basis Line – A double EMA smoothing of the source defines trend direction and acts as the central mean.
Volatility Bands – Four levels per side (based on selected ATR or stdev) mark the Fibonacci bands. These become visible only when trend direction matches the side (e.g., only lower bands plot in an uptrend).
Bar Coloring – Bars are shaded with adjustable transparency depending on distance from the basis, with color intensity helping gauge overextension.
Entry Arrows – A trend shift triggers either a long or short signal, with a marker at the outermost band with ▲/▼ signs.
Take-Profit Crosses – If price rejects near the outer band (based on aggressiveness setting), a cross appears marking potential profit-taking.
Bounce Signals – Minor pullbacks that respect the basis line are marked with triangle arrows, hinting at continuation setups.
Customization – Users can toggle bar coloring, signal markers, and select between ATR/stdev as well as take-profit aggressiveness.
Alerts – All major signals, including entries, take-profits, and bounces, are available as alert conditions.
USAGE
To use this tool, load it on your chart, adjust the inputs for volatility method and aggressiveness, and wait for entries to form on trend changes. Use TP crosses and bounce arrows as potential exit or scale-in signals.
PKSE Buy/Sell Signals Table - Two Columns with VWAPndicator Description: PKSE Buy/Sell Signals Table - Two Columns with VWAP
Overview
The PKSE Buy/Sell Signals Table - Two Columns with VWAP is a robust Pine Script indicator for Pakistan Stock Exchange (PSX) traders. It generates buy and sell signals for 19 PSX stocks based on Simple Moving Average (SMA) crossovers, KSE100 Index trends, and daily Volume Weighted Average Price (VWAP) conditions, displayed in two compact, side-by-side tables optimized for monitor viewing.
Purpose
This indicator helps traders identify high-probability trading opportunities by filtering signals with VWAP to reduce noise, ideal for swing traders, day traders, and investors monitoring PSX stocks.
Key Features
Dual-Table Layout: Displays 19 stocks in two side-by-side tables (10 and 9 stocks) for a monitor-friendly view.
Enhanced Signal Logic: Combines three conditions:
KSE100 Trend: Signals depend on the KSE100 Index being above/below its SMA.
Stock SMA: Signals based on stock price crossing or being above/below its SMA.
Daily VWAP Filter: Buy signals require the stock to be above its daily VWAP; sell signals require it to be below.
Signal Types:
Buy NOW: Stock crosses above SMA, KSE100 is bullish, stock above VWAP.
Buy: Stock above SMA, KSE100 bullish, stock above VWAP.
Sell NOW: Stock crosses below SMA, KSE100 bearish, stock below VWAP.
Sell: Stock below SMA, KSE100 bearish, stock below VWAP.
Neutral: Conditions not fully met.
No Data: Invalid or missing data.
Customizable Inputs:
SMA length (default: 5).
Timeframe (5, 15, 30, 60 minutes, daily; default: 30 minutes).
KSE100 symbol (default: "PSX:KSE100").
Color-Coded Signals: Green (Buy), lime (Buy NOW), red (Sell), orange (Sell NOW), gray (No Data), white (Neutral).
Stock Coverage: Tracks 19 PSX stocks (e.g., FFC, OGDC, HUBC, UBL, MCB, LUCK).
Error Handling: Handles invalid symbols or missing data with "No Data" signals.
How It Works
Fetches KSE100 and stock prices in the selected timeframe (default: 30 minutes) and daily VWAP.
Calculates SMA for KSE100 and stocks; evaluates VWAP position.
Generates signals when all conditions align, based on the 30-minute candle close.
Displays results in two tables (Stock, Signal, Timeframe) at top-right and top-center.
Usage Instructions
Add the indicator to your TradingView chart.
Configure inputs: SMA length, timeframe, KSE100 symbol.
View tables showing signals for 19 PSX stocks.
Use signals to guide trading, combining with other analysis.
Adjust table positions if needed (modify position.top_right/top_center).
Ideal For
PSX traders using SMA and VWAP strategies.
Swing/day traders seeking filtered signals.
Investors tracking KSE100 and stock trends.
Limitations
Limited to 19 stocks due to TradingView’s 40-security-call limit.
Signals rely on SMA, VWAP, and KSE100; combine with other analysis.
Hardcoded stock list; contact the author for customizations.
Notes
Verify stock symbols are valid on your TradingView platform.
Best on 1920x1080+ resolution. Adjust chart scaling if tables overlap.
Published on June 12, 2025, at 11:50 AM PKT.
Disclaimer
Trading carries risk. This indicator is for informational purposes only and not financial advice. Conduct your own research before trading.
NonLag MAThe Non-Lag Moving Average (MA) is a technical analysis indicator designed to track price trends with significantly less lag than traditional moving averages like the SMA or EMA.
Its primary purpose is to provide a smoother, more responsive representation of the current price direction. It achieves this by using a complex, adaptive filtering algorithm—often involving trigonometric functions (like the cosine function in the code you provided)—to assign weights to past price data. This sophisticated calculation allows it to stay closer to the price action, aiming to give earlier and more reliable trend signals.
Traders use the Non-Lag MA to:
Identify Trend Direction : The slope and color of the indicator line clearly signal whether the market is in an uptrend (rising) or a downtrend (falling).
Generate Crossover Signals : Like other moving averages, a faster Non-Lag MA crossing above a slower one can indicate a buy signal, while a cross below can signal a sell.
---
Just another publicly available indicator from MT5 translated.
4H & 1D Sig_chartbugRohmoohyun is alive
Auxiliary Indicator for Buy/Sell Signals Using Bollinger Bands and Moving Averages.
Recommended for NASDAQ, Gold, Oil, BTC, Stocks on 4-hour or higher timeframes.
For Ethereum, Ripple, and other volatile altcoins, it is advisable to also check the daily chart.
Indicator Idea: This strategy utilizes two types of indicators: Bollinger Bands as a volatility (or momentum) indicator, and Moving Averages as a trend indicator. A triangle signal is generated in zones where the Bollinger Bands converge (squeeze). After a candle closes, a Rocket icon will appear, at which point a trading strategy can be devised based on the prevailing trend indicated by the Moving Averages.
Indicator Feature: When used on timeframes of 4 hours or higher, this indicator is extremely powerful for establishing trading criteria, especially when combined with trend analysis and support/resistance zones.
Basic Trading Method: Enter a position at the Rocket icon + Immediately set a stop-loss (e.g., at the previous low/high, a maximum loss threshold like 2% of capital, or at a level planned for a second entry to average down) + Take partial profit (e.g., 50%) at your desired TP level, then move the stop-loss to your entry price (break-even) and hold the remainder of the position.
Recommended Timeframes: 5-minute, 4-hour, 1-day.
Trading Strategy
Pullback Trading / Trend Reversal Trading.
Instrument Selection (Commodities & Indices, Crypto, NASDAQ-listed Stocks).
Understand Instrument Characteristics (The three categories behave differently, so backtesting before use is essential).
a) Bullish Alignment (Price > 20MA > 200MA)
: Focus primarily on long (buy) positions.
: If attempting a counter-trend (short) trade, do so only with multiple confirmations, such as RSI/Disparity divergence and a major resistance zone. Use a tight stop-loss.
b) Bearish Alignment (Price < 20MA < 200MA)
: The opposite of the above; focus on short (sell) positions.
c) During a Bullish Trend, Price is Between MAs (200MA < Price < 20MA)
: This indicates either a consolidation phase within an uptrend or a potential early sign of a reversal to a downtrend. Consider both possibilities.
: A possible approach is to allocate capital with a 60% bias to long positions and a 40% bias to short positions (unlike in full bullish/bearish alignments where counter-trend trading has a poor risk/reward ratio).
: If it turns out to be a reversal point, you can enter a position at the very beginning of a new trend, allowing for a longer ride.
: It's recommended to take partial profits rather than closing the entire position. For instance, close half and move the stop-loss to your entry price to eliminate risk while keeping profit potential open.
d) During a Bearish Trend, Price is Between MAs (200MA > Price > 20MA)
: The opposite of the above.
Instrument-Specific Characteristics
Commodities & Indices (NASDAQ, Oil, Gold)
: The indicator was primarily developed and tested on NASDAQ and Gold, so it tends to work well with them.
: However, NASDAQ often exhibits strong, one-way trends, so a trend-following approach is highly recommended.
: Gold and Oil tend to have significant reversals from key support/resistance zones.
Crypto
: These assets are extremely volatile, so use this indicator with caution and skill.
: It performs reasonably well with BTC. For anything from Ethereum downwards, the price action can be chaotic, so it's crucial to use the daily chart and other confirming factors.
: Instead of frequent day trading, focus on long-term positions, reduce the number of trades, and aim for entries with a good average price.
NASDAQ-listed Stocks
: Recommended for a long-term, accumulation-style investment approach.
: Use the indicator not as a signal that "it will pump immediately!" but rather as a sign that "this is a decent entry point to build a position."
: Alternatively, it can be used for more active swing trading (buy, sell, repeat).
Important Disclaimers
This is an auxiliary indicator, as the name implies. Do not trust it blindly.
When entering a position, immediately set your stop-loss or have a plan for a single additional entry (max one recommended).
Always use it in conjunction with other forms of analysis.
Track your performance (win rate, risk/reward ratio) based on this strategy.
Continuously refine and improve your approach.
A+ Trade CheckList with Comprehensive Relative StrengthThe indicator designed for traders who need real-time market assessment across multiple timeframes and benchmarks. This comprehensive tool combines traditional technical analysis with sophisticated relative strength measurements to provide a complete market picture in one convenient table display.
The indicator tracks essential trading levels including:
QQQ and SPY trend analysis using exponential moving averages
Previous day and week high/low levels for key support and resistance
Market open levels from the first 5 and 15 minutes of trading (9:30 AM ET)
VWAP positioning for institutional price reference
Short-term EMA positioning for momentum assessment
Advanced Relative Strength Analysis
The standout feature of this indicator is its comprehensive 8-metric relative strength scoring system that compares your current ticker against both QQQ (Nasdaq-100) and SPY (S&P 500) benchmarks.
The 4-Metric Relative Strength System Explained
Metric 1: Relative Strength Ratio (RSR)
Purpose: Measures whether your ticker is outperforming or underperforming relative to its historical relationship with the benchmarks.
How it works:
Calculates the ratio of your ticker's price to QQQ/SPY prices
Compares current ratio to a 20-period moving average of the ratio
Scores +1 if ratio is above average (relative strength), -1 if below (relative weakness)
Trading significance: Identifies when a stock is breaking out of its normal correlation pattern with major indices.
Metric 2: Percentage-Based Relative Performance
Purpose: Compares short-term percentage changes to identify immediate relative momentum.
How it works:
Calculates 5-day percentage change for your ticker and benchmarks
Subtracts benchmark performance from ticker performance
Scores +1 if outperforming by >1%, -1 if underperforming by >1%, 0 for neutral
Trading significance: Captures recent momentum shifts and identifies stocks moving independently of market direction.
Metric 3: Beta-Adjusted Relative Strength (Alpha)
Purpose: Measures risk-adjusted performance by accounting for the ticker's natural volatility relationship with benchmarks.
How it works:
Calculates rolling beta (correlation and variance relationship)
Determines expected returns based on benchmark moves and beta
Measures alpha (excess returns above/below expectations)
Scores based on whether alpha is consistently positive or negative
Trading significance: Identifies stocks generating returns beyond what their risk profile would suggest, indicating fundamental strength or weakness.
Metric 4: Volume-Weighted Relative Strength
Purpose: Incorporates volume analysis to validate price-based relative strength signals.
How it works:
Compares VWAP-based percentage changes between ticker and benchmarks
Applies volume weighting factor based on relative volume strength
Enhances score when high relative volume confirms price movements
Trading significance: Distinguishes between genuine institutional-driven moves and low-volume price action that may not sustain.
Combined Scoring System
The indicator generates 8 individual scores (4 metrics × 2 benchmarks) that combine into a single strength assessment:
Score Interpretation
Strong (4-8 points): Ticker significantly outperforming both benchmarks across multiple methodologies
Moderate Strong (1-3 points): Ticker showing good relative strength with some mixed signals
Neutral (0 points): Balanced performance relative to benchmarks
Moderate Weak (-1 to -3 points): Ticker showing relative weakness with some mixed signals
Weak (-4 to -8 points): Ticker significantly underperforming both benchmarks
Display Format
The indicator shows results as: "Strong (6/8)" indicating the ticker scored 6 out of 8 possible points.
Outside Bar Strategy with Multiple Entry ModelsOutside Bar Strategy with Multiple Entry Models
This Pine Script strategy implements a versatile trading system based on the Outside Bar pattern, offering three distinct entry models: Close Entry, High/Low Entry, and Midpoint Entry. Designed for traders seeking flexibility, the strategy includes customizable risk/reward ratios, an optional EMA trend filter, and enhanced visualization with line fills.
Key Features:
Entry Models:
Close Entry: Enters a long position when the current candle closes above the high of the previous outside bullish bar . For short, it enters when the candle closes below the low of the previous outside bearish bar.
High/Low Entry: Enters a long position when the price crosses above the high of the previous outside bullish bar . For short, it enters when the price crosses below the low of the previous outside bearish bar .
Midpoint Entry: Places a limit order at the midpoint of the previous outside bar, entering when the price reaches this level.
EMA Trend Filter: Optionally filters signals based on the alignment of EMAs (7 > 25 > 99 > 200 for long, 7 < 25 < 99 < 200 for short). Can be toggled via the Use EMA Filter input.
Risk/Reward Management: Configurable risk/reward ratio (default 2.0) with stop-loss set at the low/high of the outside bar and take-profit calculated based on the bar's range multiplied by the ratio.
Visualization:
Lines for entry, stop-loss, and take-profit levels (dashed for active trades, solid for pending Midpoint Entry orders).
Line fills: Red between entry and stop-loss, green between entry and take-profit.
Previous lines and fills persist on the chart for historical reference (line deletion disabled).
Pending limit orders for Midpoint Entry extend dynamically to the right until triggered or canceled.
Information Table: Displays real-time trade details (entry model, RR ratio, open trade status, entry/stop/take-profit levels, profit/loss percentage) and strategy statistics (success rate, total trades). For Midpoint Entry, pending order details are shown.
Inputs:
Entry Model: Choose between Close Entry, High/Low Entry, or Midpoint Entry (default: Close Entry).
Risk/Reward Ratio: Set the RR ratio (default: 2.0, step: 0.5).
Use EMA Filter: Enable/disable the EMA trend filter (default: true).
Line Colors and Style: Customize colors for entry, stop-loss, and take-profit lines, and select line style (solid or dashed).
Table Settings: Adjust table text color, size (small/normal/large), and position (right top/middle/bottom).
Disclaimer: This strategy is for educational purposes only. Backtest thoroughly and use at your own risk. Past performance is not indicative of future results.
Toolbar-FrenToolbar-Fren is a comprehensive, data-rich toolbar designed to present a wide array of key metrics in a compact and intuitive format. The core philosophy of this indicator is to maximize the amount of relevant, actionable data available to the trader while occupying minimal chart space. It leverages a dynamic color-coded system to provide at-a-glance insights into market conditions, instantly highlighting positive/negative values, trend strength, and proximity to important technical levels.
Features and Data Displayed
The toolbar displays a vertical column of critical data points, primarily calculated on the Daily timeframe to give a broader market context. Each cell is color-coded for quick interpretation.
DAY:
The percentage change of the current price compared to the previous day's close. The cell is colored green for a positive change and red for a negative one.
LOD:
The current price's percentage distance from the Low of the Day.
HOD
The current price's percentage distance from the High of the Day.
MA Distances (9/21 or 10/20, 50, 200)
These cells show how far the current price is from key Daily moving averages (MAs).
The values are displayed either as a percentage distance or as a multiple of the Average Daily Range (ADR), which can be toggled in the settings.
The cells are colored green if the price is above the corresponding MA (bullish) and red if it is below (bearish).
ADR
Shows the 14-period Average Daily Range as a percentage of the current price. The cell background uses a smooth gradient from green (low volatility) to red (high volatility) to visualize the current daily range expansion.
ADR%/50: A unique metric showing the distance from the Daily 50 SMA, measured in multiples of the 14-period Average True Range (ATR). This helps quantify how extended the price is from its mean. The cell is color-coded from green (close to the mean) to red (highly extended).
RSI
The standard 14-period Relative Strength Index calculated on the Daily timeframe. The background color changes to indicate potentially overbought (orange/red) or oversold (green) conditions.
ADX
The 14-period Average Directional Index (ADX) from the Daily timeframe, which measures trend strength. The cell is colored to reflect the strength of the trend (e.g., green for a strong trend, red for a weak/non-trending market). An arrow (▲/▼) is also displayed to indicate if the ADX value is sloping up or down.
User Customization
The indicator offers several options for personalization to fit your trading style and visual preferences:
MA Type
Choose between using Exponential Moving Averages (EMA 9/21) or Simple Moving Averages (SMA 10/20) for the primary MA calculations.
MA Distance Display
Toggle the display of moving average distances between standard percentage values and multiples of the Average Daily Range (ADR).
Display Settings
Fully customize the on-chart appearance by selecting the table's position (e.g., Top Right, Bottom Left) and the text size. An option for a larger top margin is also available.
Colors
Personalize the core Green, Yellow, Orange, and Red colors used throughout the indicator to match your chart's theme.
Technical Parameters
Fine-tune the length settings for the ADX and DI calculations.
EMA 50/200 Pullback + RSI/SMA RSI
Strategy Description: EMA 50/200 Pullback + RSI/SMA RSI
1. Trend Identification with EMA:
Uses two Exponential Moving Averages (EMA): a fast EMA (default 50) and a slow EMA (default 200).
When the fast EMA crosses above the slow EMA (bullish crossover), an uptrend is identified.
When the fast EMA crosses below the slow EMA (bearish crossover), a downtrend is identified.
The lengths of both EMAs are fully customizable.
2. EMA Distance Condition:
Signals are only valid when the absolute percentage distance between the two EMAs is within a user-defined range (default: 0.4% to 1%).
This helps filter out weak signals when the EMAs are too close or too far apart.
3. Pullback Condition:
After a new trend is detected (EMA crossover), the strategy waits for the price to pull back to touch or cross the fast EMA (EMA 50).
This ensures entries are not taken immediately at the crossover, but after a retracement to a dynamic support/resistance area.
4. RSI Confirmation:
Uses the RSI indicator (default 14) and its Simple Moving Average (SMA RSI, default 14).
Buy signal: RSI crosses above its SMA.
Sell signal: RSI crosses below its SMA.
Both RSI and SMA RSI lengths are fully customizable.
5. Entry Rules:
The indicator only gives the first buy/sell signal after each EMA crossover (start of a new trend), and will not repeat signals until the next EMA crossover.
Buy signal:
Fast EMA crosses above slow EMA
EMA distance is within the valid range
Price pulls back to the fast EMA
RSI crosses above its SMA
Sell signal:
Fast EMA crosses below slow EMA
EMA distance is within the valid range
Price pulls back to the fast EMA
RSI crosses below its SMA
6. Customization:
All parameters (EMA lengths, RSI length, SMA RSI length, EMA distance range) can be adjusted in the indicator’s settings.
Note:
This is a signal indicator, not a complete trading strategy. For real trading, always combine with risk management and additional confirmations.
4-EMA Signals + MTF Analysis4-EMA Signals + MTF Analysis Indicator: User Guide
This indicator is designed for active traders; from scalpers / intra-day traders to swing-traders who simply want an easy to understand, simple, but yet comprehensive and easy-to-understand indicator with a quick overview of initial market momentum and overall market direction to assist the trader in their initial trading.
The main feature of this indicator is that It overlays four exponential moving averages (EMAs), and provides a dashboard of real-time trend signals for both buy and sell (long/short) scenarios.
Settings Overview
MA Period Setup
Custom: Set your own EMA periods.
Conservative, Aggressive, Fibonacci: Quickly apply preset EMA period combinations for different trading styles.
EMA Periods (Custom Setup)
Fast EMA: Shortest EMA, reacts quickly to price (default 7).
Medium-Short EMA: Intermediate speed (default 25).
Medium-Long EMA: Slower, filters out more noise (default 70).
Slow EMA: Longest-term trend (default 200).
(These settings can be adjusted to suit your individual needs)
Main Indicator Features
Four EMAs : Plotted in distinct colors (green, yellow, orange, red) for quick trend recognition - this can be altered in colour to your personal preferences.
Buy/Sell Signals : Triangles appear below/above bars when EMA crossovers occur, optionally filtered by volume - the volume filter when applied greatly reduces the influx of signals, only giving high-quality signals!
Trading Sessions + Backgrounds : A trading session feature has been added: (London, New York, Asia, Sydney) with the choice of a background to indicate each global trading session.
Volume Overlay : Volume bars and a blue volume moving average line for context.
Dashboard Table (Top Right):
Market Direction: Shows the overall EMA alignment (bullish, bearish, weak, consolidating).
The initial trend on the 5m, 15m, 1H, and 4H time-frame to give a quick snapshot of overall trend direction.
How to Use
Trend Identification :
-- Use the EMA alignment and dashboard table to quickly see if the market is bullish, bearish, or consolidating.
EMA Set-up
-- Adjust the EMA settings to your specific requirements, the signals will alter depending on the volatility of the instrument your trading.
Signal Confirmation :
-- ''Buy'' signals simply appear when the faster EMAs cross above slower EMAs in and ''Sell'' signals simply appear when they cross below.
Volume Context :
--Use the volume moving average and the optional volume filter to avoid signals during low-activity periods.
No Repainting :
-- All signals and dashboard readings are calculated using only confirmed, closed bars. What you see in real time is exactly what will appear in your back-test — no repainting or look-ahead bias.
Alerts / Notifications
Now for the fun part:
1. Enable Buy/Sell Signal Alerts: Get notifications when buy or sell signals occur.
2. For Alerts to function correctly, set the ''condition'' to the indicator itself.
3. Select ''EMA Bearish Cross'' or ''EMA Bullish Cross'' depending whether you want alerts for either buy/sell signals - Or one can simply set alerts for both scenarios.
4. For ''Interval'' set to ''Same as chart'' - So, the time-frame which you'd like to trade on.
5. For ''Trigger'' set to ''Once Per Bar Close''.
6. Save.
7. Wait for a signal to occur!
NOTE: Before placing a trade, it's often best to also assess the market conditions at that time also - and not rely solely on the signals, the signals are to assist, and it's often occurred a signal has shown, but a pull-back occurs, and a FVG in discount holds -- it's this FVG holding, accompanied by volume, that's the real entry, possibly.
Tip: For the cleanest results, use the indicator during the most active sessions and always check multi-time-frame trend alignment before entering trades. Good Luck! :)
Advanced MA Crossover with RSI Filter
===============================================================================
INDICATOR NAME: "Advanced MA Crossover with RSI Filter"
ALTERNATIVE NAME: "Triple-Filter Moving Average Crossover System"
SHORT NAME: "AMAC-RSI"
CATEGORY: Trend Following / Momentum
VERSION: 1.0
===============================================================================
ACADEMIC DESCRIPTION
===============================================================================
## ABSTRACT
The Advanced MA Crossover with RSI Filter (AMAC-RSI) is a sophisticated technical analysis indicator that combines classical moving average crossover methodology with momentum-based filtering to enhance signal reliability and reduce false positives. This indicator employs a triple-filter system incorporating trend analysis, momentum confirmation, and price action validation to generate high-probability trading signals.
## THEORETICAL FOUNDATION
### Moving Average Crossover Theory
The foundation of this indicator rests on the well-established moving average crossover principle, first documented by Granville (1963) and later refined by Appel (1979). The crossover methodology identifies trend changes by analyzing the intersection points between short-term and long-term moving averages, providing traders with objective entry and exit signals.
### Mathematical Framework
The indicator utilizes the following mathematical constructs:
**Primary Signal Generation:**
- Fast MA(t) = Exponential Moving Average of price over n1 periods
- Slow MA(t) = Exponential Moving Average of price over n2 periods
- Crossover Signal = Fast MA(t) ⋈ Slow MA(t-1)
**RSI Momentum Filter:**
- RSI(t) = 100 -
- RS = Average Gain / Average Loss over 14 periods
- Filter Condition: 30 < RSI(t) < 70
**Price Action Confirmation:**
- Bullish Confirmation: Price(t) > Fast MA(t) AND Price(t) > Slow MA(t)
- Bearish Confirmation: Price(t) < Fast MA(t) AND Price(t) < Slow MA(t)
## METHODOLOGY
### Triple-Filter System Architecture
#### Filter 1: Moving Average Crossover Detection
The primary filter employs exponential moving averages (EMA) with default periods of 20 (fast) and 50 (slow). The exponential weighting function provides greater sensitivity to recent price movements while maintaining trend stability.
**Signal Conditions:**
- Long Signal: Fast EMA crosses above Slow EMA
- Short Signal: Fast EMA crosses below Slow EMA
#### Filter 2: RSI Momentum Validation
The Relative Strength Index (RSI) serves as a momentum oscillator to filter signals during extreme market conditions. The indicator only generates signals when RSI values fall within the neutral zone (30-70), avoiding overbought and oversold conditions that typically result in false breakouts.
**Validation Logic:**
- RSI Range: 30 ≤ RSI ≤ 70
- Purpose: Eliminate signals during momentum extremes
- Benefit: Reduces false signals by approximately 40%
#### Filter 3: Price Action Confirmation
The final filter ensures that price action aligns with the indicated trend direction, providing additional confirmation of signal validity.
**Confirmation Requirements:**
- Long Signals: Current price must exceed both moving averages
- Short Signals: Current price must be below both moving averages
### Signal Generation Algorithm
```
IF (Fast_MA crosses above Slow_MA) AND
(30 < RSI < 70) AND
(Price > Fast_MA AND Price > Slow_MA)
THEN Generate LONG Signal
IF (Fast_MA crosses below Slow_MA) AND
(30 < RSI < 70) AND
(Price < Fast_MA AND Price < Slow_MA)
THEN Generate SHORT Signal
```
## TECHNICAL SPECIFICATIONS
### Input Parameters
- **MA Type**: SMA, EMA, WMA, VWMA (Default: EMA)
- **Fast Period**: Integer, Default 20
- **Slow Period**: Integer, Default 50
- **RSI Period**: Integer, Default 14
- **RSI Oversold**: Integer, Default 30
- **RSI Overbought**: Integer, Default 70
### Output Components
- **Visual Elements**: Moving average lines, fill areas, signal labels
- **Alert System**: Automated notifications for signal generation
- **Information Panel**: Real-time parameter display and trend status
### Performance Metrics
- **Signal Accuracy**: Approximately 65-70% win rate in trending markets
- **False Signal Reduction**: 40% improvement over basic MA crossover
- **Optimal Timeframes**: H1, H4, D1 for swing trading; M15, M30 for intraday
- **Market Suitability**: Most effective in trending markets, less reliable in ranging conditions
## EMPIRICAL VALIDATION
### Backtesting Results
Extensive backtesting across multiple asset classes (Forex, Cryptocurrencies, Stocks, Commodities) demonstrates consistent performance improvements over traditional moving average crossover systems:
- **Win Rate**: 67.3% (vs 52.1% for basic MA crossover)
- **Profit Factor**: 1.84 (vs 1.23 for basic MA crossover)
- **Maximum Drawdown**: 12.4% (vs 18.7% for basic MA crossover)
- **Sharpe Ratio**: 1.67 (vs 1.12 for basic MA crossover)
### Statistical Significance
Chi-square tests confirm statistical significance (p < 0.01) of performance improvements across all tested timeframes and asset classes.
## PRACTICAL APPLICATIONS
### Recommended Usage
1. **Trend Following**: Primary application for capturing medium to long-term trends
2. **Swing Trading**: Optimal for 1-7 day holding periods
3. **Position Trading**: Suitable for longer-term investment strategies
4. **Risk Management**: Integration with stop-loss and take-profit mechanisms
### Parameter Optimization
- **Conservative Setup**: 20/50 EMA, RSI 14, H4 timeframe
- **Aggressive Setup**: 12/26 EMA, RSI 14, H1 timeframe
- **Scalping Setup**: 5/15 EMA, RSI 7, M5 timeframe
### Market Conditions
- **Optimal**: Strong trending markets with clear directional bias
- **Moderate**: Mild trending conditions with occasional consolidation
- **Avoid**: Highly volatile, range-bound, or news-driven markets
## LIMITATIONS AND CONSIDERATIONS
### Known Limitations
1. **Lagging Nature**: Inherent delay due to moving average calculations
2. **Whipsaw Risk**: Potential for false signals in choppy market conditions
3. **Range-Bound Performance**: Reduced effectiveness in sideways markets
### Risk Considerations
- Always implement proper risk management protocols
- Consider market volatility and liquidity conditions
- Validate signals with additional technical analysis tools
- Avoid over-reliance on any single indicator
## INNOVATION AND CONTRIBUTION
### Novel Features
1. **Triple-Filter Architecture**: Unique combination of trend, momentum, and price action filters
2. **Adaptive Alert System**: Context-aware notifications with detailed signal information
3. **Real-Time Analytics**: Comprehensive information panel with live market data
4. **Multi-Timeframe Compatibility**: Optimized for various trading styles and timeframes
### Academic Contribution
This indicator advances the field of technical analysis by:
- Demonstrating quantifiable improvements in signal reliability
- Providing a systematic approach to filter optimization
- Establishing a framework for multi-factor signal validation
## CONCLUSION
The Advanced MA Crossover with RSI Filter represents a significant evolution of classical moving average crossover methodology. Through the implementation of a sophisticated triple-filter system, this indicator achieves superior performance metrics while maintaining the simplicity and interpretability that make moving average systems popular among traders.
The indicator's robust theoretical foundation, empirical validation, and practical applicability make it a valuable addition to any trader's technical analysis toolkit. Its systematic approach to signal generation and false positive reduction addresses key limitations of traditional crossover systems while preserving their fundamental strengths.
## REFERENCES
1. Granville, J. (1963). "Granville's New Key to Stock Market Profits"
2. Appel, G. (1979). "The Moving Average Convergence-Divergence Trading Method"
3. Wilder, J.W. (1978). "New Concepts in Technical Trading Systems"
4. Murphy, J.J. (1999). "Technical Analysis of the Financial Markets"
5. Pring, M.J. (2002). "Technical Analysis Explained"
M2 GLI SD BandsHighly customizable M2 Global Liquidity Index with adaptive standard deviation bands.
The SD bands incorporate data from M2 with varying lags to capture M2's full impact on the price of Bitcoin spread across multiple weeks.
EMAs are used for smoothing. Offset, smoothing, and other features are customizable.
Price Imbalance Flow Tracker (PIFT)Price Imbalance Flow Tracker (PIFT)
PIFT is a visual volatility and structure indicator that maps market imbalance zones using dynamic envelope logic. It plots three sets of envelope bands derived from different moving averages — short, medium, and long — with volatility-based offsets scaled by ATR. These envelopes adapt in real time to reflect momentum expansion, compression, and directional pressure.
- The system highlights only the dominant envelope layer at any given moment (short cancels medium/long, medium cancels long) to reduce clutter and help you focus on the most reactive structure.
- There’s also a central yellow zone representing the core trend channel — a tighter band derived from the short MA, helping you track price containment and breakout zones.
- The green and red fills show where price is expanding beyond core levels, acting as pressure zones. These fills compress during consolidations and widen during impulse moves, giving you a clean read on momentum shifts.
You can toggle:
- Full grid view (all envelopes)
- Core channel only
- Price tracks (moving averages)
- Dynamic pressure zones
Use PIFT to:
- Identify clean trend continuation inside the yellow zone
- Spot momentum exhaustion when price rides the outer bands
- Filter false moves when fills contract but price keeps drifting
- See structure shifts before standard indicators like Bollinger Bands react
This isn’t just another moving average overlay. It’s a dynamic envelope hierarchy built for traders who want to read price flow — not just lagging trend direction.
See the following images for a more in-depth breakdown.
1.)
2.)
3.)
4.)
5.)
6.)
7.)
8.)
9.)
10.)
11.)
12.)
13.)
14.)
Uptrick: Mean ReversionOverview
Uptrick: Mean Reversion is a technical indicator designed to identify statistically significant reversal opportunities by monitoring market extremes. It presents a unified view of multiple analytical layers—momentum shifts, extreme zones, divergence patterns, and a multi-factor bias dashboard—within a single pane. By translating price momentum into a normalized framework, it highlights areas where prices are likely to revert to their average range.
Introduction
Uptrick: Mean Reversion relies on several core concepts:
Volatility normalization
The indicator rescales recent market momentum into a common scale so that extreme readings can be interpreted consistently across different assets and timeframes.
Mean reversion principle
Markets often oscillate around an average level. When values stray too far beyond typical ranges, a return toward the mean is likely. Uptrick: Mean Reversion detects when these extremes occur.
Momentum inflection
Sharp changes in momentum direction frequently presage turning points. The indicator watches for shifts from upward momentum to downward momentum (and vice versa) to help time entries and exits.
Divergence
When price trends and internal momentum readings move in opposite directions, it can signal weakening momentum and an impending reversal. Uptrick: Mean Reversion flags such divergence conditions directly on the indicator pane.
Multi-factor sentiment
No single metric tells the entire story. By combining several independent sentiment measures—price structure, momentum, oscillators, and external market context—Uptrick: Mean Reversion offers a more balanced view of overall market bias.
Purpose
Uptrick: Mean Reversion was created for traders who focus on countertrend opportunities rather than simply following established trends. Its main objectives are:
Spot extreme conditions
By normalizing momentum into a standardized scale, the indicator clearly marks when the market is in overbought or oversold territory. These conditions often align with points where a snapback toward average is more probable.
Provide reversal signals
Built-in logic detects when momentum shifts direction within extreme zones and displays clear buy or sell markers to guide countertrend entries and exits.
Highlight hidden divergences
Divergence between price and internal momentum can suggest underlying weakness or strength ahead of actual price moves. Uptrick: Mean Reversion plots these divergences directly, allowing traders to anticipate reversals earlier.
Offer contextual bias
A dynamic dashboard aggregates multiple independent indicators—based on recent price action, momentum readings, common oscillators, and broader market context—to produce a single sentiment label. This helps traders determine whether mean reversion signals align with or contradict overall market conditions.
Cater to lower timeframes
Mean reversion tends to occur more frequently and reliably on shorter timeframes (for example, 5-minute, 15-minute, or 1-hour charts). Uptrick: Mean Reversion is optimized for these nimble environments, where rapid reversals can be captured before a larger trend takes hold.
Originality and Uniqueness
Uptrick: Mean Reversion stands out for several reasons:
Proprietary normalization framework
Instead of relying on raw oscillator values, it transforms momentum into a standardized scale. This ensures that extreme readings carry consistent meaning across different assets and volatility regimes.
Inflection-based signals
The indicator waits for a clear shift in momentum direction within extreme zones before plotting reversal markers. This approach reduces false signals compared to methods that rely solely on fixed threshold crossings.
Embedded divergence logic
Divergence detection is handled entirely within the same pane. Rather than requiring a separate indicator window, Uptrick: Mean Reversion identifies instances where price and internal momentum readings do not align and signals those setups directly on the chart.
Adjustable sensitivity profiles
Traders can choose from predefined risk profiles—ranging from very conservative to very aggressive—to automatically adjust how extreme a reading must be before triggering a signal. This customization helps balance between capturing only the most significant reversals or generating more frequent, smaller opportunities.
Multi-factor bias dashboard
While many indicators focus on a single metric, Uptrick: Mean Reversion aggregates five distinct sentiment measures. By balancing price-based bias, momentum conditions, and broader market context, it offers a more nuanced view of when to take—or avoid—countertrend trades.
Why Indicators Were Merged
Proprietary momentum oscillator
A custom-built oscillator rescales recent price movement into a normalized range. This core component underpins all signal logic and divergence checks, allowing extreme readings to be identified consistently.
Inflection detection
By comparing recent momentum values over a configurable lookback interval, the indicator identifies clear shifts from rising to falling momentum (and vice versa). These inflection points serve as a prerequisite for reversal signals when combined with extreme conditions.
Divergence framework
Local peaks and troughs are identified within the normalized oscillator and compared to corresponding price highs and lows. When momentum peaks fail to follow price to new extremes (or vice versa), a divergence alert appears, suggesting weakening momentum ahead of a price turn.
Classic price bias
Recent bar structures are examined to infer whether the immediate past price action was predominantly bullish, bearish, or neutral. This provides one piece of the overall sentiment picture.
Smoothed oscillator bias
A secondary oscillator reading is smoothed and compared to a central midpoint to generate a simple bullish or bearish reading.
Range-based oscillator bias
A familiar range-bound oscillator is used to detect oversold or overbought readings, contributing to the sentiment score.
Classic momentum crossover bias
A traditional momentum check confirms whether momentum currently leans bullish or bearish.
External market trend bias
The indicator monitors a major currency’s short-term trend to gauge broader market risk appetite. A falling currency—often associated with higher risk tolerance—contributes a bullish bias point, while a rising currency adds a bearish point.
All these elements run concurrently. Each piece provides a “vote” toward an overall sentiment reading. At the same time, the proprietary momentum oscillator drives both extreme-zone detection and divergence identification. By merging these inputs, the final result is a single pane showing both precise reversal signals and a unified market bias.
How It Works
At runtime, the indicator proceeds through the following conceptual steps:
Read user inputs (risk profile, lookback index, visual mode, color scheme, background highlighting, bias table display, divergence toggles).
Fetch the latest price data.
Process recent price movement through a proprietary normalization engine to produce a single, standardized momentum reading for each bar.
Track momentum over a configurable lookback interval to detect shifts in direction.
Compare the current momentum reading to dynamically determined extreme thresholds (based on the chosen risk profile).
If momentum has flipped from down to up within an oversold area, display a discrete buy marker. If momentum flips from up to down within an overbought area, display a sell marker.
Identify local peaks and troughs in the proprietary momentum series and compare to price highs and lows over a configurable range. When divergence criteria are met, display bullish or bearish divergence labels
Evaluate five independent sentiment measures—price bar bias, smoothed oscillator bias, range oscillator bias, traditional momentum crossover bias, and an external market trend bias—and assign each a +1 (bullish), –1 (bearish), or 0 (neutral) vote.
Average the five votes to produce an overall sentiment score. If the average exceeds a positive threshold, label the bias as bullish; if it falls below a negative threshold, label it as bearish; otherwise label it neutral.
Update the on-screen bias table at regular intervals, showing each individual metric’s value and vote, as well as the combined sentiment label.
Apply color fills to highlight extreme zones in the background and draw horizontal guideline bands around those extremes.
In complex visual mode, draw a cloud-like band that instantly changes color when momentum shifts. In simple mode, plot only a clean line of the normalized reading in a contrasting color.
Expose alert triggers whenever a buy/sell signal, divergence confirmation, or bias flip occurs, for use in automated notifications.
Inputs
Here is how each input affects the indicator:
Trading Style (very conservative / conservative / neutral / aggressive / very aggressive)
Determines how sensitive the indicator is to extreme readings. Conservative settings require more pronounced market deviations before signaling a reversal; aggressive settings signal more frequently at smaller deviations.
Slope Detection Index (integer)
Controls how many bars back the indicator looks to compare momentum for inflection detection. Lower numbers respond more quickly but can be noisy; higher numbers smooth out short-term fluctuations.
Visual Mode (simple / complex)
Simple mode plots only the normalized momentum line, colored according to the chosen palette. Complex mode draws a candle-style block for each bar—showing the range of momentum movement within that bar—with colored fills that switch instantly when momentum direction changes.
Color Scheme (multiple themes)
Select from preset color palettes to style bullish vs. bearish elements (fills, lines, labels). Options include bright neon tones, classic contrasting pairs, dark-mode palettes, and more, ensuring signals stand out against any chart background.
Enable Background Highlighting (true / false)
When true, extreme overbought or oversold zones are shaded in a semi-transparent color behind the main pane. This helps traders “see” when the market is in a normalized extreme state without relying solely on lines or markers.
Show Helper Scale Lines (true / false)
When true, hidden horizontal lines force the vertical scale to include a fixed range of extreme values—even if the indicator rarely reaches them—so traders always know where the most extreme limits lie.
Enable Divergence Detection (true / false)
Toggles whether the script looks for divergences between price and the proprietary momentum reading. When enabled, bullish/bearish divergence markers appear automatically whenever defined conditions are met.
Pivot Lookback Left & Pivot Lookback Right (integers)
Define how many bars to the left and right the indicator examines when identifying a local peak or trough in the momentum reading. Adjust these to capture divergences on different swing lengths.
Minimum and Maximum Bars Between Pivots (integers)
Set the minimum and maximum number of bars allowed between two identified peaks or troughs for a valid divergence. This helps filter out insignificant or overly extended divergence patterns.
Show Bias Table (true / false)
When enabled, displays a small table in the upper-right corner summarizing five independent sentiment votes and the combined bias label. Disable to keep the pane focused on only the momentum series and signals.
Features
1. Extreme-zone highlighting
Overbought and oversold areas appear as colored backgrounds when the proprietary momentum reading crosses dynamically determined thresholds. This gives an immediate visual cue whenever the market moves into a highly extreme condition.
2. Discrete reversal markers
Whenever momentum shifts direction within an extreme zone, the indicator plots a concise “Buy” or “Sell” label directly on the normalized series. These signals combine both extreme-zone detection and inflection confirmation, reducing false triggers.
3. Dynamic divergence flags
Local peaks and troughs of the proprietary momentum reading are continuously compared to corresponding price points. Bullish divergence (momentum trough rising while price trough falls) and bearish divergence (momentum peak falling while price peak rises) are flagged with small labels and lines. These alerts help traders anticipate reversals before price charts show clear signals.
4. Multi-factor sentiment dashboard
Five independent “votes” are tallied each bar:
• Price bar bias (based on recent bar structure)
• Smoothed oscillator bias (based on a popular momentum oscillator)
• Range oscillator bias (based on an overbought/oversold oscillator)
• Traditional momentum crossover bias (whether momentum is above or below its own smoothing)
• External market trend bias (derived from a major currency index’s short-term trend)
Each vote is +1 (bullish), –1 (bearish), or 0 (neutral). The average of these votes produces an overall sentiment label (Bullish, Bearish, or Neutral). The table updates periodically, showing each metric’s value, its vote, and the combined bias.
5. Versatile visual modes
Simple mode: Plots a single normalized momentum line in a chosen color. Ideal for clean charts.
Complex mode: Renders each bar’s momentum range as a candle-like block, with filled bodies that immediately change color when momentum direction flips. Edge lines emphasize the high/low range of momentum for that bar. This mode makes subtle momentum shifts visually striking.
6. Configurable sensitivity profiles
Five risk profiles (very conservative → very aggressive) automatically adjust how extreme the momentum reading must be before signaling. Conservative traders can wait for only the most dramatic reversals, while aggressive traders can capture more frequent, smaller mean-reversion moves.
7. Customizable color palettes
Twenty distinct color themes let users match the indicator to any chart background. Each theme defines separate colors for bullish fills, bearish fills, the momentum series, and divergence labels. Options range from classic contrasting pairs to neon-style palettes to dark-mode complements.
8. Unified plotting interface
Instead of scattering multiple indicators in separate panes, Uptrick: Mean Reversion consolidates everything—normalized momentum, background shading, threshold bands, reversal labels, divergence flags, and bias table—into a single indicator pane. This reduces screen clutter and places all relevant information in one view.
9. Built-in alert triggers
Six alert conditions are exposed:
Mean reversion buy signal (momentum flips in oversold zone)
Mean reversion sell signal (momentum flips in overbought zone)
Bullish divergence confirmation
Bearish divergence confirmation
Bias flip to bullish (when combined sentiment shifts from non-bullish to bullish)
Bias flip to bearish (when combined sentiment shifts from non-bearish to bearish)
Traders can attach alerts to any of these conditions to receive real-time notifications.
10. Scale anchoring
By forcing invisible horizontal lines at fixed extreme levels, the indicator ensures that the vertical axis always includes those extremes—even if the normalized reading rarely reaches them. This constant frame of reference helps traders judge how significant current readings are.
Line features:
Conclusion
Uptrick: Mean Reversion offers a layered, all-in-one approach to spotting countertrend opportunities. By converting price movement into a proprietary normalized momentum scale, it highlights extreme overbought and oversold zones. Inflection detection within those extremes produces clear reversal markers. Embedded divergence logic calls out hidden momentum weaknesses. A five-factor sentiment dashboard helps gauge whether a reversal signal aligns with broader market context. Users can tailor sensitivity, visual presentation, and color schemes, making it equally suitable for minimalist or richly detailed chart layouts. Optimized for lower timeframes, Uptrick: Mean Reversion helps traders anticipate statistically significant mean reversion moves.
Disclaimer
This indicator is provided for informational purposes only. It does not guarantee any trading outcome. Trading carries inherent risks, including the potential loss of invested capital. Users should perform their own due diligence, apply proper risk management, and consult a financial professional if needed. Past performance does not ensure future results.
Breakout TrendTiltFolio Breakout Trend indicator
The Breakout Trend indicator is designed to help traders clearly visualize trend direction by combining two complementary techniques: moving averages and Donchian-style breakout logic.
Rather than relying on just one type of signal, this indicator merges short-term and long-term moving averages with breakout levels based on recent highs and lows. The moving averages define the broader trend regime, while the breakout logic pinpoints moments when price confirms directional momentum. This layered approach filters out many false signals while still capturing high-conviction moves.
Yes, these are lagging indicators by design — and that’s the point. Instead of predicting every wiggle, the Breakout Trend waits for confirmation, offering higher signal quality and fewer whipsaws. When the price breaks above a recent high and sits above the long-term moving average, the trend is more likely to persist. That’s when this indicator shines.
While it performs best on higher timeframes (daily/weekly), it's also adaptable to shorter timeframes for intraday traders who value clean, systematic trend signals.
For early signal detection, we recommend pairing this with TiltFolio’s Buying/Selling Proxy, which anticipates pressure buildups—albeit with more noise.
It's easy to read and built for real-world trading discipline.
GStrategy 1000Pepe 15mTrend Following Candlestick Strategy with EMA Filter and Exit Delay
Strategy Concept
This strategy combines candlestick patterns with EMA trend filtering to identify high-probability trade entries, featuring:
Entry Signals: Hammer and Engulfing patterns confirmed by EMA trend
Trend Filter: Fast EMA (20) vs Slow EMA (50) crossover system
Risk Management: 5% stop-loss + 1% trailing stop
Smart Exit: 2-bar delay after exit signals to avoid whipsaws
Key Components
Trend Identification:
Uptrend: Fast EMA > Slow EMA AND rising
Downtrend: Fast EMA < Slow EMA AND falling
Entry Conditions:
pinescript
// Bullish Entry (Long)
longCondition = (Hammer OR Bullish Engulfing)
AND Uptrend
AND no existing position
// Bearish Entry (Short)
shortCondition = Bearish Engulfing
AND Downtrend
AND no existing position
Exit Mechanics:
Primary Exit: EMA crossover (Fast crosses Slow)
Delayed Execution: Waits 2 full candles after signal
Emergency Exits:
5% fixed stop-loss
1% trailing stop
Visual Dashboard:
Colored EMA lines (Blue=Fast, Red=Slow)
Annotated candlestick patterns
Background highlighting for signals
Distinct markers for entries/exits
Unique Features
Pattern Recognition:
Enhanced Hammer detection (strict body/wick ratios)
Multi-candle engulfing confirmation
Trend-Confirmation:
Requires price and EMA alignment
Filters counter-trend patterns
Exit Optimization:
pinescript
// Delay implementation
if exit_signal_triggered
counter := 2 // Start countdown
else if counter > 0
counter -= 1 // Decrement each bar
exit_trade = (counter == 1) // Execute on final bar
Risk Parameters
Parameter Value Description
Stop Loss 5% Fixed risk per trade
Trailing Stop 1% Locks in profits
Exit Delay 2 bars Reduces false exits
Position Size 100% No pyramiding
Visualization Examples
🟢 Green Triangle: Bullish entry
🔴 Red Triangle: Bearish entry
⬇️ Blue X: Long exit (after delay)
⬆️ Green X: Short exit (after delay)
🎯 Pattern Labels: Identifies hammer/engulfing
Recommended Use
Timeframes: 1H-4H (reduces noise)
Markets: Trend-prone assets (FX, indices)
Best Conditions: Strong trending markets
Avoid: Choppy/Ranging markets
BACAP PRICE STRUCTURE 21 EMA TREND21dma-STRUCTURE
Overview
The 21dma-STRUCTURE indicator is a sophisticated overlay indicator that visualizes price action relative to a triple 21-period exponential moving average structure. Originally developed by BalarezoCapital and enhanced by PrimeTrading, this indicator provides clear visual cues for trend direction and momentum through dynamic bar coloring and EMA structure analysis.
Key Features
Triple EMA Structure
- 21 EMA High: Tracks the exponential moving average of high prices
- 21 EMA Close: Tracks the exponential moving average of closing prices
- 21 EMA Low: Tracks the exponential moving average of low prices
- Dynamic Cloud: Gray fill between high and low EMAs for visual structure reference
Smart Bar Coloring System
- Blue Bars: Price closes above all three EMAs (strong bullish momentum)
- Pink Bars: Daily high falls below the lowest EMA (strong bearish signal)
- Gray Bars: Neutral conditions or transitional phases
- Color Memory: Maintains previous color until new condition is met
Dynamic Center Line
- Trend-Following Color: Green when all EMAs are rising, red when all are falling
- Color Persistence: Maintains trend color during sideways movement
- Visual Clarity: Thicker center line for easy trend identification
Customizable Visual Elements
- Adjustable line thickness for all EMA plots
- Customizable colors for bullish and bearish conditions
- Configurable trend colors for uptrend and downtrend phases
- Optional bar color changes with toggle control
How to Use
Trend Identification
- Rising Green Center Line: All EMAs trending upward (bullish structure)
- Falling Red Center Line: All EMAs trending downward (bearish structure)
- Flat Center Line: Maintains last trend color during consolidation
Momentum Analysis
- Blue Bars: Strong bullish momentum with price above entire EMA structure
- Pink Bars: Strong bearish momentum with high below lowest EMA
- Gray Bars: Neutral or transitional momentum phases
Entry and Exit Signals
- Bullish Setup: Look for blue bars during green center line periods
- Bearish Setup: Look for pink bars during red center line periods
- Exit Consideration: Watch for color changes as potential momentum shifts
Structure Trading
- Support/Resistance: Use EMA cloud as dynamic support and resistance zones
- Breakout Confirmation: Bar color changes can confirm structure breakouts
- Trend Continuation: Color persistence suggests ongoing momentum
Settings
Visual Customization
- Change Bar Color: Toggle to enable/disable bar coloring
- Line Size: Adjust thickness of EMA lines (default: 3)
- Bullish Candle Color: Customize blue bar color
- Bearish Candle Color: Customize pink bar color
Trend Colors
- Uptrend Color: Color for rising EMA center line (default: green)
- Downtrend Color: Color for falling EMA center line (default: red)
- Cloud Color: Fill color between high and low EMAs (default: gray)
Advanced Features
Modified Bar Logic
Unlike traditional EMA systems, this indicator uses refined conditions:
- Bullish signals require close above ALL three EMAs
- Bearish signals require high below the LOWEST EMA
- Enhanced precision reduces false signals compared to single EMA systems
Trend Memory System
- Intelligent color persistence during sideways movement
- Reduces noise from minor EMA fluctuations
- Maintains trend context during consolidation periods
Performance Optimization
- Efficient calculation methods for real-time performance
- Clean visual design that doesn't clutter charts
- Compatible with all timeframes and instruments
Best Practices
Multi-Timeframe Analysis
- Use higher timeframes to identify overall trend direction
- Apply on multiple timeframes for confluence
- Combine with weekly/monthly charts for position trading
Risk Management
- Use bar color changes as early warning signals
- Consider position sizing based on EMA structure strength
- Set stops relative to EMA support/resistance levels
Combination Strategies
- Pair with volume indicators for confirmation
- Use alongside RSI or MACD for momentum confirmation
- Combine with key support/resistance levels
Market Context
- More effective in trending markets than choppy conditions
- Consider overall market environment and sector strength
- Adjust expectations during high volatility periods
Technical Specifications
- Based on 21-period exponential moving averages
- Uses Pine Script v6 for optimal performance
- Overlay indicator that works with any chart type
- Maximum 500 lines for clean performance
Ideal Applications
- Swing trading on daily charts
- Position trading on weekly charts
- Intraday momentum trading (adjust timeframe accordingly)
- Trend following strategies
- Structure-based trading approaches
Disclaimer
This indicator is for educational and informational purposes only. It should not be used as the sole basis for trading decisions. Always combine with other forms of analysis, proper risk management, and consider your individual trading plan and risk tolerance.
Compatible with Pine Script v6 | Works on all timeframes | Optimized for trending markets
Multi-Timeframe 20 EMA Horizontal LinesOverview
This Multi-Timeframe 20 EMA indicator provides intelligent trend analysis by displaying your current timeframe EMA alongside relevant higher timeframe EMA levels as horizontal support/resistance lines. On lower timeframes, you see all higher EMA levels for comprehensive multi-timeframe confluence, while on higher timeframes, it filters out lower timeframe noise to maintain focus on macro trends. This allows traders to align short-term entries with long-term market structure, identifying high-probability setups where multiple timeframe EMAs converge while using the current timeframe EMA for precise timing.
Feature
Multi-Timeframe Horizontal EMA Lines
The indicator fetches and displays 20 EMAs from five higher timeframes:
Daily (D): Daily 20 EMA
Weekly (W): Weekly 20 EMA
Monthly (M): Monthly 20 EMA
Quarterly (Q): 3-Month 20 EMA
Half-Yearly (HY): 6-Month 20 EMA
Intelligent Timeframe Filtering
Smart Display Logic: Only shows EMAs from timeframes higher than your current chart timeframe
Prevents Redundancy: Automatically filters out lower timeframe EMAs to avoid clutter
Example: On a 4-hour chart, you'll see Daily, Weekly, Monthly, Quarterly, and Half-Yearly EMAs, but on a Weekly chart, you'll only see Weekly and higher timeframes
Half-Yearly (HY): 6-Month 20 EMA
Shows only current timeframe EMA with half-yearly horizontal line, filtering out all lower timeframes.
Quarterly (Q): 3-Month 20 EMA
Displays current timeframe EMA with quarterly and higher horizontal lines, hiding monthly, weekly, and daily EMAs.
Monthly (M): Monthly 20 EMA
Shows current timeframe EMA with monthly and higher horizontal EMAs, excluding weekly and daily timeframes.
Weekly (W): Weekly 20 EMA
Displays current timeframe EMA with weekly and higher horizontal EMA lines, filtering out daily timeframe.
Daily (D):
Shows current timeframe EMA with all higher timeframe horizontal EMAs (daily, weekly, monthly, quarterly, half-yearly).
Note: Make sure to enable Price-Line in Style Settings after Importing Script.
Chebyshev-Gauss Convergence DivergenceThe Chebyshev-Gauss Convergence Divergence is a momentum indicator that leverages the Chebyshev-Gauss Moving Average (CG-MA) to provide a smoother and more responsive alternative to traditional oscillators like the MACD. For more information see the moving average script:
How it works:
It calculates a fast CG-MA and a slow CG-MA. The CG-MA uses Gauss-Chebyshev quadrature to compute a weighted average, which can offer a better trade-off between lag and smoothness compared to simple or exponential MAs.
The Oscillator line is the difference between the fast CG-MA and the slow CG-MA.
A Signal Line, which is a simple moving average of the Oscillator line, is plotted to show the average trend of the oscillator.
A Histogram is plotted, representing the difference between the Oscillator and the Signal Line. The color of the histogram bars changes to indicate whether momentum is strengthening or weakening.
How to use:
Crossovers: A buy signal can be generated when the Oscillator line crosses above the Signal line. A sell signal can be generated when it crosses below.
Zero Line: When the Oscillator crosses above the zero line, it indicates upward momentum (fast MA is above slow MA).When it crosses below zero, it indicates downward momentum.
Divergence: Like with the MACD, look for divergences between the oscillator and price action to spot potential reversals.
Histogram: The histogram provides a visual representation of the momentum. When the bars are growing, momentum is increasing. When they are shrinking, momentum is fading.
Chebyshev-Gauss Moving AverageThis indicator applies the principles of Chebyshev-Gauss Quadrature to create a novel type of moving average. Inspired by reading rohangautam.github.io
What is Chebyshev-Gauss Quadrature?
It's a numerical method to approximate the integral of a function f(x) that is weighted by 1/sqrt(1-x^2) over the interval . The approximation is a simple sum: ∫ f(x)/sqrt(1-x^2) dx ≈ (π/n) * Σ f(xᵢ) where xᵢ are special points called Chebyshev nodes.
How is this applied to a Moving Average?
A moving average can be seen as the "mean value" of the price over a lookback window. The mean value of a function with the Chebyshev weight is calculated as:
Mean = /
The math simplifies beautifully, resulting in the mean being the simple arithmetic average of the function evaluated at the Chebyshev nodes:
Mean = (1/n) * Σ f(xᵢ)
What's unique about this MA?
The Chebyshev nodes xᵢ are not evenly spaced. They are clustered towards the ends of the interval . We map this interval to our lookback period. This means the moving average samples prices more intensely from the beginning and the end of the lookback window, and less intensely from the middle. This gives it a unique character, responding quickly to recent changes while also having a long "memory" of the start of the trend.
Donchian x WMA Crossover (2025 Only, Adjustable TP, Real OHLC)Short Description:
Long-only breakout system that goes long when the Donchian Low crosses up through a Weighted Moving Average, and closes when it crosses back down (with an optional take-profit), restricted to calendar year 2025. All signals use the instrument’s true OHLC data (even on Heikin-Ashi charts), start with 1 000 AUD of capital, and deploy 100 % equity per trade.
Ideal parameters configured for Temple & Webster on ASX 30 minute candles. Adjust parameter to suit however best to download candle interval data and have GPT test the pine script for optimum parameters for your trading symbol.
Detailed Description
1. Strategy Concept
This strategy captures trend-driven breakouts off the bottom of a Donchian channel. By combining the Donchian Low with a WMA filter, it aims to:
Enter when volatility compresses and price breaks above the recent Donchian Low while the longer‐term WMA confirms upward momentum.
Exit when price falls back below that same WMA (i.e. when the Donchian Low crosses back down through WMA), but only if the WMA itself has stopped rising.
Optional Take-Profit: you can specify a profit target in decimal form (e.g. 0.01 = 1 %).
2. Timeframe & Universe
In-sample period: only bars stamped between Jan 1 2025 00:00 UTC and Dec 31 2025 23:59 UTC are considered.
Any resolution (e.g. 30 m, 1 h, D, etc.) is supported—just set your preferred timeframe in the TradingView UI.
3. True-Price Execution
All indicator calculations (Donchian Low, WMA, crossover checks, take-profit) are sourced from the chart’s underlying OHLC via request.security(). This guarantees that:
You can view Heikin-Ashi or other styled candles, but your strategy will execute on the real OHLC bars.
Chart styling never suppresses or distorts your backtest results.
4. Position Sizing & Equity
Initial capital: 1 000 AUD
Size per trade: 100 % of available equity
No pyramiding: one open position at a time
5. Inputs (all exposed in the “Inputs” tab):
Input Default Description
Donchian Length 7 Number of bars to calculate the Donchian channel low
WMA Length 62 Period of the Weighted Moving Average filter
Take Profit (decimal) 0.01 Exit when price ≥ entry × (1 + take_profit_perc)
6. How It Works
Donchian Low: ta.lowest(low, DonchianLength) over the specified look-back.
WMA: ta.wma(close, WMALength) applied to true closes.
Entry: ta.crossover(DonchianLow, WMA) AND barTime ∈ 2025.
Exit:
Cross-down exit: ta.crossunder(DonchianLow, WMA) and WMA is not rising (i.e. momentum has stalled).
Take-profit exit: price ≥ entry × (1 + take_profit_perc).
Calendar exit: barTime falls outside 2025.
7. Usage Notes
After adding to your chart, open the Strategy Tester tab to review performance metrics, list of trades, equity curve, etc.
You can toggle your chart to Heikin-Ashi for visual clarity without affecting execution, thanks to the real-OHLC calls.
8EMA/VWAP14 Oscillator w/ Trend Exhaustion Bands8EMA/VWAP14 Oscillator w/ Trend Exhaustion Bands + Performance Screener
Introducing the 8EMA/VWAP14 Oscillator with Trend Exhaustion Bands + Screener Suite - a comprehensive trading system that combines trend identification, momentum analysis, and real-time performance tracking all in one indicator. This system features a four-tier signal approach: early momentum warning dots before anything happens, confirmed entry/exit triangles when it's time to act, a dynamic trend ribbon on your price chart, and adaptive exhaustion bands that adjust to each asset's unique characteristics. The built-in performance tracker shows exactly how well your signals are working - success rates, average time to hit targets, and more - providing clear insight for confident trading decisions. Optimized for daily and weekly timeframes, this suite is suitable for both manual traders and automated strategies.
Aim of the Indicator
The 8EMA/VWAP14 Oscillator with Trend Exhaustion Bands is an advanced momentum oscillator system that combines trend identification, momentum analysis, and forward-looking performance validation. This comprehensive tool measures the percentage difference between an 8-period Exponential Moving Average and a 14-period Volume Weighted Average Price while providing multiple layers of signal confirmation through visual trend ribbons, momentum shift alerts, and adaptive exhaustion detection.
How to Interpret the Indicator
Visual Trend System: The indicator displays a dynamic ribbon between the 8EMA and 14VWAP lines on the price chart, automatically colored green when EMA8 is above VWAP14 (bullish trend) and red when below (bearish trend), providing instant trend context.
Four-Tier Signal System:
Tiny Green Dots (Below Bars): Early bullish momentum shifts when the oscillator crosses above its adaptive baseline
Green Triangles (Below Bars): Confirmed buy signals when EMA8 crosses above VWAP14
Tiny Red Dots (Above Bars): Early bearish momentum shifts when the oscillator crosses below its adaptive baseline
Red Triangles (Above Bars): Confirmed sell signals when EMA8 crosses below VWAP14
Oscillator Analysis: The separate pane displays the momentum oscillator with a dynamic zero line (thin blue) representing the recent average EMA8/VWAP14 relationship. Trend exhaustion is detected through adaptive bands - orange for potential upside exhaustion and purple for potential downside exhaustion, calculated dynamically based on the oscillator's historical range relative to its adaptive baseline.
Key Settings and Flexibility
Signal Source Customization: Choose from Open, High, Low, Close, OHLC Average, or HL Average to optimize signal sensitivity for different market conditions and trading styles.
Multi-Timeframe Capability: Enable higher timeframe analysis to use signals from longer periods while trading on shorter timeframes, significantly reducing noise and improving signal quality for more reliable entries.
Dynamic Baseline Controls: Adjust the adaptive zero line calculation period (5-100 bars) - shorter periods provide more responsive momentum detection, while longer periods offer smoother trend context and reduced false signals.
Entry Timing Options: "Bar Opening Only" mode ensures signals trigger only at confirmed bar close using realistic entry prices, eliminating mid-bar noise and providing accurate backtesting results for automated trading systems.
Adaptive Exhaustion Detection: Customize lookback periods and threshold multipliers to fine-tune exhaustion sensitivity for different volatility environments and asset classes.
Comprehensive Performance Tracking: Set custom profit targets (1-50%) and maximum holding periods to analyze forward-looking signal effectiveness with real-time success rate monitoring.
Advanced Features and Benefits
Forward-Looking Performance Analytics: Unlike traditional backtesting, this system tracks how often buy signals reach specified profit targets and measures average time to target, providing immediate validation of signal quality across different assets and timeframes.
Adaptive Baseline Technology: The dynamic zero line automatically adjusts to each asset's unique EMA8/VWAP14 relationship patterns, making momentum signals contextually relevant rather than using static thresholds that may not suit all market conditions.
Professional Entry/Exit Tracking: When "Bar Opening Only" is enabled, all performance calculations use actual tradeable prices (next bar's open) rather than theoretical mid-bar prices, ensuring realistic performance expectations.
Visual Performance Dashboard: Real-time table displaying success rate, average bars to target, fastest/slowest target achievement, and active position tracking with complete transparency about timeframe, signal source, and methodology being used.
Integrated Alert System: Comprehensive alerts for both early momentum shifts and confirmed crossover signals, enabling automated trading integration and timely manual intervention.
Best Practices for Timing Entries and Exits
Entry Timing Strategy:
Watch for Early Warning: Monitor tiny green dots as momentum builds - this is your preparation phase
Confirm with Ribbon: Ensure the ribbon color aligns with your intended direction (green for long positions)
Enter on Triangle Signal: Execute entries when confirmed buy triangles appear, using realistic bar opening prices
Avoid Exhaustion Zones: Be cautious entering when the oscillator is near orange (upper) exhaustion bands
Exit Timing Strategy:
Monitor Momentum Shifts: Red dots above bars provide early warning of potential reversals before actual sell signals
Use Exhaustion Bands: Consider partial profit-taking when oscillator reaches exhaustion zones (orange/purple bands)
Confirm with Sell Signals: Exit positions when red triangles appear, especially if preceded by bearish momentum dots
Time-Based Exits: Utilize the "Max Bars to Target" setting to avoid holding losing positions indefinitely
Risk Management Integration:
Position Sizing: Use success rate metrics to adjust position sizes - higher success rates may warrant larger positions
Multi-Timeframe Confluence: Combine daily signals with weekly context for highest probability setups
Avoid False Signals: Wait for momentum dots before triangles for stronger signal confirmation, reducing whipsaw trades
Optimal Market Conditions:
Trending Markets: Ribbon provides clear directional bias - trade in direction of ribbon color
Range-Bound Markets: Focus on exhaustion bands for reversal opportunities near dynamic support/resistance levels
Volatile Conditions: Use higher timeframe settings to filter noise and focus on more significant moves
Optimal Timeframe Usage
This indicator achieves exceptional performance on Daily timeframes and delivers superior results on Weekly timeframes. Weekly analysis is particularly powerful for position trading and swing strategies, as the adaptive exhaustion bands and momentum shifts have greater statistical significance over extended periods. The ribbon visualization becomes especially valuable on longer timeframes, clearly delineating major trend phases while filtering out intraday noise that can plague shorter-term analysis.
Alternative Applications
Multi-Timeframe Confluence System: Use weekly signals for trend direction while executing entries on daily timeframes, combining the indicator's momentum dots and triangles across different time horizons for high-probability setups.
Automated Trading Integration: The indicator's comprehensive alert system and realistic entry tracking make it ideal for automated trading platforms, with clear signal hierarchy and performance validation built into the system.
Risk-Adjusted Position Sizing: Utilize real-time success rate data and average holding period metrics to dynamically adjust position sizes based on current market effectiveness of the strategy.
Market Regime Detection: The ribbon color changes and exhaustion band interactions help identify when markets transition between trending and ranging conditions, allowing strategy adaptation accordingly.
Performance Validation Tool: Test signal effectiveness across different assets, timeframes, and market conditions before committing capital, using the forward-looking analytics to validate strategy assumptions.
Conclusion
The 8EMA/VWAP14 Oscillator with Trend Exhaustion Bands represents a comprehensive trading system that bridges the gap between manual analysis and automated execution. Its multi-layered approach provides both leading momentum indicators and lagging confirmation signals, while the adaptive baseline technology ensures relevance across different market conditions and asset classes. The integration of visual trend ribbons, performance analytics, and flexible timing controls makes it suitable for both discretionary traders seeking enhanced market insight and systematic traders requiring robust signal validation for automated strategies.
Color Change EMA 200 (4H)200 Color Change EMA (4H Locked)
Overview
This indicator displays a 200-period Exponential Moving Average (EMA) that is locked to the 4-hour timeframe, regardless of what chart timeframe you're currently viewing. The EMA line changes color dynamically based on price action to provide clear visual trend signals.
Key Features
• Multi-Timeframe Capability : Always shows the 4H 200 EMA on any chart timeframe
• Dynamic Color Coding :
- Green: Price is above the 200 EMA (bullish condition)
- Red: Price is below the 200 EMA (bearish condition)
• Clean Visual Design : Bold 2-pixel line width for clear visibility
• Real-time Updates : Colors change instantly as price crosses above or below the EMA
How to Use
1. Add the indicator to any timeframe chart
2. The 4H 200 EMA will appear as a smooth line
3. Watch for color changes:
- When the line turns green, it indicates price strength above the key moving average
- When the line turns red, it suggests price weakness below the moving average
4. Use for trend identification, support/resistance levels, and entry/exit timing
Best Practices
• Combine with other technical analysis tools for confirmation
• Use the color changes as alerts for potential trend shifts
• Consider the 200 EMA as a major support/resistance level
• Works well for swing trading and position sizing decisions
Settings
• Length : Default 200 periods (customizable)
• Source : Default closing price (customizable)
Perfect for traders who want to keep the important 4H 200 EMA visible across all timeframes with instant visual trend feedback.
SMEMA Trend CoreSMEMA Trend Core is a multi-timeframe trend analysis tool designed to provide a clean, adaptive and structured view of the market’s directional bias. It can be used in short term, swing or long term contexts. The internal calculation adjusts automatically based on the selected trading style, while always combining data from six timeframes.
At its core, the indicator uses a SMEMA, which is a Simple Moving Average applied to an EMA. This combination improves smoothness without losing reactivity. The SMEMA is calculated separately on 1H, 4H, 1D, 3D, 1W and 1M timeframes. These six values are then combined using dynamic weights that depend on the trading mode:
Short Term mode gives more influence to 1H and 4H
Swing Trading mode gives more influence to 1D, 3D and 1W
Long Term mode gives more influence to 1W and 1M
However, all six timeframes are always included in the final result. This avoids the tunnel vision of relying on a single resolution and ensures that the indicator captures both local and structural movements.
The result is a synthetic trend line, called Global SMEMA, that adapts to market conditions and offers a realistic view of the ongoing trend. To enhance the reading, the indicator calculates a Trend Score. This score reflects the position of price relative to the Global SMEMA, scaled by a long-term ATR, and adjusted by the slope of the trend line. A hyperbolic tangent function is used to normalize values and reduce distortion from outliers.
The final score is capped between -10 and +10, and used to define the trend state:
Green when the trend is bullish (score > +1.5)
Red when the trend is bearish (score < -1.5)
Brown when the trend is neutral (score between -1.5 and +1.5)
Optional Deviation Bands can be displayed at ±1, ±2 and ±3 ATR distances around the central line. These dynamic zones help identify extended price movements or potential support and resistance areas, depending on the current trend bias.
Main features:
A single, stable trend line based on six timeframes
Automatic rebalancing depending on trading mode
Quantified score integrating distance and slope
No overreaction to short-term noise
Deviation zones for advanced market context
No repainting, no lookahead, 100% real-time
SMEMA Trend Core is not a signal tool. It is a directional framework that helps you stay aligned with the real structure of the market. Use it to confirm setups, filter trades or simply understand where the market stands in its trend cycle.