💀 DarkPool's Moving Averages 💀DarkPool's Moving Averages is a consolidated trend analysis tool that allows traders to plot up to five distinct moving averages (MAs) within a single indicator pane. This script is designed to declutter trading charts by replacing multiple individual indicator instances with one comprehensive solution.
Beyond standard plotting, the indicator features Multi-Timeframe (MTF) capabilities, allowing users to overlay higher-timeframe trends (e.g., Daily or Weekly averages) onto lower-timeframe charts (e.g., 5-minute or 1-hour). It also utilizes dynamic color-coding to visually indicate instantaneous trend direction based on the slope of the moving average.
Key Features
5-in-1 Architecture: Configure and toggle up to five independent moving averages simultaneously.
Multi-Timeframe (MTF) Support: Calculate moving averages based on timeframes different from the current chart (e.g., view a 200-day EMA while trading on a 15-minute chart).
Dynamic Trend Coloring: Lines automatically change color based on their slope (rising vs. falling) to provide immediate visual trend confirmation.
Versatile Calculation Models: Supports major averaging methods including SMA, EMA, WMA, RMA, VWMA, and HMA.
How to Use
1. Trend Identification The primary use of this tool is to identify the market trend direction at a glance.
Bullish Trend: When the Moving Average line is colored in the "Bullish Color" (default: dark/green tones) and sloping upward.
Bearish Trend: When the Moving Average line is colored in the "Bearish Color" (default: light/red tones) and sloping downward.
2. Dynamic Support and Resistance Traders can use specific lengths (e.g., 50, 100, 200) to identify dynamic support and resistance levels.
Entry: In an uptrend, price retracing to a rising MA often presents a buying opportunity.
Exit: In a downtrend, price rallying to a falling MA often presents a selling opportunity.
3. The "Ribbon" Effect By enabling multiple MAs with sequential lengths (e.g., 10, 20, 50, 100, 200), traders can visualize the strength of the trend.
Expansion: When the lines spread apart, the trend is strengthening.
Contraction/Crossover: When the lines converge or cross, the trend is weakening or consolidating.
4. Multi-Timeframe Analysis Use the "Timeframe" input in the General Settings to lock the calculations to a specific period.
Example: Set the Timeframe to "D" (Daily) and the Length to 200. You can now drop down to a 5-minute chart, and the indicator will still display the significant 200-Day Moving Average, acting as a major anchor for intraday price action.
Configuration Guide
General Settings
Timeframe: Determines the data source for all MAs. Leave at default to use the current chart's timeframe, or select a specific higher timeframe for macro analysis.
Price Source: Selects the data point used for calculation (Close, Open, High, Low, etc.).
Moving Average Configurations (MA1 - MA5) Each of the five slots allows for individual customization:
Enable: Toggle the visibility of the specific MA.
Type: Select the calculation method.
SMA: Simple Moving Average (Standard).
EMA: Exponential Moving Average (Weight on recent data).
HMA: Hull Moving Average (Reduced lag).
VWMA: Volume Weighted Moving Average.
WMA/RMA: Weighted and Rolling Moving Averages.
Note: While many types are listed, the script explicitly calculates the types listed above; others may default to standard SMA behavior.
Length: The lookback period (e.g., 20, 50, 200).
Colors (Bull/Bear): Customize the colors used when the line is rising versus falling.
Line Style: Choose between Solid, Dashed, or Dotted lines to differentiate between the five MAs.
Disclaimer: This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.
Moving Averages
Multi EMA and SMA with VWAP Indicator📊 Custom Multi-MA & VWAP Indicator
A comprehensive and fully customizable moving average indicator that combines 6 Exponential Moving Averages (EMAs), 3 Simple Moving Averages (SMAs), and VWAP in one clean, easy-to-use tool.
✨ Features:
6 Configurable EMAs:
• Default periods: 9, 21, 50, 100, 150, 200
• Fully adjustable lengths
• Individual color customization
• Show/hide toggles for each EMA
3 Configurable SMAs:
• Default periods: 20, 50, 100
• Fully adjustable lengths
• Individual color customization
• Show/hide toggles for each SMA
• Thicker lines for easy distinction from EMAs
VWAP (Volume Weighted Average Price):
• Toggle on/off
• Customizable color and line width
• Essential for intraday trading and institutional levels
🎯 Use Cases:
• Trend identification and confirmation
• Support and resistance levels
• Entry and exit signals
• Multi-timeframe analysis
• Day trading and swing trading strategies
• Institutional price levels (VWAP)
⚙️ Fully Customizable:
Every aspect of this indicator is configurable through the settings panel:
• Adjust any MA period to fit your trading strategy
• Choose your preferred colors for better chart visualization
• Enable/disable specific MAs to reduce chart clutter
• Customize VWAP line thickness
📈 Perfect For:
• Traders who use multiple moving averages in their strategy
• Those seeking an all-in-one MA solution
• Clean chart organization with one indicator instead of multiple
• Both beginners and experienced traders
💡 Tips:
• Use shorter EMAs (9, 21) for quick trend changes
• Longer EMAs (100, 150, 200) act as strong support/resistance
• VWAP is particularly useful for intraday trading
• Customize colors to match your chart theme
Version: Pine Script v6
Overlay: Yes (plots directly on price chart)
50 & 200 SMA + RSI Average Strategy (Long Only, Single Trade)It works better in trending markets. It delivers its best performance in the 4-hour to 1-day timeframes.
paigep.llc - SuperMA
SuperMA is a multi-layered moving-average and candle-coloring system that combines SMA, EMA, and optional HMA logic to help traders visualize trend shifts, pullbacks, and momentum changes in a clean, structured way.
The script includes multiple modules: trend-based moving averages, pullback signals, exit logic, and an optional HMA cross engine.
📌 Core Features
1. Full SMA + EMA Framework
The indicator plots multiple moving averages (8, 9, 13, 20, 50, 200) using both SMA and EMA calculations. Each line automatically colors bullish or bearish based on its relationship to the 200-period baseline. Users can toggle SMAs and EMAs independently for clearer chart control.
2. Main Trend Entry & Exit Logic (8×200 and 8×20)
Built-in crossover logic detects:
Main Entry: SMA 8 crossing above/below EMA 200
Main Exit: SMA 8 and SMA 20 cross (with an option to choose which SMA is treated as the “fast” leg)
A “first exit only” option allows the script to ignore additional exit signals until a new trend regime begins.
3. Pullback Module (20 SMA Interaction)
Pullback entries and exits occur when price crosses the 20 SMA during existing trend conditions.
This includes:
Pullback entries through the 20 SMA
Pullback exits back across the 20 SMA
Labels and candle colors are available for all pullback events.
4. Optional HMA Cross Module
A separate module allows traders to use two Hull Moving Averages (HMA) with customizable:
Lengths
Independent timeframes
Line colors
Cross-based entries and exits
This module has its own events, labels, and optional candle coloring.
5. Advanced Candle Coloring System
Candle coloring is layered in priority order, based on:
Main trend entries
Main exits
HMA entries
HMA exits
Pullback entries
Pullback exits
Trend-only candles (based on SMA 8 relative to EMA 200)
Users may also independently color wicks and borders.
6. Configurable Alerts (Fully Decoupled from Visuals)
Alerts are available for all major events, including:
Main Entries (8×200)
Main Exits (8×20)
Pullback Entries and Exits
HMA Entries and Exits
Bull or Bear Trend candles
Any colored candle event
Alerts can fire on bar close only or intrabar, depending on user preference.
Use Cases
SuperMA helps traders visualize:
Trend direction using SMA/EMA structure
Momentum shifts through HMA crosses
Pullback zones around the 20 SMA
Early regime transitions based on the 8×200 relationship
Candle-level context through color-coded bars
The indicator works across all markets and timeframes.
⚠️ Note
This tool is for visual and analytical assistance only. It does not guarantee future performance and should be combined with additional analysis and risk management.
PRO Triple+ Confirmation Overlay SignalsThis script uses the 200 SMA + RSI + MACD confirmations as buy and sell signals. It only give a signal if all three line up. works well for general market direction signals. It also has a higher time frame filter that will filter out 70%-90% of traps and counter trend signals. MACD momentum trigger times entries with momentum shifts. RSI confirmation as well as volume confirmation to remove entries in low volume dead markets.
EMA 7/21 + SuperTrend INDICADOR CREADO PARA MI ESTRATEGIA That sounds like a complex and multi-layered trading indicator you've developed! Combining an Exponential Moving Average (EMA) crossover with an Average Directional Index (ADX) filter, a Volume filter, and a Supertrend for overall trend confirmation can certainly help to filter out false signals and potentially increase the reliability of your entry and exit points.Here's a breakdown of the components you're using and why this combination can be powerful:📊 Indicator Components and Their Roles1. 7/21 EMA Crossover (Signal Generator)The $7$-period EMA and $21$-period EMA crossover is a common strategy used to generate initial buy or sell signals.Buy Signal: The short-term EMA (7) crosses above the long-term EMA (21).Sell Signal: The short-term EMA (7) crosses below the long-term EMA (21).2. ADX DI Filter (Momentum and Direction)The Average Directional Index (ADX) and its directional indicators ($+DI$ and $-DI$) are key to confirming the strength and direction of the move.Directional Confirmation: The EMA crossover must be confirmed by the appropriate directional index. For a buy, the $+DI$ should be above the $-DI$. For a sell, the $-DI$ should be above the $+DI$.Trend Strength ( NYSE:ADX $): A rising NYSE:ADX $ (typically above 20 or 25) suggests the current trend has sufficient momentum, making the signal more reliable.3. Volume Filter (Conviction)Adding a Volume filter ensures that the price movement accompanying the EMA crossover is supported by significant trading activity.Confirmation: A strong signal (buy or sell) is often accompanied by above-average volume. This suggests that market participants are actively supporting the move, adding conviction to the trade.4. Supertrend (Overall Trend Confirmation)The Supertrend indicator is based on the Average True Range (ATR) and is excellent for identifying the dominant market trend.Trend Alignment: The EMA crossover signal should align with the Supertrend's current signal. For a buy signal, the price should be above the Supertrend line (green). For a sell signal, the price should be below the Supertrend line (red). This helps ensure you are trading with the prevailing trend.📈 Why This is a Powerful CombinationYour indicator is essentially a multi-stage confirmation system:Speed (7/21 EMA): Generates a fast, responsive signal.Momentum (ADX DI): Confirms the direction and strength of the signal.Conviction (Volume): Validates the signal with market participation.Safety/Trend (Supertrend): Ensures the trade is in the direction of the long-term trend.The Informative Panel is a great feature, as it simplifies the decision-making process by summarizing the findings of all these components—e.g., "BUY: EMA Crossover $\checkmark$, +DI > -DI $\checkmark$, High Volume $\checkmark$, Supertrend Green $\checkmark$."💡 Next Steps for RefinementTo finalize and test this indicator, you may want to consider:Parameter Optimization: The best settings for the ADX level (e.g., 20 vs. 25) and the Supertrend ATR parameters may need to be optimized for the specific asset (e.g., stocks, forex) and timeframe you are using.Exit Strategy: Since this primarily focuses on entries, define clear Stop-Loss (perhaps based on the Supertrend line or a recent swing low/high) and Take-Profit (e.g., a fixed Risk/Reward ratio or previous resistance/support levels) rules.Would you like to explore specific parameters for any of these components or look into ways to backtest your strategy?
Adaptive ATR% Grid + SuperTrend + OrderFlipDescription:
This indicator combines multiple technical analysis tools to identify key price levels and trading signals:
ATR% Grid – automatic plotting of support and resistance levels based on current price and volatility (ATR). Useful for identifying potential targets and entry/exit zones.
SuperTrend – a classic trend indicator with an adaptive ATR multiplier that adjusts based on average volatility.
OrderFlip – identifies price reversal points relative to a moving average with ATR-based sensitivity, optionally filtered by OBV and DMI.
MTF Confirmation – multi-timeframe trend verification using EMA to reduce false signals.
Signal Labels – "LONG" and "SHORT" labels appear on the chart with an offset from the price for better visibility.
JSON Alerts – ready-to-use format for automated alerts, including price, SuperTrend direction, Fair Zone, and ATR%.
Features:
Fully compatible with Pine Script v6
Lines and signals are fixed on the chart, do not shift with new bars
Configurable grid, ATR, SuperTrend, and filter parameters
Works with MTF analysis and classic indicators (OBV/DMI)
Usage:
Best used with additional indicators and risk management strategies. ATR% Grid is ideal for both positional trading and intraday setups.
перевод на русский
Описание:
Этот индикатор объединяет несколько методов технического анализа для выявления ключевых уровней цены и сигналов на покупку/продажу:
Сетка ATR% (ATR% Grid) – автоматическое построение уровней поддержки и сопротивления на основе текущей цены и волатильности (ATR). Позволяет видеть потенциальные цели и зоны входа/выхода.
SuperTrend – классический трендовый индикатор с адаптивным множителем ATR, который корректируется на основе средней волатильности.
OrderFlip – определение моментов разворота цены относительно скользящей средней с учетом ATR, с возможностью фильтрации по OBV и DMI.
MTF-подтверждение – проверка направления тренда на нескольких таймфреймах с помощью EMA, чтобы снизить ложные сигналы.
Сигнальные метки – на графике появляются "LONG" и "SHORT" с отступом от цены для наглядности.
JSON Alerts – готовый формат для автоматических уведомлений, включающий цену, направление SuperTrend, Fair Zone и ATR%.
Особенности:
Поддержка Pine Script v6
Линии и сигналы закреплены на графике, не двигаются при обновлении свечей
Настраиваемые параметры сетки, ATR, SuperTrend и фильтров
Совместимость с MTF-анализом и классическими индикаторами OBV/DMI
Рекомендации:
Используйте в сочетании с другими индикаторами и стратегиями управления риском. Сетка ATR% отлично подходит для позиционной торговли и интрадей.
ATR% Grid – automatic plotting of support and resistance levels based on current price and volatility (ATR). Useful for identifying potential targets and entry/exit zones.
SuperTrend – a classic trend indicator with an adaptive ATR multiplier that adjusts based on average volatility.
EMA CrossMoving averages based trend indicator
Plots
Hull Moving average 34
Simple MA 200
Exponential MA 5
Signals on crossing and turn around points.
ORB indicatorthis indicator marks out the first 15 min high and low on the candle that opens in each session, very easy to read and minimalist
Fibonacci Retrace + 50 EMA Hariss 369This indicator combines 3 concepts:
Fibonacci retracement zones
50 EMA trend filter
Price interaction with specific Fib zones to generate Buy/Sell signals
Let’s break everything down in simple language.
1. Fibonacci Retracement Logic
The script finds:
Most recent swing high
Most recent swing low
Using these two points, it draws Fibonacci levels:
Fibonacci Levels Used
Level Meaning Calculation
0% Swing Low recentLow
38.2% Light retracement high - (range × 0.382)
50% Mid retracement high - (range × 0.50)
61.8% Deep retracement high - (range × 0.618)
100% Swing High recentHigh
🔍 Why only these levels?
Because trading signals are generated based ONLY on:38.2%, 50%,61.8%
These 3 levels define the golden retracement zones.
2. Trend Filter — 50 EMA
A powerful rule:
Trend Up (bullish)
➡️ Price > 50 EMA
Trend Down (bearish)
➡️ Price < 50 EMA
This prevents signals against the main trend.
3. BUY Conditions (Retracement + EMA)
A BUY signal appears when:
Price is above the 50 EMA (trend is up)
Price retraces into the BUY ZONE:
🔵 BUY ZONE = between 50% and 38.2% Fibonacci i.e.,close >= Fib50 AND close <= Fib38.2
This means:
Market is trending up
Price corrected to a healthy retracement level
Buyers are stepping back in
📘 Why this zone?
This is a moderate retracement (not too shallow, not too deep).
Smart money often enters at 38.2%–50% in a strong trend.
📘 BUY Signal Appears With:
Green “BUY” label
Green arrow below the candle
4. SELL Conditions (Retracement + EMA)
A SELL signal appears when:
Price is below the 50 EMA (trend is down)
Price retraces upward into the SELL ZONE:
🔴 SELL ZONE = between 50% and 61.8% Fibonacci i.e.,close <= Fib50 AND close >= Fib61.8
This means:
Market is trending down
Price made a pullback
Sellers regain control in the golden zone
📘 Why this zone?
50–61.8 retracement is the ideal bearish pullback level.
📘 SELL Signal Appears With:
Red “SELL” label
Red arrow above the candle
5. STOP-LOSS (SL) RULES
For BUY trades,
Place SL below 61.8% level.SL = Fib 61.8%
OR
more safe:SL = swing low (Fib 0%)
For SELL trades
Place SL above 38.2% level.SL = Fib 38.2%
OR conservative:
SL = swing high (Fib 100%)
6. TAKE-PROFIT (TP) RULES
Based on common Fibonacci extensions.
BUY Trade TP Options
TP Level Meaning
TP1 Return to 38.2% Quick scalping target
TP2 Return to swing high Full trend target
TP3 Breakout above swing high Trend continuation
Practical suggestion:
TP1 = 1× risk
TP2 = 2× risk
TP3 = trailing stop
SELL Trade TP Options
TP Level Meaning
TP1 Return to 61.8% Moderate bounce
TP2 Return to swing low Trend target
TP3 Break below swing low Trend continuation
7. Recommended Trading Plan (Simple)
BUY PLAN
Price > 50 EMA (uptrend)
Enter at BUY signal in 38.2–50% zone
SL at 61.8%
TP at swing high or structure break
SELL PLAN
Price < 50 EMA (downtrend)
Enter at SELL signal in 50–61.8% zone
SL above 38.2%
TP at swing low
🟩 Summary (Very Easy to Remember)
🔵 BUY
Trend: above 50 EMA
Zone: between 50% and 38.2%
SL: below 61.8%
TP: swing high
🔴 SELL
Trend: below 50 EMA
Zone: between 50% and 61.8%
SL: above 38.2%
TP: swing low
Multi-Timeframe EMA & SMA Scanner - Price Level LabelsOverview
A powerful multi-timeframe moving average scanner that displays EMA and SMA levels from up to 8 different timeframes simultaneously on your chart. Perfect for identifying key support/resistance levels, confluence zones, and multi-timeframe trend analysis.
Key Features
📊 Multi-Timeframe Analysis
Monitor up to 8 different timeframes simultaneously (5m, 10m, 15m, 30m, 1H, 4H, 1D, 1W)
Each timeframe can be independently enabled/disabled
Fully customizable timeframe selection
📈 Comprehensive Moving Averages
5 configurable EMA periods (default: 8, 21, 50, 100, 200)
2 configurable SMA periods (default: 200, 400)
All periods are fully customizable to match your trading strategy
🎯 Smart Price Level Labels
Labels positioned at actual price levels (not in a list)
Color-coded labels for easy identification
Dynamic text color: Green when price is above, Red when below
Compact notation: E8-5m means EMA 8 on 5-minute timeframe
Adjustable label offset from current price
📉 Optional Horizontal Lines
Dotted reference lines at each MA level
Color-matched to corresponding MA type
Can be toggled on/off independently
📋 Comprehensive Data Table
Shows all MA values organized by timeframe
Displays percentage distance from current price
Trend indicator (Strong Up/Up/Neutral/Down/Strong Down)
EMA alignment status (Bullish/Bearish/Mixed)
Color-coded cells for quick visual analysis
🎨 Full Customization
Individual color settings for each MA type
Adjustable table size (Tiny/Small/Normal/Large)
Choose table position (Left/Right)
Toggle any MA or timeframe on/off
🔔 Built-in Alerts
Golden Cross detection (EMA 50 crosses above EMA 200)
Death Cross detection (EMA 50 crosses below EMA 200)
Price crossing major EMAs
Available for multiple timeframes
How to Use
For Day Traders:
Enable lower timeframes (5m, 10m, 15m, 30m)
Focus on faster EMAs (8, 21, 50)
Watch for confluence zones where multiple timeframe MAs cluster
For Swing Traders:
Enable higher timeframes (1H, 4H, 1D)
Use all EMAs plus SMAs for broader perspective
Look for alignment across timeframes for high-probability setups
For Position Traders:
Focus on daily and weekly timeframes
Emphasize 100, 200 EMAs and 200, 400 SMAs
Use for long-term trend confirmation
Understanding the Labels
Label Format: E8-5m 45250.50
E8 = EMA with period 8
5m = 5-minute timeframe
45250.50 = Current price level
Green text = Price is currently above this level (potential support)
Red text = Price is currently below this level (potential resistance)
For SMAs: S200-1D 44500.00
S200 = SMA with period 200
1D = Daily timeframe
Trading Applications
Support/Resistance Identification
MAs act as dynamic support and resistance levels
Multiple timeframe MAs create stronger zones
Confluence Trading
When multiple MAs from different timeframes cluster together, it creates high-probability zones
These areas often result in strong reactions
Trend Analysis
Check the Alignment column: Bullish alignment = all EMAs in ascending order
Trend column shows overall price position relative to all MAs
Entry/Exit Timing
Use lower timeframe MAs for precise entries
Use higher timeframe MAs for trend direction and exits
Settings Guide
Timeframes Section:
Select and enable/disable up to 8 timeframes
Default: 5m, 10m, 15m, 30m, 1H, 4H, 1D, 1W
MA Periods Section:
Customize all EMA and SMA periods
Default EMAs: 8, 21, 50, 100, 200
Default SMAs: 200, 400
Display Section:
Toggle price labels and horizontal lines
Adjust label offset (distance from right edge)
Show/hide data table
Choose table position and size
Colors Section:
Customize colors for each MA type
Each MA has independent color control
Pro Tips
✅ Start with default settings and adjust based on your trading style
✅ Disable timeframes/MAs you don't use to reduce chart clutter
✅ Use the data table for quick overview, labels for precise levels
✅ Look for "confluence clusters" where multiple MAs from different timeframes align
✅ Green labels = potential support, Red labels = potential resistance
✅ Set alerts on key crossovers for automated notifications
Technical Specifications
Pine Script v6
Overlay indicator (displays on main chart)
Maximum 500 labels supported
Real-time updates on each bar close
Compatible with all instruments and timeframes
Perfect For:
Day traders seeking multi-timeframe confirmation
Swing traders looking for high-probability setups
Position traders monitoring long-term trends
Anyone using moving averages as part of their strategy
Note: This indicator does not provide buy/sell signals. It's a tool for analysis and should be used in conjunction with your trading strategy and risk management rules.
Triple Moving Averages Daily on Timeframe (10/20/50 with LabelsUnlike other MA's this give me on daily time frame irrespective of chart time
EMA Stack Background HighlighterThis is a simple script that highlights my backround when my criteria for my context timeframe is met, specifically, price is above the 10 EMA, the 10 is above the 20, and the 20 is above the 50 for green and vice versa for red. I use this in a multi timeframe approach similar to mentfx's EVC criteria
CDC Action Zone V.2 strategy — Updated v6Making a profit with a candlestick structure compared to the MA course 25 line with nine intersecting to find. Buy in the market.
APEX TREND: Macro & Hard Stop SystemAPEX TREND: Macro & Hard Stop System
The APEX TREND System is a composite trend-following strategy engineered to solve the "Whipsaw" problem inherent in standard breakout systems. It orchestrates four distinct technical theories—Macro Trend Filtering, Volatility Squeeze, Momentum, and Volatility Stop-Loss—into a single, hierarchical decision-making engine.
This script is not merely a collection of indicators; it is a rules-based trading system designed for Swing Traders (Day/Week timeframes) who aim to capture major trend extensions while strictly managing downside risk through a "Hard Stop" mechanism.
🧠 Underlying Concepts & Originality
Many trend indicators fail because they treat all price movements equally. The APEX TREND differentiates itself by applying an "Institutional Filter" logic derived from classic Dow Theory and Modern Volatility Analysis.
1. The Macro Hard Stop (The 200 EMA Logic)
Origin: Based on the institutional mandate that “Nothing good happens below the 200-day moving average.”
Function: Unlike standard super trends that flip constantly in sideways markets, this system integrates a 200-period Exponential Moving Average (EMA) as a non-negotiable "Hard Stop."
Synergy: This acts as the primary gatekeeper. Even if the volatility engine signals a "Buy," the system suppresses the signal if the price is below the Macro Baseline, effectively filtering out counter-trend traps.
2. The Volatility Engine (Squeeze Theory)
Origin: Derived from John Carter’s TTM Squeeze concept.
Function: The script identifies periods where Bollinger Bands (Standard Deviation) contract inside Keltner Channels (ATR). This indicates a period of potential energy build-up.
Synergy: The system only triggers an entry when this energy is released (Breakout) AND coincides with Linear Regression Momentum, ensuring the breakout is genuine.
3. Anti-Chop Filter (ADX Integration)
Origin: J. Welles Wilder’s Directional Movement Theory.
Function: A common failure point for trend systems is low-volatility chop. This script utilizes the Average Directional Index (ADX).
Synergy: If the ADX is below the threshold (Default: 20), the market is deemed "Choppy." The script visually represents this by painting candles GRAY, signaling a "No-Trade Zone" regardless of price action.
4. The "Run Trend" Stop Loss (Factor 4.0 ATR)
Origin: Adapted from the Turtle Trading rules regarding volatility-based stops.
Function: Standard Trailing Stops (usually Factor 3.0) are too tight for crypto or volatile equities on daily timeframes.
Optimization: This system employs a wider ATR Multiplier of 4.0. This allows the asset to fluctuate naturally within a trend without triggering a premature exit, maximizing the "Run Trend" potential.
🛠 How It Works (The Algorithm)
The script processes data in a specific order to generate a signal:
Check Macro Trend: Is Price > EMA 200? (If No, Longs are disabled).
Check Volatility: Is ADX > 20? (If No, all signals are disabled).
Check Volume: Is Current Volume > 1.2x Average Volume? (Confirmation of institutional participation).
Trigger: Has a Volatility Breakout occurred in the direction of the Macro Trend?
Execution: If ALL above are true -> Generate Signal.
🎯 Strategy Guide
1. Long Setup (Bullish)
Signal: Look for the Green "APEX LONG" Label.
Condition: The price must be ABOVE the White Line (EMA 200).
Execution: Enter at the close of the signal candle.
Stop Loss: Initial stop at the Green Trailing Line.
2. Short Setup (Bearish)
Signal: Look for the Red "APEX SHORT" Label.
Condition: The price must be BELOW the White Line (EMA 200).
Execution: Enter at the close of the signal candle.
Stop Loss: Initial stop at the Red Trailing Line.
3. Exit Rules (Crucial)
This system employs a Dual-Exit Mechanism:
Soft Exit (Profit Taking): Close the position if the price crosses the Trailing Stop Line (Green/Red line). This locks in profits during a trend reversal.
Hard Exit (Emergency): Close the position IMMEDIATELY if the price crosses the White EMA 200 Line against your trade. This prevents holding a position during a major market regime change.
⚙️ Settings
Momentum Engine: Adjust Bollinger Band/Keltner Channel lengths to tune breakout sensitivity.
Apex Filters: Toggle the EMA 200 or ADX filters on/off to adapt to different asset classes.
Risk Management: The ATR Multiplier (Default 4.0) controls the width of the trailing stop. Lower values = Tighter stops (Scalping); Higher values = Looser stops (Swing).
Disclaimer: This script is designed for trend-following on higher timeframes (4H, 1D, 1W). Please backtest on your specific asset before live trading.
SHOPPA trendBuy and Sell indicator based on golden cross and death cross. exit signals for LX (long exit) and SX (short exit)
Multi EMA (up to 6) - JamilThis indicator plots six customizable Exponential Moving Averages (EMA 1 to EMA 6) designed to help traders quickly identify market direction, trend strength, and dynamic support/resistance levels.
🔹 Key Features
Plots six EMAs simultaneously for multi-timeframe trend clarity
Helps detect trend reversals, pullbacks, and continuation setups
Ideal for scalping, intraday, swing trading, and funded challenges
Works on all markets (Gold, Forex, Crypto, Indices)
Customizable lengths and colors
Clean and lightweight — doesn’t affect chart performance
🔹 How to Use
When all EMAs are aligned and fanning out → Strong Trend
EMA compression → Low volatility / possible breakout setup
Price above all EMAs → Bullish zone
Price below all EMAs → Bearish zone
Perfect for traders who want a simple yet powerful trend-reading tool.
The Trade Plan 9 & 15 EMA⭐ What Are EMAs?
An Exponential Moving Average (EMA) gives more weight to recent prices, making it more responsive than a simple moving average.
9-EMA = very fast, reacts quickly to price changes
15-EMA = slightly slower, smooths short-term noise
Together they help identify momentum shifts.
📈 How the 9/15 EMA Strategy Works
1. Buy Signal (Bullish Crossover)
You enter a long (buy) trade when:
➡ 9 EMA crosses above the 15 EMA
This suggests momentum is shifting upward and a new uptrend may be forming.
2. Sell Signal (Bearish Crossover)
You enter a short (sell) trade or exit long positions when:
➡ 9 EMA crosses below the 15 EMA
This suggests momentum is turning downward.
🔧 How Traders Typically Use It
Entry
Wait for a clear crossover.
Confirm with price closing on the same side of EMAs.
Some traders add confirmation using RSI, MACD, or support/resistance.
Exit
Several options:
Exit when the opposite crossover occurs.
Exit at predetermined risk-reward levels (e.g., 1:2).
Use trailing stop below/above EMAs.
👍 Strengths
Easy to follow
Good for fast-moving markets
Works well on trending markets
Minimal indicators needed
👎 Weaknesses
Whipsaws in sideways markets
Many false signals on very low timeframes
Works best with additional filters
🕒 Common Timeframes
Scalping: 1m, 5m
Day trading: 5m, 15m
Swing trading: 1H, 4H
5-Day SMAPine Script v5 indicator that plots a 5-day Simple Moving Average with configurable styling options:
Features:
5-Day SMA: Calculates the simple moving average of the closing price over 5 periods
Configurable Line Color: Choose any color for the line through the settings
Configurable Line Style: Select between Solid, Dashed, or Dotted lines
Line Width: Adjustable from 1 to 5 pixels
The SMA will automatically adjust to your chart's timeframe - whether you're viewing 1-minute, 1-hour, daily, or any other timeframe, it will calculate the moving average over the last 5 periods of that timeframe.
EMAs Bullish/Bearish Confluence [Trend Bias]EMA Confluence Zones
This indicator is designed to simplify trend identification by visually highlighting "Confluence Zones" —areas where short-term, medium-term, and long-term momentum are fully aligned.
While traders can manually add three Moving Averages to a chart, identifying the exact moment all three align (the "Perfect Stack") can be visually difficult during live trading. This script automates that process, converting complex line crosses into simple background color zones and providing actionable alerts for the exact moment a trend alignment begins.
🛠 How It Works
The script utilizes three customizable Exponential Moving Averages (EMAs) to detect the market bias:
Short EMA: Represents immediate price action/momentum.
Medium EMA: Represents the intermediate trend.
Long EMA: Represents the major trend baseline.
Calculations & Logic
The indicator checks for a specific hierarchical alignment (Stacking) of these averages:
1. 🟢 Bullish Confluence (Buy Zone):** Returns true when `Short > Medium` AND `Medium >Long`. This confirms that momentum is rising across all three monitored timeframes.
2. 🔴 Bearish Confluence (Sell Zone):** Returns true when `Short < Medium` AND `Medium < Long`. This confirms that momentum is falling across all three monitored timeframes.
3. ⚪ Neutral (No Color): Any other state indicates a choppy or consolidating market where the EMAs are intertwined.
---
🚀 Key Features
*Visual Bias Confirmation: The background highlights Green (Bullish) or Red (Bearish) only when the "Perfect Stack" conditions are met.
Trend Start Alerts: Unlike standard EMA cross alerts, this script includes custom alert conditions that trigger only on the first bar where the confluence becomes valid. This prevents spam alerts during a prolonged trend.
Full Customization: Users can adjust the lengths of all three EMAs to fit specific strategies (e.g., Scalping vs. Swing Trading).
Clean Chart Mode: Includes options to hide the EMA lines entirely and rely solely on the background color for a minimalist "Naked Trading" setup.
🎯 How to Use
1. Trend Filter: Use the background color to determine your directional bias. If the background is Green, look only for Long setups on lower timeframes. If Red, look only for Short setups.
2. Breakout Confirmation: If price breaks a key level, wait for the background color to flip. This confirms that the Moving Averages have caught up to the move, validating the breakout strength.
3. Exit Signal: If you are in a trend trade and the background color disappears (turns transparent), it indicates the trend momentum is fading and the EMAs are beginning to cross/compress.
⚙️ Settings
EMA Lengths: Default is 20, 50, 100. These can be changed to common combinations like (9, 21, 55) or (50, 100, 200).
Visuals: Toggle lines or background colors on/off and adjust transparency to keep your chart readable.
---
Disclaimer: This script is for informational purposes only. Past performance of a trend following method does not guarantee future results. Always use proper risk management.






















