Rube Goldberg Top/Bottom Finder [theUltimator5]This is what I call the Rube Goldberg Top and Bottom Finder. It is an overly complex method of plotting a simple buy or sell label on a chart.
I utilize several standard TA techniques along with several of my own to try and locate ideal Buy/Sell conditions. I came up with the name because there are way too many conditional variables to come up with a single buy or sell condition, when most standard indicators use simple crossovers or levels.
There are two unique triggers that are calculated using completely independent techniques. If both triggers turn true within a small timeframe between each other, the buy/sell trigger turns true and plots a "buy" or "sell" label on the chart.
This indicator was designed to be fully functioning out of the box and can be customized only if the user wishes to. It is effective on all timeframes, but longer timeframes (daily +) may require signal length adjustment for best results.
imgur.com
The signals used in the leading trigger are as follows:
(1)RSI
The user can select among any of the following moving averages (base is EMA) (#3) , and have an RSI generated at a user defined length (base is 14). (#4)
SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HMA, LSMA, ALMA
The user can select whether or not the RSI is filtered with the following options:
None, Kalman, Double EMA, ALMA
The filter conditions are hard coded to minimize the amount of selections that the user is required to make to reduce the user interface complexity.
The user can define overbought (base 70) and oversold (base 30) conditions. (#2)
When the RSI crosses above or below the threshold values, the plot will turn red. This creates condition 1 of the leading trigger.
(2) ADX and DI
This portion of the indicator is a derivative of my ADX Divergence and Gap Monitor indicator.
This technique looks at the ADX value as well as for spikes in either +DI or -DI for large divergences. When the ADX reaches a certain threshold and also outpaces a preset ADX moving average, this creates condition 2 of the leading trigger.
There is an additional built-in functionality in this portion of the indicator that looks for gaps. It triggers when the ADX is below a certain threshold value and either the +DI or -DI spike above a certain threshold value, indicating a sudden gap in price after a period of low volatility.
The user can set whether or nor to show when a gap appears on the chart or as a label on the plot below the chart (disabled by default) . If the user chooses to overlay gaps on the chart, it creates a horizontal fill showing the starting point of the gap. The theory here is that the price will return at some point in the near future to the starting point of the gap.
imgur.com
(3) DI based Multi-Symbol reference and divergence
Part of the script computes both the +DI (positive directional index) and -DI (negative directional index) for the currently selected chart symbol and three reference symbols.
The averaged directional move of the reference symbols are compared to the current ticker on your chart and if the divergence exceeds a certain threshold, then the third condition of the trigger is met.
The components that are referenced are based on what stock/chart you are looking at. The script automatically detects if you are looking at a crypto, and uses a user selectable toggle between Large Cap or Small Cap. (#1) The threshold levels are determined by the asset type and market cap.
The leading trigger highlights under several conditions:
1) All (3) portions of the trigger result in true simultaneously
OR
2) Any of triggers 2 or 3 reach a certain threshold that indicates extreme market/price divergence as well as trigger 1 being overbought or oversold.
AND
3) If the trigger didn't highlight
For the lagging part of the trigger:
The lagging trigger is used as a confirmation after the leading trigger to indicate a possible optimized entry/exit point. It can also be used by itself, as well as the leading indicator.
The lagging indicator utilizes the parabolic Stop And Reverse (SAR). It utilizes the RSI length that is defined in portion 1 of the leading trigger as well as the overbought and oversold thresholds. I have found excellent results in catching reversals because it catches rate-of-change events rather than price reversals alone.
imgur.com
When both the leading triggers FOLLOWED BY the lagging trigger result in true within a user defined timeframe, then the buy or sell trigger results in true, plotting a label on the chart.
All portions of the leading and lagging indicators can be toggled on or off, but most of them are toggled off by default in order to reduce noise on the plot.
imgur.com
The leading, lagging, and buy/sell triggers each have built-in alerts that can be toggled on or off in the alert menu.
I have an optional built-in toggle to show green or red dots on the RSI line using two separate RSI lengths that are amplified and plot based on RSI divergence and strength. This can be used as a visual confirmation (or rejection) against the chart overlay plots.
imgur.com
This indicator is not a strategy, so there are no built-in exits or stop losses.
Oscillators
Kinetic Price Momentum Oscillator📈 Kinetic Price Momentum Oscillator (Sri-PMO)
Author's Note:
This script is an educational and custom-adapted visualization based on the concept of the Price Momentum Oscillator (PMO). It is not a direct clone of any proprietary implementation, and it introduces enhancements such as timeframe sensitivity, customizable smoothings, multi-timeframe analysis, and visual trend meters.
🔍 Overview:
The Kinetic Price Momentum Oscillator (Kinetic-PMO) is a dynamic momentum indicator that analyzes price rate of change smoothed with dual exponential moving averages. It offers a clear view of momentum trends across multiple timeframes—the chart's current timeframe, the 1-hour timeframe, and the 1-day timeframe. It includes optional visual cues for zero-line crossovers, trend ribbon fills, and a daily trend meter.
🧮 Calculation Logic:
At its core, Kinetic-PMO calculates momentum by:
Measuring Rate of Change (ROC) over 1 bar.
Applying double EMA smoothing:
The first smoothing (len1) smooths the ROC.
The second smoothing (len2) smooths the result further.
This produces the main KPMO Line.
A third EMA (sigLen) is applied to the KPMO line to produce the Signal Line.
The formula includes a multiplier of 10 to scale values.
pinescript
Copy
Edit
roc = ta.roc(source, 1)
kmo = ta.ema(10 * ta.ema(roc, len1), len2)
signal = ta.ema(kmo, sigLen)
To allow responsiveness across timeframes, the script provides sensitivity inputs (sensA, sensB, sensC) which dynamically scale the smoothing lengths for different contexts:
Intraday (current chart timeframe)
Hourly (1H)
Daily (1D)
🧭 Features:
✅ Multi-Timeframe Calculation:
Intraday: Based on current chart resolution
1H: PMO for the hourly trend
1D: Daily trend meter using KPMO structure
✅ Trend Identification:
Green if PMO is above Signal Line (bullish)
Red if PMO is below Signal Line (bearish)
Daily Trend Meter includes nuanced color mapping:
Lime = Bullish above zero
Orange = Bullish below zero
Red = Bearish below zero
Yellow = Bearish above zero
✅ Custom Visual Enhancements:
Optional filled ribbons between KPMO and Signal
Optional zero-line crossover background highlight
Compact daily trend meter displayed as a color-coded shape
🛠 Customization Parameters:
Input Description
Primary Smoothing Controls ROC smoothing depth (1st EMA)
Secondary Smoothing Controls final smoothing (2nd EMA)
Signal Smoothing Controls EMA of the PMO line
Input Source Default is close, but any price type can be selected
Sensitivity Factors Separate multipliers for intraday, 1H, and 1D
Visual Settings Toggle zero-line highlight and ribbon fill
🧠 Intended Use:
The Kinetic-PMO is suitable for trend confirmation, momentum divergence detection, and entry/exit refinement. The multi-timeframe aspect helps align short-term and long-term momentum trends, supporting better trade decision-making.
⚖️ Legal & Attribution Statement:
This script was independently created and modified for educational and analytical purposes. While the concept of the PMO is inspired by technical analysis literature, this implementation does not copy or reverse-engineer any proprietary code. It introduces custom parameters, visualization enhancements, and multi-timeframe logic. Posting this script complies with TradingView’s policy on derivative work and educational indicators.
RSI Momentum (Factored by OBV Change)This is a simple indicator that shows two RSI lines. One "normal RSI" and one that is factored by change in OBV, indicating whether volume supports the move.
Feel free to comment on how you utilize the indicator.
All the best!
Trend Volatility Index (TVI)Trend Volatility Index (TVI)
A robust nonparametric oscillator for structural trend volatility detection
⸻
What is this?
TVI is a volatility oscillator designed to measure the strength and emergence of price trends using nonparametric statistics.
It calculates a U-statistic based on the Gini mean difference across multiple simple moving averages.
This allows for objective, robust, and unbiased quantification of trend volatility in tick-scale values.
⸻
What can it do?
• Quantify trend strength as a continuous value aligned with tick price scale
• Detect trend breakouts and volatility expansions
• Identify range-bound market states
• Detect early signs of new trends with minimal lag
⸻
What can’t it do?
• Predict future price levels
• Predict trend direction before confirmation
⸻
How it works
TVI computes a nonparametric dispersion metric (Gini mean difference) from multiple SMAs of different lengths.
As this metric shares the same dimension as price ticks, it can be directly interpreted on the chart as a volatility gauge.
The output is plotted using candlestick-style charts to enhance visibility of change rate and trend behavior.
⸻
Disclaimer
TVI does not predict price. It is a structural indicator designed to support discretionary judgment.
Trading carries inherent risk, and this tool does not guarantee profitability. Use at your own discretion.
⸻
Innovation
This indicator introduces a novel approach to trend volatility by applying U-statistics over time series
to produce a nonparametric, unbiased, and robust estimate of structural volatility.
日本語要約
Trend Volatility Index (TVI) は、ノンパラメトリックなU統計量(Gini平均差)を使ってトレンドの強度を客観的に測定することを目的に開発されたボラティリティ・オシレーターです。
ティック単位で連続的に変化し、トレンドのブレイク・レンジ・初動の予兆を定量的に検出します。
未来の価格や方向は予測せず、現在の構造的ばらつきだけをロバストに評価します。
Technical Signal Master概要
このインジケーターは、30種類以上のテクニカル指標を自動で分析し、「買い」「売り」「中立」に分類して視覚的なテーブル形式で表示します。
トレンド・モメンタム・ボリューム・オシレーターなどを横断的に統合し、裁量トレーダーの意思決定を補助することを目的としています。
🔍 独自性(オリジナリティ)と設計思想
単なるマッシュアップではなく、カテゴリ別に機能分類された構造
Pine Scriptが読めないユーザーでも視覚的に判断できる設計
全指標の同時出力を整理・要約し、チャート上の混乱を回避
EMA群(20/50/75/100/200)・TDI・CCI・Force Indexなど高度な構成
🧭 使用方法
チャートに追加すると、左下にテーブル形式のシグナル判定表が表示されます
テーブルの各行には「買い」「売り」「中立」のいずれかが表示され、判断の補助となります
同じ方向のシグナルが多い場合、その方向への優位性が高いと判断できます
スキャル・デイトレ・スイングのすべてで活用可能です
✅ 推奨される活用場面
複数インジケーターの同時判断(コンフルエンス)
トレード前の環境認識や、逆張り時の過熱感の確認
ファンダメンタルズ判断と併用したテクニカル裏付け
📌 注意事項
このスクリプトは単体で使用可能です。他のスクリプトと併用する必要はありません
Overview
Technical Signal Master automatically analyzes 30+ technical indicators and summarizes their states in a visual signal table with "Buy", "Sell", or "Neutral" results. It combines trend, momentum, oscillator, and volume-based tools into a single panel to support discretionary traders.
🔍 Originality
Not a simple mashup: indicators are categorized and structured logically
Designed for users who cannot read Pine Script
Summarizes all signals clearly without overlapping chart clutter
Includes advanced tools like EMA sets, CCI, TDI, Force Index, etc.
🧭 How to Use
Add the script to any chart
Signal table will appear in the corner of the screen
When multiple signals align in the same direction, it suggests a high-probability setup
Useful for scalping, day trading, and swing trading alike
✅ Best Use Cases
Signal confluence analysis
Overbought/oversold confirmation
Visual risk management and bias confirmation
📌 Note
This script is standalone; no other scripts are needed
Stoch RSI Approaching Zones (Dots)🧠 Stoch RSI Strategy with Trend Filter, Risk Management & Early Signal Visualization
This strategy combines Stochastic RSI signals with a 200 EMA trend filter and risk-based position sizing to create a well-rounded approach for both long and short trades. It includes built-in take profit / stop loss logic and supports early exits based on momentum shifts.
🔧 Key Features:
Stoch RSI-Based Entries
Long: %K crosses above 20
Short: %K crosses below 80
Optional Trend Filter
Longs only when price is above the 200 EMA
Shorts only when price is below the 200 EMA
Risk Management
Position sizing based on risk percentage of initial capital
Customizable stop loss and take profit (%)
Early Exit Logic
Closes positions if %K crosses back through key levels (80 for longs, 20 for shorts)
Visual Tools
Optional plot of Stoch RSI %K and %D
Horizontal markers for overbought (80) and oversold (20) zones
Approaching Signal Indicator (Add-On)
Aqua and fuchsia dots plotted on the chart when %K is approaching overbought (70–80) or oversold (20–30) zones, helping spot momentum before a crossover occurs.
Alerts Ready
Entry, exit, and early-exit alerts built in
📈 Best used across multiple timeframes—some assets (like AAPL) may respond especially well depending on the timeframe. The 200 EMA filter alone significantly improves signal quality, and the "approaching zone" dots can help traders prepare for moves in advance.
Golden chart v1## Golden Chart v1 – Trend Tracking & Signal Visualization Tool
**Version**: v1
**Pine Script**: version=5
**Visibility**: Invite-only
### Overview
Golden Chart v1 combines EMA-based trend bands (Golden Chart 2) with ATR-derived dynamic levels (Golden Chart 3) to help traders identify potential trend phases, visualize BUY/SELL signals, and color candles by trend direction.
### Key Features
- **Golden Chart 2 (EMA bands)**
- Calculates `emaHigh` & `emaLow` using `gc2_ema_period` (default 10)
- Determines SSL-style trend lines `sslUp` & `sslDown`
- **Golden Chart 3 (ATR levels)**
- Computes weighted ATR (`avgTR`) over `gc3_length` (default 13)
- Sets dynamic levels `hiLimit` & `loLimit` with `gc3_multiplier` (default 2.0)
- Plots `ret` line as the active trend level
- **Trade Signals**
- `BUY` label on bullish cross (`sslUp` → `sslDown` + close>open)
- `SELL` label on bearish cross (`sslDown` → `sslUp` + close **Request:** Invite-only v1 review for House Rules approval. Thank you!
Volume Flow OscillatorVolume Flow Oscillator
Overview
The Volume Flow Oscillator is an advanced technical analysis tool that measures buying and selling pressure by combining price direction with volume. Unlike traditional volume indicators, this oscillator reveals the force behind price movements, helping traders identify strong trends, potential reversals, and divergences between price and volume.
Reading the Indicator
The oscillator displays seven colored bands that fluctuate around a zero line:
Three bands above zero (yellow) indicate increasing levels of buying pressure
Three bands below zero (red) indicate increasing levels of selling pressure
The central band represents the baseline volume flow
Color intensity changes based on whether values are positive or negative
Trading Signals
The Volume Flow Oscillator provides several valuable trading signals:
Zero-line crossovers: When multiple bands cross from negative to positive, potential bullish shift; opposite for bearish
Divergences: When price makes new highs/lows but oscillator bands fail to confirm, signals potential reversal
Volume climax: Extreme readings where outer bands stretch far from zero often precede reversals
Trend confirmation: Strong expansion of bands in direction of price movement confirms genuine momentum
Support/resistance: During trends, bands may remain largely on one side of zero, showing continued directional pressure
Customization
Adjust these key parameters to optimize the oscillator for your trading style:
Lookback Length: Controls overall sensitivity (shorter = more responsive, longer = smoother)
Multipliers: Adjust sensitivity spread between bands for different market conditions
ALMA Settings: Fine-tune how the indicator weights recent versus historical data
VWMA Toggle: Enable for additional smoothing in volatile markets
Best Practices
For optimal results, use this oscillator in conjunction with price action and other confirmation indicators. The multi-band approach helps distinguish between minor fluctuations and significant volume events that might signal important market turns.
Real-Time RSI Map (RT-RSI)🌀 Real-Time RSI Map (RT-RSI) is an enhanced RSI-based indicator designed to address key limitations of the traditional Relative Strength Index. It specifically solves two major issues:
✅ Real-time tracking of RSI dynamics in relation to price – RRSI captures price levels where RSI briefly enters extreme overbought or oversold zones during the trading session, allowing traders to assess actual intraday "buy/sell" signals rather than relying solely on the closing RSI value.
✅ Fills the gap where RSI spikes intraday but closes neutral – Traditional RSI often misses significant intraday movements that reverse before close. RRSI records these temporary extremes, helping traders detect valuable signals that would otherwise be lost.
📌 Key Benefits:
Identifies price points corresponding to momentary RSI extremes, revealing hidden opportunities
Helps distinguish between true overbought/oversold moves and false breakouts
Especially valuable for active traders and intraday strategies as a real-time signal reference
📐 Fully customizable and compatible with other indicators like RSI, Bollinger Bands, and MACD to build more complete entry/exit systems.
Macd, Wt Cross & HVPMacd Wt Cross & HVP – Advanced Multi-Signal Indicator
This script is a custom-designed multi-signal indicator that brings together three proven concepts to provide a complete view of market momentum, reversals, and volatility build-ups. It is built for traders who want to anticipate key market moves, not just react to them.
Why This Combination ?
While each tool has its strengths, their combined use creates powerful signal confluence.
Instead of juggling multiple indicators separately, this script synchronizes three key perspectives into a single, intuitive display—helping you trade with greater clarity and confidence.
1. MACD Histogram – Momentum and Trend Clarity
At the core of the indicator is the MACD histogram, calculated as the difference between two exponential moving averages (EMAs).
Color-coded bars represent momentum direction and intensity:
Green / blue bars: bullish momentum
Red / pink bars: bearish momentum
Color intensity shows acceleration or weakening of trend.
This visual makes it easy to detect trend shifts and momentum divergence at a glance.
2. WT Cross Signals – Early Reversal Detection
Overlaid on the histogram are green and red dots, based on the logic of the WaveTrend oscillator cross:
Green dots = potential bullish cross (buy signal)
Red dots = potential bearish cross (sell signal)
These signals are helpful for identifying reversal points during both trending and ranging phases.
3. Historical Volatility Percentile (HVP) – Volatility Compression Zones
Behind the histogram, purple vertical zones highlight periods of low historical volatility, based on the HVP:
When volatility compresses below a specific threshold, these zones appear.
Such periods are often followed by explosive price moves, making them prime areas for pre-breakout positioning.
By integrating HVP, the script doesn’t just tell you where the trend is—it tells you when the trend is likely to erupt.
How to Use This Script
Use the MACD histogram to confirm the dominant trend and its strength.
Watch for WT Cross dots as potential entry/exit signals in alignment or divergence with the MACD.
Monitor HVP purple zones as warnings of incoming volatility expansions—ideal moments to prepare for breakout trades.
Best results occur when all three elements align, offering a high-probability trade setup.
What Makes This Script Original?
Unlike many mashups, this script was not created by simply merging indicators. Each component was carefully integrated to serve a specific, complementary purpose:
MACD detects directional bias
WT Cross adds precision timing
HVP anticipates volatility-based breakout timing
This results in a strategic tool for traders, useful on multiple timeframes and adaptable to different trading styles (trend-following, breakout, swing).
ADX EMA's DistanceIt is well known to technical analysts that the price of the most volatile and traded assets do not tend to stay in the same place for long. A notable observation is the recurring pattern of moving averages that tend to move closer together prior to a strong move in some direction to initiate the trend, it is precisely that distance that is measured by the blue ADX EMA's Distance lines on the chart, normalized and each line being the distance between 2, 3 or all 4 moving averages, with the zero line being the point where the distance between them is zero, but it is also necessary to know the direction of the movement, and that is where the modified ADX will be useful.
This is the well known Directional Movement Indicator (DMI), where the +DI and -DI lines of the ADX will serve to determine the direction of the trend.
Gap Reversal Signal with Indicators🔍 Gap Reversal Signal with Indicators — 結合 KD、MACD、SAR 與背離分析的多功能指標
🔍 Gap Reversal Signal with Indicators — A Multi-Tool Signal Indicator Combining KD, MACD, SAR, and Divergence Analysis
中文說明:
本指標結合多種常用技術分析工具,包括 KD 隨機指標、MACD 動能交叉、SAR 趨勢方向、以及 MACD 背離偵測,用以辨識潛在的價格反轉區域。適用於日內交易與波段操作,支援各類市場,如加密貨幣、股票與外匯等。
English Description:
This indicator combines several popular technical tools: Stochastic KD, MACD momentum crossovers, SAR trend direction, and MACD divergence detection. It helps traders identify potential reversal areas and is ideal for both intraday and swing trading. Works well on crypto, stocks, and forex markets.
🧠 功能特點 | Key Features
✅ KD指標(慢速隨機指標)檢測超買超賣並提供%K與%D交叉訊號
✅ Stochastic KD (slow) to detect overbought/oversold zones and crossover signals
✅ MACD金叉/死叉與零軸突破捕捉趨勢轉變與動能反轉
✅ MACD Crossovers + Zero-Line Breaks to capture trend changes and momentum reversals
✅ SAR指標即時顯示多空方向
✅ Parabolic SAR for real-time trend direction indication
✅ MACD背離偵測協助辨識潛在反轉區域
✅ MACD Divergence Detection for identifying hidden trend reversals
✅ 圖形提示與標籤提示可視化呈現各類訊號
✅ Visual Alerts and Labels for easy and quick signal recognition
📈 支援市場 | Supported Markets
📊 台股 / 美股 / 外匯 / 加密貨幣
📊 Taiwan Stocks / US Stocks / Forex / Cryptocurrencies (e.g. BTC, ETH)
🔧 推薦用法 | Recommended Use
搭配缺口策略與支撐壓力位使用
Use with gap-trading strategies and support/resistance zones
用於盤整末期或趨勢反轉的提示
Helpful for end-of-consolidation signals or trend reversals
支援短線與波段交易風格
Suitable for scalping and swing trading styles
💡 把這個指標加入你的圖表,立即體驗多重技術分析所帶來的交易優勢!
💡 Add this indicator to your chart now and experience the power of multi-tool technical analysis!
Stochastic XThe "Stochastic X" script is a customizable momentum oscillator designed to help traders identify potential overbought and oversold conditions, as well as trend reversals, by analyzing the relationship between a security's closing price and its price range over a specified period. This indicator is particularly useful for traders looking to fine-tune their entry and exit points based on momentum shifts.
🔧 Indicator Settings and Customization
The script offers several user-configurable settings to tailor the indicator to specific trading strategies:
In addition to the source type, %K Period, %D Period, and Signal line periods you can now change moving average calculation for the stochastic and signal lines.
This script allows selection among various moving average methods (e.g., SMA, EMA, WMA, T3) for smoothing the %K and signal lines. Different methods can affect the responsiveness of the indicator.
🎨 Interpreting Background Colors
The script enhances visual analysis by changing the background color of the indicator panel based on the %K line's value:
Green Background: Indicates that the %K line is above 50, suggesting bullish momentum.
Red Background: Signifies that the %K line is below 50, pointing to bearish momentum.
Light Green Overlay: Appears when the %K line exceeds 80, highlighting overbought conditions.
Light Red Overlay: Shows up when the %K line falls below 20, indicating oversold conditions.
These visual cues assist traders in quickly assessing market momentum and potential reversal.
📈 Trading Strategies Using Stochastic X
Traders can utilize the Stochastic X indicator in various ways:
Overbought/Oversold Conditions:
A %K value above 80 may suggest that the asset is overbought, potentially signaling a price correction.
A %K value below 20 could indicate that the asset is oversold, possibly leading to a price rebound.
Signal Line Crossovers:
When the %K line crosses above the signal line, it may be interpreted as a bullish signal.
Conversely, a %K line crossing below the signal line might be seen as a bearish signal.
Divergence Analysis:
If the price makes a new high while the %K line does not, this bearish divergence could precede a price decline.
If the price hits a new low but the %K line forms a higher low, this bullish divergence might signal an upcoming price increase.
Trend Confirmation:
Sustained %K values above 50 can confirm an uptrend.
Persistent %K values below 50 may validate a downtrend.
In this chart, observe how the background colors change in response to the %K line's value, providing immediate visual feedback on market conditions. The crossovers between the %K and signal lines offer potential entry and exit points, while the overbought and oversold overlays help identify possible reversal zones.
⚙️ Adjusting Settings for Optimal Use
The Stochastic X indicator's flexibility allows traders to adjust settings to match their trading style and the specific asset's behavior:
Short-Term Trading: Use shorter periods (e.g., 5 for %K) and more responsive moving averages (e.g., WMA, VWMA, EMA, DEMA, TEMA, HMA) to capture quick market movements.
Long-Term Trading: Opt for longer periods (e.g., 14 for %K) and smoother moving averages (e.g., SMA, RMA, T3) to filter out noise and focus on broader trends.
Volatile Markets: Consider using the T3 moving average for its smoothing capabilities, helping to reduce false signals in choppy markets.
By experimenting with different settings, traders can fine-tune the indicator to better suit their analysis and improve decision-making.
Stochastic RainbowThe Stochastic Rainbow indicator is a multi-layered momentum oscillator designed to provide a comprehensive view of market dynamics by combining multiple stochastic oscillators of varying periods. This approach allows traders to analyze both short-term and long-term momentum within a single visual framework, enhancing decision-making for entries and exits.
🔧 Indicator Settings and Customization
Select from various moving average methods (e.g., SMA, EMA, DEMA, TEMA, WMA, VWMA, RMA, T3) to smooth the stochastic lines. Different methods can affect the responsiveness of the indicator.
The indicator computes five sets of stochastic oscillators with Fibonacci values.
Each %K line is smoothed using the selected moving average type, and a corresponding %D line is plotted for each %K.
🎨 Visual Interpretation
The Stochastic Rainbow indicator plots multiple %K and %D lines, each with distinct colors for easy differentiation.
Additionally, horizontal dotted lines are drawn at levels 80 (Upper Band), 50 (Midline), and 20 (Lower Band) to indicate overbought, neutral, and oversold conditions, respectively.
📈 Trading Strategies Using Stochastic Rainbow
The multi-layered structure of the Stochastic Rainbow allows for nuanced analysis.
Trend Confirmation:
When all %K lines are above 50 and aligned in ascending order (short-term above long-term), it suggests a strong uptrend.
Conversely, when all %K lines are below 50 and aligned in descending order, it indicates a strong downtrend.
Overbought/Oversold Conditions:
If the shorter-term %K lines (e.g., %K 5,3 and %K 8,3) enter the overbought zone (>80) while longer-term lines remain below, it may signal a potential reversal.
Similarly, if shorter-term lines enter the oversold zone (<20) while longer-term lines remain above, it could indicate an upcoming bullish reversal.
Crossovers:
A bullish signal occurs when a %K line crosses above its corresponding %D line.
A bearish signal occurs when a %K line crosses below its corresponding %D line.
Divergence Analysis:
If price makes a new high while the %K lines do not, it may indicate bearish divergence and a potential reversal.
If price makes a new low while the %K lines do not, it may indicate bullish divergence and a potential reversal.
⚙️ Adjusting Settings for Optimal Use
The Stochastic Rainbow's flexibility allows traders to adjust settings to match their trading style and the specific asset's behavior:
Short-Term Trading: Use shorter periods (e.g., 5 for %K) and more responsive moving averages (e.g., WMA, VWMA, EMA, DEMA, TEMA, HMA) to capture quick market movements.
Long-Term Trading: Opt for longer periods (e.g., 55 for %K) and smoother moving averages (e.g., SMA, RMA, T3) to filter out noise and focus on broader trends.
Volatile Markets: Consider using the T3 moving average for its smoothing capabilities, helping to reduce false signals in choppy markets.
By experimenting with different settings, traders can fine-tune the indicator to better suit their analysis and improve decision-making.
Bitcoin Power LawThis is the main body version of the script. The Oscillator version can be found here.
Understanding the Bitcoin Power Law Model
Also called the Long-Term Bitcoin Power Law Model. The Bitcoin Power Law model tries to capture and predict Bitcoin's price growth over time. It assumes that Bitcoin's price follows an exponential growth pattern, where the price increases over time according to a mathematical relationship.
By fitting a power law to historical data, the model creates a trend line that represents this growth. It then generates additional parallel lines (support and resistance lines) to show potential price boundaries, helping to visualize where Bitcoin’s price could move within certain ranges.
In simple terms, the model helps us understand Bitcoin's general growth trajectory and provides a framework to visualize how its price could behave over the long term.
The Bitcoin Power Law has the following function:
Power Law = 10^(a + b * log10(d))
Consisting of the following parameters:
a: Power Law Intercept (default: -17.668).
b: Power Law Slope (default: 5.926).
d: Number of days since a reference point(calculated by counting bars from the reference point with an offset).
Explanation of the a and b parameters:
Roughly explained, the optimal values for the a and b parameters are determined through a process of linear regression on a log-log scale (after applying a logarithmic transformation to both the x and y axes). On this log-log scale, the power law relationship becomes linear, making it possible to apply linear regression. The best fit for the regression is then evaluated using metrics like the R-squared value, residual error analysis, and visual inspection. This process can be quite complex and is beyond the scope of this post.
Applying vertical shifts to generate the other lines:
Once the initial power-law is created, additional lines are generated by applying a vertical shift. This shift is achieved by adding a specific number of days (or years in case of this script) to the d-parameter. This creates new lines perfectly parallel to the initial power law with an added vertical shift, maintaining the same slope and intercept.
In the case of this script, shifts are made by adding +365 days, +2 * 365 days, +3 * 365 days, +4 * 365 days, and +5 * 365 days, effectively introducing one to five years of shifts. This results in a total of six Power Law lines, as outlined below (From lowest to highest):
Base Power Law Line (no shift)
1-year shifted line
2-year shifted line
3-year shifted line
4-year shifted line
5-year shifted line
The six power law lines:
Bitcoin Power Law Oscillator
This publication also includes the oscillator version of the Bitcoin Power Law. This version applies a logarithmic transformation to the price, Base Power Law Line, and 5-year shifted line using the formula: log10(x) .
The log-transformed price is then normalized using min-max normalization relative to the log-transformed Base Power Law Line and 5-year shifted line with the formula:
normalized price = log(close) - log(Base Power Law Line) / log(5-year shifted line) - log(Base Power Law Line)
Finally, the normalized price was multiplied by 5 to map its value between 0 and 5, aligning with the shifted lines.
Interpretation of the Bitcoin Power Law Model:
The shifted Power Law lines provide a framework for predicting Bitcoin's future price movements based on historical trends. These lines are created by applying a vertical shift to the initial Power Law line, with each shifted line representing a future time frame (e.g., 1 year, 2 years, 3 years, etc.).
By analyzing these shifted lines, users can make predictions about minimum price levels at specific future dates. For example, the 5-year shifted line will act as the main support level for Bitcoin’s price in 5 years, meaning that Bitcoin’s price should not fall below this line, ensuring that Bitcoin will be valued at least at this level by that time. Similarly, the 2-year shifted line will serve as the support line for Bitcoin's price in 2 years, establishing that the price should not drop below this line within that time frame.
On the other hand, the 5-year shifted line also functions as an absolute resistance , meaning Bitcoin's price will not exceed this line prior to the 5-year mark. This provides a prediction that Bitcoin cannot reach certain price levels before a specific date. For example, the price of Bitcoin is unlikely to reach $100,000 before 2021, and it will not exceed this price before the 5-year shifted line becomes relevant. After 2028, however, the price is predicted to never fall below $100,000, thanks to the support established by the shifted lines.
In essence, the shifted Power Law lines offer a way to predict both the minimum price levels that Bitcoin will hit by certain dates and the earliest dates by which certain price points will be reached. These lines help frame Bitcoin's potential future price range, offering insight into long-term price behavior and providing a guide for investors and analysts. Lets examine some examples:
Example 1:
In Example 1 it can be seen that point A on the 5-year shifted line acts as major resistance . Also it can be seen that 5 years later this price level now corresponds to the Base Power Law Line and acts as a major support at point B (Note: Vertical yearly grid lines have been added for this purpose👍).
Example 2:
In Example 2, the price level at point C on the 3-year shifted line becomes a major support three years later at point D, now aligning with the Base Power Law Line.
Finally, let's explore some future price predictions, as this script provides projections on the weekly timeframe :
Example 3:
In Example 3, the Bitcoin Power Law indicates that Bitcoin's price cannot surpass approximately $808K before 2030 as can be seen at point E, while also ensuring it will be at least $224K by then (point F).
MACD AaronVersionAutomatically changes color to help you better assess trend strength, suitable for use with breakout or range trading strategies.
Fast Line (MACD):
🔸 Higher than yesterday → Yellow
🔹 Lower than yesterday → Gray
Slow Line (Signal Line):
🟢 After a Golden Cross occurs → stays Green until a Death Cross
🔴 After a Death Cross occurs → stays Red until the next Golden Cross
IFVG WITH SignalsTitle: Inverted Fair Value Gaps with Alerts – Smart Liquidity Zones
Description:
This script identifies Inverted Fair Value Gaps (IFVGs) – a concept derived from liquidity theory and price inefficiencies, often associated with smart money trading strategies. Unlike traditional FVGs, inverted gaps point to potential liquidity traps or reversal zones, where price may revisit to rebalance or hunt stops.
Key Features:
Automatic detection of Inverted Fair Value Gaps
Visual zones plotted on chart for easy reference
Customizable alerts when a new IFVG is created or price re-enters one
Works on any timeframe or asset
DragonEdge CryptoDragonEdge Crypto is a refined version of the DragonEdge Prime algorithm, re-engineered for the fast-moving, always-on world of cryptocurrency trading.
This TradingView indicator scans for high-probability long and short setups by analyzing a confluence of technical signals — including VWAP pressure zones, MACD momentum shifts, RSI compression, and abnormal volume behavior. Unlike traditional tools, it evaluates 17 dynamic market variables and only fires a signal when conditions align with a configurable confidence threshold.
Built for clarity and speed, DragonEdge Crypto helps eliminate noise and spotlight directional setups with minimal delay.
🔹 Designed for BTC, ETH, SOL, and other high-volume crypto pairs
🔹 Best performance on the 15-minute to 1-hour charts
🔹 Clean LONG / SHORT visual alerts when multiple signals converge
🔹 Zero reliance on day-of-week logic — fully optimized for 24/7 markets
🔹 Alerts can trigger push notifications or emails via the TradingView app
Whether you’re scalping momentum or swing trading key moves, DragonEdge Crypto gives you the tools to act when the odds favor precision.
No financial advice. Use at your own discretion.
Consecutive Candles Above/Below EMADescription:
This indicator identifies and highlights periods where the price remains consistently above or below an Exponential Moving Average (EMA) for a user-defined number of consecutive candles. It visually marks these sustained trends with background colors and labels, helping traders spot strong bullish or bearish market conditions. Ideal for trend-following strategies or identifying potential trend exhaustion points, this tool provides clear visual cues for price behavior relative to the EMA.
How It Works:
EMA Calculation: The indicator calculates an EMA based on the user-specified period (default: 100). The EMA is plotted as a blue line on the chart for reference.
Consecutive Candle Tracking: It counts how many consecutive candles close above or below the EMA:
If a candle closes below the EMA, the "below" counter increments; any candle closing above resets it to zero.
If a candle closes above the EMA, the "above" counter increments; any candle closing below resets it to zero.
Highlighting Trends: When the number of consecutive candles above or below the EMA meets or exceeds the user-defined threshold (default: 200 candles):
A translucent red background highlights periods where the price has been below the EMA.
A translucent green background highlights periods where the price has been above the EMA.
Labeling: When the required number of consecutive candles is first reached:
A red downward arrow label with the text "↓ Below" appears for below-EMA streaks.
A green upward arrow label with the text "↑ Above" appears for above-EMA streaks.
Usage:
Trend Confirmation: Use the highlights and labels to confirm strong trends. For example, 200 candles above the EMA may indicate a robust uptrend.
Reversal Signals: Prolonged streaks (e.g., 200+ candles) might suggest overextension, potentially signaling reversals.
Customization: Adjust the EMA period to make it faster or slower, and modify the candle count to make the indicator more or less sensitive to trends.
Settings:
EMA Length: Set the period for the EMA calculation (default: 100).
Candles Count: Define the minimum number of consecutive candles required to trigger highlights and labels (default: 200).
Visuals:
Blue EMA line for tracking the moving average.
Red background for sustained below-EMA periods.
Green background for sustained above-EMA periods.
Labeled arrows to mark when the streak threshold is met.
This indicator is a powerful tool for traders looking to visualize and capitalize on persistent price trends relative to the EMA, with clear, customizable signals for market analysis.
Explain EMA calculation
Other trend indicators
Make description shorter
ATR and Stochastics by XeodiacThis script combines two popular indicators, the Average True Range (ATR) and the Stochastic Oscillator, into a single chart for enhanced trading insights. Here’s a breakdown of how it works and what it does:
What It Does:
Average True Range (ATR):
Measures market volatility by calculating the average range of price movement over a specified period.
The ATR is plotted in blue on its natural scale, helping you assess how volatile the market is.
Stochastic Oscillator:
A momentum indicator that compares a security's closing price to its price range over a specific period.
It calculates two lines:
%K Line (Green): Tracks the raw Stochastic value.
%D Line (Red): A smoothed moving average of the %K line.
These values are plotted on a percentage scale (0-100) to indicate overbought or oversold conditions.
Inputs:
ATR Length: Specifies the number of periods used for ATR calculation (default is 14).
Stochastic %K Length: Determines the period for finding the highest high and lowest low for the %K calculation (default is 14).
Stochastic %D Smoothing: Sets the smoothing factor for the %D line (default is 3).
Visual Output:
Blue Line: Represents the ATR, showing how much price moves on average over the given period.
Green Line: The %K line of the Stochastic Oscillator, showing momentum shifts in the market.
Red Line: The %D line of the Stochastic Oscillator, providing a smoothed perspective on momentum.
Use Case:
This script is useful for:
Assessing Market Volatility: Use the ATR to understand how active the market is.
Identifying Overbought/Oversold Levels: Use the Stochastic Oscillator to identify potential reversal points.
Combining Signals: Analyze both indicators together to align volatility and momentum for better trading decisions.
DS_StochA custom stochastic-based indicator with EMA smoothing. Useful for identifying overbought and oversold conditions.
WaveTrend [LazyBear] with Long/Short LabelsWaveTrend Oscillator with Entry Signals (LONG/SHORT) – Advanced Edition
This indicator is based on the renowned WaveTrend Oscillator by LazyBear, a favorite among professional traders for spotting trend reversals with precision.
🚀 Features:
Original WaveTrend formula with dual-line structure (WT1 & WT2).
Customizable overbought and oversold zones for visual clarity.
Automatic LONG and SHORT signals plotted directly on the chart:
✅ LONG: When WT1 crosses above WT2 below the oversold zone.
❌ SHORT: When WT1 crosses below WT2 above the overbought zone.
Momentum histogram shows strength of market moves.
Fully optimized for Pine Script v5 and lightweight across all timeframes.
🔍 How to use:
Combine with support/resistance levels or candlestick reversal patterns.
Works best on 15min, 1H, or 4H charts.
Suitable for all markets: crypto, stocks, forex, indices.
📊 Ideal for:
Traders seeking clean, reliable entry signals.
Reversal strategies with technical confluence.
Visual confirmation of WaveTrend crossovers without manual interpretation.
💡 Pro Tip: Combine with EMA or RSI filters to further enhance accuracy.
MA Dist Z-ScoreThe Moving Average Distance Z-Score shows how far the current price is from its moving average, measured in standard deviations.
When the Z-score is above 0, price is above the average.
When the Z-score is below 0, price is below the average.
A Z-score of +2 or -2 means price is very far from the average and might return to it (mean reversion).
This tool helps identify statistically unusual price levels and can be used for reversion setups and trend exhaustion.