Absolute Volume Levels MA [AlgoRich]This script allows you to:
Choose between dynamic or static thresholds to classify the volume of the bars.
Select the type of moving average (SMA, EMA, RMA, or KAMA) and the period for calculating the volume's moving average, making it easier to adapt to different asset behaviors and volatilities.
Configure multiplier factors that determine the intermediate and strong thresholds based on the volume's moving average.
Assign differentiated colors for bullish and bearish bars, depending on whether the volume is weak, intermediate, or strong.
Visualize the classified volume in a histogram, which helps quickly identify the bars with the highest activity.
This flexibility and customization allow the indicator to adapt to various assets and timeframes, providing a robust visual tool for analyzing volume behavior.
Zmienność
Volatility-Adjusted Momentum Oscillator (VAMO)Concept & Rationale: This indicator combines momentum and volatility into one oscillator. The idea is that a price move accompanied by high volatility has greater significance. We use Rate of Change (ROC) for momentum and Average True Range (ATR) for volatility, multiplying them to gauge “volatility-weighted momentum.” This concept is inspired by the Weighted Momentum & Volatility Indicator, which multiplies normalized ROC and ATR values. The result is shown as a histogram oscillating around zero – rising green bars indicate bullish momentum, while falling red bars indicate bearish momentum. When the histogram crosses above or below zero, it provides clear buy/sell signals. Higher magnitude bars suggest a stronger trend move. Crypto markets often see volatility spikes preceding big moves, so VAMO aims to capture those moments when momentum and volatility align for a powerful breakout.
Key Features:
Momentum-Volatility Fusion: Measures momentum (price ROC) adjusted by volatility (ATR). Strong trends register prominently only when price change is significant and volatility is elevated.
Intuitive Histogram: Plotted as a color-coded histogram around a zero line – green bars above zero for bullish trends, red bars below zero for bearish. This makes it easy to visualize trend strength and direction at a glance.
Clear Signals: A cross above 0 signals a buy, and below 0 signals a sell. Traders can also watch for the histogram peaking and then shrinking as an early sign of a trend reversal (e.g. bars switching from growing to shrinking while still positive could mean bullish momentum is waning).
Optimized for Volatility: Because ATR is built-in, the oscillator naturally adapts to crypto volatility. In calm periods, signals will be smaller (reducing noise), whereas during volatile swings the indicator accentuates the move, helping predict big price swings.
Customization: The lookback period is adjustable. Shorter periods (e.g. 5-10) make it more sensitive for scalping, while longer periods (20+) smooth it out for swing trading.
How to Use: When VAMO bars turn green and push above zero, it indicates bullish momentum with strong volatility – a cue that price is likely to rally in the near term. Conversely, red bars below zero signal bearish pressure. For example, if a coin’s price has been flat and then VAMO spikes green above zero, it suggests an explosive upward move is brewing. Traders can enter on the zero-line cross (or on the first green bar) and consider exiting when the histogram peaks and starts shrinking (signaling momentum slowdown). In sideways markets, VAMO will hover near zero – staying out during those low-volatility periods helps avoid false signals. This indicator’s strength is catching the moment when a quiet market turns volatile in one direction, which often precedes the next few candlesticks of sustained movement.
Markov + Monte Carlo Simulation with EVMarkov Monte Carlo Projection (MMCP) – A Probabilistic Approach to Price Forecasting
Introduction: A New Approach to Price Projection
The Markov Monte Carlo Projection (MMCP) is an advanced stochastic forecasting tool that models potential future price paths using a combination of Markov Chain transition probabilities and Monte Carlo simulations. Unlike traditional technical indicators that rely on fixed formulas, MMCP employs probability distributions and simulated price movement paths to estimate future price behavior dynamically.
This indicator is designed to adapt to changing market conditions and provides traders with a probabilistic framework rather than a fixed forecast. By incorporating volatility modeling, MMCP enables traders to size projections proportionally to recent price action, making it an adaptive and flexible forecasting tool.
Mathematical Foundations
Markov Chains: Modeling Probability of Price Movements
A Markov Chain is a stochastic process where the probability of transitioning to the next state depends only on the current state and not on past states (i.e., it is memoryless).
For price movement, MMCP analyzes the past N bars (set by the lookback window) to determine the transition probabilities of price moving up, down, or remaining the same based on past behavior:
Pup=Number of Up MovesTotal Moves
Pup=Total MovesNumber of Up Moves
Pdown=Number of Down MovesTotal Moves
Pdown=Total MovesNumber of Down Moves
Psame=1−(Pup+Pdown)
Psame=1−(Pup+Pdown)
These probabilities guide how future price movements are simulated, ensuring that projections reflect historical price behavior tendencies.
Monte Carlo Simulations: Generating Possible Futures
Monte Carlo simulations involve running many random trials to estimate possible outcomes. Each trial simulates a future price path by:
Randomly selecting a direction based on the Markov probabilities Pup,Pdown,PsamePup,Pdown,Psame.
Determining the magnitude of the price movement using a normally distributed volatility model.
Iterating this process across multiple forecast bars to simulate a range of potential price paths.
This process does not predict a single outcome, but rather generates a probability-weighted range of future price possibilities.
Volatility Modeling: Scaling Movements Proportionally
Why We Use Standard Deviation (σσ)
Price movement is inherently volatile, and the magnitude of price shifts must be scaled relative to recent volatility. MMCP calculates rolling price returns and then derives the standard deviation of those returns:
σ=stdev(price returns,lookback)
σ=stdev(price returns,lookback)
The Volatility Multiplier allows users to adjust the impact of this volatility on projected movements. This makes the indicator adaptive to different asset price ranges.
Key User Adjustments
1. Volatility Multiplier – Tuning Projections for Different Assets
The scale of the Volatility Multiplier must be tuned for each asset because it is relative to the magnitude of price action. For example:
Low-priced assets (e.g., $2.50 stocks) → A multiplier of 0.1 works best.
Mid-priced assets (e.g., $250 stocks) → A multiplier of 3 works best.
High-priced assets (e.g., Bitcoin) → A multiplier of 1000 works best.
🔹 If projections seem too extreme, decrease the multiplier.
🔹 If projections seem too flat, increase the multiplier.
The Volatility Multiplier can also be fine-tuned to make the projected signal proportionate to the immediately preceding price action.
2. Expected Value (EV) Path – Analyzing Aggregate Future Probabilities
The EV Line is a computed average of all simulated paths, giving traders an expected mean trajectory.
If you find that the EV Line is not visible, try increasing the volatility multiplier to make it more pronounced.
3. Projection Inversion – Enhancing Analysis with Paired Indicators
A unique feature of MMCP is the projection inversion toggle, designed to allow traders to run multiple instances of the indicator in tandem.
When one instance is set to normal projection and another to inverted projection, traders can pair them together using identical settings (except inversion). This setup allows for a mirrored probability perspective and enhances visualizing volatility dynamics.
Additionally, traders can use multiple sets of paired indicators, each with a different lookback window, to build a multi-layered, probability-driven market visualization. This dynamic approach provides an evolving structure of probable price movement in different time frames, offering deeper insights into potential market conditions.
How MMCP Works in Real-Time
Each new bar triggers a fresh Monte Carlo simulation, meaning that projections organically evolve with the market. This ensures that MMCP is always responding to current conditions, rather than applying static assumptions.
How to Use MMCP in Trading
✔ Identifying Potential Reversal & Continuation Zones
If most Monte Carlo paths project upward, bullish momentum is likely.
If most Monte Carlo paths project downward, bearish momentum is likely.
The Expected Value (EV) Line can help confirm the most probable trajectory.
✔ Analyzing Market Sentiment in Real Time
Use multiple instances of MMCP with different lookback windows to capture short-term vs. long-term sentiment.
Enable projection inversion to analyze potential mirrored moves.
✔ Fine-Tuning MMCP for Your Strategy
Adjust the Volatility Multiplier to match the price scale of your asset.
Increase the number of simulations to improve statistical robustness.
Use shorter lookback windows for more responsive predictions, or longer windows for more stable forecasts.
Why MMCP is a Game-Changer
✅ Dynamic & Probabilistic – Unlike fixed indicators, MMCP adapts in real-time.
✅ Fully Stochastic – MMCP embraces uncertainty using Markov models & Monte Carlo simulations.
✅ Customizable for Any Asset – Adjust the Volatility Multiplier for small or large price movements.
✅ Live Updates – The projection organically evolves with every new price bar.
✅ Multi-Perspective Analysis – Traders can run paired normal and inverted projections for deeper insights.
By tuning Volatility Multiplier, Lookback Window, and Projection Inversion, traders can customize MMCP to fit their strategy.
Final Thoughts
The Markov Monte Carlo Projection (MMCP) is not about making absolute predictions—it is about understanding probability distributions in price action.
By leveraging Monte Carlo simulations, Markov transition probabilities, and dynamic volatility modeling, MMCP gives traders a powerful probability-based edge in forecasting potential price movement.
Black-Scholes Probability Model with Time-Based VolatilityI developed this tool to automate probability calculations and to verify if Polymarkets accurately reflects Bitcoin's value. The indicator uses a modified Black-Scholes model to estimate the likelihood of Bitcoin exceeding or falling below a $97,000 strike price by a specified end date, providing a "fair value" probability.
Key Features:
- Timeframe Control: Displays data only between a defined start and end date, ensuring relevance during the prediction period.
- Dynamic Volatility Calculation: Offers a choice between manual input and auto-calculated annualized volatility. The auto-calculation derives historical volatility from recent price data over a selected lookback period and adjusts it based on the time remaining until expiration. More time implies greater expected price movement; less time indicates a narrower expected range.
- Probability Estimation: Calculates an adjusted parameter (d1) and applies a normal cumulative distribution function (CDF) to determine:
- "Yes" (Green Line): Probability that Bitcoin will exceed $97,000.
- "No" (Red Line): Probability that Bitcoin will remain below $97,000.
When Bitcoin's price is exactly $97,000, the tool sets the probabilities to a balanced 50/50 split, indicating fair value.
- Fair Value Indicator: Includes a static white reference line at 50% probability. A 50/50 probability suggests Bitcoin is fairly valued at $97,000; deviations indicate potential overvaluation or undervaluation.
- Polymarkets Tracking & Trading Strategy: I use Polymarkets to access cost-effective, high-leverage long call options on Bitcoin. However, these options don't always mirror Bitcoin's price movements precisely. For instance, if I anticipate Bitcoin rising from $95,000 to $97,000 by day's end, the tool might show a fair value probability of 50%. If Polymarkets quotes a 50% chance, the alignment indicates a fair trade. In such cases, I can avoid an unfavorable trade or exploit the difference as an arbitrage opportunity.
- Personal Motivation: This indicator eliminates the need for manual calculations and ensures I can quickly assess when Polymarkets' pricing aligns with Bitcoin's actual value, leading to more informed trading decisions.
This tool automates probability and fair value assessments, serving as a practical resource for verifying and potentially capitalizing on discrepancies in Polymarkets' Bitcoin pricing. It helps identify when there's a mismatch between the market's implied probability and the calculated fair value, allowing me to avoid unnecessary premiums on high-leverage options.
Zerg range filter credit to Kivanc turkish pinecoder for base indicator i reworked with chatgpt and some common sense
this indicator similar to the ADX but i think its better visually to keep you out of market conditions that are unfavorable.
i made original indicator to work in a 0-100 enviroment (before it was a zero middle line oscillator) and added background coloring that has a lower and higher threshold setting. i also added a smoothing moving average. this will trigger threshold levels (not the core oscillator)
above higher level would indicate trending market conditions and its purple. these are the areas where you might want to buy low period moving average bounces like 10 or 21 ema
lower band will paint indicator background blue and its cold, meaning range bound trade ideas are likely play out better. selling resistance and buying horizontal supports for example.
you are encourage to play with lookback period and change thresholds until you find something that works for your trading.
on the picture above it illustrates how i intended its usage.
it also shows divergences which was not intended but also a function.
you can also observe as the oscillator likes to coil up into a tight range (horizontal or a wedge formation) and when these break their trendlines explosive moves are incoming usually.
if you have a trading system and can generate a lot of signals but want to filter out some loser trades this could be the indicator you were looking for.
i hope this will be inline with community guidelines. my other publishing got removed unfortunately
Crypto Candle Low Leverage TrackerCrypto Candle Low Leverage Tracker
The Candle Low Leverage Indicator is a powerful tool for long position traders seeking to manage risk effectively when using leverage. By evaluating the current candle's low price, this indicator helps traders make more informed decisions about potential entry points, stop losses, and leverage levels. The indicator matches the low of the candle to the leverage needed for liquidation, giving you a clear view of how leverage impacts your position.
This indicator provides two critical insights:
% from Candle Low: Tracks how much the price has moved from the low of the current candle. For long position traders, this percentage is crucial for understanding how far the price has come off the low and deciding whether it’s safe to enter a position or if further price action is needed.
Leverage Needed: Estimates the leverage required to reach the candle's low as the liquidation price. Long traders can use this information to adjust leverage to a safer level, ensuring they don’t overexpose themselves to liquidation risks by matching leverage to the candle’s low.
Key Features:
Customizable table positioning (top, middle, bottom).
Toggle options to show/hide % from Candle Low and Leverage Needed.
Visual indicators with color changes: green for positive change, red for negative change, and blue for leverage requirements.
Ideal for long traders, this tool helps evaluate market conditions, manage risks, and calculate the best leverage to use in long trades, ensuring that leverage aligns with the candle’s low to prevent unnecessary liquidations.
zavaUnni-Consolidation Zone DetectorConsolidation Zone Detector - Explanation
This Pine Script indicator is designed to detect Consolidation (flat/sideways) zones in price movement by analyzing volatility and identifying periods of consolidation. It visually highlights these flat zones, helping traders spot potential breakout opportunities.
🔹 Key Features
Customizable Timeframe Selection
Users can choose a specific timeframe (TF) for analysis.
Option to use Heikin Ashi candles instead of standard candlesticks for smoother trend detection.
Volatility-Based Analysis
Calculates body size (co_rate) and high-low range (hl_rate) to measure price movement.
If volatility is below a predefined threshold, the zone is classified as flat.
Flat Zone Detection & Visualization
Detects periods of low volatility and marks them as flat zones.
Stores the highest (flat_high) and lowest (flat_low) prices during the flat period.
If volatility increases beyond the threshold, the flat status is deactivated.
Visual Representation with Lines & Shaded Areas
When a flat zone is detected, it is highlighted with orange lines at the high and low levels.
These lines extend dynamically as the flat zone continues.
A semi-transparent shaded area is drawn to emphasize the consolidation range.
🔹 How to Use
Identify sideways price movements and prepare for potential breakouts.
Use in conjunction with other indicators to refine entry and exit points.
Combine with Heikin Ashi candles for a smoother trend analysis.
This indicator is particularly useful for spotting range-bound markets and detecting areas of low volatility where a breakout may soon occur
Price Step Channel [BigBeluga]Price Step Channel is designed to provide a structured look at price trends through a dynamic step line channel, highlighting trend direction and volatility boundaries.
🔵 Key Features:
Step Line with Boundaries: The central step line adjusts with price movements, creating upper and lower boundaries based on price volatility. The channel is green during uptrends and red during downtrends, visually signaling the trend’s direction.
Fakeout Markers: "✖" markers identify potential fakeouts—moments when the price breaches the channel boundary without confirming a trend change. These markers help you spot possible mean reversion points.
Dynamic Boundary Labels: Labels at the end of the channel show the price levels of the upper and lower boundaries. In uptrends, the upper label turns green; in downtrends, the lower label turns red, providing an instant read on the trend's direction.
Customizable Display: You can toggle off the boundaries and labels for a cleaner view, focusing only on the step line and its color-coded trend signals.
🔵 When to Use:
Price Step Channel is ideal for traders looking to follow structured trends with defined volatility boundaries. The step line and color-coded channel provide clear trend insights, while the fakeout markers and customizable display options enhance flexibility in different market conditions. Whether you’re focusing on clean trend signals or detailed boundary interactions, this tool adapts to your style.
Ultimate Volatility Scanner by NHBprod - Requested by Client!Hey Everyone!
I created another script to add to my growing library of strategies and indicators that I use for automated crypto and stock trading! This strategy is for BITCOIN but can be used on any stock or crypto. This was requested by a client so I thought I should create it and hopefully build off of it and build variants!
This script gets and compares the 14-day volatility using the ATR percentage for a list of cryptocurrencies and stocks. Cryptocurrencies are preloaded into the script, and the script will show you the TOP 5 coins in terms of volatility, and then compares it to the Bitcoin volatility as a reference. It updates these values once per day using daily timeframe data from TradingView. The coins are then sorted in descending order by their volatility.
If you don't want to use the preloaded set of coins, you have the option of inputting your own coins AND/OR stocks!
Let me know your thoughts.
Position resetThe "Position Reset" indicator
The Position Reset indicator is a sophisticated technical analysis tool designed to identify possible entry points into short positions based on an analysis of market volatility and the behavior of various groups of bidders. The main purpose of this indicator is to provide traders with information about the current state of the market and help them decide whether to open short positions depending on the level of volatility and the mood of the main players.
The main components of the indicator:
1. Parameters for the RSI (Relative Strength Index):
The indicator uses two sets of parameters to calculate the RSI: one for bankers ("Banker"), the other for hot money ("Hot Money").
RSI for Bankers:
RSIBaseBanker: The baseline for calculating bankers' RSI. The default value is 50.
RSIPeriodBanker: The period for calculating the RSI for bankers. The default period is 14.
RSI for hot money:
RSIBaseHotMoney: The baseline for calculating the RSI of hot money. The default value is 30.
RSIPeriodHotMoney: The period for calculating the RSI for hot money. The default period is 21.
These parameters allow you to adjust the sensitivity of the indicator to the actions of different groups of market participants.
2. Sensitivity:
Sensitivity determines how strongly changes in the RSI will affect the final result of calculations. It is configured separately for bankers and hot money:
SensitivityBanker: Sensitivity for bankers' RSI. It is set to 2.0 by default.
SensitivityHotMoney: Sensitivity for hot money RSI. It is set to 1.0 by default.
Changing these parameters allows you to adapt the indicator to different market conditions and trader preferences.
3. Volatility Analysis:
Volatility is measured based on the length of the period, which is set by the volLength parameter. The default length is 30 candles. The indicator calculates the difference between the highest and lowest value for the specified period and divides this difference by the lowest value, thus obtaining the volatility coefficient.
Based on this coefficient, four levels of volatility are distinguished.:
Extreme volatility: The coefficient is greater than or equal to 0.25.
High volatility: The coefficient ranges from 0.125 to 0.2499.
Normal volatility: The coefficient ranges from 0.05 to 0.1249.
Low volatility: The coefficient is less than 0.0499.
Each level of volatility has its own significance for making decisions about entering a position.
4. Calculation functions:
The indicator uses several functions to process the RSI and volatility data.:
rsi_function: This function applies to every type of RSI (bankers and hot money). It adjusts the RSI value according to the set sensitivity and baseline, limiting the range of values from 0 to 20.
Moving Averages: Simple moving averages (SMA), exponential moving averages (EMA), and weighted moving averages (RMA) are used to smooth fluctuations. They are applied to different time intervals to obtain the average values of the RSI.
Thus, the indicator creates a comprehensive picture of market behavior, taking into account both short-term and long-term dynamics.
5. Bearish signals:
Bearish signals are considered situations when the RSI crosses certain levels simultaneously with a drop in indicators for both types of market participants (bankers and hot money).:
The bankers' RSI crossing is below the level of 8.5.
The current hot money RSI is less than 18.
The moving averages for banks and hot money are below their signal lines.
The RSI values for bankers are less than 5.
These conditions indicate a possible beginning of a downtrend.
6. Signal generation:
Depending on the current level of volatility and the presence of bearish signals, the indicator generates three types of signals:
Orange circle: Extremely high volatility and the presence of a bearish signal.
Yellow circle: High volatility and the presence of a bearish signal.
Green circle: Low volatility and the presence of a bearish signal.
These visual markers help the trader to quickly understand what level of risk accompanies each specific signal.
7. Notifications:
The indicator supports the function of sending notifications when one of the three types of signals occurs. The notification contains a brief description of the conditions under which the signal was generated, which allows the trader to respond promptly to a change in the market situation.
Advantages of using the "Position Reset" indicator:
Multi-level analysis: The indicator combines technical analysis (RSI) and volatility assessment, providing a comprehensive view of the current market situation.
Flexibility of settings: The ability to adjust the sensitivity parameters and the RSI baselines allows you to adapt the indicator to any market conditions and personal preferences of the trader.
Clear visualization: The use of colored labels on the chart simplifies the perception of information and helps to quickly identify key points for entering a trade.
Notification support: The notification sending feature makes it much easier to monitor the market, allowing you to respond to important events in time.
Volatility Arbitrage Spread Oscillator Model (VASOM)The Volatility Arbitrage Spread Oscillator Model (VASOM) is a systematic approach to capitalizing on price inefficiencies in the VIX futures term structure. By analyzing the differential between front-month and second-month VIX futures contracts, we employ a momentum-based oscillator (Relative Strength Index, RSI) to signal potential market reversion opportunities. Our research builds upon existing financial literature on volatility risk premia and contango/backwardation dynamics in the volatility markets (Zhang & Zhu, 2006; Alexander & Korovilas, 2012).
Volatility derivatives have become essential tools for managing risk and engaging in speculative trades (Whaley, 2009). The Chicago Board Options Exchange (CBOE) Volatility Index (VIX) measures the market’s expectation of 30-day forward-looking volatility derived from S&P 500 option prices (CBOE, 2018). Term structures in VIX futures often exhibit contango or backwardation, depending on macroeconomic and market conditions (Alexander & Korovilas, 2012).
This strategy seeks to exploit the spread between the front-month and second-month VIX futures as a proxy for term structure dynamics. The spread’s momentum, quantified by the RSI, serves as a signal for entry and exit points, aligning with empirical findings on mean reversion in volatility markets (Zhang & Zhu, 2006).
• Entry Signal: When RSI_t falls below the user-defined threshold (e.g., 30), indicating a potential undervaluation in the spread.
• Exit Signal: When RSI_t exceeds a threshold (e.g., 70), suggesting mean reversion has occurred.
Empirical Justification
The strategy aligns with findings that suggest predictable patterns in volatility futures spreads (Alexander & Korovilas, 2012). Furthermore, the use of RSI leverages insights from momentum-based trading models, which have demonstrated efficacy in various asset classes, including commodities and derivatives (Jegadeesh & Titman, 1993).
References
• Alexander, C., & Korovilas, D. (2012). The Hazards of Volatility Investing. Journal of Alternative Investments, 15(2), 92-104.
• CBOE. (2018). The VIX White Paper. Chicago Board Options Exchange.
• Jegadeesh, N., & Titman, S. (1993). Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency. The Journal of Finance, 48(1), 65-91.
• Zhang, C., & Zhu, Y. (2006). Exploiting Predictability in Volatility Futures Spreads. Financial Analysts Journal, 62(6), 62-72.
• Whaley, R. E. (2009). Understanding the VIX. The Journal of Portfolio Management, 35(3), 98-105.
STDEV Multi TimeFrame [Snowdex]STDEV Multi TimeFrame
The STDEV Multi TimeFrame indicator plots standard deviation levels (+1SD, +2SD, +3SD, -1SD, -2SD, -3SD) based on a user-selected timeframe (1D, 1W, 1M, etc.). It helps identify volatility, trend strength, and potential reversal zones using Bollinger Bands-style deviation calculations.
Key Features:
✅ Multi-Timeframe Selection – Choose any timeframe for STDEV calculations.
✅ Customizable Bollinger Bands – Select SMA, EMA, RMA, or WMA as the baseline.
✅ Color-Coded STDEV Levels – Fast (Green), Medium (Orange), Slow (Red).
✅ Non-Repainting & Accurate – Uses request.security() for precise data retrieval.
✅ Extended Lines & Labels – Clear trend monitoring with formatted values.
Use Cases:
📌 Detect trend direction & volatility.
📌 Identify overbought/oversold zones.
📌 Use as dynamic support/resistance levels.
🚀 Ideal for stocks, forex, crypto, and options trading! 🚀
Schwarzman Custom ORB with Box DisplayIndicator Overview
The Schwarzman Custom ORB (Opening Range Breakout) Indicator is a fully self-developed script designed for traders who utilize opening range breakout strategies. This indicator allows users to customize their ORB settings, apply them to historical price data, and visually connect multiple ORBs to analyze past performance. The goal is to provide traders with a tool to backtest and refine their breakout strategies based on historical ORB data.
How the Indicator Works
1️⃣ User-Defined ORB Settings
• The user selects a custom start time (hour and minute) for the ORB.
• The user defines a duration (e.g., 15 minutes, 30 minutes, etc.) for the ORB period.
• A timezone offset is included to adjust for different market sessions.
2️⃣ ORB High and Low Calculation
• The script records the highest and lowest prices within the selected ORB time window.
• The recorded values remain static after the ORB period ends, ensuring accurate range plotting.
3️⃣ Historical ORB Visualization
• Instead of only showing a single ORB for the current session, this indicator connects multiple ORBs across past data.
• This allows traders to visually analyze previous breakout performance.
• The plotted ORBs remain fixed and do not repaint, ensuring an accurate backtesting experience.
4️⃣ Stepline Visualization & Range Filling
• The high and low ORB levels are displayed using stepline plots to maintain clear horizontal levels.
• A shaded box is applied between the ORB high and low for better visualization.
Use Cases & Strategy Application
📌 Backtesting Historical ORBs – See how past ORBs performed under different market conditions.
📌 Custom ORB Settings – Adjust the start time and duration for different trading sessions.
📌 Multi-ORB Analysis – Connect ORBs over multiple trading days to study trends and breakouts.
📌 Breakout Strategy Optimization – Use the historical ORB connections to refine entry and exit points.
This indicator is particularly useful for day traders, scalpers, and breakout traders looking for a data-driven approach to trading.
Indicator Development & Transparency Statement
As a trader, I have tested various ORB (Opening Range Breakout) indicators available in the TradingView community. Through these experiences, I aimed to develop a version that best fits my own trading needs and strategy.
This script is a self-developed ORB tool, created from scratch while drawing inspiration from the concept of opening range breakouts, which is widely used in trading. Since I initially coded in Pine Script v4, I used ChatGPT to help refine and migrate the script to Pine Script v6 to ensure compatibility with the latest TradingView features. However, the core logic, structure, and customization were entirely designed and implemented based on my own approach.
I am making this indicator public not to violate any TradingView guidelines but to share my work with the trading community and provide a tool that can help others analyze ORB-based strategies. If there are any compliance concerns, I am open to adjusting the script accordingly, but I want to clarify that this is not a copy of any existing ORB script—it is a custom-built indicator tailored to my own trading preferences.
I appreciate the opportunity to contribute to the community and would welcome any specific feedback from TradingView regarding rule compliance.
Best regards,
Janko S. (Schwarzman)
Appeal to TradingView
Dear TradingView Team,
This script is 100% self-developed and does not copy or replicate any third-party code. It is a customized ORB tool designed for traders who wish to backtest and analyze opening range breakout strategies over multiple sessions. We kindly request specific clarification regarding which exact line(s) of code violate TradingView’s guidelines. If there are any compliance concerns, we are happy to adjust the script accordingly.
Please let us know the precise rules or community guidelines that were violated so we can make the necessary modifications.
🚀 Summary
✔ Fully Custom & Self-Developed – No copied or third-party code.
✔ Innovative Feature – Connects past ORBs for strategy backtesting.
✔ Transparent & Compliant – Requesting exact details on any potential rule violations.
Custom Length ATRThis Custom Length ATR Indicator allows traders to calculate the Average True Range (ATR) dynamically based on a selected timeframe and number of days. Unlike traditional ATR indicators that are tied to the chart’s timeframe, this script lets users choose a specific timeframe scale (e.g., Daily, Hourly, etc.), ensuring consistent volatility measurement across different trading views.
Opening Score with DivergenceOverview
The Opening Score Indicator is a versatile tool designed to help traders assess market sentiment, trend direction, and potential reversals. By combining Opening Range Breakout (ORB), VWAP, Trend, Volatility, and Divergence Detection, this indicator provides a composite score that adapts to different market conditions.
This version includes divergence detection between the Opening Score and price, which highlights potential trend reversals or continuations before they happen. When a regular divergence occurs, the histogram bar turns orange, signaling an increased probability of a trend change.
Best for Both Intraday & Longer-Term Charts
📊 Optimized for intraday trading → Works well on 1m to 30m timeframes for short-term strategies.
📈 Also effective on longer-term charts → Can be used on 1-hour, 4-hour, daily, or weekly charts to identify macro trends and momentum shifts.
🕰️ Adapts to different market conditions → Whether you’re a day trader, swing trader, or position trader, the Opening Score helps you track trend health and reversals.
How It Works
📊 Composite Opening Score Calculation
• ORB Signal → Detects bullish/bearish breakouts based on the opening range.
• VWAP Signal → Measures price positioning relative to VWAP for trend confirmation.
• Trend Signal → Uses a moving average to determine market direction.
• Volatility Signal → Tracks ATR changes to assess market strength.
• Divergence Detection → Identifies regular and hidden divergences for potential reversals or trend continuation.
🔹 Reversal Alerts with Color-Coded Histogram
• Green Bars → Normal bullish Opening Score.
• Red Bars → Normal bearish Opening Score.
• Orange Bars → Warning! Regular Divergence detected → Possible trend reversal.
🔹 Hidden & Regular Divergence Detection
• Regular Divergence (Reversal Signals)
• 📉 Bearish Regular Divergence → Price makes a Higher High, but Opening Score makes a Lower High → 🔻 Possible Downtrend Reversal.
• 📈 Bullish Regular Divergence → Price makes a Lower Low, but Opening Score makes a Higher Low → 🔼 Possible Uptrend Reversal.
• Hidden Divergence (Trend Continuation Signals)
• 📉 Bearish Hidden Divergence → Price makes a Lower High, but Opening Score makes a Higher High → 🔻 Trend Likely to Continue Down.
• 📈 Bullish Hidden Divergence → Price makes a Higher Low, but Opening Score makes a Lower Low → 🔼 Trend Likely to Continue Up.
How to Use It
✅ Watch for Reversal Alerts (Orange Bars) → These highlight potential market turning points.
✅ Use the Zero Line as a Trend Filter → A score above 0 suggests bullish conditions, while below 0 signals bearish conditions.
✅ Combine with Market Structure & Volume Profile → Works well when paired with support/resistance levels, liquidity zones, and order flow data.
✅ Adjust settings based on timeframe → Increase moving average length & lookback periods for longer-term analysis.
Why Use This Indicator?
🚀 Works for both short-term and long-term traders → Adapts to intraday and higher timeframes.
📊 Multi-Factor Analysis → Combines multiple key market indicators for better accuracy.
🎯 Customizable Weighting → Adjust the influence of each signal to suit your trading style.
✅ No Clutter – Only the Opening Score is plotted → Keeps your chart clean & efficient.
🔔 Recommended for Intraday Trading (1m – 30m) AND Longer-Term Analysis (1H – Weekly) → Use this indicator to enhance your trend detection & reversal strategy! 🚀
Normalized ROC²Normalized Rate of Change of Rate of Change (ROC²) Histogram
Overview
The Normalized ROC² Histogram is a momentum-based indicator designed to detect potential trend reversals by measuring the rate of change of the rate of change of price (the second derivative of price movement). This provides insight into when momentum is slowing down, signaling that a price reversal may be approaching.
The indicator also dynamically changes color to highlight shifts in momentum strength, allowing traders to visualize when price acceleration is increasing or decreasing.
How It Works
🔹 Zero Line Crossovers → Potential Direction Change
• When the histogram approaches zero and crosses over, it suggests that price momentum is shifting and a reversal may be imminent.
• Positive to Negative Crossover: Bearish momentum shift.
• Negative to Positive Crossover: Bullish momentum shift.
🔹 Momentum Strength Visualization → Color Shift
• Dark Blue (⬆️ Increasing Positive Momentum) → Price is accelerating upward.
• Light Blue (🔽 Decreasing Positive Momentum) → Uptrend is weakening.
• Dark Red (⬇️ Increasing Negative Momentum) → Price is accelerating downward.
• Light Red (🔼 Decreasing Negative Momentum) → Downtrend is weakening.
🔹 Normalization for Cleaner Visualization
• Prevents extreme volatility spikes from distorting the histogram.
• Normalizes values on a 0 to 100 scale, ensuring consistent bar height.
How to Use It
✅ Watch for Crossovers Near Zero → These can indicate a trend reversal is forming.
✅ Observe Color Changes → A shift from dark to light signals a deceleration, which often precedes price turning points.
✅ Combine with Other Indicators → Works well with Volume Profile, Moving Averages, and Market Structure analysis.
Why This Indicator is Unique
🚀 Second-derivative momentum detection → Provides early insight into potential price shifts.
📊 Normalized bars prevent distortion → No more extreme spikes ruining the scale.
🎯 Color-coded visual cues → Instantly see when momentum is gaining or fading.
📌 Add the Normalized ROC² Histogram to your charts today to detect potential reversals and momentum shifts in real-time! 🚀
Volume Data Customized TimeframeThe "Volume Data Customized Timeframe" (VolData CTF) indicator provides traders with an enhanced volume analysis tool that aggregates buy and sell volume over a user-defined timeframe. It enables a comparative assessment of bullish and bearish volume trends, offering deeper insights into market sentiment. The indicator features a customizable display table with user-selectable themes and positioning, providing essential volume metrics for improved trading decisions.
1. Introduction:
The "Volume Data Customized Timeframe" indicator is designed to help traders analyze volume trends across different timeframes. It allows users to customize the period for volume calculations, view the ratio of selling to buying volume, and present the data in a user-friendly table format.
2. Features:
Selectable timeframe for volume analysis (default: chart timeframe)
Calculation of bullish (buy) and bearish (sell) volume
Customizable table size, theme, and positioning
Displays key volume metrics:
Total Buy Volume
Total Sell Volume
Sell/Buy Volume Ratio
Analysis period in minutes, days, weeks, or months
3. Indicator Inputs:
Average Volume Lookback (n): Number of bars used to calculate volume statistics.
Select Timeframe: Custom timeframe for volume calculations (leave empty to use the chart's timeframe).
Table Size: Choose from Small, Medium, or Big to adjust text size.
Table Theme: Choose between Light and Dark themes.
Table Position: Place the table in any corner of the chart (top-left, top-right, bottom-left, bottom-right).
4. How It Works:
The indicator retrieves volume data for the selected timeframe.
It aggregates bullish and bearish volume based on the lookback period.
The sell-to-buy volume ratio is calculated and color-coded (green for bullish dominance, red for bearish dominance).
The volume statistics are displayed in a customizable table for easy reference.
5. Interpretation:
Δ BUY VOL: Represents the total volume of bullish (up-closing) bars within the lookback period.
Δ SELL VOL: Represents the total volume of bearish (down-closing) bars within the lookback period.
Δ SELL/Δ BUY: The ratio of bearish to bullish volume; values above 1 indicate more selling pressure, while values below 1 indicate buying dominance.
Period (M/D/W/M): Displays the selected timeframe for volume aggregation.
Volatility level'sThis indicator allows you to visualize and analyze critical levels based on the current market volatility. Using advanced measures such as standard deviations and daily variations, it plots dynamic probability levels (SD+1, SD+2, etc.), while adapting to your customized volatility settings.
Key Features:
Customized Volatility Adaptation :
- Adjust the volatility thresholds (Max Asset Volatility (5d) and Min Asset Volatility (5d)) for asset-specific analysis.
Advanced Visualization:
- Display up to 6 daily probability levels (from SD+3 to SD-3) with customizable lines and labels.
Real-Time Statistics :
- Detailed information table on the asset's positive and negative variations, including standard deviations.
Optimized Graphical Management :
- Option to add colored backgrounds to quickly visualize variations, and toggle vertical lines at day changes.
Precise Filters :
- Eliminate noise by filtering variations based on specific VIX (volatility index) conditions.
This tool is perfect for technical traders looking to integrate probabilistic analysis into their strategy. Add it to your charts and discover a new way to anticipate market movements!
Sweep Candle [odnac]
ATR Imbalance Detection
This feature highlights candles that have a significantly larger range compared to the average true range (ATR).
How it works: A candle is considered imbalanced if its range (high - low) exceeds a specified multiple of the ATR (default multiplier is 1.5, with an ATR length of 5).
Visualization: Such candles are highlighted in yellow.
Engulfing Candle Detection
This feature detects bullish and bearish engulfing candles.
Types
Standard: Traditional engulfing pattern where the current candle fully "engulfs" the previous one.
Sweep: A variation where the candle engulfs the previous one and sweeps the previous low (for bullish) or high (for bearish).
Visualization:
Bullish engulfing patterns are marked with a green triangle below the candle.
Bearish engulfing patterns are marked with a red triangle above the candle.
Momentum Candle Detection
This feature identifies candles with strong upward or downward momentum compared to the previous candle.
Types
Standard: A basic momentum pattern where the current candle continues the price direction with strong momentum.
Sweep: A variation where the candle sweeps the previous low (for bullish) or high (for bearish).
Visualization:
Bullish momentum candles are marked with a green circle below the candle.
Bearish momentum candles are marked with a red circle above the candle.
Summary
This indicator helps traders identify significant market conditions such as imbalances, engulfing candles, and momentum patterns, making it a valuable tool for technical analysis and trend-following strategies.
The customizable settings provide flexibility to adapt the tool to different trading styles.
Weighted Directional Movement IndexThe Weighted Directional Movement Index (Weighted-DMI) is an enhanced version of the traditional DMI indicator that incorporates various weighting methods to adjust how +DI and -DI are calculated. This allows traders to refine trend detection based on volume, volatility, or price position within Bollinger Bands.
The indicator can be used on any asset and any timeframe, making it versatile for stocks, forex, crypto, and commodities.
How to Use This Indicator:
Trend Reversals → When the blue line (+DI) crosses above the orange line (-DI), it signals a potential bullish trend.
Bearish Trend Shift → When -DI (orange) crosses above +DI (blue), it indicates a possible bearish trend.
Pullback & Re-Entry → If the lines briefly touch or converge and then separate again, it suggests a pullback and potential trend continuation.
This version of DMI allows you to apply different weightings to the trend calculation, helping filter out noise and improve accuracy.
1️⃣ Weighting Methods:
Users can select from multiple weighting options to refine trend detection based on different market conditions:
✅ None (Default DMI Calculation)
Uses the standard +DI and -DI values with no modifications.
✅ Volume Weighting
Adjusts DMI based on traded volume.
Higher volume days increase the weight of the directional movement, making strong-volume moves more impactful.
✅ Volume Delta Weighting
Uses a basic volume delta approximation ((close - open) * volume).
If the price closes higher, upward moves are weighted more.
If the price closes lower, downward moves get greater weighting.
This method can help highlight aggressive price movements with strong participation.
✅ ATR Ratio Weighting (Volatility-Adjusted)
Adjusts DMI based on how today’s ATR compares to its average ATR.
If volatility is higher than usual, the DI values are boosted, helping emphasize strong trends.
If volatility is low, weighting is reduced, helping avoid false signals in quiet markets.
✅ Bollinger Band Position Weighting
Adjusts DI values based on how far price is from the Bollinger Band midpoint.
If price is above the middle band, +DI is amplified and -DI is dampened (bullish bias).
If price is below the middle band, -DI is amplified and +DI is dampened (bearish bias).
This method is useful for mean-reversion strategies and identifying breakouts from Bollinger Band squeezes.
How This Can Be Useful for Traders:
Trend Followers can use crossovers (+DI/-DI) to confirm trend direction shifts.
Swing Traders can watch for pullbacks and re-entries when the lines touch and diverge again.
Volatility-Based Traders may prefer ATR Ratio weighting to emphasize trends during high-volatility conditions.
Breakout Traders might benefit from Bollinger Band weighting, identifying when price moves away from a consolidation zone.
Volume-Based Traders can use Volume or Volume Delta weighting to prioritize trends with strong participation.
Alerts Included
🚨 Bullish Trend Alert: Triggered when +DI crosses above -DI
🚨 Bearish Trend Alert: Triggered when -DI crosses above +DI
Indicator is much more accurate compared to the traditional Directional Movement Index if you apply the weighting. I personally find the Bollinger Band and then Volume weighting highly useful.
The indicator gives signals a lot earlier compared to other indicators, whilst remaining as accurate as possible.
Higher times frame such as the 15 minute and 1 hour I find work best.
True Strength Index with Zones & AlertsKey Features:
True Strength Index (TSI) Calculation
Uses double-smoothed exponential moving averages (EMA) to calculate TSI.
A signal line (EMA of TSI) helps confirm trends.
Dynamic Color Coding for TSI Line
Green: TSI is above the signal line (Bullish).
Red: TSI is below the signal line (Bearish).
Crossover & Crossunder Signals
Bullish Crossover (TSI crosses above Signal Line) → Green Circle.
Bearish Crossunder (TSI crosses below Signal Line) → Red Circle.
Alerts for Trading Signals
Buy Alert: TSI crosses above the signal line.
Sell Alert: TSI crosses below the signal line.
Overbought & Oversold Zones
Overbought: Between 40 and 50 (Red Zone).
Oversold: Between -40 and -50 (Green Zone).
Highlighted Background when TSI enters these zones.
Neutral Line at 0
Helps determine trend direction and momentum shifts.
How to Use These Values:
• TSI Crosses Above Signal Line → Bullish entry.
• TSI Crosses Below Signal Line → Bearish entry.
• Overbought (+40 to +50) & Oversold (-40 to -50) zones → Watch for trend reversals.
• Divergence Signals → If price makes a new high/low but TSI doesn’t, momentum is weakening.
Heikin-Ashi Trend ScalpHeikin-Ashi Trend Scalp is an indicator for TradingView, designed to identify short-term trends and entry points based on Heikin-Ashi candles and EMA crossovers.
Key Features:
Attention Signals: Early warning of potential entry points.
Buy/Sell Signals: Filtered signals based on the prevailing trend.
Filters (Slow Mode, Shadow Filter): Help reduce the number of false signals.
Shadow Filter: Eliminates false signals caused by shadows against the trend.
The warning bar should not have any shadow against the trend.
If the bar with the buy/sell signal has a shadow that crosses the opening level of the warning bar, the signal disappears.
Since the signal may disappear as the candle forms, entries should only be made after the signal has been confirmed.
It is not recommended to disable the Shadow Filter, as doing so may lead to an increase in false signals.
Slow Mode: Reduces false signals by using longer-term EMA crossovers. For timeframes of 1–5 minutes, it is recommended to use Slow Mode to reduce false signals.
EMA Lines (7, 21, 50): Displayed for trend determination. Depending on the selected mode: in standard mode, EMA 21 (fast) is shown, in Slow Mode, the longer-term EMA 50 (slow) is displayed.
Stop-Loss Price: Automatically set at the opening level of the candle two bars ago and displayed on the chart.
RSI: Displays the current value of the RSI indicator and visualizes it with color:
Red — for overbought conditions (above 70).
Green — for oversold conditions (below 30).
Yellow — for values in the neutral zone (between 30 and 70).
Alerts: Notifications for new signals in real-time.
The indicator is ideal for scalping and short-term trading, especially when used in conjunction with other technical analysis tools.
Waldo Momentum Cloud Bollinger Bands (WMCBB)
Title: Waldo Momentum Cloud Bollinger Bands (WMCBB)
Description:
Introducing the "Waldo Momentum Cloud Bollinger Bands (WMCBB)," an innovative trading tool crafted for those who aim to deepen their market analysis by merging two dynamic technical indicators: Dynamic RSI Bollinger Bands and the Waldo Cloud.
What is this Indicator?
WMCBB integrates the volatility-based traditional Bollinger Bands with a momentum-sensitive approach through the Relative Strength Index (RSI). Here’s how it works:
Dynamic RSI Bollinger Bands: These bands dynamically adjust according to the RSI, which tracks the momentum of price movements. By scaling the RSI to align with price levels, we generate bands that not only reflect market volatility but also the underlying momentum, offering a refined view of overbought and oversold conditions.
Waldo Cloud: This feature adds a layer of traditional Bollinger Bands, visualized as a 'cloud' on your chart. It employs standard Bollinger Band methodology but enhances it with additional moving average layers to better define market trends.
The cloud's color changes dynamically based on various market conditions, providing visual signals for trend direction and potential trend reversals.
Why Combine These Indicators?
Combining Dynamic RSI Bollinger Bands with the Waldo Cloud in WMCBB aims to:
Enhance Trend Identification: The Waldo Cloud's color-coded system aids in recognizing the overarching market trend, while the Dynamic RSI Bands give insights into momentum changes within that trend, offering a comprehensive view.
Improve Volatility and Momentum Analysis: While traditional Bollinger Bands measure market volatility, integrating RSI adds a layer of momentum analysis, potentially leading to more accurate trading signals.
Visual Clarity: The unified color scheme for both sets of bands, which changes according to RSI levels, moving average crossovers, and price positioning, simplifies the process of gauging market sentiment at a glance.
Customization: Users have the option to toggle the visibility of moving averages (MA) through the settings, allowing for tailored analysis based on individual trading strategies.
Usage:
Utilize WMCBB to identify potential trend shifts by observing price interactions with the dynamic bands or changes in the Waldo Cloud's color.
Watch for divergences between price movements and RSI to forecast potential market reversals or continuations.
This combination shines in sideways markets where traditional indicators might fall short, as it provides additional context through RSI momentum analysis.
Settings:
Customize parameters for both the Dynamic RSI and Waldo Cloud Bollinger Bands, including the calculation source, standard deviation factors, and moving average lengths.
WMCBB is perfect for traders seeking to enhance their market analysis through the synergy of momentum and volatility, all while maintaining visual simplicity. Trade with greater insight using the Waldo Momentum Cloud Bollinger Bands!