Holy Grail Signal op EMA + ADXHolygrail + adx indicator with buy signals so you can buy at the yellow arrow
Bande e canali
Price Line Indicator
This indicator plots evenly spaced horizontal lines on the price chart starting from a user-defined price. You can customize:
Starting Price
Price Spacing (supports decimals)
Number of Lines
Line Color & Width
Each line is extended across the chart with a label showing its precise price level (up to 4 decimal places). Ideal for marking psychological levels, support/resistance zones, or custom grid setups.
Bollinger Bands (SMA) with Trend Filtered Buy/SellOverview
This indicator is a trend-following Bollinger Bands tool based on SMA, enhanced with a 200 SMA filter to display BUY/SELL signals only in the direction of the prevailing trend.
Instead of showing every possible reversal, it focuses on high-probability entries aligned with the trend.
Key Features
Feature Description
Bollinger Bands (SMA) Plots upper, lower, and middle bands using Simple Moving Average (SMA) and standard deviation.
200 SMA Trend Filter Determines the overall market trend (bullish or bearish).
BUY/SELL Signals Generates signals when price reacts from Bollinger Bands.
Trend Filtering Only BUY signals above the 200 SMA, only SELL signals below the 200 SMA.
Alert Function TradingView alerts can be triggered when a signal occurs.
Toggle ON/OFF Option to enable or disable signal display.
Signal Logic
BUY Signal
Price is above the 200 SMA (uptrend)
Previous candle closed below the lower Bollinger Band
Current candle closes back inside the band → Confirmed rebound → BUY signal
SELL Signal
Price is below the 200 SMA (downtrend)
Previous candle closed above the upper Bollinger Band
Current candle closes back inside the band → Confirmed pullback → SELL signal
How to Use
Trend-Following Entries:
Enter trades only in the trend direction, improving accuracy and reducing countertrend trades.
Filter Out False Signals:
The 200 SMA filter removes noise from opposite-trend signals.
Alerts:
Receive notifications when a valid BUY/SELL setup appears without watching the chart constantly.
This indicator is ideal for traders who want to focus on high-probability trend-following setups, especially in markets like Forex or Gold, where strong one-way moves often occur.
このインジケーターは、SMAベースのボリンジャーバンドにトレンドフィルター(200SMA)を追加し、トレンドフォロー型のBUY/SELLシグナルを表示するツールです。
短期の逆張りではなく、大きなトレンド方向に沿ったシグナルだけを出すように設計されています。
主な機能
機能 説明
ボリンジャーバンド (SMA) 期間を指定した単純移動平均(SMA)を基準に、標準偏差で上下のバンドを表示
200SMA(トレンド判定) 現在の相場が上昇トレンドか下降トレンドかを判断
BUY/SELLシグナル ボリンジャーバンドの反発を検出してシグナル表示
トレンドフィルター 200SMAより上ならBUYのみ、200SMAより下ならSELLのみ表示
アラート機能 BUY/SELLシグナル発生時にTradingViewのアラートで通知可能
ON/OFF切替 BUY/SELLシグナルの表示はスイッチでON/OFF可能
シグナルロジック
BUYシグナル
200SMAより上にいる
前の足で価格がボリンジャーバンド下限を下抜け
現在の足でバンド内に戻る → 反発確認 → BUYシグナル表示
SELLシグナル
200SMAより下にいる
前の足で価格がボリンジャーバンド上限を上抜け
現在の足でバンド内に戻る → 反落確認 → SELLシグナル表示
トレードでの使い方
トレンドフォロー型エントリー
→ 200SMAを基準に、相場の方向に沿ったエントリーだけを狙う
逆張りのフィルタリング
→ トレンドに逆らう無駄なシグナルを表示しない
アラート通知
→ チャートを見ていなくても、シグナル発生時に通知可能
このインジケーターは「トレンドフォローの精度を高めたいトレーダー」向けです。
特にゴールドやFXで、一方向の強いトレンドが出やすい相場で有効です。
Bollinger Band Touch with EMA Filter (Inverted, Alerts)Bollinger Band Touch with EMA Filter above or below the 100 nd 200 emas
Bollinger Band Touch with EMA Filterbollomger band strategy above and below the 100 and above the 200
Kumo no Nami Trend Strength Identifier T2[T69]🧠 Overview
Kumo no Nami is a custom trend strength indicator that combines Ichimoku cloud dynamics (Kumo) with wave momentum (Nami) to identify trend direction, reversals, squeezes, and breakouts using Z-Score analysis. It adapts to different modes (Ichimoku, MA, EMA) for a flexible interpretation of price structure tension vs. movement strength.
🔍 Core Logic
Kumo Width (Cloud Pressure): Measures the normalized spread (Z-Score) between two dynamic price levels (e.g., Senkou A-B or Base-Tenkan).
Nami Strength (Wave Energy): Measures how far current price dislocates from a recent range using Z-Score of the difference between close and Donchian/MA.
Z-Score Normalization: Ensures both metrics are statistically comparable, regardless of volatility regime.
Squeeze Detection: Identifies compression before potential volatility expansion.
Breakout/False Break: Detects whether movement is legitimate or noise.
Final Top/Bottom: Highlights a strong burst post-squeeze, often signaling exhaustion or trend climax.
⚙️ Features
🌀 Multiple Kumo Modes:
Kijun-Tenkan
Senkou A - B
SMA Fast - Slow
EMA Fast - Slow
🟨 Z-Score Based Squeeze Monitoring
🟥 Final Burst Alerts
🟩 Trend Continuation or Fake-out Detection
🎨 Dynamic Background Coloring for visual signal clarity
🔧 Configuration
📊 Inputs
Kumo Mode (kt, sab, sfs, efs) – Choose method to compute Kumo (Cloud) width.
Kumo Lookback – Lookback period for cloud Z-Score analysis.
Nami Lookback – Lookback period for wave dislocation measurement.
Squeeze Threshold – How low Z-Kumo must fall to signal potential squeeze.
Burst Thresholds:
Burst Kumo → Z-Kumo must rise above this to be considered bursting.
Burst Nami → Nami Strength threshold for final trend climax.
Ichimoku Config – Tenkan, Kijun, Senkou B, and displacement.
MA Config – For Fast/Slow variants, SMA/EMA lengths.
🧪 How It Works
Compute the Kumo Width depending on selected mode.
E.g., |Tenkan - Kijun| or |Senkou A - Senkou B|
Normalize this width with its Z-Score to get Z-Kumo Width.
Compute Nami Strength:
Z-Score of how far close deviates from a Donchian channel or moving average.
Evaluate signal logic based on the two:
📈 Behavior & Signals
Trend Range (Sideways Consolidation)
=>Z-Kumo < 0 and |Nami Strength| > 2
False Break (No meaningful price movement)
=>Z-Kumo < 1 and |Nami Strength| < 1
Squeeze Watch (Potential breakout loading)
=>Z-Kumo < Squeeze Threshold
Final Burst / Climax
=>Z-Kumo > 2.5 and |Nami Strength| > 3
Bullish Breakout
=>Z-Kumo > 1 and Nami Strength > 2 and not false break
Bearish Breakout
=>Z-Kumo > 1 and Nami Strength < -2 and not false break
Reversal Detection
Crossovers of Nami Strength across 0 (bull/bear) while not in squeeze
🧠 Advanced Concepts Used
Z-Score:
=>(value - mean) / standard deviation for detecting statistically significant moves.
Squeeze Principle:
=>Low volatility → potential buildup → expansion.
Price Dislocation (Wave Strength):
=>Measures how far current price is from its mean range.
=>Cloud Tension (Kumo Z-Score):
=>Reflects pressure or neutrality in the price structure.
Trend Confirmation:
=>Only if both metrics agree and no false break conditions are met.
EMA Buy Sell All-in-One✨ Description (แนะนำให้ใช้ตอนกด Publish):
This all-in-one indicator combines several powerful trading tools into one script:
• EMA Cross Entry System: Customizable fast/slow EMA cross for buy/sell signals
• Dynamic SL/TP System: Choose between swing-based or custom SL/TP; auto-calculated RR support
• HH, HL, LH, LL Labels: Market structure points marked directly on chart (toggle ON/OFF)
• Multi-Timeframe Trend Table: Visual overview of EMA trends across D1 → M1 timeframes
• H1 Trend Change Icons: Alerts when the hourly trend flips direction
➤ Clean and responsive display
➤ Fully customizable via input panel
➤ Great for intraday or swing traders following trend + structure alignment
Feel free to fork or modify. Made for those who want clarity and confluence in one view.
simple trend Scanner Dashboard Script Does
- Calculates key metrics:
- Percent Change from previous day
- Relative Volume (% vs 10-bar average)
- RSI and ADX for strength/trend
- 20 EMA for dynamic support/resistance
- Classifies market condition:
- 🟢 Strong if RSI > 60 and ADX > 25
- 🔴 Weak if RSI < 40 and ADX < 20
- ⚪ Neutral otherwise
- Displays a table dashboard:
- Compact, color-coded summary of all metrics
- Easy to scan visually
- Plots visual signals:
- Arrows and triangles for percent change and volume spikes
- Data window plots for deeper inspection
Fixed 4H BTC/Altcoins Correlation for Scalping
Fixed 4H Timeframe: The calculation is hardcoded to the 4-hour timeframe. This ensures the correlation value remains stable and relevant for structural analysis while you trade on lower timeframes.
Clean On-Screen Display: Instead of a separate plot line that can clutter the chart, the indicator displays the correlation value in a clean, simple table in the top-right corner.
Dynamic Coloring: The correlation value is color-coded for quick visual assessment:
Green: Strong correlation (> 0.70)
Yellow: Moderate correlation (0.30 to 0.70)
Red: Weak or negative correlation (< 0.30)
Customizable Inputs: Users can easily configure the BTC symbol (e.g., BINANCE:BTCUSDT, COINBASE:BTCUSD), the correlation lookback period (Length), and the price source (Source) to match their reference indicators or preferences.
Add the indicator to your chart (for example, a 5-minute chart of any altcoin).
The table in the top-right corner will immediately display the altcoin's current correlation to BTC, based on 4-hour data.
Use this value to gauge market sentiment. A high positive correlation suggests the altcoin is likely to follow BTC's moves. A low or negative correlation suggests the altcoin is moving independently.
For perfect synchronization with another standard correlation indicator, go to the script's settings (⚙️ icon) and ensure the Length and Source parameters are identical to your reference indicator.
This tool aims to bridge the gap between high-frequency trading and high-timeframe market structure, providing a crucial piece of information in a simple, stable, and accessible format.
Adaptive Weighted Regression Channel (AWRC)Short Description:
The Adaptive Weighted Regression Channel (AWRC) is an advanced technical analysis tool that plots a dynamic regression channel based on the recent price action. The centerline is a linear regression (trendline) fitted to the selected price source over a rolling window. The channel boundaries are placed above and below the regression line by a user-selected multiple of the weighted standard deviation.
What makes AWRC unique is its ability to optionally weight each bar’s importance in the regression using Volume, ATR (Average True Range), or Recency Decay, offering a channel that can adapt to market volatility, participation, or trend acceleration.
Parameter Explanations:
length: Number of bars for the regression window (how many recent candles are included). Higher values = smoother, less sensitive channel.
StdDev Multiplier (mult): Controls the channel width. 2.0 is classic; higher = wider channels, lower = tighter.
Enable Weighting?: Turn ON to activate weighting of each bar. If OFF, all bars are equally weighted (classic regression channel).
Weight Type: Select what to use for weights (only active if Enable Weighting is ON):
"Volume": Higher volume bars have more influence on the regression.
"ATR": Bars with higher volatility (as measured by ATR) have more influence.
"Decay": More recent bars are given more weight (controlled by Decay parameter).
Decay: If Weight Type is "Decay", this controls the rate of recency decay. (e.g. 0.98 = slow decay; 0.90 = fast decay; values close to 1 mean a longer memory.)
Source for the calculation (src): Selects which price is regressed. Default is hl2 (average of high and low); you can choose close, open, etc.
Recommended Parameters:
For general use: length = 34, mult = 2.0, Enable Weighting = OFF, src = hl2
For volume-aware channel: Enable Weighting = ON, Weight Type = "Volume"
For volatility sensitivity: Enable Weighting = ON, Weight Type = "ATR"
For extra focus on recent price: Enable Weighting = ON, Weight Type = "Decay", Decay = 0.95 or 0.98
For swing trading: length = 21–55, mult = 1.5–2.5
For intraday/scalping: length = 10–20, mult = 1.0–1.5
Usage Tips:
The regression line shows the "best fit" trend for the selected window.
The channel captures the typical range; price breaking outside the channel can signal strength, exhaustion, or breakout.
Volume and ATR weighting help the channel adapt to market participation or volatility spikes.
Decay weighting locks onto the most recent trend direction quickly.
Adjust parameters to fit your timeframe and market volatility.
Use AWRC to spot trending moves, reversals, or overextensions.
Try different weighting and channel settings to match your trading style!
X EMA EQThe X EMA EQ is a versatile technical analysis tool designed to overlay price action with customizable Exponential Moving Averages (EMAs) and real-time equilibrium levels. Ideal for intraday traders, it blends trend-following and mean-reversion concepts to highlight both directional bias and potential value zones.
🔹 Key Features:
1. Dual EMA Visualization
Plot up to two user-defined EMAs (default: 20 and 50 periods).
Independently toggle and style each EMA to suit your strategy.
Helps track short- and mid-term trend dynamics with clarity.
2. Running Equilibrium Bands
Displays a real-time dynamic price range based on the highest high and lowest low over a user-defined rolling window (default: 15 minutes).
Includes upper/lower quartile lines and a central midpoint, giving structure to intraday price movement.
Useful for identifying compression, breakouts, and fair value zones.
3. Linear Regression Overlay (Optional)
Apply a smoothed linear regression curve across the same time window.
Highlights directional momentum and price mean trajectory.
Valuable for assessing slope bias and trend strength over the equilibrium period.
4. Intraday Timeframe Optimization
Designed specifically for intraday charts with minute-based resolutions (30 seconds to 60 minutes).
Auto-adjusts logic based on the current chart’s timeframe.
5. Clean Visual Design
Minimalist and translucent color schemes ensure readability without clutter.
All components are independently toggleable for full customization.
⚙️ Settings Overview:
EMA Settings: Enable/disable each EMA, set lengths and colors.
Time & Price Settings: Define the running equilibrium period (in minutes), control visibility of bands and regression line, and adjust styling.
X EMA EQ offers a compact yet powerful visual framework for traders seeking to align with short-term trend structure while keeping an eye on evolving price balance zones.
TR37This indicator plots a 377-day Exponential Moving Average (EMA) based on the closing price, ideal for long-term trend analysis. The EMA emphasizes recent price movements while smoothing out short-term fluctuations. A label "TR37" with white text is displayed at the end of the line for clear identification.
Triple HMA Bands (1.2 / 1.4 / 1.6)📈 Triple HMA Bands — Custom Volatility & Trend Indicator
Description:
The Triple HMA Bands indicator combines the Hull Moving Average (HMA) with volatility-based envelopes, similar to Bollinger Bands, to visualize trend direction and market extremes.
The HMA (length 90) serves as the central trend line, offering a smooth and responsive view of market direction.
Surrounding the HMA are three dynamic bands calculated using standard deviations of price:
Inner Band (1.2σ) — normal volatility range.
Middle Band (1.4σ) — elevated volatility zone.
Outer Band (1.6σ) — statistically extreme price movement.
The shaded zones between the bands help visualize volatility expansion and contraction, making it easier to identify:
Trend strength and stability
Potential reversal zones
Breakout or breakdown events
How to Use:
Price staying within the inner band may indicate a stable trend or consolidation.
Price reaching or exceeding the outer band suggests overbought/oversold conditions and potential reversal.
Widening bands = rising volatility; narrowing bands = low volatility, often before a breakout.
This indicator is ideal for trend traders, mean reversion strategies, or anyone wanting a volatility-sensitive trend filter.
EMA Package - Color CodedThis is a package of up to 6 EMA's that change color with direction and include an neutral color for flat periods of consolidation. Easy and consise to use. One can set alerts for color/direction change and use in the creation of stratgies.
RSI MA Cross AlertAlerts when RSI-based Moving Average crosses above 50. Can be used on any symbol and timeframe. Displays RSI, RSI-MA, and levels 30/50/70.
Bullish/Bearish Trend Indicator [MTF + Alerts] by Dow theory Summary of Logic:
✅ Bullish Trend:
Setup Bar: High > Previous High AND Low ≥ Previous Low
Confirmation Bar: High > Highest High of last 3 candles, Low ≥ Setup Bar Low
Trend Continues Until: Latest candle breaks 2nd last candle’s low → then trend becomes Bearish
🔻 Bearish Trend:
Setup Bar: Low < Previous Low AND High ≤ Previous High
Confirmation Bar: Low < Lowest Low of last 3 candles, High ≤ Setup Bar High
Trend Continues Until: Latest candle breaks 2nd last candle’s high → then trend becomes Bullish
EMA Crossover ConfirmationFast ema crossover script to identify trend changes.
There is also supertrend for all time frames.
Modified from the script
BS | Buy&Sell Signals With EMA
Parabolic SAR Buy Zone📈 Parabolic SAR Buy Zone — Early Trend Reversal Indicator
This script highlights bullish reversals based on the Parabolic SAR (Stop and Reverse) indicator.
🧠 Key Features:
Uses SAR parameters: Start: 0.02, Increment: 0.005, Max: 0.2
Visually marks the Buy Zone when SAR falls below the price
Background is light blue to show accumulation or early reversal zones
Yellow SAR dots help identify trend direction and potential exits
Includes alerts when SAR flips from bearish to bullish, signaling potential entry points
✅ Best Used For:
Identifying early trend reversals
Swing trading setups on daily or weekly charts
Combining with volume, RSI, or support zones for confirmation
🛎️ Customize alert to stay notified when new buy zones appear on your favorite stocks or cryptos.
WaveTrend LazyBear + BUY/SELL Labels (Custom Color)WaveTrend LazyBear + BUY/SELL Labels (Custom Color)
ZigZag Volume Profile [ChartPrime]⯁ OVERVIEW
ZigZag Volume Profile combines swing structure with volume analytics by plotting a ZigZag of major price swings and overlaying a detailed volume profile around each swing. At the end of each swing, it highlights the Point of Control (POC) — the price level with the highest traded volume — and extends it forward to identify key areas of potential support or resistance.
⯁ KEY FEATURES
ZigZag Swing Detection:
Automatically detects swing highs and lows based on a user-defined length, creating clean visual segments of market structure.
These segments act as boundaries for volume profile calculations.
swingHigh = ta.highest(swingLength)
swingLow = ta.lowest(swingLength)
ZigZag Channel Visualization:
The ZigZag structure is connected with sloped lines, forming a visual “channel” of the price movement.
The ZigZag can optionally, scaled by ATR.
Volume Profile Around Each Swing:
For every completed swing (high to low or low to high), the indicator constructs a full volume profile using user-defined bin counts.
It scans volume across price levels in the swing and plots histogram-style bins using a gradient color to indicate volume magnitude.
Dynamic Bin Width and Slope Adjustment:
Bins are distributed across a vertical ATR-based range, and their width is adjusted based on the percentage of total swing volume.
The volume fill direction is adapted to the swing’s slope for visually aligned plotting.
POC Detection and Extension:
The highest volume bin in each swing is identified as the Point of Control (POC).
This level is plotted with a thicker line and extended horizontally into the future as a key reaction level.
Automatic POC Expiry on Price Interaction:
POC lines are continuously extended unless breached by price.
When price crosses the POC level, the extension is terminated — signaling that the level may have been absorbed.
Clean Volume Bin Visualization:
Bin colors range from green (low volume) to blue (higher volume), with the POC always marked in red by default for easy identification.
Volume percentages are optionally labeled at each bin level.
Flexible Swing Profile Parameters:
Users can control:
Number of volume bins
Bin width
Channel width (ATR factor)
Visibility of the swing channel or POC lines
Efficient Memory Handling:
Old POC lines and volume profiles are automatically removed from memory after a threshold to keep charts clean and performant.
⯁ USAGE
Use ZigZag swings to define market structure visually.
Analyze volume profile around each swing to understand where most trading activity occurred.
Use POC extensions as dynamic support/resistance zones for entries, stops, or take-profits.
Watch for price interaction with extended POC lines — breaks may suggest absorbed liquidity or breakout potential.
Use the ATR-based channel width to adapt profiles based on market volatility.
⯁ CONCLUSION
ZigZag Volume Profile offers a powerful fusion of structure and volume. By plotting detailed volume profiles over each price swing and extending the POC as actionable S/R levels, this tool provides deep insight into market participation zones — giving traders a tactical edge in both ranging and trending environments.
Bollinger Levels Table - Horizontal Support ZonesBollinger Levels Table - Horizontal Support Zones Indicator (with Customizable Options)
The "Bollinger Levels Table - Horizontal Support Zones" indicator is a comprehensive tool designed to help you identify potential support areas on your chart using moving averages and Bollinger Bands. The indicator displays an organized table of key price levels and draws horizontal lines on the chart, providing clear visibility of potential support zones.
What Does This Indicator Do?
This indicator aims to simplify support analysis by consolidating and displaying significant price levels derived from three different Bollinger Band settings: BB10, BB20, and BB50. It calculates both the Mid-line (Basis) and the Lower Band for each of these settings.
Furthermore, the indicator automatically arranges these levels from highest to lowest in an easy-to-read table, assigning a "Payment" label to each level. These "Payments" are simply labels to help you track the levels in descending order.
How Does This Indicator Work?
Bollinger Band Calculations: The indicator uses the standard Bollinger Band formula:
Mid-line (Basis): A Simple Moving Average (SMA) of the closing price over a specified period.
Standard Deviation (Dev): The standard deviation of the closing price over the same period, multiplied by a Multiplier.
Lower Band: The Mid-line minus the Standard Deviation.
These calculations are applied to three different periods: 10, 20, and 50, providing a variety of potential support levels based on different timeframes. You can adjust the values for these lengths (10, 20, 50) and the Multiplier through the indicator's settings.
Table Construction: A dynamic table is created on the chart (which can be positioned in the top or bottom right corner based on the current price's position). This table displays:
Indicator: The name of the Bollinger Band level (e.g., BB10 Mid, BB20 Lower).
Price: The exact price value of that level.
Payments: A label indicating the level's order in the table.
Level Ordering: All calculated levels are dynamically sorted from highest to lowest to present them in a logical order within the table.
Horizontal Line Plotting: Horizontal lines are drawn on the chart for each selected level, providing a visual representation of the potential support areas. These lines are colored black and have a consistent width for easy identification.
How to Use This Indicator:
This indicator is intended to provide potential entry points or accumulation zones for trades, especially for traders employing Dollar-Cost Averaging (DCA) strategies or building positions in stages. The levels displayed in the table and on the chart can represent potential support levels where one might consider initiating or adding to a position.
In the indicator's settings, you'll find important options:
Multiplier: Controls the width of the Bollinger Bands (default 2.0).
BB Lengths: Allows you to adjust the periods for the moving averages (default 20, 50, 10).
Visible Levels: This is the new feature! Here, you can select which levels you wish to see in the table and on the chart. Simply check or uncheck the boxes next to each level (BB10 Mid, BB10 Lower, and so on) to customize the indicator's display according to your strategy and needs.
Underlying Concepts:
This indicator is based on the principle that Bollinger Bands can act as dynamic support and resistance zones.
Mid-line (SMA): Often functions as a medium-term support or resistance.
Lower Band: Typically indicates that the price is relatively low and may find support, making it a potential area for buying or starting to build a position.
By combining different Bollinger Band timeframes (10, 20, 50), the indicator gives you a multi-timeframe perspective on support areas, helping you identify the most relevant levels for your strategy.
Note: While the indicator provides "Payments" for the levels, this is purely a sequential labeling within the table to assist your position-building strategy. There is no actual payment functionality associated with this indicator.
Candle Channel█ OVERVIEW
The "Candle Channel" indicator is a versatile technical analysis tool that plots a price channel based on the Simple Moving Average (SMA) of candlestick midpoints. The channel bands, calculated based on candlestick volatility, form dynamic support and resistance levels that adapt to price movements. The script generates signals for reversals from the bands and SMA breakouts, making it useful for both short-term and long-term traders. By adjusting the SMA length, the channel can vary in nature—from a wide channel encapsulating price movement to narrower support/resistance or trend-following bands. The channel width can be further customized using a scaling parameter, allowing adaptation to different trading styles and markets.
█ MECHANISM
Band Calculation
The indicator is based on the following calculations:
Candlestick Midpoint: Calculated as the arithmetic average of the candle’s high and low prices: (high + low) / 2.
Simple Moving Average (SMA): The average of candlestick midpoints over a specified length (default: 20 candles), forming the channel’s centerline.
Average Candle Height: Calculated as the average difference between the high and low prices (high - low) over the same SMA length, serving as a measure of market volatility.
Band Scaling: The user specifies a percentage of the average candle height (default: 200%), which is multiplied by the average height to create an offset. The upper band is SMA + offset, and the lower band is SMA - offset.Example: For an average candle height of 10 points and 200% scaling, the offset is 20 points, meaning the bands are ±20 points from the SMA.
Channel Characteristics: The SMA length determines the channel’s dynamics. Shorter SMA values (10–30) create a wide channel that contains price movement, ideal for scalping or short-term trading. Longer SMA values (above 30, e.g., 50–100) transform the channel into narrower support/resistance or trend-following bands, suitable for longer-term analysis. Band scaling further adjusts the channel width to match market volatility.
Signals
Reversal from Bands: Signals are generated when the price closes outside the band (above the upper or below the lower) and then returns to the channel, indicating a potential trend reversal.
SMA Breakout: Signals are generated when the price crosses the SMA upward (bullish signal) or downward (bearish signal), suggesting potential trend changes.
Visualization
Centerline: The SMA of candlestick midpoints, displayed as a thin line.
Channel Bands: Upper and lower channel boundaries, with customizable colors.
Fill: Options include a gradient (smooth color transition between bands) or solid color. The fill can also be disabled for greater clarity.
█ FEATURES AND SETTINGS
SMA Length: Determines the moving average period (default: 20). Values of 10–30 are suitable for a wide channel containing price movement, ideal for short-term timeframes. Longer values (e.g., 50–100) create narrower support/resistance or trend-following bands, better suited for higher timeframes.
Band Scaling: Percentage of the average candle height (default: 200%). Adjusts the channel width to match market volatility—smaller values (e.g., 50–100%) for narrower bands, larger values (e.g., 200–300%) for wider channels.
Fill Type: Gradient, solid, or no fill, allowing customization to user preferences.
Colors: Options to change the colors of bands, fill, and signals for better readability.
Signals: Options to enable/disable reversal signals from bands and SMA breakout signals.
█ HOW TO USE
Add the script to your chart in TradingView by clicking "Add to Chart" in the Pine Editor.
Adjust input parameters in the script settings:
SMA Length: Set to 10–30 for a wide channel containing price movement, suitable for scalping or short-term trading. Set above 30 (e.g., 50–100) for narrower support/resistance or trend-following bands.
Band Scaling: Adjust the channel width to market volatility. Smaller values (50–100%) for tighter support/resistance bands, larger values (200–300%) for wider channels containing price movement.
Fill Type and Colors: Choose a gradient for aesthetics or a solid fill for clarity.
Analyze signals:
Reversal Signals: Triangles above (bearish) or below (bullish) candles indicate potential reversal points.
SMA Breakout Signals: Circles above (bearish) or below (bullish) candles indicate trend changes.
Test the indicator on different instruments and timeframes to find optimal settings for your trading style.
█ LIMITATIONS
The indicator may generate false signals in highly volatile or consolidating markets.
On low-liquidity charts (e.g., exotic currency pairs), the bands may be less reliable.
Effectiveness depends on properly matching parameters to the market and timeframe.