Balance of Power for US30 4H [PineIndicators]The Balance of Power (BoP) Strategy is a momentum-based trading system for the US30 index on a 4-hour timeframe. It measures the strength of buyers versus sellers in each candle using the Balance of Power (BoP) indicator and executes trades based on predefined threshold crossovers. The strategy includes dynamic position sizing, adjustable leverage, and visual trade tracking.
⚙️ Core Strategy Mechanics
Positive values indicate buying strength.
Negative values indicate selling strength.
Values close to 1 suggest strong bullish momentum.
Values close to -1 indicate strong bearish pressure.
The strategy uses fixed threshold crossovers to determine trade entries and exits.
📌 Trade Logic
Entry Conditions
Long Entry: When BoP crosses above 0.8, signaling strong buying pressure.
Exit Conditions
Position Close: When BoP crosses below -0.8, indicating a shift to selling pressure.
This threshold-based system filters out low-confidence signals and focuses on high-momentum shifts.
📏 Position Sizing & Leverage
Leverage: Adjustable by the user (default = 5x).
Risk Management: Position size adapts dynamically based on equity fluctuations.
📊 Trade Visualization & History Tracking
Trade Markers:
"Buy" labels appear when a long position is opened.
"Close" labels appear when a position is exited.
Trade History Boxes:
Green for profitable trades.
Red for losing trades.
These elements provide clear visual tracking of past trade execution.
⚡ Usage & Customization
1️⃣ Apply the script to a US30 4H chart in TradingView.
2️⃣ Adjust leverage settings as needed.
3️⃣ Review trade signals and historical performance with visual markers.
4️⃣ Enable backtesting to evaluate past performance.
This strategy is designed for momentum-based trading and is best suited for volatile market conditions.
Oszillatoren
Pulse of Cycle Oscillator"Pulse of Cycle" Oscillator: Logic and Usage
What Is It and How Does It Work?
The "Pulse of Cycle" is an oscillator that measures the cycles of price rises and falls, helping you spot overbought and oversold conditions. Unlike classic indicators, it doesn’t focus on how much the price moves but tracks its direction (up or down) like a "pulse." Here’s the logic:
Price Movement:
If the price rises compared to the previous bar, it adds +1.
If the price falls, it subtracts -1.
If the price stays the same, it adds 0.
Decay Factor: Each step, the previous value is multiplied by a factor (e.g., 0.9) to shrink it slightly. This keeps the oscillator from growing too big and focuses it on recent price action.
Signals: The oscillator moves around zero. When it crosses certain levels (e.g., 5 and 10), it warns you about overbought or oversold zones:
Weak Signal: Above ±5, the market might be stretching a bit.
Strong Signal: Above ±10, a reversal is more likely.
In short, it tracks the "rhythm" of price streaks (consecutive ups or downs) and signals when things might be getting extreme.
How It Looks on the Chart
Line: The oscillator moves around a zero line.
Colors:
Blue: Normal zone (between -5 and +5).
Orange: Weak overbought (+5 and up) or oversold (-5 and down).
Red: Strong overbought (+10 and up).
Lime: Strong oversold (-10 and down).
Threshold Lines: You’ll see lines at 0, ±5, and ±10 on the chart to show where you are.
How to Use It?
Here’s how to trade with this oscillator:
Buy Opportunity (Long Position):
When?: The oscillator drops below -5 (weak) or -10 (strong), then starts moving back toward zero. This suggests the price has hit a bottom and might rise.
Example: It falls to -12 (lime), then rises to -8. You could buy, expecting a bounce.
Tip: Wait for a green candle to confirm if you want to be safer.
Sell Opportunity (Short Position):
When?: The oscillator rises above +5 (weak) or +10 (strong), then starts dropping back toward zero. This indicates the price might have peaked and could fall.
Example: It hits +11 (red), then drops to +7. You could sell, expecting a decline.
Tip: Look for a red candle to confirm the turn.
Neutral Zone: If it’s between -5 and +5, the market is balanced. You can wait for a clearer signal.
Practical Steps to Use
Add to TradingView:
Paste the code into Pine Editor and click “Add to Chart.”
Adjust Settings (Optional):
Decay (0.9): Lower to 0.7 for faster response, raise to 0.95 for smoother movement.
Thresholds (5 and 10): Change them (e.g., 4 and 8) based on your market.
Watch Signals:
Follow the color changes and threshold crossings.
Set Alerts:
Right-click the oscillator > “Add Alert” to get notified on overbought/oversold signals.
Things to Watch Out For
Confirmation: Pair it with support/resistance levels or candlestick patterns for stronger signals.
Market Type: Works best in range-bound (sideways) markets. In strong trends (all up or down), signals might mislead.
Risk: Always use a stop loss—below the last low for buys, above the last high for sells.
Summary
The "Pulse of Cycle" is a simple yet powerful tool that tracks price movement streaks. Use it to catch reversals at strong signals (-10/+10) or get early warnings at weak signals (±5). The colors and lines on the chart make it easy to see when to act.
Bitcoin Power Law: Complete with Oscillator + Future Projection
Firstly, we would like to give credit to @apsk32 and @x_X_77_X_x as part of the code originates from their work. Additionally, @apsk32 is widely credited with applying the Power Law concept to Bitcoin and popularizing this model within the crypto community. Additionally, the visual layout is fully inspired by @apsk32's designs, and we think it looks amazing. So much so that we had to turn it into a TradingView script. Thank you!
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. The Oscillator version can be found here .
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 (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 C, 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).
RSI with Bollinger Bands and Buy/Sell SignalsPurpose:
This indicator combines the Relative Strength Index (RSI) with Bollinger Bands to identify overbought and oversold conditions in the market. It also generates buy and sell signals based on the interaction between the RSI and the Bollinger Bands. It is particularly useful for traders looking for opportunities in volatile or trending markets.
How It Works:
RSI (Relative Strength Index):
The RSI measures the magnitude of recent price changes to evaluate whether an asset is overbought (values > 70) or oversold (values < 30).
In this indicator, horizontal lines at levels 70 (overbought) and 30 (oversold) are used as reference points.
Bollinger Bands:
Bollinger Bands are calculated around a smoothed moving average of the RSI. The upper band represents dynamic overbought levels, while the lower band indicates dynamic oversold levels.
These bands automatically adjust their width based on the volatility of the RSI, allowing them to adapt to different market conditions.
Buy and Sell Signals:
Buy Signal: A buy signal is generated when the RSI exceeds both the upper Bollinger Band and the overbought level (70). This suggests that the asset is in an extreme bullish phase.
Sell Signal: A sell signal is generated when the RSI falls below both the lower Bollinger Band and the oversold level (30). This suggests that the asset is in an extreme bearish phase.
Alerts:
The indicator includes automatic alerts to notify you when buy or sell signals are generated. This allows traders to act quickly on new opportunities.
Best Practices:
Confirmation in Lower Timeframes:
Although this indicator is powerful, it is recommended to confirm signals in lower timeframes before making trading decisions. For example:
If you receive a buy signal on a 4-hour chart, check if the RSI and Bollinger Bands on lower timeframes (such as 1 hour or 15 minutes) also show bullish signals.
This reduces the risk of false positives and increases the accuracy of your entries.
Use in Trends:
This indicator works best in markets with clear trends. In sideways or low-volatility markets, signals may be less reliable due to the lack of directional momentum.
Risk Management:
Always use stop-loss and take-profit to protect your positions. Buy and sell signals are just one tool for analysis; they do not guarantee results.
Combination with Other Indicators:
To improve accuracy, consider combining this indicator with others, such as MACD, Stochastic Oscillator, or Japanese candlestick patterns. This can provide additional confirmation before opening a position.
Summary:
The RSI + Bollinger Bands with Buy/Sell Signals indicator is an advanced tool designed to identify entry and exit points in the market based on extreme overbought and oversold conditions. However, to maximize its effectiveness, it is crucial to confirm signals in lower timeframes and use it in combination with other technical analysis tools. With proper risk management and careful interpretation of signals, this indicator can be a valuable ally in your trading strategy.
Indicator BMS V5 [Traderhood]Introducing BMS (Base Market Strategy)
Overview
Base Market Strategy (BMS) is a trend-following and oscillator indicator designed to detect market trends with high accuracy while providing clear entry signals. BMS utilizes four Exponential Moving Averages (EMA) to filter trends across multiple timeframes and Bollinger Bands (BB) to identify overbought and oversold zones. This approach makes BMS highly suitable for scalping strategies in lower timeframes with a high win rate potential.
Key Features
📈 Multi-EMA Trend Filtering
Uses 4 EMAs to confirm the dominant trend.
Separates trend detection between lower timeframes and H1 for additional validation.
🎯 Dynamic Overbought & Oversold Detection
Sell signal occurs when the price touches the Bollinger Bands Upper.
Buy signal occurs when the price touches the Bollinger Bands Lower.
🔥 High Win Rate Scalping Strategy
Designed to capture quick price movements in trending markets.
Ideal for traders looking for fast executions with controlled risk.
🎨 Customizable Visual Enhancements
Users can adjust indicator colors to match their personal preferences.
How It Works
1️⃣ EMA-Based Trend Identification
The indicator applies 4 EMAs to determine short-term and medium-term trends.
If the price is above all EMAs → Bullish trend.
If the price is below all EMAs → Bearish trend.
2️⃣ Bollinger Bands Signal Generation
Sell Entry: When the price touches Bollinger Bands Upper, indicating an overbought area.
Buy Entry: When the price touches Bollinger Bands Lower, indicating an oversold area.
3️⃣ Scalping Execution
Entries are executed only on lower timeframes with trend confirmation from H1 EMA.
Profit targets are adjusted based on volatility, while stop loss is placed outside the Bollinger Bands.
4️⃣ Visual Customization
Indicator colors can be modified for better visibility.
Practical Applications
✅ Scalping Strategy – Uses Bollinger Bands and EMA filtering for fast trades.
✅ Trend Confirmation – Multi-timeframe EMA validation ensures precise entries.
✅ Dynamic Support & Resistance – Bollinger Bands help identify potential reversals.
✅ Noise Reduction – EMA filtering removes minor price fluctuations for clearer signals.
🛠 Settings
EMA Periods: 4 EMAs for trend filtering.
Bollinger Bands Length: 20 (default), adjustable.
Bollinger Bands Deviation: 2 (default).
Color Customization: Users can personalize indicator colors as needed.
📌 Conclusion
Base Market Strategy (BMS) is a high win-rate scalping indicator, combining trend-following EMA filtering with momentum reversal detection from Bollinger Bands. With a dynamic and adaptive approach, this indicator provides precise entry signals while reducing noise from insignificant price movements.
Key Takeaways:
✔ High Accuracy – A combination of EMA and Bollinger Bands provides clear signals.
✔ Scalping Optimization – Works best on lower timeframes with H1 validation.
✔ Visual Customization – Users can adjust the indicator colors to their preference.
✔ Simple Yet Powerful – Easy to use but highly effective in capturing market opportunities.
🔹 Disclaimer: Trading carries high risks. Always backtest and optimize settings to align with your risk tolerance before live trading.
RSI Signal Pro[UgurTash]Introducing RSI Signal Pro for TradingView
RSI Signal Pro is a refined version of the standard Relative Strength Index (RSI) , designed to improve signal accuracy by generating alerts in real-time instead of waiting for multiple candle confirmations. This enhancement allows traders to react faster to market movements while maintaining the familiar RSI structure.
What Makes RSI Signal Pro Unique?
✅ Real-Time RSI Signals: Unlike the traditional RSI, which waits for candle confirmations, this version provides immediate buy and sell signals upon key level crossovers.
✅ Dual Trading Modes: Choose between Simple Mode (standard RSI crossovers) and Advanced Mode (momentum-adjusted signals with price validation).
✅ Customizable RSI-Based Moving Average (MA): Optionally apply SMA, EMA, WMA, or VWMA to smooth RSI fluctuations and identify longer-term trends.
✅ Adaptive Signal Filtering: The Advanced Mode reduces false signals by filtering RSI movements with a momentum threshold and historical RSI validation.
✅ User-Friendly Interface: Simple ON/OFF toggles allow easy customization of the indicator's behavior.
How This Indicator Works
🔹 Simple Mode: Identical to traditional RSI, triggering signals when RSI crosses 30 (bullish) or 70 (bearish).
🔹 Advanced Mode: Uses historical RSI pivots, momentum verification, and price confirmation to refine signal accuracy—ideal for traders looking for more precise entries.
🔹 RSI-Based MA: Optionally overlay moving averages onto the RSI, providing additional trend confirmation.
How to Use RSI Signal Pro
1️⃣ Select a mode: Use Simple Mode for frequent alerts or Advanced Mode for refined signals.
2️⃣ Enable RSI-Based MA: Apply SMA, EMA, WMA, or VWMA to smooth RSI fluctuations.
3️⃣ Set alerts: TradingView notifications allow you to react to real-time RSI movements instantly.
4️⃣ Apply to multiple markets: Effective for crypto, forex, stocks, and commodities.
Why Use RSI Signal Pro Instead of Standard RSI?
While RSI Signal Pro maintains the core functionality of the standard RSI, its real-time signal generation allows traders to make faster decisions without the typical delay caused by waiting for candle confirmations. Additionally, the optional momentum filtering and moving average smoothing ensure fewer false signals and better trade accuracy.
Adaptative Volume Weighted Oscillator | QuantumResearchQuantumResearch Adaptative Volume Weighted Oscillator (AVWO)
The Adaptative Volume Weighted Oscillator (AVWO) is an advanced momentum indicator that dynamically adjusts to changing market conditions. By combining Volume-Weighted Moving Averages (VWMA) with adaptive smoothing and volatility-based thresholds, this tool refines trend signals and enhances decision-making for traders.
🚀 Key Features:
Volume Sensitivity: Incorporates VWMA to account for volume-driven price movements, effectively filtering out market noise.
Adaptive Thresholds: Utilizes dynamic upper and lower bounds that adjust based on market volatility.
Momentum Confirmation: Identifies potential trend continuations or reversals with precision.
Customizable Visuals: Offers multiple color themes and bar color settings for clear and personalized visualization.
1. How It Works
The AVWO calculates the percentage difference between the price and the VWMA. This measure helps identify potential shifts in market momentum.
VWMA Calculation: Computes a moving average with volume
Oscillator Derivation: Determines how far the current price deviates from its VWMA.
Dynamic Thresholds: Employs volatility to set adaptive upper and lower limits.
Adaptive Smoothing: Applies a smoothing factor to fine-tune threshold responsiveness to new price movements.
🎯 Bullish Signal: Occurs when the oscillator breaks above the adaptive upper threshold.
⚠️ Bearish Signal: Occurs when the oscillator drops below the adaptive lower threshold.
2. Visual Representation
The AVWO offers clear and intuitive visual cues to aid in market analysis:
Color-Coded Histogram: Momentum bars change colors based on trend direction.
Threshold Lines: Dynamic lines mark overbought and oversold zones.
Bar Coloring: Candle colors adjust to reflect prevailing market conditions.
3. Backtest Performance
Extensive backtesting on major assets has demonstrated the effectiveness of the AVWO indicator:
BTC/USD
ETH/USD
SOL/USD
SUI/USD
📊 Key Results:
High Trend Recognition Accuracy: Captures strong trends with minimal lag.
Versatile Across Timeframes: Performs well in both short-term and long-term strategies.
Volume-Weighted Confirmation: Effectively filters false signals in volatile markets.
4. Customization & Parameters
The AVWO is highly configurable to suit your trading style:
VWMA Length (default: 30)
Adaptive Smoothing Factor (default: 0.85)
Threshold Multipliers
Color Modes (choose from 8 different themes for optimal visibility)
5. Trading Applications
This indicator is versatile and can be used in various trading strategies:
Trend Following: Confirms momentum shifts, helping to stay in profitable trades longer.
6. Final Thoughts
The Adaptative Volume Weighted Oscillator (AVWO) is a powerful tool for traders seeking a refined, volume-based momentum indicator.
Its unique blend of VWMA, dynamic thresholds, and adaptive smoothing enhances trend detection accuracy.
Whether used for scalping, swing trading, or long-term analysis, this indicator adapts seamlessly to various market conditions.
Important Disclaimer: No indicator guarantees future results. Always implement proper risk management and use additional confluences when trading.
CycleSync | QuantEdgeBIntroducing CycleSync by QuantEdgeB
Overview
CycleSync is a powerful valuation and cycle-tracking system designed to provide insights into asset price behavior across different phases of market cycles. It integrates on-chain data, price-based indicators, and risk-adjusted metrics to offer a comprehensive valuation model that helps traders and investors identify accumulation, distribution, and momentum shifts.
This system is ideal for those who want data-driven confirmation of market tops and bottoms, leveraging a blend of statistical measures, trend-following techniques, and historical on-chain valuations.
_____
Key Features
1. Multi-Factor Valuation Framework
Incorporates a blend of on-chain, momentum, and price-based indicators to assess market cycles in real-time. Helps determine if an asset is overvalued, fairly valued, or undervalued over long term horizon.
2.Market Cycle Recognition
Tracks key macro and micro cycle shifts, identifying trends such as accumulation, expansion, distribution, and contraction phases.
3.Dynamic Valuation
CycleSync employs Z-score standardization and adaptive rescaling to continuously refine overbought and oversold thresholds based on evolving market conditions. Unlike static valuation models, which rely on fixed levels, CycleSync dynamically recalibrates these boundaries by analyzing historical price distributions and deviations from the mean.
4.Comprehensive Dashboard
Presents cycle indicators and valuation scores in a structured table format.
Displays color-coded overbought and oversold signals for quick interpretation.
_____
How It Works
1.On-Chain & Price-Based Data Collection
Gathers key market cycle indicators like MVRV, NUPL, SOPR, CVDD, VWAP, Pi-Cycle, RSI, and Risk Ratios to assess historical valuation.
2.Standardization & Rescaling
Each metric is normalized using either Z-score calculations or high-low rescaling, ensuring fair contribution across different data sources. By applying statistical normalization techniques, the system ensures that extreme valuations are detected relative to the asset's own historical behavior rather than arbitrary thresholds.
3.Valuation Score & Interpretation
🔹 CycleSync Score Ranges
- 📉 Strongly Oversold (-2 and below) → Market is extremely undervalued; potential reversal.
- 📉 Moderately Oversold (-1.5 to -2) → Discounted market conditions, buying interest may emerge.
- 📉 Slightly Oversold (-0.5 to -1.5) → Possible accumulation phase.
- ⚖ Fair Value (-0.5 to +0.5) → Market trading at equilibrium.
- 📈 Slightly Overbought (+0.5 to +1.5) → Initial signs of market strength.
- 📈 Moderately Overbought (+1.5 to +2) → Market heating up, caution warranted, selling interest may emerge.
- 📈 Strongly Overbought (+2 and above) → Extreme valuation, increased risk of correction.
This classification helps traders gauge overall market sentiment and make better allocation decisions.
Note : Past valuations and buy/sell signals generated by CycleSync do not guarantee future performance. Market conditions can change, and proper risk management should always be applied.
____
Use Cases
✅ Crypto Traders & Long-Term Investors
Identify potential major market tops and bottoms using on-chain and price-based cycle indicators.Confirm long-term accumulation or distribution phases with CycleSync’s multi-cycle tracking.
✅ Macro Trend Followers
Detect macro bull and bear cycle shifts by integrating valuation metrics with trend-following strategies.
✅ Mean Reversion & Rotational Traders
Exploit valuation mean reversion strategies when assets enter extreme overvaluation or undervaluation zones. Rotate capital efficiently between risk-on and risk-off assets based on CycleSync’s valuation models.
✅ Risk Management & Portfolio Allocation
Adjust portfolio exposure by scaling in/out of positions based on historical valuation insights.
Use CycleSync’s Risk Ratios & CVDD metrics to refine entry and exit strategies.
_____
📊 Optimized for Bitcoin , Yet "Universally" Adaptable 🔄
CycleSync is primarily optimized for Bitcoin , leveraging their extensive on-chain and market data to provide robust long-term valuation insights. However, the system remains flexible and can be applied to other assets 📉📈—provided they have sufficient historical price data to support reliable statistical calculations.
Since CycleSync incorporates volume-based metrics, it is essential that the selected chart's ticker provides accurate volume data to function properly. For assets with limited history, results may be less reliable, as long-term valuation models depend on deep market data for precision.
_____
Conclusion
CycleSync is a powerful full-cycle valuation system designed to provide deep market insights 📊 by blending on-chain metrics, statistical rescaling, and technical analysis. Whether you're tracking Bitcoin or other assets with sufficient historical data, this tool offers a structured framework for identifying overbought/oversold conditions, potential cycle tops/bottoms, and long-term market positioning.
With its dynamic adaptability, intuitive scaling mechanisms, and multi-metric integration ⚡, CycleSync empowers traders and investors to make more informed, data-driven decisions 📈. While no valuation model is infallible, combining CycleSync with broader market context and risk management strategies enhances its effectiveness.
🔹 Who Should Use Sentival?
✅ Swing Traders & Long-Term Investors looking for structured valuation metrics.
✅ Quantitative & Systematic Traders incorporating multi-factor models.
✅ Portfolio Managers optimizing exposure to different market regimes.
✅ Use CycleSync as a guiding framework—not a standalone signal— and gain a clearer perspective on the ever-evolving market cycles!
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Sentival | QuantEdgeBIntroducing Sentival by QuantEdgeB.
An Adaptive Multi-Factor Indicator for Market Valuation & Trend Strength
____
Overview
The Sentival Valuation System is a medium-term, multi-factor valuation tool designed to assess market conditions using a combination of momentum, mean reversion, and risk-adjusted metrics. It provides traders and investors with a dynamic score reflecting market valuation, ranging from strongly oversold to strongly overbought conditions.
This system leverages a diverse range of technical indicators, including momentum oscillators, volatility measures, risk ratios, and mean-reversion metrics, providing a holistic view of market conditions.
____
1. Key Features
🛠 Multi-Factor Valuation Model
Sentival aggregates nine different indicators, normalizing and rescaling them into a standardized z-score-based valuation system. The final output represents an average of the selected indicators, allowing for flexible customization based on the user’s preference.
📊 Customizable Indicator Selection
Users can enable or disable any of the nine valuation factors, ensuring the system adapts to different market environments, trading styles, and assets.
🔄 Multi-Timeframe Adaptability
Sentival can be used across different time horizons, making it suitable for short-term mean reversion, medium-term traders, or long-term valuation analysis by simply adjusting the timeframe and indicator settings. This flexibility allows traders to adapt Sentival to various market conditions and trading objectives.
🎨 Intuitive Dashboard & Color Coding
- Dynamic Heatmap & Dashboard: Displays valuation strength across multiple factors.
- Gradient-Based Overbought/Oversold Signals: Clear color-coded signals for easy interpretation.
- Background Highlighting: Optional oversold/overbought background zones.
🏆 Statistical & Risk-Based Insights
- Standardized Rescaling & Z-Score Analysis to prevent bias from individual indicators.
- Risk-Adjusted Metrics such as Sharpe, Sortino, and Omega Ratios help assess the overall market risk appetite.
- Trend Following Mode (TF Display): Users can enable the "Trend Following" option to display the trend direction, helping to align valuation signals with the broader market trend.
____
2. How It Works
1️⃣ Normalization & Rescaling: Each selected indicator is transformed into a standardized scale to ensure fair weighting and prevent distortions from extreme values.
2️⃣ Multi-Indicator Aggregation: The system averages multiple valuation signals into a single z-score, providing a clear overbought/oversold reading rather than relying on a single metric.
3️⃣ Dynamic Trend Filtering: Users can enable Trend Following Mode (TF Display) to overlay directional trend confirmation, helping align valuation signals with momentum.
____
4. Sentival Valuation Score & Interpretation
🔹 Sentival Score Ranges
- 📉 Strongly Oversold (-2 and below) → Market is extremely undervalued; potential reversal.
- 📉 Moderately Oversold (-1.5 to -2) → Discounted market conditions, buying interest may emerge.
- 📉 Slightly Oversold (-0.5 to -1.5) → Possible accumulation phase.
- ⚖ Fair Value (-0.5 to +0.5) → Market trading at equilibrium.
- 📈 Slightly Overbought (+0.5 to +1.5) → Initial signs of market strength.
- 📈 Moderately Overbought (+1.5 to +2) → Market heating up, caution warranted, selling interest may emerge.
- 📈 Strongly Overbought (+2 and above) → Extreme valuation, increased risk of correction.
This classification helps traders gauge overall market sentiment and make better allocation decisions.
Note: Past valuations and buy/sell signals generated by Sentival do not guarantee future performance. Market conditions can change, and proper risk management should always be applied.
____
5. Use Cases & Applications
🔹 📊 Market Rotation & Asset Allocation
- Used as a valuation model to determine if a market or asset is undervalued or overvalued.
- Rotational strategies can benefit from the valuation score by switching exposure between assets.
🔹 📈 Medium-Term Trend Identification
- Detects overbought and oversold conditions while filtering out short-term noise.
- Can be combined with other trend-following indicators for confluence-based strategies.
🔹 🔄 Mean Reversion & Momentum Trading
- Provides statistical validation for momentum breakouts or mean reversion signals.
- Useful for long-short trading strategies, determining optimal entry & exit points.
____
Conclusion
Sentival is a powerful universal valuation system for traders and investors seeking a data-driven, multi-factor approach to market valuation. With its combination of momentum, trend, risk-adjusted, and mean-reversion indicators, it provides a robust, adaptable, and statistically sound framework for making informed market decisions.
🔹 Who Should Use Sentival?
✅ Swing Traders & Medium-Term Investors looking for structured valuation metrics.
✅ Quantitative & Systematic Traders incorporating multi-factor models.
✅ Portfolio Managers optimizing exposure to different market regimes.
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Multi timeframe RSIMulti-Timeframe RSI Indicator
This indicator displays the Relative Strength Index (RSI) from multiple timeframes—1 minute, 5 minutes, 15 minutes, and 30 minutes—on a single chart. Designed for intraday scalpers and short-term traders, it provides a comprehensive view of momentum across different timeframes, helping traders make more informed decisions.
✨ Why Use This Indicator?
✔ Enhanced Confirmation – Identify trends and momentum shifts with RSI signals from multiple timeframes.
✔ Perfect for Scalping & Intraday Trading – Quickly spot overbought/oversold conditions across different timeframes.
✔ Multi-Timeframe Confluence – Align entries and exits with stronger confirmation by analyzing RSI across short-term charts.
✔ Customizable & Easy to Use – Adjust RSI settings to suit your trading style.
This is a must-have tool for traders looking to refine their entries and exits with a multi-timeframe perspective! 🚀
RSI of Accumulation/DistributionHow to Use the RSI of Accumulation/Distribution Indicator:
1. Identify Overbought/Oversold Conditions:
Overbought: When the RSI of the ADL is above 70, it indicates that the asset may be overbought and could be due for a pullback or correction.
Oversold: When the RSI of the ADL is below 30, it suggests that the asset may be oversold and could be poised for a rebound.
2. Look for Divergences:
Bullish Divergence: If the price is making lower lows while the RSI of the ADL is making higher lows, it can signal a potential reversal to the upside.
Bearish Divergence: If the price is making higher highs while the RSI of the ADL is making lower highs, it can indicate a potential reversal to the downside.
3. Confirm Trend Strength:
Use the RSI of the ADL to confirm the strength of a trend. For example, if the RSI is consistently above 50 during an uptrend, it suggests strong buying pressure and the trend is likely to continue.
Conversely, if the RSI is consistently below 50 during a downtrend, it indicates strong selling pressure and the trend is likely to persist.
4. Monitor for Reversals:
When the RSI of the ADL crosses above 50, it can signal a potential bullish reversal.
When the RSI of the ADL crosses below 50, it can signal a potential bearish reversal.
Is It Worth It?
The RSI of the Accumulation/Distribution Line can be a valuable tool for traders looking to gain insights into market momentum and trend strength. Here are a few reasons why it might be worth considering:
1. Volume and Price Combination: By combining price action (RSI) with volume-based analysis (ADL), this indicator provides a more comprehensive view of market dynamics.
2. Divergence Detection: It helps identify divergences between price and volume, which can be early signals of potential reversals.
3. Trend Confirmation: It offers additional confirmation of trend strength and potential reversal points, helping traders make more informed decisions.
However, like any indicator, it's important to use it in conjunction with other analysis methods and not rely on it solely for trading decisions. Backtesting the indicator on historical data and combining it with other technical analysis tools can improve its effectiveness.
Feel free to test the script in TradingView and see how it performs in different market conditions. If you have any specific questions or need further assistance, let me know! 😊
Candle Bias ForecastCandle Bias Forecast Indicator
Description:
The Candle Bias Forecast Indicator is an original multi‐timeframe analysis tool that generates price forecast levels based on the difference between candle biases on two different timeframes. It uses innovative calculations to provide potential forecast levels that align with current price action.
How It Works:
1. Candle Bias Calculation:
For each candle, the indicator computes a “candle bias” using the formula:
candleBias = (((open + close)/2 - (high + low)/2) + ((close - open)/(high - low)))/2
This measure captures both the positioning of the candle’s body within its range and the normalized move from open to close.
2. Multi-Timeframe Analysis:
The script uses multiple timeframe pairs (e.g., 5-minute vs. 30-minute, 10-minute vs. 60-minute, etc.). For each pair, the bias is computed on the lower timeframe and on the higher timeframe.
3. Normalization with ATR:
To translate the dimensionless bias difference into price terms, the indicator multiplies the difference by the lower timeframe’s Average True Range (ATR). This scales the forecast adjustment to current market volatility.
4. Forecast Computation:
The forecast level for each pair is then calculated as:
forecast = close + (lowerTF_ATR * (lowerTF_bias - higherTF_bias))
This yields forecast levels that are plotted on the chart and connected by lines for a visual guide.
How to Use:
- Visual Confirmation: Add the indicator to your 1 to 15 minute chart to see forecast levels overlaid on the price.
- Supplementary Analysis: Use these forecast levels as an additional tool alongside your other analysis methods. They can help indicate potential support/resistance areas or directional bias.
Important Notes:
- Not a Standalone Signal: This indicator is intended to supplement your analysis. Always combine it with other tools and sound risk management practices.
- For Educational & Research Use: The indicator is provided “as is” without any guarantee of performance. It is designed to illustrate an innovative approach to multi-timeframe analysis.
- Disclaimer: Past performance is not indicative of future results. Use this tool at your own risk.
By combining candle bias with ATR-based normalization and multi-timeframe analysis, this indicator offers a unique perspective on market dynamics that can enrich your trading strategy.
---
*This is an original script designed to add value to the TradingView community. Please test and validate its outputs thoroughly before using it in live trading.*
Volume Delta Imbalance Index [PhenLabs]📊 Volume Delta Imbalance Index (VDII)
Version: PineScript™ v6
Description
The Volume Delta Imbalance Index is an advanced technical analysis tool that combines volume profile analysis with price movement dynamics to identify significant market imbalances. It features a sophisticated analysis system that weighs recent versus historical volume delta imbalance patterns, providing traders with insights into potential market reversals and trend continuation scenarios.
Points of Innovation:
Custom volume delta calculation incorporating price and volume relationships
Adaptive smoothing system based on market volatility
Multi-component analysis combining flow, acceleration, and strength metrics
Real-time volume profile integration with historical context
🔧 Core Components
Volume Profile Analysis: Dynamic volume delta imbalance distribution assessment
Flow Imbalance Detection: Buy/sell pressure evaluation
Strength Analysis: Composite market strength measurement
Acceleration Framework: Volume movement dynamics
Statistical Bands: Adaptive threshold system
🚨 Key Features 🚨
The indicator provides comprehensive analysis through:
Volume Delta: Up to date volume imbalance measurement
Market Structure: Support/resistance level identification
Flow Analysis: Buy/sell pressure visualization
Acceleration Signals: Movement momentum detection
Adaptive Bands: Dynamic overbought/oversold levels
📈 Visualization
Color-coded Columns: Shows direction and strength of imbalance
Signal Lines: Strong buy/sell level indicators
Statistical Bands: Shows normal trading ranges
Gradient Fills: Indicates extreme market conditions
Dynamic Opacity: Reflects trend strength
📌 Usage Guidelines
The indicator offers several customization options:
Basic Settings:
Lookback Period: Analysis timeframe adjustment
Sensitivity Level: Signal response calibration
History Depth: Historical context range
Memory Setting: Recent vs. historical data weight
Visual Settings:
Color Scheme: Bullish/bearish signal colors
Signal Levels: Strong buy/sell thresholds
Band Display: Statistical range visualization
✅ Best Use Cases / Things To Look For:
Wait for establishment in the initial trend when the VDII comes back towards zero and the color of the volume becomes more faint
Once this is established and the VDII pushes through to the other side look for small retracements above the zero line on the VDII leading you to believe it is a likely area for price to retrace and continue in its prior direction
Make sure you see the volume bars become more faint in color to give yo further confluence price will continue in its priorly established direction
⚠️ Limitations
Requires sufficient volume data
Most effective in liquid markets
Historical depth affects calculation speed
Possible lag in highly volatile conditions
What Makes This Unique
Composite Volume Analysis: Combines multiple volume metrics
Adaptive Calculation: Adjusts to market volatility
Profile Integration: Incorporates volume profile analysis
Multi-component Scoring: Weighted analysis system
Memory-efficient Design: Optimized for real-time analysis
🔧 How It Works
The indicator processes market data through four main components:
1. Volume Profile Analysis:
Creates dynamic volume delta distribution profiles
Weights recent versus historical data
Identifies significant price levels
2. Flow Imbalance Detection:
Analyzes buying versus selling pressure
Calculates normalized flow ratios
Determines market bias
3. Strength Analysis:
Measures composite market strength
Incorporates volume-weighted movements
Provides trend strength indication
4. Final Score Calculation:
Combines all components with weighted importance
Applies volatility-based smoothing
Generates final signal output
5. VDII Potential Reversal Confluences
Bars between signal confluence is default set to 10 but you can change it to whatever you’d prefer
Signals are a compiled look at the indicator as a whole determining where it think reversals or retracements are likely
💡 Note:
The indicator performs best in markets with consistent volume and clear trending or ranging conditions. Its sophisticated volume analysis provides valuable insights into market dynamics beyond traditional price-based indicators.
Bitcoin Log Growth Curve OscillatorThis script presents the oscillator version of the Bitcoin Logarithmic Growth Curve 2024 indicator, offering a new perspective on Bitcoin’s long-term price trajectory.
By transforming the original logarithmic growth curve into an oscillator, this version provides a normalized view of price movements within a fixed range, making it easier to identify overbought and oversold conditions.
For a comprehensive explanation of the mathematical derivation, underlying concepts, and overall development of the Bitcoin Logarithmic Growth Curve, we encourage you to explore our primary script, Bitcoin Logarithmic Growth Curve 2024, available here . This foundational script details the regression-based approach used to model Bitcoin’s long-term price evolution.
Normalization Process
The core principle behind this oscillator lies in the normalization of Bitcoin’s price relative to the upper and lower regression boundaries. By applying Min-Max Normalization, we effectively scale the price into a bounded range, facilitating clearer trend analysis. The normalization follows the formula:
normalized price = (upper regresionline − lower regressionline) / (price − lower regressionline)
This transformation ensures that price movements are always mapped within a fixed range, preventing distortions caused by Bitcoin’s exponential long-term growth. Furthermore, this normalization technique has been applied to each of the confidence interval lines, allowing for a structured and systematic approach to analyzing Bitcoin’s historical and projected price behavior.
By representing the logarithmic growth curve in oscillator form, this indicator helps traders and analysts more effectively gauge Bitcoin’s position within its long-term growth trajectory while identifying potential opportunities based on historical price tendencies.
Normalized RSI Oscillator with DivergencesNormalized RSI with Divergences {A Next-Level Trading Tool}
The Normalized RSI with Divergences indicator is a powerful and innovative tool designed to enhance your trading precision. By normalizing the Relative Strength Index (RSI) and detecting divergences between the standard and normalized RSI, this script helps traders identify potential trend reversals and continuations with remarkable clarity.
Key Features
🔹 Advanced RSI Normalization
• Transforms the traditional RSI into a normalized range of , making overbought and oversold conditions more intuitive.
• Utilizes a dynamic lookback period to adapt to market conditions.
🔹 Divergence Detection for Smarter Trading
• Identifies Bullish, Hidden Bullish, Bearish, and Hidden Bearish divergences by analyzing RSI pivot points.
• Provides early signals of trend reversals and continuations for better trade execution.
🔹 Clear & Visual Trade Signals
• Divergences are automatically labeled on the chart:
o Bullish Divergence: 🟢 “Bull” (Green) – Possible upward reversal.
o Hidden Bullish Divergence: 🟢 “Hid.” (Lime) – Continuation of an uptrend.
o Bearish Divergence: 🔴 “Bear” (Red) – Possible downward reversal.
o Hidden Bearish Divergence: 🟠 “Hid.” (Orange) – Continuation of a downtrend.
🔹 Fully Customizable Inputs
• Adjust RSI period, normalization lookback, and divergence parameters to fit your strategy.
• Tailor the indicator to your preferred trading style and market conditions.
________________________________________
How It Works
🔹 RSI Normalization Formula:
Norm=2×(RSI−MinMax−Min)−1\text{Norm} = 2 \times \left(\frac{\text{RSI} - \text{Min}}{\text{Max} - \text{Min}}\right) - 1Norm=2×(Max−MinRSI−Min)−1
• Min & Max represent the lowest and highest RSI values over the selected lookback period.
🔹 Divergence Detection Process:
• Identifies pivot points in both the normalized RSI and the standard RSI.
• Compares their directions to detect potential trading signals.
🔹 Real-Time Chart Labeling:
• Uses label.new to visually highlight divergence points for quick and efficient decision-making.
________________________________________
Input Parameters
• Source: Price source for RSI calculation (Default: hlc3).
• Signal Period: RSI calculation period (Default: 50).
• Lookback Range: Normalization period (Default: 200, Max: 5000).
• Trend Length: Smoothing period for normalized RSI (Default: 5).
• Band Width: Center line & bands calculation period (Default: 34).
• Divergence Range: Lookback period for divergence detection (Default: 5).
________________________________________
How to Use
1. Add the script to your trading chart.
2. Customize the settings to match your trading approach.
3. Watch for divergence labels to identify potential market moves:
o 🟢 Bullish Divergence: Possible upward reversal.
o 🟢 Hidden Bullish Divergence: Continuation of an uptrend.
o 🔴 Bearish Divergence: Possible downward reversal.
o 🟠 Hidden Bearish Divergence: Continuation of a downtrend.
________________________________________
Why Use This Indicator?
✅ Enhanced RSI Analysis: Normalization simplifies overbought/oversold conditions.
✅ Crystal-Clear Divergence Signals: Instantly spot key trend shifts.
✅ Fully Customizable: Adjust settings for your specific strategy.
✅ Improve Trade Accuracy: Gain an edge with precise divergence detection.
________________________________________
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always conduct thorough research and backtesting before using it in live trading.
📜 License
This script is released under the Mozilla Public License 2.0.
Enjoy the Normalized RSI with Divergences indicator, and happy trading! 🚀📈
— Kerem Ertem
TTC EMA Scalping Machine with RSI Filter and MACDTTC EMA Scalping Machine with RSI Filter and MACD
TTC EMA Scalping Machine with RSI Filter and MACD is a multi-layered technical analysis tool designed for traders looking to scalp the markets with a combination of trend-following and momentum-based indicators. This strategy leverages Exponential Moving Averages (EMAs) , Relative Strength Index (RSI) , MACD , and Volume Analysis to help traders identify high-probability entry points for short and long trades. The indicator can be used in multiple market conditions and is suited for both beginners and experienced traders looking for clear entry signals.
---
Key Features :
1. EMA-Based Trend Filtering :
- The indicator uses four Exponential Moving Averages (EMAs) with different periods:
- EMA 10 (Short-Term) : The fastest-moving average for detecting quick price movements.
- EMA 20 (Medium-Term) : A central trendline for market momentum.
- EMA 30 (Long-Term) : To observe broader market trends.
- EMA 50 (Longest-Term) : To identify the overall market direction.
- These EMAs are plotted on the chart and used to create EMA bands , visually displaying potential support and resistance levels. Price action inside these bands helps identify scalping opportunities.
2. RSI Filter :
- RSI (Relative Strength Index) is used to gauge overbought and oversold conditions in the market:
- Overbought condition (RSI > 70) : The market may be overextended, signaling the possibility of a short.
- Oversold condition (RSI < 30) : The market may be undervalued, signaling the possibility of a long.
- The RSI filter ensures that trades are not taken when the market is overextended, offering a more conservative approach to trade entries.
3. MACD Momentum Analysis :
- The MACD (Moving Average Convergence Divergence) indicator is included to confirm the trend and momentum direction:
- Long Condition : The MACD line crosses above the signal line, confirming a bullish momentum.
- Short Condition : The MACD line crosses below the signal line, confirming a bearish momentum.
- This serves as an additional filter to verify if the market momentum aligns with the long or short entry criteria.
4. Long Entry (Buy Signal) :
- A long entry signal is triggered when the following conditions are met:
- The price is above EMA 20 (indicating an overall bullish market).
- The price is within the green EMA band (EMA 10 and EMA 20), suggesting short-term support.
- The RSI is below 70 (indicating the market is not overbought).
- The MACD line is above the signal line , showing bullish momentum.
- These conditions combined suggest an ideal environment for entering a long position.
5. Short Entry (Sell Signal) :
- A short entry signal is triggered when the following conditions are met:
- The price is below EMA 20 (indicating an overall bearish market).
- The price is within the green EMA band (EMA 20 and EMA 30), suggesting short-term resistance.
- The RSI is above 30 (indicating the market is not oversold).
- The MACD line is below the signal line , showing bearish momentum.
- These conditions combined suggest an ideal environment for entering a short position.
6. Signal Alerts :
- Long Alerts : Users can set alerts to notify them when a long condition is met. These alerts are triggered when all the criteria for a long entry are satisfied.
- Short Alerts : Similarly, users can set alerts for short signals, notifying them when all the conditions for a short entry are satisfied.
7. EMA Bands :
- The EMA bands are visually represented with colored fills between the EMAs, providing a visual aid to recognize potential trading zones. These zones can serve as a reference for traders to make quick decisions regarding entries and exits.
8. Volume Filter :
- The indicator also includes a volume filter , which compares the current volume to its 20-period simple moving average. Higher volumes provide confirmation of price movement, which can indicate stronger potential for the trade.
---
How It Works :
- Long Trades : The indicator suggests a long position when the price is above the EMA 20, within the green EMA band, the RSI is not overbought, and MACD confirms bullish momentum (MACD line above the signal line).
- Short Trades : The indicator suggests a short position when the price is below the EMA 20, within the green EMA band, the RSI is not oversold, and MACD confirms bearish momentum (MACD line below the signal line).
- Volume Confirmation : The indicator uses a volume-based filter to ensure the trade is backed by sufficient market participation.
---
Usage :
- Best for Scalping : This strategy is designed for short-term trades ( scalping ) and can be applied to any time frame, though it works best on intraday charts, such as 5-minute or 15-minute charts.
- Ideal for Trend-Following : With the use of EMAs and MACD, the strategy is best suited for markets that exhibit clear trends. It helps to avoid whipsaw trades and focuses on capturing medium-term trends.
- Risk Management : By using RSI, MACD, and volume analysis together, this strategy reduces the likelihood of entering a trade in an overextended market, which helps with risk management.
---
Alerts and Signals :
- Long Signals : When all conditions are met for a long trade, a green label appears below the price bar, indicating a potential buy opportunity. An alert is also generated, notifying the user.
- Short Signals : When all conditions are met for a short trade, a red label appears above the price bar, indicating a potential sell opportunity. An alert is also generated, notifying the user.
---
This combination of EMA , RSI , MACD , and volume-based filters creates a balanced approach to scalping, ensuring that traders receive clear, actionable entry signals with trend confirmation, while avoiding overbought and oversold conditions that may lead to false signals. The indicator is designed to help traders confidently identify high-probability trades while maintaining simplicity and clarity in its setup.
Asset Correlation Heatmap [SeerQuant]Asset Correlation Heatmap
Overview:
The Asset Correlation Heatmap is a powerful visualization tool designed to analyze and compare the correlation between multiple assets and a selected benchmark. The indicator provides a heatmap representation of correlation coefficients, allowing for easy identification of highly correlated and uncorrelated assets at a glance.
How It Works:
Benchmark Asset: The benchmark is the chart that the indicator is applied to. For example, if applied to BTC, the heatmap will display the correlation of various assets relative to BTC.
Correlation Calculation: The script calculates the correlation coefficient between the benchmark asset and each of the 30 user-selected assets over a user-defined period.
Heatmap Display: The results are plotted in a stacked format where the bottom-most plot represents Asset 1, and the top-most plot represents Asset 30.
Each asset’s correlation is color-coded based on its strength (from positive correlation to negative correlation).
Inputs & Customization:
Correlation Length: Users can adjust the lookback period for correlation calculation (default: 20 periods).
30 Selectable Assets: The indicator allows users to input up to 30 assets for correlation analysis.
Color Gradient: The heatmap dynamically assigns colors based on correlation strength where blue shades → strong positive correlation, neutral white → no correlation (~0.0) and red shades → strong negative correlation.
Table Display
A dynamic table in the bottom-right corner provides key insights, including:
Benchmark Asset (the chart symbol)
Highest Correlated Asset & its correlation value
Lowest Correlated Asset & its correlation value
Average & Median Correlation across all selected assets
Composite Signal based on the overall correlation trend
Use Cases
Portfolio Diversification: Identify assets that are highly correlated or negatively correlated with your benchmark to manage risk.
Mean Reversion & Trend Following: Spot assets diverging from their historical correlation to identify trading opportunities.
Pair Trading: Find assets with strong positive or negative correlation to develop hedging strategies.
Enjoy!
Multi-Indicator Signals with Selectable Options by DiGetMulti-Indicator Signals with Selectable Options
Script Overview
This Pine Script is a multi-indicator trading strategy designed to generate buy/sell signals based on combinations of popular technical indicators: RSI (Relative Strength Index) , CCI (Commodity Channel Index) , and Stochastic Oscillator . The script allows you to select which combination of signals to display, making it highly customizable and adaptable to different trading styles.
The primary goal of this script is to provide clear and actionable entry/exit points by visualizing buy/sell signals with arrows , labels , and vertical lines directly on the chart. It also includes input validation, dynamic signal plotting, and clutter-free line management to ensure a clean and professional user experience.
Key Features
1. Customizable Signal Types
You can choose from five signal types:
RSI & CCI : Combines RSI and CCI signals for confirmation.
RSI & Stochastic : Combines RSI and Stochastic signals.
CCI & Stochastic : Combines CCI and Stochastic signals.
RSI & CCI & Stochastic : Requires all three indicators to align for a signal.
All Signals : Displays individual signals from each indicator separately.
This flexibility allows you to test and use the combination that works best for your trading strategy.
2. Clear Buy/Sell Indicators
Arrows : Buy signals are marked with upward arrows (green/lime/yellow) below the candles, while sell signals are marked with downward arrows (red/fuchsia/gray) above the candles.
Labels : Each signal is accompanied by a label ("BUY" or "SELL") near the arrow for clarity.
Vertical Lines : A vertical line is drawn at the exact bar where the signal occurs, extending from the low to the high of the candle. This ensures you can pinpoint the exact entry point without ambiguity.
3. Dynamic Overbought/Oversold Levels
You can customize the overbought and oversold levels for each indicator:
RSI: Default values are 70 (overbought) and 30 (oversold).
CCI: Default values are +100 (overbought) and -100 (oversold).
Stochastic: Default values are 80 (overbought) and 20 (oversold).
These levels can be adjusted to suit your trading preferences or market conditions.
4. Input Validation
The script includes built-in validation to ensure that oversold levels are always lower than overbought levels for each indicator. If the inputs are invalid, an error message will appear, preventing incorrect configurations.
5. Clean Chart Design
To avoid clutter, the script dynamically manages vertical lines:
Only the most recent 50 buy/sell lines are displayed. Older lines are automatically deleted to keep the chart clean.
Labels and arrows are placed strategically to avoid overlapping with candles.
6. ATR-Based Offset
The vertical lines and labels are offset using the Average True Range (ATR) to ensure they don’t overlap with the price action. This makes the signals easier to see, especially during volatile market conditions.
7. Scalable and Professional
The script uses arrays to manage multiple vertical lines, ensuring scalability and performance even when many signals are generated.
It adheres to Pine Script v6 standards, ensuring compatibility and reliability.
How It Works
Indicator Calculations :
The script calculates the values of RSI, CCI, and Stochastic Oscillator based on user-defined lengths and smoothing parameters.
It then checks for crossover/crossunder conditions relative to the overbought/oversold levels to generate individual signals.
Combined Signals :
Depending on the selected signal type, the script combines the individual signals logically:
For example, a "RSI & CCI" buy signal requires both RSI and CCI to cross into their respective oversold zones simultaneously.
Signal Plotting :
When a signal is generated, the script:
Plots an arrow (upward for buy, downward for sell) at the corresponding bar.
Adds a label ("BUY" or "SELL") near the arrow for clarity.
Draws a vertical line extending from the low to the high of the candle to mark the exact entry point.
Line Management :
To prevent clutter, the script stores up to 50 vertical lines in arrays (buy_lines and sell_lines). Older lines are automatically deleted when the limit is exceeded.
Why Use This Script?
Versatility : Whether you're a scalper, swing trader, or long-term investor, this script can be tailored to your needs by selecting the appropriate signal type and adjusting the indicator parameters.
Clarity : The combination of arrows, labels, and vertical lines ensures that signals are easy to spot and interpret, even in fast-moving markets.
Customization : With adjustable overbought/oversold levels and multiple signal options, you can fine-tune the script to match your trading strategy.
Professional Design : The script avoids clutter by limiting the number of lines displayed and using ATR-based offsets for better visibility.
How to Use This Script
Add the Script to Your Chart :
Copy and paste the script into the Pine Editor in TradingView.
Save and add it to your chart.
Select Signal Type :
Use the "Signal Type" dropdown menu to choose the combination of indicators you want to use.
Adjust Parameters :
Customize the lengths of RSI, CCI, and Stochastic, as well as their overbought/oversold levels, to match your trading preferences.
Interpret Signals :
Look for green arrows and "BUY" labels for buy signals, and red arrows and "SELL" labels for sell signals.
Vertical lines will help you identify the exact bar where the signal occurred.
Tips for Traders
Backtest Thoroughly : Before using this script in live trading, backtest it on historical data to ensure it aligns with your strategy.
Combine with Other Tools : While this script provides reliable signals, consider combining it with other tools like support/resistance levels or volume analysis for additional confirmation.
Avoid Overloading the Chart : If you notice too many signals, try tightening the overbought/oversold levels or switching to a combined signal type (e.g., "RSI & CCI & Stochastic") for fewer but higher-confidence signals.
TSI Long/Short for BTC 2HThe TSI Long/Short for BTC 2H strategy is an advanced trend-following system designed specifically for trading Bitcoin (BTC) on a 2-hour timeframe. It leverages the True Strength Index (TSI) to identify momentum shifts and executes both long and short trades in response to dynamic market conditions.
Unlike traditional moving average-based strategies, this script uses a double-smoothed momentum calculation, enhancing signal accuracy and reducing noise. It incorporates automated position sizing, customizable leverage, and real-time performance tracking, ensuring a structured and adaptable trading approach.
🔹 What Makes This Strategy Unique?
Unlike simple crossover strategies or generic trend-following approaches, this system utilizes a customized True Strength Index (TSI) methodology that dynamically adjusts to market conditions.
🔸 True Strength Index (TSI) Filtering – The script refines the TSI by applying double exponential smoothing, filtering out weak signals and capturing high-confidence momentum shifts.
🔸 Adaptive Entry & Exit Logic – Instead of fixed thresholds, it compares the TSI value against a dynamically determined high/low range from the past 100 bars to confirm trade signals.
🔸 Leverage & Risk Optimization – Position sizing is dynamically adjusted based on account equity and leverage settings, ensuring controlled risk exposure.
🔸 Performance Monitoring System – A built-in performance tracking table allows traders to evaluate monthly and yearly results directly on the chart.
📊 Core Strategy Components
1️⃣ Momentum-Based Trade Execution
The strategy generates long and short trade signals based on the following conditions:
✅ Long Entry Condition – A buy signal is triggered when the TSI crosses above its 100-bar highest value (previously set), confirming bullish momentum.
✅ Short Entry Condition – A sell signal is generated when the TSI crosses below its 100-bar lowest value (previously set), indicating bearish pressure.
Each trade execution is fully automated, reducing emotional decision-making and improving trading discipline.
2️⃣ Position Sizing & Leverage Control
Risk management is a key focus of this strategy:
🔹 Dynamic Position Sizing – The script calculates position size based on:
Account Equity – Ensuring trade sizes adjust dynamically with capital fluctuations.
Leverage Multiplier – Allows traders to customize risk exposure via an adjustable leverage setting.
🔹 No Fixed Stop-Loss – The strategy relies on reversals to exit trades, meaning each position is closed when the opposite signal appears.
This design ensures maximum capital efficiency while adapting to market conditions in real time.
3️⃣ Performance Visualization & Tracking
Understanding historical performance is crucial for refining strategies. The script includes:
📌 Real-Time Trade Markers – Buy and sell signals are visually displayed on the chart for easy reference.
📌 Performance Metrics Table – Tracks monthly and yearly returns in percentage form, helping traders assess profitability over time.
📌 Trade History Visualization – Completed trades are displayed with color-coded boxes (green for long trades, red for short trades), visually representing profit/loss dynamics.
📢 Why Use This Strategy?
✔ Advanced Momentum Detection – Uses a double-smoothed TSI for more accurate trend signals.
✔ Fully Automated Trading – Removes emotional bias and enforces discipline.
✔ Customizable Risk Management – Adjust leverage and position sizing to suit your risk profile.
✔ Comprehensive Performance Tracking – Integrated reporting system provides clear insights into past trades.
This strategy is ideal for Bitcoin traders looking for a structured, high-probability system that adapts to both bullish and bearish trends on the 2-hour timeframe.
📌 How to Use: Simply add the script to your 2H BTC chart, configure your leverage settings, and let the system handle trade execution and tracking! 🚀
[SHORT ONLY] Internal Bar Strength (IBS) Mean Reversion Strategy█ STRATEGY DESCRIPTION
The "Internal Bar Strength (IBS) Strategy" is a mean-reversion strategy designed to identify trading opportunities based on the closing price's position within the daily price range. It enters a short position when the IBS indicates overbought conditions and exits when the IBS reaches oversold levels. This strategy is Short-Only and was designed to be used on the Daily timeframe for Stocks and ETFs.
█ WHAT IS INTERNAL BAR STRENGTH (IBS)?
Internal Bar Strength (IBS) measures where the closing price falls within the high-low range of a bar. It is calculated as:
IBS = (Close - Low) / (High - Low)
- Low IBS (≤ 0.2) : Indicates the close is near the bar's low, suggesting oversold conditions.
- High IBS (≥ 0.8) : Indicates the close is near the bar's high, suggesting overbought conditions.
█ SIGNAL GENERATION
1. SHORT ENTRY
A Short Signal is triggered when:
The IBS value rises to or above the Upper Threshold (default: 0.9).
The Closing price is greater than the previous bars High (close>high ).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
An exit Signal is generated when the IBS value drops to or below the Lower Threshold (default: 0.3). This prompts the strategy to exit the position.
█ ADDITIONAL SETTINGS
Upper Threshold: The IBS level at which the strategy enters trades. Default is 0.9.
Lower Threshold: The IBS level at which the strategy exits short positions. Default is 0.3.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for Stocks and ETFs markets and performs best when prices frequently revert to the mean.
The strategy can be optimized further using additional conditions such as using volume or volatility filters.
It is sensitive to extreme IBS values, which help identify potential reversals.
Backtesting results should be analyzed to optimize the Upper/Lower Thresholds for specific instruments and market conditions.
ADX with Moving AverageADX with Moving Average is a powerful indicator that enhances trend analysis by combining the standard Average Directional Index (ADX) with a configurable moving average.
The ADX helps traders identify the strength of a trend. In general:
ADX 0-20 – Absent or Weak Trend
ADX 25-50 – Strong Trend
ADX 50-75 – Very Strong Trend
ADX 75-100 – Extremely Strong Trend
By adding a moving average we can judge if the ADX itself is trending upwards or downwards, i.e. if a new trend is emerging or an existing one is weakening.
This combination allows traders to better confirm strong trends and filter out weak or choppy market conditions.
Key Features & Customization:
✔ Configurable DI & ADX Lengths – Adjust how quickly the ADX reacts to price movements (default: 14, 14).
✔ Multiple Moving Average Options – Choose between SMA, EMA, WMA, VWMA, or T3 for trend confirmation.
✔ Custom MA Length – Fine-tune the sensitivity of the moving average to match your strategy.
🔹 Use this indicator to confirm strong trends before entering trades, filter out false signals, or refine existing strategies with a dynamic trend-strength component. 🚀
OI RSI - WuJianDAOOI RSI (Open Interest Relative Strength Index)
Overview: OI RSI is a technical indicator that applies the RSI concept to open interest data.
Key Features:
Traditional vs. OI RSI:
Traditional RSI measures price movements to identify overbought or oversold conditions.
OI RSI computes the relative strength of open interest over a specified period.
Purpose:
Provides insights into market participation and sentiment by evaluating open interest levels.
Application:
Assists traders in detecting potential reversals or confirming trends based on open interest dynamics.
Crypto Scanner v4This guide explains a version 6 Pine Script that scans a user-provided list of cryptocurrency tokens to identify high probability tradable opportunities using several technical indicators. The script combines trend, momentum, and volume-based analyses to generate potential buying or selling signals, and it displays the results in a neatly formatted table with alerts for trading setups. Below is a detailed walkthrough of the script’s design, how traders can interpret its outputs, and recommendations for optimizing indicator inputs across different timeframes.
## Overview and Key Components
The script is designed to help traders assess multiple tokens by calculating several indicators for each one. The key components include:
- **Input Settings:**
- A comma-separated list of symbols to scan.
- Adjustable parameters for technical indicators such as ADX, RSI, MFI, and a custom Wave Trend indicator.
- Options to enable alerts and set update frequencies.
- **Indicator Calculations:**
- **ADX (Average Directional Index):** Measures trend strength. A value above the provided threshold indicates a strong trend, which is essential for validating momentum before entering a trade.
- **RSI (Relative Strength Index):** Helps determine overbought or oversold conditions. When the RSI is below the oversold level, it may present a buying opportunity, while an overbought condition (not explicitly part of this setup) could suggest selling.
- **MFI (Money Flow Index):** Similar in concept to RSI but incorporates volume, thus assessing buying and selling pressure. Values below the designated oversold threshold indicate potential undervaluation.
- **Wave Trend:** A custom indicator that calculates two components (WT1 and WT2); a crossover where WT1 moves from below to above WT2 (particularly near oversold levels) may signal a reversal and a potential entry point.
- **Scanning and Trading Zone:**
- The script identifies a *bullish setup* when the following conditions are met for a token:
- ADX exceeds the threshold (strong trend).
- Both RSI and MFI are below their oversold levels (indicating potential buying opportunities).
- A Wave Trend crossover confirms near-term reversal dynamics.
- A *trading zone* condition is also defined by specific ranges for ADX, RSI, MFI, and a limited difference between WT1 and WT2. This zone suggests that the token might be in a consolidation phase where even small moves may be significant.
- **Alerts and Table Reporting:**
- A table is generated, with each row corresponding to a token. The table contains columns for the symbol, ADX, RSI, MFI, WT1, WT2, and the trading zone status.
- Visual cues—such as different background colors—highlight tokens with a bullish setup or that are within the trading zone.
- Alerts are issued based on the detection of a bullish setup or entry into a trading zone. These alerts are limited per bar to avoid flooding the trader with notifications.
## How to Interpret the Indicator Outputs
Traders should use the indicator values as guidance, verifying them against their own analysis before making any trading decision. Here’s how to assess each output:
- **ADX:**
- **High values (above threshold):** Indicate strong trends. If other indicators confirm an oversold condition, a trader may consider a long position for a corrective reversal.
- **Low values:** Suggest that the market is not trending strongly, and caution should be taken when considering entry.
- **RSI and MFI:**
- **Below oversold levels:** These conditions are traditionally seen as signals that an asset is undervalued, potentially triggering a bounce.
- **Above typical resistance levels (not explicitly used here):** Would normally caution a trader against entering a long position.
- **Wave Trend (WT1 and WT2):**
- A crossover where WT1 moves upward above WT2 in an oversold environment can signal the beginning of a recovery or reversal, thereby reinforcing buy signals.
- **Trading Zone:**
- Being “in zone” means that the asset’s current values for ADX, RSI, MFI, and the closeness of the Wave Trend lines indicate a period of consolidation. This scenario might be suitable for both short-term scalping or as an early exit indicator, depending on further market analysis.
## Timeframe Optimization Input Table
Traders can optimize indicator inputs depending on the timeframe they use. The following table provides a set of recommended input values for various timeframes. These values are suggestions and should be adjusted based on market conditions and individual trading styles.
Timeframe ADX RSI MFI ADX RSI MFI WT Channel WT Average
5-min 10 10 10 20 30 20 7 15
15-min 12 12 12 22 30 20 9 18
1-hour 14 14 14 25 30 20 10 21
4-hour 16 16 16 27 30 20 12 24
1-day 18 18 18 30 30 20 14 28
Adjust these parameters directly in the script’s input settings to match the selected timeframe. For shorter timeframes (e.g., 5-min or 15-min), the shorter lengths help filter high-frequency noise. For longer timeframes (e.g., 1-day), longer input values may reduce false signals and capture more significant trends.
## Best Practices and Usage Tips
- **Token Limit:**
- Limit the number of tokens scanned to 10 per query line. If you need to scan more tokens, initiate a new query line. This helps manage screen real estate and ensures the table remains legible.
- **Confirming Signals:**
- Use this script as a starting point for identifying high potential trades. Each indicator’s output should be used to confirm your trading decision. Always cross-reference with additional technical analysis tools or market context.
- **Regular Review:**
- Since the script updates the table every few bars (as defined by the update frequency), review the table and alerts regularly. Market conditions change rapidly, so timely decisions are crucial.
## Conclusion
This Pine Script provides a comprehensive approach for scanning multiple cryptocurrencies using a combination of trend strength (ADX), momentum (RSI and MFI), and reversal signals (Wave Trend). By using the provided recommendation table for different timeframes and limiting the tokens to 20 per query line (with a maximum of four query lines), traders can streamline their scanning process and more effectively identify high probability tradable tokens. Ultimately, the outputs should be critically evaluated and combined with additional market research before executing any trades.