Fabian Z-ScoreFabian Z-Score — % Distance & Z-Scores for SPX / DJI / XLU
What it does
This indicator measures how far three market proxies are from a moving average and standardizes those distances into z-scores so you can spot stretch/mean-reversion and relative out/under-performance.
Universe: S&P 500 (SPX), Dow Jones (DJI) and Utilities (XLU). You can change any of these in Inputs.
Anchor MA: user-selectable MA type (SMA/EMA/RMA/WMA/VWMA/HMA/LSMA/ALMA) and length (default 39; a popular weekly anchor).
Outputs
% from MA: 100 × (𝐶𝑙𝑜𝑠𝑒 − 𝑀𝐴) / 𝑀𝐴
Time-series Z: z-score of the last N % distances (default 39) → “how stretched vs its own history?”
Cross-sectional Z: z-score of each % distance within the trio on this bar → “who’s strongest vs the others right now?”
A compact mini table (top-right) shows the latest values for each symbol: % from MA, Z(ts) and Z(xsec).
Panels & Visualization
Toggle what you want to see in View:
Plot % distance — raw % above/below the MA (0% line shown).
Plot time-series Z — standardized stretch with ±Threshold guides (default ±2σ).
Plot cross-sectional Z — relative z across SPX, DJI, XLU (0 = at the trio’s mean).
Smoothing — optional light MA on the plotted series (set to 1 for none).
A price-panel Moving Average is drawn with your chosen type/length for visual context.
Colors: SPX = teal, DJI = orange, XLU = purple.
Alerts
Two built-in alert conditions (time-series Z only):
“Z(ts) crosses up +Thr” — any of the three crosses above +Threshold.
“Z(ts) crosses down -Thr” — any crosses below −Threshold.
When enabled, the chart background tints faint green (up cross) or red (down cross) on those bars.
How to use (ideas, not advice)
On weekly charts, a 39-length MA/Z lookback often captures major risk-on/off swings. (Fabian Timing)
Deep negative Z(ts) (e.g., ≤ −2σ or −3σ) frequently accompanies panic and mean-reversion setups.
High positive Z(ts) suggests over-extension; watch for momentum fades.
Cross-sectional Z helps rank leadership today:
Z(xsec) > 0 → stronger than the trio’s mean this bar; Z(xsec) < 0 → weaker.
Utilities (XLU) turning positive x-sec while the others are negative can hint at defensive rotation.
If all 3 are above 0, go long, if below 0 go cash.
Combine: look for extreme Z(ts) aligning with lead/lag Z(xsec) to time entries/exits or hedges.
Inputs (quick reference)
Symbols: SPX / DJI / XLU (editable).
MA type & length: SMA, EMA, RMA, WMA, VWMA, HMA, LSMA, ALMA; default EMA(39).
Z-score lookback (ts): default 39.
Smoothing on plots: default 1 (off).
Z threshold (±): default 2.0 (guide lines & alerts).
Moving Averages
Key Indicators Dashboard (KID)Key Indicators Dashboard (KID) — Comprehensive Market & Trend Metrics
📌 Overview
The Key Indicators Dashboard (KID) is an advanced multi-metric market analysis tool designed to consolidate essential technical, volatility, and relative performance data into a single on-chart table. Instead of switching between multiple indicators, KID centralizes these key measures, making it easier to assess a stock’s technical health, volatility state, trend status, and relative strength at a glance.
🛠 Key Features
⦿ Average Daily Range (ADR %): Measures average daily price movement over a specified period. It is calculated by averaging the daily price range (high - low) over a set number of days (default 20 days).
⦿ Average True Range (ATR): Measures volatility by calculating the average of a true range over a specific period (default 14). It helps traders gauge the typical extent of price movement, regardless of the direction.
⦿ ATR%: Expresses the Average True Range as a percentage of the price, which allows traders to compare the volatility of stocks with different prices.
⦿ Relative Strength (RS): Compares a stock’s performance to a chosen benchmark index (default NIFTYMIDSML400) over a specific period (default 50 days).
⦿ RS Score (IBD-style): A normalized 1–100 rating inspired by Investor’s Business Daily methodology.
How it works: The RS Score is based on a weighted average of price changes over 3 months (40%), 6 months (20%), 9 months (20%), and 12 months (20%).
The raw value is converted into a percentage return, then normalized over the past 252 trading days so the lowest value maps to 1 and the highest to 100.
This produces a percentile-style score that highlights the strongest stocks in relative terms.
⦿ Relative Volume (RVol): Compares a stock's current volume to its average volume over a specific period (default 50). It is calculated by dividing the current volume by the average historical volume.
⦿ Average ₹ Volume (Turnover): Represents the total monetary value of shares traded for a stock. It's calculated by multiplying a day's closing price by its volume, with the final value converted to crores for clarity. This metric is a key indicator of a stock's liquidity and overall market interest.
⦿ Moving Average Extension: Measures how far a stock's current price has moved from from a selected moving average (EMA or SMA). This deviation is normalized by the stock's volatility (ATR%), with a default threshold of 6 ATR used to indicate that the stock is significantly extended and is marked with a selected shape (default Red Flag).
⦿ 52-Weeks High & Low: Measures a stock's current price in relation to its highest and lowest prices over the past year. It calculates the percentage a stock is below its 52-week high and above its 52-week low.
⦿ Market Capitalization: Market Cap represents the total value of all outstanding.
⦿ Free Float: It is the value of shares readily available for public trading, with the Free Float Percentage showing the proportion of shares available to the public.
⦿ Trend: Uses Supertrend indicator to identify the current trend of a stock's price. A factor (default 3) and an ATR period (default 10) is used to signal whether the trend is up or down.
⦿ Minervini Trend Template (MTT): It is a set of technical criteria designed to identify stocks in strong uptrends.
Price > 50-DMA > 150-DMA > 200-DMA
200-DMA is trending up for at least 1 month
Price is at least 30% above its 52-week low.
Price is within at least 25 percent of its 52-week high
Table highlights when a stock meets all above criteria.
⦿ Sector & Industry: Display stock's sector and industry, provides categorical classification to assist sector-based analysis. The sector is a broad economic classification, while the industry is a more specific group within that sector.
⦿ Moving Averages (MAs): Plot up to four customizable Moving Averages on a chart. You can independently set the type (Simple or Exponential), the source price, and the length for each MA to help visualize a stock's underlying trend.
MA1: Default 10-EMA
MA2: Default 20-EMA
MA3: Default 50-EMA
MA4: Default 200-EMA
⦿ Moving Average (MA) Crossover: It is a trend signal that occurs when a shorter-term moving average crosses a longer-term one. This script identifies these crossover events and plots a marker on the chart to visually signal a potential change in trend direction.
User-configurable MAs (short and long).
A bullish crossover occurs when the short MA crosses above the long MA.
A bearish crossover occurs when the short MA crosses below the long MA.
⦿ Inside Bar (IB): An Inside Bar is a candlestick whose entire price range is contained within the range of the previous bar. This script identifies this pattern, which often signals consolidation, and visually marks bullish and bearish inside bars on the chart with distinct colors and labels.
⦿ Tightness: Identifies periods of low volatility and price consolidation. It compares the price range over a short lookback period (default 3) to the average daily range (ADR). When the lookback range is smaller than the ADR, the indicator plots a marker on the chart to signal consolidation.
⦿ PowerBar (Purple Dot): Identifies candles with a strong price move on high volume. By default, it plots a purple dot when a stock moves up or down by at least 5% and has a minimum volume of 500,000. More dots indicate higher volatility and liquidity.
⦿ Squeezing Range (SQ): Identifies periods of low volatility, which can often precede a significant price move. It checks if the Bollinger Bands have narrowed to a range that is smaller than the Average True Range (ATR) for a set number of consecutive bars (default 3).
(UpperBB - LowerBB) < (ATR × 2)
⦿ Mark 52-Weeks High and Low: Marks and labels a stock's 52-Week High and Low prices directly on the chart. It draws two horizontal lines extending from the candles where the highest and lowest prices occurred over the past year, providing a clear visual reference for long-term price extremes.
⏳PineScreener Filters
The indicator’s alert conditions act as filters for PineScreener.
Price Filter: Minimum and maximum price cutoffs (default ₹25 - ₹10000).
Daily Price Change Filter: Minimum and maximum daily percent change (default -5% and 5%).
🔔 Built-in Alerts
Supports alert creation for:
ADR%, ATR/ATR %, RS, RS Rating, Turnover
Moving Average Crossover (Bullish/Bearish)
Minervini Trend Template
52-Week High/Low
Inside Bars (Bullish/Bearish)
Tightness
Squeezing Range (SQ)
⚙️ Customizable Visualization
Switchable between vertical or horizontal layout.
Works in dark/light mode
User-configurable to toggle any indicator ON or OFF.
User-configurable Moving (EMA/SMA), Period/Lengths and thresholds.
⦿ (Optional) : For horizontal table orientation increase Top Margin to 16% in Chart (Canvas) settings to avoid chart overlapping with table.
⚡ Add this script to your chart and start making smarter trade decisions today! 🚀
25 Day and 125 Day EMA Trend IndicatorThe "25 and 125 EMA Trend indicator," is a powerful yet simple tool designed for use on any TradingView chart. Its primary purpose is to help traders visually identify both short-term and long-term trends in the market.
How the Script Works
The script is built around two Exponential Moving Averages (EMAs), which are a type of moving average that gives more weight to recent price data. This makes them more responsive to current market changes than a Simple Moving Average (SMA). The two EMAs are:
Fast EMA (25-day): Represented by the blue line, this EMA reacts quickly to price fluctuations. It's excellent for identifying the current short-term direction and momentum of the asset.
Slow EMA (125-day): Represented by the purple line, this EMA smooths out price action over a much longer period. It's used to determine the underlying, long-term trend of the market.
Trading Signals and Interpretation
The real value of this script comes from observing the relationship between the two EMA lines.
Uptrend: When the blue (25-day) EMA is above the purple (125-day) EMA, it indicates that the short-term trend is stronger than the long-term trend, signaling a bullish or upward-moving market.
Downtrend: Conversely, when the blue EMA is below the purple EMA, it suggests that the short-term trend is weaker, indicating a bearish or downward-moving market.
Cross-overs: The most important signals are often generated when the two lines cross.
A bullish cross (or "golden cross") occurs when the blue EMA crosses above the purple EMA. This can be a signal that a new, strong uptrend is beginning.
A bearish cross (or "death cross") occurs when the blue EMA crosses below the purple EMA. This may signal the start of a new downtrend.
Customisation
The script includes user-friendly input fields that allow you to customise the lengths of both EMAs directly from the indicator's settings on the chart. This lets you experiment with different time frames and tailor the indicator to your specific trading strategy.
13/48 EMA Trading Scalper (ATR TP/SL)13/48 EMA Trading Scalper (ATR TP/SL)
What it does:
This tool looks for price “touches” of the 13-EMA, only takes CALL entries when the 13 is above the 48 (uptrend) and PUT entries when the 13 is below the 48 (downtrend), and confirms with a simple candle pattern (green > red with expansion for calls, inverse for puts). Touch sensitivity is ATR-scaled, so signals adapt to volatility. Each trade gets auto-drawn entry, TP, and SL lines, colored labels with $ / % distance from entry, plus optional TP/SL hit alerts. A rotating color palette and per-bar label staggering help keep the chart readable. Old objects are auto-pruned via maxTracked.
How it works
Trend filter: 13-EMA vs 48-EMA.
Entry: ATR-scaled touch of the 13-EMA + candle confirmation.
Risk: TP/SL = ATR multiples you control.
Visuals: Entry/TP/SL lines (extend right), vertical entry marker (optional), multi-line labels.
Hygiene: maxTracked keeps only the last N trades’ objects; labels are staggered to reduce overlap.
Alerts: Buy Call, Buy Put, Take Profit Reached, Stop Loss Hit.
Key Inputs
Fast EMA (13), Trend EMA (48), ATR Length (14)
Touch Threshold (x ATR) – how close price must come to the EMA
Take Profit (x ATR), Stop Loss (x ATR)
maxTracked – number of recent trades to keep on chart
Tips
Start with Touch = 0.10–0.20 × ATR; TP=2×ATR, SL=1×ATR, then tune per symbol/timeframe.
Works on intraday and higher TFs; fewer, cleaner signals on higher TFs.
This is an indicator, not a broker—always backtest and manage risk.
[teachershim] draw sma 9/25/50/100/200/400📌 Description — draw sma 9/25/50/100/200/400
This indicator displays Simple Moving Averages (SMA) for periods 9, 25, 50, 100, 200, and 400 on the chart.
It also marks the last confirmed bar’s SMA values with circular dots positioned to the right by a user-defined offset,
and labels each dot with the SMA period number for quick visual reference.
🔹 Features
SMA Lines
Plots SMA lines for periods 9 / 25 / 50 / 100 / 200 / 400 in distinct colors and thickness.
Last Value Markers
Adds circular markers (dots) at the SMA value of the last confirmed bar, shifted right by the specified offset.
SMA Period Labels
Displays the SMA period number (e.g., "9", "25", "50") just above each dot.
Customizable Parameters
Right offset for marker placement.
Vertical gap between marker and label (in percentage of chart range).
🔹 Parameters
Right Offset: Number of bars to place the marker/label to the right of the last bar.
Text Vertical Gap (%): Percentage offset to position the label above the dot.
🔹 Colors & Line Thickness
SMA 9 → Teal, thickness 1
SMA 25 → Orange, thickness 2
SMA 50 → Blue, thickness 2
SMA 100 → Purple, thickness 1
SMA 200 → Red, thickness 2
SMA 400 → Gray, thickness 1
🔹 Use Cases
Quickly identify key support/resistance levels across multiple SMA periods.
Instantly see the current SMA values without hovering over the chart.
Monitor SMA alignment and spacing for trend analysis or trading setups.
💡 Notes
If the right offset is too large, ensure your chart’s right margin is wide enough to display the markers.
max_labels_count in Pine Script limits how many labels can be displayed at once.
If you want, I can also make you a shorter, more concise “marketplace style” version for TradingView’s public library so it’s punchier and attracts more clicks.
Do you want me to prepare that?
Zero Lag LSMA 3-Color# Zero Lag LSMA 3-Color Indicator
## Overview
The Zero Lag LSMA (ZLSMA) 3-Color is an advanced trend-following indicator that reduces the lag inherent in traditional Linear Regression Moving Averages (LSMA). This indicator provides clear visual signals through a color-coded system and dot markers to identify trend changes with minimal delay.
## What is Zero Lag LSMA?
Zero Lag LSMA is calculated by applying the Linear Regression Moving Average twice and then compensating for the lag:
1. **First LSMA**: Calculate LSMA of the price data
2. **Second LSMA**: Calculate LSMA of the first LSMA
3. **Zero Lag Calculation**: ZLSMA = LSMA + (LSMA - LSMA2)
This method significantly reduces the delay while maintaining the smoothness of the trend line.
## Features
### Color-Coded Trend System
- **Fluorescent Green** (`RGB(0, 255, 0)`): Uptrend - ZLSMA is rising
- **Fluorescent Red** (`RGB(255, 20, 60)`): Downtrend - ZLSMA is falling
- **Gray**: Sideways/Neutral - No clear directional bias
### Trend Change Markers
- **Tiny dots** appear at the exact moment when the trend direction changes
- **Green dots**: Mark the beginning of an uptrend
- **Red dots**: Mark the beginning of a downtrend
### Customizable Parameters
- **Length**: Period for ZLSMA calculation (default: 20)
- **Line Width**: Thickness of the ZLSMA line (default: 2)
- **Show/Hide Toggle**: Option to display or hide the indicator
## Trading Applications
### Trend Identification
- **Green line**: Look for long opportunities
- **Red line**: Look for short opportunities
- **Gray line**: Consider range-bound strategies
### Entry Signals
- **Dot markers** provide precise entry points when trend changes occur
- Green dots can signal potential buy entries
- Red dots can signal potential sell entries
### Trend Confirmation
- Use ZLSMA color changes to confirm other technical analysis signals
- The reduced lag helps traders enter trends earlier than traditional moving averages
## Advantages Over Traditional Moving Averages
1. **Reduced Lag**: Responds faster to price changes than standard moving averages
2. **Clear Visualization**: Color-coding makes trend direction immediately apparent
3. **Precise Timing**: Dot markers highlight exact trend change moments
4. **Smooth Operation**: Maintains smoothness while reducing whipsaws
## Best Practices
### Timeframe Usage
- Works effectively on all timeframes
- Higher timeframes provide more reliable signals
- Lower timeframes offer more trading opportunities but may have more noise
### Risk Management
- Always use proper stop-loss levels
- Consider the overall market context
- Combine with other technical analysis tools for confirmation
### Settings Optimization
- **Shorter periods** (10-15): More sensitive, faster signals
- **Longer periods** (25-50): More stable, fewer false signals
- **Standard period** (20): Good balance between sensitivity and stability
## Alert Conditions
The indicator includes built-in alert conditions for:
- ZLSMA turning upward (trend change to bullish)
- ZLSMA turning downward (trend change to bearish)
## Compatibility
- **Platform**: TradingView
- **Script Version**: Pine Script v6
- **Chart Type**: Works on all chart types
- **Markets**: Suitable for Forex, Stocks, Crypto, Commodities, and Indices
## Disclaimer
This indicator is for educational and informational purposes only. It should not be considered as financial advice. Always conduct your own research and consider your risk tolerance before making trading decisions. Past performance does not guarantee future results.
Momentum_EMABand📢 Reposting Notice
I am reposting this script because my earlier submission was hidden due to description requirements under TradingView’s House Rules. This updated version fully explains the originality, the reason for combining these indicators, and how they work together. Follow me for future updates and refinements.
🆕 Momentum EMA Band, Rule-Based System
Momentum EMA Band is not just a mashup — it is a purpose-built trading tool for intraday traders and scalpers that integrates three complementary technical concepts into a single rules-based breakout & retest framework.
Originality comes from the specific sequence and interaction of these three filters:
Supertrend → Sets directional bias.
EMA Band breakout with retest logic → Times precise entries.
ADX filter → Confirms momentum strength and avoids noise.
This system is designed to filter out weak setups and false breakouts that standalone indicators often fail to avoid.
🔧 How the Indicator Works — Combined Logic
1️⃣ EMA Price Band — Dynamic Zone Visualization
Plots upper & lower EMA bands (default: 9-period EMA).
Green Band → Price above upper EMA = bullish momentum
Red Band → Price below lower EMA = bearish pressure
Yellow Band → Price within band = neutral zone
Acts as a consolidation zone and breakout trigger level.
2️⃣ Supertrend Overlay — Reliable Trend Confirmation
ATR-based Supertrend adapts to volatility:
Green Line = Uptrend bias
Red Line = Downtrend bias
Ensures trades align with the prevailing trend.
3️⃣ ADX-Based No-Trade Zone — Choppy Market Filter
Manual ADX calculation (default: length 14).
If ADX < threshold (default: 20) and price is inside EMA Band → gray background marks low-momentum zones.
🧩 Why This Mashup Works
Supertrend confirms trend direction.
EMA Band breakout & retest validates the breakout’s strength.
ADX ensures the market has enough trend momentum.
When all align, entries are higher probability and whipsaws are reduced.
📈 Example Trade Walkthrough
Scenario: 5-minute chart, ADX threshold = 20.
Supertrend turns green → trend bias is bullish.
Price consolidates inside the yellow EMA Band.
ADX rises above 20 → trend momentum confirmed.
Price closes above the green EMA Band after retesting the band as support.
Entry triggered on candle close, stop below band, target based on risk-reward.
Exit when Supertrend flips red or ADX momentum drops.
This sequence prevents premature entries, keeps trades aligned with trend, and avoids ranging markets.
🎯 Key Features
✅ Multi-layered confirmation for precision trading
✅ Built-in no-trade zone filter
✅ Fully customizable parameters
✅ Clean visuals for quick decision-making
⚠ Disclaimer: This is Version 1. Educational purposes only. Always use with risk management.
Indexrate Code A(i)Indexrate Code A is an indicator based on the Indexrate Code B indicator and is part of the Indexrate Code Algorithm Suite. This indicator is designed for automated trading platforms.
The Indexrate Code Algorithm Suite can be used for any trading instrument and on any existing market (Stock Market, Forex, Cryptocurrency Market, etc.).
By gaining access to Indexrate Code A, you gain access to the entire Indexrate Code Algorithm Suite.
Indexrate Code A is a combination of indicators and oscillators, individually developed and integrated with two primary and two secondary trading strategies, allowing traders to optimize their entry points. This suite of indicators and oscillators is the result of two years of research, market observation, and strategy optimization to identify the best entry signals.
Key Indicators & Oscillators in Indexrate Code A:
Momentum (hidden – part of Indexrate Code B)
Difference Momentum (hidden – part of Indexrate Code B)
StochRSI (hidden – part of Indexrate Code B)
Money Flow Index (MFI) (hidden – part of Indexrate Code B)
EMA (partially displayed)
Trend HMA
Sequential
Trend Score WMA (hidden – part of Indexrate Code B)
Parabolic SAR
Volume (displayed in the status bar)
Heiken Ashi (displayed on candles)
EMA (Partially Displayed)
The EMA (Exponential Moving Average) consists of a group of curves – 13, 25, 50, 100, and 200 EMA. There are additional hidden curves used in one of the entry strategies. The EMA helps traders assess market direction, trend reversals, and dynamic support/resistance levels.
EMAs calculate the average asset price over a selected period, giving more weight to recent prices, which are more relevant for trend development. As a result, EMAs react faster to price drops and surges, making them popular among traders.
The indicator displays five EMAs:
13 EMA (Green)
25 EMA (Purple)
50 EMA (Orange)
100 EMA (Blue)
200 EMA (Red)
Example of EMA Usage
EMAs often act as dynamic support/resistance levels – prices where an asset is likely to temporarily reverse direction.
If the price is above the EMA and approaches it, a rebound upward is more likely than a breakdown.
If the price is below the EMA and rises toward it, a resumption of a downtrend is more likely than a breakout.
EMAs can also identify well-known patterns like the Golden Cross and Death Cross.
Golden Cross
A bullish pattern where a short-term EMA crosses above a long-term EMA (e.g., 50EMA > 200EMA). This signals a potential uptrend.
Death Cross
A bearish pattern where a short-term EMA crosses below a long-term EMA (e.g., 50EMA < 200EMA). This signals a potential downtrend.
Trend HMA
A trend indicator based on the Hull Moving Average (HMA).
The HMA is an advanced moving average that accurately detects trend reversals and filters signals. The slow-period HMA defines the trend, while the fast-period HMA identifies short-term movements.
Example of Trend HMA Usage
Green = Long (bullish)
Red = Short (bearish)
White = Weak trend
The indicator also supports divergence detection:
Green Label = Bullish divergence
Red Label = Bearish divergence
White Label = Uncertainty
Sequential
Helps traders confirm trend direction and strength. It labels candles with numbers (1 to 9), indicating trend stages.
Blue Numbers = Long Trend
Gray Numbers = Short Trend
Red Candle = End of Long Trend
Green Candle = End of Short Trend
Example of Sequential Usage
When the indicator reaches Signal #9, a trend reversal is likely. The probability increases if it reaches Signal #13.
Parabolic SAR
A trend-following indicator that signals potential reversals.
Blue Line = Long
Gray Line = Short
Crossings indicate trend reversals
Example of Parabolic SAR Usage
The dots switch sides when a trend reversal is likely.
Optimizing Settings (33 Parameters for 100% Profitability)
Traders can fine-tune 33 parameters to maximize profitability. Indexrate Code B visually assists in optimization, as all its parameters are embedded in Indexrate Code A.
Recommended Timeframes
Works on any timeframe (e.g., 4H, 6H).
For Heiken Ashi charts, enable real price display in settings to avoid misleading averages.
Important Notes
No indicator guarantees 100% success – Markets are driven by human psychology (supply & demand).
Technical analysis relies on past data (price & volume).
Indexrate Code evaluates trends, price, volume, and trader psychology.
All future updates will be free.
"Trading is about probabilities. Investing is about opportunities. No one knows the future—always protect your profits."
Refined EMA Break Buy/Sell Signalspowerful indicator based on 5EMA for sell at 5 min tf and buy at 15min tf.
[Pandora][Swarm] Rapid Exponential Moving AverageENVISIONING POSSIBILITY
What is the theoretical pinnacle of possibility? The current state of algorithmic affairs falls far short of my aspirations for achievable feasibility. I'm lifting the lid off of Pandora's box once again, very publicly this time, as a brute force challenge to conventional 'wisdom'. The unfolding series of time mandates a transcendental systemic alteration...
THE MOVING AVERAGE ZOO:
The realm of digital signal processing for trading is filled with familiar antiquated filtering tools. Two families of filtration, being 'infinite impulse response' (EMA, RMA, etc.) and 'finite impulse response' (WMA, SMA, etc.), are prevalently employed without question. These filter types are the mules and donkeys of data analysis, broadly accepted for use in finance.
At first glance, they appear sufficient for most tasks, offering a basic straightforward way to reduce noise and highlight trends. Yet, beneath their simplistic facade lies a constellation of limitations and impediments, each having its own finicky quirks. Upon closer inspection, identifiable drawbacks render them far from ideal for many real-world applications in today's volatile markets.
KNOWN FUNDAMENTAL FLAWS:
Despite commonplace moving average (MA) popularity, these conventional filters suffer from an assortment of fundamental flaws. Most of them don't genuinely address core challenges of how to preserve the true dynamics of a signal while suppressing noise and retaining cutoff frequency compliance. Their simple cookie cutter structures make them ill-suited in actuality for dynamic market environments. In reality, they often trade one problem for another dilemma, forsaking analytics to choose between distortion and delay.
A deeper seeded issue remains within frequency compliance, how adequately a filter respects (or disrespects) the underlying signal’s spectral properties according to it's assigned periodic parameter. Traditional MAs habitually distort phase relationships, causing delayed reactions with surplus lag or exaggerations with excessive undershoot/overshoot. For applications requiring timely resilience, such as algorithmic trading, these shortcomings are often functionally unacceptable. What’s needed is vigorous filters that can more accurately retain signal behaviors while minimizing lag without sacrificing smoothness and uniformity. Until then, the public MA zoo remains as a collection of corny compromises, rather than a favorable toolbelt of solutions.
P.S.: In PSv7+, in my opinion, many of these geriatric MAs deserve no future with ease of access for the naive, simply not knowing these filters are most likely creating bigger problems than solving any.
R.E.M.A.
What is this? I prefer to think of it as the "radical EMA", definitely along my lines of a retire everything morte algorithm. This isn't your run of the mill average from the petting zoo. I would categorize it as a paradigm shifting rampant economic masochistic annihilator, sufficiently good enough to begin ruthlessly executing moving averages left and right. Um, yeah... that kind of moving average destructor as you may soon recognize with a few 'Filters+' settings adjustments, realizing ordinary EMA has been doing us an injustice all this time.
Does it possess the capability to relentlessly exterminate most averaging filters in existence? Well, it's about time we find out, by uncaging it on the loose into the greater economic wilderness. Only then can we truly find out if it is indeed a radical exponential market accelerant whose time has come. If it is, then it may eventually become a reality erasing monolithic anomaly destined for greatness, ultimately changing the entire landscape of trading in perpetuity.
UNLEASHING NEXT-GEN:
This lone next generation exoweapon algorithm is intended to initiate the transformative beginning stages of mass filtration deprecation. However, it won't be the only one, just the first arrival of it's alien kind from me. Welcome to notion #1 of my future filtration frontier, on this episode of the algorithmic twilight zone. Where reality takes a twisting turn one dimension beyond practical logic, after persistent models of mindset disintegrate into insignificance, followed by illusory perception confronted into cognitive dissonance.
An evolutionary path to genuine advancement resides outside the prison of preconceptions, manifesting only after divergence from persistent binding restrictions of dogmatic doctrines. Such a genesis in transformative thinking will catalyze unbounded cognitive potential, plowing the way for the cultivation of total redesigns of thought. Futuristic innovative breakthroughs demand the surrender of legacy and outmoded understandings.
Now that the world's largest assembly of investors has been ensembled, there are additional tasks left to perform. I'm compelled to deploy this mathematical-weapon of mass financial creation into it's rightful destined hands, to "WE THE PEOPLE" of TV.
SCRIPT INTENTION:
Deprecate anything and everything as any non-commercial member sees desirably fit. This includes your existing code formulations already in working functional modes of operation AND/OR future projects in the works. Swapping is nearly as simple as copying and pasting with meager modifications, after you have identified comparable likeness in this indicators settings with a visual assessment. Results may become eye opening, but only if you dare to look and test.
Where you may suspect a ta.filter() is lacking sufficient luster or may be flat out majorly deficient, employing rema, drema, trema, or qrema configurations may be a more suitable replacement. That's up to you to discern. My code satire already identifies likely bottom of the barrel suspects that either belong in the extinction record or have already been marked for deprecation. They are ordered more towards the bottom by rank where they belong. SuperSmoother is a masterpiece here to stay, being my original go-to reference filter. Everything you see here is already deprecated, including REMA...
REMA CHARACTERISTICS
- VERY low lag
- No overshoot
- Frequency compliant
- Proper initialization at bar_index==0
- Period parameter accepts poitive floating point numerics (AND integers!)
- Infinite impulse response (IIR) filter
- Compact code footprint
- Minimized computational overhead
200 EMA w/ Ticker Memory200 EMA w/ Ticker Memory — Multi-Symbol & Multi-Timeframe EMA Tracker with Alerts
Overview
The 200 EMA w/ Ticker Memory indicator allows you to monitor the 200-period Exponential Moving Average (EMA) across multiple symbols and timeframes. Designed for traders managing multiple tickers, it provides customizable timeframe inputs per symbol and instant alerts on price touches of the 200 EMA.
Key Features
Multi-symbol support: Configure up to 20 different symbols, each with its own timeframe setting.
Flexible timeframe input: Assign specific timeframes per symbol or use a default timeframe fallback.
Accurate 200 EMA calculation: Uses request.security to fetch 200 EMA from the symbol-specific timeframe.
Visual EMA plots: Displays both the EMA on the selected timeframe and the EMA on the current chart timeframe for comparison.
Touch alerts: Configurable alerts when price “touches” the 200 EMA within a user-defined sensitivity percentage.
Ticker memory: Remembers your configured symbols and displays them in an on-chart table.
Compact info table: Displays current symbol status, alert settings, and timeframe in a clean, transparent table overlay.
How to Use
Configure Symbols and Timeframes:
Input your desired symbols (up to 20) and their respective timeframes under the “Symbol Settings” groups in the indicator’s settings pane.
Set Default Timeframe:
Choose a default timeframe to be used when no specific timeframe is assigned for a symbol.
Adjust Alert Settings:
Enable or disable alerts and set the touch sensitivity (% distance from EMA to trigger alerts).
Alerts
Alerts trigger once per bar when the price touches the 200 EMA within the defined sensitivity threshold.
Alert messages include:
Symbol / Current price / EMA value / EMA timeframe used / Chart timeframe / Timestamp
Customization
200 EMA Color: Change the line color for better visibility.
Touch Sensitivity: Fine-tune how close price must be to the EMA to count as a touch (default 0.1%).
Enable Touch Alerts: Turn on/off alert notifications easily.
For:
- Swing traders monitoring multiple stocks or assets.
- Day traders watching key EMA levels on different timeframes.
- Analysts requiring a quick visual and alert system for 200 EMA touches.
- Portfolio managers tracking key technical levels across various securities.
Limitations
Supports up to 20 configured symbols (can be extended manually if needed).
Works best on charts with reasonable bar frequency due to request.security usage.
Alert frequency is limited to once per bar for clarity.
Disclaimer
This indicator is provided “as-is” for educational and informational purposes only. It does not guarantee trading success or financial gain.
Hull Moving Average Quantum Pro - Advanced Trading SystemThe Hull Moving Average Quantum Pro is a next-generation technical analysis tool that combines the legendary smoothness of Alan Hull's HMA formula with advanced quantum field visualization technology. This professional-grade indicator features three synchronized Hull Moving Average periods working in harmony to identify high-probability trading opportunities.
🎯 KEY FEATURES:
• Multi-Timeframe HMA Confluence - Triple HMA system (9, 21, 55 periods) for comprehensive trend analysis
• Quantum Field Visualization - Fibonacci-based dynamic support/resistance bands with 0.618, 1.0, and 1.618 ratios
• Energy Flow Momentum - Real-time visual representation of market momentum and directional bias
• Confluence Zone Detection - Automatically highlights areas where multiple HMAs converge for high-probability setups
• Professional Holographic Dashboard - Real-time trend strength, momentum, and market status display
• Three Visual Themes - Dark Intergalactic (Quantum Trading), Light Minimal (Clean Charts), Pro Modern (Low Saturation)
⚡ WHAT MAKES IT UNIQUE:
Unlike traditional moving average indicators, the HMA Quantum Pro eliminates lag while maintaining smoothness, providing traders with faster signals without sacrificing reliability. The quantum field visualization adds a new dimension to price action analysis by creating dynamic zones that adapt to market volatility.
📊 PERFECT FOR:
• Day Trading & Scalping - Fast HMA (9) provides quick entry/exit signals
• Swing Trading - Medium HMA (21) confirms trend continuation
• Position Trading - Slow HMA (55) identifies major trend changes
• All Markets - Forex, Stocks, Crypto, Futures, Indices
🔧 ADVANCED SETTINGS:
• Customizable HMA periods for any trading style
• Adjustable confluence threshold for precision filtering
• Visual intensity control for optimal chart clarity
• Field transparency settings for multi-indicator setups
💡 HOW TO USE:
1. Strong Bullish Signal - All three HMAs aligned upward with price above quantum fields
2. Strong Bearish Signal - All three HMAs aligned downward with price below quantum fields
3. Confluence Zones - High probability reversal/continuation areas
4. Energy Flow - Confirms momentum direction and strength
⭐ FREE VERSION FEATURES:
This free version includes all visual features and calculations. Premium version (coming soon) will add advanced alerts, multi-timeframe analysis, and AI-powered trade suggestions.
Created by professional traders for serious market participants. The Hull Moving Average formula was created by Alan Hull to reduce lag while maintaining smoothness - this indicator enhances that foundation with modern visualization technology.
8 EMA ScannerThis script allows you to see the market sentiment with a quick glance. If price is above the 8EMA, the background will be shaded green and if price is below the 8EMA, it will be red.
BTC Correlation PercentagePurpose
This indicator displays the correlation percentage between the current trading instrument and Bitcoin (BTC/USDT) as a text label on the chart. It helps traders quickly assess how closely an asset's price movements align with Bitcoin's fluctuations.
Key Features
Precise Calculation: Shows correlation as a percentage with one decimal place (e.g., 25.6%).
Customizable Appearance: Allows adjustment of colors, position, and calculation period.
Clean & Simple: Displays only essential information without cluttering the chart.
Universal Compatibility: Works on any timeframe and with any trading pair.
Input Settings
Core Parameters:
BTC Symbol – Ticker for Bitcoin (default: BINANCE:BTCUSDT).
Correlation Period – Number of bars used for calculation (default: 50 candles).
Show Correlation Label – Toggle visibility of the correlation label.
Visual Customization:
Text Color – Label text color (default: white).
Background Color – Label background color (default: semi-transparent blue).
Border Color – Border color around the label (default: gray).
Label Position – Where the label appears on the chart (default: top-right).
Interpreting Correlation Values
70% to 100% → Strong positive correlation (asset moves in sync with BTC).
30% to 70% → Moderate positive correlation.
-30% to 30% → Weak or no correlation.
-70% to -30% → Moderate negative correlation (asset moves opposite to BTC).
-100% to -70% → Strong negative correlation.
Practical Use Cases
For Altcoins: A correlation above 50% suggests high dependence on Bitcoin’s price action.
For Futures Trading: Helps assess systemic risks tied to BTC movements.
During High Volatility: Determines whether an asset’s price change is driven by its own factors or broader market trends.
How It Works
The indicator recalculates automatically with each new candle. For the most reliable results, it is recommended for use on daily or higher timeframes.
This tool provides traders with a quick, visual way to gauge Bitcoin’s influence on other assets, improving decision-making in crypto markets. 🚀
This response is AI-generated, for reference only.
New chat
Breakout Pullback Reload FireBreakout Pullback Reload Fire (BPRF) is a price-action strategy designed to catch continuation moves after a breakout and retest. It identifies high-probability setups where price:
Breaks out above or below a key baseline (SMA).
Pulls back to retest that baseline (the “reload”).
Fires in the original breakout direction, signaling trend continuation.
How It Works
Baseline: Simple Moving Average (SMA) with adjustable length.
Breakout Threshold: Auto-scales using ATR or Z-score, so it works consistently on any symbol or timeframe without manual re-tuning.
Pullback Band: Defines how close price must come to the SMA for a valid “reload.”
Signal Confirmation: Requires a close back in the breakout direction after the pullback.
Filters: Max bars to complete the pattern, and minimum bars between signals to avoid noise.
Features
Works across Forex, Stocks, Crypto, Futures, and Metals.
Auto-normalization means the same settings work from 1-minute charts to daily or higher.
Alerts for both Buy and Sell signals so you can trade in real time.
Label plotting for easy visual backtesting.
Best for: Traders who like trend continuation setups after a clean breakout and pullback, and want an adaptable tool that works across markets without constant re-configuration.
Advanced VWAP Multi-MA System with Bollinger Bands & Dashboard📊 Key Features:
Core Functionality:
* VWAP Calculation with customizable anchor periods (Session/Week/Month/Quarter/Year)
* Multiple Moving Average Types (EMA, SMA, WMA, HMA, RMA, VWMA)
* Three MA Lengths (Fast: 9, Medium: 21, Slow: 50)
* Standard Deviation Bands with 3 levels (1σ, 2σ, 3σ)
* Dynamic band multipliers (adjustable from 0.5 to 5.0)
🎨 Visual Theme System:
* Theme Types: Dark, Light, Pro
* Visual Styles: Quantum, Holographic, Crystalline, Plasma, Nebula
* Visual Intensity Control (20-100%)
* Multi-layer Harmonic Nodes with gradient effects
* Energy Flow Lines based on momentum
* Minimal signal dots for buy/sell conditions
📈 Holographic Dashboard:
* Real-time VWAP position tracking
* MA trend analysis (Bullish/Bearish/Neutral)
* Band position indicator (±1σ, ±2σ, ±3σ)
* Volatility percentage
* Momentum direction
* Current visual theme display
✨ Visual Effects:
* Quantum Fields: Multi-layer boxes with dynamic transparency
* Energy Flow: Momentum-based directional lines
* Gradient Fills: Between bands and MAs
* Borderless Design: Clean, modern appearance
* Emoji Headers: Enhanced visual appeal (⚡ 🌌 📊 🔮)
🎯 Trading Signals:
* Bullish Signal: Close > VWAP AND Close > Fast MA AND Fast MA > Medium MA
* Bearish Signal: Close < VWAP AND Close < Fast MA AND Fast MA < Medium MA
SmartTrade - ALMCorpHello everyone! I’d like to introduce my creation—the Smart Trade indicator. I’ve identified certain patterns and discovered that specific moving averages, at certain deviations, can have a strong impact on price. So, what does this indicator do?
It uses the daily timeframe as the basis for displaying levels. For each cryptocurrency, a unique deviation coefficient is calculated for each level. Essentially, we take two deviation zones—the buy zone and the sell zone—treating them as 0 and 1, respectively. From there, we can plot internal levels based on the Fibonacci sequence.
To summarize:
The indicator displays two main zones (buy/sell).
It also shows internal Fibonacci levels, which exert strong influence on price movements.
For convenience, each level is marked with its corresponding numerical value.
Key Levels for Altcoins: The 0.25–0.5 Range and Imbalance
For many altcoins, the most critical levels are 0.25 and 0.5. Prices tend to stay within this range most of the time—breaking beyond these levels signals a market imbalance, which is usually short-lived.
Example Scenario:
Normal Movement: Price moves between 0.25 (support) and 0.5 (resistance).
Downside Break (Imbalance): If price falls below 0.25 into the buy zone (green area), the failure to hold 0.25 creates a strong imbalance. This typically forces price back up into its usual range.
Upside Break (Imbalance): Similarly, if price breaks above 0.5 (e.g., reaching 0.75), this also creates imbalance, and price tends to revert back down into its standard range.
Conclusion:
Most altcoins trade primarily between 0.25 and 0.5.
A breakout in either direction usually results in a temporary imbalance, which the market quickly corrects.
By recognizing these patterns, we can make more informed trading decisions.
Visualizing Imbalances – From Small to Large
In the chart above, I’ve highlighted all imbalances, ranging from minor to major.
Why This Indicator is Perfect for Spot Trading
I’ve developed a trading strategy for this indicator that displays:
Buy signals (with entry zones)
Average entry price
Sell signals
How the Buy Signals Work:
BUY 1 – Triggered when price touches the upper boundary of the buy zone.
BUY 2 – Activated when price reaches the middle of the buy zone.
BUY 3 – Executed when price tests the lower boundary of the buy zone.
This structured approach ensures you capitalize on optimal entry points while managing risk.
Understanding the Average Entry Line & Profit-Taking System
You may have noticed an additional line on the chart above, displayed alongside the buy signals. This is the average entry line, which represents your mean entry price—calculated based on executing equal-sized purchases at each buy signal (BUY 1, BUY 2, BUY 3).
Where to Sell? Smart Profit-Taking Rules
While precise entries are critical, knowing when to exit is equally important. Here’s how the system works:
Primary Take-Profit Level (0.375)
Historically, this level offers the optimal balance for quick profit-taking.
Adaptive Exit Strategy
If the position is unprofitable by the time of closure, the system automatically shifts the exit to the next higher level (0.5).
This ensures you lock in greater gains when the market favors your trade.
Advanced Performance Tracking & Asset Selection
The indicator provides comprehensive trade analytics, displayed in the bottom-right information panel:
Trade count tracking (total number of executed trades)
Cumulative profitability (combined returns across all trades)
Average profitability per trade (total returns ÷ trade count)
How to Leverage This Data
These metrics allow you to:
Identify high-potential assets
Example: Asset A shows 5% average profit/trade vs. Asset B with 40% → prioritize Asset B for spot trading.
Filter for optimal volatility
Higher average profitability often correlates with stronger momentum/volatility.
Multi-Market Utility
While designed for spot trading, the indicator’s imbalance detection (described earlier) also works for:
Futures market analysis
Entry point identification
Simple Crossover MME 5/20
Description:
This indicator plots a 5-period Exponential Moving Average (EMA) in red and a 20-period EMA in blue.
It provides clear visual signals for crossovers:
A green triangle appears when the 5 EMA crosses above the 20 EMA (bullish signal).
A red triangle appears when the 5 EMA crosses below the 20 EMA (bearish signal).
Built-in alerts are available for both bullish and bearish crossover events.
Option 2 (More Detailed)
Title: 5 EMA / 20 EMA Crossover Strategy with Visual Signals & Alerts
Description:
This script is designed to track one of the most popular moving average strategies: the crossover between the 5-period and 20-period Exponential Moving Averages (EMA). It's a clean and straightforward tool for identifying potential shifts in short-term trend momentum.
Features:
5-Period EMA: Plotted in Red.
20-Period EMA: Plotted in Blue.
Bullish Crossover Signals: A green triangle is plotted below the price bar when the 5 EMA (Red) crosses above the 20 EMA (Blue), suggesting potential upward momentum.
Bearish Crossover Signals: A red triangle is plotted above the price bar when the 5 EMA (Red) crosses below the 20 EMA (Blue), suggesting potential downward momentum.
Customizable Alerts: The indicator includes built-in alert conditions. You can easily set up real-time notifications for every "buy" (crossover) or "sell" (crossunder) signal.
How to Use:
Add the indicator to your chart.
To receive notifications, create an alert and select this indicator as the condition. Choose either the "Bullish Crossover" or "Bearish Crossover" option.
Heikinashi laguerreThis Pine Script indicator called "Heikinashi Laguerre" combines the Heikin Ashi candlestick technique with the Laguerre Moving Average (Laguerre MA) to provide a smooth, trend-following trading tool. It is designed for traders to better identify trend direction, filter noise, and generate buy and sell signals with clear visual cues.
Trading description and usage of this combined approach:
Heikin Ashi Candles smooth price data by averaging price points, providing clearer visualization of trends with fewer false signals compared to traditional candlesticks. Bullish Heikin Ashi candles appear as translucent green and bearish as translucent black, helping traders spot uptrends and downtrends with greater clarity.
The Laguerre Moving Average (Laguerre MA) is an advanced type of moving average known for its responsiveness and smoothness, filtering out market noise while staying adaptive. Traders can adjust the sensitivity via the alpha parameter.
The indicator computes Heikin Ashi prices on a user-selected timeframe, independent of the chart’s timeframe, allowing multi-timeframe analysis within the same chart.
Trend Identification and Filtering: The buy signal is triggered when the Heikin Ashi candle is bullish (close > open) and the price closes above the Laguerre MA, signaling a strong uptrend continuation. Conversely, the sell signal triggers when the Heikin Ashi candle is bearish (close < open) and the price closes below the Laguerre MA.
Visual aids on chart include:
Colored Heikin Ashi candles for immediate trend recognition.
Subtle background coloring to distinguish bullish (green) and bearish (red) trends.
Optional arrow markers to flag bullish and bearish candles.
Buy (green) and sell (red) labels placed below or above bars when their conditions are met, which helps recognize entry points easily.
Date Range Filter helps restrict signals to a specific trading period as defined by the user, offering customized historical or forward-looking trade analysis.
This fusion of Heikin Ashi candles and Laguerre MA is suited for traders looking for a balance between smoothing price data and maintaining timely trend responsiveness, typically useful in swing and trend-following strategies.
Scalping Indicator (EMA + RSI)Buy and Sell Signals. Use with Supply and Demand to find good entries. Do not rely solely on this signal. Monitors with short and long EMA cross along with oversold or overbought RSI.
HMA V1 – Hull ATR SuperTrend with HTF Gate (Optimized for ES & NOverview
HMA V1 is a directional trend-following indicator designed for ES and NQ futures, combining a Hull ATR-based SuperTrend system with a Higher Timeframe HMA gate to filter entries. It can also be used on major indices and liquid stocks, but accuracy will be lower compared to ES/NQ optimization.
The indicator generates Buy and Sell signals based on the alignment of short-term price action with the higher timeframe trend filter. The logic is tuned for both scalping (more frequent signals, lower win rate) and day trading (fewer signals, higher win rate).
⸻
Signal Logic
1. Base Trend Engine:
• Uses an ATR-based Hull Moving Average (HMA) to dynamically calculate upper and lower bands for trend detection.
• Price crossing above the upper band in an uptrend = potential Buy trigger.
• Price crossing below the lower band in a downtrend = potential Sell trigger.
2. HTF HMA Gate Filter:
• All signals must pass a Higher Timeframe HMA check to confirm the broader trend direction.
• This acts as a noise filter, reducing false signals in choppy conditions.
3. Timeframe Behavior:
• Long Signals:
• Works best on 15m for day trading (higher win rate).
• 5m gives more scalping opportunities but with more false signals.
• If you want to trade longs, uncheck “Lock Long Signals to Specific Timeframe” for flexibility.
• Short Signals:
• Currently only coded to appear on 5m timeframe (bug to be fixed in future versions).
4. Partial Profit Logic (optional):
• Although not enforced in this version, the system is often used with partial profit-taking at fixed % targets and moving stops to breakeven after P1.
⸻
Best Use Practices:
• ES/NQ Futures: Best performance and most accurate filtering.
• Other Indices/Stocks: Usable but expect lower accuracy; re-tune ATR/HMA parameters for better results.
• Scalping: Use 5m for quicker entries, accept more noise.
• Day Trading: Use 15m for fewer, higher-probability setups.
• Always combine with your own market structure and higher timeframe bias for best results.
⸻
Known Bugs / Limitations:
• Long signal lock is sometimes overly restrictive — uncheck the “Lock Long Signals to Specific Timeframe” option to see more entries.
• Short signals currently only appear on the 5m timeframe.
Michalke Momentum IndexMichalke Momentum Index (MMI) is an indicator I made with the aim of predicting Gold prices. I built it around the 8h chart but it can be applied to any chart.
I hope using this will help you significantly.