60 MA & MACD 0 동시교차 (볼륨 캔들 대응)This script was created to visualize Dr. Choonman Cho’s trading method as an indicator.
I would like to express my sincere gratitude to Dr. Choonman Cho.
When the 60 MA and the MACD 0 line cross simultaneously, a major breakout often occurs.
Dr. Cho has identified this moment as the most optimal timing for both buying and selling.
This will be especially helpful for those who are focused on precise entry and exit points.
This script is open source.
If the Korean comments are inconvenient, feel free to edit them in your preferred language within the Pine Script editor.
Indicators and strategies
Jansson Swing EMA 8EMA 8 is the Trend. It is green when up and red when down. Three green lines mark +1%, +2,5% and + 4%. There are also three opposit red lines.
Institutional Bias HTF EmasIt lets you see bias using EMAs from various timeframes. Ideal for free accounts.
Nef33-Volume Footprint ApproximationDescription of the "Volume Footprint Approximation" Indicator
Purpose
The "Volume Footprint Approximation" indicator is a tool designed to assist traders in analyzing market volume dynamics and anticipating potential trend changes in price. It is inspired by the concept of a volume footprint chart, which visualizes the distribution of trading volume across different price levels. However, since TradingView does not provide detailed intrabar data for all users, this indicator approximates the behavior of a footprint chart by using available volume and price data (open, close, volume) to classify volume as buy or sell, calculate volume delta, detect imbalances, and generate trend change signals.
The indicator is particularly useful for identifying areas of high buying or selling activity, imbalances between supply and demand, delta divergences, and potential reversal points in the market. It provides specific signals for bullish and bearish trend changes, making it suitable for traders looking to trade reversals or confirm trends.
How It Works
The indicator uses volume and price data from each candlestick to perform the following calculations:
Volume Classification:
Classifies the volume of each candlestick as "buy" or "sell" based on price movement:
If the closing price is higher than the opening price (close > open), the volume is classified as "buy."
If the closing price is lower than the opening price (close < open), the volume is classified as "sell."
If the closing price equals the opening price (close == open), it compares with the previous close to determine the direction:
If the current close is higher than the previous close, it is classified as "buy."
If the current close is lower than the previous close, it is classified as "sell."
If the current close equals the previous close, the classification from the previous bar is used.
Delta Calculation:
Calculates the volume delta as the difference between buy volume and sell volume (buyVolume - sellVolume).
A positive delta indicates more buy volume; a negative delta indicates more sell volume.
Imbalance Detection:
Identifies imbalances between buy and sell volume:
A buy imbalance occurs when buy volume exceeds sell volume by a defined percentage (default is 300%).
A sell imbalance occurs when sell volume exceeds buy volume by the same percentage.
Delta Divergence Detection:
Positive Delta Divergence: Occurs when the price is falling (for at least 2 bars) but the delta is increasing or becomes positive, indicating that buyers are entering despite the price decline.
Negative Delta Divergence: Occurs when the price is rising (for at least 2 bars) but the delta is decreasing or becomes negative, indicating that sellers are entering despite the price increase.
Trend Change Signals:
Bullish Signal (trendChangeBullish): Generated when the following conditions are met:
There is a positive delta divergence.
The delta has moved from a negative value (e.g., -500) to a positive value (e.g., +200) over the last 3 bars.
There is a buy imbalance.
The price is near a historical support level (approximated as the lowest low of the last 50 bars).
Bearish Signal (trendChangeBearish): Generated when the following conditions are met:
There is a negative delta divergence.
The delta has moved from a positive value (e.g., +500) to a negative value (e.g., -200) over the last 3 bars.
There is a sell imbalance.
The price is near a historical resistance level (approximated as the highest high of the last 50 bars).
Visual Elements
The indicator is displayed in a separate panel below the price chart (overlay=false) and includes the following elements:
Volume Histograms:
Buy Volume: Represented by a green histogram. Shows the volume classified as "buy."
Sell Volume: Represented by a red histogram. Shows the volume classified as "sell."
Note: The histograms overlap, and the last plotted histogram (red) takes visual precedence, meaning the sell volume may cover the buy volume if it is larger.
Delta Line:
Delta Volume: Represented by a blue line. Shows the difference between buy and sell volume.
A line above zero indicates more buy volume; a line below zero indicates more sell volume.
A dashed gray horizontal line marks the zero level for easier interpretation.
Imbalance Backgrounds:
Buy Imbalance: Light green background when buy volume exceeds sell volume by the defined percentage.
Sell Imbalance: Light red background when sell volume exceeds buy volume by the defined percentage.
Divergence Backgrounds:
Positive Delta Divergence: Lime green background when a positive delta divergence is detected.
Negative Delta Divergence: Fuchsia background when a negative delta divergence is detected.
Trend Change Signals:
Bullish Signal: Green label with the text "Bullish Trend Change" when the conditions for a bullish trend change are met.
Bearish Signal: Red label with the text "Bearish Trend Change" when the conditions for a bearish trend change are met.
Information Labels:
Below each bar, a label displays:
Total Vol: The total volume of the bar.
Delta: The delta volume value.
Alerts
The indicator generates the following alerts:
Positive Delta Divergence: "Positive Delta Divergence Detected! Price is falling, but delta is increasing."
Negative Delta Divergence: "Negative Delta Divergence Detected! Price is rising, but delta is decreasing."
Bullish Trend Change Signal: "Bullish Trend Change Signal! Positive Delta Divergence, Delta Rise, Buy Imbalance, and Near Support."
Bearish Trend Change Signal: "Bearish Trend Change Signal! Negative Delta Divergence, Delta Drop, Sell Imbalance, and Near Resistance."
These alerts can be configured in TradingView to receive real-time notifications.
Adjustable Parameters
The indicator allows customization of the following parameters:
Imbalance Threshold (%): The percentage required to detect an imbalance between buy and sell volume (default is 300%).
Lookback Period for Divergence: Number of bars to look back for detecting price and delta trends (default is 2 bars).
Support/Resistance Lookback Period: Number of bars to look back for identifying historical support and resistance levels (default is 50 bars).
Delta High Threshold (Bearish): Minimum delta value 2 bars ago for the bearish signal (default is +500).
Delta Low Threshold (Bearish): Maximum delta value in the current bar for the bearish signal (default is -200).
Delta Low Threshold (Bullish): Maximum delta value 2 bars ago for the bullish signal (default is -500).
Delta High Threshold (Bullish): Minimum delta value in the current bar for the bullish signal (default is +200).
Practical Use
The indicator is useful for the following purposes:
Identifying Trend Changes:
The trend change signals (trendChangeBullish and trendChangeBearish) indicate potential price reversals. For example, a bullish signal near a support level may be an opportunity to enter a long position.
Detecting Divergences:
Delta divergences (positive and negative) can anticipate trend changes by showing a disagreement between price movement and underlying buying/selling pressure.
Finding Key Levels:
Imbalances (green and red backgrounds) often coincide with support and resistance levels, helping to identify areas where the market might react.
Confirming Trends:
A consistently positive delta in an uptrend or a negative delta in a downtrend can confirm the strength of the trend.
Identifying Failed Auctions:
Although not detected automatically, you can manually identify failed auctions by observing a price move to new highs/lows with decreasing volume in the direction of the move.
Limitations
Intrabar Data: It does not use detailed intrabar data, making it less precise than a native footprint chart.
Approximations: Volume classification and support/resistance detection are approximations, which may lead to false signals.
Volume Dependency: It requires reliable volume data, so it may be less effective on assets with inaccurate volume data (e.g., some forex pairs).
False Signals: Divergences and imbalances do not always indicate a trend change, especially in strongly trending markets.
Recommendations
Combine with Other Indicators: Use tools like RSI, MACD, support/resistance levels, or candlestick patterns to confirm signals.
Trade on Higher Timeframes: Signals are more reliable on higher timeframes like 1-hour or 4-hour charts.
Perform Backtesting: Evaluate the indicator's accuracy on historical data to adjust parameters and improve effectiveness.
Adjust Parameters: Modify thresholds (e.g., imbalanceThreshold or supportResistanceLookback) based on the asset and timeframe you are trading.
Conclusion
The "Volume Footprint Approximation" indicator is a powerful tool for analyzing volume dynamics and anticipating price trend changes. By classifying volume, calculating delta, detecting imbalances and divergences, and generating trend change signals, it provides traders with valuable insights into market buying and selling pressure. While it has limitations due to the lack of intrabar data, it can be highly effective when used in combination with other technical analysis tools and on assets with reliable volume data.
High / Low (Patron 3 Velas)👌 Creator By Sebastian Garcia . Strategy Obtained By Trader Jose Bartolome .
Use only in UTC-4 Works Only For Trader Jose's Strategy.
30-Minute Candle Breakout with Fibonacci and Stop Loss a code that just indicates a 30-minute candle.
broken after 15 minutes, if these criteria are present in the candle, choose the candle's top with a line in 30 minutes and its bottom with a line.
Nasan Ultimate Health Index (NUHI)The Nasan Ultimate Health Index (NUHI) is a technical indicator designed to measure the relative health of a stock compared to a benchmark index or sector. By incorporating price action, volume dynamics, and volatility, NUHI provides traders with a clearer picture of a stock’s performance relative to the broader market.
The NUHI is based on the idea that a stock’s relative strength and momentum can be assessed more effectively when adjusted for volume behavior and benchmark comparison. Instead of looking at price movement alone, this indicator factors in:
The stock’s price trend (via EMA)
Volume participation (green vs. red volume) and volume ratio - SMA(volume, 21)/ SMA(volume, 252)
Volatility-adjusted performance (ATR-based scaling)
Comparison with a selected benchmark (e.g., SPX, NDX, sector ETFs)
This results in a normalized and comparative score that helps traders identify outperforming, neutral, and underperforming stocks within a specific market environment.
The NUHI is constructed using the following elements:
1️⃣ Stock Raw Score (Unadjusted Momentum)
The exponential moving average (EMA) of the hlc3 (average of high, low, close) is used to define the price trend.
The difference between the current EMA and the EMA from n bars ago shows whether the stock is gaining or losing momentum.
This difference is divided by the ATR (Average True Range) to adjust for volatility.
2️⃣ Volume Behavior Adjustment
Volume is split into green volume (up candles) and red volume (down candles).
The ratio of green to red volume determines whether buyers or sellers dominate over the selected period (n bars).
If the stock is in an uptrend, green volume is weighted higher; if in a downtrend, red volume is weighted higher.
The stock’s Volume Ratio (short-term SMA divided by long-term SMA) is adjusted based on this weight.
3️⃣ Benchmark Comparison
A similar Raw Score calculation is performed on the selected benchmark (SPX, NDX, or sector ETF).
Benchmark price movements, volume behavior, and ATR adjustments mirror the stock’s calculations.
This provides a reference point for evaluating the stock’s relative strength.
4️⃣ Normalization Process
Both the stock and benchmark raw scores are min-max normalized over the past 252 bars (1-year lookback).
This scales values between 0 and 1, ensuring fair comparisons regardless of absolute price differences.
5️⃣ NUHI Calculation
The final NUHI value is computed using a logarithmic ratio between the normalized stock score and the normalized benchmark score:
This transformation ensures a more symmetrical representation of overperformance and underperformance.
Performance Zones
Strong Outperforming (NUHI between >0.41 and 0.69)
Leading (NUHI between >0.10 and 0.41)
Transitioning Outperformance (NUHI between 0.10 and 0)
Equilibrium (NUHI 0)
Transitioning Underperformance (NUHI between -0.10 and 0)
Lagging (NUHI between < -0.1 and -0.41)
Strong Underperforming (NUHI between< -0.41 and -0.69 )
How to Use NUHI
✅ Identifying Strong Stocks
If NUHI > 0, the stock is outperforming its benchmark.
If NUHI < 0, the stock is underperforming the benchmark.
✅ Trend Confirmation
A steadily rising NUHI and raw score (colored green) suggests sustained strength bullish conditions.
A falling NUHI and raw score (colored orange) indicates weakness and possible rotation into other assets.
✅ Finding Reversals
Bullish Divergence: If NUHI is improving while the stock’s raw score is negative, it may signal a bottoming opportunity.
Bearish Signs: If NUHI is dropping despite price strength, it could hint at underlying weakness.
Why a Stock in a Downtrend Can Have NUHI > 0 (and Vice Versa )
NUHI measures performance relative to both its own history and the benchmark.
A stock’s recent movement is compared to how it usually behaves and how the benchmark is performing.
Example Scenarios:
Stock in a Downtrend but NUHI > 0
The stock may still be in a downtrend (negative raw score), but it’s performing better relative to its past downtrend behavior and better than the benchmark over the same period.
This could mean it’s showing relative strength compared to the broader market or sector.
Stock in an Uptrend but NUHI < 0
Even in a uptrend (positive raw score), the stock might be underperforming relative to its past uptrend behavior and underperforming the benchmark.
What This Means:
NUHI > 0 in a downtrend → The stock is falling less aggressively than usual and/or holding up better than the benchmark.
NUHI < 0 in an uptrend → The stock is gaining less than expected based on its history and/or lagging behind the benchmark.
NUHI helps identify relative strength or weakness .
<50% Body CandleThis TradingView indicator highlights candlesticks where the body is less than 50% of the total range (high-low) by placing a small white dot at the center of the candle body.
Features:
✅ Identifies low-body candles (common in indecision or reversal points)
✅ Customizable body threshold (default: 50%)
✅ Stable dot placement for consistent visualization
✅ Lightweight & non-intrusive
Usage:
Helps spot Doji or weak momentum candles.
Useful for trend reversals & consolidation detection.
Works seamlessly on any timeframe & market.
🚀 Try it out and enhance your candlestick analysis!
Forexsom MA Crossover SignalsA Trend-Following Trading Indicator for TradingView
Overview
This indicator plots two moving averages (MA) on your chart and generates visual signals when they cross, helping traders identify potential trend reversals. It is designed to be simple yet effective for both beginners and experienced traders.
Key Features
✅ Dual Moving Averages – Plots a Fast MA (default: 9-period) and a Slow MA (default: 21-period)
✅ Customizable MA Types – Choose between EMA (Exponential Moving Average) or SMA (Simple Moving Average)
✅ Clear Buy/Sell Signals – Displays "BUY" (green label) when the Fast MA crosses above the Slow MA and "SELL" (red label) when it crosses below
✅ Alerts – Get notified when new signals appear (compatible with TradingView alerts)
✅ Clean Visuals – Easy-to-read moving averages with adjustable colors
How It Works
Bullish Signal (BUY) → Fast MA crosses above Slow MA (suggests uptrend)
Bearish Signal (SELL) → Fast MA crosses below Slow MA (suggests downtrend)
Best Used For
✔ Trend-following strategies (swing trading, day trading)
✔ Confirming trend reversals
✔ Filtering trade entries in combination with other indicators
Customization Options
Adjust Fast & Slow MA lengths
Switch between EMA or SMA for smoother or more responsive signals
Why Use This Indicator?
Simple & Effective – No clutter, just clear signals
Works on All Timeframes – From scalping (1M, 5M) to long-term trading (4H, Daily)
Alerts for Real-Time Trading – Never miss a signal
SMC + SMT DivergenceMost code taken from LuxAlgo
The SMC & SMT Divergences indicator is a powerful tool designed for traders utilizing Smart Money Concepts (SMC) and ICT (Inner Circle Trader) methodologies. It identifies key market structure shifts such as Break of Structure (BOS) and Change of Character (CHoCH), helping traders spot trend reversals and continuations. The indicator also highlights order blocks (OBs), fair value gaps (FVGs), and liquidity zones like equal highs and lows, which are critical areas for institutional trading activity. Additionally, it incorporates SMT (Smart Money Tool) divergences, allowing traders to detect intermarket discrepancies between correlated assets, further refining trade entries and exits. With its ability to visualize institutional footprints and key price levels, this indicator is an essential tool for traders seeking to align their strategies with smart money movements.
Custom 6H Candle HighlightHighlights a certain 6H candle on the chart. Input which 6H Candle in the settings for the indicator.
Trend Breakout IndicatorCombines the RSI and MACD to form buy and entry signals. RSI levels can be modified, but start at 25 for oversold and 70 for overbought as I'm creating this for penny stocks, so wanted a safer overbought level but change it to whatever you'd like. Default RSI goes back to 9 days, but also customizable along with the standard 12, 26, 9 levels.
Entry levels signal when the RSI goes below 25, MACD has a bullish crossover, and when the price breaks above the average VPVR for that resistance level.
Exit levels signal when the RSI goes above 70, the MACD has a bearish crossover, and the price increases by 9%. The latter can be modified or removed, I just have it there as I designed this for penny stocks and 9% is usually a really easy breakout to hit to still lock in decent prices as well as having it be options-trader friendly.
First script I've ever made so any feedback or suggestions to improve it (hopefully as well as teaching me HOW to improve it) is very much appreciated.
Optimized WPR Strategy with Filters (Debug)Identifying Market Trends:
The 200-period EMA is used to determine the short-term trend of the market.
When the price is above the 200-period EMA, it suggests a potential bullish market and an uptrend, and the strategy will only look for buying opportunities.
When the price is below the 200-period EMA, it suggests a potential bearish market and a downtrend, and the strategy will only look for selling opportunities.
When the 200-period EMA intersects with the price, it indicates that the market may be in a directionless consolidation phase.
Identifying Potential Reversal Points:
The strategy employs two Williams %R (WPR) indicators: one with a 9-period (fast WPR) and another with a 28-period (slow WPR).
WPR is a momentum indicator used to identify overbought and oversold conditions in the market. Its value oscillates between -100 and 0, with values near -100 indicating oversold conditions and values near 0 indicating overbought conditions.
In an uptrend (when the price is above the 200 EMA), the strategy seeks buying opportunities when both WPR indicators cross above -80 (the oversold zone) from below. This is considered a bullish signal, suggesting the market may be about to rebound. Sell signals are ignored at this time.
In a downtrend (when the price is below the 200 EMA), the strategy seeks selling opportunities when both WPR indicators cross below -20 (the overbought zone) from above. This is considered a bearish signal, suggesting the market may be about to reverse downward. Buy signals are ignored at this time.
Summary:
In summary, this strategy first uses the 200-period EMA to determine the overall trend direction of the market. Then, within the confirmed trend direction, it utilizes the simultaneous crossing of the overbought or oversold zones by the dual WPR indicators to identify potential reversal points as entry signals for trading. The strategy emphasizes that trading signals are only valid when both WPR indicators meet the conditions.
Overlay Hourly Candle [odnac] * This script overlays 1-hour candlestick representations on the chart.
* It captures the open, close, high, and low prices for each hourly period.
* The script dynamically updates as new hourly candles form and adjusts the
* box and wick positions accordingly.
*
* Features:
* - Draws an hourly candle with body and wicks.
* - Colors bullish candles in green and bearish candles in red.
* - Updates dynamically as new hourly candles form.
* - Uses TradingView's box and line functions to represent candle structures.
*
* Usage:
* - Add the script to your TradingView chart as an overlay.
* - Observe how the hourly candles appear distinctly on any timeframe.
Highest High & Lowest Low of 2nd/3rd Candle - Every DayHighest High & Lowest Low of 2nd/3rd Candle - Every Day
alphaJohnny Dynamic RSI IndicatorAlphaJohnny Dynamic RSI Indicator (Dyn RSI)
The Dynamic RSI Indicator (Dyn RSI) is a custom Pine Script tool designed for TradingView that aggregates Relative Strength Index (RSI) signals from multiple timeframes to provide a comprehensive view of market momentum. It combines RSI data from Weekly, Daily, 4-hour, 1-hour, and 30-minute intervals, offering traders a flexible and customizable way to analyze trends across different periods.
Key Features:
Multi-Timeframe RSI Aggregation: Combines RSI signals from user-selected timeframes for a holistic momentum assessment.
Dynamic or Equal Weighting: Choose between correlation-based dynamic weights (adjusting based on each timeframe’s correlation with price changes) or equal weights for simplicity.
Smoothed Momentum Line: A visually intuitive line that reflects the strength of the aggregate signal, smoothed for clarity.
Color-Coded Signal Strength:
Dark Green: Strong buy signal
Light Green: Weak buy signal
Yellow: Neutral
Light Red: Weak sell signal
Dark Red: Strong sell signal
Visual Markers: Large green triangles at the bottom for strong buy signals and red triangles at the top for strong sell signals.
How to Use:
Apply to Chart: Add the indicator to your TradingView chart (it will appear in a separate pane).
Customize Settings: Adjust inputs like RSI period, signal thresholds, included timeframes, weighting method, and smoothing period to fit your trading style.
Interpret Signals:
Momentum Line: Watch for color changes to gauge market conditions.
Triangles: Green at the bottom for strong buy opportunities, red at the top for strong sell opportunities.
Notes:
The indicator is designed for a separate pane (overlay=false), with triangles positioned relative to the pane’s range.
Fine-tune thresholds and weights based on your strategy and the asset being analyzed.
The source code is open for modification to suit your needs.
This indicator is ideal for traders seeking a multi-timeframe perspective on RSI to identify potential trend reversals and momentum shifts.
Custom RSI with Wilders SmoothingOnly a small modification. You can also use the Wilder-Smoothing-Average. More suitable for volatile Crypto-Token.
ICT/SMC XAUUSD Scalper v6This indicator combines **ICT (Inner Circle Trader)** and **SMC (Smart Money Concepts)** strategies for **3-minute XAUUSD scalping**. Key features:
1. **Liquidity Zones**
- Plots recent high/low levels as horizontal lines (red/green).
2. **Order Blocks (OB)**
- Labels bullish (green "OB" ▼) and bearish (red "OB" ▲) zones with 70% transparency.
- Auto-removes after 20 bars.
3. **Fair Value Gaps (FVG)**
- Highlights price imbalances with semi-transparent boxes (green=bullish, red=bearish).
- Cleans up after 9 bars (3x FVG length).
4. **Market Structure Shift (MSS)**
- Detects trend reversals via swing breaks.
5. **Signals**
- **Buy**: ▲ below price on bullish MSS + OB/FVG reaction + liquidity break.
- **Sell**: ▼ above price on bearish MSS + OB/FVG reaction + liquidity break.
**Optimized For**: Quick scalps (3-10 pips) during high liquidity sessions (London/NY overlap). Includes real-time alerts and clean visual hierarchy.
Momentum Streak BackgroundThis indicator visualizes weekly momentum by coloring the background based on consecutive weekly closes. It helps traders quickly assess trend strength and potential reversal zones at a glance.
• Upward streaks (bullish momentum) are shown in shades of yellow, orange, and red, getting deeper with each additional week of positive closes.
• Downward streaks (bearish momentum) are shown in shades of green, darkening with each additional week of negative closes.
The more intense the color, the longer the streak — offering an intuitive way to gauge when a trend may be strengthening or approaching exhaustion.
Best used on the weekly timeframe.
20 EMA and 50 EMA Crossover Strategy20 EMA and 50 EMA Calculation:
ema20 and ema50 calculate exponential moving averages over 20 and 50 periods, respectively.
Crossover Conditions:
bullishCrossover checks when 20 EMA crosses above 50 EMA → BUY Signal.
bearishCrossover checks when 50 EMA crosses below 20 EMA → SELL Signal.
Visuals:
Green and red arrows indicate buy and sell signals.
Background highlights green for buy and red for sell confirmation.
Long Entry/Exit FlagsThis script flags long entry and exit points based on a simple EMA crossover strategy. A green triangle appears when the short EMA crosses above the long EMA (entry), and a red triangle marks when it crosses below (exit). Designed for clean trend-following signals across any timeframe. Alerts are included for both entry and exit conditions.
Volume Weighted MACD + RSI SignalsVolume-Weighted MACD
Takes trading volume into account: strong movements with high volume carry more weight.
Instead of EMA, VWMA is used. The signal length is 12 instead of the standard 9.
The VWMA function returns the volume-weighted moving average of the source over the specified length of bars. It is equivalent to: sma(source * volume, length) / sma(volume, length).