SMA & EMA Lines//@version=6
indicator("SMA & EMA Lines", shorttitle="FattyPockets-SMAD", overlay=true)
//── Inputs ───────────────────────────────────────────────────────
src = input.source(close, "Source for Price")
len7 = input.int(7, "SMA Length 7", minval=1)
len25 = input.int(25, "SMA Length 25", minval=1)
len50 = input.int(50, "SMA Length 50", minval=1)
len99 = input.int(99, "SMA Length 99", minval=1)
len200 = input.int(200, "SMA Length 200", minval=1)
lenEma = input.int(20, "EMA Length 20", minval=1)
//── Visibility Toggles ────────────────────────────────────────────
show7 = input.bool(true, "Show SMA 7")
show25 = input.bool(true, "Show SMA 25")
show50 = input.bool(true, "Show SMA 50")
show99 = input.bool(true, "Show SMA 99")
show200 = input.bool(true, "Show SMA 200")
showEma = input.bool(true, "Show EMA 20")
//── Price Series ────────────────────────────────────────────────
price = request.security(syminfo.tickerid, timeframe.period, src)
//── Moving Averages ─────────────────────────────────────────────
sma7 = ta.sma(price, len7)
sma25 = ta.sma(price, len25)
sma50 = ta.sma(price, len50)
sma99 = ta.sma(price, len99)
sma200 = ta.sma(price, len200)
ema20 = ta.ema(price, lenEma)
//── Plots ───────────────────────────────────────────────────────
// note: titles must be constant strings in v6, so we hard-code them
plot(show7 ? sma7 : na, "SMA 7", color=color.orange, linewidth=2)
plot(show25 ? sma25 : na, "SMA 25", color=color.blue, linewidth=2)
plot(show50 ? sma50 : na, "SMA 50", color=color.green, linewidth=2)
plot(show99 ? sma99 : na, "SMA 99", color=color.purple, linewidth=2)
plot(show200 ? sma200 : na, "SMA 200", color=color.white, linewidth=2)
plot(showEma ? ema20 : na, "EMA 20", color=color.maroon, linewidth=2)
Media mobile esponenziale (EMA)
AIWAY - Multi-Timeframe MAAIWAY - Multi-Timeframe MA Indicator
Overview:
The "AIWAY - Multi-Timeframe MA" indicator is a versatile tool designed to help traders analyze market trends across multiple timeframes directly from their current chart. By leveraging moving averages (MA), this indicator provides a clear visual representation of whether the market is in a bullish or bearish state on different timeframes. This multi-timeframe approach enables traders to make more informed decisions by considering both short-term and long-term market trends without the need to switch between charts.
How it works:
The indicator calculates a moving average (MA) on the current chart based on the user's selected MA type (e.g., SMA, EMA, WMA, VWMA, RMA, HMA) and length. It then retrieves the closing price and MA values from seven user-specified timeframes (e.g., 5m, 10m, 15m, 30m, 1h, 2h, 4h). For each timeframe, the indicator determines the trend direction:
If the closing price is above the MA, the trend is considered "Bullish."
If the closing price is below the MA, the trend is considered "Bearish."
This information is displayed in a customizable table on the chart, with each row representing a different timeframe and indicating whether it is bullish or bearish. The table also includes a "LIVE!" status to confirm that the data is being updated in real-time.
Functionality and Impact:
The primary functionality of this indicator is to provide a quick and efficient way to assess trend directions across multiple timeframes. This can significantly impact a trader's workflow by:
Saving time: All necessary trend information is available on a single chart.
Enhancing decision-making: Traders can align their strategies with broader market trends by considering multiple timeframes.
Reducing noise: The use of moving averages helps filter out short-term price fluctuations, highlighting the underlying trend.
Reading and Interpreting the Data:
The indicator presents its data in a table with two columns: "Signal" and "Timeframe."
The "Signal" column displays whether the trend is "Bullish" or "Bearish" for each timeframe.
The "Timeframe" column indicates the specific timeframe being analyzed (e.g., 5m, 10m, 1h, etc.).
Additionally, the table includes a "LIVE!" row to confirm real-time data updates.
To interpret the data:
A "Bullish" signal suggests a potential uptrend on that timeframe.
A "Bearish" signal suggests a potential downtrend on that timeframe.
Traders can look for alignment across multiple timeframes to gauge the strength of a trend. For example, if most timeframes show a "Bullish" signal, it may indicate a strong uptrend.
Benefits for Traders:
Multi-Timeframe Analysis: Easily assess trends across different timeframes without switching charts.
Customizable: Users can select their preferred MA type, length, and timeframes to suit their trading strategy.
Visual Clarity: The table format with color-coded signals (green for bullish, red for bearish) allows for quick interpretation.
Real-Time Updates: The "LIVE!" status ensures that the data is current, aiding timely decision-making.
Flexibility: Users can adjust the table's position and opacity to fit their chart layout preferences.
Practical Applications:
Trend Confirmation: Confirm the direction of the trend on higher timeframes before entering a trade on a lower timeframe.
Divergence Detection: Identify potential trend reversals by spotting divergences between different timeframes (e.g., higher timeframes are bearish while lower timeframes are bullish).
Scalping and Day Trading: Quickly assess short-term trends on lower timeframes for scalping or day trading strategies.
Swing Trading: Use higher timeframes to identify the overall trend and enter trades in the direction of the trend on lower timeframes.
Risk Management: Avoid trading against the trend on higher timeframes to reduce the risk of entering trades during corrections or reversals.
Usage on TradingView:
To use the "AIWAY - Multi-Timeframe MA" indicator on TradingView:
Add the Indicator: Search for "AIWAY - Multi-Timeframe MA" in the TradingView indicators library and add it to your chart.
Configure Settings: Adjust the settings to your preference:
Select the MA type and length.
Choose the seven timeframes you want to analyze.
Set the table's position and opacity.
Interpret the Table: View the table on your chart to see the trend signals for each timeframe.
Make Trading Decisions: Use the information to inform your trading strategy, such as entering trades in the direction of the majority trend or waiting for alignment across timeframes.
Disclaimer:
The "Multi-Timeframe MA" indicator is provided for informational and educational purposes only. It should not be considered as financial advice or a recommendation to buy or sell any securities. Trading involves risk, and past performance is not indicative of future results. Always conduct your own research and consult with a qualified financial advisor before making any investment decisions.
EMA Break & Retest + Trend TableA technical analysis tool that:
Detects EMA break & retest setups
Filters signals using higher timeframe trends
Shows buy/sell signals on the chart
Displays a trend table for multiple timeframes
Simple EMA Cloud (20/50)Simple EMA Cloud 20/50.
The objective of this indicator is to give a directional bias.
You can change the EMA values and colors.
This works well by default on the 30-minute CME_MINI:ES1! and CME_MINI:NQ1! NQ.
Pro Tip:
Lower the EMA values if you're trading lower time frames.
If you see a move above or below the cloud in the opposite direction of the trend, and then the price immediately recovers and switches to the trending side of the cloud, this can be a nice entry.
DMI + Didi Index (Convergência)This indicator combines the power of DMI/ADX with the Didi Index to detect high-probability trade signals only when the market is trending and momentum is aligned.
✅ ADX and DMI help filter out sideways markets by identifying low-trend strength zones.
✅ The Didi Index uses the convergence and divergence of exponential moving averages (EMAs 3, 8, and 20) to spot trend reversals and continuations.
✅ Buy and sell signals are only plotted when both trend strength and directional alignment are confirmed.
Designed for traders who prefer momentum and trend-following strategies while avoiding noise during ranging conditions.
B | N BUSE LITEB | N BUSE LITE – Multi-Phase Trend Analyzer with Timeframe Control
Multi-phase trend indicator based on EMA/SMA crossovers. Highlights transitions between short and long trend phases visually, using color-coded candles and labels. Includes a timeframe filter (Any, M5, M30) for selective display. Designed for clean technical analysis without trade signals.
No financial advice.
Overview
B | N BUSE LITE is a clean, multi-phase trend direction indicator designed for traders who want to identify and visually confirm the shift between Long and Short market phases.
It uses fast and slow EMAs and SMAs to map trend progression across five stages — from short-term momentum to long-term directional shifts.
Includes a Timeframe Selector, allowing the indicator to display only on specific chart intervals like M5 or M30, keeping your workspace clear and focused.
How It Works
This indicator uses:
EMAs (3, 5, 9, 12, 26) for multi-phase confirmation
SMAs (3, 5) for longer-term trend context
Trend labels and bar coloring for quick visual guidance
A selectable timeframe filter: Any, M5, or M30
Trend Phases (Color-coded)
Phase Logic Default Color
Phase 1 EMA3 crosses EMA5 (Short-term) Green / Red
Phase 2 EMA3 crosses EMA12 Light Green / Red
Phase 3 EMA3 crosses EMA26 Light Green / Red
Phase 4 EMA3 crosses EMA26 (refined) Purple / Yellow
Phase 5 EMA12 crosses EMA26 Blue / Orange
Labels mark the beginning of a potential Long or Short trend phase (based on crossovers), with progressive color coding as strength builds.
TIME Control
You can choose which chart intervals the indicator runs on:
Any – Active on all timeframes
M5 – Active only on the 5-minute chart
M30 – Active only on the 30-minute chart
Switch chart intervals in TradingView and observe how the indicator behaves only where allowed.
Perfect for Traders Who:
Want clear visual cues for Long or Short trend phases
Use EMA logic to support entries (manually)
Prefer minimal noise on higher timeframes
Trade M5 or M30 in scalping/intraday setups
] ⚠️ Disclaimer (for TradingView rules)
This script is for technical analysis and educational purposes only.
It does not generate Buy or Sell signals and is not financial advice.
Disclaimer BullNet: The information provided in this document is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Any use of the content is at your own risk. No liability is assumed for any losses or damages resulting from reliance on this information. Trading financial instruments involves significant risks, including the potential loss of all invested capital. There is no guarantee of profits or specific outcomes. Please conduct your own research and consult a professional financial advisor if needed.
Disclaimer TradingView: According to the tradingview.com/support/solutions/43000591638-our-house-rules/]house
Copyright: 2025-BULLNET - All rights reserved.
Roadmap:
Version 1.0 30.04.2025
Multi-Timeframe EMAs with Cross Alerts (Up & Down)📌 Indicator Name:
Multi-Timeframe EMAs with Cross Alerts (Up & Down)
🛠️ Core Features:
✅ 1. Multi-Timeframe EMA Display
The script calculates and displays 6 different Exponential Moving Averages (EMAs).
Each EMA has:
Custom length input (e.g., 9, 21, etc.).
Custom timeframe selection (e.g., 1H, 4H, 1D).
Custom color for easy identification on the chart.
✅ 2. EMA Visualization
Each of the six EMAs is plotted on the chart using the selected color and thickness.
They respond dynamically to different timeframes (current or higher/lower).
✅ 3. Cross Detection Logic
The script can detect crossover and crossunder between EMA pairs:
EMA 1 and EMA 2
EMA 3 and EMA 4
EMA 5 and EMA 6
(Optional: can be extended to other combinations.)
✅ 4. Alert Toggles
Users can enable or disable alerts for each pair independently:
Alert: EMA 1 crosses EMA 2
Alert: EMA 3 crosses EMA 4
Alert: EMA 5 crosses EMA 6
(You added an additional option for EMA 4 vs EMA 6 later.)
✅ 5. Visual Alert Markers
The script uses alert() function to send alert messages when:
An EMA crosses above another (crossover)
An EMA crosses below another (crossunder)
Alerts include clear icons like 🔼 and 🔽 in the messages.
🔔 Use Case Scenarios
Swing traders: Identify longer-term cross signals on higher timeframes.
Scalpers: Use lower-timeframe EMAs with fast alert reactions.
Multi-timeframe analysis: Spot alignment between trend-following EMAs across different periods.
✅ Bonus
Fully customizable — great for adapting to your own strategy, whether it's trend confirmation, re-entry signals, or early reversals
📌 اسم المؤشر:
المتوسطات المتحركة الأسية (EMA) متعددة الفريمات مع تنبيهات تقاطع صاعدة وهابطة
🛠️ الميزات الأساسية:
✅ 1. دعم متعدد للفريمات الزمنية
يقوم السكربت بحساب وعرض 6 متوسطات متحركة أسية (EMA) مختلفة.
يمكن تخصيص كل EMA من حيث:
الطول (مثل: 9، 21...).
الفريم الزمني (مثل: الساعة، الأربع ساعات، اليومي...).
اللون، لتسهيل التمييز بين الخطوط على الشارت.
✅ 2. عرض المتوسطات على الرسم البياني
يتم رسم كل من المتوسطات الستة باستخدام اللون والتنسيق الذي تختاره.
المتوسطات تتفاعل تلقائيًا مع التغييرات في الفريم الزمني.
✅ 3. كشف التقاطعات
يمكن للسكربت كشف تقاطعات (صعودًا أو هبوطًا) بين أزواج المتوسطات التالية:
EMA 1 و EMA 2
EMA 3 و EMA 4
EMA 5 و EMA 6
(ويمكنك إضافة المزيد مثل EMA 4 مع EMA 6 حسب الحاجة)
✅ 4. التحكم في التنبيهات
يمكن للمستخدم تفعيل أو تعطيل التنبيهات لكل زوج من المتوسطات على حدة:
تنبيه عند تقاطع EMA 1 و EMA 2
تنبيه عند تقاطع EMA 3 و EMA 4
تنبيه عند تقاطع EMA 5 و EMA 6
(وأي أزواج إضافية يتم إضافتها لاحقًا)
✅ 5. تنبيهات مرئية برسائل واضحة
السكربت يرسل تنبيهات عبر وظيفة alert() عند حدوث:
تقاطع صاعد (EMA يتقاطع من الأسفل إلى الأعلى).
تقاطع هابط (EMA يتقاطع من الأعلى إلى الأسفل).
التنبيه يحتوي على رموز توضيحية مثل 🔼 و 🔽 ليسهل قراءته.
🎯 مناسب لـ:
المتداولين المتأرجحين (Swing Traders): لاكتشاف تقاطعات على الفريمات الكبرى.
المضاربين (Scalpers): باستخدام EMA سريعة على فريمات صغيرة مع تنبيهات فورية.
محللي الفريمات المتعددة: لتأكيد الاتجاه أو الانعكاس بناءً على تقاطع متوسطات من فريمات مختلفة.
✅ مزايا إضافية:
قابل للتخصيص بشكل كامل حسب استراتيجيتك.
مناسب لعدة أساليب: تأكيد الترند، إعادة الدخول، أو إشارات الانعكاس المبكر.
Swing Trade TarayıcıSwing Trade Scanner (v6) User Guide
1. Purpose:
This TradingView indicator (written in Pine Script v6) is designed to help identify swing trading opportunities. It calculates an overall trend strength and direction score by combining multiple technical analyses for up to 20 financial assets (stocks, cryptocurrencies, forex, etc.) that you specify. It presents the results in a customizable table, allowing you to quickly scan the market.
2. Analyses Used and Their Roles:
By default, the indicator uses the following 4 main technical analyses:
EMA Crossover (Default: 9/21): Used to capture short-term trend direction and potential momentum shifts. When the fast EMA (9) crosses above the slow EMA (21), it's considered a bullish signal; when it crosses below, it's a bearish signal. It's often one of the main entry/exit triggers.
RSI (Relative Strength Index - Default: 14): Measures the speed of price movements to identify overbought (OB) and oversold (OS) conditions. Reversals from the OB zone can signal potential downturns, while reversals from the OS zone can signal potential upturns. It also provides insight into the strength of the momentum.
MACD (Moving Average Convergence Divergence - Default: 12, 26, 9): A trend-following momentum indicator. The relationship between the MACD line and the signal line (crossovers) and the state of the histogram (position relative to the zero line) are used to confirm momentum shifts and trend strength.
ADX/DI (Average Directional Index - Default: 14, 14): Measures the strength (ADX) and direction (+DI/-DI lines) of a trend. Its main role is to filter signals from other indicators. A trend is considered to exist if the ADX is above a certain threshold (e.g., 25). +DI above -DI indicates an uptrend, and the reverse indicates a downtrend.
3. Scoring System:
The indicator calculates an individual score for each analysis and then combines these scores using weights you define to create a final Trend Score:
Individual Scores: Each analysis (EMA, RSI, MACD, ADX/DI) generates a decimal score between -1.0 (Strong Negative/Bearish) and +1.0 (Strong Positive/Bullish) based on its own rules. For example, RSI might score +1.0 if oversold, -1.0 if overbought, and 0.0 if neutral. MACD and ADX/DI scores can also take intermediate values reflecting both direction and strength (e.g., ±1.0, ±0.6, ±0.3, 0.0).
Weighting: In the settings, you can assign a weight (between 0.0 and 1.0) to each analysis, determining how much it influences the final score. For instance, you might give EMA crossover a higher weight and use RSI with a lower weight.
Total Score: The individual scores of the active analyses are multiplied by their assigned weights and summed up. This total is then divided by the sum of the weights of the active analyses to obtain a final, normalized Trend Score between -1.0 and +1.0. This score represents the combined view of all analyses.
4. Trend Determination:
The calculated final Trend Score is classified into an overall TREND status based on threshold values you set in the settings:
S.UP (Strong Up): Score > Strong Up Threshold (Default: 0.70)
UP: Up Threshold < Score <= Strong Up Threshold (Default: 0.35 < Score <= 0.70)
NEUTRAL: Down Threshold <= Score <= Up Threshold (Default: -0.35 <= Score <= 0.35)
DOWN: Strong Down Threshold <= Score < Down Threshold (Default: -0.70 <= Score < -0.35)
S.DOWN (Strong Down): Score < Strong Down Threshold (Default: -0.70)
This classification allows you to see at a glance which assets have strong trend potential.
5. Table Structure and Meanings:
The indicator displays the results in a table with the following columns:
TICKER: The symbol of the analyzed asset (abbreviated).
TREND: The overall trend status determined by the total score (S.UP, UP, NEUTRAL, DOWN, S.DOWN). The background color of this column also reflects this overall trend (Dark Green, Green, Gray, Red, Dark Red).
SCORE: The calculated weighted total score (between -1.00 and +1.00, with two decimal places). The background color of this column also reflects the overall trend.
EMA: Shows the result of only the EMA 9/21 analysis.
▲: EMA(9) > EMA(21) (Green Background)
▼: EMA(9) < EMA(21) (Red Background)
N: Neutral (Gray Background)
-: Analysis disabled or no data (Pale Gray Background)
RSI: Shows the result of only the RSI analysis.
OS: Oversold (RSI < 30) (Green Background)
M+: Mid Positive (30 <= RSI < 45) (Light Green/Lime Background)
N: Neutral (45 <= RSI <= 55) (Gray Background)
M-: Mid Negative (55 < RSI <= 70) (Orange Background)
OB: Overbought (RSI > 70) (Red Background)
-: Analysis disabled or no data (Pale Gray Background)
MACD: Shows the result of only the MACD analysis.
S+: Strong Positive (MACD > Signal AND Histogram > 0) (Green Background)
M+: Mid Positive (MACD > Signal BUT Histogram < 0) (Light Green/Lime Background)
N: Neutral (Other cases) (Gray Background)
M-: Mid Negative (MACD < Signal BUT Histogram > 0) (Orange Background)
S-: Strong Negative (MACD < Signal AND Histogram < 0) (Red Background)
-: Analysis disabled or no data (Pale Gray Background)
ADX/DI: Shows the result of only the ADX/DI analysis.
S+: Strong Uptrend (ADX > 40 AND +DI > -DI) (Green Background)
M+: Mid Uptrend (25 < ADX <= 40 AND +DI > -DI) (Light Green/Lime Background)
W: Weak Trend (ADX <= 25) (Gray Background)
M-: Mid Downtrend (25 < ADX <= 40 AND -DI > +DI) (Orange Background)
S-: Strong Downtrend (ADX > 40 AND -DI > +DI) (Red Background)
-: Analysis disabled or no data (Pale Gray Background)
6. Settings (Inputs):
You can customize the indicator's behavior using the following settings:
General Settings:
Analysis Timeframe: Select the timeframe for the scans (Leave blank to use the chart timeframe).
Auto Adjust Parameters and Weights: If checked, predefined parameters and weights based on the selected timeframe (1h, 4h, 1D, 1W) are used. If unchecked, or if an unsupported timeframe is selected, the manual settings below apply.
Strong/Normal Up/Down Thresholds: Adjust the score thresholds used to determine the TREND column.
Analysis Settings (Separate Group for Each Analysis):
Enable ... Analysis: Check to include the respective analysis in the score.
... Weight (Manual): If auto-adjust is off, set the weight of this analysis in the total score.
... Period/Level (Manual): If auto-adjust is off, adjust the parameters (period, level, etc.) of the respective indicator.
Symbols (1-10):
Checkbox: Check to include the respective symbol in the scan.
Text Box: Enter the symbol of the asset you want to analyze (e.g., "NASDAQ:AAPL", "BINANCE:BTCUSDT").
Table Settings:
Table Position: Choose where the table appears on the chart.
Cell Width: Adjust the width of the table cells.
Text Size: Select the general size of the text in the table (individual analysis columns are usually shown one size smaller).
7. How to Use:
Add the indicator to your TradingView chart.
Enter the indicator settings.
In the Symbols section, enter the symbols of the assets you want to analyze and check the boxes next to them.
In the General Settings section, select your desired Analysis Timeframe.
Decide whether the Auto Adjust Parameters and Weights option should be checked. If not, adjust the manual parameters and weights for each indicator in the Analysis Settings section according to your strategy.
Examine the table:
The TREND and SCORE columns give you a general overview. Focus on strong signals (S.UP, S.DOWN) or states that have just crossed thresholds (UP, DOWN).
The EMA, RSI, MACD, ADX/DI columns allow you to see in detail which analyses influenced the overall score. You can track confirming or conflicting signals here.
Combine these scan results with other rules of your swing trading strategy (support/resistance, patterns, risk management, etc.) to make trading decisions.
8. Important Notes:
This indicator does not constitute financial advice. It is merely a tool that combines technical analysis tools to help you scan the market.
The default parameters and weights in the indicator settings are for general use. For best results, it is strongly recommended that you optimize these settings by backtesting them on historical data according to your own strategy, the assets you trade, and market conditions.
No technical indicator or system generates 100% accurate signals. Always apply risk management principles and do not trade with money you cannot afford to lose.
I hope this guide helps you use the indicator effectively!
SnipeSquad NQ-Survival SniperRapid-fire scalping toolkit for the 1-minute CME Nasdaq-100 futures chart (NQ/MNQ) that stacks a higher-time-frame trend bias, intraday VWAP, and momentum/RSI triggers, then auto-maps stop & target levels so $nipeSquad members can drop OCO orders in a click.
What the script does
• Context filter – Pulls a 34-EMA from a higher time-frame (default 15 min) and checks where price sits versus that EMA and the current-session VWAP.
o Price > EMA and VWAP ⇒ bullish context
o Price < EMA and VWAP ⇒ bearish context
• Entry trigger – On the 1-minute chart it waits for:
o an 8/21 EMA crossover / cross-under, plus
o an RSI sanity check (RSI < 60 for longs, > 40 for shorts).
• Risk template – You define the risk per trade in ticks (default 20).
o Script instantly projects a stop and a target at your chosen Reward-to-Risk multiple (default 2 R).
o Each new trade is tagged with an ID label that shows direction and tick target so you can fire an OCO order fast.
• Visual outputs
o VWAP line (session-reset) and Higher-TF EMA line
o Green/red triangles for entries
o Up/down labels that display the projected target price
• Alerts ready – alertcondition() lines fire the moment a long or short signal prints, so you can route them to a broker, Discord, or wherever the $nipeSquad hangs out.
Adjustable inputs
Input Default Purpose
Context TF 15 (min) Higher-time-frame used for trend bias
Risk (ticks) 20 Size of the stop in ticks
Reward-to-Risk 2.0 Multiplier that sets the profit target
VWAP session / UTC 1800-1600 / UTC-4 Lets you anchor VWAP to your preferred trading session
How to use
1. Add the script on a 1-minute NQ or MNQ chart.
2. Set your risk ticks so the dollar value lines up with your prop-firm rules or personal risk limits.
3. Wait for a triangle that aligns with your bias; the label shows stop & target prices.
4. Place an OCO order (or link an automation) using those levels.
5. Repeat until daily goal is hit, or your risk plan says stop.
(The “$2 K” idea is purely an illustrative target—there is no guarantee this script will produce that, or any, profit.)
Educational & Risk Disclaimer 📚⚠️
This indicator is provided solely for educational purposes. It is not financial advice, a trading signal service, or a promise of profit. Futures trading involves substantial risk and can result in losses exceeding your initial investment.
By using this script you acknowledge that you alone are responsible for your trading decisions. Past performance—real or simulated—does not guarantee future results. The author accepts no liability for any loss or damage arising from the use of this code or the information herein. Always do your own research and consult a qualified financial professional before trading.
Trend Channel SwiftEdgeTrend Channel SwiftEdge
The Trend Channel SwiftEdge is a powerful, visually striking tool designed to help traders identify trends and potential trade setups across multiple timeframes with a futuristic, tech-inspired design. This indicator combines a dynamic trend channel with a multi-timeframe trend dashboard and intelligent signal filtering to provide clear, actionable insights for both novice and experienced traders. Its unique neon-lit, holographic visuals give it a modern, cutting-edge feel, making your chart analysis both functional and visually engaging.
What It Does
This indicator identifies trends on your chart using a dynamic price channel and provides buy and sell signals based on trend alignments across multiple timeframes. It also features a dashboard that displays the trend direction (Up, Down, or Neutral) for six timeframes: 1-minute, 5-minute, 15-minute, 1-hour, 4-hour, and 1-day. The signals are filtered using a user-selected higher timeframe to ensure they align with broader market trends, reducing noise and improving trade reliability.
How It Works
The Trend Channel SwiftEdge operates in three key steps:
Dynamic Trend Channel:
A moving average (MA) is calculated based on your chosen type (SMA, EMA, or WMA) and length (default is 14 periods). This MA forms the backbone of the trend channel.
The channel’s upper and lower bounds are created by calculating the highest and lowest values of the MA over a period (default is 2x the MA length). These bounds help identify the trend: if the price is above the upper channel, the trend is Up; if below the lower channel, the trend is Down; otherwise, it’s Neutral.
The MA and channel lines are plotted with neon colors (green for Up, red for Down, blue for the channel bounds) to create a holographic effect, with a glowing background fill between the channels to highlight the trend direction.
Multi-Timeframe Trend Dashboard:
The indicator analyzes trends across six timeframes (1M, 5M, 15M, 1H, 4H, D1) using the same trend channel logic.
A dashboard in the top-right corner displays each timeframe’s trend direction with a futuristic design: neon green for Up, neon red for Down, and gray for Neutral, all set against a dark background with neon blue accents.
Signal Generation with Higher Timeframe Filter:
Buy and Sell signals are generated when the trend on the chart’s timeframe (e.g., 1M) aligns with a user-selected higher timeframe (e.g., 15M).
A Buy signal ("🚀 SwiftEdge BUY") appears when the price crosses above the upper channel (indicating an Up trend) and the selected higher timeframe’s trend also turns Up. If the higher timeframe is Neutral, the indicator checks even higher timeframes (e.g., 1H and 4H for a 15M filter) to confirm the trend direction.
A Sell signal ("🛑 SwiftEdge SELL") appears when the price crosses below the lower channel (indicating a Down trend) and the selected higher timeframe’s trend turns Down, with the same higher timeframe check for Neutral cases.
Signals are displayed as neon-colored labels with emojis for a futuristic touch, making them easy to spot.
Why This Combination?
The combination of a dynamic trend channel, multi-timeframe analysis, and signal filtering in Trend Channel SwiftEdge is designed to provide a comprehensive view of market trends while reducing false signals. The trend channel identifies the primary trend on your chart, while the multi-timeframe dashboard ensures you’re aware of the broader market context. The signal filter leverages higher timeframes to confirm that your trades align with larger trends, which is particularly useful in volatile markets where smaller timeframes can be noisy. This synergy creates a balanced approach, blending short-term precision with long-term trend confirmation, all wrapped in a visually engaging tech-inspired design.
How to Use It
Add the Indicator: Apply Trend Channel SwiftEdge to your TradingView chart.
Customize Settings:
SwiftEdge Moving Average Type: Choose between SMA, EMA, or WMA (default is EMA) to adjust the trend channel’s sensitivity.
SwiftEdge MA Length: Set the period for the moving average (default is 14).
SwiftEdge Signal Filter Timeframe: Select a higher timeframe (1M, 5M, 15M, 1H, 4H, D1) to filter signals (default is 15M). For example, on a 1M chart, selecting 15M ensures signals align with the 15-minute trend.
Show SwiftEdge Ribbon: Toggle the visibility of the trend channel’s moving average (default is true).
Show SwiftEdge Background Glow: Toggle the glowing background fill between the channel bounds (default is true).
Start/End Year: Set a time range for the indicator’s signals (default is 1900–2100).
Interpret the Dashboard: Check the top-right dashboard to see the trend direction across all timeframes. Use this to understand the broader market context.
Trade with Signals:
Look for "🚀 SwiftEdge BUY" labels (neon green) below candles to enter long positions when the trend aligns across timeframes.
Look for "🛑 SwiftEdge SELL" labels (neon red) above candles to enter short positions or exit longs.
Ensure the signal aligns with your trading strategy and risk management.
What Makes It Original?
Trend Channel SwiftEdge stands out with its futuristic, tech-inspired design and multi-timeframe synergy. Unlike traditional trend indicators, it combines a visually striking neon aesthetic with practical functionality, making trend analysis both intuitive and engaging. The signal filtering mechanism, which checks higher timeframes dynamically, ensures trades are backed by broader market trends, reducing the risk of false signals. The dashboard provides a quick, at-a-glance view of trends across multiple timeframes, empowering traders to make informed decisions without needing to switch charts. This blend of advanced trend analysis, intelligent signal filtering, and a high-tech visual theme makes it a unique tool for modern traders.
Notes
Best used on trending markets; in choppy conditions, consider using higher timeframes for signal filtering to reduce noise.
Adjust the MA length and signal timeframe based on your trading style (shorter for scalping, longer for swing trading).
Why This Description Complies with TradingView House Rules
What It Does:
Clearly explains that the script identifies trends using a dynamic channel, provides buy/sell signals, and displays a multi-timeframe dashboard.
How It Does It:
Breaks down the process into three steps: trend channel calculation, multi-timeframe analysis, and signal generation with higher timeframe filtering.
Explains the logic (e.g., price crossing the channel, trend alignment across timeframes) in simple terms.
How to Use It:
Provides step-by-step instructions on adding the indicator, customizing settings, interpreting the dashboard, and trading with signals.
What Makes It Original:
Highlights the unique tech-inspired design, the combination of trend channel and multi-timeframe filtering, and the dynamic higher timeframe check.
Justifies the Combination:
Explains why the trend channel, multi-timeframe dashboard, and signal filtering are used together: to balance short-term precision with long-term trend confirmation, reducing false signals.
Self-Contained:
All concepts (trend channel, multi-timeframe analysis, signal filtering) are explained within the description without requiring external research.
Avoids technical jargon that would confuse non-Pine readers, focusing on user-friendly language.
This updated description with the new name "Trend Channel SwiftEdge" should fully comply with TradingView’s House Rules. If you need further adjustments, let me know!
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!
ADX + DI + EMA Dashboard (BKNY)This Indicator creates a dynamic dashboard that combines ADX (Average Directional Index), Directional Movement Index (DI), and Exponential Moving Averages (EMA) to provide a comprehensive view of market trends. The indicator helps traders assess the strength and direction of trends based on key technical indicators.
Features:
ADX: Measures the strength of the trend, allowing traders to identify whether a trend is strong or weak.
+DI and -DI: Show the bullish and bearish directional movements, helping to identify market direction.
EMA Crossover: Compares the fast and slow EMAs to determine the trend’s direction.
Customizable Features:
Adjust the calculation length for ADX, DI, and EMAs.
Set ADX and DI thresholds to define trend strength and direction.
EMA lengths are fully customizable for both fast and slow EMAs.
Display options allow users to show or hide ADX, DI, and EMA values on the dashboard.
Customize the colors to represent bullish, bearish, or neutral trend conditions for ADX, DI, and EMA.
Timeframe selection allows users to choose the preferred timeframe for trend analysis.
The dashboard layout and display are fully customizable, letting users tailor the information shown according to their trading preferences.
This script provides an at-a-glance view of key trend indicators, with flexibility to tailor both the data shown and the visual presentation to individual trading needs.
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! 🚀
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
Autocorrelation Adaptive EMAThe Autocorrelation Adaptive EMA (AAEMA) is a dynamic, overlay indicator designed to adapt its smoothing period based on market conditions. It analyzes the autocorrelation of price returns to adjust the lookback window, ensuring responsiveness to changing trends while maintaining stability during consolidation. The indicator also incorporates rate-of-change (ROC) and volatility metrics to fine-tune its sensitivity, making it suitable for various timeframes and market environments. The AAEMA plots a single, smooth line over the price chart, providing a clear visual guide for trend direction without revealing proprietary calculations. Ideal for traders seeking an adaptive moving average that balances speed and reliability.
Combined EMA/Smiley & DEM System## 🔷 General Overview
This script creates an advanced technical analysis system for TradingView, combining multiple Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs), dynamic Fibonacci levels, and ATR (Average True Range) analysis. It presents the results clearly through interactive, real-time tables directly on the chart.
---
## 🔹 Indicator Structure
The script consists of two main parts:
### **1. EMA & SMA Combined System with Fibonacci**
- **Purpose:**
Provides visual insights by comparing multiple EMA/SMA periods and identifying significant dynamic price levels using Fibonacci ratios around a calculated "Golden" line.
- **Components:**
- **Moving Averages (MAs)**:
- 20 EMAs (periods from 20 to 400)
- 20 SMAs (also from 20 to 400)
- **Golden Line:**
Calculated as the average of all EMAs and SMAs.
- **Dynamic Fibonacci Levels:**
Key ratios around the Golden line (0.5, 0.618, 0.786, 1.0, 1.272, 1.414, 1.618, 2.0) dynamically adjust based on market conditions.
- **Fibonacci Labels:**
Labels are shown next to Fibonacci lines, indicating their numeric value clearly on the chart.
- **Table (Top Right Corner):**
- Displays:
- **Input:** EMA/SMA periods sorted by their current average price levels.
- **AVG:** The average of corresponding EMA & SMA pairs.
- **EMA & SMA Values:** Individual EMA/SMA values clearly marked.
- **Dynamic Highlighting:** Highlights the row whose average (EMA+SMA)/2 is closest to the current price, helping identify immediate price action significance.
- **Sorting Logic:**
Each EMA/SMA pair is dynamically sorted based on their average values. Color coding (red/green) is used:
- **Green:** EMA/SMA pairs with shorter periods when their average is lower.
- **Red:** EMA/SMA pairs with longer periods when their average is lower.
- **Star (⭐):** Represents the "Golden" average clearly.
---
### **2. DEM System (Dynamic EMA/ATR Metrics)**
- **Purpose:**
Provides detailed ATR statistics to assess market volatility clearly and quickly.
- **Components:**
- **Moving Averages:**
- SMA lines: 25, 50, 100, 200.
- **Bollinger Bands:**
- Based on 20-period SMA of highs and standard deviation of lows.
- **ATR Analysis:**
- ATR calculations for multiple periods (1-day, 10, 20, 30, 40, 50).
- **ATR Premium:** Average ATR of all calculated periods, providing an overarching volatility indicator.
- **ATR Table (Bottom Right Corner):**
- Displays clearly structured ATR values and percentages relative to the current close price:
- Columns: **ATR Period**, **Value**, and **% of Close**.
- Rows: Each specific ATR (1D, 10, 20, 30, 40, 50), plus ATR premium.
- The ATR premium is highlighted in yellow to signify its importance clearly.
---
## 🔹 Key Features and Logic Explained
- **Dynamic EMA/SMA Sorting:**
The script computes the average of each EMA/SMA pair and sorts them dynamically on each bar, highlighting their relative importance visually. This allows traders to easily interpret the strength of current support/resistance levels based on moving averages.
- **Closest EMA/SMA Pair to Current Price:**
Calculates the absolute difference between the current price and all EMA/SMA averages, highlighting the closest one for quick reference.
- **Fibonacci Ratios:**
- Dynamically calculated Fibonacci levels based on the "Golden" EMA/SMA average give clear visual guidance for potential targets, supports, and resistances.
- Labels are continuously updated and placed next to levels for clarity.
- **ATR Volatility Analysis:**
- Provides immediate insight into market volatility with absolute and relative (percentage-based) ATR values.
- ATR premium summarizes volatility across multiple timeframes clearly.
---
## 🔹 Practical Use Case:
- Traders can quickly identify support/resistance and critical price zones through EMA/SMA and Fibonacci combinations.
- Useful in assessing immediate volatility, guiding stop-loss and take-profit levels through detailed ATR metrics.
- The dynamic highlighting in tables provides intuitive, real-time decision support for active traders.
---
## 🔹 How to Use this Script:
1. **Adjust EMA & SMA Lengths** from indicator settings if different periods are preferred.
2. **Monitor dynamic Fibonacci levels** around the "Golden" average to identify possible reversal or continuation points.
3. **Check EMA/SMA table:** Rows highlighted indicate immediate significance concerning current market price.
4. **ATR table:** Use volatility metrics for better risk management.
---
## 🔷 Conclusion
This advanced Pine Script indicator efficiently combines multiple EMAs, SMAs, dynamic Fibonacci retracement levels, and volatility analysis using ATR into a comprehensive real-time analytical tool, enhancing traders' decision-making capabilities by providing clear and actionable insights directly on the TradingView chart.
ScalpSwing Pro SetupScript Overview
This script is a multi-tool setup designed for both scalping (1m–5m) and swing trading (1H–4H–Daily). It combines the power of trend-following , momentum , and mean-reversion tools:
What’s Included in the Script
1. EMA Indicators (20, 50, 200)
- EMA 20 (blue) : Short-term trend
- EMA 50 (orange) : Medium-term trend
- EMA 200 (red) : Long-term trend
- Use:
- EMA 20 crossing above 50 → bullish trend
- EMA 20 crossing below 50 → bearish trend
- Price above 200 EMA = uptrend bias
2. VWAP (Volume Weighted Average Price)
- Shows the average price weighted by volume
- Best used in intraday (1m to 15m timeframes)
- Use:
- Price bouncing from VWAP = reversion trade
- Price far from VWAP = likely pullback incoming
3. RSI (14) + Key Levels
- Shows momentum and overbought/oversold zones
- Levels:
- 70 = Overbought (potential sell)
- 30 = Oversold (potential buy)
- 50 = Trend confirmation
- Use:
- RSI 30–50 in uptrend = dip buying zone
- RSI 70–50 in downtrend = pullback selling zone
4. MACD Crossovers
- Standard MACD with histogram & cross alerts
- Shows trend momentum shifts
- Green triangle = Bullish MACD crossover
- Red triangle = Bearish MACD crossover
- Use:
- Confirm swing trades with MACD crossover
- Combine with RSI divergence
5. Buy & Sell Signal Logic
BUY SIGNAL triggers when:
- EMA 20 crosses above EMA 50
- RSI is between 50 and 70 (momentum bullish, not overbought)
SELL SIGNAL triggers when:
- EMA 20 crosses below EMA 50
- RSI is between 30 and 50 (bearish momentum, not oversold)
These signals appear as:
- BUY : Green label below the candle
- SELL : Red label above the candle
How to Trade with It
For Scalping (1m–5m) :
- Focus on EMA crosses near VWAP
- Confirm with RSI between 50–70 (buy) or 50–30 (sell)
- Use MACD triangle as added confluence
For Swing (1H–4H–Daily) :
- Look for EMA 20–50 cross + price above EMA 200
- Confirm trend with MACD and RSI
- Trade breakout or pullback depending on structure
RSI in pane and 3 EMAs on chartCustom RSI in Pane + 3 EMAs on Chart — with Optional RSI Divergence Detection
Combines RSI in a separate pane with 3 EMAs on the chart and optional RSI-based divergence detection. Useful for analyzing both momentum and trend structure.
Features
RSI Pane
Custom RSI calculation (not built-in ta.rsi) with adjustable source and length
Overlay optional moving average (SMA, EMA, SMMA/RMA, WMA, VWMA, or Bollinger Bands) Overbought/oversold gradient fill for visual clarity (70 / 30 zones)
Midline (50) for neutral RSI territory
RSI Divergence Detection
Optional: toggle on/off with one input
Regular Bullish Divergence : Price makes a lower low, RSI makes a higher low
Regular Bearish Divergence : Price makes a higher high, RSI makes a lower high
Customizable lookback for pivot detection
Visual markers and labels plotted on RSI
Built-in alert conditions for both divergence types
3 EMA Trend Indicators on Price Chart
Three customizable EMAs (default: 20, 50, 200)
Color-coded and clearly plotted on main chart
Use to determine short/mid/long-term trend bias
No repainting or smoothing artifacts
Why use this script?
Gives a full view of trend + momentum without cluttering the main price chart, and it helps confirm entries and exits by observing RSI behavior alongside EMAs. The optional divergence detection can act as a signal for potential exhaustion or reversal (not entry signals on their own). It is a Good fit for traders who use RSI zones, divergences, and EMA structure in their decision-making, both for intra-day and swing trades (where it performs best).
How to use
Add this script to your chart. EMAs will appear on the main price chart; RSI and divergence will appear in a separate pane.
Adjust RSI and MA settings to fit your trading style (e.g., fast RSI for scalping, slower for swing)
Enable "Show Divergence" if you want visual alerts and markers
Use alerts to get notified when a divergence occurs without watching the chart
Always check the divergences on different time frames to validate the setup, and do not consider them valid on small time frames (<15 minutes).
Built for traders who want both momentum and trend context in a single tool — without clutter, repainting, or noise. I created this script to streamline my own analysis and avoid switching between multiple indicators. It's not meant to be a "signal generator" but a visual assistant for making better decisions. If you find it useful or have feedback, feel free to reach out.
ES1! vs ZB1! Exponentially Weighted CorrelationES1! vs ZB1! Exponentially Weighted Correlation
This indicator calculates and visualizes the exponentially weighted correlation between the S&P 500 E-mini futures (ES1!) and the 30-Year U.S. Treasury Bond futures (ZB1!) over a user-defined lookback period. By using an exponential moving average (EMA) approach, it emphasizes recent price movements, providing a dynamic view of the relationship between these two key financial instruments.
Features:
- Customizable Inputs: Adjust the lookback length (default: 60) and alpha (default: 0.1) to fine-tune the sensitivity of the correlation calculation.
- Exponentially Weighted Correlation: Measures the strength and direction of the relationship between ES1! and ZB1! prices, with more weight given to recent data.
- Visual Clarity: Displays correlation as colored bars (green for positive, red for negative) for quick interpretation, with reference lines at 0, +1, and -1 for context.
- Non-Overlay Design: Plotted in a separate panel below the chart to avoid cluttering price data.
How It Works:
The indicator fetches closing prices for ES1! and ZB1!, applies an EMA to smooth the data, and computes the exponentially weighted covariance and variances. The correlation is then derived and plotted as a histogram, helping traders identify whether the two markets are moving together (positive correlation), in opposite directions (negative correlation), or independently.
Use Cases:
- Market Analysis: Gauge the relationship between equity and bond markets to inform trading strategies.
- Risk Management: Monitor correlation shifts to adjust portfolio exposure.
- Intermarket Insights: Identify trends or divergences in the stock-bond dynamic for macroeconomic analysis.
Ideal for traders and analysts tracking intermarket relationships, this indicator offers a clear, responsive tool for understanding ES1! and ZB1! correlation in real-time.
Visualisation tendancesThis script allows you to visualize the current trend of a financial asset.
It has two colors:
- Green for bullish phases
- Red for bearish phases
This allows you to instantly position yourself in the direction of the trend.
It also integrates Bollinger Bands, a volatility indicator.
This allows you to display two different indicators in a single indicator.
Michael's EMA (Selectable TF) by Koenigsegg📌 Michael’s EMA (Selectable TF) by Koenigsegg
A multi-timeframe EMA crossover trend tool for clear market direction.
🔍 CORE LOGIC & PURPOSE
This indicator visualizes the trend based on two Exponential Moving Averages (EMAs) — fast and slow — from a user-defined timeframe.
Referencing a higher timeframe strengthens the trend signal and reduces the noise from short-term volatility.
Perfect for traders seeking cleaner entries and exits , especially those who get faked out by lower timeframe chop.
✅ KEY FEATURES
1. Multi-Timeframe EMA Calculation
- Fetches EMAs from any timeframe using `request.security()`.
- Selecting a higher timeframe makes signals more meaningful and decisive .
2. Customizable EMAs
- Small EMA (default: 12) and Big EMA (default: 21).
- Clear logic:
- Uptrend = Small EMA ≥ Big EMA
- Downtrend = Small EMA < Big EMA
3. Dynamic Trend Coloring
- EMAs change color based on the trend:
- Uptrend: Green (customizable)
- Downtrend: Red (customizable)
4. Crossover Detection & Arrows
- Clean visual arrows on trend flips only.
- Optional visibility, customizable size & color.
- Built with a debounce mechanic to avoid spam signals.
5. Built-In Alerts
- Trend Up Alert when fast EMA crosses above slow EMA.
- Trend Down Alert when fast EMA crosses below slow EMA.
- Compatible with automation, bots, and manual strategies.
⚠️ PRO TIP
Using a higher timeframe (e.g., 1H on a 15m chart, or 15m on a 5m chart as visually represented on the chart) makes trend flips more decisive and reliable, helping you avoid being faked out by short-term volatility. When the higher TF flips red — that’s your true trend shift, not just noise.
🏷️ HASHTAGS
#EMA #MovingAverage #MultiTimeframe #TrendIndicator #TradingViewScript #TradingTools
#TechnicalAnalysis #PriceAction #ForexTrader #CryptoTrader #StockTrader
#AlgoTrading #TrendFlip #SmartMoney #SwingTrading #DayTrading #MarketStructure #TradingEdge #ProfMichaelG #Koenigsegg #Bitcoin
⚠️ DISCLAIMER
This script is provided for educational and informational purposes only .
It does not constitute financial advice , investment advice, or a recommendation to buy or sell any financial instruments.
Always do your own research and consult with a licensed financial advisor before making any trading decisions.
Use this tool at your own risk.