Body GapsThis script is a customized version based on TradingView’s official “Gaps” indicator. The original version detects gaps using the distance between highs and lows of consecutive bars. In contrast, this script introduces a refined definition of gaps by focusing strictly on real body gaps—price zones where the open and close of two consecutive candles do not overlap.
Additionally, the gap closure logic has been enhanced:
Instead of checking for simple wick penetration, a gap is only marked as closed when the closing price fully re-enters the gap zone, ensuring a more reliable and practical interpretation for traders.
Indicators and strategies
Smart Reversal Signal (Stoch + RSI + EQH/EQL) - TF + Lookback📌 Smart Reversal Signal (Stoch + RSI + EQH/EQL)
This custom TradingView indicator identifies potential trend reversal signals using a combination of Stochastic Oscillator, Relative Strength Index (RSI), and Equal Highs/Lows (EQH/EQL) based on a higher timeframe.
✅ Key Features:
Stochastic %K and %D Cross
Detects bullish reversal when %K crosses above %D in oversold zone (< 20)
Detects bearish reversal when %K crosses below %D in overbought zone (> 80)
RSI Signal Confirmation
Bullish when RSI crosses above the oversold level (e.g., 30)
Bearish when RSI crosses below the overbought level (e.g., 70)
Equal High / Low Zones (EQH/EQL)
Confirms price is reversing near previous unbroken highs/lows (within % tolerance)
Uses customizable higher timeframe (e.g., 1H) and user-defined lookback period
Buy Signal:
RSI crosses up from oversold
Stochastic %K crosses above %D
Price near an Equal Low (EQL)
Sell Signal:
RSI crosses down from overbought
Stochastic %K crosses below %D
Price near an Equal High (EQH)
Visual Aids:
Background highlights (green for Buy, red for Sell)
RSI and Stochastic plots with overbought/oversold levels
Alert conditions for Buy and Sell triggers
⚙️ Customizable Inputs:
Stochastic and RSI lengths
Overbought/Oversold levels
Tolerance for EQH/EQL zones (%)
Timeframe for EQH/EQL detection
Lookback bars to define EQ zones
📈 Use Case:
This indicator helps traders detect high-probability reversal zones by aligning:
Momentum shifts (via RSI & Stochastic)
Price structure zones (EQH/EQL)
Ideal for swing trading, mean reversion strategies, or trend reversal confirmations.
Trend TraderDescription and Usage of the "Trend Trader" Indicator
The "Trend Trader" indicator, created by Gerardo Mercado as a legacy project, is a versatile trading tool designed to identify potential buy and sell signals across various instruments. While it provides predefined settings for popular instruments like US30, NDX100, GER40, and GOLD, it can be seamlessly adapted to any market, including forex pairs like EUR/USD. The indicator combines moving averages, time-based filters, and MACD confirmation to enhance decision-making for traders.
How It Works
Custom Moving Averages (MAs):
The indicator uses two moving averages:
Short MA: A faster-moving average (default: 10 periods).
Long MA: A slower-moving average (default: 100 periods).
Buy signals are generated when the Short MA crosses above the Long MA.
Sell signals are triggered when the Short MA crosses below the Long MA.
Time-Based Signals:
The user can define specific trading session times (start and end in UTC) to focus on high-activity periods for their chosen market.
Signals and background coloring are only active during the allowed session times.
MACD Confirmation:
A MACD (Moving Average Convergence Divergence) calculation on a 15-minute timeframe ensures stronger confirmation for signals.
Buy signals require the MACD line to be above the signal line.
Sell signals require the MACD line to be at or below the signal line.
Target Levels:
Predefined profit targets are dynamically set based on the selected trading instrument.
While it includes settings for US30, NDX100, GER40, and GOLD, the target levels can be adjusted to fit the volatility and structure of any asset, including forex pairs like EUR/USD.
Target 1 and Target 2 levels display when these thresholds are met after an entry signal.
Adaptability to Any Market:
Although predefined options are included for specific instruments, the indicator's moving averages, time settings, and MACD logic are applicable to any tradable asset, making it suitable for forex, commodities, indices, and more.
Visual Alerts:
Labels appear on the chart to highlight "BUY" and "SELL" signals at crossover points.
Additional labels indicate when price movements reach the predefined target levels.
Bar and background coloring visually represent active signals and MACD alignment.
Purpose
The indicator aims to simplify trend-following and momentum-based trading strategies. By integrating moving averages, MACD, customizable time sessions, and dynamic targets, it offers clear entry and exit points while being adaptable to the needs of individual traders across diverse markets.
How to Use
Setup:
Add the indicator to your TradingView chart.
Configure the moving average periods, trading session times, and target levels according to your preferences.
Select the instrument for predefined target settings or customize them to fit the asset you’re trading (e.g., EUR/USD or other forex pairs).
Interpreting Signals:
Buy Signal: The Short MA crosses above the Long MA, MACD confirms the upward trend, and the session is active.
Sell Signal: The Short MA crosses below the Long MA, MACD confirms the downward trend, and the session is active.
Adapt for Any Instrument:
Adjust the predefined target levels to match the volatility and trading style for your chosen asset.
For forex pairs like EUR/USD, consider typical pip movements to set appropriate profit targets.
Targets:
Use the provided target labels (e.g., 50 or 100 points) or customize them to reflect realistic profit goals based on the asset’s volatility.
Visual Aids:
Pay attention to the background color:
Greenish: Indicates a bullish trend during the allowed session.
Redish: Indicates a bearish trend during the allowed session.
Use the "BUY" and "SELL" labels for actionable insights.
This indicator is a flexible and powerful tool, suitable for traders across all markets. Its adaptability ensures that it can enhance your strategy, whether you’re trading forex, commodities, indices, or other assets. By offering actionable alerts and customizable settings, the "Trend Trader" serves as a valuable addition to any trader’s toolkit. FX:EURUSD
AO + MACD CombinedAwesome Oscillator (AO):
Calculates AO as the difference between 5-period and 34-period SMAs of the hl2 price.
Plots the AO histogram with colors: green (#009688) when increasing, red (#F44336) when decreasing.
Includes alerts for color changes (green/red).
MACD:
Calculates MACD using user-defined fast (12) and slow (26) SMA lengths, with a signal line smoothed over 9 periods.
Plots the MACD line (blue, #2962FF) and Signal line (orange, #FF6D00).
The MACD histogram is replaced by the AO histogram, but alerts for histogram state changes (rising to falling, falling to rising) are based on AO.
Shorttitle:
Set to AO+MACD (7 characters), within the 10-character limit.
Plots:
AO histogram, MACD line, Signal line, and a zero line are plotted in a single pane.
Uses color.new for version 6 compatibility.
Alerts:
AO color change alerts (green/red).
AO histogram state change alerts (rising to falling, falling to rising).
Usage Instructions:
Copy the script into TradingView’s Pine Script editor.
Customize inputs (e.g., MACD fast/slow lengths, signal smoothing) as needed.
Set up alerts in TradingView for AO color changes or histogram state changes.
The indicator displays in one pane, with the AO histogram replacing the MACD histogram, alongside the MACD and Signal lines.
8 EMA Ribbon# 📈 8 EMA Ribbon - Dynamic Color Trend Indicator
**Professional EMA ribbon with intelligent color-changing technology that instantly reveals market trend direction and strength.**
## 🎯 Key Features
### 🌈 **Dynamic Color System**
- **Green EMAs**: Price is above the EMA (bullish)
- **Red EMAs**: Price is below the EMA (bearish)
- **Real-time updates**: Colors change instantly as price moves through each level
### 📊 **Fibonacci-Based Ribbon**
- **Perfect Spacing**: 8, 13, 21, 34, 55, 89, 144, 233 periods
- **Optimal Coverage**: Short-term to long-term trend analysis
- **Natural Flow**: Creates smooth ribbon effect for trend visualization
### ⚙️ **Ultra-Clean Interface**
- **Single-Line Settings**: Each EMA configured on one compact row
- **Quick Toggles**: Enable/disable any EMA instantly
- **Custom Colors**: Set your preferred bullish/bearish colors
- **Adjustable Width**: 1-4 line thickness for each EMA
- **50% Transparency**: Default semi-transparent design doesn't obstruct price action
## 💡 Trading Applications
### 📈 **Trend Identification**
- **All Green**: Strong uptrend - look for long opportunities
- **All Red**: Strong downtrend - consider short positions
- **Mixed Colors**: Consolidation or trend transition zones
### 🎯 **Support & Resistance**
- EMAs act as dynamic support/resistance levels
- Color changes highlight when key levels are broken
- Multiple timeframes create robust trading zones
### ⚡ **Entry Signals**
- Price breaking through ribbon indicates trend changes
- Color transitions provide early trend reversal warnings
- Use with other indicators for confirmation
## 🔧 Perfect Setup
### **Default Configuration:**
- All 8 EMAs enabled for complete ribbon effect
- Fibonacci periods for optimal market coverage
- Green (bullish) and red (bearish) color scheme
- 50% transparency for clear price visibility
### **Customizable Options:**
- Toggle any EMA on/off
- Adjust periods to match your strategy
- Change colors to suit your chart theme
- Modify line thickness for emphasis
## 🚀 Who It's For
- **Day Traders**: Quick trend identification across timeframes
- **Swing Traders**: Multi-period trend analysis
- **Scalpers**: Fast visual confirmation of trend direction
- **Position Traders**: Long-term trend assessment
## 💎 Why Choose This Ribbon?
- **Visual Clarity**: Instant trend recognition at a glance
- **Professional Design**: Clean, uncluttered interface
- **Proven Math**: Fibonacci-based periods for natural market flow
- **Performance Optimized**: Lightweight code, smooth operation
- **Fully Customizable**: Adapt to any trading style or timeframe
**Transform your charts with intelligent trend visualization. Install now and see the market like never before!**
---
*Compatible with all timeframes and instruments | No repainting | Pine Script v6*
Day of Week Highlighter# 📅 Day of Week Highlighter - Global Market Edition
**Enhanced visual trading tool that highlights each day of the week with customizable colors across all major global financial market timezones.**
## 🌍 Global Market Coverage
This indicator supports **27 major financial market timezones**, including:
- **Asia-Pacific**: Tokyo, Sydney, Hong Kong, Singapore, Shanghai, Seoul, Mumbai, Dubai, Auckland (New Zealand)
- **Europe**: London, Frankfurt, Zurich, Paris, Amsterdam, Moscow, Istanbul
- **Americas**: New York, Chicago, Toronto, São Paulo, Buenos Aires
- **Plus UTC and other key financial centers**
## ✨ Key Features
### 🎨 **Fully Customizable Colors**
- Individual color picker for each day of the week
- Transparent overlays that don't obstruct price action
- Professional color scheme defaults
### 🌐 **Comprehensive Timezone Support**
- 27 major global financial market timezones
- Automatic daylight saving time adjustments
- Perfect for multi-market analysis and global trading
### ⚙️ **Flexible Display Options**
- Toggle individual days on/off
- Optional day name labels with size control
- Clean, professional appearance
### 📊 **Trading Applications**
- **Market Session Analysis**: Identify trading patterns by day of week
- **Multi-Market Coordination**: Track different markets in their local time
- **Pattern Recognition**: Spot day-specific market behaviors
- **Risk Management**: Avoid trading on historically volatile days
## 🔧 How to Use
1. **Add to Chart**: Apply the indicator to any timeframe
2. **Select Timezone**: Choose your preferred market timezone from the dropdown
3. **Customize Colors**: Set unique colors for each day in the settings panel
4. **Enable/Disable Days**: Toggle specific days on or off as needed
5. **Optional Labels**: Show day names with customizable label sizes
## 💡 Pro Tips
- Use different color intensities to highlight your preferred trading days
- Combine with other session indicators for comprehensive market timing
- Perfect for swing traders who want to identify weekly patterns
- Ideal for international traders managing multiple market sessions
## 🎯 Perfect For
- Day traders tracking intraday patterns
- Swing traders analyzing weekly cycles
- International traders managing multiple markets
- Anyone wanting better visual organization of their charts
**Works on all timeframes and instruments. Set it once, trade with confidence!**
---
*Compatible with Pine Script v6 | No repainting | Lightweight performance*
📦 Enhanced Visual Renko Signal Overlay 📈📦 Visual Renko Signal Overlay 📈 Auto Box (1%)
Overview
This innovative indicator simulates Renko-style price action directly on your regular candlestick charts, providing clear buy/sell signals based on significant price movements. Unlike traditional Renko charts, this overlay works seamlessly with any timeframe while maintaining the power of Renko logic.
Key Features
🎯 Automatic Box Sizing
Dynamically calculates box size as 1% of current price
Automatically adjusts to different price ranges and volatility
No manual configuration needed - works on stocks, crypto, forex
📊 Smart Trend Filtering
Uses SMA(40) and EMA(21) for trend confirmation
Only generates signals aligned with the prevailing trend
Reduces false signals in choppy markets
⚡ Clear Entry Signals
BUY: Green label when Renko turns bullish in an uptrend
SELL: Red label when Renko turns bearish in a downtrend
Visual price level indicators for entry, stop loss, and targets
💡 Real-Time Trade Information
Floating info box showing current trade setup
Displays entry price, stop loss (1 box), and target (2 boxes)
Live updates as new signals develop
How It Works
Signal Logic
Renko Simulation: Tracks significant price moves (1% boxes)
Trend Filter: Confirms signals only when price is above/below both moving averages
Entry Trigger: Generates signal when Renko direction changes with trend alignment
Risk Management
Stop Loss: 1 box size (1% of entry price)
Take Profit: 2 box sizes (2% of entry price)
Risk:Reward Ratio: Built-in 1:2 ratio for consistent profitability
Best Practices
Timeframes
Scalping: 1m - 15m charts
Swing Trading: 1H - 4H charts
Position Trading: Daily charts
Market Conditions
Works best in trending markets
Avoid during major news events or low liquidity periods
Consider overall market sentiment
Customization Tips
Adjust box size by modifying the 0.01 value (e.g., 0.005 for 0.5%, 0.02 for 2%)
Experiment with different MA periods for various market conditions
Combine with volume indicators for additional confirmation
What Makes This Different
Unlike standard Renko charts that require separate chart types, this indicator:
Overlays directly on candlestick charts
Maintains time-based analysis capabilities
Provides instant visual feedback
Includes built-in risk management levels
Works across all asset classes and timeframes
Disclaimer
This indicator is for educational purposes only. Always conduct thorough backtesting and risk management before live trading. Past performance does not guarantee future results.
Perfect for traders who want the clarity of Renko analysis with the flexibility of traditional charting.
OTE Premium v2 [SYNC & TRADE]🇬🇧 Description (for TradingView)
OTE Premium v2 is a powerful tool designed to accurately identify Optimal Trade Entry (OTE) zones based on user-defined impulses within custom date ranges. It’s ideal for traders who rely on Fibonacci-based analysis, market structure, and impulse wave mapping.
🔹 Supports up to 5 independent impulses, each with fully customizable settings (date ranges, levels, extensions).
🔹 Displays OTE 70%, OTE 30%, 88% retracement level, and Fibonacci extensions (1.62, 2.00, 2.62, 3.62).
🔹 Visualizes fractals based on user-defined candle count.
🔹 Comes with alerts for OTE zone entries and 88% level crossings.
🔹 OTE zones can auto-disable after specific interactions (customizable behavior).
🔹 Zones can be anchored using either candle bodies or wicks.
This indicator is suitable for both intraday and swing traders, offering high flexibility and precision visualization of key entry and target levels.
🇷🇺 Описание (для TradingView)
OTE Premium v2 — это мощный инструмент, предназначенный для точной идентификации зон оптимального входа (OTE — Optimal Trade Entry) на основе пользовательских импульсов, заданных по диапазонам дат. Индикатор особенно полезен трейдерам, использующим анализ Фибоначчи, структуру рынка и модели импульсов.
🔹 Поддерживает до 5 независимых импульсов, каждый с индивидуальными настройками (даты, уровни, расширения).
🔹 Показывает зоны OTE 70%, OTE 30%, 88% уровень и расширения Фибоначчи (1.62, 2.00, 2.62, 3.62).
🔹 Визуализирует фракталы на основе заданного количества свечей.
🔹 Предусмотрены алерты на вход в зоны OTE и пробой уровня 88%.
🔹 Зоны OTE могут деактивироваться автоматически при касании, в зависимости от настроек.
🔹 Все зоны могут быть построены либо по телам свечей, либо по экстремумам.
Этот индикатор подходит как для интрадей трейдинга, так и для свинг-трейдеров, предоставляя высокую гибкость и точную визуализацию ключевых уровней входа и целей.
BB Hit + Stoch RSI Conditions (15m TF)Create a visual alert everytime the lower bolinger bands is hit while stoch rsi below 15 and everytime upper bolinger bands is hit while stoch rsi above 85.
ATR (14) WatermarkThis lightweight overlay displays the ATR (14) value and its percentage of the current price directly on your chart — along with a visual cue (🔴🟡🟢) to indicate volatility levels.
This tool is perfect for traders who want to quickly assess volatility without crowding the chart with lines or indicators.
🔧 Features:
ATR (14) value and percentage of current price
🔴 High, 🟡 Medium, 🟢 Low volatility indicator
Adjustable vertical & horizontal positioning
Fully configurable text size and color
Clean, unobtrusive table watermark overlay
EMA + RSI + MACD StrategyEMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy EMA + RSI + MACD Strategy
RSI + OBV Divergences (Ambas Confirmadas)* Indicator of overbought and oversold levels.
* Detection of bull and bear divergences through the RSI and OBV (On Balance Volume) indicators
SlopeDirectionLine_TWSlopeDirectionLine_TW
___________________________
Tried to copy a MT4 indicator
Market Sessions Indicator by NomadTradesCustomisable Market session indicator
This indicator visually marks the high and low price levels for the Asia, London, and New York trading sessions directly on the chart, using distinct horizontal lines and color-coding for each session. Each session’s high and low are labelled for easy identification, allowing traders to quickly assess key support and resistance levels established during major global market hours. The indicator is designed for clear session demarcation, helping users identify price reactions at these significant levels and supporting multi-session analysis for intraday and swing trading strategies
X-Day Capital Efficiency ScoreThis indicator helps identify the Most Profitable Movers for Your fixed Capital (ie, which assets offer the best average intraday profit potential for a fixed capital).
Unlike traditional volatility indicators (like ATR or % change), this script calculates how much real dollar profit you could have made each day over a custom lookback period — assuming you deployed your full capital into that ticker daily.
How it works:
Calculates the daily intraday range (high − low)
Filters for clean candles (where body > 60% of the candle range)
Assumes you invested the full amount of capital ($100K set as default) on each valid day
Computes an average daily profit score based on price action over the selected period (default set to 20 days)
Plots the score in dollars — higher = more efficient use of capital
Why It’s Useful:
Compare tickers based on real dollar return potential — not just % volatility
Spot low-priced, high-volatility stocks that are better suited for intraday or momentum trading
Inputs:
Capital ($): Amount you're hypothetically deploying (e.g., 100,000)
Look Back Period: Number of past days to average over (e.g., 20)
Liquidity Rush (VWAP × Avg Daily Vol in Cr)Liquidity Rush SHOWS TRADED VALUE PER DAY.It shows how much rupee volume (turnover) is concentrating around VWAP, giving you a sense of institutional participation, volume weight, or momentum readiness.
Zimpact Custom ColorsZimpact Custom Colors – Buy/Sell Signals with Personalized Styling
Description:
This script is an enhanced version of the Zimpact indicator, designed to deliver clear Buy and Sell signals with the added flexibility of customizable line and background colors. The indicator combines two variants of the Hull Moving Average (HMA and a modified HMA) to detect trend changes and provide visually intuitive trading cues.
Key Features:
Dynamic line coloring: Lines automatically change color depending on trend direction (up/down).
Customizable colors: Users can set their own line colors and background transparency.
Clear Buy/Sell signals: Label markers highlight crossover points for potential entries.
Built-in alerts: Receive alerts when Buy or Sell signals are triggered.
How the Indicator Works:
Two HMAs are calculated: a standard and a modified version.
A Buy signal appears when the modified HMA crosses above the standard HMA.
A Sell signal appears when the modified HMA crosses below the standard HMA.
Line and background colors adapt dynamically to trend direction.
All visual elements can be adjusted via user input settings.
Adjustable Inputs:
Price source (hl2, close, etc.)
Period and shift for HMA calculations
Toggle Buy/Sell labels on or off
Colors for bullish and bearish trends
Background fill transparency (0% to 100%)
Who It's For:
This indicator is ideal for swing and intraday traders seeking a visually simple yet informative tool for trend detection and trade entries.
Note: This is not financial advice. Always use additional tools and perform your own analysis before entering a trade.
High/Low 10–90, 111–999Находит свечи, где HIGH или LOW заканчивается на 10, 20, 30...90 или 111, 222, 333...999
...
Finds candles with HIGH or LOW ends at 10, 20, 30...90 or 111, 222, 333...999
Color StochDestaca cuando supera niveles establecidos, para usar debajo del panel como estocástico aparte.
5, 3, 5.
Muy sensible, para 5 min TF preferiblemente.
Highlights area when it exceeds established levels, to be used below panel, as a normal stochastic.
5, 3, 5.
Very sensitive, for 5 min TF preferably.
Haven Average Daily RangeOverview
This indicator is an enhanced version of the traditional ADR tool that adapts to intraday price movements. Unlike static ADR levels, this indicator dynamically adjusts its range boundaries based on real-time price action while maintaining the original ADR calculation framework.
Key Features
ADR calculation based on multiple periods (5, 10, and 20 days)
ADR levels displayed with automatic style changes upon range reach
Customizable display settings (color, line style)
Price labels for better visualization
The indicator helps traders assess the instrument's volatility, identify potential reversal zones, and plan daily trading targets.
Suitable for all timeframes up to D1 and any trading instrument.
How It Works
Session Start (UTC+0): Calculates ADR based on historical data and sets initial High/Low levels
Dynamic Phase: Monitors price action and adjusts the opposite boundary (ADR Low or High) when new extremes are reached.
When price creates new Day high price above the opening price, the ADR Low level moves upward proportionally.
When price creates new Day low price below the opening price, the ADR High level moves downward proportionally.
Completion Phase: Stops adjustments and highlights breach when price reaches either boundary
Trading Application
Entry and Exit Signals
The ADR boundaries serve as key decision points for trade execution. When price approaches the upper ADR boundary, it often signals a potential selling zone, particularly when confluence exists with other overbought indicators such as RSI divergence or resistance levels. Conversely, price reaching the lower ADR boundary frequently indicates potential buying opportunities, especially when supported by oversold conditions or support confluences.
Trend Continuation Assessment
One of the most valuable applications is gauging the probability of continued directional movement. When the current session's price action has not yet reached either ADR boundary, statistical probability favors trend continuation in the established direction. This information helps traders stay with profitable positions longer rather than exiting prematurely.
Reversal and Consolidation Zones
The visual color change to orange when ADR boundaries are reached provides immediate feedback that the normal daily range has been exhausted. At this point, the probability of trend reversal or sideways consolidation increases significantly. This signal helps traders prepare for potential position adjustments or new counter-trend opportunities.
HOG QQE CandlesHOG QQE Candles
📊 Overview
A lightweight overlay that visually reflects RSI/QQE dynamics through color-coded candles. Designed for traders who want quick insight into momentum shifts — without opening a separate oscillator panel.
⚙️ How It Works
• Calculates smoothed RSI using QQE-style EMA
• Colors candles green for Overbought (OB), red for Oversold (OS)
• Colors candles blue on midline cross up (bullish), orange on cross down (bearish)
• OB/OS levels and midline signals are fully configurable
• Optional toggle for highlighting midline crosses
🎯 Inputs
• RSI Length
• QQE Smoothing
• Overbought / Oversold Levels
• Toggle: Show Midline Cross Highlights
• Toggle: Color OB/OS Candles
✅ Benefits
• No subwindow clutter — signals directly on price
• Clear OB/OS candles help identify exhaustion
• Midline color shifts reveal fresh momentum early
• Makes RSI/QQE readable at a glance
• Works great as a visual enhancer for trend or volume-based systems
📈 Use Cases
• Spot trend exhaustion during strong moves
• Confirm entry/exit with RSI midline cross
• Layer with trend overlays (e.g., EMAs, Supertrend)
• Ideal for minimal or clean chart setups
⚠️ Notes
• Candle color precedence: Midline cross > OB/OS
• Signal strength varies by timeframe and asset
• Best used as a visual companion, not standalone entry trigger