Volatility Channel Oscillator█ OVERVIEW
"Volatility Channel Oscillator" is a technical indicator that analyzes price volatility relative to dynamic price channels, displaying an oscillator, its moving average, and signals based on crossovers and divergences. The indicator offers customizable overbought and oversold levels, gradient visualization, and divergence detection, supported by alerts for key signals.
█ CONCEPTS
The VCO indicator creates dynamic price channels based on a moving average of the price (calculated as the arithmetic mean of the high and low prices: (high + low) / 2) and market volatility (measured as the average candle range and body size). These channels are not displayed on the chart but are used to calculate the oscillator value, which reflects the position of the closing price relative to the channel width, scaled to a range from -100 to +100, with the zero line as the central point. A moving average of the oscillator (SMA) smooths its values, enabling signals based on crossovers with the zero line or overbought/oversold levels. The indicator also detects divergences between price and the oscillator, which may indicate potential trend reversals. VCO is useful for identifying market momentum, reversal points, and trend confirmation, especially when combined with other technical analysis tools.
█ FEATURES
- Volatility Channels: Calculates invisible chart boundaries based on a simple moving average (SMA) of the price (high + low) / 2 and volatility (average candle range and body). The length parameter (default 30) sets the SMA length, and scale (default 200%) adjusts the channel width.
- Oscillator: Determines the oscillator value in the range of -100 to +100, indicating the closing price's position relative to the volatility channel. Displayed with dynamic coloring (green for positive values, red for negative).
- Oscillator Moving Average: A simple moving average (SMA) of the oscillator values, smoothing its movements. The signalLength parameter (default 20) defines the SMA length. Displayed in yellow with an optional gradient.
- Overbought/Oversold Levels: Configurable thresholds for the oscillator (overbought, default 50; oversold, default -50) and its moving average (maOverbought, default 30; maOversold, default -30), shown as horizontal lines with optional gradients. Band colors change dynamically (red for overbought, green for oversold, gray for neutral) based on the moving average's position relative to maOverbought/maOversold, reinforcing other signals.
- Divergences: Detects bullish (price forms a lower low, oscillator a higher low) and bearish (price forms a higher high, oscillator a lower high) divergences using pivots (pivotLength, default 2). Divergences are displayed with a delay equal to the pivot length; larger lengths increase reliability but delay signals. Use as additional confirmation.
Signals:
- Overbought/Oversold Crossovers: Green triangles (buy) when the oscillator crosses above the oversold level, red triangles (sell) when it crosses below the overbought level.
- Zero Line Crossovers: Buy/sell signals when the oscillator crosses the zero line upward (buy) or downward (sell).
- Moving Average Crossovers: Buy/sell signals when the oscillator's moving average crosses the zero line or the maOverbought/maOversold levels. Dynamic band color changes (red/green) at these crossovers reinforce other signals.
- Visualization: Gradient lines for the oscillator, its moving average, overbought/oversold levels, and zero line, with adjustable transparency. Gradient fill between the oscillator and zero line.
Divergence Labels: "Bull" (bullish) and "Bear" (bearish) labels with customizable color and transparency.
- Alerts: Built-in alerts for divergences, overbought/oversold crossovers, and zero line crossovers by the oscillator and its moving average.
█ HOW TO USE
Add to Chart: Apply the indicator via Pine Editor or the Indicators menu on TradingView.
Configure Settings:
- Channel and Oscillator Settings: Adjust the channel SMA length (length, default 30) and channel scaling (scale, default 200%). Increase scale for high-volatility markets.
- Threshold Levels: Set oscillator overbought (overbought, default 50) and oversold (oversold, default -50) levels, and moving average thresholds (maOverbought, default 30; maOversold, default -30).
- Divergence Settings: Enable/disable divergence detection (calculateDivergence) and set pivot length (pivotLength, default 2). Larger values increase reliability but delay signals.
- Signal Settings: Choose signal types (signalType): overbought/oversold, zero line, moving average, or all.
- Styling: Customize colors for the oscillator, moving average, horizontal levels, and divergence labels. Adjust gradient and fill transparency.
Interpreting Signals:
- Buy Signals: Green triangles below the bar when the oscillator or its moving average crosses above the oversold level or zero line.
- Sell Signals: Red triangles above the bar when the oscillator or its moving average crosses below the overbought level or zero line.
- Moving Average Signals: Green/red triangles when the moving average crosses maOverbought/maOversold levels, indicating potential reversals or trend continuation. Dynamic band color changes (red for overbought, green for oversold) at these crossovers reinforce other signals.
- Divergences: "Bull" (bullish) and "Bear" (bearish) labels indicate potential trend reversals with a delay based on pivot length. Use as confirmation.
- Overbought/Oversold Levels: Monitor price reactions in these zones as potential reversal points. Dynamic band color changes based on the moving average reinforce signals.
Signal Confirmation: Use VCO with other tools, such as pivot levels (for key turning points) or Fibonacci levels (for support/resistance zones).
█ APPLICATIONS
- Trend Trading: Zero line crossovers by the oscillator or its moving average identify momentum in uptrends or downtrends.
- Range Trading: Overbought/oversold levels help identify entry/exit points in sideways markets.
- Divergences: Use bullish/bearish divergences as additional confirmation of reversals, especially near key price levels.
- Trend Identification: To analyze trends over a longer perspective, increase the moving average length (signalLength) for more stable signals.
█ NOTES
- Test the indicator across different timeframes and markets to optimize parameters, such as length and scale, for your trading style.
- In strong trends, overbought/oversold levels may persist, requiring additional signal verification.
- Divergences are more reliable on higher timeframes (H4, D1), where market noise is reduced, but their delay requires caution.
- In low-liquidity markets, signals may be less effective, so use on high-liquidity assets is recommended.
Medie mobili
Diwali Lights Pro — 7-Diyas Signal Matrix [KedArc Quant]🎯 Overview
“Diwali Lights Pro — 7-Diyas Signal Matrix” is a precision-built trend-sentiment indicator that blends the glow of seven technical “diyas” — each representing a different momentum or strength dimension — into one intuitive signal matrix. It was designed to celebrate light, discipline, and clarity in trading — helping traders filter noise, identify strong trend shifts, and take trades with conviction. Each diya is powered by a proven indicator component: RSI, Stochastic, EMA trend strength, and momentum slopes.Together, they light up your chart with buy/sell signals only when technical confluence aligns — like the diyas of Diwali shining in harmony.
💡 Core Concept
The indicator computes a composite score (–9 to +9) by evaluating seven key parameters:
| # | Diya | Logic | Interpretation |
| 1 | RSI | Overbought / Oversold | Short-term momentum exhaustion |
| 2 | Stochastic | Direction & zones | Confirmation of RSI |
| 3 | Price vs EMA20 | Position of price | Near-term trend bias |
| 4 | EMA20 Slope | Short-term momentum | Strength confirmation |
| 5 | EMA50 Slope | Mid-term trend | Trend stability |
| 6 | EMA100 Slope | Medium-term sentiment | Institutional bias |
| 7 | EMA200 Slope | Long-term sentiment | Market direction baseline |
The total of these 7 diyas creates a signal matrix that dynamically adapts to trend conditions.
⚙️ Inputs & Configuration
| RSI Length | 14 | Standard RSI window |
| Stochastic Length | 14 | Measures momentum oscillation |
| EMA Periods | 20, 50, 100, 200 | Multi-layer trend structure |
| Overbought / Oversold Zones | 70 / 30 | Configurable thresholds |
| Show Buy/Sell Labels | ✅ | Toggle signal markers |
| Show Banner | ✅ | Festive Diwali header with fireworks |
| Twinkle Interval | 10 bars | Animation timing |
| Fireworks Count | 18 | Visual celebration intensity |
| Background Opacity | 100% | Style preference |
🧭 Entry & Exit Logic
# ✅ Buy Signal (🪔)
A Buy triggers when:
* The total diya score crosses above zero,
* And at least four of seven components turn bullish.
This indicates that short-term oscillators, price action, and moving averages are all turning in unison — a strong entry zone after a pullback.
# 🔥 Sell Signal (🔥)
A Sell triggers when:
* The total diya score crosses below zero,
* And multiple slopes or price conditions flip bearish.
This flags weakening momentum and possible trend exhaustion.
# 💬 Suggested Usage
* Works beautifully on 5-min to 1-hour charts.
* Best when used with trend confirmation tools (volume, price structure).
* Avoid entering trades when signals flip rapidly within narrow ranges (sideways zones).
🧪 Mathematical Formulae
1. RSI Bucket (p₁):
p₁ =
2 if RSI < Very Oversold
1 if RSI < Oversold
0 if neutral
-1 if RSI > Overbought
-2 if RSI > Very Overbought
2. Stochastic Bucket (p₂): Similar to RSI bucketing.
3. Price vs EMA20 (p₃):
p₃ = sign(close - EMA20)
4–7. Slope Sign (EMA20, 50, 100, 200):
p₄₋₇ = sign(EMA - EMA )
Total Score = Σ(p₁…p₇)
→ Crossover(total_score, 0) → Buy Signal
→ Crossunder(total_score, 0) → Sell Signal
📊 Why It’s Not Just a Mash-Up
Diwali Lights Pro uses:
* A unified scoring engine with weighted logic rather than conflicting triggers.
* Each component (diya) contributes equally, creating a normalized sentiment index.
* Smart signal filtering prevents repetitive false flips by enforcing trend alignment across multiple time frames.
* A dynamic, responsive structure optimized for clarity and minimal repainting.
🎆 Unique Add-Ons
* Top-Right Diwali Banner: Festive “Happy Diwali” with animated fireworks 🎇 and diyas 🪔.
* Signal Filtering: Reduces noise in volatile ranges.
* EMA Cloud Context: Visual clarity of multi-layer trend zones.
* Optional Light Mode: Change fireworks opacity for a subtle or bright effect.
📘 FAQ
Q1: Does this repaint?
No — it uses confirmed values (RSI, Stochastic, EMA slopes). Signals appear only after the bar closes.
Q2: Which timeframes work best?
Between 5m and 1h, depending on your strategy.
Use higher EMAs for swing setups.
Q3: Can I use it with alerts?
Yes, both Buy and Sell triggers come with built-in `alertcondition()` for instant notifications.
Q4: Can it be combined with other indicators?
Absolutely — it pairs well with volume profiles, volatility bands, or order-flow systems.
🪔 Glossary
| Diya | Candle or light — here, each diya = one technical indicator |
| EMA | Exponential Moving Average — measures smoothed trend bias |
| RSI | Relative Strength Index — momentum overbought/oversold oscillator |
| Stochastic | Momentum oscillator measuring closing levels relative to highs/lows |
| Slope Sign | Direction of EMA movement — rising or falling |
| Signal Matrix | The combined system of all seven diyas generating a unified score |
🧭 Final Note
> *Diwali Lights Pro* is not just a trading tool — it’s a visual celebration of confluence and discipline.
> When the diyas align, trends shine. Use it to trade in harmony with light, not against it. 🌟
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
200W MA Valuation ZonesInspired by "Crypto Currently"
📈 200-Week MA Valuation Zones Indicator
This script visualizes long-term valuation zones based on the 200-week moving average (MA) — a widely followed metric for identifying major market cycle bottoms and tops.
It divides price levels into five distinct zones relative to the 200W MA:
🟦 Very Cheap — Below 200W MA
🟩 Cheap — 1.0× to 1.5× 200W MA
🟨 Fair Value — 1.5× to 2.0× 200W MA
🟧 Expensive — 2.0× to 2.5× 200W MA
🟥 Very Expensive — Above 2.5× 200W MA
You can choose to anchor zones to the current price or display full historical bands.
Color-coded regions and labels make it easy to identify when an asset is historically undervalued or overvalued based on long-term moving averages.
Trend Patterns_Trend Model此腳本根據《超級績效:金融怪傑交易之道》中的【趨勢樣板】進行撰寫
當時股價高於一百五十天(三十週)與兩百天(四十週)移動平均。
一百五十天移動平均高於兩百天移動平均。
兩百天移動平均至少有一個月期間處於上升狀態(多數情況最好有四、五個月以上)。
五十天移動平均同時高於一百五十天與兩百天移動平均。
當時股價高於五十天移動平均。
當時股價較五十二週低點至少高出30%(很多最佳候選股在突破橫向整理而展開大規模漲勢之前,股價已經較五十二週低點高出100%、300%或更多。)
目前股價距離五十二週高點不超過25%(愈接近愈好)。
相對強度評等(relative strength ranking,根據《投資人經濟日報》 的資料)不低於70,最好是80多或90多,而且較佳候選股總是如此。
This script is based on the 【Trend Patterns】 in 《Trade Like a Stock Market Wizard》.
The current stock price is above both the 150-day (30-week) and the 200-day (40-week) moving average price lines.
The 150-day moving average is above the 200-day moving average.
The 200-day moving average line is trending up for at least 1 month (preferably 4-5 months minimum in most cases).
The 50-day (10-week) moving average is above both the 150-day and 200-day moving averages.
The current stock price is trading above the 50-day moving average.
The current stock price is at least 30 percent above its 52-week low. (Many of the best selections will be 100 percent, 300 percent, or greater above their 52-week low before they emerge from a solid consolidation period and mount a large scale advance.)
The current stock price is within at least 25 percent of its 52-week high (the closer to a new high the better).
The relative strength ranking (as reported in Investor's Business Daily) is no less than 70, and preferably in the 80s or 90s, which will generally be the case with the better selections.
REMS Synergy OverlayThis 3rd generation REMS indicator builds upon the foundations assessing the relationships between RSI, EMAs, MACDs, and Stochastic RSI across multiple timeframes. Designed to help traders identify less frequent, but high probability entries across 2 time frames. Uses 3 levels of confluence indicators for both long and short moves.
Confluence Level 1 (Highest Conviction):
Evaluates selected criteria across both timeframes. All selected criteria must be in confluence to trigger signal.
Confluence Level 2 (Moderate Conviction):
Selected criteria can be selected by each timeframe individually. All selected criteria must be in confluence to trigger signal.
Confluence Level 3 (Lower/supportive confluence):
Of the selected criteria, this level can evaluate a set number of conditions that must be met. Number of conditions is user-defined.
Includes VWAP and 4 EMAs as optional visual representations.
Includes 'Enhanced Candles' than can colour code candlesticks for better visual identification. (off by default)
Originally designed with 5 minute and 2 minute timeframes in mind, and pairs well with REMS First Strike and/or REMS Snap Shot indicators.
Values coded below:
RSI
-Primary: Length = 14, Smoothing = 20 (via SMA)
-Secondary: Length = 7, Smoothing = 20 (via SMA)
Stochastic RSI
Primary:
-RSI Length = 14
-Stochastic Length = 8
-%K = 3, %D = 3
Secondary:
-RSI Length = 7
-Stochastic Length = 7
-%K = 3, %D = 2
MACD - applied to both timeframes
-Fast = 12, Slow = 26, Signal = 9
Kalman Exponentialy Weighted Moving Average | MisinkoMasterThe Kalman Exponentialy Weighted Moving Average is a technical analysis tool providing users with more responsive and smoother signals, providing crystal-clear signals and giving investors valuable insights on market trends, however it could be used in many cases.
A deeper dive into the indicator:
When going through my creation of strategies, I had stumbled on an indicator called "EWMA", which worked decently, but it was far too simple in my opinion so I decided to combine the EMA & WMA, but with a little more complexity, and it has worked .
I began by learning how both MAs work, I already knew how WMA works, but EMA I did not.
After learning both I found out they were quite simple in principle and that there was a way to combine them in such way that you would get really good signals, however it was way too noisy.
While it could avoid major dumps that were not avoided by most indicators, it would lose that edge because of being too noisy.
After testing out many conditions, combinations & more, the best working one was this one:
WMA > KEWMA = long
WMA < KEWMA = short
I will explain this later, but this gave fast signals, and while it still was noisy it was better then before.
To smooth it out, I started testing price filters => Gaussian Filter and many more were tested out, but they either slowed it down to the point it was no longer of much use, or did not smooth it at all.
After testing the Kalman filter on this thing, I was shocked.
It was just right and made the indicator a lot better, smoothed it and kept most of the responsivness it had.
Now to the big question: "How is it calculated?"
Now first it needs to calculate the Kalman source, which smooths the source which will be used.
After that, we calculate the Weighted Moving Average for " n " period on the Kalman source.
Now that we have our WMA values, we need to calculate " a ".
a is calculated in the following formula:
a = 2/(1+ n )
where n is the user defined length
Now for the last part:
KEWMA = WMAyesterday * (1-a) + WMAtoday * a
This creates a very accurate and reactive indicator, that can prove useful in many uses, beyond those I will and did talk about.
For the trend logic as mentioned before:
Long = WMA > KEWMA
Short = WMA < KEWMA
This worked best, but you might find better ways of using it.
I think that is all I have to say about it, I left it open source so you can all code it in your strategies and play around with it.
Enjoy Gs!
PivotBoss Oscillator (PBOsc)PivotBoss Oscillator (PBOsc) – Description
The PivotBoss Oscillator (PBOsc) is a momentum-based indicator derived from the PivotBoss PEMA Method, designed to identify market bias, trend strength, and potential reversals across all timeframes and instruments.
Unlike traditional oscillators, PBOsc measures the differential among three pivot-based EMAs (fast, medium, and slow) relative to the pivot point (PP) of each bar, allowing it to self-adjust dynamically with current market volatility.
Calculation Logic
Pivot Point (PP):
𝑃
𝑃
=
(
𝐻
𝑖
𝑔
ℎ
+
𝐿
𝑜
𝑤
+
𝐶
𝑙
𝑜
𝑠
𝑒
)
/
3
PP=(High+Low+Close)/3
Pivot-Based EMAs:
Fast PEMA = EMA(PP, fast length)
Medium PEMA = EMA(PP, medium length)
Slow PEMA = EMA(PP, slow length)
Differentials:
Diff1 = Fast PEMA − Slow PEMA
Diff2 = Medium PEMA − Slow PEMA
Diff3 = Fast PEMA − Medium PEMA
Oscillator Value:
𝑃
𝐵
𝑂
𝑠
𝑐
=
(
𝐷
𝑖
𝑓
𝑓
1
+
𝐷
𝑖
𝑓
𝑓
2
+
𝐷
𝑖
𝑓
𝑓
3
)
/
𝑃
𝑃
PBOsc=(Diff1+Diff2+Diff3)/PP
Interpretation
Above Zero Line (0): Bullish bias; momentum favors the upside.
Below Zero Line (0): Bearish bias; momentum favors the downside.
Advancing Bars (Green): PBOsc rising → Strengthening trend or positive momentum.
Declining Bars (Red): PBOsc falling → Weakening trend or negative momentum.
Analytical Uses
Change of Bias: Detects short-term shifts in market sentiment.
Trending Markets: Measures pullbacks or continuations within ongoing trends.
Divergence: Divergence between price and PBOsc can signal potential reversals.
Default Settings
Default: (8, 13, 21)
Alternate Presets: (5, 8, 13), (13, 21, 34), (21, 34, 55)
3 emas + parallel channel (200 candles)It is an indicator designed for scalping, it has 3 configurable emas, which by default come the EMA of 10, 20 and 50 periods, it also draws a parallel channel of the last 200 candles of the graph.
Volume Profile with 8 EMAs and Ichimoku Cloud — Multi-Timeframe This script merges three proven concepts — Volume Profile, 8 customizable EMAs, and Ichimoku Cloud — into a single overlay that helps traders quickly identify **high-probability zones for entries and exits.
1. Volume Profile (Market Profile logic, Steidlmayer 1980s)
- Builds a horizontal histogram over the selected look-back period
- Highlights the **Point of Control (PoC) and Value Area (VA) where 68 % of volume traded
- Choose between **bullish, bearish, or both volume types
- Toggle **visible-range or fixed-bar mode
2. Eight Exponential Moving Averages
- Default lengths: 10, 25, 61, 78, 125, 150, 300, 500
- Each EMA can **trigger its own crossover alert** (up/down arrows on chart)
- Colors and thickness automatically scale with length for instant visual parsing
3. Ichimoku Cloud (Goichi Hosoda, 1930)
- Full cloud calculation: Tenkan, Kijun, Senkou A/B, Chikou
- Dynamic trend labels: “Bullish Trend” / “Bearish Trend” when price is above/below the cloud and TK cross agrees
- Cloud color reflects sentiment (green = bullish, red = bearish)
How to use
- Look for **confluence**: price inside Value Area + EMA stack aligned + Ichimoku cloud color match
- Use PoC as intraday support/resistance for scalps
- Enable only the **EMA alerts you actually trade** to avoid noise
This is not a simple mash-up**: the three modules are visually integrated so that Volume Profile levels, EMA slopes, and Ichimoku cloud boundaries can be compared at a glance without switching indicators.
SMA均线(抵扣价)&布林带SMA Moving Averages (Discount Price) & Bollinger B
脚本包含7条sma均线,支持自定义长度
均线包含抵扣价功能(使用方法可以youtube搜“抵扣价”)
增加布林带,支持自定义参数
The script includes 7 SMA moving averages with customizable lengths, and adds Bollinger Bands with customizable parameters.
AbdullahThis script is a **3-in-1 Combined Indicator** for Pine Script v6, merging three popular technical analysis tools into a single chart overlay. It's designed to provide a comprehensive view of trend direction, momentum, and volatility-based stops.
Here's a breakdown of the three components:
## 1. ZLSMA - Zero Lag LSMA (Zero Lag Least Squares Moving Average)
The ZLSMA is a fast-reacting moving average that aims to eliminate the lag typically associated with standard moving averages. It does this by calculating the difference between a standard **Least Squares Moving Average (LSMA)** and a smoothed version of that LSMA, then adding that difference back to the original LSMA.
* **Customizable Inputs:** Length, Offset, and Source Price.
* **Plot:** A thick yellow line indicating the zero-lag trend.
---
## 2. Chandelier Exit
The Chandelier Exit is a volatility-based tool that places a trailing stop either above the price (for a long trade exit) or below the price (for a short trade exit). It uses the **Average True Range (ATR)** to set the stop distance.
* **Key Function:** Identifies potential stop-loss levels and trend changes.
* **Customizable Inputs:** ATR Period, ATR Multiplier, and an option to use the Close price for extremum calculations.
* **Visuals:**
* Plots the **Long Stop (Green)** and **Short Stop (Red)** lines, which switch based on the current trend direction.
* Optional **Buy/Sell Labels** and **Highlighting** (shaded background) to clearly mark the current trend state (long or short).
---
## 3. Exponential Moving Average (EMA) with Optional Smoothing Bands
This section plots a standard **Exponential Moving Average (EMA)** and includes a unique feature to smooth the EMA's output using another moving average or Bollinger Bands.
* **EMA Plot:** A blue line representing the EMA, with customizable Length, Source, and Offset.
* **Optional Smoothing:** The EMA line itself can be smoothed by applying a secondary moving average (SMA, EMA, WMA, etc.) to the EMA's values.
* **Bollinger Bands Option:** If **SMA + Bollinger Bands** is selected for smoothing, it plots **Upper** and **Lower Bands** based on the standard deviation of the EMA, providing a visual envelope for volatility around the smoothed line.
Bitcoin Buy-the-Dip Line (Auto timeframe switch)Many people ask me when is the right time to buy Bitcoin. However, most of them have little trading experience and no time to study technical strategies or tools.
That’s why I created a simple and intuitive indicator — easy enough for anyone to use.
Usage 1 – Buy the Dip
This indicator works only on 4H, 1D, 1W, and 1M timeframes.
On each timeframe, you will see a single EMA line.
During a bull market, whenever the price dips below this EMA, it usually represents a good opportunity to buy the dip .
Usage 2 – Bull to Bear Transition
On the daily timeframe, if the price stays below the EMA and continues to make lower lows , it often signals that the market is transitioning into a bearish phase .
SFC Bollinger Band and Bandit StrategySFC Bollinger Band and Bandit Strategy
概述 (Overview)
SFC 布林通道與海盜策略 (SFC Bollinger Band and Bandit Strategy) 是一個基於 Pine Script™ v6 的技術分析指標,結合布林通道 (Bollinger Bands)、移動平均線 (Moving Averages) 以及布林海盜 (Bollinger Bandit) 交易策略,旨在為交易者提供多時間框架的趨勢分析與進出場訊號。該腳本支援風險管理功能,並提供視覺化圖表與交易訊號提示,適用於多種金融市場。
This script, written in Pine Script™ v6, combines Bollinger Bands, Moving Averages, and the Bollinger Bandit strategy to provide traders with multi-timeframe trend analysis and entry/exit signals. It includes risk management features and visualizes data through charts and trading signals, suitable for various financial markets.
Candle PlotUsed Linear Regression Candles by ugurvu
Added Regular and Heiken Ashi candles to choices
Added ability to choose timeframe but I find it does not look great when showing higher timeframes
To keep main chart less cluttered, I will add this indicator to my chart and then move a secondary indicator from the chart into it. You will need to pin the scale of the indicator to the scale of the Candle Plot.
Or, you can have the regular chart set to Regular candle and the Candle Plot set to Heiken Ashi or vice versa.
SMA RibbonThis indicator overlays multiple Simple Moving Averages (SMAs) on the price chart to help visualize both short- and long-term market trends. It includes five configurable SMA lines — 10, 21, 50, 100, and 200 periods by default — each plotted with distinct colors for quick differentiation.
Short-term averages (10 and 21) highlight near-term momentum, while medium- and long-term averages (50, 100, and 200) provide broader trend context and identify potential areas of dynamic support or resistance.
Users can easily adjust the period lengths and line thickness through the settings panel to fit different timeframes or trading styles.
Features
Plots 5 configurable SMAs (default: 10, 21, 50, 100, 200)
Adjustable line width and colors for visual clarity
Works seamlessly on any timeframe and instrument
Useful for identifying trend direction, strength, and key support/resistance zones
EMA Cross + Latest CRT + RSIWith the Help of this you can find stong crossover and weak crossover of bullish and Bearish
Moving Averages Power
-----------------------------------------------------------------------------
This is a README in Pine Script format for TradingView publication.
It contains usage docs in comments and a no-op plot so it uploads without issue.
For the actual indicator, use: moving_averages_simple.pine
-----------------------------------------------------------------------------
plot(na) no-op to keep the script valid without drawing anything
=============================================================================
Moving Averages (5–4320) — Trend + Normalized Strength
=============================================================================
Lightweight indicator that plots up to 15 SMAs (5 → 4320) and shows a compact
table with each MA’s:
- Slope % (per-bar)
- Trend (Bullish/Bearish/Neutral)
- Normalized “Strength” bars comparable across MA lengths and, optionally,
across timeframes via ATR%
Not financial advice. For research/education only.
----------------------------------------------------------------------------
Scope
----------------------------------------------------------------------------
- Simple Moving Averages (SMA) only
- Periods: 5, 10, 20, 30, 60, 120, 160, 240, 480, 720, 960, 1440, 1750, 2880, 4320
- Overlays lines + end-of-series labels; adds a 4×16 table (bottom-right)
- Strength normalization modes: None, Length, ATR%, Length+ATR%
----------------------------------------------------------------------------
Key Features
----------------------------------------------------------------------------
- 15 SMA lines on one chart
- Line/label/table colors reflect trend:
• Bullish (slope > 0): green
• Bearish (slope < 0): red
• Neutral (otherwise): gray
- Normalized Strength bars comparable across MA lengths and (optionally) across
timeframes via ATR%
- Show/hide any SMA; adjustable font sizes for labels and table
----------------------------------------------------------------------------
Installation (TradingView)
----------------------------------------------------------------------------
1) Open TradingView → any chart → Pine Editor
2) Create a new script and paste the contents of moving_averages_simple.pine
3) Save → Add to chart
4) Open Settings to customize inputs
(This README.pine is just documentation. It does not draw lines or the table.)
----------------------------------------------------------------------------
Usage
----------------------------------------------------------------------------
Table columns:
- MA: the moving average period
- Slope %: per-bar percent change of the MA
slope% = 100 × (MA − MA ) / MA
- Trend: Bullish (green), Bearish (red), Neutral (gray)
- Strength: a bar of ▮ characters, computed from normalized strength and
clamped to a max (default 10 bars)
Strength normalization (S):
- None: S = |slope%|
- Length: S = |slope%| × (length / normRefLen)
- ATR%: S = |slope%| / ATR%, where ATR% = 100 × ATR(atrLen) / close
- Length+ATR%: S = (|slope%| × (length / normRefLen)) / ATR%
Bars: bars = floor(S / strengthStep), clamped to maxStrengthBars
Notes:
- normRefLen (default 240) stabilizes Length scaling across very short/long MAs
- In ATR modes, Strength is blank until ATR is ready (requires atrLen bars)
----------------------------------------------------------------------------
Inputs (Settings)
----------------------------------------------------------------------------
- Display: 15 toggles to show/hide SMA 5 … SMA 4320
- Text Settings: Label font size; Table font size
- Strength Settings:
• Strength normalization: None | Length | ATR% | Length+ATR%
• Strength step (normalized units): sensitivity of bar count
• Max bars: clamp for bar count (default 10)
• Normalization reference length: baseline for Length scaling (default 240)
• ATR Length (for ATR% normalization): ATR lookback for ATR%
----------------------------------------------------------------------------
Recommended presets
----------------------------------------------------------------------------
Intraday (e.g., BTCUSD, 1h):
- Normalization: Length+ATR%
- normRefLen: 240
- Strength step: 0.02–0.05
- Max bars: 10
- ATR Length: 14
Daily (e.g., AAPL, 1D):
- Normalization: Length
- normRefLen: 240–480
- Strength step: 0.01–0.03
- Max bars: 10
----------------------------------------------------------------------------
Calibration tips
----------------------------------------------------------------------------
Bars often maxed (pegged)?
- Increase Strength step (e.g., 0.01 → 0.03 → 0.05)
- Or increase normRefLen (e.g., 240 → 480 → 720)
Bars too few?
- Decrease Strength step (e.g., 0.02 → 0.01 → 0.005)
- Or decrease normRefLen (e.g., 240 → 120)
Cross-timeframe comparability:
- Prefer Length+ATR%; start with Strength step ≈ 0.02–0.05 and tune
----------------------------------------------------------------------------
Limitations
----------------------------------------------------------------------------
- SMA only (no EMA/WMA/etc.)
- Per-bar slope is timeframe-sensitive; use ATR% or Length+ATR% for better
cross-timeframe comparisons
- ATR modes require atrLen bars; Strength shows blank until ready
- Longest SMA (4320) needs sufficient chart history
----------------------------------------------------------------------------
Troubleshooting
----------------------------------------------------------------------------
- Strength always maxed:
• Using Length mode with too-small step → increase step and/or use Length+ATR%
• Review normRefLen (higher ref length dampens long MAs)
- Strength blank cells:
• In ATR modes, wait for atrLen bars or use Length mode
- Table bounds:
• If you customize periods or table size in the main script, keep header at
row 0 and at most 15 data rows (4×16 table)
----------------------------------------------------------------------------
Compatibility
----------------------------------------------------------------------------
- Pine Script v6
- Works on most symbols/timeframes with adequate history
----------------------------------------------------------------------------
Credits & Feedback
----------------------------------------------------------------------------
If you find this useful, consider sharing your preferred defaults (symbol/
timeframe) so better presets can be added. PRs/issues welcome in the repo.
TT ToniTrading Adjustable Price Fee Band [%]Simple but perfectly functional indicator with Trading fee bands.
Crypto Trading is with fees and very small trades often don't make sense due to the fees we need to pay. With this band you can visualize your fees before entering a trade and take smarter decisions for tight daytrading and scalping.
You type in the fee for just one trade, the Taker Fee for a Market Order. The bands show the fees in % times 2, so what you will pay for opening and closing the trade in reality. The band therefore shows the real break-even point, with included payed fees.
It additionally helps taking trading decisions or not with very small trades (Scalping).
You can smooth the bands if you want and you can addtionally show the true datapoints if you prefer smoothend bands. I recommend no bigger smoothing than 2, if you don't want to show the datapoints. Additionally you can fill the band, and of course adjust transperency, colour and all the general TradingView stuff.
Fee Overview in the current market for the indicator input field:
BingX with 10% fee reduction code = 0,045 %
BingX: Normal = 0,050 %
Bitget, ByBit, BitUnix, Blofin, Phemex: Normal = 0,060 %
Bitget, ByBit, BitUnix, Blofin, Phemex: with 20% fee reduction code = 0,048 %
Have fun Trading, Happy Profits!
Greetings
ToniTrading
Moving Averages PowerMoving Averages Power — Trend + Normalized Strength
Lightweight indicator that plots up to 15 SMAs (5 → 4320) and shows a compact table with each MA’s:
Slope % (per-bar)
Trend (Bullish/Bearish/Neutral)
Normalized “Strength” bars comparable across MA lengths and, optionally, across timeframes via ATR%
Not financial advice. For research/education only.
What it does
Plots 15 SMA lines on the price chart
Colors match trend: Bullish (green), Bearish (red), Neutral (gray)
Bottom-right table: MA, Slope %, Trend, Strength bars
Strength normalization modes:
None: raw |slope%|
Length: scales by length relative to a reference length
ATR%: scales by volatility (ATR as % of price)
Length+ATR%: combines both for better cross-timeframe comparability
How it works (concepts)
Slope % per bar: 100 × (MA − MA ) / MA
Normalization:
None: S = |slope%|
Length: S = |slope%| × (length / normRefLen)
ATR%: S = |slope%| / ATR%, where ATR% = 100 × ATR(atrLen) / close
Length+ATR%: S = (|slope%| × (length / normRefLen)) / ATR%
Bars: floor(S / strengthStep), clamped to Max bars (default 10)
Notes:
normRefLen (default 240) keeps Length scaling stable across very short and very long MAs
In ATR modes, Strength shows blank until there’s enough history for ATR
How to use
Add the indicator to your chart (Indicators → search this title → Add).
Open Settings:
Show/hide any of the 15 SMAs
Choose Strength normalization mode
Tune Strength step, Max bars, Reference length, and ATR Length
Read the table:
MA: period
Slope %: per-bar percent change of the MA
Trend: green (bullish), red (bearish), gray (neutral)
Strength: more bars = stronger trend under the chosen normalization
Inputs (quick reference)
Display:
15 toggles: Show SMA 5 … Show SMA 4320
Strength Settings:
Strength normalization: None | Length | ATR% | Length+ATR%
Strength step (normalized units): sensitivity of bar count
Max bars: clamp for the bar count (default 10)
Normalization reference length: baseline for Length scaling (default 240)
ATR Length (for ATR%): ATR lookback used for ATR%
Text:
Label font size, Table font size
Line + label colors
Bullish (slope > 0): green
Bearish (slope < 0): red
Neutral (otherwise): gray
The MA lines, end-of-series labels, and table trend cell use the same colors
Recommended presets (examples)
Intraday (e.g., BTCUSD, 1h):
Strength normalization: Length+ATR%
normRefLen: 240
Strength step: 0.02–0.05
Max bars: 10
ATR Length: 14
Daily (e.g., AAPL, 1D):
Strength normalization: Length
normRefLen: 240–480
Strength step: 0.01–0.03
Max bars: 10
Calibration tips
Bars often at max (pegged)?
Increase Strength step (e.g., 0.01 → 0.03 → 0.05)
Or increase normRefLen (e.g., 240 → 480 → 720)
Bars too few?
Decrease Strength step (e.g., 0.02 → 0.01 → 0.005)
Or decrease normRefLen (e.g., 240 → 120)
Cross-timeframe comparability:
Prefer Length+ATR%; start with Strength step ≈ 0.02–0.05 and tune
Limitations
SMA only (no EMA/WMA/etc.)
Per-bar slope is inherently timeframe-sensitive; use ATR% or Length+ATR% for better cross-timeframe comparisons
ATR modes require atrLen bars; Strength shows blank until ready
The longest SMA (4320) needs sufficient chart history
Troubleshooting
Strength always looks maxed:
You might be on Length mode with a very small step; increase Strength step and/or use Length+ATR%; review normRefLen
Strength blank cells:
In ATR modes, wait for enough history (atrLen) or switch to Length mode
Table bounds:
The script manages rows internally; if you customize periods, ensure the total rows fit the 4×16 table
Compatibility
Pine Script v6
Works on most symbols/timeframes with adequate history
If you find this useful, consider leaving feedback with your preferred defaults (symbol/timeframe) so I can provide better presets.
Trend Flow Trend Flow — by Volume Hub
A clean momentum-based trend map built around EMA 21, EMA 50, and EMA 200.
TrendFlow helps you instantly see whether price is flowing with the trend or fighting against it.
When price trades above the short-term EMAs, momentum is bullish — when it falls below, the flow reverses.
🟢 How to use
Buy bias: when price is above EMA 21 & EMA 50 and both are aligned above the EMA 200.
The green zone between 21 & 50 acts as a dynamic support channel — ideal for pullback entries.
Sell bias: when price is below EMA 21 & EMA 50 and both are under the EMA 200.
The red zone highlights a resistance channel — look for rejection or continuation setups.
Neutral zone: when EMAs are tangled or flat — stay patient until structure expands again.
⚙️ Features
Soft, low-opacity EMA 21 & 50 for clear channel view
Dynamic EMA 200 color shift (green = bullish / red = bearish / gray = neutral)
Automatic color fill between EMA 21 & 50 for instant trend-strength feedback
🎯 Purpose
Designed for traders who prefer clean price structure and disciplined trend confirmation.
Use TrendFlow as your core directional filter — pair it with your own entry logic, liquidity zones, or volume confirmations.
📈 Created by: Volume Hub
Moving Average Convergence-Divergence (MACD)This script implements the Moving Average Convergence-Divergence (MACD), a popular momentum indicator used in technical analysis to identify trend direction, momentum shifts, and potential buy/sell signals.
🔹 Key Features
1. Inputs & Customization
MACD Lines Toggle: Enable/disable the MACD and signal lines.
Source Price: Defaults to close but can be adjusted (e.g., open, high, low, hl2).
Fast Length (12): The period for the faster-moving EMA.
Slow Length (26): The period for the slower-moving EMA.
Signal Length (9): The smoothing period for the signal line.
2. Calculations
Computes the MACD Line (fast EMA - slow EMA).
Computes the Signal Line (EMA of the MACD line).
Computes the Histogram (difference between MACD and Signal lines).
3. Visual Indicators
Zero Line: A white horizontal line at 0 for reference.
MACD Line: Plotted in green when above the signal line, red when below.
Signal Line: Displayed as a yellow line.
Histogram:
Green bars when MACD > Signal (bullish momentum).
Red bars when MACD < Signal (bearish momentum).
Background Highlights:
Light green on bullish crossovers (MACD crosses above Signal).
Light red on bearish crossunders (MACD crosses below Signal).
4. Alerts
Triggers when:
Bullish Crossover (MACD crosses above Signal).
Bearish Crossunder (MACD crosses below Signal).
🔹 How Traders Use This Indicator
Trend Identification:
MACD above zero → bullish trend.
MACD below zero → bearish trend.
Momentum Signals:
Bullish Crossover (Buy Signal): MACD crosses above Signal.
Bearish Crossunder (Sell Signal): MACD crosses below Signal.
Divergence (Not in this script, but useful):
Price makes higher highs, but MACD makes lower highs → Potential reversal.
🔹 Strengths of This Script
✅ Clean and Efficient Code – Uses Pine Script v6 best practices.
✅ Customizable Inputs – Adjust lengths and source price.
✅ Clear Visuals – Color-coded for easy interpretation.
✅ Built-in Alerts – For automated trading strategies.
Jul 1
Release Notes
This script implements the Moving Average Convergence-Divergence (MACD), a popular momentum indicator used in technical analysis to identify trend direction, momentum shifts, and potential buy/sell signals.
🔹 Key Features
1. Inputs & Customization
MACD Lines Toggle: Enable/disable the MACD and signal lines.
Source Price: Defaults to close but can be adjusted (e.g., open, high, low, hl2).
Fast Length (12): The period for the faster-moving EMA.
Slow Length (26): The period for the slower-moving EMA.
Signal Length (9): The smoothing period for the signal line.
2. Calculations
Computes the MACD Line (fast EMA - slow EMA).
Computes the Signal Line (EMA of the MACD line).
Computes the Histogram (difference between MACD and Signal lines).
3. Visual Indicators
Zero Line: A white horizontal line at 0 for reference.
MACD Line: Plotted in green when above the signal line, red when below.
Signal Line: Displayed as a yellow line.
Histogram:
Green bars when MACD > Signal (bullish momentum).
Red bars when MACD < Signal (bearish momentum).
Background Highlights:
Light green on bullish crossovers (MACD crosses above Signal).
Light red on bearish crossunders (MACD crosses below Signal).
4. Alerts
Triggers when:
Bullish Crossover (MACD crosses above Signal).
Bearish Crossunder (MACD crosses below Signal).
🔹 How Traders Use This Indicator
Trend Identification:
MACD above zero → bullish trend.
MACD below zero → bearish trend.
Momentum Signals:
Bullish Crossover (Buy Signal): MACD crosses above Signal.
Bearish Crossunder (Sell Signal): MACD crosses below Signal.
Divergence (Not in this script, but useful):
Price makes higher highs, but MACD makes lower highs → Potential reversal.
🔹 Strengths of This Script
✅ Clean and Efficient Code – Uses Pine Script v6 best practices.
✅ Customizable Inputs – Adjust lengths and source price.
✅ Clear Visuals – Color-coded for easy interpretation.
✅ Built-in Alerts – For automated trading strategies.
SMA 20 50 100A clean and lightweight SMA indicator that plots 20, 50, and 100 simple moving averages with customizable colors and line widths. Includes an optional label showing the latest SMA values for quick reference. Ideal for trend confirmation and swing trading setups.
Simple Moving Averages (20, 50, 100)A clean and lightweight SMA indicator that plots 20, 50, and 100 simple moving averages with customizable colors and line widths. Includes an optional label showing the latest SMA values for quick reference. Ideal for trend confirmation and swing trading setups.