Custom IndicatorThis indicator indicated the 10 EMA and 20 EMA
When Ema 20 Goes Over My 10 Sell When Ema 10 Goes Below 20 Buy
المؤشرات والاستراتيجيات
Engulfing Candle with Streaks and CountIdentifies Engulfing Candles + The Number of Consecutive Signals + Identifies 3rd/4th Consecutive Signals + Keeps Count of Most Recent Number of Signals as Decided by User.
- Have coded in the latest version 6
- This script allows the tracking of engulfing candles over a user defined amount of time (candles).
- The script will signal every engulfing candle and its consecutive corresponding number across the entire chart.
- The Engulfing Count box in the bottom right counts how many bullish and bearish engulfing candles have occurred over the number decided by the user.
- The Engulfing Signal that prints is triggered when an opposite next candle prints and the body is over 100% larger than the previous candle. It does not need to "fully engulf" the previous candle, the coding has an allowance for an "equal to and greater/smaller than" the previous close price. This allows for signals were the open of the engulfing candle can be equal to the close of the previous opposite, however the engulfing still must reach an over 100% sizing of the previous to print a signal.
- Where a piercing candle occurs and the open price is within the body of the previous candle, this will void the equation and no matter how big the candle is, it will not trigger an engulfing signal as I was only looking for true engulfing candles.
- The script keeps count of the same consecutive signals no matter the timeframe.
- It will print the consecutive number above or below the signal (depending if bullish or bearish).
- To assist with trend identification the 3rd consecutive signal will print blue, and the 4th consecutive signal will print yellow (or I prefer to use the term "Gold"). This can help filter out the noise on lower timeframes to assist to see where the momentum is going, or if there are signals going against the trend to try trick traders.
- Back testing I found the 3rd and 4th signals are uncommon on higher timeframes and tend to act as fake-outs before the trend reverses.
- Overall a good tool to add to your trend analysis, either for additional confluence or to assist with reversal identification.
- Colors are set as default, but everything can be changed by the user as I didn't want to limit its possibilities.
*** Please note that this script does not take into any consideration candle wicks. Although it can be used with Heikin Ashi it is somewhat unreliable. This indicator is designed to be used with standard candles only ***
S/R Breakout/Reversal + Volume + Alertsthis strategy take in account 2% stop loss, support resistance break out and reversal
Sentiment Bias Gauge📌 Overview
The Sentiment Bias Gauge (SBG) is a unique overlay-style indicator that visually maps a sentiment value—such as market bullishness or bearishness—onto your price chart. It converts sentiment data (in this case, RSI-based) into a floating line that moves between defined price zones, allowing users to quickly understand the current market mood in the context of price.
⚙️ How It Works
• The indicator uses RSI (Relative Strength Index) as a proxy for market sentiment (0 to 100 scale).
• This sentiment value is then mapped to a vertical price range on your chart using a configurable zone (via top and bottom percent of chart range).
• The line floats up or down within the price chart, reflecting how bullish or bearish the sentiment is.
• It includes background shading to represent the sentiment level:
• 🔴 Red (Bearish): sentiment < 30
• 🟡 Yellow (Neutral): 30 ≤ sentiment ≤ 70
• 🟢 Green (Bullish): sentiment > 70
• A floating label shows the current sentiment score.
🌟 Key Features
• 📈 Overlay-Based Sentiment Line: Plots sentiment as a price-level line, giving intuitive spatial reference.
• 🔧 Configurable Range Placement: Adjust where the sentiment line appears within the chart’s high-low range.
• 🖌️ Color-Coded Background: Visually distinguish bullish, bearish, and neutral conditions.
• 🏷️ Real-Time Sentiment Label: Displays updated sentiment score on the most recent bar.
🧠 How to Use
• Use this indicator alongside your price action or technical strategy to gauge market mood.
• Combine with other sentiment indicators (e.g., fear/greed, delta volume, news sentiment).
• Especially helpful in sideways markets to identify potential shifts in bias before price reacts.
Why This Combination?
• RSI offers a reliable and intuitive proxy for market sentiment.
• Mapping the value directly onto the chart helps avoid constantly looking at a separate panel.
• The customizable chart range lets traders fit sentiment visuals within any market structure.
🎯 Why It’s Worth Using
• Makes sentiment visually accessible directly on the chart.
• Helps detect bullish/bearish bias shifts earlier than traditional indicators.
• A great tool for sentiment-aware discretionary trading or contextual overlays in algo strategies.
Bubbles Volume Delta V2English Version
Introduction
Bubbles Volume Delta V2 is an advanced volume analysis indicator for TradingView that visualizes trading volume as bubbles on your chart. It combines volume visualization with delta analysis, support/resistance detection, and VWAP (Volume-Weighted Average Price) to provide comprehensive volume insights for more informed trading decisions.
Key Features
Volume Bubbles: Displays volume as differently sized bubbles at price levels
Up/Down Volume Analysis: Analyzes buying vs selling pressure using lower timeframe data
Delta Divergence Detection: Identifies when price direction contradicts volume delta
Support/Resistance Levels: Automatically detects potential support/resistance based on volume imbalance
VWAP Integration: Displays VWAP with customizable anchoring and deviation bands
Setup Instructions
Add the indicator to your chart from the Indicators & Strategies menu
Adjust settings in the various sections according to your preferences
Verify that your chart has volume data available (some symbols may not provide volume)
Settings Guide
Bubbles Volume Settings
Show Bubbles: Toggle bubble visualization on/off
Threshold: Minimum normalized volume to display bubbles (lower = more bubbles)
Bubble Color: Default color for volume bubbles
Volume Label Size: Size of text labels showing volume information
Label Display Options: Control which bubble sizes display text labels
Delta Divergence Settings
Show Delta Divergence: Toggle divergence detection on/off
Delta Significance (%): Minimum percentage for significant delta
Bullish/Bearish Signal: Colors for divergence signals
Dynamic Triangle Size: Scale triangle size based on divergence magnitude
Divergence Thresholds: Configure levels for weak, moderate, and strong divergence signals
Support/Resistance Settings
Show Support/Resistance Levels: Toggle display of S/R levels
Imbalance Threshold: Required imbalance ratio for level detection
Max Levels to Display: Limit the number of lines shown
Extend Lines to Right: Continue lines to the right edge of the chart
Support/Resistance Colors and Styles: Visual appearance customization
Up/Down Volume Settings
Use Custom Timeframe: Override automatic timeframe selection
Show Up/Down Info: Display buying/selling volume breakdown on bubbles
Color Bubbles by Direction: Use green/red based on delta direction
VWAP Settings
Show VWAP: Toggle VWAP line display
VWAP Anchor: Choose when VWAP calculations reset (Session/Week/Month/Year)
Show VWAP Bands: Display standard deviation bands around VWAP
Bands Multiplier: Adjust the width of deviation bands
Number of Bands: How many deviation bands to display (1-4)
Line Style Settings: Customize colors, widths, and styles
How to Interpret the Indicator
Volume Bubbles
Size: Larger bubbles indicate higher relative volume
Color: Green indicates buying pressure, red indicates selling pressure
Labels: Show precise volume figures and up/down breakdown
Divergence Signals
▲ (Blue Triangle): Bullish divergence - price moving down but buying pressure detected
▼ (Red Triangle): Bearish divergence - price moving up but selling pressure detected
Triangle Size: Larger triangles indicate stronger divergence
Support/Resistance Lines
Green Lines: Support levels with buying pressure
Red Lines: Resistance levels with selling pressure
Percentage Labels: Show the imbalance ratio strength
VWAP
Main Line: Average price weighted by volume
Bands: Standard deviation ranges showing potential support/resistance zones
Best Practices
Use on liquid markets with reliable volume data
Combine with price action analysis for confirmation
Adjust thresholds based on the specific market's volatility
Use lower timeframes for short-term trading and higher timeframes for swing trading
Pay attention to divergences at key price levels
Troubleshooting
No Volume Data: Ensure your selected symbol provides volume information
Missing Up/Down Volume: Some exchanges or symbols may not provide lower timeframe data
Performance Issues: Reduce the number of displayed levels or use larger timeframes
中文版本
介绍
Bubbles Volume Delta V2 是一个高级交易量分析指标,用于 TradingView 平台,将交易量以气泡形式直观显示在图表上。它结合了交易量可视化、Delta分析、支撑/阻力检测和 VWAP(成交量加权平均价格),为您提供全面的交易量洞察,帮助做出更明智的交易决策。
主要功能
交易量气泡:在价格水平上显示不同大小的交易量气泡
上涨/下跌交易量分析:使用低时间周期数据分析买卖压力
Delta 背离检测:识别价格方向与交易量 Delta 相矛盾的情况
支撑/阻力水平:根据交易量不平衡自动检测潜在支撑/阻力位
VWAP 集成:显示可自定义锚点和偏差带的 VWAP
设置指南
从指标与策略菜单将指标添加到您的图表
根据您的偏好调整各部分设置
确认您的图表有可用的交易量数据(某些交易品种可能不提供交易量)
设置指南
交易量气泡设置
显示气泡:开启/关闭气泡可视化
阈值:显示气泡的最小归一化交易量(越低 = 越多气泡)
气泡颜色:交易量气泡的默认颜色
交易量标签大小:显示交易量信息的文本标签大小
标签显示选项:控制哪些气泡大小显示文本标签
Delta 背离设置
显示 Delta 背离:开启/关闭背离检测
Delta 显著性 (%):显著 Delta 的最小百分比
看涨/看跌信号:背离信号的颜色
动态三角形大小:根据背离幅度调整三角形大小
背离阈值:配置弱、中等和强背离信号的水平
支撑/阻力设置
显示支撑/阻力水平:开启/关闭支撑/阻力水平显示
不平衡阈值:水平检测所需的不平衡比率
最大显示水平数:限制显示的线条数量
向右延伸线条:线条延伸至图表右侧边缘
支撑/阻力颜色和样式:视觉外观自定义
上涨/下跌交易量设置
使用自定义时间周期:覆盖自动时间周期选择
显示上涨/下跌信息:在气泡上显示买卖交易量细分
按方向着色气泡:根据 Delta 方向使用绿色/红色
VWAP 设置
显示 VWAP:开启/关闭 VWAP 线显示
VWAP 锚点:选择 VWAP 计算何时重置(盘中/周/月/年)
显示 VWAP 带:显示 VWAP 周围的标准偏差带
带乘数:调整偏差带的宽度
带数量:显示多少条偏差带(1-4)
线条样式设置:自定义颜色、宽度和样式
如何解读指标
交易量气泡
大小:更大的气泡表示更高的相对交易量
颜色:绿色表示买入压力,红色表示卖出压力
标签:显示精确的交易量数字和上涨/下跌细分
背离信号
▲(蓝色三角形):看涨背离 - 价格下移但检测到买入压力
▼(红色三角形):看跌背离 - 价格上移但检测到卖出压力
三角形大小:更大的三角形表示更强的背离
支撑/阻力线
绿线:有买入压力的支撑位
红线:有卖出压力的阻力位
百分比标签:显示不平衡比率强度
VWAP
主线:按交易量加权的平均价格
带:显示潜在支撑/阻力区域的标准偏差范围
最佳实践
在具有可靠交易量数据的流动性市场上使用
结合价格动作分析进行确认
根据特定市场的波动性调整阈值
短期交易使用低时间周期,摇摆交易使用高时间周期
注意关键价格水平的背离
故障排除
无交易量数据:确保您选择的交易品种提供交易量信息
缺少上涨/下跌交易量:某些交易所或交易品种可能不提供低时间周期数据
性能问题:减少显示的水平数量或使用更大的时间周期
S/R Breakout/Reversal + Volume with 2% SLstrategy with 2% stop loss, and suort resistance breakout reversal
position_toolLibrary "position_tool"
Trying to turn TradingView's position tool into a library from which you can draw position tools for your strategies on the chart. Not sure if this is going to work
calcBaseUnit()
Calculates the chart symbol's base unit of change in asset prices.
Returns: (float) A ticks or pips value of base units of change.
calcOrderPipsOrTicks(orderSize, unit)
Converts the `orderSize` to ticks.
Parameters:
orderSize (float) : (series float) The order size to convert to ticks.
unit (simple float) : (simple float) The basic units of change in asset prices.
Returns: (int) A tick value based on a given order size.
calcProfitLossSize(price, entryPrice, isLongPosition)
Calculates a difference between a `price` and the `entryPrice` in absolute terms.
Parameters:
price (float) : (series float) The price to calculate the difference from.
entryPrice (float) : (series float) The price of entry for the position.
isLongPosition (bool)
Returns: (float) The absolute price displacement of a price from an entry price.
calcRiskRewardRatio(profitSize, lossSize)
Calculates a risk to reward ratio given the size of profit and loss.
Parameters:
profitSize (float) : (series float) The size of the profit in absolute terms.
lossSize (float) : (series float) The size of the loss in absolute terms.
Returns: (float) The ratio between the `profitSize` to the `lossSize`
createPosition(entryPrice, entryTime, tpPrice, slPrice, entryColor, tpColor, slColor, textColor, showExtendRight)
Main function to create a position visualization with entry, TP, and SL
Parameters:
entryPrice (float) : (float) The entry price of the position
entryTime (int) : (int) The entry time of the position in bar_time format
tpPrice (float) : (float) The take profit price
slPrice (float) : (float) The stop loss price
entryColor (color) : (color) Color for entry line
tpColor (color) : (color) Color for take profit zone
slColor (color) : (color) Color for stop loss zone
textColor (color) : (color) Color for text labels
showExtendRight (bool) : (bool) Whether to extend lines to the right
Returns: (bool) Returns true when position is closed
Smart Multi-Signal System PROThis custom TradingView indicator is designed to improve trade accuracy by combining multiple strong signals:
1. 200 EMA – Filters trades by trend (only buys above EMA, sells below).
2. RSI (14) – Spots overbought/oversold momentum for reversal opportunities.
3. Volume Spike – Confirms strong interest by checking if volume is 1.5× above average.
4. Impulse Candle – Looks for strong price moves (body > 1.5% of price).
When all these conditions align, it plots a BUY or SELL label directly on the chart.
Macro Liquidity Index & Canadian OverlayTradingView Pine Script strategy-style indicator that synthesizes the macro signals (e.g. DXY trend, real yields, oil prices, ISM trend, and financial conditions) into a visual macro sentiment index ranging from -5 (max bearish) to +5 (max bullish). It also includes a “Canadian Exposure Overlay” that adjusts the macro score based on Canada’s specific economic positioning (e.g., oil exporter, rate-sensitive sectors, CAD/USD trend).
Smart Multi-Signal Indicator1. 200 EMA – Filters trades by trend (only buys above EMA, sells below).
2. RSI (14) – Spots overbought/oversold momentum for reversal opportunities.
3. Volume Spike – Confirms strong interest by checking if volume is 1.5× above average.
4. Impulse Candle – Looks for strong price moves (body > 1.5% of price).
When all these conditions align, it plots a BUY or SELL label directly on the chart.
Dr. Ravi Strategy - Full ComboThis Pine Script indicator identifies demand and supply zones based on price action:
It detects bullish or bearish impulsive candles using a user-defined body percentage threshold.
Then it looks back a few candles to identify a “base”—a consolidation area with small candle bodies (checked via math.abs()).
If the setup is valid, it draws a green zone below for demand (after a bullish impulse) or a red zone above for supply (after a bearish impulse).
These zones can help traders anticipate potential reversal or breakout areas.
MACD Bullish Crossover (WORKING)📘 Indicator Description – MACD Bullish Cross Alert
This indicator is designed to detect bullish momentum shifts using the classic MACD (Moving Average Convergence Divergence) crossover strategy.
Key Features:
Calculates the MACD Line and Signal Line using customizable inputs (default: 12, 26, 9).
Triggers an alert when the MACD Line (blue) crosses above the Signal Line (orange).
Helps identify early bullish trend reversals or momentum entry points.
Ideal for swing traders, position traders, and crypto investors using the weekly timeframe.
How to Use:
Add to any chart and set the timeframe to 1W (weekly).
Create an alert using the built-in MACD Bullish Crossover condition.
Combine with price action, volume, or RSI for higher conviction entries.
Use Cases:
Spotting early entry points after long downtrends.
Confirming a trend reversal in high timeframes.
Generating high-probability entries in trend-following systems.
MACD Bullish Cross Alert📘 Indicator Description – MACD Bullish Cross Alert
This indicator is designed to detect bullish momentum shifts using the classic MACD (Moving Average Convergence Divergence) crossover strategy.
Key Features:
Calculates the MACD Line and Signal Line using customizable inputs (default: 12, 26, 9).
Triggers an alert when the MACD Line (blue) crosses above the Signal Line (orange).
Helps identify early bullish trend reversals or momentum entry points.
Ideal for swing traders, position traders, and crypto investors using the weekly timeframe.
How to Use:
Add to any chart and set the timeframe to 1W (weekly).
Create an alert using the built-in MACD Bullish Crossover condition.
Combine with price action, volume, or RSI for higher conviction entries.
Use Cases:
Spotting early entry points after long downtrends.
Confirming a trend reversal in high timeframes.
Generating high-probability entries in trend-following systems.
10 Hour Heikin AshiBelow is a Pine Script (version 6) indicator that creates 10-hour Heikin Ashi candles. Heikin Ashi candles smooth out price data to help identify trends by using modified formulas for open, high, low, and close prices. We’ll use a higher timeframe aggregation approach to calculate the Heikin Ashi values based on 10-hour periods.
FVG Overlap Zone (4H ∩ Daily) with Touch Hammerhis script is designed to help smart money / ICT-style traders identify high-probability trade zones formed by the overlap of 4-hour and Daily Fair Value Gaps (FVGs).
It then alerts the trader when price touches these overlap zones, showing a 🔨 hammer icon to visually mark them for live trades or backtesting.
The Hebrew CalendarThis indicator displays the current Hebrew (Jewish) calendar date based on the real-time Gregorian calendar. Features included:
Calculates and displays the current Hebrew day, month, and year.
Recognizes leap years and adjusts month counts accordingly.
Aligns with traditional Hebrew month names (Tishrei, Cheshvan, Kislev, etc.).
The calculations align with the Hebrew Calendar Converter from:
👉 www.chabad.org
The results are shown in a table overlay on your chart's top-right corner. This indicator is great for symbolic traders, astro enthusiasts, or anyone interested in ancient timekeeping systems woven into financial timeframes. Enjoy, time travelers! ⌛
The Mayan CalendarThis indicator displays the current date in the Mayan Calendar, based on real-time UTC time. It calculates and presents:
🌀 Long Count (Baktun.Katun.Tun.Uinal.Kin) – A linear count of days since the Mayan epoch (August 11, 3114 BCE).
🔮 Tzolk'in Date – A 260-day sacred cycle combining a number (1–13) and one of 20 day names (e.g., 4 Ajaw).
🌾 Haab' Date – A 365-day civil cycle divided into 18 months of 20 days + 5 "nameless" days (Wayeb').
The calculations follow Smithsonian standards and align with the Maya Calendar Converter from the National Museum of the American Indian:
👉 maya.nmai.si.edu
The results are shown in a table overlay on your chart's top-right corner. This indicator is great for symbolic traders, astro enthusiasts, or anyone interested in ancient timekeeping systems woven into financial timeframes. Enjoy, time travelers! ⌛
Horizontal Price TableOverview:
This script displays a dynamic price table on your chart, showing real-time prices and daily percentage changes for up to 7 user-defined tickers. You can customize both which tickers are shown and how many are visible, all through the settings panel.
How it works (Step-by-Step):
User-Defined Tickers:
The script provides input fields for up to 7 tickers using input.symbol(). You can track stocks, indexes, ETFs, crypto, or futures — anything supported by TradingView.
Choose How Many to Display:
An additional dropdown lets you choose how many of the 7 tickers to actually display (between 1 and 7). This gives you control over screen space and focus.
Market Data Fetching:
For each displayed ticker, the script fetches:
The current day’s closing price (close)
The previous day’s closing price (close )
This data is pulled using request.security() on the daily timeframe (1D).
% Change Calculation:
The script calculates the daily percentage change using:
(Current Price−Previous Close)/Previous Close×100(Current Price−Previous Close)/Previous Close×100
Cleaned Ticker Names:
Ticker symbols often include an exchange prefix like NASDAQ:AAPL. The script automatically removes anything before the colon (:), so only the clean symbol (e.g., AAPL) is shown in the table.
Table Display:
A visual table appears at the top-center of your chart, showing:
Row 1: Ticker symbol (cleaned)
Row 2: Current price (rounded to 2 decimals)
Row 3: Daily % change (green for gains, red for losses)
Customization:
You can choose the background color of the table.
Ticker names appear in white text with a gray background.
% change is color-coded: green for positive, red for negative.
Why Use This Script?
Track multiple tickers at once without leaving your chart.
Clean, customizable layout.
Useful for monitoring watchlists, portfolios, or related markets.
Tips:
Combine this with your favorite indicators for a personalized dashboard.
Works great on any chart or timeframe.
Ensure the tickers entered are valid on TradingView (e.g., SPY, BTCUSD, NQ1!, etc.).
MG Thrust Indicator🚀 Explanation 🚀
The MG thrust indicator uses thrust momentum in price with some smoothing to detect uptrend and downtrend shifts.
✨ Key Features ✨
🗡smoothing_length (default: 37): length for smoothing price and thrust values (EMA or SMA).
🗡thrust_threshold (default: 1.5): multiples of ATR to identify significant thrusts.
🗡use_ema (default: true): toggle between EMA (faster response) and SMA (smoother) for smoothing.
🗡lookback_atr (default: 14): lookback period for ATR to normalize thrust.
📈 Thrust Calculation 📈
Thrust = (close - smoothed_price) / atr: measures how far the current price deviates from the smoothed price, normalized by ATR to account for volatility.
Background Highlights: colors the background faintly green/red for bullish/bearish thrusts.
❓ Seeing a bug or an issue ❓
Feel free to DM me if you see a component that seems badly calculated.
I will be happy to fix it.
❗❗ Disclaimer ❗❗
This is a single indicator, even though it's aggregating many, do not use it as a standalone.
Past performance is not indicative of future results.
Always backtest, check, and align parameters before live trading.
Pro Overbought/Oversold IndicatorThis indicator provides:
Visual signals when the market is overbought or oversold.
Customizable thresholds.
Clear plots and background coloring for easier chart reading.
📌 Features:
Uses dual confirmation from both RSI and Stochastic to improve signal quality.
Alerts can be set when the market enters OB/OS zones.
Customizable lengths and levels for flexibility.
Background shading helps visually identify critical zones.
QQE SHARPE MAX BOT v2 - Reversals + Trailing + VolumenThe **“QQE SHARPE MAX BOT v2”** strategy is based on detecting momentum shifts using the QQE Mod indicator, combined with a trend filter based on EMA and Heikin Ashi, as well as a volume filter that requires volume to be above its moving average to validate entries. It operates in both directions (long and short) with automatic reversals and manages risk through dynamic trailing stops based on ATR, allowing it to maximize profits during strong trends and avoid trading in low-interest market zones.