Đường Trung bình trượt Đơn giản (SMA)
Global Foreigners SMA, WMA IndicatorThis Indicator is a custom technical analysis tool designed to overlay multiple moving averages on a price chart, helping traders analyze price trends and potential trading opportunities.
It features both a Simple Moving Average (SMA) and Weighted Moving Averages (WMAs) with different period settings.
Key Features:
1. SMA and WMA Calculations:
- SMA 1: A simple moving average (SMA) calculated over a user-defined period (default: 1).
- WMA 1 - WMA 5: Five weighted moving averages (WMA) with different periods (5, 10, 20, 30, 40). WMAs give more importance to recent price movements, helping to identify short-term trends.
2. Customizable Periods:
- The indicator allows users to adjust the lookback period for each moving average via input settings.
3. Color-Coded Moving Averages:
- Each moving average is assigned a unique color for easy differentiation:
- SMA 1 → Black
- WMA 1 (5-period) → Blue
- WMA 2 (10-period) → Peach
- WMA 3 (20-period) → Orange
- WMA 4 (30-period) → Lavender
- WMA 5 (40-period) → Purple
4. Line Thickness:
- Each moving average is plotted with a line width of 2, making them clearly visible on the chart.
How This Indicator is Used:
Trend Analysis:
The alignment of the WMA sequence (e.g., WMA 5 > WMA 4 > WMA 3 > WMA 2 > WMA 1) can
indicate a bullish trend.
The opposite alignment suggests a bearish trend.
Dynamic Support & Resistance:
Shorter-period WMAs (5 & 10) react faster to price changes and can be used as dynamic
support or resistance levels for short-term trades.
Longer-period WMAs (20, 30, 40) smooth out price fluctuations and are useful for detecting
long-term trends.
Signal Confirmation:
The SMA 1 acts as a quick price reference, and traders can look for crossovers between the
WMA lines to confirm trend changes.
Who Can Use This Indicator?
Scalpers & Day Traders:
The faster WMAs (5 & 10) can be used to catch quick price reversals.
Swing Traders & Position Traders:
The combination of short-term and long-term moving averages helps identify key trend
shifts.
Algorithmic Traders:
Can be used alongside other indicators for automated signal generation.
This indicator is not a buy/sell signal generator but rather a trend-following tool that helps traders visually interpret market movements using moving averages. It works well when combined with momentum indicators (e.g., MACD, RSI) to confirm entry and exit points.
Crypto MA Cross StrategyBuy with MA crossover. Take profit when price reaches your percentage target. Stops at defined percentage below the buy price
SMA 12, 36, 200 with Signals and AlertsFeatures:
✅ Simple Moving Averages:
SMA 12 (short-term)
SMA 36 (mid-term)
SMA 200 (long-term trend filter)
✅ Buy & Sell Signals:
Buy: When SMA 12 crosses above SMA 36
Sell: When SMA 12 crosses below SMA 36
✅ Built-in Alerts:
Receive real-time alerts when a signal is triggered.
🧠 Strategy Overview – Multi-Timeframe Trading
This script is designed to be used with multi-timeframe analysis:
1H Chart – Trend Direction
If the price is above the SMA 200 on the 1-hour chart → look for Long opportunities.
If the price is below the SMA 200 on the 1-hour chart → look for Short opportunities.
5-Min Chart – Entry Timing
Once the higher-timeframe trend is clear, switch to the 5-minute chart.
Use SMA 12 and SMA 36 crossovers to time your entry in the direction of the main trend.
This approach helps filter out false signals and improves overall trade accuracy.
Regime Multi-Band [wac]Regime Multi-Band indicator aims to highlight when the market transitions between bullish and bearish regimes, confirm how often price has interacted with key band levels, and factor in RSI extremes to emphasize potential stronger signals. It is designed to visualize market regimes and potential trend changes with a multi-band system around an SMA. It combines multiple layers of bands, RSI-based adjustments, and a cooldown mechanism to limit how often signals appear.
Applying this indicator across various timeframes can offer a broader understanding of how the bands and signals behave under different market conditions. A faster timeframe might show more frequent band interactions and shorter-term whipsaws, while higher timeframes can provide a smoother overall trend picture.
Experimenting with different indicator inputs can give you fresh perspectives on market behavior. By tweaking parameters to suit each timeframe’s volatility and price action characteristics, you may discover more consistent signals.
filterThres1 = input.int(7, 'Filter Threshold 1',tooltip='A larger value means checking more bars over a longer period, which can allow more signals to appear. Essentially, it extends the filter window to capture longer-term market context.')
filterThres2 = input.int(2, 'Filter Threshold 2', tooltip='A larger value reduces the number of mini-signals by emphasizing stronger momentum. It represents how many times the upper/lower bands must be touched to confirm the market’s speed or volatility.')
※ This script is designed to wait until each bar is fully closed before performing its calculations. Because it does not compute or update signals in the middle of a forming bar, you will not see any “intrabar” repainting.
MA CloudsMA Clouds – Adaptive Moving Average Visualization (with Bollinger bands)
The MA Clouds indicator is designed to help traders visualize multiple moving averages simultaneously, providing a dynamic view of trend direction, momentum, and potential support/resistance zones. This tool overlays Simple Moving Averages (SMA) and Exponential Moving Averages (EMA) in an easy-to-read cloud format, allowing traders to interpret market structure at a glance.
Key Features:
✅ Customizable Moving Averages – Adjust SMA and EMA lengths to suit your strategy.
✅ Cloud-Based Visualization – Color-coded clouds between different moving averages highlight areas of potential trend shifts.
✅ Toggle Price Lines – Option to enable or disable individual price lines for a cleaner chart.
✅ Bollinger Bands Integration – Adds upper and lower bands for additional confluence in volatility analysis.
✅ Quick Trend Identification – Helps traders gauge short-term and long-term trend strength.
✅ Preset View Modes – Toggle between a simplified 5-10 SMA/EMA setup or a full multi-timeframe cloud setup with one click.
This indicator is ideal for traders looking to combine trend-following strategies with dynamic support/resistance insights. Whether you're scalping intraday moves or managing longer-term swing trades, MA Clouds provides an efficient way to keep market structure in focus.
111D SMA / (350D SMA * 2)Indicator: Pi Cycle Ratio
This custom technical indicator calculates a ratio between two moving averages that are used for the PI Cycle Top indicator. The PI Cycle Top indicator triggers when the 111-day simple moving average (111D SMA) crosses up with the 350-day simple moving average (350D SMA *2).
The line value is ratio is calculated as:
Line Value = 111DSMA / (350D SMA × 2)
When the 111D SMA crosses with the 350D SMA triggering the PI Cycle Top, the value of the ratio between the two lines is 1.
This visualizes the ratio between the two moving averages into a single line. This indicator can be used for technical analysis for historical and future moves.
Multi-MA Strategy Analyzer with BacktestMulti-MA Strategy Analyzer with Backtest
This TradingView Pine Script indicator is designed to analyze multiple moving averages (SMA or EMA) dynamically and identify the most profitable one based on historical performance.
Features
Dynamic MA Range:
Specify a minLength, maxLength, and step size.
Automatically calculates up to 20 MAs.
Custom MA Calculation:
Uses custom SMA and EMA implementations to support dynamic length values.
Buy/Sell Logic:
Buy when price crosses above a MA.
Sell when price crosses below.
Supports both long and short trades.
Performance Tracking:
Tracks PnL, number of trades, win rate, average profit, and drawdown.
Maintains individual stats for each MA.
Best MA Detection:
Automatically highlights the best-performing MA.
Optional showBestOnly toggle to focus only on the best line and its stats.
Visualization:
Up to 20 plot() calls (static) for MAs.
Green highlight for the best MA.
Color-coded result table and chart.
Table View
When showBestOnly = false, the table displays all MAs with stats.
When showBestOnly = true, the table displays only the best MA with a summary row.
Includes:
Best MA length
Total PnL
Number of trades
Win rate
Avg PnL per trade
Max Drawdown
Configuration
minLength (default: 10)
maxLength (default: 200)
step (default: 10)
useEMA: Toggle between EMA and SMA
showBestOnly: Focus on best-performing MA only
Notes
MA plotting is static, limited to 20 total.
Table supports highlighting and is optimized for performance.
Script is structured to run efficiently using arrays and simple int where required.
Potential Extensions
Add visual buy/sell arrows
Export stats to CSV
Strategy tester conversion
Custom date range filtering for backtesting
Author: Muhammad Wasim
Version: 1.0
Regime Filter IndicatorRegime Filter – Crypto Market Trend Indicator
📊 Overview
The Regime Filter is a powerful market analysis indicator designed specifically for crypto trading. It helps traders identify whether the market is in a bullish or bearish phase by analyzing key assets in the cryptocurrency market, including Bitcoin (BTC), Bitcoin Dominance (BTC.D), and the Altcoin Market (TOTAL3). The indicator compares these assets against their respective Simple Moving Averages (SMA) to determine the overall market regime, allowing traders to make more informed decisions.
🔍 How It Works
The Regime Filter evaluates three main components to determine the market's sentiment:
1. BTC Dominance (BTC.D) vs. 40 SMA (Medium Timeframe)
The Bitcoin Dominance (BTC.D) is compared to its 40-period SMA on a mid-timeframe (e.g.,
1-hour). If BTC.D is below the 40 SMA, it indicates that altcoins are performing well relative
to Bitcoin, suggesting a bullish altcoin market. If BTC.D is above the 40 SMA, Bitcoin is
gaining dominance, indicating a potential bearish phase for altcoins.
2. TOTAL3 Market Cap vs. 100 SMA (Medium Timeframe)
The TOTAL3 index, which tracks the total market capitalization of all cryptocurrencies except
Bitcoin and Ethereum, is compared to its 100-period SMA. A bullish signal occurs when TOTAL3
is above the 100 SMA, indicating strength in altcoins, while a bearish signal occurs when
TOTAL3 is below the 100 SMA, signaling a potential weakness in the altcoin market.
3. BTC Price vs. 200 SMA (Higher Timeframe)
The current Bitcoin price is compared to its 200-period Simple Moving Average (SMA) on a
higher timeframe (e.g., 4-hour). A bullish signal is given when the BTC price is above the 200
SMA, and a bearish signal when it's below.
🟢 Bullish Market Conditions
The market is considered bullish when:
- BTC Dominance (BTC.D) is below the 40 SMA, suggesting altcoins are gaining momentum.
- TOTAL3 Market Cap is above the 100 SMA, signaling strength in the altcoin market.
- BTC price is above the 200 SMA, indicating an uptrend in Bitcoin.
In these conditions, the background turns green 🟢, and a "Bullish" label is displayed on the chart.
🔴 Bearish Market Conditions
The market is considered bearish when:
- BTC Dominance (BTC.D) is above the 40 SMA, indicating Bitcoin is outperforming altcoins.
- TOTAL3 Market Cap is below the 100 SMA, signaling weakness in altcoins.
- BTC price is below the 200 SMA, indicating a downtrend in Bitcoin.
In these conditions, the background turns red 🔴, and a "Bearish" label appears on the chart.
⚙ Customization Options
- The Regime Filter offers flexibility for traders:
- Enable or Disable Specific SMAs: Customize the indicator by enabling or disabling the 200 SMA for Bitcoin, the 40 SMA for BTC Dominance, and the 100 SMA for TOTAL3.
- Adjust Timeframes: Choose the timeframes for each of the moving averages to suit your preferred trading strategy.
- Real-Time Data Adjustments: The indicator updates in real-time to reflect current market conditions, ensuring timely analysis.
📈 Best Use Cases
- Trend Confirmation: The Regime Filter is ideal for confirming the market's overall trend,
helping traders to align their positions with the dominant market sentiment.
- Trade Entry/Exit Signals: Use the indicator to identify favorable entry or exit points based on
whether the market is in a bullish or bearish phase.
- Market Overview: Gain a quick understanding of the broader crypto market, with a focus on
Bitcoin and altcoins, to make more strategic decisions.
⚠️ Important Notes
Trend-Following Indicator: The Regime Filter is a trend-following tool, meaning it works best in strong trending markets. It may not perform well in choppy, sideways markets.
Risk Management: This indicator is designed to assist in identifying market trends, but it does not guarantee profits. Always apply sound risk management strategies and use additional indicators when making trading decisions.
Not a Profit Guarantee: While this indicator can help identify potential market trends, no trading tool or strategy guarantees profits. Please trade responsibly and ensure that your decisions are based on comprehensive analysis and risk tolerance.
Three Simple Moving AveragesThis script provides three common Simple Moving Averages (SMAs) in a single indicator.
MA SniperThis indicator automatically finds the most effective moving average to use in a price crossover strategy—so you can focus on trading, not testing. It continuously evaluates a wide range of moving average periods, ranks them based on real-time market performance, and selects the one delivering the highest quality signals. The result? A smarter, adaptive tool that shows you exactly when price crosses its optimal moving average—bullish signals in green, bearish in red.
What makes it unique is the way it thinks.
Under the hood, the script doesn’t just pick a random MA or let you choose one manually. Instead, it backtests a large panel of moving average lengths for the current asset and timeframe. It evaluates each one by calculating its **Profit Factor**—a key performance metric used by pros to measure the quality of a strategy. Then, it assigns each MA a score and ranks them in a clean, built-in table so you can see, at a glance, which ones are currently most effective.
From that list, it picks the top-performing MA and uses it to generate live crossover signals on your chart. That MA is plotted automatically, and the signals adapt in real-time. This isn’t a static setup—it’s a dynamic system that evolves as the market evolves.
Even better: the indicator detects the type of instrument you’re trading (forex, stocks, etc.) and adjusts its internal calculations accordingly, including how many bars per day to consider. That means it remains highly accurate whether you’re trading EURUSD, SPX500, or TSLA.
You also get a real-time dashboard (via the table) that acts as a transparent scorecard. Want to see how other MAs are doing? You can. Want to understand why a certain MA was selected? The data is right there.
This tool is for traders who love crossover strategies but want something smarter, faster, and more precise—without spending hours manually testing. Whether you're scalping or swing trading, it offers a data-driven edge that’s hard to ignore.
Give it a try—you’ll quickly see how powerful it can be when your MA does the thinking for you.
This tool is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results. Use responsibly.
SMA7 Tail Reversal📌 Description:
The SMA7 Tail Reversal indicator is designed to identify potential counter-trend trading opportunities by checking if candle wicks (tails) respect a key moving average level (SMA7).
This indicator highlights price action where candles are clearly separated from the moving average, suggesting a possible reversal or temporary correction.
📌 How It Works:
Moving Average Calculation:
Calculates a simple moving average (SMA) of length 7 to act as the primary trend filter.
Candle Classification:
Bullish Candle: A candle where the closing price is higher than the opening price, with a short upper wick.
Bearish Candle: A candle where the closing price is lower than the opening price, with a short lower wick.
Conditions for Coloring Candles:
Long Condition (Green Candle):
High & Low are both below the SMA7 line.
Volume is above the 20-period average.
A bullish candle is detected.
Short Condition (Red Candle):
High & Low are both above the SMA7 line.
Volume is above the 20-period average.
A bearish candle is detected.
📌 Visual Representation:
Green Candles: Potential long signals when price action stays below the SMA7 line.
Red Candles: Potential short signals when price action stays above the SMA7 line.
Yellow Line: SMA7, used as the dynamic threshold for signal generation.
📌 Usage:
Best applied to volatile markets with clear trends.
Effective in detecting counter-trend opportunities where price diverges from the SMA7 line.
Works well with additional confirmation tools for better accuracy.
Configurable MA Cross (MA-X) StrategyThis is a simple crossover strategy with configurable moving averages for entry and exits. You can also select the type of moving average you want to use. Support moving averages are SMA, EMA, WMA and HMA.
Why?
Trend following using crossovers is a very common strategy though people use different combinations of moving averages and types. I was also experimenting the same and decided to create this instead of changing the code every time I wanted to try a different period or moving averages.
With a right combination, you can make this work for nearly any sufficiently liquid instrument. The default combination of 21 (Fast) and 55 (Slow) EMA along with 34 EMA for exit works well on COINBASE:BTCUSD (4H/1D) and NSE:NIFTY (1D) though it needs to be tested more. TBH I haven't tried it on any other instrument so far but that's easy to do with simple and flexible options.
Enjoy!
EMA Cloud with Custom MAs and RSI [deepakks444]EMA Cloud with Custom MAs and RSI
Overview
A simple yet very effective tool, this indicator combines three essential elements to help you analyze the market with ease, using inputs to customize settings like MA types, lengths, and RSI periods. It includes an EMA Cloud to identify trends, two customizable Moving Averages (MAs) to confirm those trends, and a simple RSI (Relative Strength Index) to measure momentum. The EMA Cloud creates a colored area on your chart to show the trend direction at a glance, the MAs act as a second layer of confirmation, and the RSI, displayed in a separate pane, helps you understand the strength of the price movement. This setup is perfect for traders who want a clear, straightforward way to spot trends and gauge momentum without extra complexity.
Features
EMA Cloud:
The EMA Cloud is a shaded area on your chart that makes trend spotting easy. It’s created using two 3-period EMAs (Exponential Moving Averages): one based on the candle’s high price (called the High EMA) and one based on the candle’s low price (called the Low EMA). These EMAs track the recent highs and lows over the last three candles, forming a cloud-like area between them that moves with the price.
The cloud changes color based on where the candle is compared to these EMAs, giving you a quick visual of the trend:
Green: The candle is in a strong uptrend. This happens when the candle’s highest point (its high) touches or goes above the High EMA, and its lowest point (its low) stays above the Low EMA. In simple terms, the price is climbing higher and isn’t dropping below the recent lows, which shows strong bullish momentum and suggests the price might keep going up.
Red: The candle is in a strong downtrend. This happens when the candle’s lowest point (its low) touches or goes below the Low EMA, and its highest point (its high) stays below the High EMA. This means the price is falling lower and isn’t spiking above the recent highs, showing strong bearish momentum and suggesting the price might keep going down.
Yellow: The trend isn’t clear. This happens when the candle doesn’t fit the Green or Red conditions. For example, the candle might be stuck between the two EMAs, or it might be outside them but not showing a strong bullish or bearish move. A Yellow cloud tells you the market is in a neutral state, often during sideways movement or choppy price action, so it’s a sign to wait for a clearer trend before acting.
The cloud is overlaid directly on the price chart, so you can see the trend while watching the candles. It’s designed to be fast and responsive, thanks to the short 3-period EMAs, making it great for short-term trading.
Custom Moving Averages:
This indicator includes two Moving Averages (MAs) that you can customize to match your trading style. These MAs act as a backup to the EMA Cloud, helping you confirm the trend and spot potential entry or exit points.
You can choose the type of MA from a list: SMA (Simple Moving Average, which gives equal weight to all prices), EMA (Exponential Moving Average, which focuses more on recent prices), WMA (Weighted Moving Average, which gives more weight to recent prices in a linear way), HMA (Hull Moving Average, which is smoother and faster), RMA (Running Moving Average, often used in momentum indicators), or VWMA (Volume Weighted Moving Average, which factors in trading volume). Each type has its own strengths, so you can pick the one that suits your strategy best.
The default lengths are 20 for the first MA (shorter, faster) and 50 for the second MA (longer, slower), but you can adjust these lengths to make the MAs more or less sensitive. For example, a shorter length like 10 will react faster to price changes, while a longer length like 100 will show the bigger trend.
The MAs are plotted on the price chart in blue (for the first MA) and black (for the second MA). You can use them to see how the price is moving compared to the trend shown by the EMA Cloud, and they’re especially helpful for spotting crossovers (when the shorter MA crosses the longer MA), which can signal a change in trend.
RSI for Momentum:
The RSI (Relative Strength Index) is a simple momentum indicator that shows how strong the price movement is. It’s displayed in a separate pane below the chart, so it doesn’t get in the way of your price view.
This is a default 14-period RSI, meaning it looks at the last 14 candles to calculate momentum. You can adjust the period if you want it to be more or less sensitive—for example, a shorter period like 7 will react faster, while a longer period like 21 will be slower and smoother.
The RSI ranges from 0 to 100. A higher RSI (closer to 100) means the price is moving up with strong momentum, while a lower RSI (closer to 0) means the price is moving down with strong momentum. For example, if the RSI is rising and heading toward 70, it shows the price is gaining upward momentum, which can support a Green cloud signal. If the RSI is falling and heading toward 30, it shows the price is gaining downward momentum, which can support a Red cloud signal.
You can also use the RSI to see if momentum is slowing down. For example, if the price is going up but the RSI starts to flatten or drop, it might mean the uptrend is losing steam, even if the cloud is still Green. This can help you prepare for a potential trend change.
Settings
EMA Cloud:
Fixed at 3-period EMAs.
Additional MAs:
MA1 Length and MA1 Type: Set the first MA (default: 20, SMA).
MA2 Length and MA2 Type: Set the second MA (default: 50, SMA).
RSI Settings:
RSI Length: Default 14, adjustable.
Source: Default close, adjustable.
Usage
Spot Trends with the Cloud:
A Green cloud means the price is trending up, which can be a good time to buy or hold a position if you’re trading with the trend. It shows the price is moving higher with strength.
A Red cloud means the price is trending down, which can be a good time to sell or short if you’re looking for bearish opportunities. It shows the price is dropping with strength.
A Yellow cloud means the price isn’t showing a clear trend, so it’s often better to wait for a stronger signal before making a move. This helps you avoid getting caught in choppy or sideways markets.
Confirm with MAs:
The two MAs help you confirm the trend shown by the EMA Cloud. For example, if the cloud is Green (uptrend) and the shorter MA (blue) crosses above the longer MA (purple), it’s a stronger sign to buy, as both the cloud and the MAs agree the trend is up. If the cloud is Red (downtrend) and the shorter MA crosses below the longer MA, it’s a stronger sign to sell, as both tools confirm the downtrend.
You can also use the MAs to spot trend changes. If the price breaks above both MAs while the cloud turns Green, it’s a good sign a new uptrend is starting. If the price breaks below both MAs while the cloud turns Red, it’s a sign a new downtrend might be starting.
Check Momentum with RSI:
Use the RSI to see how strong the price movement is. If the RSI is rising, it means the price is gaining momentum, which can support a Green cloud (uptrend) or warn you if the momentum is slowing down in a Red cloud (downtrend). If the RSI is falling, it means the price is losing momentum, which can support a Red cloud or warn you if the momentum is slowing in a Green cloud.
For example, if the cloud is Green and the RSI is rising toward 60, it shows strong upward momentum, giving you more confidence in the uptrend. If the cloud is Red and the RSI is falling toward 40, it shows strong downward momentum, supporting the downtrend.
You can also watch for changes in momentum. If the cloud is Green but the RSI starts to drop, it might mean the uptrend is weakening, even if the price is still going up. This can help you prepare for a potential reversal or pullback.
Accuracy
The EMA Cloud is designed to catch trends by looking at the candle’s full range (high and low prices), not just the close. This makes it more sensitive to real price movements, helping it accurately show when the price is trending up (Green), trending down (Red), or stuck in a neutral zone (Yellow). The 3-period EMAs are short and fast, so the cloud reacts quickly to price changes, which is ideal for short-term trading but might give more signals in choppy markets. The custom MAs add reliability by confirming the trend over a longer period, helping you avoid false signals from the cloud alone. The RSI provides a clear view of momentum, showing you how strong the trend is and whether it’s gaining or losing steam. Together, these tools create a balanced system for trend and momentum analysis, but you should always test it on your specific market and timeframe to see how well it works for your trading style.
Notes
The EMA Cloud uses the candle’s high and low prices to catch the full price movement, making it more accurate for spotting trends.
The cloud colors have a bit of transparency so you can still see the candles clearly.
The RSI sits in its own pane below the chart, while the cloud and MAs are on the price chart.
Credits
To Creators of Original Indicators Used in this Indictor.
Disclaimer
This indicator is for educational purposes only. Trading involves risks, and you should use this tool at your own risk. Always conduct your own analysis and backtest the indicator before using it in live trading. The creators are not responsible for any financial losses incurred.
Budget Cy StrategyDynamic fibonacci strategy using price conditions, ma fibonacci and ma clouds for trends and reversals.
RSI with 3 Period EMA Cloud [merged]RSI with 3 Period EMA Cloud
This indicator merges a momentum-driven Relative Strength Index (RSI) with a trend-based 3 Period EMA Cloud system, offering a dual-purpose tool for traders. The RSI analyzes price momentum using custom levels (60-50-40), while the EMA Cloud and additional moving averages overlay price action to signal trend direction.
Full credit goes to the original creators of the RSI and moving average concepts this builds upon.
Disclaimer: This indicator is for educational purposes only and should be used at your own risk. It is not financial advice, and no guarantee of performance or results is implied.
What It Does
RSI Panel: Displays a customizable RSI (default 14-period) to measure momentum strength, with optional smoothing via moving averages (MA), Bollinger Bands for volatility, and divergence detection for reversal cues.
Price Overlay: Plots a cloud between two 3-period EMAs, a dynamic 9-period EMA, and three adjustable MAs (default SMA 20, 50, 200), highlighting trend shifts and structural levels.
How It Works
RSI Momentum Detection
RSI calculates momentum from a selected price source (default: close), interpreted as:
Above 60: Strong upward momentum.
60-40: Sideways or neutral momentum.
Below 40: Loss of momentum.
Optional smoothing with an MA (e.g., SMA, EMA) and Bollinger Bands refines momentum trends.
Divergence detection (if enabled) identifies potential reversals by comparing RSI to price pivots.
EMA Cloud Trend System
Two 3-period EMAs (customizable sources, e.g., high and low) form a cloud:
Green: Price above both EMAs (bullish).
Red: Price below both EMAs (bearish).
A 9-period EMA shifts color:
Green: Price above (bullish).
Red: Price below (bearish).
Entry signals (green triangles below bars) trigger when the cloud or 9 EMA turns bullish; exit signals (red triangles above bars) appear when either turns bearish.
Three additional MAs act as dynamic support/resistance levels.
Visualization
RSI plots in its own panel with gradient fills (overbought/oversold) and optional MA/Bollinger Bands lines.
On the price chart, the EMA Cloud fills between the 3-period EMAs, the 9 EMA tracks short-term trends, and MAs provide trend context.
Trade Signal Concepts
This indicator suggests potential long and short setups based on momentum and trend alignment:
Long Entry:
Trigger: Cloud turns green and/or 9 EMA turns green, with a green triangle below the bar.
Momentum: RSI crosses above 60 (strong momentum) or rises through 50 toward 60.
Confirmation: 20-period MA crosses above 50-period or 200-period MA; price above MAs.
Short Entry:
Trigger: Cloud turns red and/or 9 EMA turns red, with a red triangle above the bar.
Momentum: RSI drops below 40 (loss of momentum) or falls through 50 toward 40.
Confirmation: 20-period MA crosses below 50-period or 200-period MA; price below MAs.
Customization Options
RSI Length: Default 14; shorten for sensitivity or lengthen for smoother signals.
EMA Sources: Adjust 3-period EMA sources (e.g., high/low) and 9 EMA source for market conditions.
MA Settings: Select type (SMA, EMA, etc.) and lengths for RSI smoothing and additional MAs (default 20, 50, 200).
Divergence: Enable to study reversal patterns.
Bollinger Bands: Activate via “SMA + Bollinger Bands” to analyze RSI volatility.
Visualization Features
RSI Panel: Purple RSI line, gray 70/50/30 levels, yellow MA (if enabled), green Bollinger Bands (if selected).
Price Chart: Green/red cloud, dynamic 9 EMA, blue/orange/purple MAs, and signal triangles (green below, red above).
Considerations & Limitations
Momentum vs. Trend: RSI above 60 or below 40 doesn’t guarantee trend continuation; sideways 60-40 zones may persist.
Timeframe Sensitivity: Short timeframes favor EMA Cloud signals; longer ones emphasize RSI and MAs.
False Signals: EMA Cloud shifts may occur in choppy markets; RSI 60-40 range can delay momentum clarity.
Not a Standalone System: Best studied with additional price action or volume context.
Conclusion
The RSI with 3 Period EMA Cloud indicator offers a hybrid approach to momentum and trend analysis:
RSI tracks momentum strength with a 60-50-40 framework.
The EMA Cloud and 9 EMA signal trend direction with visual cues.
Additional MAs provide structural support/resistance.
Ideal for traders exploring:
Momentum-driven trend entries.
Short-term EMA responsiveness paired with longer-term MA context.
A systematic blend of oscillator and overlay tools.
Fully customizable, this indicator lets users adapt settings to their preferred markets and timeframes, making it a flexible tool for educational study.
budget cydynamic fib + ma cloud for trend spotting
auto retraced dynamic fib using SMA or EMA
adjustable ma cloud
Multi-Timeframe RSI-SMA Strategy [EB]Here's a concise English explanation of the optimized multi-timeframe RSI-SMA strategy:
---
### **Strategy Overview**
A dynamic trading system combining **RSI-SMA crossovers** with adaptive parameters for all timeframes (1min to monthly). Automatically adjusts indicators, risk levels, and filters based on chart timeframe.
---
### **Key Features**
1. **Auto-Adjusting Parameters**
- *RSI/SMA Periods*: Shrink on lower TFs (10/20 for 1min), expand on higher TFs (28/200 for monthly)
- *ATR Multipliers*: 1.5x (1min) → 4.5x (monthly)
- *Volume Filters*: 2x avg volume (1min) → 0.5x (monthly)
2. **Entry Conditions**
- RSI crosses above SMA
- Price > 5-period high
- Bullish candle close
- Volume > dynamic threshold
- Uptrend confirmed (Fast EMA > Slow EMA)
3. **Risk Management**
- **Stop Loss**: ATR-based (1.5-4.5x volatility)
- **Take Profit**: 3-10% targets (scales with timeframe)
- Emergency exit on RSI reversal or 5-period low break
4. **Visual Tools**
- Green "LONG" labels below bars
- Red stop-loss line
- Green take-profit line
- Auto-adjusted alert messages
---
### **Timeframe-Specific Optimization**
| TF | RSI | SMA | ATR Mult | TP% |
|---------|------|------|----------|------|
| 1min | 10 | 20 | 1.5x | 3% |
| 1hr | 18 | 50 | 2.5x | 5% |
| Daily | 22 | 100 | 3.5x | 7% |
| Monthly | 28 | 200 | 4.5x | 10% |
---
### **Usage Notes**
1. **Chart Setup**
- Works on any US market instrument (stocks, ETFs, indices)
- Default: 2% risk per trade (adjust via `default_qty_value`)
2. **Best Applications**
- Scalping: 1-15min TFs
- Swing Trading: 4hr-daily TFs
- Position Trading: Weekly-monthly TFs
3. **Critical Filters**
- NYSE market hours for daily+ TFs
- Weekend trading blocked
- Low-volume symbols auto-filtered
---
### **Alert Examples**
```pine
Entry: "TSLA 15min LONG - Entry: $250.50, SL: $245.30, TP: $263.00"
Exit: "AAPL 1hr EXIT - Price: $185.40 (4.2% Profit)"
```
**Backtest Recommendation:** Test across 3 market cycles (bull/bear/sideways) with 0.1% commission simulation before live trading.
This self-adapting system combines technical indicators with volatility-adjusted risk management for consistent cross-TF performance.
BULL Moving Average Ribbon 6 LINESSimulating the MA Lines ribbon of a APP's User interface.
The original version which has only 4 lines provided by trading view
I alter it by adding 2 more MA lines, this is my first script, hope you like it!
MA 21, 50, 100, 200 (Moving Averages, simple and exponential)MA 21, 50, 100, 200 (Moving Averages, simple and exponential)
MA 21, 50, 100, 200 (Moving Averages, simple and exponential)MA 21, 50, 100, 200 (Moving Averages, simple and exponential)
Trend Catcher SwiftEdgeTrend Catcher SwiftEdge
Overview
The Trend Catcher SwiftEdge is a simple yet effective tool designed to help traders identify potential trend directions using two Simple Moving Averages (SMAs). It plots two SMAs based on the high and low prices of the chart, visually highlights trend conditions, and provides buy/sell labels to assist with trade entries. This indicator is best used as part of a broader trading strategy and should not be relied upon as a standalone signal generator.
How It Works
Two SMAs: The indicator calculates two SMAs: one based on the lowest price (Low) and one based on the highest price (High) over a user-defined period (default: 20).
Dynamic Colors:
Green: When the price is above both SMAs (indicating a potential uptrend).
Red: When the price is below both SMAs (indicating a potential downtrend).
Purple: When the price is between the SMAs (indicating consolidation).
The SMAs and the background between them change color dynamically to reflect the current trend condition.
Buy/Sell Labels:
A "Buy" label appears when an entire candlestick (including its low) crosses above both SMAs, marking the start of a potential uptrend.
A "Sell" label appears when an entire candlestick (including its high) crosses below both SMAs, marking the start of a potential downtrend.
To reduce noise, only one label is shown per trend direction. The indicator resets when the price enters the consolidation zone (purple), allowing for a new signal when the next trend begins.
Settings
SMA Length: Adjust the period of the SMAs (default: 20). A longer period smooths the SMAs and focuses on larger trends, while a shorter period makes the indicator more sensitive to price changes.
How to Use
Add the indicator to your chart.
Look for "Buy" labels to consider potential long entries during uptrends (green zone).
Look for "Sell" labels to consider potential short entries during downtrends (red zone).
Use the purple consolidation zone to prepare for potential breakouts.
Always combine this indicator with other forms of analysis (e.g., support/resistance, volume, or other indicators) to confirm signals.
Important Notes
This indicator is a tool to assist with identifying trend directions and potential entry points. It does not guarantee profits and should be used as part of a comprehensive trading strategy.
False signals can occur, especially in choppy or ranging markets. Consider using additional filters or confirmations to improve reliability.
Backtest the indicator on your chosen market and timeframe to understand its behavior before using it in live trading.
Feedback
If you have suggestions or feedback, feel free to leave a comment. Happy trading!
Standard Deviation SMA RSI | mad_tiger_slayerOverview of the Script
The Standard Deviation SMA RSI is a custom TradingView indicator that enhances the Relative Strength Index (RSI) by incorporating a Simple Moving Average (SMA) and Standard Deviation bands . This approach smooths RSI calculations while factoring in volatility to provide clearer trend signals . Additionally, the indicator includes overbought and oversold thresholds, trend-coded RSI signals , and dynamic volatility bands for improved market analysis. This indicator is designed for swing traders and long-term investors looking to capture high-probability trend shifts.
How Do Traders Use the Standard Deviation SMA RSI?
In the provided chart image, the indicator is displayed on a price chart. Each visual component serves a distinct function in identifying trend conditions and volatility levels .
INTENDED USES
⚠️ NOT INTENDED FOR SCALPING
With the smoothing nature of the SMA-based RSI , this indicator is not designed for low-timeframe scalping. It works best on timeframes above 1-hour , with optimal performance in 12-hour, daily, and higher timeframes.
📈 TREND-FOLLOWING & MEAN REVERSION
The Standard Deviation SMA RSI functions as both a trend-following and mean-reverting indicator:
Trend-Following: Identifies strong, sustained trends using RSI signals and SMA confirmation.
Mean Reversion: Detects overbought/oversold conditions based on standard deviation bands and RSI thresholds .
A VISUAL REPRESENTATION OF INTENDED USES
RSI Line (Green/Pink/Gray): The RSI line dynamically changes color based on trend conditions .
Green RSI → Strong uptrend, RSI above the uptrend threshold.
Pink RSI → Downtrend, RSI below the downtrend threshold.
Gray RSI → Neutral state or consolidation.
If the SMA of RSI is above Long Threshold , the market is in a bullish trend.
If it’s below Short Threshold, bearish conditions prevail.
Threshold Lines (Teal/Purple):
Green Line → Long Entry Threshold
Red Line → Short Entry Threshold
Standard Deviation Bands:
Upper Band → Measures bullish volatility expansion
Lower Band → Measures bearish volatility expansion
Colored Candles: Price candles adjust color based on RSI conditions , visually aligning price action with market trends.
Indicator's Primary Elements
Input Parameters
The script includes several configurable settings, allowing users to tailor the indicator to different market environments:
RSI Length: Controls the number of periods for RSI calculations.
SMA Length: Defines the period for the SMA applied to RSI , creating a smoothed trend line.
Standard Deviation Period: Determines the length for volatility calculations.
Overbought and Oversold Levels:
Can be adjusted to customize sensitivity.
Standard Deviation SMA RSI Calculation
The SMA-based RSI smooths fluctuations while the standard deviation bands measure price volatility.
Upper and Lower Bands: Calculated by adding/subtracting standard deviation to/from the SMA-based RSI.
Trend Signal Calculation:
RSI is compared to uptrend and downtrend thresholds to determine buy/sell conditions.
Long and Short Conditions
Buy and sell conditions are determined by RSI relative to key thresholds :
Bullish Signal: RSI above long threshold & SMA confirms trend .
Bearish Signal: RSI below short threshold & SMA confirms downtrend .
Reversals: RSI entering overbought/oversold areas suggests possible trend reversals.
Conclusion
The Standard Deviation SMA RSI is a powerful trend-following and mean-reverting tool , offering enhanced insights into RSI movements, volatility, and market strength . By combining SMA smoothing, standard deviation bands, and dynamic thresholds , traders can better identify trend confirmations, reversals, and overextended conditions .
✅ Customizable settings allow traders to optimize sensitivity.
✅ Works best on high timeframes (12H, Daily, Weekly).
✅ Ideal for swing traders and long-term investors.