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.
Adaptive Sharp Momentum█ Introduction
The Adaptive Sharp Momentum Study has the following all-in-one features:
• A noise-free, trend-following indicator.
• Automatically detects implied tops and bottoms within fast price cycles.
• It identifies price consolidations and periods of indecision; often challenging to spot.
• Includes a unique feature for detecting directional price squeezes.
• An integrated volatility measure helps avoid false signals and clarifies trend direction.
• Lastly, it alerts traders when a volume climax is likely reached during a move.
This study primarily focuses on capturing momentum while concurrently alerting traders to shifting market dynamics, thereby aiding in the decision to either extend a position’s duration or optimize exit timing. The set of analytical tools, deployed alongside the trend-following indicator, are integrated to reflect the concepts outlined above. Furthermore, this framework utilizes distinctive methods for trend identification, consolidation recognition, directional squeeze assessment, and volume climax analysis—approaches that are not currently documented in publicly available resources.
█ Explanation of Core Components
1. Trend Following Consolidated Adaptive Moving Average:
At the core of the study is the Jurik Adaptive Average Curve, a fast-response adaptive moving average refined with an adaptive Relative Strength Index (RSX) function, known as Jurik RSX. This curve displays three trend modes—bullish, bearish, and indecisive—each customizable in color.
Users can adjust parameters such as the Phase and Consolidation Period:
• Phase: Influences the timing of trend signals, accommodating various trading styles. A lower phase value can produce leading signals, while a higher value may result in lagging signals.
• Consolidation Period: Helps filter out false signals. Optimize this period based on the time frame and instrument.
• Momentum Slope Threshold: As mentioned earlier, the Jurik moving average values are consolidated against the Dynamic Jurik RSX. Crossing the slope threshold of the Jurik RSX will trigger consolidation.
The main curve in the middle represents the overall trend. The issue with moving averages is that they work well in trends but when market is in consolidation, many false signals can be generated. The consolidation period acts as a second fast signal curve that helps eliminate the false signals generated through the standard adaptive moving average. This is basically done by measuring the momentum of the move itself through the Jurik RSX. There are other tools in this study that should also help the trader avoid false signals which will be fully described below.
2. Implied Tops and Bottoms
The study also detects Implied Tops and Bottoms during market cycles using the Composite Momentum and Projections. It offers three detection modes:
• Strong Signals: Indicate significant potential reversal points.
• Medium Signals: Typically displayed near the end of a trend, suggesting traders should prepare to exit.
• Rolling Signals: Alert traders to set tight stop losses to secure profits, as the market may be approaching a turning point.
By default, the colors of Rolling Signals and Medium Signals are the same for simplicity.
Note the following:
• The fast and slow period have the most effect on implied tops and bottoms detection.
• Adjusting the main period will also have an overall effect.
The above chart shows rolling tops, rolling bottoms, strong tops, and strong bottoms. A rolling top of bottom indicate an increase in momentum in that direction and thus a tight stoploss would be recommended, while a strong top/bottom indicates that an exit is warranted.
3. Consolidation and Volatility
If enabled, '+' will appear above the ceiling and floor plots if consolidation is detected. Consolidation is detected by using lookback function that determine if price is below a threshold or not. If below, then consolidation would be confirmed. This is accomplished by adjusting the ' Price Consolidation Threshold ' period
The above chart demonstrates detection of consolidation on a 1-minute chart. Also, note the ceiling and floor plot, it expands when volatility is high.
Consolidation detection helps weed out long and short signals indicated by the main curve.
4. Directional Squeeze
Another unique feature of this indicator is the detection of directional price squeeze. Directional squeeze is defined as a price push in the direction indicated by momentum whether upward or downward. This is different from the common squeeze indicators found on the web since this one is detecting a directional push.
The Directional Squeeze feature, indicated by up and down triangles above the main curve, highlights strong trends in the market's current direction:
• Trend Continuation: Allows traders to stay in profitable trades longer during strong trending markets.
• Multiple Modes: Offers single-bar (short-term) and longer-term squeezes. Single-bar squeezes can signal potential market reversals, while longer-term squeezes are useful in sustained trends.
Be mindful that under certain conditions, the directional squeeze could be directionless(sideways) if consolidation is outlined by the indicator. This is another useful feature the trader could utilize. The chart above mostly demonstrates directional squeeze but directionless can also be observed.
5. Volume Volatility and Volume Climax Detection
An essential feature of the Adaptive Sharp Momentum Study is its ability to measure Volume Volatility and detect Volume Climax moments:
• Volume Volatility Measure: Integrated into the study to help avoid false signals by assessing the strength of market moves. It provides better clarity on trend direction by indicating when the market is experiencing significant volume changes.
• Volume Climax Alerts: The study alerts traders when a volume climax is likely reached during a move, which is helpful for identifying potential reversal points or the culmination of a trend. Brighter confirmation signal dots indicate these climaxes, helping traders make timely entry/exit decisions.
• Adjustable Parameters: Traders can set the Volume Volatility Threshold and adjust the Volume Lookback Period to tailor the sensitivity of volume climax detection according to their trading strategy.
5. The indicator contains other useful features:
• Cycles: Helps determine when to enter long or short trades based on upward or downward market cycles. It also aids in recognizing retracement levels during a trend, allowing traders to capitalize on brief counter-trend movements. Those cycles can be observed as the up and down gray lines on the chart.
• Real-Time Table: The table is another visual aid that summarizes the status of each feature in real-time.
█ How to Use this Study Effectively
The main curve in the middle is your final decision point. Prior to entering a trade look for the following:
• Is the market in consolidation? If yes, then you'd be advised not to enter the trade until the study clearly shows no consolidation
• Is the ceil or floor plots showing a strong top or bottom, or even a volume climax in the direction to intend to enter? If yes, then either ensure you enter at a tight stop or don't enter
• Is there an indication of a directional squeeze with no consolidation or volume climax? Then this would be an ideal place to enter. Be mindful though that entering directional squeeze too late is not recommended.
• Once you are in the trade, look at consolidation, implied tops and bottoms, and volume climax to determine exit point. You will quickly realize if you entered a trade prematurely.
• Utilize the directional squeeze and the prevalent trend to help you stay in the trade longer.
• Adjust your stop losses depending on whether you are seeing a rolling implied top/bottom or a strong top/bottom.
• Also, at volume climaxes, be ready to exit. The approach with volume climax detection should be the same as the implied tops/bottoms.
Below is a chart demonstrating trading on a 1-minute chart. The study could be used for any time frame:
** Important Note **
This study relies on volume readings. Incorrect evaluation will be concluded without proper volume data.
█ How the Adaptive Sharp Momentum Works?
---Main Curve - Jurik Moving Average and RSX---
The Jurik Moving Average (JMA) and the Jurik RSX with Fisher transform (Relative Strength Index Extended) are technical tools designed to enhance data processing efficiency. The JMA uses an adaptive smoothing algorithm to dynamically adjust to market conditions, reducing lag while maintaining high responsiveness to price changes. the JMA incorporates a mechanism that determines smoothness based on input volatility. The RSX, on the other hand, tracks relative strength without introducing the overshoots and noise commonly seen in other momentum indicators. It achieves this by applying a yet another JMA smoothing function that ensures stability and consistency, making it a better candidate for identifying shifts.
This is a unique approach, but can simply be equated to two moving averages crossing over, except in this case, the RSX is crossing over with the JMA.
The process of determining market trends and consolidation for the main curve revolves around evaluating multiple conditions and rankings of indicators such as Jurik RSX, Fisher Transform, and Volume-based metrics (Adaptive On Balance Volume and Price Volatility). Here's how consolidation and trends are identified:
1. Trend Override Logic: The core logic evaluates whether specific conditions override the default trend determined by the JMA.
• Bearish Overrides: A trend is classified as bearish if specific conditions involving negative slopes of the RSX, bearish Fisher Transform readings, and other auxiliary rankings (AOBV trend rank or volatility ranks) are met.
• Bullish Overrides: Similarly, bullish trends are determined by the presence of positive RSX slopes, bullish Fisher readings, and supporting AOBV and volatility ranks.
• Neutral Overrides: If neither bullish nor bearish overrides dominate, and conflicting conditions are detected (e.g., a bearish Fisher with a bullish OBV), the trend can be overridden to neutral.
2. Dynamic Slope and Rank Analysis: RSX and Jurik Slopes: The slopes of the RSX and Jurik indicators play an important role. Increasing slopes suggest bullish momentum, while decreasing slopes imply bearish momentum.
3. Narrow Spread Analysis: Consolidation zones are identified by examining conditions like narrow spreads in price action and mixed indicator signals (e.g., a positive RSX slope alongside a neutral or bearish AOBV).
• When consolidation is detected, the system looks for confirming signals (AOBV or Fisher alignment) to determine whether the next move is likely to be bullish or bearish.
4.Fallback Logic:
If no explicit conditions are met for bullish, bearish, or neutral trends, the system defaults to comparing the current and previous values of the Jurik Moving Average. If the JMA is rising, the trend is set to bullish; otherwise, it defaults to bearish.
The process of consolidating The RSX with JMA, attempts to confirm the trend suggested by the Jurik moving average. As shown above, several factors play into this, but it is mostly motivated by the RSX and its slope
-- Detecting Tops and Bottoms --
• Composite Momentum
The Composite Momentum indicator analyzes the market's directional strength to identify implied tops and bottoms, especially at extreme values. It evaluates momentum by categorizing it into ranges that reflect moderate or strong trends for both bullish and bearish conditions. When momentum exceeds a positive threshold, it indicates a strong top, whereas values below a negative threshold then it's a strong bottom.
• Laguerre Dynamic Projection Bands
The Laguerre Dynamic Projection Bands focuses on price positioning within calculated dynamic boundaries. By applying linear regression, it projects upper and lower price bands, which serve as potential resistance and support levels. The oscillator value ranges from 0 to 100, representing the relative position of the current price. A value above 70 indicates the price is near a projected top, while a value below 30 suggests proximity to a projected bottom. Through custom Laguerre smoothing, the setup ensures that its signals remain stable and actionable.
• How They Work Together
The Composite Momentum and Projection Oscillator complement each other in detecting market tops and bottoms. The Projection Oscillator provides an early indication when price nears a critical level, while the Composite Momentum confirms whether the momentum supports the formation of a significant top or bottom.
-- Consolidation Detection, Volatility, and Volume Climax Detection --
• Summary of Consolidation Detection:
Consolidation is identified through a combination of statistical and smoothing applied to price data. The approach calculates deviations around the main plot using squared price inputs, smoothed averages, and adaptive multipliers. These deviations form dynamic upper and lower boundaries that adapt to changing market conditions. The system further evaluates these boundaries against historical bars to calculate a volume percentage, which indicates how often recent price action remains within these bands. A low percentage suggests consolidation, characterized by reduced volatility and price movement confined within a tighter range.
The bands around the main plot are derived from the calculated maximum deviations, creating adaptive ceilings and floors that expand or contract based on market dynamics. The Ceiling and Floor plots represent the outermost boundaries, while additional retracement plots are drawn based on the Composite Momentum wave rank. For example, during an uptrend, the retrace levels adjust upward in fractional steps relative to the deviation, signaling possible resistance levels. In downtrends, similar logic applies in reverse to determine support levels. These bands visually represent the volatility envelope and help contextualize price movements relative to expected ranges. Whenever, low volatility is detected, a visual "+" indicator is added to the plot to highlight that the market is likely in consolidation mode.
• How the Adaptive OBV Applies the Same Logic:
The Adaptive On-Balance Volume (OBV) uses a similar mechanism to detect volume climaxes by analyzing deviations in volume data. Instead of price, the OBV logic applies the squared input and smoothing methods to volume flows. By comparing these deviations to historical norms, the system identifies periods of high or low volatility in volume, which often coincide with potential breakouts or consolidation zones.
• How They Work Together
The consolidation detection process and the adaptive bands work in tandem to provide traders with a clear visualization of market conditions. When consolidation is detected, the dynamic bands narrow and a "+" sign is visualized, signaling reduced volatility and potential breakout opportunities. Similarly, volume-based analysis through the adaptive OBV helps confirm whether a breakout is accompanied by significant volume, adding confidence to trade decisions. Together, they enable anticipation of market shifts.
-- Directional Squeeze --
A directional price squeeze refers to a market condition where price compresses in a particular direction. This provides traders with an opportunity to stay in trades longer by aligning with the prevailing directional bias. This unique concept generates dynamic limits based on lookback period. Their convergence upward or downward is typically a strong indication of a price push toward the respective direction.
In this approach, the system looks at the highest and lowest values of a smoothed momentum reading over a recent period and measures the distance between them. Instead of relying on a static “overbought” or “oversold” line, it calculates new boundaries as a fraction of that distance, scaling the thresholds to match the price behavior. When these dynamically adjusted limits converge, it suggests a “directional squeeze”—meaning price is moving within a more compressed or focused range. Because these boundaries adapt to the market’s own highs and lows, they provide a more responsive indication of when price may be shifting into or out of a strong directional move.
• Determining the Directional Squeeze
Directional squeeze is identified using dynamic limits derived from two key factors:
Schaff Trend Cycle (STC) for single-bar squeezes. and the Slow RSI (SRSI) for multi-bar or longer-term squeezes. Both are utilizing a custom alpha factor for adaptability and conformance with the JMA and Dynamic RSX studies.
• Directional Trend Confirmation:
If the SRSI or STC approaches the limits, additional conditions such as Fisher RSX (momentum signals) and AOBV (volume signals) and the trend already established by the JMA are aligned. If so, then a squeezed in that trend directional is established.
█ Why These Components All Work Together?
The Adaptive Sharp Momentum Study integrates multiple components to provide a framework for analyzing market dynamics. Each feature addresses specific challenges in trading:
• Core Trend Identification:
The Jurik Adaptive Moving Average (JMA) and Jurik RSX ensure better trend detection by reducing noise and dynamically confirming momentum, thus minimizing lag and false signals.
• Implied Tops and Bottoms:
The combination of Composite Momentum and Laguerre Dynamic Projection Bands highlights critical turning points. This dual-layered approach identifies potential reversals and key support/resistance levels with improved clarity.
• Consolidation and Volatility:
Adaptive ceilings, floors, and consolidation detection filter out indecisive market phases. This helps avoid unreliable signals and provides a better perspective on potential breakouts or continuations.
• Directional Squeeze:
The Directional Squeeze feature identifies directional bias in price compression. Its dynamic thresholds adapt to market conditions, aiding in the assessment of strong directional moves.
• Volume Climax:
Volume volatility and climax detection highlight key moments of market activity, aiding in the evaluation of trend strength and potential turning points.
• Integrated Framework:
The integration of these components creates a system where each element complements the others.
This study offers a methodical approach to analyzing trends, momentum, and volatility while filtering noise. It is a tool designed to assist traders in navigating complex market conditions.
█ Disclaimer
This script is provided for educational and informational purposes only and should not be considered financial advice. Trading financial instruments carries a high level of risk and may not be suitable for all investors. Before using this script, please consult with a qualified financial advisor to ensure it aligns with your individual circumstances. The author does not guarantee the accuracy or completeness of the script and is not responsible for any losses or damages that may occur from its use. Use this script at your own risk.
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!
ATR Contract RecommendationATR Contract Recommendation Indicator
Version: 1
New Features and Enhancements:
ATR Calculation and Smoothing Options:
Calculate ATR using a configurable length.
Choose from multiple smoothing methods (RMA, SMA, EMA, WMA).
Account Size Customization:
Select your account size from three options: 50K, 100K, or 150K.
The contract recommendation logic adjusts dynamically based on the chosen account size.
Instrument-Specific, Customizable Recommendations:
Separate sets of customizable ATR thresholds and recommendation texts for each instrument (NQ, ES, YM) and each account size (C = Contract).
For example, for NQ:
150K Account:
ATR < 5 → "5+C"
5–10 → "5C"
10–15 → "3C"
15–30 → "2C"
30+ → "1C"
100K Account:
ATR < 5 → "4C"
5–10 → "2C"
10–15 → "1C"
15–20 → "1C"
20+ → "5C MNQ"
50K Account:
ATR < 5 → "2C"
5–20 → "1C"
20+ → "5C MNQ"
Similar customizable threshold groups have been added for ES and YM, with instrument-specific suffixes (e.g. "MES" or "MYM") appended when needed.
Customizable Display Box (Table):
The indicator displays a recommendation box on the chart showing the current ATR value and the recommended contract size.
Users can customize the table's position (top left, top right, bottom left, or bottom right).
New Feature: Adjustable table size (number of columns and rows) via new input settings.
Customize the text color and background color of the recommendation box.
Improvements:
Enhanced instrument detection and dynamic recommendation output for a more accurate contract sizing suggestion.
User Interface Enhancements:
Streamlined input groups for thresholds and recommendation texts, allowing for full customization based on account size and instrument.
Nearest Bollinger Bands (Multi-Timeframe)This indicator identifies the closest upper and lower Bollinger Bands across multiple timeframes, helping traders spot volatility zones, trend direction, and key support/resistance levels.
📌 Key Features:
✔ Multi-Timeframe Support: Works across 1min to 1M (monthly) timeframes.
✔ Customizable Bollinger Settings: Adjustable period length and deviation multiplier.
✔ Auto Detection: Highlights the nearest Bollinger Band levels above and below price.
✔ Customizable Display: Adjustable line style, thickness, and colors.
✔ Clear Labels: Displays Bollinger Band level and timeframe for quick interpretation.
🛠 How to Use:
Customize Bollinger settings (period, deviation).
Enable preferred timeframes and adjust visual settings.
Nearest upper and lower Bollinger Bands are plotted automatically.
Labels indicate timeframe and Bollinger Band level.
⚠ Note:
For technical analysis only, not financial advice.
Too many active timeframes may clutter the chart—enable only the ones needed.
🚀 Perfect for:
✔ Trend & Volatility Analysis
✔ Identifying Support & Resistance
✔ Tracking Market Conditions Across Timeframes
Sideways Scalper Peak and BottomUnderstanding the Indicator
This indicator is designed to identify potential peaks (tops) and bottoms (bottoms) within a market, which can be particularly useful in a sideways or range-bound market where price oscillates between support and resistance levels without a clear trend. Here's how it works:
RSI (Relative Strength Index): Measures the speed and change of price movements to identify overbought (above 70) and oversold (below 30) conditions. In a sideways market, RSI can help signal when the price might be due for a reversal within its range.
Moving Averages (MAs): The Fast MA and Slow MA provide a sense of the short-term and longer-term average price movements. In a sideways market, these can help confirm if the price is at the upper or lower extremes of its range.
Volume Spike: Looks for significant increases in trading volume, which might indicate a stronger move or a potential reversal point when combined with other conditions.
Divergence: RSI divergence occurs when the price makes a new high or low, but the RSI does not, suggesting momentum is weakening, which can be a precursor to a reversal.
How to Use in a Sideways Market
Identify the Range: First, visually identify the upper resistance and lower support levels of the sideways market on your chart. This indicator can help you spot these levels more precisely by signaling potential peaks and bottoms.
Peak Signal :
When to Look: When the price approaches the upper part of the range.
Conditions: The indicator will give a 'Peak' signal when:
RSI is over 70, indicating overbought conditions.
There's bearish divergence (price makes a higher high, but RSI doesn't).
Volume spikes, suggesting strong selling interest.
Price is above both Fast MA and Slow MA, indicating it's at a potentially high point in the range.
Action: This signal suggests that the price might be at or near the top of its range and could reverse downwards. A trader might consider selling or shorting here, expecting the price to move towards the lower part of the range.
Bottom Signal:
When to Look: When the price approaches the lower part of the range.
Conditions: The indicator will give a 'Bottom' signal when:
RSI is below 30, indicating oversold conditions.
There's bullish divergence (price makes a lower low, but RSI doesn't).
Volume spikes, suggesting strong buying interest.
Price is below both Fast MA and Slow MA, indicating it's at a potentially low point in the range.
Action: This signal suggests that the price might be at or near the bottom of its range and could reverse upwards. A trader might consider buying here, expecting the price to move towards the upper part of the range.
Confirmation: In a sideways market, false signals can occur due to the lack of a strong trend. Always look for confirmation:
Volume Confirmation: A significant volume spike can add confidence to the signal.
Price Action: Look for price action like candlestick patterns (e.g., doji, engulfing patterns) that confirm the reversal.
Time Frame: Consider using this indicator on multiple time frames. A signal on a shorter time frame (like 15m or 1h) might be confirmed by similar conditions on a longer time frame (4h or daily).
Risk Management: Since this is designed for scalping in a sideways market:
Set Tight Stop-Losses: Due to the quick nature of reversals in range-bound markets, place stop-losses close to your entry to minimize loss.
Take Profit Levels: Set profit targets near the opposite end of the range or use a trailing stop to capture as much of the move as possible before it reverses again.
Practice: Before trading with real money, practice with this indicator on historical data or in a paper trading environment to understand how it behaves in different sideways market scenarios.
Key Points for New Traders
Patience: Wait for all conditions to align before taking a trade. Sideways markets require patience as the price might hover around these levels for a while.
Not All Signals Are Equal: Sometimes, even with all conditions met, the market might not reverse immediately. Look for additional context or confirmation.
Continuous Learning: Understand that this indicator, like any tool, isn't foolproof. Learn from each trade, whether it's a win or a loss, and adjust your strategy accordingly.
By following these guidelines
Bollinger Bounce Reversal Strategy – Visual EditionOverview:
The Bollinger Bounce Reversal Strategy – Visual Edition is designed to capture potential reversal moves at price extremes—often termed “bounce points”—by using a combination of technical indicators. The strategy integrates Bollinger Bands, MACD, and volume analysis, and it provides rich on‑chart visual cues to help traders understand its signals and conditions. Additionally, the strategy enforces a maximum of 5 trades per day and uses fixed risk management parameters. This publication is intended for educational purposes and offers a systematic, transparent approach that you can further adjust to fit your market or risk profile.
How It Works:
Bollinger Bands:
A 20‑period simple moving average (SMA) and a user‑defined standard deviation multiplier (default 2.0) are used to calculate the Bollinger Bands.
When the price reaches or crosses these bands (i.e. falls below the lower band or rises above the upper band), it suggests that the price is in an extreme, potentially oversold or overbought, state.
MACD Filter:
The MACD (calculated with standard lengths, e.g. 12, 26, 9) provides momentum information.
For a bullish (long) signal, the MACD line should be above its signal line; for a bearish (short) signal, the MACD line should be below.
Volume Confirmation:
The strategy uses a 20‑period volume moving average to determine if current volume is strong enough to validate a signal.
A signal is confirmed only if the current volume is at or above a specified multiple (by default, 1.0×) of this moving average, ensuring that the move is supported by increased market participation.
Visual Cues:
Bollinger Bands and Fill: The basis (SMA), upper, and lower Bollinger Bands are plotted, and the area between the upper and lower bands is filled with a semi‑transparent color.
Signal Markers: When a long or short signal is generated, corresponding markers (labels) appear on the chart.
Background Coloring: The chart’s background changes color (green for long signals and red for short signals) on the bars where signals occur.
Information Table: An on‑chart table displays key indicator values (MACD, signal line, volume, average volume) and the number of trades executed that day.
Entry Conditions:
Long Entry:
A long trade is triggered when the previous bar’s close is below the lower Bollinger Band and the current bar’s close crosses above it, combined with a bullish MACD condition and strong volume.
Short Entry:
A short trade is triggered when the previous bar’s close is above the upper Bollinger Band and the current bar’s close crosses below it, with a bearish MACD condition and high volume.
Risk Management:
Daily Trade Limit: The strategy restricts trading to no more than 5 trades per day.
Stop-Loss and Take-Profit:
For each position, a stop loss is set at a fixed percentage away from the entry price (typically 2%), and a take profit is set to target a 1:2 risk-reward ratio (typically 4% from the entry price).
Backtesting Setup:
Initial Capital: $10,000
Commission: 0.1% per trade
Slippage: 1 tick per bar
These realistic parameters help ensure that backtesting results reflect the conditions of an average trader.
Disclaimer:
Past performance is not indicative of future results. This strategy is experimental and provided solely for educational purposes. It is essential to backtest extensively and paper trade before any live deployment. All risk management practices are advisory, and you should adjust parameters to suit your own trading style and risk tolerance.
Conclusion:
By combining Bollinger Bands, MACD, and volume analysis, the Bollinger Bounce Reversal Strategy – Visual Edition provides a clear, systematic method to identify potential reversal opportunities at price extremes. The added visual cues help traders quickly interpret signals and assess market conditions, while strict risk management and a daily trade cap help keep trading disciplined. Adjust and refine the settings as needed to better suit your specific market and risk profile.
Enhanced DWMA | QuantEdgeBIntroducing Enhanced DWMA by QuantEdgeB
Enhanced DWMA | QuantEdgeB is an advanced Dual Weighted Moving Average (DWMA) system with three customizable filtering methods: ATR-based filtering, Standard Deviation (SD) bands, and a For-Loop-based trend scoring system. This indicator offers a versatile, adaptive approach to trend detection, allowing traders to fine-tune settings for breakout trading, trend confirmation, or volatility-based trend filtering.
Key Features:
1. DWMA – Dual Weighted Moving Average 🟣
- A smoother, adaptive moving average that applies distance-based weighting to emphasize the most relevant price movements.
- Helps reduce noise while maintaining trend sensitivity.
- The DWMA is further smoothed using an exponential moving average (EMA).
2. Filtering Methods:🟢
This indicator offers three different filtering styles, allowing traders to select the most suitable approach for their market strategy.
1️⃣ ATR-Based Filtering 📈 (Default)
- Uses Average True Range (ATR) to dynamically adjust the upper and lower bands based on market volatility.
- Expands during high volatility and contracts in stable conditions, offering a stable trend filter.
2️⃣ Standard Deviation (SD) Bands 🎯
- Uses historical price deviation to expand and contract bands dynamically.
- Excellent for identifying breakout trends as SD bands widen in high volatility conditions.
3️⃣ For-Loop Trend Scoring 🔄
- Oscillator-style filtering method that assigns a trend score by comparing current and past DWMA values.
- Helps quantify bullish/bearish trend strength over a given period.
___
How It Works:
1. DWMA Calculation: A unique weighting function assigns more significance to recent price movements. Further smoothed by an EMA to ensure a balanced response to trend shifts.
2. Filter Application:
- The selected filter (ATR, SD, or Loop) determines the upper and lower boundaries for signal confirmation.
- ATR Bands expand based on market volatility, SD Band react to standard deviation shifts, and Loop Scores measure price structure momentum.
3. Signal Production:
- Long Signal (🔵): Triggered when price closes above the upper boundary of the selected filter.
- Short Signal (🔴): Triggered when price closes below the lower boundary of the selected filter.
- In For-Loop mode, signals are based on whether the trend score exceeds the predefined long/short threshold.
4. Live Filter Selection Display:
- The selected filtering method (ATR, SD, or Loop) is displayed in the bottom-right table of the chart.
- This ensures traders can easily track which filtering system is in use without checking settings manually. When For-Loop mode is not selected, the For-Loop oscillator score will appear slightly blurry, ensuring it doesn't interfere with the active filter visualization
___
How to Use It:
✅ For Trend Following & Volatility Expansion (Recommended: ATR Filtering)
- ATR Bands (default) provide a stable, volatility-adjusted trend filter that ensures fewer false
signals.
- Use higher ATR multipliers for longer-term trends (e.g., ATR Multiplier = 1.5+ for swing
trading).
✅ For Breakout & Momentum Trading (Recommended: SD Filtering)
- SD Bands are ideal for capturing explosive trend movements as they expand in volatile
conditions.
- Works best when combined with momentum indicators (e.g., ADX, RSI) to confirm
breakouts.
✅ For Smooth Trend Evaluation (Recommended: For-Loop Mode)
- For-Loop mode provides a more gradual and smooth trend evaluation by scoring trend
strength over time.
- Can be used to confirm trade entries and exits based on long/short thresholds.
- Works well for traders who prefer a less reactive, more structured approach to trend
identification.
___
Customization Options:
- Filter Style Selection 🎛️
- ATR (Default) ✅
- Weighted SD Bands
- For-Loop Trend Scoring
- DWMA & EMA Smoothing ⏳
- DWMA Length (Default: 12)
- EMA Smoothing Length (Default: 12)
- ATR-Based Settings 📈
- ATR Length (Default: 14)
- ATR Multiplier (Default: 1.3)
- SD Band Settings 📏
- SD Length (Default: 30)
- Upper SD Weight (Default: 1.035)
- Lower SD Weight (Default: 1.02)
- For-Loop Trend Scoring Settings 🔄
- Loop Start (Default: 1)
- Loop End (Default: 60)
- Long Threshold (Default: 40)
- Short Threshold (Default: 8)
- Color Modes 🎨
- Default, Solar, Warm, Cool, Classic, X
___
Conclusion:
The Enhanced DWMA | QuantEdgeB is a robust trend-following and filtering system that allows traders to adapt to different market conditions with three customizable filter styles. Whether you're looking to ride stable trends (ATR), trade breakouts (SD), or quantify trend persistence (For-Loop), this indicator provides flexibility and precision in market analysis. 🚀📈
🔹 Disclaimer: Past performance is not indicative of future results. No trading indicator can guarantee success in financial markets.
🔹 Strategic Consideration: As always, backtesting and strategic adjustments are essential to fully optimize this indicator for real-world trading. Traders should consider risk management practices and adapt settings to their specific market conditions and trading style.
Dual SD Kijun | QuantEdgeBIntroducing Dual SD Kijun by QuantEdgeB
Dual SD Kijun | QuantEdgeB is a trend-following and volatility-based indicator that enhances the traditional Kijun-Sen with dual Standard Deviation (SD) filtering and a normalized Kijun structure. This system refines trend confirmation and breakout signals by combining price deviation analysis with a dynamic normalization mechanism, providing traders with clear and adaptive entry points.
Key Features:
1. Kijun-Sen with Standard Deviation (SD) Filtering 📏
- The indicator builds upon the Kijun-Sen concept by calculating the midpoint of the highest and lowest price over a given period.
- Two Kijun calculations:
1️⃣ Primary Kijun (Shorter Length)
2️⃣ Normalized Kijun (Longer Length)
- The Kijun acts as the base trend filter, smoothing price action while adapting to volatility.
2. Standard Deviation Weighted Bands (SD Kijun) 📊
- Volatility-adjusted trend confirmation using SD bands around the Kijun-Sen.
- Helps detect trend acceleration and potential reversals based on price deviation.
3. Normalized Kijun for Trend Validation 🔄
- A dynamic normalization function scales the Kijun-Sen relative to price.
- Short EMA smoothing reduces noise for more accurate signals.
- Long EMA smoothing smooths the normalized deviations, refining trend confirmation.
4. Dual Signal Confirmation (SD + Normalized Kijun) ✅❌
- Long Signals (🔵): Price must break above the upper SD filter while the normalized Kijun confirms trend strength.
- Short Signals (🔴):Price must drop below the lower SD filter while the normalized Kijun confirms bearish conditions.
- The dual confirmation reduces false breakouts and ensures stronger trend validation.
___
How It Works:
1. Kijun Calculation :
- Computes the midpoint of the highest and lowest prices over a defined period.
- Uses two Kijun-Sen lengths to separate short-term and normalized trends.
2. Standard Deviation Filtering :
- Calculates the price deviation around the Kijun to determine potential breakout points.
- Price must close above/below SD thresholds to trigger a potential trend continuation.
3. Normalization Process :
- The normalized Kijun is divided by price, helping scale deviations across assets.
- Two smoothing factors (Short & Long) refine the normalized Kijun structure.
- Ensures signals remain consistent across different market conditions.
4. Final Signal Production :
- Bullish Confirmation (🔵): Price closes above the upper SD band and the normalized Kijun confirms strength.
- Bearish Confirmation (🔴): Price closes below the lower SD band and the normalized Kijun signals weakness.
___
Use Cases:
✅ For Trend Trading & Breakout Confirmation
- The SD bands help filter strong breakouts, ensuring valid long and short signals.
- If SD bands expand, it signals increased volatility and potential momentum shifts.
- Works best when paired with momentum indicators (e.g., ADX, RSI) to confirm trend strength.
✅ For Trend Validation with Normalized Kijun
- The normalized Kijun acts as an additional filter to ensure price movements are sustainable.
- If both SD and Normalized Kijun confirm a trend, the probability of a strong continuation increases.
✅ For Detecting Market Reversals
- If price fails to break SD bands or the normalized Kijun diverges, it may indicate a weak trend or potential trend exhaustion.
- Helps traders avoid false breakouts and focus on high-probability setups.
__
Customization Options:
1. Kijun Lengths 🏗️
- Primary Kijun Length (Default: 24)
- Normalized Kijun Length (Default: 34)
2. Standard Deviation Settings 📊
- SD Length (Default: 40)
- Long SD Weight (Default: 0.98)
- Short SD Weight (Default: 1.02)
3. Normalization Smoothing 🔄
- Short Normalized Smoothing (Default: 1)
- Long Normalized Smoothing (Default: 1)
4. Color Modes & Visual Enhancements 🎨
- Default, Solar, Warm, Cool, Classic ,X
___
Conclusion:
The Dual SD Kijun | QuantEdgeB provides a powerful and adaptive trend confirmation system by combining standard deviation filtering with a normalized Kijun mechanism. By ensuring dual validation, traders can filter out weak signals and focus on stronger trends. Whether used for breakout confirmation or trend validation, this indicator offers precise, data-driven signals for improved market decision-making. 🚀📈
🔹 Disclaimer: Past performance is not indicative of future results. No trading indicator can guarantee success in financial markets.
🔹 Strategic Consideration: As always, backtesting and strategic adjustments are essential to fully optimize this indicator for real-world trading. Traders should consider risk management practices and adapt settings to their specific market conditions and trading style.
Global Inflation Indicator🔹 Overview:
The Global Inflation Indicator is a macro-analysis tool designed to track and compare inflation trends across major economies. It pulls Consumer Price Index (CPI) data from multiple regions, helping traders and investors analyze how inflation impacts global markets, particularly gold, forex, and commodities.
📊 Key Features:
✅ Tracks inflation in six major economies:
🇺🇸 USA (CPIAUCSL) – Key driver for USD and gold prices
🇪🇺 Eurozone (CPHPTT01EZM659N) – Euro inflation impact
🇬🇧 United Kingdom (GBRCPIALLMINMEI) – GBP & economic trends
🇨🇳 China (CHNCPIALLMINMEI) – Emerging market impact
🇯🇵 Japan (JPNCPIALLMINMEI) – Yen & inflation control policies
🇮🇳 India (INDCPIALLMINMEI) – Key gold-consuming economy
✅ Real-time Inflation Trends:
Provides a visual comparison of inflation levels in different regions.
Helps traders identify inflationary cycles & their effect on global assets.
✅ Macro-Driven Trading Decisions:
Gold & Forex Correlation: High inflation may increase demand for gold.
Interest Rate Expectations: Central banks respond to inflation shifts.
Currency Strength: Inflation impacts USD, EUR, GBP, JPY, CNY, INR.
📉 How to Use It:
Gold traders can assess inflation trends to predict potential price movements.
Forex traders can compare inflation effects on major currency pairs (EUR/USD, USD/JPY, GBP/USD, etc.).
Stock investors can evaluate how inflation affects central bank policies and interest rates.
📌 Conclusion:
The Global Inflation Indicator is a powerful tool for macroeconomic analysis, providing real-time insights into global inflation trends. By integrating this indicator into your gold, forex, and commodity trading strategies, you can make more informed investment decisions in response to economic changes.
ROC with closed based coloring & info table [DB]Rate of Change (ROC) Basics
The Rate of Change (ROC) is a momentum oscillator measuring the percentage price change between the current close and the close from N periods ago.
Calculated as: ROC = * 100
Traders use ROC to:
Identify overbought/oversold conditions
Spot momentum shifts
Confirm trend strength
My improvements:
Visual Clarity
Color-Coded Direction: ROC line changes color (green/red/yellow) based on intra-candle momentum shifts.
Direction Table: Instant view of the last change in ROC with the candle close (▲ UP / ▼ DOWN / ▶ FLAT).
Cells for current value and previous change between timeframe bar period.
What you can benefit with this over the regular ROC:
Faster Analysis: The visual cues make direction and strength instantly obvious and it allows for faster decision making while preserving more mental capital.
Market Forecast with SL & TPThis script is an indicator for TradingView. It overlays on your chart to give you visual cues about when to enter or exit in trades.
2. Key Components:
ATR (Average True Range): This measures market volatility. Think of it like how much the price jumps around. The script uses this to help decide when the market might be too volatile or just right for trading.
Fibonacci Levels: These are specific price levels that traders believe the market will react to. They're calculated based on the highest high and lowest low over a period. Imagine these as 'magic' levels where the price might want to stop or bounce back.
SMA (Simple Moving Average): This is like a smoothed out version of price movement over time. It helps to see the general trend without the noise of daily price fluctuations.
Higher Timeframe (HTF) Analysis: This looks at the price trend on a bigger time frame (like daily charts) to see if it aligns with your shorter-term trading decisions.
3. How It Works:
Volatility Filter: The script first calculates the ATR to understand the market's volatility. You can adjust how sensitive this is with the "ATR Length" and "ATR Multiplier" inputs.
Fibonacci Levels Calculation: It figures out where these 'magic' Fibonacci levels are based on recent price action.
Trend Analysis: It checks the trend on both your current chart time frame and a higher time frame (HTF) to see if they're in agreement.
Enter/Exit Signals:
Enter/Exit: When the current price is above the SMA of both your chart and the HTF, and it's within a certain range (defined by ATR) of a Fibonacci level, the script suggests it might be a good time to buy. It places a green label saying "ENTER" below the price, draws a green line showing where the price might go up by 5% (this is your target profit), and a red line below for where you might want to stop loss if things go south.
Exit Signal: Conversely, if the price is below both SMAs and within the ATR range of a Fibonacci level, it suggests selling or exiting a position. It places a red "EXIT" label above the price, a red line predicting a 5% drop, and a stop loss line above the current price.
Visual Aids: The script also plots the SMA for reference and draws horizontal lines at Fibonacci levels to give you a visual guide of where these levels are.
4. Using the Script:
When you see the "ENTER" label, it's suggesting a potential buying opportunity based on all the conditions being favorable (trend, volatility, Fibonacci levels).
The "EXIT" label suggests selling or getting out of a trade.
The green and red lines give you a visual of where you might aim to take profit or set your stop loss, helping you manage your trade.
5. Why It's Useful:
This script combines several trading concepts (volatility, trend following, Fibonacci retracement) into one tool, making it easier for you to spot potential trading opportunities without having to analyze each component separately. It's like having a little trading assistant on your chart!
Remember, while this script can guide you, always use it alongside your own analysis, risk management, and understanding of the market. Happy trading!