Fibonacci Counter-Trend TradingOverview:
The Fibonacci Counter-Trend Trading strategy is designed to capitalize on price reversals by utilizing Fibonacci levels calculated from the standard deviation of price movements. This strategy opens a sell order when the closing price crosses above a specified upper Fibonacci level and a buy order when the closing price crosses below a specified lower Fibonacci level. By leveraging the principles of Fibonacci retracement and volatility, this strategy aims to identify potential reversal points in the market.
How It Works:
Fibonacci Levels Calculation:
The strategy calculates upper and lower Fibonacci levels based on the standard deviation of the price over a specified moving average length. These levels are derived from the Fibonacci sequence, which is widely used in technical analysis to identify potential support and resistance levels.
The upper levels are calculated by adding specific Fibonacci ratios (0.236, 0.382, 0.5, 0.618, 0.764, and 1.0) multiplied by the standard deviation to the basis (the volume-weighted moving average).
The lower levels are calculated by subtracting the same Fibonacci ratios multiplied by the standard deviation from the basis.
Trade Entry Rules:
Sell Order: A sell order is triggered when the closing price crosses above the selected upper Fibonacci level. This indicates a potential reversal point where the price may start to decline.
Buy Order: A buy order is initiated when the closing price crosses below the selected lower Fibonacci level. This suggests a potential reversal point where the price may begin to rise.
Trade Management:
The strategy includes stop-losses based on the Fibonacci levels to protect against adverse price movements.
How to Use:
Users can customize the moving average length and the multiplier for the standard deviation to suit their trading preferences and market conditions.
The strategy can be applied to various financial instruments, including stocks, forex, and cryptocurrencies, making it versatile for different trading environments.
Pros:
The Fibonacci Counter-Trend Trading strategy combines the mathematical principles of the Fibonacci sequence with the statistical measure of standard deviation, providing a unique approach to identifying potential market reversals.
This strategy is particularly useful in volatile markets where price swings can lead to significant trading opportunities.
The use of Fibonacci levels can help traders identify key support and resistance areas, enhancing decision-making.
Cons:
The strategy may generate false signals in choppy or sideways markets, leading to potential losses if the price does not reverse as anticipated.
Relying solely on Fibonacci levels without considering other technical indicators or market conditions may result in missed opportunities or increased risk.
The effectiveness of the strategy can vary depending on the chosen parameters (e.g., moving average length and standard deviation multiplier), requiring users to spend time optimizing these settings for different market conditions.
As with any counter-trend strategy, there is a risk of significant drawdowns during strong trending markets, where the price continues to move in one direction without reversing.
By understanding the mechanics of the Fibonacci Counter-Trend Trading strategy, along with its pros and cons, traders can effectively implement it in their trading routines and potentially enhance their trading performance.
المتوسطات المتحركة
MTF EMA CloudsThis indicator creates up to 3 configurable EMA clouds
Each cloud uses a fast ema and a slow ema.
Works as follows:
fast ema > slow ema : green
slow ema > fast ema : red
This also allows you to select a custom timeframe for each cloud (only higher timeframes work) and applies a multiplier to show the cloud from that timeframe on the current chart.
BTC Swing Trader V2This is a trend-following swing trading strategy that uses Exponential Moving Average (EMA) crossovers to identify entry and exit points for BTC on a 15-minute chart. The goal is to capture short-term price movements (swings) in BTC’s price, aiming for a 0.5-1% profit per trade within a 4-hour window
Darvas Box Strategy (No Repeat Signals)📈 Darvas Box Strategy – No Repeated Signals
This script implements the classic Darvas Box indicator on TradingView with a twist:
🚫 No repeated Buy/Sell signals in the same direction until a reversal occurs.
💡 How it works:
The Darvas Box identifies consolidation zones based on historical highs/lows.
A Buy signal triggers when the price breaks above the TopBox.
A Sell signal triggers when the price drops below the BottomBox.
✅ Signals are filtered: after a Buy, no more Buy signals are generated until a Sell appears (and vice versa).
📊 Use it for:
Detecting breakout zones
Preventing overtrading with smarter entries
Strategy building & backtesting
🔧 Customizable Box Length lets you fine-tune how reactive the box zones are.
💻 Now live on TradingView Pine Script v5
🧪 Ideal for strategy development or visual alerts.
🔁 Want it with stop loss, take profit, or alerts? Let me know!
@ coinciyiz
Multi-Timeframe Trend Analysis [BigBeluga]Multi-Timeframe Trend Analysis
A powerful trend-following dashboard designed to help traders monitor and compare trend direction across multiple higher timeframes. By analyzing EMA conditions from five customizable timeframes, this tool gives a clear visual breakdown of short- to long-term trend alignment.
🔵Key Features:
Multi-Timeframe EMA Dashboard:
➣ Displays a table in the top-right corner showing trend direction across 5 user-defined timeframes.
➣ Each row shows whether ema is rising or falling its corresponding EMA for that timeframe.
➣ Green arrows (🢁) indicate uptrends, purple arrows (🢃) signal downtrends.
Custom Timeframe Selection:
➣ Traders can input any 5 timeframes (e.g., 1h, 2h, 3h, etc.) with individual EMA lengths for flexible trend mapping.
➣ The tool auto-adjusts to match and align external timeframe EMAs to the current chart for seamless overlay.
Dynamic Chart Arrows:
➣ On-chart arrows mark when EMA rising or falling EMAs from the current chart timeframe.
➣ Each EMA arrows has a unique transparency level—shorter EMA arrows are more transparent, longer EMA arrows are more vivid. (Hover Mouse over the arrow to see which EMAs it is)
Gradient EMA Plotting:
➣ All five EMAs are plotted with gradually increasing opacity.
➣ Gradient fills between EMAs enhance visual structure, making it easier to track convergence/divergence.
🔵Usage:
Trend Confirmation: Use the dashboard to confirm multi-timeframe trend alignment before entering trades.
Entry Filtering: Avoid countertrend trades by spotting when higher timeframes disagree with the current one.
Momentum Insight: Track the transition of arrows from lighter to stronger opacity to visualize trend shifts over time.
Scalping or Swinging: Customize timeframes depending on your strategy—from intraday scalps to longer-term swings.
Multi-Timeframe Trend Analysis is the ultimate visual companion for traders who want clarity on how price behaves across multiple time horizons. With its smart EMA mapping and dashboard feedback, it keeps you aligned with dominant trend directions and transition zones at all times.
Pullback Entry Zone FinderPullback Entry Zone Finder
Overview:
This indicator is designed to help traders identify potential buying opportunities during short-term pullbacks, particularly when faster-moving averages show signs of converging back towards slower ones. It visually flags potential zones where price might find support and resume its upward movement, based on moving average dynamics and price proximity.
How It Works:
The indicator utilizes four customizable moving averages (Trigger, Short-term, Intermediate, and Long-term) and Average True Range (ATR) to pinpoint specific conditions:
Pullback Detection: It identifies when the fast 'Trigger MA' is below the 'Short-term MA', indicating a potential short-term pullback or consolidation phase.
MA Convergence: Crucially, it looks for signs that the pullback might be weakening by detecting when the gap between the Short-term MA and the Trigger MA is narrowing (maConverging). This suggests the faster average is starting to catch up, potentially preceding a move back up.
Base Buy Zone (Orange Diamond): This signal appears when both the Pullback and Convergence conditions are met simultaneously. It indicates the general area where conditions are becoming favourable for a potential entry.
Refined Entry Zones:
Prime Entry Zone (Green Diamond): This appears within a Base Buy Zone if the bar's low comes within a specified percentage (Max Distance %) of the Short-term MA. It suggests price has pulled back close to the dynamic support of the Short MA.
ATR Entry Zone (Purple Diamond): This appears within a Base Buy Zone if the bar's low comes within the specified percentage (Max Distance %) of an ATR-based target level. This target level (Buy ATR Target Level, plotted as a purple line when active) is calculated by adding a multiple (ATR Multiplier %) of the ATR to the Short-term MA, providing a volatility-adjusted potential entry area.
Visual Elements:
Moving Averages: Four lines representing the Trigger, Short-term, Intermediate, and Long-term MAs (colors and opacity are customizable). Use the Intermediate and Long-term MAs to gauge the broader market trend.
Orange Diamond (Below Bar): Indicates a 'Base Buy Zone' where a pullback and MA convergence are detected.
Green Diamond (Below Bar): Indicates a 'Prime Entry Zone' where price is close to the Short-term MA during a Base Buy Zone.
Purple Diamond (Below Bar): Indicates an 'ATR Entry Zone' where price is close to the ATR-based target level during a Base Buy Zone.
Purple Line: Plots the calculated 'Buy ATR Target Level' only when the Base Buy Zone condition is active.
Input Parameters:
Moving Averages: Customize the Length and Type (EMA, SMA, WMA, VWMA) for all four moving averages.
ATR Settings: Adjust the ATR Length, the ATR Multiplier % (for calculating the target level), and the Max Distance % (for triggering the Prime and ATR Entry Zones).
Visualization: Set the colors for the four Moving Average lines.
How to Use:
Look for the Orange Diamond as the initial signal that pullback/convergence conditions are met.
The Green and Purple Diamonds suggest price has reached potentially more optimal entry levels within that zone, based on proximity to the Short MA or the ATR target, respectively.
Always consider the signals within the context of the broader trend, indicated by the Intermediate and Long-term MAs. This indicator is generally more effective when used to find entries during pullbacks within an established uptrend (e.g., Intermediate MA > Long MA).
Combine these signals with other forms of analysis, such as chart patterns, support/resistance levels, volume analysis, or other indicators for confirmation.
Disclaimer:
You should always use proper risk management techniques and conduct your own analysis before making any trading decisions. This indicator, or any other, will be of no use if you don't have good risk management.
OneTrend Vegas TunnelOneTrend Vegas Tunnel is a trend-following breakout strategy that uses multiple exponential moving averages (EMAs) to dynamically define a trading channel and filter false breakout signals.
The strategy constructs a primary channel—known as the Vegas Tunnel—using a 144-period and a 169-period EMA, while a 12-day EMA acts as an entry filter to confirm bullish or bearish breakouts (with trades taken only when both price and the 12-day EMA break above or below the tunnel, respectively).
Additionally, the strategy employs manually calculated ADX and RSI values to “double‐confirm” the trend — while a secondary channel (576- and 676‑period EMAs, colored in gray) provides a long‑term trend reference.
Please note that this script is intended solely for backtesting and educational purposes and does not constitute financial advice.
Enhanced Indicators### **Summary of the "Enhanced Indicators with Fib Levels" TradingView Script**
This script is a comprehensive trading tool designed for **Smart Money Concepts (SMC), Fibonacci retracement analysis, Fear Value Gaps (FVG), and trend-following indicators**. It combines multiple technical analysis approaches into a single overlay, helping traders identify key levels, breakouts, and potential reversals.
---
### **Key Features & Benefits**
#### **1. Fibonacci Retracement Levels (Daily)**
- Plots key Fib levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) based on the **previous day’s high and low**.
- Helps identify **support/resistance zones** for potential reversals or continuations.
#### **2. Smart Money Concepts (SMC) Structures**
- **Break of Structure (BOS) & Change of Character (CHoCH)** detection.
- Customizable colors, line styles, and widths for visual clarity.
- Tracks recent structural breaks, helping traders spot **trend shifts and liquidity sweeps**.
#### **3. Fear Value Gaps (FVG) Detection**
- Identifies **unfilled imbalances** (bullish/bearish FVGs).
- Highlights **mitigated FVGs** (filled gaps) in gray.
- Adjustable history length to avoid clutter.
#### **4. Chandelier Exit (Trend-Following Stop)**
- Uses **ATR-based trailing stops** for long/short positions.
- Plots **BUY/SELL signals** when trend direction changes.
#### **5. Technical Indicators (Optional)**
- **EMA 5, EMA 50, EMA 200, SMA 100, SMA 200** for trend confirmation.
- **RSI Overbought/Oversold** conditions with alerts.
- **MACD Crossovers** for momentum signals.
- **Volume spikes** highlighted for confirmation.
#### **6. Customization & User Controls**
- Toggle on/off different components (SMC, FVG, indicators).
- Adjust colors, line styles, and history lengths.
- Choose between **candle body or wick breaks** for structure validation.
---
### **Benefits for Traders**
✅ **Multi-Timeframe Analysis**: Combines **daily Fib levels** with **intraday SMC structures** for high-probability setups.
✅ **Clear Visuals**: Customizable colors and styles prevent chart clutter while highlighting key levels.
✅ **Trend Confirmation**: Chandelier Exit + Moving Averages help filter trades in the right direction.
✅ **Institutional Concepts**: Focuses on **order flow, liquidity, and imbalances** (SMC & FVG).
✅ **Flexible**: Works for **swing trading, day trading, and scalping** depending on settings.
---
### **Best For:**
- Traders using **Smart Money Concepts (ICT, SMC, Price Action)**.
- Those looking for **Fibonacci confluence with order flow**.
- Traders who need **ATR-based trailing stops** (Chandelier Exit).
- Anyone wanting a **clean, all-in-one indicator** for key levels and trend analysis.
This script is **highly adaptable** and can be fine-tuned for different trading styles. 🚀
EMA Break & Retest + Trend TableThis script, titled "EMA Break & Retest + Trend Table", is designed for use on the TradingView platform to help traders identify potential buy and sell signals based on the Exponential Moving Average (EMA), with an added focus on multi-timeframe analysis and a trend table for easy visualization.
Here's a breakdown of the script:
1. User Inputs:
EMA Length (emaLength): The period for calculating the Exponential Moving Average (EMA). By default, this is set to 21 periods.
Source (src): The data source for the EMA (by default, it uses the closing price of the candle).
Show Buy Signal (showBuy): A toggle to show buy signals on the chart.
Show Sell Signal (showSell): A toggle to show sell signals on the chart.
EMA Color (emaColor): The color for the EMA line on the chart.
EMA Line Thickness (emaWidth): The thickness of the EMA line for better visualization.
2. EMA Calculation:
The script calculates the EMA using the defined emaLength and plots it on the chart as a line. The EMA is a common indicator used to smooth out price data and identify trends.
Plot: The EMA is plotted in orange with a width defined by emaWidth.
3. Break & Retest Logic:
Broke Above (brokeAbove): This condition checks if the price has crossed above the EMA, then retested it and stayed above the EMA. This indicates a potential bullish trend.
Broke Below (brokeBelow): This condition checks if the price has crossed below the EMA, then retested it and stayed below the EMA. This indicates a potential bearish trend.
Buy Signal (buySignal): If the price has broken above the EMA and is currently above it, the script will generate a "BUY" signal.
Sell Signal (sellSignal): If the price has broken below the EMA and is currently below it, the script will generate a "SELL" signal.
4. Plot Buy/Sell Signals:
Buy Signal (plotshape for Buy): If the buySignal is true and the user has enabled it (showBuy), a green "BUY" label will appear below the bar.
Sell Signal (plotshape for Sell): If the sellSignal is true and the user has enabled it (showSell), a red "SELL" label will appear above the bar.
5. Alert Conditions:
Buy Alert: An alert is triggered when the buy signal is active. The message includes the context: "BUY: 21 EMA break and retest confirmed to the upside."
Sell Alert: An alert is triggered when the sell signal is active. The message includes the context: "SELL: 21 EMA break and retest confirmed to the downside."
6. Multi-Timeframe Trend Table:
The script also includes a trend table in the top-right corner of the chart, showing the trend on different timeframes (Daily, 4H, 1H, 15M, and 5M). The trend is determined by the following logic:
Bullish Trend: If the price has broken above the EMA and stayed above it, or if the price is currently above the EMA without any break below.
Bearish Trend: If the price has broken below the EMA and stayed below it, or if the price is currently below the EMA without any break above.
The trend table will show the trend for each timeframe with:
Bullish: The trend will be colored green.
Bearish: The trend will be colored red.
Neutral/No Break: If no break and retest is confirmed, it will default to the current price position relative to the EMA.
7. Trend Table Structure:
The table has columns for each timeframe (Daily, 4H, 1H, 15M, and 5M) and includes:
The name of the timeframe.
The trend for each timeframe (Bullish or Bearish), colored appropriately.
The current trend signal ("BUY", "SELL", or a dash for no signal).
Trend determination for each timeframe:
The script calculates the trend for each timeframe by requesting the security data for each timeframe (using request.security) and then checking whether the price is above or below the EMA, or if it has broken and retested the EMA.
8. How It Works:
The script provides both real-time signals (for buy and sell) based on the price breaking and retesting the EMA, and it also shows the current trend for various timeframes in a table.
If the price crosses the EMA, the script will check for a "break" and "retest" to confirm the trend before issuing a buy or sell signal.
The trend table helps the trader to quickly understand the trend on multiple timeframes, making it easier to trade based on both short-term and long-term trends.
Summary:
This script combines a break-and-retest strategy with multi-timeframe analysis and provides an easy-to-read trend table for multiple timeframes. It helps traders visualize where the market is trending across different timeframes and offers signals when a price breaks and retests the EMA 21. This script can be especially useful for traders who prefer to take advantage of trend reversals or pullbacks, using the EMA as a dynamic support/resistance level.
Dynamic EMA Ribbon🔹 Dynamic EMA Ribbon is a clean and powerful visual tool for analyzing market trends. This script creates a ribbon of exponential moving averages (EMAs) that stretches from a customizable starting length to an ending length.
🔸 The indicator highlights trend direction by comparing the first EMA (shortest) with the last EMA (longest):
If the first EMA is above the last → the color is green (bullish).
If the first EMA is below the last → the color is red (bearish).
🔸 Key features:
The intermediate EMAs are hidden but used to generate gradient fills, forming a ribbon-like visual structure.
The fill opacity increases progressively, helping users visually gauge trend strength.
The start EMA is plotted in blue or purple, and the end EMA is marked with green or red circles, depending on the trend.
🔹 Ideal for:
Spotting and confirming short- to medium-term trends.
Using as a visual layer underneath price action or alongside other indicators.
✏️ Customizable Inputs:
Starting EMA length
Ending EMA length
📌 Tip: Combine this ribbon with volume, support/resistance levels, or trend-following indicators for optimal setups.
TFT-Price-PluseTFT Price Pluse is a multi-purpose trend analysis and momentum confirmation indicator designed for intraday and swing traders. It combines well-known trading tools—EMAs, RSI, and a multi-timeframe dashboard—with a custom-built logarithmic regression channel that adapts to price behavior dynamically.
This tool helps traders quickly assess market conditions, spot trend reversals or continuation zones, and identify dynamic support/resistance using layered confluence — all in one visual system.
🔧 Main Components & Logic
📉 Trend Structure (EMAs & SMA)
8 EMA (short-term)
21 EMA (intermediate-term)
50 SMA (medium-term)
200 EMA (long-term baseline)
Triangle markers are plotted when the 8 EMA crosses the 21 EMA — commonly used as trend-change signals.
🔁 Multi-Timeframe RSI Table
Displays RSI(14) values across six timeframes:
1m, 3m, 5m, 10m, 15m, and 30m.
Color-coded cells:
Green = RSI > 50 (bullish momentum)
Red = RSI < 50 (bearish momentum)
This feature helps traders gauge market momentum across multiple granular timeframes at a glance.
📊 Custom Log Regression Channel (Original Component)
Uses a logarithmic transformation of price and time to fit a regression line.
Calculates standard deviation from the regression line to build dynamic upper and lower deviation bands.
Displays R-squared value, a statistical measure of trend strength.
This feature acts like an adaptive trend channel with built-in volatility measurement.
🔍 Unlike simple linear regression, this model tracks exponential behavior in trending markets, making it more suitable for crypto, futures, and other fast-moving instruments.
🎯 How to Use It
1. Spot Trends with EMA Crossovers
Bullish setup: 8 EMA crosses above 21 EMA while price is above 50 SMA and 200 EMA.
Bearish setup: opposite conditions.
2. Confirm with RSI Table
All RSI cells green = higher-probability long setup.
All red = potential short trend confirmation.
Mixed RSI = trend indecision or consolidation.
3. Use Log Regression Bands
Price bouncing from lower band with bullish EMA cross = potential long entry.
Price rejecting upper band with bearish cross = potential short entry.
R² above 0.8 = strong directional conviction.
4. Alerts (optional)
Alerts can be enabled for:
EMA crossovers
RSI overbought/oversold thresholds
🧩 Attribution & Open-Source Acknowledgement
This indicator includes adapted and integrated logic from several open-source scripts published on TradingView by the community.
Features such as the RSI table, moving average crossovers, and regression math were inspired by public scripts and documentation. These components were modified and enhanced to work together as a cohesive system.
The log regression channel is uniquely implemented, combining log(price) and log(time) transformations for a statistically calculated dynamic channel.
This version is published open-source to support learning, transparency, and community improvement. You are free to study, customize, and build upon it — just credit if reused.
🚀 Who This Is For
Intraday traders needing fast visual confirmation
Futures/crypto traders wanting trend/momentum filtering
Strategy builders looking for a reliable confluence tool
Coders studying advanced regression modeling in Pine Script
💬 Tips
Works best on 1m–15m charts for active setups.
Set alerts on RSI/EMA events for automation.
Use in combination with price action or volume tools if desired.
❤️ Final Note
If you find this script helpful, follow my profile for future updates and tools.
Feedback, forks, and enhancements are welcome — let's build better together.
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.
Mar 28
Release Notes
Added option to select Source of MAs.
This update introduces an advanced crossover confirmation feature to the indicator by leveraging the existing user-defined moving averages (MA1 and MA2). It enhances flexibility and visual feedback through customizable source selection and dynamic color changes based on crossover events. Below are the details of this addition:
Customizable Source Selection:
Users now have the ability to define the price source for each moving average independently through the MA1 Source and MA2 Source input options. Available choices include open, close, high, low, or other price data points, enabling tailored analysis based on specific price behaviors.
Crossover Confirmation Mechanism:
The feature detects crossovers between MA1 and MA2 to provide additional confirmation signals:
A bullish crossover occurs when MA1 crosses above MA2, signaling potential bullish momentum.
A bearish crossover occurs when MA1 crosses below MA2, indicating possible bearish momentum.
These events are identified using precise Pine Script functions (ta.crossover() and ta.crossunder()), ensuring reliable detection of trend shifts.
Dynamic Color Response:
Post-crossover, the visual representation of both MAs adapts to reflect the market condition:
After a bullish crossover (MA1 > MA2), both MA1 and MA2 lines change to green, visually reinforcing an upward trend.
After a bearish crossover (MA1 < MA2), both lines shift to red, highlighting a downward trend.
Prior to any crossover, the MAs default to gray, maintaining neutrality until a significant event occurs. The color persists until the opposite crossover takes place, offering sustained feedback.
Practical Examples for Customization:
MA 3 vs. MA 3 Configuration: Set MA1 to a length of 3 with source open and MA2 to a length of 3 with source close. This fast-moving pair leverages the difference between opening and closing prices, with crossovers providing rapid confirmation signals for short-term traders.
MA 9 vs. MA 20 Crossover: Configure MA1 with a length of 9 and MA2 with a length of 20 (both defaulting to close). This setup captures short-term trends against a medium-term baseline, a popular choice for swing trading.
MA 20 vs. MA 50 Crossover: Assign MA1 a length of 20 and MA2 a length of 50. This classic combination tracks medium-term versus long-term trends, ideal for identifying broader market shifts.
The flexibility of length and source inputs allows users to experiment with countless other pairings tailored to their strategies.
Purpose and Integration:
This crossover functionality enhances the indicator’s utility by offering a clear, visual confirmation tool alongside the existing EMA Cloud and RSI components. It empowers users to monitor momentum shifts with greater confidence, using MA1 and MA2 as a dynamic duo within the broader analytical framework.
Critical User Guidance:
Disclaimer: While this indicator provides valuable insights, it is not a standalone solution for trading decisions. All technical indicators, including this one, merely suggest potential price movements without offering guarantees. To maximize effectiveness and minimize risk, users must complement crossover signals with additional confirmations, such as:
Candlestick Formations: Patterns like doji, engulfing, or hammer candles to validate reversals or continuations.
Support and Resistance Levels: Key price zones to assess the strength of a trend or breakout.
Trendline Breakouts: Confirmation of trend direction through breaches of established lines.
Combining these elements ensures a more robust trading approach, aligning with sound risk management principles.
SMA 12 26 50 200 / BB / KAIRIThe SMA 12 26 50 200 / BB / KAIRI is a comprehensive technical analysis tool designed for traders who rely on various moving averages and indicators to inform their market decisions. This custom-built indicator includes:
Multiple Simple Moving Averages (SMA):
The script includes four simple moving averages (SMA) with customizable periods:
SMA 12 (Short-Term)
SMA 26 (Medium-Term)
SMA 50 (Mid-Term)
SMA 200 (Long-Term)
These moving averages help identify potential trends and market direction based on varying timeframes, allowing traders to analyze short, medium, and long-term price movements.
Bollinger Bands (BB):
The Bollinger Bands indicator is included to measure market volatility. The indicator consists of:
The middle band, which is a 20-period simple moving average.
The upper and lower bands, which are calculated using standard deviations to show potential overbought or oversold conditions.
Kairi Oscillator:
The Kairi Oscillator is a unique tool for identifying price divergence from the SMA 25. The oscillator creates two lines, an upper and lower level based on a percentage of price deviation from the SMA. Alerts are generated when the price crosses these levels, providing buy or sell signals.
Alerts and Signals:
Possible Buy Alert: An alert is triggered when the price touches the 50-period SMA or 200-period SMA, signaling potential buying opportunities.
Buy and Sell Signals: The script includes built-in logic for buy and sell signals based on the crossing of the Kairi Oscillator, helping traders make informed decisions in real-time.
Customizable Parameters:
Users can adjust the periods of the SMAs and the Kairi Oscillator directly within the script settings to align with their preferred trading strategy.
This indicator is particularly useful for trend-following traders who want to visualize multiple timeframes and use volatility measures to make strategic decisions. The combination of SMAs, Bollinger Bands, and the Kairi Oscillator helps traders spot market opportunities and manage risk effectively.
This description covers the main features and functionalities of the Pine Script indicator, highlighting its flexibility and utility for traders who use moving averages, Bollinger Bands, and the Kairi Oscillator. Let me know if you'd like to adjust or add any specific features to the description!
BTCUSDT MACD Bullish/Bearish Alerts [3-min]Description:
This TradingView Pine Script indicator titled "BTCUSDT MACD Bullish/Bearish Alerts " analyzes the BTCUSDT pair on a 3-minute chart using the MACD (Moving Average Convergence Divergence) strategy. It provides visual plots and configurable alerts for potential bullish or bearish market conditions based on MACD line behavior.
🔧 Key Features:
MACD Configuration:
Fast Length: 12
Slow Length: 26
Signal Smoothing: 9
Custom Thresholds:
Bullish Alert Trigger: When the MACD line crosses above the signal line and exceeds a value of 5.
Bearish Alert Trigger: When the MACD line crosses below the signal line and falls below a value of -10.
📈 Chart Elements:
Lines:
Blue: MACD Line
Orange: Signal Line
Histogram: Green (positive), Red (negative)
Shapes:
Green Triangle Up: Bullish crossover point
Red Triangle Down: Bearish crossover point
🚨 Alerts Available:
MACD Bullish Crossover – When the MACD line crosses above the signal line.
MACD Bullish Rising – When the MACD line is above the signal line and exceeds the bullish threshold.
MACD Bearish Crossover – When the MACD line crosses below the signal line.
MACD Bearish Falling – When the MACD line is below the signal line and below the bearish threshold.
TP/SL Percentage & RR Visual Tool📊 TP/SL Percentage & RR Visual Tool
This advanced trading indicator is designed to enhance your decision-making process by visually displaying dynamic risk-to-reward (RR) levels, trend conditions, and market signals directly on your chart. Whether you're scalping or swing trading, this tool gives you real-time insight into trade opportunities with built-in logic from the UT Bot.
🧠 Key Features:
TP/SL Levels: Automatically plots up to 3 customizable take-profit and stop-loss levels based on percentage.
Risk-to-Reward Visualization: Clearly displayed entry, TP, and SL zones to help manage risk and improve trade planning.
UT Bot Alerts Logic: Smart entry and exit signals using UT Bot crossover logic with optional Heikin Ashi candle filtering.
Trend Strength Meter: Detects market structure and trend direction using multi-timeframe EMAs (20 vs 50 EMA).
Volatility Indicator: Shows high or low volatility zones using ATR with a 100-period average benchmark.
Session Dashboard: Includes real-time trend analysis across 5m, 15m, 1h, 4h, and 1D timeframes.
Price Action Signals: Detects bullish and bearish engulfing patterns.
Customizable EMA Overlay: Plot EMA 20, 50, 100, and 200 directly on the chart.
Dynamic Table Display: Summarizes all key data points in a fixed-position, Excel-style table for quick reference.
🔧 Fully Customizable:
TP/SL percentages and line styles
EMA lengths and colors
Table placement
Heikin Ashi logic toggle
Volatility and trend sensitivity
[SM-042] EMA 5-8-13 with ADX FilterWhat is the strategy?
The strategy combines three exponential moving averages (EMAs) — 5, 8, and 13 periods — with an optional ADX (Average Directional Index) filter. It is designed to enter long or short positions based on EMA crossovers and to exit positions when the price crosses a specific EMA. The ADX filter, if enabled, adds a condition that only allows trades when the ADX value is above a certain threshold, indicating trend strength.
Who is it for?
This strategy is for traders leveraging EMAs and trend strength indicators to make trade decisions. It can be used by anyone looking for a simple trend-following strategy, with the flexibility to adjust for trend strength using the ADX filter.
When is it used?
- **Long trades**: When the 5-period EMA crosses above the 8-period EMA, with an optional ADX condition (if enabled) that requires the ADX value to be above a specified threshold.
- **Short trades**: When the 5-period EMA crosses below the 8-period EMA, with the ADX filter again optional.
- **Exits**: The strategy exits a long position when the price falls below the 13-period EMA and exits a short position when the price rises above the 13-period EMA.
Where is it applied?
This strategy is applied on a chart with any asset on TradingView, with the EMAs and ADX plotted for visual reference. The strategy uses `strategy.entry` to open positions and `strategy.close` to close them based on the set conditions.
Why is it useful?
This strategy helps traders identify trending conditions and filter out potential false signals by using both EMAs (to capture short-term price movements) and the ADX (to confirm the strength of the trend). The ADX filter can be turned off if not desired, making the strategy flexible for both trending and range-bound markets.
How does it work?
- **EMA Crossover**: The strategy enters a long position when the 5-period EMA crosses above the 8-period EMA, and enters a short position when the 5-period EMA crosses below the 8-period EMA.
- **ADX Filter**: If enabled, the strategy checks whether the ADX value is above a set threshold (default is 20) before allowing a trade.
- **Exit Conditions**: Long positions are closed when the price falls below the 13-period EMA, and short positions are closed when the price rises above the 13-period EMA.
- **Plotting**: The strategy plots the three EMAs and the ADX value on the chart for visualization. It also displays a horizontal line at the ADX threshold.
This setup allows for clear decision-making based on the interaction between different time-frame EMAs and trend strength as indicated by ADX.
SanAlgo V3This is an indicator which uses VWAP and ATR indicators.
Buy / Sell signals are plotted with the breakout of ATR deviations and filtered using VWAP.
You can change deviation as per your need.
Alerts have been added to suit your preference.
Explore additional settings, toggle between options
This indicator works on all types of assets, and all timeframes.
Deadzone Pro @DaviddTechDeadzone Pro by @DaviddTech – Adaptive Multi-Strategy NNFX Trading System
Deadzone Pro by @DaviddTech is a meticulously engineered trading indicator that strictly adheres to the No-Nonsense Forex (NNFX) methodology. It integrates adaptive trend detection, dual confirmation indicators, advanced volatility filtering, and dynamic risk management into one powerful, visually intuitive system. Ideal for traders seeking precision and clarity, this indicator consistently delivers high-probability trade setups across all market conditions.
🔥 Key Features:
The Setup:
Adaptive Hull Moving Average Baseline: Clearly identifies trend direction using an advanced, gradient-colored Hull MA that intensifies based on trend strength, providing immediate visual clarity.
Dual Confirmation Indicators: Combines Waddah Attar Explosion (momentum detector) and Bull/Bear Power (strength gauge) for robust validation, significantly reducing false entries.
Volatility Filter (ADX): Ensures entries are only made during strong trending markets, filtering out weak, range-bound scenarios for enhanced trade accuracy.
Dynamic Trailing Stop Loss: Implements a SuperTrend-based trailing stop using adaptive ATR calculations, managing risk effectively while optimizing exits.
Dashboard:
💎 Gradient Visualization & User Interface:
Dynamic gradient colors enhance readability, clearly indicating bullish/bearish strength.
Comprehensive dashboard summarizes component statuses, real-time market sentiment, and entry conditions at a glance.
Distinct and clear buy/sell entry and exit signals, with adaptive stop-loss levels visually plotted.
Candlestick coloring based on momentum signals (Waddah Attar) for intuitive market reading.
📈 How to Interpret Signals:
Bullish Signal: Enter when Hull MA baseline trends upward, both confirmation indicators align bullish, ADX indicates strong trend (>25), and price breaks above the previous trailing stop.
Bearish Signal: Enter short or exit long when Hull MA baseline trends downward, confirmations indicate bearish momentum, ADX confirms trend strength, and price breaks below previous trailing stop.
📊 Recommended Usage:
Timeframes: Ideal on 1H, 4H, and Daily charts for swing trading; effective on shorter (5M, 15M) charts for day trading.
Markets: Compatible with Forex, Crypto, Indices, Stocks, and Commodities.
The Entry & Exit:
🎯 Trading Styles:
Choose from three distinct trading modes:
Conservative: Requires full alignment of all indicators for maximum accuracy.
Balanced (Default): Optimized balance between signal frequency and reliability.
Aggressive: Fewer confirmations needed for more frequent trading signals.
📝 Credits & Originality:
Deadzone Pro incorporates advanced concepts inspired by:
Hull Moving Average by @Julien_Eche
Waddah Attar Explosion by @LazyBear
Bull Bear Power by @Pinecoders
ADX methodology by @BeikabuOyaji
This system has been significantly refactored and enhanced by @DaviddTech to maximize synergy, clarity, and usability, standing apart distinctly from its original components.
Deadzone Pro exemplifies precision and discipline, aligning fully with NNFX principles to provide traders with a comprehensive yet intuitive trading advantage.
Falcon SignalsThis script is a TradingView Pine Script for a trading strategy called "Falcon Signals." It combines multiple technical indicators and strategies to generate buy and sell signals. Here’s a breakdown of what the script does:
1. Supertrend Indicator:
The script calculates the Supertrend indicator using the Average True Range (ATR) and a specified multiplier (factor). The Supertrend is used to define the trend direction, with a green line for an uptrend and a red line for a downtrend.
2. EMA (Exponential Moving Average):
Two EMAs are used: a fast EMA (9-period) and a slow EMA (21-period). The script checks for crossovers of the fast EMA above or below the slow EMA as a basis for buying and selling signals.
3. RSI (Relative Strength Index):
The RSI (14-period) is used to measure the momentum of the price. A buy signal is generated when the RSI is less than 70, while a sell signal is generated when it’s greater than 30.
4. Take Profit (TP) and Stop Loss (SL):
The script allows users to set custom percentages for take profit and stop loss. The take profit is set at a certain percentage above the entry price for buy signals, and the stop loss is set at a percentage below the entry price, and vice versa for sell signals.
5. Trailing Stop:
A trailing stop can be enabled, which dynamically adjusts the stop loss level as the price moves in the favorable direction. If the price moves against the position by a certain trailing percentage, the position will be closed.
6. Engulfing Patterns:
The script checks for bullish and bearish engulfing candlestick patterns, indicating potential reversals. A bullish engulfing pattern is marked with a teal label ("🔄 Reversal Up"), and a bearish engulfing pattern is marked with a fuchsia label ("🔄 Reversal Down").
7. Plotting:
The script plots various indicators and signals:
Entry line: Shows where the buy or sell signal is triggered.
Take profit and stop loss levels are plotted as lines.
EMA and Supertrend lines are plotted on the chart.
Trailing stop line, if enabled, is also plotted.
8. Buy and Sell Labels:
The script places labels on the chart when buy or sell signals are triggered, indicating the price at which the order should be placed.
9. Exit Line:
The script plots an exit line when the trailing stop is hit, signaling when a position should be closed.
10. Alerts:
Alerts are set for both buy and sell signals, notifying the trader when to act based on the strategy's conditions.
This strategy combines trend-following (Supertrend), momentum (RSI), and price action patterns (EMA crossovers and engulfing candlestick patterns) to generate trade signals. It also offers the flexibility of take profit, stop loss, and trailing stop features.
30-Min Trap Reversal Strategy (Long Only, Cleaned)Apply on 30 min charts with any ticker with volatility. Mag 7 usually give good resutls
Multi-Symbol EMA Status Table🔍 Multi-Symbol EMA Trend Scanner Table
This script displays a clean, customizable table showing whether the price of up to 16 different assets is above or below a user-defined EMA, on a per-symbol and per-timeframe basis.
✅ Supports up to 16 symbols, each with:
Custom exchange + ticker (e.g., BINANCE:BTCUSDT.P, PEPPERSTONE:EURUSD)
Custom timeframe (e.g., 15, 60, 240, D, W)
Custom EMA length (e.g., 50, 100, 200)
🧩 Fully customizable visuals:
Table position (top, middle, bottom + left, center, right)
Text size and text color
Background color for "above" and "below" EMA
Optional ✅❌ emojis
📊 The table updates live on your main chart — no switching required!
💡 Great for:
Monitoring trend direction across multiple markets
Spotting trend alignment (e.g., price above 200 EMA on 4H + 1D)
Multi-asset swing trading or scalping strategies
📘 How to Use:
Open a chart and add the indicator from your scripts.
In the settings panel:
Enter any symbol (with exchange prefix, like BINANCE:BTCUSDT.P or OANDA:EURUSD)
Set a timeframe (e.g., "15" for 15min, "60" for 1h, "D" for daily)
Choose your EMA length (e.g., 200)
Repeat for as many symbols as you need (up to 16).
Customize table visuals:
Position on the screen
Font size and color
Enable/disable emojis ✅❌
Watch the table update live!
🧠 Optional Tips:
Use different colors or groupings to track asset classes (crypto, forex, stocks).
Combine it with your favorite entry/exit signals for confirmation.
Try setting all symbols to the same EMA (e.g., 200) but with different timeframes to monitor multi-timeframe alignment.
Moving Average Tolerance BandsDraws a set of Moving Averages with a dynamic band around each average. The band acts as tolerance, to recognize even near-by touches of specified moving averages.
Gold EMA + CHOCH StrategyStrategy Logic:
Higher Timeframe (15 min):
Bullish: HTF_20EMA > HTF_100EMA and forming H.H
Bearish: HTF_20EMA < HTF_100EMA and Forming L.L
Lower Timeframe (1 min):
Entry when 20 EMA crosses 100 EMA:
Buy if 20 EMA crosses above 100 EMA and 1 min CHOCH and HTF trend is bullish
Sell if 20 EMA crosses below 100 EMA and1 minCHOCH and HTF trend is bearish