4 EMA + MTF Trend TableCreates a table on top right of chart that shows if the 4ma is bullish or bearish on different timeframes
Moving Averages
Momentum Table - Felipe📊 Momentum Table – By Felipe
This multi-timeframe momentum dashboard displays a clean and color-coded overview of key trend and momentum indicators across 6 major timeframes (5m to 1W), directly on your chart. It’s ideal for quickly identifying market strength, trend alignment, and potential reversals at a glance.
🔍 Features:
EMA Trend Check (EMA 9, 20, 100, 200):
Compares the current close against each EMA.
✅ Green check = price is above the EMA (bullish bias).
🔻 Red arrow = price is below the EMA (bearish bias).
Visual trend alignment helps you spot strong directional setups.
RSI (Relative Strength Index):
Displays current RSI (14) value per timeframe.
Background color highlights momentum conditions:
🔴 Red = Overbought (>70)
🟢 Green = Oversold (<30)
⚪ Gray = Neutral
Stochastic RSI:
Uses Stoch RSI applied to RSI (14) for sensitivity.
Background color follows the same logic as RSI for quick visual cues.
Compact Visual Table:
Located in the bottom-right corner.
Clean design with headers and rows labeled by timeframe.
Helps traders monitor trend and momentum confluence across multiple timeframes in real time.
This tool supports momentum-based strategies, EMA stacking confirmation, and multi-timeframe alignment, making it ideal for scalpers, swing traders, and trend followers alike.
EMA Oscillating Trend📈 EMA Oscillating Trend by AI-123
The EMA Oscillating Trend indicator is a dynamic trend visualizer that enhances traditional EMA behavior by offsetting the line based on trend direction, providing a more intuitive and visually distinct representation of market momentum.
🔍 Key Features:
🔵 Bullish Color Customization – Define your preferred color for bullish trends
🔴 Bearish Color Customization – Set a different tone for bearish phases
🪄 Adjustable Line Thickness – Tailor the EMA's appearance to your chart style
📐 Offset Multiplier Input – Automatically pushes the EMA above price in a downtrend and below price in an uptrend for enhanced clarity
⚙️ User-Friendly Inputs – No coding knowledge required; full customization in the settings panel
🧠 How It Works:
Calculates a primary EMA line (OV) and a sub-component to compare against (OV2)
Determines the trend based on whether OV is above or below OV2
Shifts the EMA line above price during bearish trends and below price during bullish trends
The offset is percentage-based and scales dynamically with the price for optimal readability
✅ Ideal For:
Trend-followers seeking visual clarity
Discretionary traders who want less clutter and more signal
Anyone who likes their EMAs with a little more flair and insight
🛠️ Author: @alphainvestor123
This tool was crafted with simplicity and clarity in mind. If you enjoy the indicator, consider dropping feedback or sharing your use case!
EMA‑Based Trend Detector v1EMA cross over based trend detection. It uses 50, 90, and 200 EMAs, the current price. By taking into account their relative positions, it determines current trend using predetermined rules.
NR - Price-Action Long/Short [PALS]PALS (acronym for Price Action Long Short ) is a simplified view of Price Action
that computes relative movement of OHLC values (from chart) between consecutive bars to mark probable Long/Short signals on the price chart.
Combining PALS with Heikin-Ashi charts and SuperTrend(5, 1.432) is recommended but not mandatory.
Inspiration for this script comes from Buy/Sell Indicator by Prakash EEE:
What PALS does and why?
Search for simplification of the complex ema of ema based range shrinking logic learnt from Prakash's approach led to -
- the simpler comparison of a two-bar average over previous close and current open with an average of current OHLC values (giving less weight to the opens and more weight to the rest of them).
Crossovers between those two oscillating relative values (difference between the two averages being positive or negative) is the main logic.
PALS marks places where probable long or short trades may be setting up.
How to use PALS?
During trending phases the opposing signals may be used as areas where profit booking could be done while same side signals marking the re-entry/adding to the open positions.
Pairing PALS with a SuperTrend could help in filtering out the frequent turn arounds marked by PALS during sideways phase.
Adding more confirmations could improve the probable yet relatively longer lasting short-term signals.
MG Universal model🚀 Summary🚀
The MG univerasal model is a composite of various items such as RSI, price Z-Score, Sharpe Ratio, Sortino Ratio, Omega Ratio, etc
Each component is normalized and then equally wheighted out to perform a global metric.
At the end, an Exponential Moving Average is added on the global metric.
You can easily find a description of each component on the internet, for the Crosby Ratio, it's a metric that comes from bitcoinmagazinepro.com.
✨ Key Features ✨
🗡 Smoothed Global Metric
Using a Moving average to smooth out the whole aggregated metric.
🗡 Bands Zone at extreme levels
Automatically displaying bands at top and bottom levels of the oscillator.
🗡 Normalizing components
Each component is normalized.
🗡 DataTable
Optional DataTable is available to check the score for each components and their related Z-Score.
📊 How I use it 📊
When catching up with 0 line (midline), crossing it :
if it goes above 0.2:
get out when it crosses 0.2 again
else:
get out when it crosses 0 again
That's the way I use it, may be there is a better way, FAFO :)
❓ Seeing a bug or an issue ❓
Feel free to DM me if you see a component that seems badly calculated.
I will be happy to fix it.
❗❗ Disclaimer ❗❗
This is a single indicator, even though it's aggregating many, do not use it as a standalone.
Past performance is not indicative of future results.
Always backtest, check, and align parameters before live trading.
Scalping Strategy with DCA - V3# Enhanced Scalping Strategy with DCA - V3
## Strategy Overview
This strategy combines multiple technical indicators with a structured Dollar Cost Averaging (DCA) approach to create a comprehensive trading system for cryptocurrency markets. Unlike simple indicator mashups, this strategy integrates several confirmation layers for entries while implementing a sophisticated risk management system based on the 1-2-6 DCA ratio.
## What Makes This Strategy Unique
1. **Multi-Layered Entry Confirmation System**:
- Uses EMA crossover as the primary trigger
- Adds RSI momentum confirmation
- Integrates MACD for trend strength
- Includes RSI divergence for reversal potential
- Incorporates higher timeframe confirmation for trend alignment
2. **Structured Risk Management**:
- Implements a 1-2-6 DCA ratio to strategically average into positions
- Uses percentage-based stop losses that adapt based on DCA status
- Features a two-tiered take profit system (25% at TP1, 50% at TP2)
- Optional breakeven stop loss after second take profit target
- Initial risk limited to a small percentage of account (1-3%)
3. **Versatile Market Adaption**:
- Additional entry opportunities during oversold/overbought Bollinger Band touches
- Customizable filters that can be enabled/disabled based on market conditions
- Higher timeframe confirmation to ensure alignment with larger trends
## How The Components Work Together
### Entry System Components
1. **48 EMA** serves as the primary trend filter and entry trigger. Price crossing above/below this EMA signals a potential trend change.
2. **RSI (Relative Strength Index)** confirms momentum in the intended direction:
- For longs: RSI > 20 shows bullish momentum
- For shorts: RSI < 80 shows bearish momentum
3. **MACD (Moving Average Convergence Divergence)** filters out weak trends:
- For longs: MACD line crosses above signal line
- For shorts: MACD line crosses below signal line
4. **RSI Divergence Detection** identifies potential reversals where price makes a new high/low but RSI fails to confirm, suggesting momentum is weakening.
5. **Higher Timeframe Confirmation** ensures the trade aligns with the larger trend structure by checking EMA and RSI on a higher timeframe (default is daily).
6. **Bollinger Bands** provide additional entry triggers during strong oversold/overbought conditions:
- Long entry when price touches lower band with RSI < 20
- Short entry when price touches upper band with RSI > 80
### The DCA Mechanism
The strategy employs a 1-2-6 ratio for Dollar Cost Averaging:
- **Initial position**: 1 unit based on account risk percentage
- **First DCA level**: Adds 2 units when price moves against initial entry by the first DCA level percentage (default 1%)
- **Second DCA level**: Adds 6 units when price moves further against entry by the second DCA level percentage (default 2%)
This structured approach reduces average entry price during temporary adverse price movements, potentially converting losing trades into winners when the expected price movement eventually occurs.
### Exit Strategy
The strategy uses multiple exit mechanisms:
1. **Tiered Take Profits**:
- First TP at takeProfitPercent1 from entry (default 0.5%) - closes 25% of position
- Second TP at takeProfitPercent2 from entry (default 1.0%) - closes 50% of position
- Remaining 25% runs with trailing stop loss or until stopped out
2. **Stop Loss Management**:
- Initial SL set at stopLossPercent from entry (default 1.5%)
- After full DCA deployment, SL adjusts to fixedSLPercent from entry (default 1.3%)
- Optional breakeven SL after second take profit hits
## Backtesting Settings & Recommendations
For realistic backtesting, please configure the following in the strategy Properties panel:
- **Commission**: 0.075% (typical for major cryptocurrency exchanges)
- **Slippage**: 0.05% (accounts for execution delays and spread)
- **Initial Capital**: $10,000 (realistic starting capital for the average trader)
- **Date Range**: January 2024 to present (provides sufficient sample size)
These settings ensure backtesting results closely match real trading conditions. The strategy is designed to never risk more than 3% of account equity on any trade, with typical risk between 1-2%.
## Recommended Markets & Timeframes
This strategy performs best in:
1. **Markets**:
- Cryptocurrency markets with high liquidity
- Assets with market capitalization > $1 billion
- Coins with holder ratio > 7% (reducing manipulation risk)
2. **Timeframes**:
- Primary: 1-hour and 4-hour charts
- Secondary: 15-minute charts for faster execution
- Higher timeframe confirmation: Daily chart
## Parameter Customization Guide
The strategy offers multiple customization options to adapt to different trading styles and market conditions:
1. **Risk Settings**:
- initialRiskPercent: Adjust between 0.5-2% for conservative to moderate approaches
- stopLossPercent: 1-3% based on volatility of the asset
- takeProfitPercent1/2: Can be adjusted based on average volatility
2. **Entry Filters**:
- Enable/disable MACD filter for additional confirmation
- Enable/disable RSI divergence for reversal trading
- Enable/disable higher timeframe confirmation for trend alignment
3. **DCA Settings**:
- dcaLevel1/2: Adjust based on asset volatility (higher for more volatile assets)
- Change the 1-2-6 ratio by modifying the position size calculations
## Visual Outputs Explained
The strategy displays the following visual elements:
1. **Indicator plots**:
- 48 EMA (blue line): Main trend filter
- Bollinger Bands (upper: red, middle: yellow, lower: green): Volatility and overbought/oversold levels
2. **Trade management levels**:
- Stop Loss level (red circles): Current SL price
- Take Profit levels (green circles): TP1 and TP2 targets
3. **Information panel**:
- Displays strategy settings and current mode
- Shows active filters and risk parameters
- Reminds about market cap and holder ratio requirements
## Real-World Trading Tips
When implementing this strategy in real trading:
1. Start with conservative risk settings (0.5-1%)
2. Trade only in favorable market conditions initially
3. Consider reducing position size during high market uncertainty
4. Monitor higher timeframe trends before taking entries
5. Always check market cap and holder ratio before trading a coin
6. Set up proper alerts for EMA crosses with RSI confirmation
7. Regularly review and adjust parameters based on recent performance
## How to Use This Strategy
1. Add the strategy to your chart
2. Configure risk parameters appropriate for your account
3. Set commission and slippage in the Properties panel
4. Enable/disable the filters based on your trading style
5. Monitor higher timeframe for overall trend direction
6. Use the strategy's signals for entry and the recommended take profit/stop loss levels
7. Consider manual intervention during extreme market events
This strategy provides a systematic approach to scalping with proper risk management through DCA, making it suitable for both beginner and experienced traders in cryptocurrency markets.
Multi-Timeframe EMA Signal - StyledTrend reminder, what is based on the 39 MA. Looking after 14 CLOSED candles. The minute TF is calculated from the 1m chart, the 1H, 4h, 1D is calculated from the 1h TF.
If you go higher on the minute TF you see that the calculation goes bad, so you dont see the minute TF-s trend if you are on the 5m or on the 15M or higher TF. It's ok for my needs i usualy trade on the 1m chart so i see everything.
It's simple.
I was looking for a srcipt like this, and did not find anything.
It's not my work, its Veronika's script from chatGPT based on my needs. :)
Chandelier Exit with ZLSMA SwiftEdgeChandelier Exit with ZLSMA
Overview
The "Chandelier Exit with ZLSMA" indicator is a powerful trading tool designed to identify trend reversals and high-probability entry points in financial markets. By combining the volatility-based Chandelier Exit with the low-lag Zero Lag Least Squares Moving Average (ZLSMA), this indicator provides clear Buy and Sell signals, enhanced with a unique signal strength score to help traders prioritize high-quality opportunities. Visual enhancements, including dynamic color coding, background highlights, and trend arrows, make it intuitive and visually appealing for both novice and experienced traders.
What It Does
This indicator generates Buy and Sell signals when a trend reversal is detected by the Chandelier Exit, but only if the price crosses the ZLSMA for the first time in the direction of the trend. Each signal is accompanied by a percentage score (0-100%) that measures its strength based on price movement and momentum. The indicator overlays directly on the price chart, displaying:
Buy/Sell labels with signal strength (e.g., "Buy (85%)").
A ZLSMA line that changes color (green for bullish, red for bearish) to indicate trend direction.
Background highlights to mark signal candles.
Trend arrows to visually confirm signal points.
How It Works
The indicator combines two complementary components:
Chandelier Exit:
Uses the Average True Range (ATR) to create dynamic trailing stop levels (long_stop and short_stop) that adapt to market volatility.
Signals a Buy when the price crosses above the short stop (indicating a potential uptrend) and a Sell when it crosses below the long stop (indicating a potential downtrend).
Default settings use an ATR period of 1 and a multiplier of 2.0 for high sensitivity to short-term price movements.
Zero Lag LSMA (ZLSMA):
A low-lag moving average based on linear regression, designed to reduce delay compared to traditional moving averages.
Acts as a trend filter: Buy signals are only generated when the price closes above ZLSMA for the first time, and Sell signals when it closes below for the first time.
Default length of 50 balances smoothness with responsiveness.
Signal Strength Score:
Each signal is assigned a score (0-100%) based on:
Distance to ZLSMA (60% weight): How far the price is from ZLSMA, normalized by ATR. Larger distances indicate stronger breakouts.
Candlestick size (40% weight): The size of the signal candle, normalized by ATR. Larger candles suggest stronger momentum.
A high score (e.g., >80%) indicates a robust signal, while a low score (e.g., <50%) suggests caution.
Visual Features:
The ZLSMA line changes color (green for bullish, red for bearish) to reflect the trend.
Signal candles are highlighted with a subtle green (Buy) or red (Sell) background.
Tiny triangular arrows appear below Buy signals and above Sell signals for clear visual confirmation.
Why Combine Chandelier Exit and ZLSMA?
The Chandelier Exit excels at identifying trend reversals through volatility-based stops, but it can generate false signals in choppy markets due to its sensitivity (especially with a short ATR period of 1). The ZLSMA addresses this by acting as a trend filter, ensuring signals are only triggered when the price confirms a trend by crossing the ZLSMA for the first time. This combination reduces noise and focuses on high-probability setups. The signal strength score further enhances decision-making by quantifying the conviction behind each signal, making the indicator feel intuitive and "smart."
How to Use
Setup:
Add the indicator to your chart in TradingView.
Adjust inputs in the settings panel:
ATR Period (default: 1): Controls the sensitivity of Chandelier Exit. Increase for smoother signals.
ATR Multiplier (default: 2.0): Sets the distance of stop levels from price extremes.
ZLSMA Length (default: 50): Adjusts the smoothness of the ZLSMA line. Shorter lengths (e.g., 20-30) are more responsive; longer lengths (e.g., 50-100) are smoother.
Use Close Price for Extremums (default: true): Determines whether Chandelier Exit uses closing prices or high/low prices for calculations.
Interpreting Signals:
Buy Signal: A green "Buy (X%)" label appears below a candle when the price crosses above the Chandelier Exit short stop and closes above ZLSMA for the first time. The percentage indicates signal strength (higher = stronger).
Sell Signal: A red "Sell (X%)" label appears above a candle when the price crosses below the Chandelier Exit long stop and closes below ZLSMA for the first time.
Use the ZLSMA line’s color (green for bullish, red for bearish) to confirm the overall trend.
Prioritize signals with high strength scores (e.g., >70%) for better reliability.
Trading Considerations:
Combine signals with other analysis (e.g., support/resistance, volume) for confirmation.
Test the indicator on a demo account or use TradingView’s Strategy Tester to evaluate performance.
Be cautious with the default ATR period of 1, as it is highly sensitive and may generate frequent signals in volatile markets.
What Makes It Unique
This indicator stands out due to its thoughtful integration of Chandelier Exit and ZLSMA, creating a synergy that balances sensitivity with reliability. The first-cross filter ensures signals are triggered only at the start of potential trends, reducing false positives. The signal strength score adds a layer of intelligence, helping traders assess the quality of each signal without needing external tools. Visual enhancements, such as dynamic ZLSMA coloring, background highlights, and trend arrows, make the indicator user-friendly and visually engaging, appealing to traders seeking a modern, intuitive tool.
Limitations and Notes
The short ATR period (1) makes the indicator highly sensitive, which suits short-term traders but may produce noise in sideways markets. Increase the ATR period for smoother signals.
The signal strength score is a heuristic based on price movement and momentum, not a predictive model. Use it as a guide, not a definitive predictor.
Always backtest the indicator on your preferred market and timeframe to ensure it aligns with your trading strategy.
VWAP and MA Mean Reversion Strategy with ATR Stop LossVWAP and MA Mean reversion Strategy with ATR Stop losss_J
ZLSMA (Zero Lag Smoothed Moving Average)This is a smooted moving average works very good in daily charts.
Umesh BC IST 3:30 AM Session Tracker + 4H Candles📌 IST 3:30 AM Session Tracker + 4H Candle Marker
This indicator is designed for traders who follow Indian Standard Time (IST) and want precise session tracking and 4H candle insights.
🔧 Features:
🕒 Daily Session Start at 3:30 AM IST
Automatically detects and marks the beginning of each new trading day based on 3:30 AM IST, not midnight.
Displays session Open, High, and Low lines.
Background shading for each session.
Customizable alert when a new day starts.
🟧 4H Candle Start Markers (IST Time)
Identifies every new 4-hour candle that starts at:
3:30, 7:30, 11:30, 3:30 PM, 7:30 PM, 11:30 PM IST
Adds a vertical line and label ("🟧 4H") above the candle.
Plots a dynamic line for the 4H candle's opening price.
Includes optional alert for new 4H candles.
🔔 Alerts Included:
"🕒 New IST Day Start": Triggers at 3:30 AM IST.
"🟧 New 4H Candle": Triggers at each 4H candle start (IST).
✅ Best for:
Intraday, swing, and institutional traders using IST-based analysis.
Those wanting more accurate daily sessions and clear candle structuring.
[Kpt-Ahab] Moving Average Alarm OutputVarious Moving Average with Signal Outputs
Compatible with various backtesting-systems or risk management-systems for generating alarms and trading signals.
Also compatible with the djmad Multibit ecosystem, allowing for signal filtering or combining indicators.
Standard signal output Long/Short +1/-1
Filter, for suppressing signals
Various color variations.
SPY Trend-Based Buy Signals🔹 Overview
This indicator identifies potential buy signals on any asset by combining MACD and Stochastic Oscillator crossovers, while using the SPY’s trend (via exponential moving averages) as a broader market filter.
It helps traders stay aligned with macro momentum and avoid counter-trend entries.
🔍 How it works
SPY Trend Filter (Daily Timeframe):
Pulls SPY (S&P 500 ETF) data using EMAs (5, 20, 80)
Categorizes SPY market trend with color codes:
🟢 Green: Strong uptrend (EMA5 > EMA20 > EMA80)
🟡 Yellow: Potential uptrend / early momentum (EMA5 < EMA20 > EMA80)
🔴 Red: Downtrend (EMA5 < EMA20 < EMA80)
🔵 Blue: Possible trend reversal or mixed trend (EMA5 > EMA20 < EMA80)
Buy Signal Conditions (Combined Logic):
A signal is only triggered when:
- SPY trend is either yellow or blue (indicating a neutral-to-bullish or early recovery environment)
-The Stochastic Oscillator's %D line is below 50, showing possible upside
- A bullish MACD crossover occurs on the current symbol
🟢 Green signal: MACD crossover occurs below 0 (early reversal)
🟠 Orange signal: MACD crossover occurs above 0 (momentum continuation)
📈 Visual Output
🟢 Green label below the bar when an early reversal setup occurs
🟠 Orange label above the bar when a trend continuation signal appears
✅ Best Use Case
Ideal for:
Swing traders and position traders
LEAPS (long-term options) traders aligning entries with SPY trend
Anyone seeking clean, contextual entries filtered by market momentum
⚠️ Note: This indicator is most effective when used on fundamentally strong stocks that are sector leaders with solid earnings growth and market presence. Use technical signals as a complement to quality fundamentals.
ℹ️ Clarification: The moving averages displayed on the chart (e.g., on QQQ) are for visual reference only, to help users understand the color logic of the SPY trend filter. The actual logic and signals are based on SPY’s moving averages, regardless of the charted symbol.
MACD_V1New Features:
Golden/Death Crossover Markers
Golden/Death Crossover Alerts
新增功能
1、金叉死叉标识
2、金叉死叉警报
MA Crossover [AlchimistOfCrypto]🌌 MA Crossover Quantum – Illuminating Market Harmonic Patterns 🌌
Category: Trend Analysis Indicators 📈
"The moving average crossover, reinterpreted through quantum field principles, visualizes the underlying resonance structures of price movements. This indicator employs principles from molecular orbital theory where energy states transition through gradient fields, similar to how price momentum shifts between bullish and bearish phases. Our implementation features algorithmically optimized parameters derived from extensive Python-based backtesting, creating a visual representation of market energy flows with dynamic opacity gradients that highlight the catalytic moments where trend transformations occur."
📊 Professional Trading Application
The MA Crossover Quantum transcends the traditional moving average crossover with a sophisticated gradient illumination system that highlights the energy transfer between fast and slow moving averages. Scientifically optimized for multiple timeframes and featuring eight distinct visual themes, it enables traders to perceive trend transitions with unprecedented clarity.
⚙️ Indicator Configuration
- Timeframe Presets 📏
Python-optimized parameters for specific timeframes:
- 1H: EMA 23/395 - Ideal for intraday precision trading
- 4H: SMA 41/263 - Balanced for swing trading operations
- 1D: SMA 8/44 - Optimized for daily trend identification
- 1W: SMA 32/38 - Calibrated for medium-term position trading
- 2W: SMA 17/20 - Engineered for long-term investment signals
- Custom Settings 🎯
Full parameter customization available for professional traders:
- Fast/Slow MA Length: Fine-tune to specific market conditions
- MA Type: Select between EMA (exponential) and SMA (simple) calculation methods
- Visual Theming 🎨
Eight scientifically designed visual palettes optimized for neural pattern recognition:
- Neon (default): High-contrast green/red scheme enhancing trend transition visibility
- Cyan-Magenta: Vibrant palette for maximum visual distinction
- Yellow-Purple: Complementary colors for enhanced pattern recognition
- Specialized themes (Green-Red, Forest Green, Blue Ocean, Orange-Red, Grayscale): Each calibrated for different market environments
- Opacity Control 🔍
- Variable transparency system (0-100) allowing seamless integration with price action
- Adaptive glow effect that intensifies around crossover points - the "catalytic moments" of trend change
🚀 How to Use
1. Select Timeframe ⏰: Choose from scientifically optimized presets based on your trading horizon
2. Customize Parameters 🎚️: For advanced users, disable presets to fine-tune MA settings
3. Choose Visual Theme 🌈: Select a color scheme that enhances your personal pattern recognition
4. Adjust Opacity 🔎: Fine-tune visualization intensity to complement your chart analysis
5. Identify Trend Changes ✅: Monitor gradient intensity to spot high-probability transition zones
6. Trade with Precision 🛡️: Use gradient intensity variations to determine position sizing and risk management
Developed through rigorous mathematical modeling and extensive backtesting, MA Crossover Quantum transforms the fundamental moving average crossover into a sophisticated visual analysis tool that reveals the molecular structure of market momentum.
RSI - 5UP Overview
The "RSI - 5UP" indicator is a versatile tool that enhances the traditional Relative Strength Index (RSI) by adding smoothing options, Bollinger Bands, and divergence detection. It provides a clear visual representation of RSI levels with customizable bands and optional moving averages, helping traders identify overbought/oversold conditions and potential trend reversals through divergence signals.
Features
Customizable RSI: Adjust the RSI length and source to fit your trading style.
Overbought/Oversold Bands: Visualizes RSI levels with intuitive color-coded bands (red for overbought at 70, white for neutral at 50, green for oversold at 30).
Smoothing Options: Apply various types of moving averages (SMA, EMA, SMMA, WMA, VWMA) to the RSI, with optional Bollinger Bands for volatility analysis.
Divergence Detection: Identifies regular bullish and bearish divergences, with visual labels ("Bull" for bullish, "Bear" for bearish) and alerts.
G radient Fills: Highlights overbought and oversold zones with gradient fills (green for overbought, red for oversold).
How to Use
1. Add to Chart: Apply the "RSI - 5UP" indicator to any chart. It works well on timeframes from 5 minutes to daily.
2. Configure Settings:
RSI Settings:
RSI Length: Adjust the period for RSI calculation (default: 14).
Source: Choose the price source for RSI (default: close).
Calculate Divergence: Enable to detect bullish/bearish divergences (default: disabled).
Smoothing:
Type: Select the type of moving average to smooth the RSI ("None", "SMA", "SMA + Bollinger Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"; default: "SMA").
Length: Set the period for the moving average (default: 14).
BB StdDev: If "SMA + Bollinger Bands" is selected, adjust the standard deviation multiplier for the bands (default: 2.0).
3.Interpret the Indicator:
RSI Levels: The RSI line (purple) oscillates between 0 and 100. Levels above 70 (red band) indicate overbought conditions, while levels below 30 (green band) indicate oversold conditions. The 50 level (white band) is neutral.
Gradient Fills: The background gradients (green above 70, red below 30) highlight overbought and oversold zones for quick reference.
Moving Average (MA): If enabled, a yellow MA line smooths the RSI. If "SMA + Bollinger Bands" is selected, green bands appear around the MA to show volatility.
Divergences: If "Calculate Divergence" is enabled, look for "Bull" (green label) and "Bear" (red label) signals:
Bullish Divergence: Indicates a potential upward reversal when the price makes a lower low, but the RSI makes a higher low.
Bearish Divergence: Indicates a potential downward reversal when the price makes a higher high, but the RSI makes a lower high.
4. Set Alerts:
Use the "Regular Bullish Divergence" and "Regular Bearish Divergence" alert conditions to be notified when a divergence is detected.
Notes
The indicator does not provide direct buy/sell signals. Use the RSI levels, moving averages, and divergence signals as part of a broader trading strategy.
Divergence detection requires the "Calculate Divergence" option to be enabled and may not work on all timeframes or assets due to market noise.
The Bollinger Bands are only visible when "SMA + Bollinger Bands" is selected as the smoothing type.
Credits
Developed by Marrulk. Enjoy trading with RSI - 5UP! 🚀
Multi-Scale Slope Alignment FilterMulti-Scale Slope Alignment Filter (MSSA)
█ OVERVIEW
This indicator identifies periods where the market trend, measured by the slope of a linear regression line, is aligned across multiple time scales (short, medium, and long-term). It acts as a trend confirmation filter, visually highlighting when different trend perspectives agree. The core idea is that signals or trades taken in the direction of aligned slopes might have a higher probability of success.
It plots the calculated slopes in a separate pane and colors the main chart background based on the alignment status: green for bullish alignment, red for bearish alignment.
█ HOW IT WORKS
The indicator calculates the slope of a linear regression line for three different lookback periods defined by the user inputs (`Short-Term`, `Medium-Term`, `Long-Term`).
The "slope" is determined by comparing the value of the linear regression line at the current bar (`offset=0`) to its value on the previous bar (`offset=1`).
A positive difference indicates an upward sloping regression line (potential uptrend).
A negative difference indicates a downward sloping regression line (potential downtrend).
The core calculation for a single slope is:
ta.linreg(source, length, 0) - ta.linreg(source, length, 1)
Based on these three slopes, the alignment state is determined:
Bullish Alignment: All three slopes (Short, Medium, Long) are positive (greater than 0). This suggests an uptrend is confirmed across all measured scales.
Bearish Alignment: All three slopes are negative (less than 0). This suggests a downtrend is confirmed across all measured scales.
Neutral/Mixed: The slopes do not unanimously agree (i.e., some are positive while others are negative, or some are zero). This indicates conflicting signals or a potential consolidation phase.
█ HOW TO USE
The primary use of the Multi-Scale Slope Alignment Filter (MSSA) is as a trend confirmation tool or trade filter .
Consider taking long trades only when the background is green ( Bullish Alignment ). This acts as confirmation that the broader trend context supports the long idea.
Consider taking short trades only when the background is red ( Bearish Alignment ). This acts as confirmation that the broader trend context supports the short idea.
Consider being cautious or avoiding trades when there is no background color ( Neutral/Mixed Alignment ), as the trend direction is unclear or conflicting across different timeframes.
This indicator is generally not designed to provide direct entry or exit signals on its own. It works best when combined with your primary trading strategy or other indicators to filter their signals based on multi-timeframe trend agreement.
Example filter logic:
// Example Long Condition
primaryLongSignal = ta.crossover(fastMA, slowMA) // Your primary signal
longCondition = primaryLongSignal and isBullishAligned // Filter with MSSA
// Example Short Condition
primaryShortSignal = ta.crossunder(fastMA, slowMA) // Your primary signal
shortCondition = primaryShortSignal and isBearishAligned // Filter with MSSA
█ INPUTS / SETTINGS
Short-Term Slope Length: (Default: 20) The lookback period for calculating the short-term linear regression slope.
Medium-Term Slope Length: (Default: 50) The lookback period for calculating the medium-term linear regression slope.
Long-Term Slope Length: (Default: 100) The lookback period for calculating the long-term linear regression slope.
Source: (Default: close) The price data source used for the linear regression calculations (e.g., close, HLC3, OHLC4).
█ VISUALIZATION
Background Coloring: The background of the main price chart is colored to indicate the alignment state:
Green: Bullish Alignment (all slopes positive).
Red: Bearish Alignment (all slopes negative).
No Color: Neutral/Mixed Alignment.
Indicator Pane: A separate pane below the main chart displays:
Three lines representing the calculated slope values for the short (red), medium (blue), and long (yellow) terms.
A dashed horizontal line at zero, making it easy to visually distinguish positive (above zero) from negative (below zero) slopes.
█ SUMMARY
The MSSA indicator provides a visual filter based on the consensus of trend direction across short, medium, and long-term perspectives using linear regression slopes. It helps traders align their strategies with the prevailing multi-scale trend environment. Remember to use it as part of a comprehensive trading plan and always practice sound risk management. This tool provides analysis and is not financial advice.
EMA Crossover Strategy with Trailing Stop and AlertsPowerful EMA Crossover Strategy with Dynamic Trailing Stop and Real-Time Alerts
This strategy combines the simplicity and effectiveness of EMA crossovers with a dynamic trailing stop-loss mechanism for robust risk management.
**Key Features:**
* **EMA Crossover Signals:** Identifies potential trend changes using customizable short and long period Exponential Moving Averages.
* **Trailing Stop-Loss:** Automatically adjusts the stop-loss level as the price moves favorably, helping to protect profits and limit downside risk. The trailing stop percentage is fully adjustable.
* **Visual Buy/Sell Signals:** Clear buy (green upward label) and sell (red downward label) signals are plotted directly on the price chart.
* **Customizable Inputs:** Easily adjust the lengths of the short and long EMAs, as well as the trailing stop percentage, to optimize the strategy for different assets and timeframes.
* **Real-Time Alerts:** Receive instant alerts for buy and sell signals, ensuring you don't miss potential trading opportunities.
**How to Use:**
1. Add the strategy to your TradingView chart.
2. Customize the "Short EMA Length," "Long EMA Length," and "Trailing Stop Percentage" in the strategy's settings.
3. Enable alerts in TradingView to receive notifications when buy or sell signals are generated.
This strategy is intended to provide automated trading signals based on EMA crossovers with built-in risk management. Remember to backtest thoroughly on your chosen instruments and timeframes before using it for live trading.
#EMA
#Crossover
#TrailingStop
#Strategy
#TradingView
#TechnicalAnalysis
#Alerts
#TradingStrategy
CVD (Cumulative Volume Delta)
Cumulative Volume Delta
Use a moving average with three different
I thought about determining the volatility and direction of the price of the stock price and finding a place to break through.
I made some Mistake coz I'm new corder
I'm reposting this simple script due to house rule violation. (Whatever can haha) 😁
I'm erasing all the comments in my native language that I had in my script... I thought it would make the User uncomfortable, so I locked the code, and I thought maybe that's the problem
Anyway, I'm sorry 😅
Advanced Momentum Scanner [QuantAlgo]The Advanced Momentum Scanner is a sophisticated technical indicator designed to identify market momentum and trend direction using multiple exponential moving averages (EMAs), momentum metrics, and adaptive visualization techniques. It is particularly valuable for those looking to identify trading and investing opportunities based on trend changes and momentum shifts across any market and timeframe.
🟢 Technical Foundation
The Advanced Momentum Scanner utilizes a multi-layered approach with four different EMA periods to identify market momentum and trend direction:
Ultra-Fast EMA for quick trend changes detection (default: 5)
Fast EMA for short-term trend analysis (default: 10)
Mid EMA for intermediate confirmation (default: 30)
Slow EMA for long-term trend identification (default: 100)
For momentum detection, the indicator implements a Rate of Change (RoC) calculation to measure price momentum over a specified period. It further enhances analysis by incorporating RSI readings for overbought/oversold conditions, volatility measurements through ATR, and optional volume confirmation. When these elements align, the indicator generates trading signals based on the selected sensitivity mode (Conservative, Balanced, or Aggressive).
🟢 Key Features & Signals
1. Multi-Period Trend Identification
The indicator combines multiple EMAs of different lengths to provide comprehensive trend analysis within the same timeframe, displaying the information through color-coded visual elements on the chart.
When an uptrend is detected, chart elements are colored with the bullish theme color (default: green/teal).
Similarly, when a downtrend is detected, chart elements are colored with the bearish theme color (default: red).
During neutral or indecisive periods, chart elements are colored with a neutral gray color, providing clear visual distinction between trending and non-trending market conditions.
This visualization provides immediate insights into underlying trend direction without requiring separate indicators, helping traders and investors quickly identify the market's current state.
2. Trend Strength Information Panel
The trend panel operates in three different sensitivity modes (Conservative, Aggressive, and Balanced), each affecting how the indicator processes and displays market information.
The Conservative mode prioritizes trend sustainability over frequency, showing only strong trend movements with high probability.
The Aggressive mode detects early trend changes, providing more frequent signals but potentially more false positives.
The Balanced mode offers a middle ground with moderate signal frequency and reliability.
Regardless of the selected mode, the panel displays:
Current trend direction (UPTREND, DOWNTREND, or NEUTRAL)
Trend strength percentage (0-100%)
Early detection signals when applicable
The active sensitivity mode
This comprehensive approach helps traders and investors:
→ Assess the strength of current market trends
→ Identify early potential trend changes before full confirmation
→ Make more informed trading and investing decisions based on trend context
3. Customizable Visualization Settings
This indicator offers extensive visual customization options to suit different trading styles and preferences:
Display options:
→ Fully customizable uptrend, downtrend, and neutral colors
→ Color-coded price bars showing trend direction
→ Dynamic gradient bands visualizing potential trend channels
→ Optional background coloring based on trend intensity
→ Adjustable transparency levels for all visual elements
These visualization settings can be fine-tuned through the indicator's interface, allowing traders and investors to create a personalized chart environment that emphasizes the most relevant information for their strategy.
The indicator also features a comprehensive alert system with notifications for:
New trend formations (uptrend, downtrend, neutral)
Early trend change signals
Momentum threshold crossovers
Other significant market conditions
Alerts can be customized and delivered through TradingView's notification system, making it easy to stay informed of important market developments even when you are away from the charts.
🟢 Practical Usage Tips
→ Trend Analysis and Interpretation: The indicator visualizes trend direction and strength directly on the chart through color-coding and the information panel, allowing traders and investors to immediately identify the current market context. This information helps in assessing the potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on trend direction, momentum confirmation, and selected sensitivity mode. Users can choose between Conservative (fewer but more reliable signals), Balanced (moderate approach), or Aggressive (more frequent but potentially less reliable signals).
→ Multi-Period Trend Assessment: Through its layered EMA approach, the indicator enables users to understand trend conditions across different lookback periods within the same timeframe. This helps in identifying the dominant trend and potential turning points.
🟢 Pro Tips
Adjust EMA periods based on your timeframe:
→ Lower values for shorter timeframes and more frequent signals
→ Higher values for higher timeframes and more reliable signals
Fine-tune sensitivity mode based on your trading style:
→ "Conservative" for position trading/long-term investing and fewer false signals
→ "Balanced" for swing trading/medium-term investing with moderate signal frequency
→ "Aggressive" for scalping/day trading and catching early trend changes
Look for confluence between components:
→ Strong trend strength percentage and direction in the information panel
→ Overall market context aligning with the expected direction
Use for multiple trading approaches:
→ Trend following during strong momentum periods
→ Counter-trend trading at band extremes during overextension
→ Early trend change detection with sensitivity adjustments
→ Stop loss placement using dynamic bands
Combine with:
→ Volume indicators for additional confirmation
→ Support/resistance analysis for strategic entry/exit points
→ Multiple timeframe analysis for broader market context
EMA6–EMA18 Trend Signal SystemThis is a dual-timeframe trend-following indicator designed for intraday traders.
It combines exponential moving averages (EMAs) from two timeframes:
1-hour EMA6 and EMA18 are used to define the major trend direction.
If EMA6 > EMA18 on the hourly chart, the background turns green (indicating an uptrend).
If EMA6 < EMA18, the background turns red (indicating a downtrend).
Entry signals are triggered only on the 15-minute chart:
A long signal appears when EMA6 crosses above EMA18 during an hourly uptrend.
A short signal appears when EMA6 crosses below EMA18 during an hourly downtrend.
Signal arrows are plotted directly on the chart:
Green triangle up = Long signal
Red triangle down = Short signal
Both EMA6 and EMA18 are plotted for visual reference.
This setup helps align lower timeframe entries with higher timeframe trend confirmation, offering traders more precise entry points and reducing noise.
—
The script is intended for use on 15-minute charts and works best in trending markets.
© All rights reserved. Author: hank552
Moving Average Trend ToolsI. How M.A.T.T. Adds Value to the TradingView Community:
The "Moving Average Trend Tools" (M.A.T.T.) is a versatile Pine Script v6 indicator that empowers traders with clear trend analysis, reliable trade signals, and real-time insights. Its intuitive design and robust features make it a valuable addition to the TradingView Community Scripts by catering to traders of all levels. Here’s why it stands out:
Clear Trend Visualization: M.A.T.T. plots a moving average (MA) with dynamic coloring—green for rising, red for falling, and gray for flat—based on a user-defined lookback period. This simplifies trend interpretation, helping traders quickly assess market momentum.
Reliable Trade Signals : The script identifies price crossovers above or below the MA, plotting green circles for bullish crosses and red for bearish, confirmed on closed bars to prevent repainting. These signals guide entry and exit points for trend-following or reversal strategies.
Real-Time Extension Detection : M.A.T.T. calculates percentage price deviations from the MA, displaying real-time labels when thresholds (e.g., 6%) are exceeded. This highlights overextended moves, ideal for spotting reversals or pullbacks, with alerts to keep traders informed.
Extensive Customization : Traders can tailor the MA type (SMA, EMA, WMA, HMA), length, colors, line width, and label sizes. This flexibility supports diverse strategies across markets like stocks, forex, and crypto, from scalping to swing trading.
Automated Alerts : Alert conditions for crossovers and extensions integrate seamlessly with TradingView’s system, enabling traders to stay updated without constant chart monitoring.
M.A.T.T. combines trend analysis, signal generation, and overextension detection into a single, user-friendly tool. Its accessibility, reliability, and educational value for Pine Script learners make it a compelling contribution to the community.
II. What M.A.T.T. Does, How It Works, and Its Originality:
What It Does :
M.A.T.T. enhances trend analysis and trade decision-making through three core features:
Dynamic MA Visualization: Plots a customizable MA (SMA, EMA, WMA, or HMA) with trend-based coloring to reflect rising, falling, or flat market conditions.
Price Crossover Signals : Marks bullish (green circles) and bearish (red circles) crossovers, confirmed on closed bars, with alerts for trade opportunities.
Price Extension Labels : Displays real-time percentage deviations of price from the MA, with alerts when user-defined thresholds are breached, signaling potential reversals.
How It Works :
M.A.T.T. leverages Pine Script v6 for precise calculations and user-friendly outputs:
Inputs: Users select MA type, length, lookback period, colors, and thresholds for extensions, plus label styles and sizes for customization.
MA Calculation : A switch function computes the chosen MA (e.g., ta.ema(close, 21) for EMA). Trend direction is determined using ta.rising or ta.falling over the lookback period, coloring the MA accordingly.
Crossover Logic : Bullish crossovers (close > ma and close < ma ) and bearish crossovers (close < ma and close > ma ) are plotted as circles on confirmed bars (barstate.isconfirmed) to ensure reliability. Alerts trigger only on the first bar of a crossover.
Extension Logic : Percentage deviations are calculated as ((price - ma) / ma) * 100, using the high for above-MA extensions and low for below. Labels appear in real-time when thresholds are exceeded, with alerts on transitions to avoid noise.
Why It’s Original
M.A.T.T. distinguishes itself through a unique blend of features and thoughtful design:
All-in-One Design : It integrates dynamic MA coloring, non-repainting crossover signals, and real-time extension detection, addressing trend identification, trade signals, and overextension warnings in one tool—unlike most MA indicators that focus on a single aspect.
Real-Time Extension Labels : Displaying percentage deviations with customizable thresholds is a rare feature, ideal for volatile markets and not commonly found in standard scripts.
Non-Repainting Signals : Confirmed crossover signals enhance reliability for live trading, setting M.A.T.T. apart from less rigorous indicators.
Optimized Alert Condtions : Alerts trigger only on transitions (e.g., first bar of a crossover or extension), reducing noise and improving usability.
Visual and Functional Flexibility : Support for four MA types, extensive customization, and a clean interface (dynamic colors, tiny circles, clear labels) make it adaptable and user-friendly.
While MA plotting or crossovers exist elsewhere, M.A.T.T.’s seamless integration, real-time extension detection, alert conditions, and focus on reliability and customization create a distinctive, practical tool. Its balance of simplicity and sophistication makes it a unique asset for the TradingView community.