Auto Fib V2Auto Fib V2 — Advanced Fibonacci Mapping Tool
Introduction
Auto Fib V2 is an advanced Fibonacci retracement indicator that automatically adapts to recent market ranges. Rather than manually drawing Fibonacci lines, this script dynamically maps them based on the most recent highs and lows, allowing traders to see the chart as if it were a "navigation map." Its primary purpose is to help identify potential buy and sell zones with greater clarity.
Key Concept
The script is built on a simple but powerful interpretation of Fibonacci retracement:
When the price moves below the 0.236 level, it suggests an oversold zone, where buyers may step in and market reversal potential increases.
When the price rises above the 0.764 level, it highlights an overbought zone, where sellers may become more active and risk of reversal grows.
Between these extremes, the Golden Pocket (0.382–0.618 zone) is highlighted as the area where institutional traders and algorithms often react. Historically, this is one of the most respected Fibonacci areas in technical analysis.
Features & Customization
Automatic Range Detection: The indicator automatically finds the recent high/low (based on user-defined lookback bars) and applies Fibonacci levels.
Flexible Direction Setting: Traders can use Auto Mode to let the script decide direction from price movement, or manually choose upward/downward mapping.
Multiple Levels Display: Beyond the standard levels, extra fractional retracements (0.146, 0.309, 0.441, etc.) are included for more precise mapping.
Golden Pocket Highlighting: Visually emphasizes the 0.382–0.618 retracement zone for quick recognition.
Custom Styles: Switch between line-based and dot-based plotting, with adjustable colors and transparency for improved readability.
Practical Use
Auto Fib V2 is not intended as a direct buy/sell signal generator, but as a contextual guide. Traders can use it to:
Confirm whether the current price area is closer to an overbought or oversold condition.
Combine it with oscillators (RSI, MACD) or trend indicators (EMA, ADX) to strengthen trading decisions.
Identify confluence zones where Fibonacci levels overlap with key supports/resistances.
Quickly adapt to market shifts without the need to redraw Fibonacci retracement lines repeatedly.
Why Use Auto Fib V2?
Manual Fibonacci drawing can be subjective, often depending on the swing points a trader chooses. Auto Fib V2 reduces that subjectivity by using consistent logic, creating a more systematic approach. For intraday traders, it provides rapid context to assess whether the market is stretched or balanced. For swing traders, it offers a map of reaction zones across higher timeframes.
頻帶和通道
Multi-Band Trend LineThis Pine Script creates a versatile technical indicator called "Multi-Band Trend Line" that builds upon the concept of the popular "Follow Line Indicator" by Dreadblitz. While the original Follow Line Indicator uses simple trend detection to place a line at High or Low levels, this enhanced version combines multiple band-based trading strategies with dynamic trend line generation. The indicator supports five different band types and provides more sophisticated buy/sell signals based on price breakouts from various technical analysis bands.
Key Features
Multi-Band Support
The indicator supports five different band types:
- Bollinger Bands: Uses standard deviation to create bands around a moving average
- Keltner Channels: Uses ATR (Average True Range) to create bands around a moving average
- Donchian Channels: Uses the highest high and lowest low over a specified period
- Moving Average Envelopes: Creates bands as a percentage above and below a moving average
- ATR Bands: Uses ATR multiplier to create bands around a moving average
Dynamic Trend Line Generation (Enhanced Follow Line Concept)
- Similar to the Follow Line Indicator, the trend line is placed at High or Low levels based on trend direction
- Key Enhancement: Instead of simple trend detection, this version uses band breakouts to trigger trend changes
- When price breaks above the upper band (bullish signal), the trend line is set to the low (optionally adjusted with ATR) - similar to Follow Line's low placement
- When price breaks below the lower band (bearish signal), the trend line is set to the high (optionally adjusted with ATR) - similar to Follow Line's high placement
- The trend line acts as dynamic support/resistance, following the price action more precisely than the original Follow Line
ATR Filter (Follow Line Enhancement)
- Like the original Follow Line Indicator, an ATR filter can be selected to place the line at a more distance level than the normal mode settled at candles Highs/Lows
- When enabled, it adds/subtracts ATR value to provide more conservative trend line placement
- Helps reduce false signals in volatile markets
- This feature maintains the core philosophy of the Follow Line while adding more precision through band-based triggers
Signal Generation
- Buy Signal: Generated when trend changes from bearish to bullish (trend line starts rising)
- Sell Signal: Generated when trend changes from bullish to bearish (trend line starts falling)
- Signals are displayed as labels on the chart
Visual Elements
- Upper and lower bands are plotted in gray
- Trend line changes color based on direction (green for bullish, red for bearish)
- Background color changes based on trend direction
- Buy/sell signals are marked with labeled shapes
How It Works
Band Calculation: Based on the selected band type, upper and lower boundaries are calculated
Signal Detection: When price closes above the upper band or below the lower band, a breakout signal is generated
Trend Line Update: The trend line is updated based on the breakout direction and previous trend line value
Trend Direction: Determined by comparing current trend line with the previous value
Alert Generation: Buy/sell conditions trigger alerts and visual signals
Use Cases
Enhanced trend following strategies: More precise than basic Follow Line due to band-based triggers
Breakout trading: Multiple band types provide various breakout opportunities
Dynamic support/resistance identification: Combines Follow Line concept with band analysis
Multi-timeframe analysis with different band types: Choose the most suitable band for your timeframe
Reduced false signals: Band confirmation provides better entry/exit points compared to simple trend following
CNS - Multi-Timeframe Bollinger Band OscillatorMy hope is to optimize the settings for this indicator and reintroduce it as a "strategy" with suggested position entry and exit points shown in the price pane.
I’ve been having good results setting the “Bollinger Band MA Length” in the Input tab to between 5 and 10. You can use the standard 20 period, but your results will not be as granular.
This indicator has proven very good at finding local tops and bottoms by combining data from multiple timeframes. Use BB timeframes that are lower than the timeframe you are viewing in your price pane.
The default settings work best on the weekly timeframe, but can be adjusted for most timeframes including intraday.
Be cognizant that the indicator, like other oscillators, does occasionally produce divergences at tops and bottoms.
Any feedback is appreciated.
Overview
This indicator is an oscillator that measures the normalized position of the price relative to Bollinger Bands across multiple timeframes. It takes the price's position within the Bollinger Bands (calculated on different timeframes) and averages those positions to create a single value that oscillates between 0 and 1. This value is then plotted as the oscillator, with reference lines and colored regions to help interpret the price's relative strength or weakness.
How It Works
Bollinger Band Calculation:
The indicator uses a custom function f_getBBPosition() to calculate the position of the price within Bollinger Bands for a given timeframe.
Price Position Normalization:
For each timeframe, the function normalizes the price's position between the upper and lower Bollinger Bands.
It calculates three positions based on the high, low, and close prices of the requested timeframe:
pos_high = (High - Lower Band) / (Upper Band - Lower Band)
pos_low = (Low - Lower Band) / (Upper Band - Lower Band)
pos_close = (Close - Lower Band) / (Upper Band - Lower Band)
If the upper band is not greater than the lower band or if the data is invalid (e.g., na), it defaults to 0.5 (the midline).
The average of these three positions (avg_pos) represents the normalized position for that timeframe, ranging from 0 (at the lower band) to 1 (at the upper band).
Multi-Timeframe Averaging:
The indicator fetches Bollinger Band data from four customizable timeframes (default: 30min, 60min, 240min, daily) using request.security() with lookahead=barmerge.lookahead_on to get the latest available data.
It calculates the normalized position (pos1, pos2, pos3, pos4) for each timeframe using f_getBBPosition().
These four positions are then averaged to produce the final avg_position:avg_position = (pos1 + pos2 + pos3 + pos4) / 4
This average is the oscillator value, which is plotted and typically oscillates between 0 and 1.
Moving Averages:
Two optional moving averages (MA1 and MA2) of the avg_position can be enabled, calculated using simple moving averages (ta.sma) with customizable lengths (default: 5 and 10).
These can be potentially used for MA crossover strategies.
What Is Being Averaged?
The oscillator (avg_position) is the average of the normalized price positions within the Bollinger Bands across the four selected timeframes. Specifically:It averages the avg_pos values (pos1, pos2, pos3, pos4) calculated for each timeframe.
Each avg_pos is itself an average of the normalized positions of the high, low, and close prices relative to the Bollinger Bands for that timeframe.
This multi-timeframe averaging smooths out short-term fluctuations and provides a broader perspective on the price's position within the volatility bands.
Interpretation
0.0 The price is at or below the lower Bollinger Band across all timeframes (indicating potential oversold conditions).
0.15: A customizable level (green band) which can be used for exiting short positions or entering long positions.
0.5: The midline, where the price is at the average of the Bollinger Bands (neutral zone).
0.85: A customizable level (orange band) which can be used for exiting long positions or entering short positions.
1.0: The price is at or above the upper Bollinger Band across all timeframes (indicating potential overbought conditions).
The colored regions and moving averages (if enabled) help identify trends or crossovers for trading signals.
Example
If the 30min timeframe shows the close at the upper band (position = 1.0), the 60min at the midline (position = 0.5), the 240min at the lower band (position = 0.0), and the daily at the upper band (position = 1.0), the avg_position would be:(1.0 + 0.5 + 0.0 + 1.0) / 4 = 0.625
This value (0.625) would plot in the orange region (between 0.85 and 0.5), suggesting the price is relatively strong but not at an extreme.
Notes
The use of lookahead=barmerge.lookahead_on ensures the indicator uses the latest available data, making it more real-time, though its effectiveness depends on the chart timeframe and TradingView's data feed.
The indicator’s sensitivity can be adjusted by changing bb_length ("Bollinger Band MA Length" in the Input tab), bb_mult ("Bollinger Band Standard Deviation," also in the Input tab), or the selected timeframes.
Multi-Timeframe Bollinger BandsMy hope is to optimize the settings for this indicator and reintroduce it as a "strategy" with suggested position entry and exit points shown in the price pane.
I’ve been having good results setting the “Bollinger Band MA Length” in the Input tab to between 5 and 10. You can use the standard 20 period, but your results will not be as granular.
This indicator has proven very good at finding local tops and bottoms by combining data from multiple timeframes. Use timeframes that are lower than the timeframe you are viewing in your price pane. Be cognizant that the indicator, like other oscillators, does occasionally produce divergences at tops and bottoms.
Any feedback is appreciated.
Overview
This indicator is an oscillator that measures the normalized position of the price relative to Bollinger Bands across multiple timeframes. It takes the price's position within the Bollinger Bands (calculated on different timeframes) and averages those positions to create a single value that oscillates between 0 and 1. This value is then plotted as the oscillator, with reference lines and colored regions to help interpret the price's relative strength or weakness.
How It Works
Bollinger Band Calculation:
The indicator uses a custom function f_getBBPosition() to calculate the position of the price within Bollinger Bands for a given timeframe.
Price Position Normalization:
For each timeframe, the function normalizes the price's position between the upper and lower Bollinger Bands.
It calculates three positions based on the high, low, and close prices of the requested timeframe:
pos_high = (High - Lower Band) / (Upper Band - Lower Band)
pos_low = (Low - Lower Band) / (Upper Band - Lower Band)
pos_close = (Close - Lower Band) / (Upper Band - Lower Band)
If the upper band is not greater than the lower band or if the data is invalid (e.g., na), it defaults to 0.5 (the midline).
The average of these three positions (avg_pos) represents the normalized position for that timeframe, ranging from 0 (at the lower band) to 1 (at the upper band).
Multi-Timeframe Averaging:
The indicator fetches Bollinger Band data from four customizable timeframes (default: 30min, 60min, 240min, daily) using request.security() with lookahead=barmerge.lookahead_on to get the latest available data.
It calculates the normalized position (pos1, pos2, pos3, pos4) for each timeframe using f_getBBPosition().
These four positions are then averaged to produce the final avg_position:avg_position = (pos1 + pos2 + pos3 + pos4) / 4
This average is the oscillator value, which is plotted and typically oscillates between 0 and 1.
Moving Averages:
Two optional moving averages (MA1 and MA2) of the avg_position can be enabled, calculated using simple moving averages (ta.sma) with customizable lengths (default: 5 and 10).
These can be potentially used for MA crossover strategies.
What Is Being Averaged?
The oscillator (avg_position) is the average of the normalized price positions within the Bollinger Bands across the four selected timeframes. Specifically:It averages the avg_pos values (pos1, pos2, pos3, pos4) calculated for each timeframe.
Each avg_pos is itself an average of the normalized positions of the high, low, and close prices relative to the Bollinger Bands for that timeframe.
This multi-timeframe averaging smooths out short-term fluctuations and provides a broader perspective on the price's position within the volatility bands.
Interpretation
0.0 The price is at or below the lower Bollinger Band across all timeframes (indicating potential oversold conditions).
0.15: A customizable level (green band) which can be used for exiting short positions or entering long positions.
0.5: The midline, where the price is at the average of the Bollinger Bands (neutral zone).
0.85: A customizable level (orange band) which can be used for exiting long positions or entering short positions.
1.0: The price is at or above the upper Bollinger Band across all timeframes (indicating potential overbought conditions).
The colored regions and moving averages (if enabled) help identify trends or crossovers for trading signals.
Example
If the 30min timeframe shows the close at the upper band (position = 1.0), the 60min at the midline (position = 0.5), the 240min at the lower band (position = 0.0), and the daily at the upper band (position = 1.0), the avg_position would be:(1.0 + 0.5 + 0.0 + 1.0) / 4 = 0.625
This value (0.625) would plot in the orange region (between 0.85 and 0.5), suggesting the price is relatively strong but not at an extreme.
Notes
The use of lookahead=barmerge.lookahead_on ensures the indicator uses the latest available data, making it more real-time, though its effectiveness depends on the chart timeframe and TradingView's data feed.
The indicator’s sensitivity can be adjusted by changing bb_length ("Bollinger Band MA Length" in the Input tab), bb_mult ("Bollinger Band Standard Deviation," also in the Input tab), or the selected timeframes.
Multi-Timeframe Bollinger Band PositionBeta version.
My hope is to optimize the settings for this indicator and reintroduce it as a "strategy" with suggested position entry and exit points shown in the price pane.
Any feedback is appreciated.
Overview
This indicator is an oscillator that measures the normalized position of the price relative to Bollinger Bands across multiple timeframes. It takes the price's position within the Bollinger Bands (calculated on different timeframes) and averages those positions to create a single value that oscillates between 0 and 1. This value is then plotted as the oscillator, with reference lines and colored regions to help interpret the price's relative strength or weakness.
How It Works
Bollinger Band Calculation:
The indicator uses a custom function f_getBBPosition() to calculate the position of the price within Bollinger Bands for a given timeframe.
Price Position Normalization:
For each timeframe, the function normalizes the price's position between the upper and lower Bollinger Bands.
It calculates three positions based on the high, low, and close prices of the requested timeframe:
pos_high = (High - Lower Band) / (Upper Band - Lower Band)
pos_low = (Low - Lower Band) / (Upper Band - Lower Band)
pos_close = (Close - Lower Band) / (Upper Band - Lower Band)
If the upper band is not greater than the lower band or if the data is invalid (e.g., na), it defaults to 0.5 (the midline).
The average of these three positions (avg_pos) represents the normalized position for that timeframe, ranging from 0 (at the lower band) to 1 (at the upper band).
Multi-Timeframe Averaging:
The indicator fetches Bollinger Band data from four customizable timeframes (default: 30min, 60min, 240min, daily) using request.security() with lookahead=barmerge.lookahead_on to get the latest available data.
It calculates the normalized position (pos1, pos2, pos3, pos4) for each timeframe using f_getBBPosition().
These four positions are then averaged to produce the final avg_position:avg_position = (pos1 + pos2 + pos3 + pos4) / 4
This average is the oscillator value, which is plotted and typically oscillates between 0 and 1.
Moving Averages:
Two optional moving averages (MA1 and MA2) of the avg_position can be enabled, calculated using simple moving averages (ta.sma) with customizable lengths (default: 5 and 10).
These can be potentially used for MA crossover strategies.
What Is Being Averaged?
The oscillator (avg_position) is the average of the normalized price positions within the Bollinger Bands across the four selected timeframes. Specifically:It averages the avg_pos values (pos1, pos2, pos3, pos4) calculated for each timeframe.
Each avg_pos is itself an average of the normalized positions of the high, low, and close prices relative to the Bollinger Bands for that timeframe.
This multi-timeframe averaging smooths out short-term fluctuations and provides a broader perspective on the price's position within the volatility bands.
Interpretation:
0.0 The price is at or below the lower Bollinger Band across all timeframes (indicating potential oversold conditions).
0.15: A customizable level (green band) which can be used for exiting short positions or entering long positions.
0.5: The midline, where the price is at the average of the Bollinger Bands (neutral zone).
0.85: A customizable level (orange band) which can be used for exiting long positions or entering short positions.
1.0: The price is at or above the upper Bollinger Band across all timeframes (indicating potential overbought conditions).
The colored regions and moving averages (if enabled) help identify trends or crossovers for trading signals.
Example:
If the 30min timeframe shows the close at the upper band (position = 1.0), the 60min at the midline (position = 0.5), the 240min at the lower band (position = 0.0), and the daily at the upper band (position = 1.0), the avg_position would be:(1.0 + 0.5 + 0.0 + 1.0) / 4 = 0.625
This value (0.625) would plot in the orange region (between 0.85 and 0.5), suggesting the price is relatively strong but not at an extreme.
Notes:
The use of lookahead=barmerge.lookahead_on ensures the indicator uses the latest available data, making it more real-time, though its effectiveness depends on the chart timeframe and TradingView's data feed.
The indicator’s sensitivity can be adjusted by changing bb_length ("Bollinger Band MA Length" in the Input tab), bb_mult ("Bollinger Band Standard Deviation," also in the Input tab), or the selected timeframes.
Master Simple Indicator 2.0Master Simple Indicator 2.0 combines dynamic moving average signals with ATR-based price bands. It plots a volatility range around the current price using customizable ATR length, smoothing, and multiplier settings, while also highlighting long/short opportunities when price crosses a 120-period moving average. Visual cues and alerts help identify momentum shifts, trend direction, and potential trade entries across all timeframes.
Session Pivots + EMA20/50 + Bollinger BandsMulti-tool indicator combining session pivots, EMA trend filters, Bollinger Bands, and alerts for intraday trading.
📌 Description
One of the biggest advantages of this indicator is that it supports TradingView’s ALERT system, so traders can be notified the moment price crosses the daily/session pivot level. This allows faster decision-making without constant chart watching.
This script combines three powerful tools into a single indicator:
Session Pivot Levels (with Support/Resistance): Automatically calculates pivot, R1–R3 and S1–S3 levels based on the previous trading session (London, New York, Asia, or custom). Levels are plotted with clean labels and connector lines so you always see the exact price values ahead of time.
EMA Trend Filters (20 & 50): Tracks short- and medium-term market direction with two popular exponential moving averages, helping confirm entries and exits.
Bollinger Bands (fully customizable): Adds volatility bands with choice of SMA, EMA, SMMA, WMA, or VWMA for the middle line, plus adjustable standard deviation and offset.
✅ Key Features
Auto-detects London, New York, and Asian sessions or set your own custom session.
Displays up to 3 levels of support and resistance from the previous session.
Clean label display with customizable theme options (Dark, Light, Custom).
Alerts included: Get notified instantly when price crosses above or below the Pivot.
EMA20/50 trend confirmation built-in.
Bollinger Bands with multiple moving average types and volatility settings.
Works for Forex, Crypto, Indices, Commodities — optimized for intraday & scalping.
This makes it a complete intraday toolkit, reducing the need to load multiple separate indicators.
📄 Full documentation available here: [ link ]
Volatility Zones (VStop + Bands) — Fixed (v2)📝 What this indicator is
This script is called “Volatility Zones (VStop + Bands)”.
It is an ATR-based volatility indicator that combines dynamic volatility bands, a Volatility Stop line (VStop), and volatility spike detection into a single tool.
Unlike moving average–based indicators, this tool does not rely on averages of price direction. Instead, it measures the market’s true volatility and reacts to expansions or contractions in price ranges.
________________________________________
⚙️ How it is built
The indicator uses several volatility-based components:
1. Average True Range (ATR)
o ATR is calculated over a user-defined length.
o It measures how much price typically moves in a given number of bars, making it the foundation of this indicator.
2. Volatility Bands
o Upper band = close + ATR × factor
o Lower band = close - ATR × factor
o The area between them is shaded.
o This gives traders an immediate visual sense of market volatility width — wide bands = high volatility, narrow bands = quiet market.
3. Volatility Stop (VStop)
o A stateful trailing stop based on ATR.
o It tracks the highest (or lowest) price in the current trend and places a stop offset by ATR × multiplier.
o When price crosses this stop, the indicator flips trend direction.
o This creates a dynamic stop-and-reverse mechanism that adapts to volatility.
4. Trend Zones
o When the trend is bullish, the stop is green and the chart background is shaded softly green.
o When bearish, the stop is red and the background is shaded softly red.
o This makes the market’s directional bias visually clear at all times.
5. Flip Signals (Buy/Sell Arrows)
o Whenever the VStop flips, arrows appear:
Green BUY arrows below price when the trend turns bullish.
Red SELL arrows above price when the trend turns bearish.
o These are also tied to built-in alerts for automation.
6. Volatility Spike Detection
o The script compares current ATR to its recent average.
o If ATR suddenly expands above a threshold, a small yellow “VOL” marker appears at the top of the chart.
o This highlights potential breakout phases or unusual volatility events.
7. Stop Labels
o At every trend flip, a small label appears at the bar, showing the exact stop level.
o This makes it easy to use the stop as a reference for risk management.
________________________________________
📊 How it works in practice
• When price is above the VStop line, the market is considered in an uptrend.
• When price is below the VStop line, the market is in a downtrend.
• The bands expand/contract with volatility, helping traders gauge risk and position sizing.
• Flip arrows signal when trend direction changes.
• Volatility spikes warn traders that the market is entering a higher-risk phase, often before strong moves.
________________________________________
🎯 How it may help traders
• Trend following → Helps traders identify whether the market is trending up or down.
• Stop placement → Provides a dynamic stop level that adjusts to volatility.
• Volatility awareness → Shaded bands and spike markers show when the market is likely to become unstable.
• Trade timing → Flip arrows and labels help identify potential entry or exit points.
• Risk management → Wide bands indicate higher risk; narrow bands suggest safer, tighter ranges.
________________________________________
🌍 In what markets it is useful
Because the indicator is based purely on volatility, it works across all asset classes and timeframes:
• Stocks & ETFs → Helps identify breakouts and long-term trends.
• Forex → Very useful in spot FX where volatility shifts frequently.
• Crypto → ATR reacts strongly to high volatility, helping traders adapt stops dynamically.
• Futures & Commodities → Great for tracking trending commodities and managing risk.
Scalpers, swing traders, and position traders can all benefit by adjusting the ATR length and multipliers to suit their trading style.
________________________________________
💡 Originality of this script
This is not just a mashup of existing indicators. It integrates:
• ATR-based Volatility Bands for context,
• A stateful Volatility Stop (adapted and rewritten cleanly),
• Flip arrows and labels for actionable trading signals,
• Volatility spike detection to highlight regime shifts.
The result is a comprehensive volatility-aware trading tool that goes beyond just plotting ATR or trend stops.
________________________________________
🔔 Alerts
• Buy Flip → triggers when the trend changes bullish.
• Sell Flip → triggers when the trend changes bearish.
Traders can connect these alerts to automated strategies, bots, or notification systems.
♨️盛天®MACD背離Ⓜ️速效TopDog版🕯📊功能概述
該指標整合了傳統 MACD(移動平均線收斂-發散指標)的核心功能,並新增了背離檢測、Top Dog Trading 的 MOM 和 DAD 模式、多時間框架支持以及靈活的視覺化和警報設置。
以下是其主要功能👇 :
1️⃣ MACD 核心計算MACD 線:由快速移動平均線(Fast MA)減去慢速移動平均線(Slow MA)計算得出,反映價格的短期與長期趨勢差異。
信號線:對 MACD 線進行平滑處理(通常使用 EMA 或 SMA),用於識別趨勢轉換點。
直方圖:MACD 線與信號線的差值,顯示動量的強弱和方向。
靈活性:用戶可選擇使用 EMA(指數移動平均線)或 SMA(簡單移動平均線)進行計算,並可設置快速均線、慢速均線和信號線的週期。
📊Feature Overview
This indicator integrates the core functionality of the traditional MACD (Moving Average Convergence-Divergence) indicator and adds divergence detection, Top Dog Trading's MOM and DAD modes, support for multiple time frames, and flexible visualization and alert settings.
Here are its key features:
1. MACD Core Calculation: The MACD Line is calculated by subtracting the Slow Moving Average (Slow MA) from the Fast Moving Average (Fast MA) and reflects the divergence between short-term and long-term price trends.
Signal Line: The MACD Line is smoothed (typically using an EMA or SMA) to identify trend reversals.
Histogram: The difference between the MACD Line and the Signal Line indicates the strength and direction of momentum.
Flexibility: Users can choose to use either EMA (Exponential Moving Average) or SMA (Simple Moving Average) for calculations, and can set the periods for the fast and slow moving averages, as well as the signal line.
2️⃣多時間框架支持通過 request.security 函數,允許用戶選擇不同的時間框架(例如 1 小時、日線等)來計算 MACD,適用於分析更高或更低時間框架的趨勢,無需改變圖表的當前時間框架。
2️⃣Multi-timeframe support is available through the request.security function, allowing users to select different timeframes (such as 1 hour, daily, etc.) to calculate the MACD. This is suitable for analyzing trends in higher or lower timeframes without changing the current timeframe of the chart.
3️⃣Top Dog Mode:
The Top Dog Mode is an advanced feature of the indicator that enhances the MACD's sensitivity to short-term momentum and its ability to identify long-term trends through specific moving average periods (5, 20, 30) and MOM/DAD visualization. It is particularly suitable for short-term traders, swing traders, and market participants who need fast momentum signals. Through crossover dots, MOM histograms, DAD direction alerts, and divergence detection, the Top Dog Mode provides traders with flexible signal generation tools suitable for various market environments.
The signal line period (30) is longer than the standard MACD's 9, which helps filter out short-term fluctuations and confirm long-term trends.
The Top Dog pattern is suitable for the following trading scenarios:
(🔵➤ Short-term trading scenario: In highly volatile markets (such as forex or cryptocurrencies), use the rapid crossover signals of the MOM and DAD to capture short-term price fluctuations.
Recommendation: Use this pattern on lower timeframes (such as the 5-minute or 15-minute timeframe) and set a stop-loss to control risk.
(🔵➤ Trend confirmation scenario: Use the direction of the DAD to confirm the long-term trend and combine it with the MOM histogram to determine entry points.
Recommendation: Use this pattern on higher timeframes (such as the 1-hour or 4-hour timeframe) and combine it with trendlines or moving averages.
(🔵➤ Reversal trading scenario: Combine the Top Dog pattern's divergence signals (labeled "divergence" or "hidden") to identify potential trend reversals.
Recommendation: Confirm divergence signals near key support/resistance levels to reduce the risk of false positives.
(🔵➤ Trend Continuation Scenarios: Using Hidden Divergences (labeled "Hidden") to Identify Trend Continuation Opportunities 👇
4. Divergence Detection: Regular Divergences (labeled "Divergence"): Bullish Divergence: When the price makes lower lows, but the MACD histogram or MACD line makes higher lows, it indicates weakening bearish momentum and may signal a reversal.
Bearish Divergence: When the price makes higher highs, but the MACD histogram or MACD line makes lower highs, it indicates weakening bullish momentum and may signal a reversal. 👇
Hidden Divergences (labeled "Hidden"): Hidden Bullish Divergence: When the price makes higher lows, but the MACD histogram or MACD line makes lower lows, it may signal the possibility of trend continuation.
Hidden Bearish Divergence: When the price makes lower highs, but the MACD histogram or MACD line makes lower highs, it may signal a reversal. The line has made a higher high, indicating the possibility of trend continuation👇
3️⃣Top Dog 模式:
Top Dog 模式是該指標的一個進階功能,通過特定的均線週期(5、20、30)和 MOM/DAD 的視覺化方式,增強了 MACD 對短期動量的敏感性和長期趨勢的確認能力。它特別適合短線交易者、波段交易者和需要快速動量信號的市場參與者。通過交叉圓點、MOM 直方圖、DAD 方向警報和背離檢測,Top Dog 模式為交易者提供了靈活的信號生成工具,適用於多種市場環境。
信號線週期(30)比標準 MACD 的 9 更長,有助於過濾短期波動,確認長期趨勢。
Top Dog 模式適用於以下交易場景:
(🔵➤短線交易場景:在高波動市場(如外匯或加密貨幣)中,利用 MOM 和 DAD 的快速交叉信號捕捉短期價格波動。
建議:在低時間框架(如 5 分鐘或 15 分鐘)使用,並設置止損以控制風險。
(🔵➤ 趨勢確認場景:利用 DAD 的方向確認長期趨勢,結合 MOM 直方圖判斷進場時機。
建議:在較高時間框架(如 1 小時或 4 小時)使用,結合趨勢線或移動平均線。
(🔵➤反轉交易場景:結合 Top Dog 模式的背離信號(標籤“背”或“隱”),識別潛在的趨勢反轉。
建議:在關鍵支撐/阻力位附近確認背離信號,降低假信號風險。
(🔵➤ 趨勢延續場景:利用隱藏背離(標籤“隱”)捕捉趨勢延續機會👇
4. Divergence Detection: Regular Divergence (labeled "Divergence"): Bullish Divergence: When prices make lower lows, but the MACD histogram or MACD line makes higher lows, it indicates weakening downside momentum and may signal a reversal.
Bearish Divergence: When prices make higher highs, but the MACD histogram or MACD line makes lower highs, it indicates weakening upside momentum and may signal a reversal.
4️⃣背離檢測常規背離(標籤為“背”):看漲背離:當價格創出更低低點,但 MACD 直方圖或 MACD 線創出更高低點,表明下跌動量減弱,可能預示反轉。
看跌背離:當價格創出更高高點,但 MACD 直方圖或 MACD 線創出更低高點,表明上漲動量減弱,可能預示反轉👇。
隱藏背離(標籤為“隱”):隱藏看漲背離:當價格創出更高低點,但 MACD 直方圖或 MACD 線創出更低低點,表明趨勢延續的可能。
隱藏看跌背離:當價格創出更低高點,但 MACD 直方圖或 MACD 線創出更高高點,表明趨勢延續的可能👇
5️⃣ Trend Coloring MACD Line: Based on the position of the MACD line relative to the signal line (crossing above for an uptrend, crossing below for a downtrend), you can choose whether to display the trend color (default green for uptrend, red for downtrend)👇.
5️⃣ 趨勢著色MACD 線:根據 MACD 線相對於信號線的位置(上穿為上升趨勢,下穿為下降趨勢),可選擇是否顯示趨勢顏色(默認綠色為上升,紅色為下降)👇 。
6️⃣ Crossover Dots:
When the MACD line crosses the signal line, a dot appears: Upward crossover (MACD line crosses above the signal line): a green dot.
Downward crossover (MACD line crosses below the signal line): a red dot. You can set whether to display the dot and its width.
6️⃣ 交叉圓點:
當 MACD 線與信號線交叉時,顯示圓點:上穿(MACD 線上穿信號線):綠色圓點。
下穿(MACD 線下穿信號線):紅色圓點。可設置是否顯示以及寬度👇 。
7️⃣ Display Flexibility: Users can choose whether to display the MACD line, signal line, histogram, histogram outline, MOM histogram (Top Dog pattern), crossover dots, and divergence labels.
Line widths (MACD line, signal line, histogram, dots) and color settings are adjustable.
7️⃣顯示靈活性用戶可選擇是否顯示 MACD 線、信號線、直方圖、直方圖外框、MOM 直方圖(Top Dog 模式)、交叉圓點和背離標籤。
可調整線條寬度(MACD 線、信號線、直方圖、圓點)和顏色設置👇 。
8️⃣警報功能:
MACD交叉警報:
🚨MACD 線上穿信號線(看漲信號)。
🚨MACD 線下穿信號線(看跌信號)。
🚨MACD > 0 且上穿(強看漲信號)。
🚨MACD < 0 且下穿(強看跌信號)。
背離警報:
🚨MACD 直方圖/MOM 的常規和隱藏看漲/看跌背離。
🚨MACD 線/DAD 的常規和隱藏看漲/看跌背離。
DAD 方向警報:
🚨DAD(信號線)方向改變(交叉前一根 K 線的信號線值)。
🚨DAD 向上(信號線上升)。
🚨DAD 向下(信號線下降)。
所有警報默認啟用,可通過 TradingView 的警報設置面板配置通知方式。
8️⃣Alert Features:
MACD Crossover Alerts:
🚨MACD Line crosses above Signal Line (bullish signal).
🚨MACD Line crosses below Signal Line (bearish signal).
🚨MACD > 0 and crosses upward (strong bullish signal).
🚨MACD < 0 and crosses downward (strong bearish signal).
Divergence Alerts:
🚨Regular and hidden bullish/bearish divergences of the MACD Histogram/MOM.
🚨Regular and hidden bullish/bearish divergences of the MACD Line/DAD.
DAD Direction Alerts:
🚨DAD (Signal Line) direction changes (crosses over the previous candlestick's Signal Line value).
🚨DAD up (Signal Line rising).
🚨DAD down (Signal Line falling).
All alerts are enabled by default, and notification methods can be configured through the TradingView Alerts panel.
TrendBreaks & MA Divergence v1.3 — couleurs perso (panel)clean and easy predictive mouvements and swing stratagy
HTH - WD Gann Square Root LevelsHTH - WD Gann Square Root Levels will plot lines for support and resistance
Reversal Radars — Berk v2.0 (Bottom & Top)1) Combined script (Dip+Tepe)
Title:
Reversal Radars — Berk v2.0 (Bottom & Top)
Description (EN):
What it does
Two high-probability reversal detectors in one indicator: a Bottom Reversal Radar (long bias) and a Top Reversal Radar (short/hedge bias). Each radar aggregates multiple conditions into a single score and triggers when Score ≥ Threshold.
How it works
RSI regime shift: Bottom = recovery after oversold (touched 30, crosses up 35). Top = roll-over from overbought (touched 70, crosses down 65).
MACD cross: Bull (up) for bottoms, Bear (down) for tops.
EMA8 filter: Close above (bottom) / below (top) EMA(8).
Structure break (BOS): Close above recent swing high / below recent swing low (lookbackBars, using precomputed highest/lowest to avoid inconsistencies).
EMA200 proximity: Price within a configurable band (default −5% … +2%).
Volume expansion: Volume ≥ SMA(20) × multiplier (default 1.5×).
Divergence: Pivot-confirmed (3/3) bullish (bottom) or bearish (top) RSI divergence.
Scoring: RSI shift +2, divergence +2, MACD +1, EMA8 +1, BOS +1, Volume +1, EMA200 band +1.
Signals & Alerts
Bottom: label “DÖNÜŞ↑” and alert “Dipten Dönüş — Ana Sinyal” when scoreLong ≥ thrLong.
Top: label “DÖNÜŞ↓” and alert “Tepeden Dönüş — Ana Sinyal” when scoreShort ≥ thrShort.
Use Once per bar close for stable alerts.
Inputs
lenRSI, rsiOS=30, rsiRecover=35, rsiOB=70, rsiFall=65, volLen=20, volMult=1.5, lookbackBars=5, ema200 band (−5…+2%), thrLong/thrShort, toggles for Bottom/Top.
Timeframes & tips
Best on Daily/4H. Tighten thresholds (e.g., 4) and raise volume multiplier (1.8–2.0×) on lower TFs or thin liquidity.
No-repaint note
Evaluated on bar close; pivot divergences confirm with a natural ~3-bar delay.
Disclaimer
Educational use only. Not financial advice.
Tags: reversal, divergence, rsi, macd, ema, volume, trend, screener, stocks, crypto, bist
2) Bottom-only (Dip)
Title:
Bottom Reversal Radar — Berk v1.4
Description (EN):
Purpose
Scores bottoming conditions and triggers when Score ≥ Threshold (default 3).
Components
RSI recovery after oversold (30→35), MACD bull cross, close above EMA8, BOS above recent swing high, near-EMA200 band (−5…+2%), volume ≥ SMA(20)×1.5, and pivot-confirmed (3/3) bullish RSI divergence. Weights: RSI +2, Divergence +2, others +1.
Usage
Add to chart, set alert “Dipten Dönüş — Ana Sinyal”, Once per bar close. Works on any timeframe (need ≥200 bars for EMA200). Daily/4H recommended.
No-repaint
Bar-close evaluation; divergence confirms with ~3 bars.
Tags: bottom, reversal, rsi, macd, ema, volume, divergence
3) Top-only (Tepe)
Title:
Top Reversal Radar — Berk v1.0
Description (EN):
Purpose
Detects topping risk and triggers when Score ≥ Threshold (default 3) for exits/hedges.
Components
RSI roll-over from overbought (70→65), MACD bear cross, close below EMA8, BOS below recent swing low, near-EMA200 band, volume ≥ SMA(20)×1.5, and pivot-confirmed (3/3) bearish RSI divergence. Weights: RSI +2, Divergence +2, others +1.
Usage
Add to chart, set alert “Tepeden Dönüş — Ana Sinyal”, Once per bar close. Daily/4H preferred; tighten thresholds on lower TFs.
No-repaint
Bar-close evaluation; divergence confirms with ~3 bars.
Tags: top, reversal, rsi, macd, ema, volume, divergence
Bottom Reversal Radar — Berk v1.4Bottom Reversal Radar — Berk v1.4
What it does:
Combines RSI recovery after oversold, MACD bull cross, close above EMA8, near-EMA200 proximity, volume expansion, and simple bullish divergence (pivot lows) into a single score.
Signal: Trigger when Score ≥ Threshold (default 3). Set alert via Create Alert → “Dipten Dönüş — Ana Sinyal” → Once per bar close.
How it works
RSI recovery: After touching oversold (30), RSI crosses up 35 within last X bars.
MACD bull cross: MACD Line crosses above Signal.
Close above EMA8 and BOS (close above recent swing high) confirm momentum.
Near EMA200: Price within −5%…+2% band adds a point.
Volume spike: Volume ≥ 1.5× SMA(20) adds a point.
Bullish divergence: Lower price low + higher RSI low (pivot 3/3) adds a point.
Inputs
RSI(14), rsiOS=30, rsiRecover=35, Volume SMA(20) with 1.5× multiplier, EMA200 proximity band −5%…+2%, lookbackBars=5, Score threshold default 3.
Usage tips
Best on Daily / 4H. If too many false positives: raise threshold to 4 and volume to 1.8–2.0×.
Pair with Screener filters: RSI≥35, MACD Line>Signal, Price above EMA8, Volume/Avg(20)≥1.5, and near EMA200 (%).
Disclaimer
For educational purposes only. Not financial advice.
Release notes (v1.4)
Fixed bullDiv typo; simplified visuals; Pine v5.
Tags: rsi, macd, ema, volume, divergence, reversal, trend, screener, bist, stocks, crypto
阻力支撑 V1.4(MTF周/月)Uses multiple support-resistance bands to provide dynamic support and resistance simultaneously on the daily, weekly, and monthly timeframes.
用多组支撑阻力轨,在日线周期、周线、月线同时给出动态支撑/阻力。
Multi Keltner Channels by GreenDecodeThis indicator, created by GreenDecode, plots three Keltner Channels with a common length but different multipliers. It helps identify volatility and potential breakout points using upper and lower bands. Ideal for trend following and range-bound market analysis.
High Volume Highlight - Pto compare volume indicator from prev bars. How to use it, short it when the red bar shows and long it when the green bar shows
Weekly and Daily EMA levelsThis Pine Script indicator provides important weekly and daily levels for lower time frame traders, whom trades based on reaction of these levels.
Dedicated to Prof Michael G
Key Features:
Multi-timeframe EMAs: Shows 12, 21, 50, 100, and 200 period EMAs from both Weekly and Daily timeframes
Horizontal dotted lines: Uses plot.style_linebr to create the dotted/dashed line effect
Works on all timeframes: The lines will appear on any chart timeframe you're viewing
Customizable: Individual toggles for each EMA period and timeframe
Settings Available:
Toggle Weekly/Daily EMAs on/off
Enable/disable individual EMA periods (12, 21, 50, 100, 200)
Customize colors for each EMA line
Adjust line width
Optional labels showing current EMA values
How to Use:
Copy the code into TradingView's Pine Editor
Click "Add to Chart"
Adjust settings in the indicator's Style tab as needed
The weekly EMAs appear with slightly more opacity (30%) while daily EMAs have higher transparency (60%) to help distinguish between timeframes. The lines will automatically update as new bars form and will be visible regardless of what timeframe you're currently viewing on your chart.
LRLR & HRLR Zones + VWAP How to Use This Indicator
This indicator combines LRLR/HRLR liquidity zones, VWAP trend, and the 52-bar high/low/average lines to help identify potential trading zones and trend directions.
1️⃣ LRLR / HRLR Zones
LRLR (green zones): Areas of strong upward liquidity
Above VWAP: Strong bullish zone (light green)
Below VWAP: Weak bullish zone (dark green)
HRLR (red zones): Areas of strong downward liquidity
Below VWAP: Strong bearish zone (light red)
Above VWAP: Weak bearish zone (dark red)
Usage tip:
Green zone + price above VWAP → High-priority long zone
Red zone + price below VWAP → High-priority short zone
Zones crossing the VWAP may indicate potential trend reversals
2️⃣ VWAP (9:00 JST)
Price above VWAP → Bullish trend
Price below VWAP → Bearish trend
Combine with LRLR/HRLR zones to determine the trend direction and strength
3️⃣ 52-Bar High / Low / Average Lines
High (blue) / Low (blue): Act as dynamic resistance/support
Alerts trigger when price touches these levels → Possible reversal zones
Average (aqua): Midpoint reference for pullbacks or retracements
Alerts trigger when price touches the average → Watch for potential reactions
4️⃣ Signal Arrows
Green triangle up (LRLR): Start of a bullish zone
Red triangle down (HRLR): Start of a bearish zone
Arrows are zone initiation markers, not standalone entry signals
5️⃣ Practical Approach
Determine trend direction:
Price above VWAP → Focus on long trades
Price below VWAP → Focus on short trades
Identify potential entries using zones:
Enter trades in LRLR/HRLR zones aligned with the trend
Use 52-bar lines for risk management:
Price near high/low → Exercise caution (possible reversal)
Price near average → Look for pullback confirmations
Important Precautions
Do not use the indicator alone for entries; always confirm with trend direction and zone alignment
Alerts indicate potential levels but are not guaranteed signals
Always use proper risk management, e.g., stop-losses near key support/resistance
The indicator works best in combination with higher timeframe trend context
Market conditions may cause false zones or spikes; avoid over-reliance on a single signal
TradeKillZoneP PRO PLUSthis indicator train change Fibonacci settings input and output signals and gives more
Scalper ProCreated by 77
version 0.9 (Pre-release version)
Overview
The Scalper Pro Algo is a specialized day trading indicator optimized for the various timeframe, tailored for both stock and cryptocurrency markets. It delivers precise buy and sell signals, highlights dynamic overbought and oversold zones, and flags potential reversal points to support active traders.
At its core, the indicator blends a Kalman-filtered Super trend algorithm with VWMA (Volume-Weighted Moving Average) bands. This fusion enables trend-following and mean-reversion strategies by identifying high-probability entry and exit points. The Kalman filtering helps reduce market noise and minimize false signals, offering traders clearer, more dependable guidance for scalping and short-term trades.