BEING RSI Divergence Buy/Sell Signals//@version=5
indicator("RSI Divergence Buy/Sell Signals", overlay=true)
// RSI Calculation
length = 14
rsiSource = close
rsi = ta.rsi(rsiSource, length)
// Overbought and Oversold Levels
overbought = 70
oversold = 30
// Price and RSI Pivot Points
pivotLeft = 5
pivotRight = 5
priceHighPivot = ta.pivothigh(high, pivotLeft, pivotRight)
priceLowPivot = ta.pivotlow(low, pivotLeft, pivotRight)
rsiHighPivot = ta.pivothigh(rsi, pivotLeft, pivotRight)
rsiLowPivot = ta.pivotlow(rsi, pivotLeft, pivotRight)
// Bearish Divergence (Price Higher High but RSI Lower High)
bearishDivergence = na(priceHighPivot) ? false : priceHighPivot > ta.valuewhen(priceHighPivot, priceHighPivot, 1) and rsiHighPivot < ta.valuewhen(rsiHighPivot, rsiHighPivot, 1) and rsiHighPivot > overbought
// Bullish Divergence (Price Lower Low but RSI Higher Low)
bullishDivergence = na(priceLowPivot) ? false : priceLowPivot < ta.valuewhen(priceLowPivot, priceLowPivot, 1) and rsiLowPivot > ta.valuewhen(rsiLowPivot, rsiLowPivot, 1) and rsiLowPivot < oversold
// Plot Buy/Sell Signals
plotshape(bullishDivergence, location=location.belowbar, color=color.green, style=shape.labelup, title="Buy Signal", size=size.small)
plotshape(bearishDivergence, location=location.abovebar, color=color.red, style=shape.labeldown, title="Sell Signal", size=size.small)
// Background Highlighting for Overbought/Oversold
bgcolor(rsi > overbought ? color.red : rsi < oversold ? color.green : na, transp=90)
// Display RSI on Chart
hline(overbought, "Overbought", color=color.red)
hline(oversold, "Oversold", color=color.green) OWNER; BY SOHAN SOLANKI
Chart patterns
Diamond PatternDiamond Pattern Indicator
This indicator is designed to detect the Diamond Pattern, a technical formation that often signals potential trend reversals. The diamond pattern can lead to strong price movements, making it a valuable tool for traders.
Features:
✅ Automatic Detection – Identifies diamond patterns on the chart.
✅ Trend Reversal Signals – Highlights potential price direction changes.
✅ Multi-Timeframe Compatibility – Works across all timeframes.
✅ User-Friendly – Simple to use with no complex settings required.
How to Use:
1. Add the indicator to your chart.
2. Monitor for the formation of a Diamond Pattern.
3. Use the breakout direction to guide your trading decisions.
Volume-Price Divergence RSIUnderstanding the Display
Once added, you'll see a new panel below your price chart with:
Purple Line: This is the RSI (Relative Strength Index)
Red Dashed Line: The overbought threshold (default: 70)
Green Dashed Line: The oversold threshold (default: 30)
Blue Columns: Volume histogram
Dark Blue Line: Volume moving average
Trading Signals
Look for these markers on the indicator panel:
Green Triangle (↑): Buy signal - appears when there's a bullish divergence AND RSI conditions are met (oversold and rising)
Red Triangle (↓): Sell signal - appears when there's a bearish divergence AND RSI conditions are met (overbought and falling)
Lime Diamond (◆): Bullish divergence without RSI confirmation
Orange Diamond (◆): Bearish divergence without RSI confirmation
What These Signals Mean
Buy Signal (Green Triangle):
Price is making lower lows BUT volume is making higher lows
RSI is in oversold territory (below 30) and starting to rise
This suggests potential upward reversal
Sell Signal (Red Triangle):
Price is making higher highs BUT volume is making lower highs
RSI is in overbought territory (above 70) and starting to fall
This suggests potential downward reversal
Customizing the Indicator
To adjust settings:
Right-click on the indicator
Select "Settings"
In the "Inputs" tab, you can modify:
RSI Period (default: 14)
Volume MA Period (default: 20)
Lookback Period for finding pivot points (default: 10)
RSI Overbought level (default: 70)
RSI Oversold level (default: 30)
Setting Alerts
To get notified when a signal appears:
Right-click on the indicator
Select "Add Alert"
Choose the condition you want to be alerted for:
Buy Signal
Sell Signal
Bullish Divergence
Bearish Divergence
Configure notification preferences and save
Trading Strategy
This indicator is best used:
On higher timeframes (4H, Daily) for more reliable signals
As confirmation with other indicators or price action
At market extremes where divergences are more meaningful
With proper risk management (stop losses below recent swing lows for buys, above recent swing highs for sells)
Remember that no indicator is 100% accurate. This tool works by identifying situations where price movement isn't confirmed by volume, suggesting a potential reversal, especially when RSI conditions align.
Valerio Diotallevi
SemaforI simply added ADR and Daily Open Line to DevLucem's Semafor script. Thank you, DevLucem for your work on producing this semafor indicator in the first place. It was exactly what I was looking for.
Trade The Fear - UltimateTrade The Fear - Ultimate (TTF - Ultimate)
Overview
"Trade The Fear - Ultimate" (TTF - Ultimate) is a powerful, all-in-one technical analysis indicator designed to help traders identify key market opportunities. Combining support/resistance break-and-retest detection, reversal and breakout signals, and RSI divergence analysis, this indicator provides a comprehensive toolkit for trading across various markets and timeframes. Built with flexibility in mind, TTF - Ultimate offers customizable settings and rich visualizations to suit different trading styles.
What It Does
1. **Break and Retest Detection**
- Identifies support and resistance levels using pivot points.
- Detects breakouts when price crosses these levels and highlights potential retests for confirmation.
- Visualizes zones with boxes and labels for easy interpretation.
2. **Reversal and Breakout Identification**
- Spots reversal patterns using weighted moving averages and volume strength.
- Flags breakout opportunities with strong momentum, supported by volume analysis.
- Tracks trend direction with a dynamic trend line and candle coloring.
3. **RSI Divergence Analysis**
- Calculates RSI and detects bullish/bearish divergences between price and momentum.
- Marks divergences with clear visual cues to signal potential reversals.
4. **Visual Tools & Alerts**
- Displays support/resistance zones, breakouts, retests, reversals, and divergences with boxes, labels, and shapes.
- Colors candles based on trend state for quick trend recognition.
- Includes customizable alerts for all key events.
How to Use It
1. **Add to Chart**
- Search for "Trade The Fear - Ultimate" in TradingView’s indicator library and add it to your chart.
- The indicator overlays directly on your price chart.
2. **Key Visual Elements**
- **Boxes**: Red for support, Green for resistance—indicate key zones.
- **Labels**: "Break" for breakouts, "Retest" or "P. Re" for retests—mark significant price actions.
- **Shapes**: Triangles for reversals/divergences, diamonds for breakouts—highlight trade setups.
- **Trend Line**: Colored line (green/red) tracks trend direction.
- **Candle Colors**: Green (bullish), Red (bearish), Yellow (breakout)—show market state.
3. **Trading Strategies**
- **Break and Retest**: Enter trades when price breaks a level (e.g., support) and retests it as new resistance (bearish) or support (bullish).
- **Reversals**: Look for triangle markers (R) with RSI divergence for potential trend changes.
- **Breakouts**: Trade diamond markers (B) with yellow candles for strong momentum moves.
- **Trend Following**: Use candle colors and the trend line to ride bullish (green) or bearish (red) trends.
4. **Customize Settings**
- Open the indicator settings to tweak:
- **Lookback Periods**: Adjust sensitivity for breaks, retests, and reversals (e.g., 20 bars default).
- **Repainting**: Choose "On" for real-time signals or "Off" for confirmed signals.
- **Colors/Styles**: Modify box outlines, label sizes, and colors to your preference.
- **Alerts**: Enable/disable specific alerts (e.g., breakouts, retests, divergences).
- **Volume Threshold**: Set the level for strong breakout confirmation (default: 2).
5. **Alerts**
- Set up alerts via TradingView’s alert menu to get notified of:
- New support/resistance levels.
- Breakouts and confirmed retests.
- Reversals, breakouts, and RSI divergences.
Best Practices
- **Timeframes**: Works on all timeframes—shorter for scalping, longer for swing trading.
- **Markets**: Applicable to stocks, forex, crypto, and more.
- **Confirmation**: Combine with other indicators (e.g., volume, moving averages) for stronger signals.
- **Risk Management**: Always use stop-losses and proper position sizing.
Clean OHLC Lines | BaksPlots clean, non-repainting OHLC lines from higher timeframes onto your chart. Ideal for tracking key price levels (open, high, low, close) with precision and minimal clutter.
Core Functionality
Clean OHLC Lines = Historical Levels + Non-Repainting Logic
• Uses lookahead=on to anchor historical lines, ensuring no repainting.
• Displays OHLC lines for customizable timeframes (15min to Monthly).
• Optional candlestick boxes for visual context.
Key Features
• Multi-Timeframe OHLC:
Plot lines from 15min, 30min, 1H, 4H, Daily, Weekly, or Monthly timeframes.
• Non-Repainting Logic:
Historical lines remain static and never recalculate.
• Customizable Styles:
Adjust colors, line widths (1px-4px), and transparency for high/low/open/close lines.
• Candle Display:
Toggle candlestick boxes with bull/bear colors and adjustable borders.
• Past Lines Limit:
Control how many historical lines are displayed (1-500 bars).
User Inputs
• Timeframe:
Select the OHLC timeframe (e.g., "D" for daily).
• # Past Lines:
Limit historical lines to avoid overcrowding (default: 10).
• H/L Mode:
Draw high/low lines from the current or previous period.
• O/C Mode:
Anchor open/close lines to today’s open or yesterday’s close.
• Line Styles:
Customize colors, transparency, and styles (solid/dotted/dashed).
• Candle Display:
Toggle boxes/wicks and adjust bull/bear colors.
Important Notes
⚠️ Alignment:
• Monthly/weekly timeframes use fixed approximations (30d/7d).
• For accuracy, ensure your chart’s timeframe ≤ the selected OHLC timeframe (e.g., use 1H chart for daily lines).
⚠️ Performance:
• Reduce # Past Lines on low-end devices for smoother performance.
Risk Disclaimer
Trading involves risk. OHLC lines reflect historical price levels and do not predict future behavior. Use with other tools and risk management.
Open-Source Notice
This script is open-source under the Mozilla Public License 2.0. Modify or improve it freely, but republishing must follow TradingView’s House Rules.
📈 Happy trading!
V Pattern TrendDESCRIPTION:
The V Pattern Trend Indicator is designed to identify and highlight V-shaped reversal patterns in price action. It detects both bullish and bearish V formations using a five-candle structure, helping traders recognize potential trend reversal points. The indicator filters out insignificant patterns by using customizable settings based on ATR, percentage, or points, ensuring that only meaningful V patterns are displayed.
CALCULATION METHOD
The user can choose how the minimum length of a V pattern is determined. The available options are:
- ATR (Average True Range) – Filters V patterns based on ATR, making the detection adaptive to market volatility.
- Percentage (%) – Considers V patterns where the absolute price difference between the V low and V high is greater than a user-defined percentage of the V high.
- Points – Uses a fixed number of points to filter valid V patterns, making it useful for assets with consistent price ranges.
ATR SETTINGS
- ATR Length – Defines the number of periods for ATR calculation.
- ATR Multiplier – Determines the minimum V length as a multiple of ATR.
PERCENTAGE THRESHOLD
- Sets a minimum percentage difference between the V high and V low for a pattern to be considered valid.
POINTS THRESHOLD
- Defines the minimum price movement (in points) required for a V pattern to be considered significant.
PATTERN VISUALIZATION
- A bullish V pattern is plotted using two upward-sloping lines, with a filled green region to highlight the formation.
- A bearish V pattern is plotted using two downward-sloping lines, with a filled red region to indicate the reversal.
- The indicator dynamically updates and marks only the most recent valid patterns.
UNDERSTANDING V PATTERNS
A V pattern is a sharp reversal formation where price moves strongly in one direction and then rapidly reverses in the opposite direction, forming a "V" shape on the chart.
BULLISH V PATTERN
- A bullish V pattern is formed when the price makes three consecutive lower lows, followed by two consecutive higher lows.
- The pattern is confirmed when the highest high of the formation is greater than the previous highs within the structure.
- This pattern suggests a potential trend reversal from bearish to bullish.
- The lowest point of the pattern represents the V low, which acts as a support level.
bull_five_candle_v = low > low and low > low and low > low and low > low
and high > math.max(high , high , high ) and high > math.max(high , high , high )
BEARISH V PATTERN
- A bearish V pattern is detected when the price makes three consecutive higher highs, followed by two consecutive lower highs.
- The pattern is confirmed when the lowest low of the formation is lower than the previous lows within the structure.
- This pattern signals a possible trend reversal from bullish to bearish.
- The highest point of the pattern represents the V high, which acts as a resistance level.
bear_five_candle_v = high < high and high < high and high < high and high < high
and low < math.min(low , low , low ) and low < math.min(low , low , low )
HOW THIS IS UNIQUE
- Advanced Filtering Mechanism – Unlike basic reversal indicators, this tool provides customizable filtering based on ATR, percentage, or points, ensuring that only significant V patterns are displayed.
- Enhanced Visual Clarity – The indicator uses color-coded fills and structured plotting to make reversal patterns easy to recognize.
- Works Across Market Conditions – Adaptable to different market environments, filtering out weak or insignificant price fluctuations.
- Multi-Timeframe Usability – Can be applied across different timeframes and asset classes, making it useful for both intraday and swing trading.
HOW TRADERS CAN USE THIS INDICATOR
- Identify potential trend reversals early based on structured price action.
- Filter out weak or insignificant reversals to focus only on strong V formations.
- Use the V pattern’s highs and lows as key support and resistance zones for trade entries and exits.
- Combine with other indicators like moving averages, trendlines, or momentum oscillators for confirmation.
Support & Resistance + EMA + Swing SL (3 Min)### **📌 Brief Description of the Script**
This **Pine Script indicator** for TradingView displays **Support & Resistance levels, EMAs (21 & 26), and Swing High/Low-based Stop-Loss (SL) points** on a **3-minute timeframe**.
---
### **🔹 Key Features & Functionality**
1️⃣ **🟥 Support & Resistance Calculation:**
- Finds the **highest & lowest price over the last 50 candles**
- Plots **Resistance (Red) & Support (Green) levels**
2️⃣ **📈 EMA (Exponential Moving Averages):**
- **21 EMA (Blue)** and **26 EMA (Orange)** for trend direction
- Helps in identifying bullish or bearish momentum
3️⃣ **📊 Swing High & Swing Low Detection:**
- Identifies **Swing Highs (Higher than last 5 candles) as SL for Short trades**
- Identifies **Swing Lows (Lower than last 5 candles) as SL for Long trades**
- Plots these levels as **Purple (Swing High SL) & Yellow (Swing Low SL) dotted lines**
4️⃣ **📌 Labels on Swing Points:**
- **"HH SL"** is placed on Swing Highs
- **"LL SL"** is placed on Swing Lows
5️⃣ **⚡ Breakout Detection:**
- Detects if **price crosses above Resistance** (Bullish Breakout)
- Detects if **price crosses below Support** (Bearish Breakout)
- Background color changes to **Green (Bullish)** or **Red (Bearish)**
6️⃣ **🚨 Alerts for Breakouts:**
- Sends alerts when **price breaks above Resistance or below Support**
---
### **🎯 How to Use This Indicator?**
- **Trade with Trend:** Follow **EMA crossovers** and Support/Resistance levels
- **Set Stop-Loss:** Use **Swing High as SL for Shorts** & **Swing Low as SL for Longs**
- **Look for Breakouts:** Enter trades when price **crosses Resistance or Support**
This script is **ideal for scalping & intraday trading** in a **3-minute timeframe** 🚀🔥
Let me know if you need **any modifications or improvements!** 📊💹
Whale Candles DetectorWhale Candles Detector adalah indikator yang mengesan kehadiran whales dalam pasaran berdasarkan volum dan saiz candlestick.
🔹 Ciri utama:
✅ Mengenal pasti candle whales berdasarkan volum tinggi (≥2x volum sebelumnya) dan badan candle besar (≥2x saiz sebelumnya).
✅ Menukar warna candle whales kepada putih untuk membezakannya dengan candle biasa.
✅ Menampilkan simbol BUY (🟢) di atas candle jika whales sedang membeli.
✅ Menampilkan simbol SELL (🔴) di bawah candle jika whales sedang menjual.
📌 Kegunaan:
Mengenal pasti pergerakan besar dalam pasaran yang didorong oleh pemain besar.
Membantu pedagang memahami sama ada kenaikan atau kejatuhan harga disokong oleh volum sebenar.
Boleh digunakan dalam swing trading atau day trading untuk mencari titik masuk yang lebih tepat.
Gunakan pada timeframe yang lebih tinggi (contoh: 1H ke atas) untuk hasil lebih baik. 🚀
Gold Price LevelsThis indicator identifies and displays key price levels for gold trading. It highlights important psychological and technical price points that often act as support and resistance levels.
Features
Automatically identifies and displays key price levels ending in 92, 84, 78, 55, 42, 27, and 00
Special emphasis on critical levels ending in 68, 32, and 10 with increased line width
Color-coded visualization: green for levels above current price, red for levels below
Customizable line style, width, and label visibility
Automatically adjusts to different price ranges (works with any gold price)
How to Use
This indicator helps gold traders identify potential support and resistance zones. Watch for price reactions at these levels for potential trade entries, exits, or stop placement. The thicker lines (68, 32, 10) often represent more significant price levels where stronger reactions may occur.
Perfect for both day traders and swing traders looking to optimize their gold trading strategy with key price levels.
Optimized XAU/USD - Clean SignalsOptimized XAU/USD - Clean Signals 🚀🔥
This script is designed to provide clear and optimized buy and sell signals specifically for XAU/USD (Gold) but can be applied to other assets as well. The logic is based on a combination of Zero-Lag Moving Average (ZLMA), EMA 50, EMA 200, RSI, and MACD to capture strong momentum shifts while reducing false signals.
🔹 Main Features:
✅ BUY (🔥) & SELL (💧) signals appear when price crosses above or below the ZLMA while respecting EMA 50.
✅ EMA 50 & EMA 200 plotted to indicate trend direction.
✅ RSI Divergences and MACD Confirmation improve accuracy of entries.
✅ Reduced false signals by incorporating smart filtering mechanisms.
✅ Automatic alerts for both Buy & Sell signals, making it ideal for automated trading strategies.
✅ Works on multiple timeframes (Recommended: 15m, 30m, 1H).
📌 How it Works:
• BUY SIGNAL (🔥): Triggered when the price crosses above the ZLMA while above EMA 50.
• SELL SIGNAL (💧): Triggered when the price crosses below the ZLMA while below EMA 50.
• EMA 50 & 200: Helps confirm overall trend strength.
• RSI Divergences & MACD: Adds confluence to avoid weak signals.
• No Stop Loss or Take Profit is displayed to keep the chart clean, allowing the user to manage risk separately.
⚡ Ideal For:
🔹 Swing Traders & Scalpers looking for optimized entries.
🔹 Gold (XAU/USD) traders who want a refined signal strategy.
🔹 Traders using TradingView Alerts for automation.
🎯 Try it now and optimize your trading experience! 🚀🔥
SMA Crossover Strategy//@version=5
indicator("SMA Crossover Strategy", overlay = true)
// SMA Indicators
sma50 = ta.sma(close, 50)
sma200 = ta.sma(close, 200)
// Buy & Sell Conditions
buyCondition = ta.crossover(sma50, sma200) // BUY Signal
sellCondition = ta.crossunder(sma50, sma200) // SELL Signal
// Plotting SMA Lines
plot(sma50, color = color.green, linewidth = 2, title = "SMA 50")
plot(sma200, color = color.red, linewidth = 2, title = "SMA 200")
// Entry & Exit Signals
plotshape(buyCondition, style = shape.labelup, location = location.belowbar, color = color.green, size = size.large, title = "BUY Signal")
plotshape(sellCondition, style = shape.labeldown, location = location.abovebar, color = color.red, size = size.large, title = "SELL Signal")
Robo's Ultimate 1 Min. Indicator9 ema crossing the 20 ema with the help of a macd cross, an rsi divergence and a rsi value. Use at you own risk im defiantly no pro.
Optimized Intraday StrategyThis is Trading Strategy for 70% winning ratio. Kindly trade at your own risk, this chart/indicator/strategy doesn't guarantee profits.
Spyder NQ💵 Estratégias USA Tech 📈
🚀Análises e tendências para maximizar seus lucros.
🤑 Renda extra em Dólares!
Dynamic Optimal Buy Price Levels (Prices & Percentages)Gain deeper market insights with Dynamic Optimal Buy Price Levels , a powerful indicator designed to highlight strategic entry points during healthy market conditions. This tool helps traders identify value-driven opportunities, offering a ‘Fire Sale’ alert in bear markets when prices reach historically discounted levels.
🔹 Optimal Buy Zones – Identify strong potential entry points based on historical price behavior and market trends.
🔹 Bear Market Fire Sale Signals – Alerts when assets are significantly undervalued compared to trend-based benchmarks.
🔹 Adaptive Market Analysis – Works across various market conditions to provide real-time reference points for decision-making.
⚠ Disclaimer: This indicator is for informational and reference purposes only. It does not constitute financial advice, investment recommendations, or guarantees of future performance. Always conduct your own research before making trading decisions.
Order Blocks, FVG & Liquidity Zones//@version=5
indicator("Order Blocks, FVG & Liquidity Zones", overlay=true)
// === Moving Averages ===
ema_39 = ta.ema(close, 39)
ema_89 = ta.ema(close, 89)
ema_200 = ta.ema(close, 200)
// === Fair Value Gap (FVG) ===
fvg_up = ta.highest(close, 3) > ta.lowest(open, 3)
fvg_down = ta.lowest(close, 3) < ta.highest(open, 3)
// === Order Block (OB) ===
bullish_OB = close < open and close > open and close > open
bearish_OB = close > open and close < open and close < open
// === Liquidity Zones ===
eq_high = ta.highest(high, 5) == ta.highest(high, 20)
eq_low = ta.lowest(low, 5) == ta.lowest(low, 20)
// === Conditions for Buy/Sell ===
buy_condition = bullish_OB and fvg_up and close > ema_200
sell_condition = bearish_OB and fvg_down and close < ema_200
// === Plot Boxes and Labels ===
bgcolor(buy_condition ? color.green : na, transp=80)
bgcolor(sell_condition ? color.red : na, transp=80)
label_color = color.white
if buy_condition
label.new(bar_index, high, "BUY: Bullish OB + FVG", color=color.green, textcolor=label_color, size=size.small)
if sell_condition
label.new(bar_index, low, "SELL: Bearish OB + FVG", color=color.red, textcolor=label_color, size=size.small)
if eq_high
label.new(bar_index, high, "Liquidity High", color=color.blue, textcolor=label_color, size=size.tiny)
if eq_low
label.new(bar_index, low, "Liquidity Low", color=color.blue, textcolor=label_color, size=size.tiny)
// === EMA Cross Over ===
plot(ema_39, color=color.yellow, title="EMA 39")
plot(ema_89, color=color.orange, title="EMA 89")
plot(ema_200, color=color.blue, title="EMA 200")
RSI Pro+ (Дивергенции, зоны, сигналы) - SHIFU_INSHIFU_IN Divergence Indicator — индикатор, выявляющий бычьи и медвежьи дивергенции на основе RSI.
🏆 Подходит для определения разворотных точек на графике.
🔹 S (SHORT) — медвежья дивергенция, когда RSI ослабевает, но цена растет → возможное падение.
🔹 L (LONG) — бычья дивергенция, когда RSI начинает расти, а цена делает новый минимум → возможный рост.
Использование:
Дивергенции полезны на высоких таймфреймах (H1, H4, D1)
Лучше комбинировать с уровнями поддержки/сопротивления.
_______________________________________________________________________
SHIFU_IN Divergence Indicator is designed to detect bullish and bearish divergences based on RSI.
🏆 Useful for spotting reversal points on the chart.
🔹 S (SHORT) — Bearish divergence, where RSI weakens while price keeps rising → potential drop.
🔹 L (LONG) — Bullish divergence, where RSI starts rising while price makes a new low → potential upward move.
How to use:
Works best on higher timeframes (H1, H4, D1)
Recommended to combine with support/resistance levels
Pattern Finder & ForecastThis script is a pattern-finding and forecasting tool that analyzes historical price data based on EMA (Exponential Moving Averages) and RSI (Relative Strength Index). It identifies past occurrences where the last 30 bars of data resemble the most recent 30 bars and predicts the future price movement based on those past patterns.