Weighted Average Volume Depth [QuantraSystems]Weighted Average Volume Depth
Introduction
The Weighted Average Volume Depth (𝓦𝓐𝓥𝓓) indicator is calibrated to provide extensive insights, calculated using volumetric price action and volume depth, and provides dynamic adjustments based upon historical volatility.
This indicator is a valuable asset for traders and investors, aiming to capture trends, measure dynamic volatility, and provide market reversion analysis in a systematic way.
Legend
Volumetric Top Cap: Plotted at y = 0, this line represents the probabilistic maximum value, or ‘cap’ for the signal line. It is colored using a binary color scheme, and indicates the dominant trend direction - green for an uptrend and purple for a downtrend.
Base Line: Calculated using a volume-weighted volatility measurement, this line is used as the benchmark to calculate momentum in the 𝓦𝓐𝓥𝓓 indicator.
Signal Line: The signal line represents the volume and volatility weighted measurements, and oscillates between the Base Line and Top Cap. Its position between these levels provides the depth of insights available in this script.
When the signal line is remaining in close proximity to the base line, this is indicative of a low volatility market environment. These periods are also reflected as muted bar coloring when the ‘Trend Intensity’ setting is enabled.
Conversely, when the signal line approaches, or even breaks above the Top Cap, this is characteristic of an unsustainable trending action - and probabilistically speaking, a reversion or consolation is likely to occur at these levels.
Highlighting: When this setting is enabled, background coloring is applied when the Signal Line breaks above the Top Cap. This highlights green as an oversold zone, and purple as an overbought zone.
Reversal Signals: When price begins to reverse from a zone of overextension, a signal is plotted when this reversion occurs from a high probability zone.
Circle - Shows a possible bullish reversal.
Cross - Shows a possible bearish reversal.
Case Study
In the above image, we showcase three distinct trades in short succession, showcasing the 𝓦𝓐𝓥𝓓’s speed and accuracy under the right conditions.
The first long trade was initiated upon receiving a bullish reversal signal. The trade was then closed after the price experienced a sharp upwards movement - and an overbought signal was indicated by the purple shading.
The second, short trade was entered on the next bar, after a bearish reversal signal was printed by the indicator (a white cross). Similarly, this trade was closed upon the oversold signal.
Once again, a reversal signal was indicated by the 𝓦𝓐𝓥𝓓 indicator. This time a bullish signal (a white circle), and hence a long position was opened. However, this trade was held until a negative trend confirmation (signaled by the Top Cap’s shift in color). This makes apparent the indicator’s flexible nature, and showcases the multiple signaling types available for traders to use.
Recommended Settings
The optimal settings for the 𝓦𝓐𝓥𝓓 indicator will vary upon the chosen asset’s average level volatility, as well as the timeframe it is applied to.
Due to increased volatility levels on lower timeframes, it is recommended to increase the 'Top Cap Multiplier' to take into account the increased frequency of false signals found in these trading environments. The same can be said when used on highly volatile assets - a trader will likely benefit from using a higher 'Top Cap Multiplier.'
On more price-stable assets, as well as any asset on higher timeframes, there is merit to tightening the length of the 'Top Cap Multiplier,' due to the slower nature of price action.
Methodology
The 𝓦𝓐𝓥𝓓 starts with calculating the volume weighted average price and the volume weighted variance - which is the expectation of the squared deviation of a variable from its mean, giving insights into the distribution of trading volume.
Using the volume weighted variance, a standard deviation value is calculated based on user input. This value acts as the ‘Volumetric Top Cap’ - seen in the 𝓦𝓐𝓥𝓓 indicator window as the zero line.
The signal line is calculated as the difference between the current price and the theoretical upper or lower VWAP deviation bands. This line acts as the trigger for identifying prevailing trends and high probability reversal points.
The base line serves as a reference point for historical momentum. It is calculated using an exponential moving average of the lowest signal line values over a defined lookback period. This baseline helps in assessing whether the current momentum is high or low relative to historical norms.
Notes
Bar coloring can be turned off - especially useful when stacking multiple indicators as recommended, or set to 'Trend Intensity,' or 'Binary Trend' (which reflects the top cap coloring).
It is always recommended to never rely on a single indicator - and instead build and test multiple strategies utilizing more than one indicator as confirmation.
Reversal
[strategy][1H] SPY slow stochastics
SPY slow stochastics
Overview
The "SPY Auto RSI Stochastics" strategy is designed to leverage a combination of Relative Strength Index (RSI) and Stochastic indicators to identify potential entry and exit points in trading the SPY $SP:SPX.
The technicals:
A simple yet effective strategy for identifying (reversal) trends on SPY (or any asset).
The logic is as follows:
1. Slow stochastics are effective at predicting momentum. They can also be used to effectively identify reversals.
2. A combination of slow and fast RSI (along with an SMA for the fast RSI) can be used to see potential changes in the directional trend of the underlying asset.
3. In order to reduce noise, a band in the middle of RSI values is ignored; think of this as the price converging and potential explosions (sometimes fake) on either side.
4. Outside this noise band, a crossover of fast RSI on slow RSI indicates an upward trend incoming.
5. A crossunder of fast RSI on slow RSI indicates a downward trend incoming.
Strategy Specific Notes -
1. Load this strategy on SPREADEX:SPX on an hourly chart for the best results.
2. This is a generic strategy, use it on anything - index, stocks, etc. You will need to adjust the parameters for the best results.
3. The RSI Upper defines the cutoff for two things -- threshold for entering a long AND exit signal for short. Likewise for RSI Lower.
4. To have alerts on the strategy, add this to your chart, be content with the backtesting results, select "strategy tester", the alert icon, replace the message body with "{{strategy.order.alert_message}}" without the ".
5. In my experience, the strategy won't be immediately profitable upon a signal but it does get there in the backtested results. Intuitively, this makes sense. Reversals take some time to kick in completely.
Inputs
- **slowRSILength**: Length parameter for the slow RSI calculation.
- **fastRSILength**: Length parameter for the fast RSI calculation.
- **smaRSILength**: Length parameter for the Simple Moving Average (SMA) of the fast RSI.
- **RSIUpperThreshold**: Upper threshold for the RSI, used in exit conditions.
- **RSILowerThreshold**: Lower threshold for the RSI, used in exit conditions.
- **RSIUpperDeadzone**: Upper deadzone threshold for the RSI.
- **RSILowerDeadzone**: Lower deadzone threshold for the RSI.
Strategy Logic
- **RSI Calculation**: The script calculates both slow and fast RSI values based on the provided lengths.
- **Entry Condition**: Entry conditions for long and short positions are based on the crossing of fast RSI over slow RSI and SMA RSI, respectively, along with avoidance of RSI deadzones and validation of trade time.
- **Exit Condition**: Exit conditions for both long and short positions are based on crossing RSI thresholds or opposite entry conditions.
Trade Management
- **Position Entry**: Long and short positions are entered based on predefined entry conditions.
- **Position Exit**: Positions are exited based on predefined exit conditions.
- **Alerts**: The script provides alert messages for entry and exit points.
Plotting
- **Slow RSI**: Plots the slow RSI on the chart.
- **SMA RSI**: Plots the Simple Moving Average of fast RSI on the chart.
Example Usage
The defaults work well for SPY on a 1H timeframe.
If you apply this to anything else DAX, EUSTX50, FTSE, CAC (these are what i have); tweak the input parameters.
Plotting
plot(slowRSI, "Slow RSI", color=color.green) //or fastRSI
plot(smaRSI, "SMA RSI", color=color.white)
Conclusion
The "SPY Auto RSI Stochastics" strategy combines RSI and Stochastic indicators to provide potential trade signals for the SPY ETF. Traders can use this strategy with proper risk management and analysis to enhance their trading decisions.
Supertrended RSI [AlgoAlpha]🚀📈 Introducing the Supertrended RSI Indicator by AlgoAlpha!
Designed to empower your trading decisions, this innovative Pine Script™ creation marries the precision of the Relative Strength Index (RSI) with the dynamic prowess of the SuperTrend methodology. Whether you’re charting the course of cryptos, riding the waves of stock markets, or navigating the futures landscape, our SuperTrended RSI Indicator is your go-to tool for uncovering unique trend insights and crafting trading strategies. 🌟
Key Features:
🔍 Enhanced RSI Analysis: Combines the traditional RSI with a supertrend calculation for a dynamic look at market trends.
🔄 Multiple Moving Averages: Offers a selection of moving averages including SMA, HMA, EMA, and more for tailored analysis.
🎨 Customizable Visuals: Choose your own color scheme for uptrends and downtrends to match your trading dashboard.
📊 Flexible Input Settings: Tailor the indicator with customizable lengths, factors, and smoothing options.
⚡ Real-Time Alerts: Set alerts for bullish and bearish reversals to stay ahead of market movements.
Quick Guide to Using the Supertrended RSI Indicator
Maximize your trading with the Supertrended RSI by following these streamlined steps! 🚀✨
🛠 Add the Indicator: Search for "Supertrended RSI " in TradingView's Indicators & Strategies. Customize settings like RSI length, MA type, and Supertrend factors to fit your trading style.
🎨 Visual Customization: Adjust uptrend and downtrend colors for clear trend visualization.
📊 Market Analysis: Watch for the Supertrend color change for trend reversals. Use the 70 and 30 lines to spot overbought/oversold conditions.
🔔 Alerts: Enable notifications for reversal conditions to capture trading opportunities without constant chart monitoring.
How It Works:
At the core of this indicator is the combination of the Relative Strength Index (RSI) and the Supertrend framework, it does so by applying the SuperTrend on the RSI. The RSI settings can be adjusted for length and smoothing, with the option to select the data source. The Supertrend calculation takes into account a specified trend factor and the Average True Range (ATR) over a given period to determine trend direction.
Visual elements include plotting the RSI, its moving average, and the Supertrend line, with customizable colors for clarity. Overbought and oversold conditions are highlighted, and trend changes are filled with distinct colors.
🔔 Alerts: Enable alerts for crossover and crossunder events to catch every trading opportunity.
🌈 Whether you're a seasoned trader or just starting, the Supertrended RSI offers a fresh perspective on market trends. 📈
💡 Tip: Experiment with different settings to find the perfect balance for your trading style!
🔗 Explore, customize, and enhance your trading experience with the Supertrended RSI Indicator! Happy trading! 🎉
Pulse Profiler [QuantraSystems]Pulse Profiler
Introduction
The Pulse Profiler ( ℙℙ ) is specifically designed to unambiguously indicate weakening momentum after a strong impulse. The upper and lower standard deviation bands also allow the user to assess the strength of an impulse and differentiate it from general noise.
Due to the ℙℙ ’s rapid responsiveness to exhaustion in price movement it is ideally used for the trader to recognize when to start taking profit when combined with other indicators.
The novum is that by dynamically balancing its sensitivity to recent movements the ℙℙ considers the asset’s inherent volatility. By reducing noise without sacrificing signal, and by visualizing it in our typical modern QuantraAI style, the ℙℙ enhances the traders’ ability to distinguish impulses with weakening momentum from strong trending movements.
Legend
Impulse: The ℙℙ showing strength based on momentum and volume.
Dynamic standard deviation bands: Rolling probability based bands based on a rolling normal distribution. Adjustable, recommended are σ = 1.5 to σ = 2.5.
Neutral lines: Dynamic thresholds which get often respected as support or resistance.
Case Study
To properly employ the ℙℙ , the trader should use it to identify out-of-the-ordinary 𝓲𝓶𝓹𝓾𝓵𝓼𝓮𝓼 which cause a following exhaustion.
The rolling standard deviation bands incorporate the asset’s historical behavior in regards to its inherent volatility on a rolling basis. If the asset shows strong 𝓲𝓶𝓹𝓾𝓵𝓼𝓮𝓼 that go beyond the rolling standard deviation, the event has been highly improbable. The trader then needs to determine if the price change was caused by critical external factors. If not, it is highly probable that the momentum exhausts and that price movement plateaus to enter a range.
These signals indicate that it is highly probable that closing a position upon these conditions is the correct choice.
If the 𝓲𝓶𝓹𝓾𝓵𝓼𝓮 reverses and retraces into the opposite direction, while moving more than 1.5σ across just 3 bars on the 4H chart, the signal indicates that a reversal is pushing the price down – in both momentum and volume.
A sharp reversal thus becomes more probable than not.
The ℙℙ can also be calibrated to find possible trend exhaustions on a longer timeframe (1D).
Please always use multiple Quantra indicators to add confirmations to your signals.
Recommended Settings
Swing Trading (4H chart)
Standard Deviation Lookback: 150
Standard Deviation Multiplier (σ): 2.5
Display Variant: Classic
Choose Mode for Bar Coloring: Signal
Trend exhaustion (1D chart)
Standard Deviation Lookback: 200
Standard Deviation Multiplier (σ): 2.0
Display Variant: Classic
Choose Mode for Bar Coloring: Extremes
Notes
Quantra Standard Value Contents:
The Heikin-Ashi (HA) candle visualization smoothes out the signal line to provide more informative insights into momentum and trends. This allows earlier entries and exits by observing the indicator values transformed by the HA.
Various visualization options are available to adjust the indicator to the user’s preference: Aside from HA, a classic line, or a hybrid of both.
A special feature of Quantra’s indicators is that they are probabilistically built - therefore they work well as confluence and can easily be stacked to increase signal accuracy.
To add to Quantra's indicators’ utility we have added the option to change the price bars colors based on different signals:
Choose Mode for Coloring
Trend Following (Indicator above mid line counts as uptrend, below is downtrend)
Extremes (Everything beyond the SD bands is highlighted to signal mean reversion)
Candles (Color of HA candles as barcolor)
Reversions (Only for HA) (Reversion Signals via the triangles if HA candles change trend while beyond the SD bands, high probability entries/exits)
The ℙℙ is also sensitive to divergences for those interested in utilizing this feature.
Through a special combination of price, volume and momentum you get a holistic overview on the impulse strengths of movements.
The two neutral lines in the center act as dynamic, volume and volatility adjusted thresholds. Often the signal line respects them as support and resistance.
The upper and lower standard deviation lines express the rarity of an impulse based on the asset’s inherent volatility.
The indicator needs a long enough timespan to build up its probability estimation, therefore the asset needs sufficient price history.
The indicator requires thorough volume data. If the source of an asset pair does not forward it, try to find another source or exchange for the same pair.
Signal Mode on the 4H chart is a relevant part of this indicator when used in isolation and helps to analyze momentum adjusted by volatility.
Methodology
The ℙℙ combines the Arnaud Legoux Moving Average (ALMA) with a bespoke volume and momentum calculation, with a classical Exponential Moving Average (EMA) on price data.
The ℙℙ itself integrates ALMA for volume and momentum with an EMA calculation on price, creating a unique blend that expresses impulses using their three raw main components.
The indicator calculates dynamic standard deviation bands based on an adjustable lookback period and the adjustable sigma (σ), to signal when the impulse strength is just uncommon or even extraordinary when compared to the usual price movements:
σ = 1.5 the probability of similar impulse strength occuring is 13.37% / 2, hence ~ 6.69%
σ = 2.0 the probability of similar impulse strength occuring is ~ 2.28%
σ = 2.5 the probability of similar impulse strength occuring is ~ 0.62%
By detecting extremely improbable conditions the indicator can create an inversely highly probable signal to its user.
Neutral bands are calculated based on the ℙℙ alongside a rolling, dynamic multiplier. This effectively provides dynamic thresholds for approximating common volatility.
Heikin Ashi method: The indicator uses a custom function to calculate Heikin Ashi values, useful for smoothing impulse data and identifying trends.
Reversion Signals: Specifically for Heikin Ashi displays, we plot triangles as signals, useful to easily spot potential reversals.
The Signal Mode uses these different thresholds to highlight significant market moves.
Regression Sloped RSI [QuantraSystems]Regression Sloped RSI
Introduction
The Regression Sloped RSI (𝓡𝓢-𝓡𝓢𝓘) enhances the classical RSI by incorporating a form of linear regression analysis, which adjusts the traditional RSI in relation to the calculated slope over a specified lookback period.
Its innovative approach reduces the occurrence of false signals compared to the classical RSI. Furthermore, it is particularly effective in markets characterized by strong trends. This is because it responds faster while retaining a high level of whipsaw resistance. The Heikin-Ashi style processing is critical to this.
It also provides robust reversal signals from dynamic overbought and oversold zones to further enhance mean-reversion trading.
Legend
The coloring of the 𝓡𝓢-𝓡𝓢𝓘 changes based on trend direction: A bright green when upwards, lilac when downwards. The strength of the trend is expressed in its distance to Null. Its acceleration is found in the Heikin-Ashi (HA) candles.
The 𝓡𝓢-𝓡𝓢𝓘 in combination with the HA bars can be used to achieve earlier entries, when the former passes across the latter in an obvious divergence.
Case Study
In this example the 𝓡𝓢-𝓡𝓢𝓘 is used to make a few intra-day trades on the Ethereum 15 minute chart. Each trade was open for approximately 5 hours. On the first trade we enter a long in an early entry. The indicator gives us three confirmations which we should all check for. First we have a positive candle developing, secondly the 𝓡𝓢-𝓡𝓢𝓘 (line) rises above the Heikin-Ashi candles, thirdly the classical RSI (the saturated surface in the background) rises as well.
The trader should then calculate their position sizing responsibly and enter into a short daytrade. Please always have invalidation rules, for example a) if the initial HA candle closes negative b) you can place your stop loss at 1SD into the opposite direction.
Always use adequate risk management, never risk more than 1% of your portfolio, unless you are a seasoned trader with your own calculated position sizes.
Always forward test your rules, assets, timeframe and settings sufficiently.
It is always recommended to use multiple Quantra indicators to add confirmations to your signals - this is by design.
Recommended Settings
Please reset to defaults before enabling recommended settings.
Intra-Day Trading (15min chart)
RSI Length: 22
LR Length: 25
Smoothing: EMA
Toggle SD Bands: On
Mode for Coloring: Candles
Trend Following (4H chart)
RSI Length: 40
LR Length: 35
Smoothing: LSMA
Toggle SD Bands: Off
Mode for Coloring: Extremes or Trend Following
Notes
Quantra Standard Value Contents:
The Heikin-Ashi (HA) candle visualization smoothes out the signal line to provide more informative insights into momentum and trends. This allows earlier entries and exits by observing the indicator values transformed by the HA.
Various visualization options are available to adjust the indicator to the user’s preference: Aside from HA, a classic line, or a hybrid of both.
A special feature of Quantra’s indicators is that they are probabilistically built - therefore they work well as confluence and can easily be stacked to increase signal accuracy.
To add to Quantra's indicators’ utility we have added the option to change the price bars colors based on different signals:
Choose Mode for Coloring
Trend Following (Indicator above mid line counts as uptrend, below is downtrend)
Extremes (Everything beyond the SD bands is highlighted to signal mean reversion)
Candles (Color of HA candles as barcolor)
Reversions (Only for HA) (Reversion Signals via the triangles if HA candles change trend while beyond the SD bands, high probability entries/exits)
The 𝓡𝓢-𝓡𝓢𝓘 is finely tuned to detect divergences.
Primarily utilized for trend following, the 𝓡𝓢-𝓡𝓢𝓘 also demonstrates effectiveness in identifying reversions, intensity of movements and the navigation of range-bound markets.
Allows for easy identification of slowdowns in momentum and thus negative rate of change.
Methodology
The 𝓡𝓢-𝓡𝓢𝓘 takes the classical RSI using a specified lookback length and computes the slope of a linear regression line applied to the RSI values. This slope is used to adjust the RSI.
This sloped RSI can be further smoothed using various Moving Averages with customizable lengths.
For a more nuanced view of market trends, the 𝓡𝓢-𝓡𝓢𝓘 applies a specialized Heikin Ashi method. This transformation modifies the Sloped RSI values in order to weigh and reflect the average price, offering a smoother representation compared to traditional candlestick patterns.
The 𝓡𝓢-𝓡𝓢𝓘 calculates upper and lower bounds based on a specified standard deviation multiplier and adjustable lookback period, providing a dynamic framework to identify extrema and thus overbought and oversold conditions.
Particularly in the Heikin Ashi mode, the 𝓡𝓢-𝓡𝓢𝓘 can display reversion signals. These are plotted as shapes on the chart, indicating high probability reversal points in the market trend.
Wave Pendulum Trend [QuantraSystems]Wave Pendulum Trend
Introduction
The Wave Pendulum Trend (𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭) extrapolates market trends using physical principles derived from waves and pendulums. This indicator is a bespoke build, and its performance and behavior cannot be compared to existing indicators.
It is designed for trend following but is also effective for identifying mean reversions, momentum strength, and shows range-bound market periods within the dynamic bands.
In order to ascertain a smooth yet rapid trend direction of the market, the 𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭 combines several factors. A bespoke set of functions captures the momentum of price movements and dynamically weighs it over time. The indicator then extrapolates acceleration from the change in delta of price movements.
Legend
With bar coloring enabled, the price section mirrors current trend conditions. Please keep this feature disabled if you intend to use multiple indicators to avoid confusion.
The 𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭 presents extensive market insights. The purple and green bands around the oscillator signal the selected standard deviation (default σ = 2), for the trader to calculate how common the trending movements are in relation to the selected asset’s history.
The inner, dynamic thresholds, indicated by the blue “Range-bound market” label in the graphic above, border the area that signals a ranging market if both 𝓐𝓬𝓬𝓮𝓵𝓮𝓻𝓪𝓽𝓲𝓸𝓷 and 𝓜𝓸𝓶𝓮𝓷𝓽𝓾𝓶 signals remain inside. If either line exceeds these thresholds, care is advised as a shift in market behavior is underway.
“Trend strength” in the graphic provides a good estimate for the trending movements strength.
If the signal lines exceed the set standard deviation in non-classic mode, a reversal is very likely.
Case Study
As shown in the above case study we see two profitable swing trades on the 4H chart of Ethereum. Please note the display variant here is set to “Heikin-Ashi”.
We always recommend using a multitude of indicators to attain multiple signals on the likelihood of opening the correct position. However, this standalone scenario serves as an example on how the 𝓟𝓮𝓷𝓭𝓾𝓵𝓾𝓶 𝓣𝓻𝓮𝓷𝓭 added two profitable swing trades.
The first short trade was opened after the 𝓐𝓬𝓬𝓮𝓵𝓮𝓻𝓪𝓽𝓲𝓸𝓷 and 𝓜𝓸𝓶𝓮𝓷𝓽𝓾𝓶 reversed after crossing the threshold of standard deviation. This trade offered a late entry only, these two factors were followed late by the third signal in this case – the trend reversal. Such a trade would require additional indicators to signal at the same time, so the trader can get more confirmations. The trade was closed after 6D with an 8% gain on a 1x short position.
The second trade is a long position that enters in the same manner. The trader takes the reversal beyond the select standard deviation as a likely entry. After 7D a triple confirmation was received, as indicated by the triangle, that a reversal or at least a plateau is extremely likely. The trade was closed after 7D with a 17.23% gain on a 1x long position.
Recommended Settings
Trend Following / Investing (1D chart)
Please use the default settings!
Swing Trading (4H chart)
Wave MA - Type: TEMA
Wave MA – Length: 30
Display Variant: Heikin-Ashi
Bar Coloring: Off
Choose Mode for Coloring: Signal
Notes
Quantra Standard Value Contents:
The Heikin-Ashi (HA) candle visualization smoothes out the signal line to provide more informative insights into momentum and trends. This allows earlier entries and exits by observing the indicator values transformed by the HA.
Various visualization options are available to adjust the indicator to the user’s preference: Aside from HA, a classic line, or a hybrid of both.
A special feature of Quantra’s indicators is that they are probabilistically built - therefore they work well as confluence and can easily be stacked to increase signal accuracy.
To add to Quantra's indicators’ utility we have added the option to change the price bars colors based on different signals:
Settings: TEMA and DEMA length settings should be longer compared to other Moving Averages (MAs). Due to its complex calculations, the indicator requires a larger amount of historical data for accurate computation.
Sensitivity to Divergences: The Wave Pendulum Trend is particularly sensitive to divergences, making it a useful tool in spotting potential trend reversals or continuations.
Trend Following and Reversions: While it is primarily used for trend following, it also excels in identifying market reversions.
Momentum and Acceleration: The interaction between momentum and acceleration is a key feature of this indicator.
Visualization: The indicator offers various visualization options, including bar coloring based on HA Candles and extremes and trends. It also introduces a novel approach to visualizing the oscillator in the "Classic" mode and provides an adjustable Standard Deviation (SD) measure for reversal signals in non-classic modes.
Choose Mode for Coloring
Trend Following (Indicator above mid line counts as uptrend, below is downtrend)
Extremes (Everything beyond the SD bands is highlighted to signal mean reversion)
Candles (Color of HA candles as barcolor)
Reversions (Only for HA) (Reversion Signals via the triangles if HA candles change trend while beyond the SD bands, high probability entries/exits)
Methodology
The methodology behind the Wave Pendulum Trend is inspired by wave and pendulum theories to extrapolate market moves. By calculating the momentum and its acceleration from price data, it provides a nuanced view of the market trend.
Traders should observe the color coding, which reflects the interplay between momentum, acceleration, and set thresholds for acceleration. The Signal Mode is particularly useful for quickly identifying trend, momentum, and acceleration exhaustions.
Additionally, the indicator can help filter out ranges with insufficient momentum acceleration. Traders are encouraged to experiment with this mode and adjust the threshold settings to suit their strategies.
U-Oscillator Pro [UAlgo]The U-Oscillator Pro is a comprehensive technical analysis tool designed to assist traders in making informed decisions in financial markets. This indicator integrates various features including oscillator, bands, trend clouds divergences, and confluence signals to provide a comprehensive view of market dynamics.
🔶 Oscillator :
U-Oscillator uses an amalgamation of price, momentum, and volatility elements to provide a comprehensive market view. It provides a common output about the market and is easy to use.
Oscillator Features :
Customizable Oscillator Length : This parameter sets the length of the oscillator.
Use Machine Learning On Oscillator Calculation : By evaluating the output of the oscillator, this data set calculates a weighted average of the data set by taking each point with a certain weight and using these weights. This is often used in situations where some data points are more important or need to have more impact than others. A weight for each point that the oscillator calculates may represent the importance or impact of that point. By including all these calculations in the oscillator, it provides a result.
Reversal Signals : Determines whether to display reversal signals on the chart. When set to true, it enables the plotting of reversal signals based on certain conditions for both long (buy) and short (sell) signals. These signals can be interpreted as "potential" turning points of the market. Signals are represented by small shapes on the chart, with green indicating short (sell) signals and red indicating long (buy) signals.
🔶 Extreme Bands:
These regions can be described as the possible reversal regions of the price and obtained by deviations of oscillator values.
Extreme Bands Features:
Band Length : Determines the length of the bands.
Show Extreme Bands : Option to display the extreme bands.
Show Middle Line : Option to show the middle line.
Transparency Mode : Adjust the transparency level of the bands.
It would not be wrong to consider it as potential overbought and oversold regions.
Example:
🔶 Divergences :
The divergence calculation in this script identifies potential reversals by analyzing pivot points in the oscillator. Here's how it works:
Divergence Features :
Pivot Length: The user specifies the length of the divergence calculation (pivotLength), which determines the number of bars to consider for pivot analysis.
Pivot Identification: The script searches for pivot highs and lows within the specified length. These pivots indicate potential turning points in the oscillator.
Divergence Conditions: Different conditions are evaluated based on the identified pivots to determine the presence of bullish or bearish divergences:
Regular Bullish Divergence: Occurs when the oscillator makes a lower low while the price makes a higher low.
Hidden Bullish Divergence: Occurs when the oscillator makes a higher low while the price makes a lower low.
Regular Bearish Divergence: Occurs when the oscillator makes a higher high while the price makes a lower high.
Hidden Bearish Divergence: Occurs when the oscillator makes a lower high while the price makes a higher high.
Visualization: Detected divergences are plotted on the chart using shapes and lines, indicating potential reversal points. Users can choose which types of divergences to display using input options.
🔶 Trend Cloud :
This section can provide information about the long-term direction of the price and the current status of the trend. The increase in the visibility of the cloud can provide information about the strength of the trend.
Trend Cloud Features :
Show Trend Cloud: This setting allows you to choose whether the trend cloud is displayed on the chart or not.
Fast Trend Cloud Mode: This feature can be used to provide information about the cloud's shorter-term trend and its strength.
Classic Mode of Trend Cloud :
Fast Mode of Trend Cloud :
🔶 Confluence :
This section of the script aims to identify potential reversal confluences based on the deviation between the price and a combination of oscillator values. The confluence signals are categorized into light and heavy, representing different levels of potential reversal strength.
Confluence Features :
Show Light/Heavy Reversal Confluences: This setting allows users to control the visibility of the confluence signals on the chart.
Confluence Term: Users can select the term for calculating the confluence, which in turn affects the sensitivity of the confluence signals. The available options are Short, Medium, and Long.
Confluence Signal Conditions:
Light Bearish Reversal Confluence: This type of confluence occurs when there is a moderate deviation between the price and the oscillator values, indicating a potential shift towards a bearish reversal in the market sentiment.
Heavy Bearish Reversal Confluence: In contrast, a heavy bearish reversal confluence signifies a significant deviation between the price and the oscillator values, suggesting a strong indication of a bearish reversal in the market sentiment.
Light Bullish Reversal Confluence: Similar to light bearish reversal confluence, light bullish reversal confluence occurs with a moderate deviation between the price andthe oscillator values, indicating a potential shift towards a bullish reversal in the market sentiment.
Heavy Bullish Reversal Confluence: On the other hand, heavy bullish reversal confluence indicates a substantial deviation between the price andthe oscillator values, suggesting a strong indication of a bullish reversal in the market sentiment.
Plotting Confluence Signals: Shapes (triangles) are plotted on the chart to indicate the presence of confluence signals. Red triangles denote bearish signals, while green triangles denote bullish signals.
This confluence analysis provides traders with additional insights into potential reversal points or helping them make more informed trading decisions.
Example For Confluence :
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Normalised Gaussian MACD Heikin Ashi [AlgoAlpha]🌟🚀Introducing the Normalised Gaussian MACD Heikin Ashi by AlgoAlpha !
Elevate your trading game with this multipurpose indicator, crafted to pinpoint trend continuation opportunities while highlighting volatility and oversold/overbought conditions. Whether you're embarking on your trading journey or you're a seasoned market navigator, this tool is equipped with intuitive visual cues to amplify your decision-making prowess and enrich your market analysis toolkit. Let's dive into the key features, utilization strategies, and the innovative logic underpinning this indispensable trading asset.
Key Features:
🔧 Enhanced Customization : Tailor your experience with adjustable parameters including Fast Length, Slow Length, Source, Macd Smoothing Length, Signal Smoothing, and more.
🖌️ Visual Enhancements : Opt for Heikin Ashi Candles display and choose to show or hide MACD and Signal lines for a clutter-free chart.
🌈 Color Customization : Personalize your chart with selectable primary and secondary up and down colors to suit your visual preferences.
🔔 Advanced Alert System : Stay ahead with comprehensive alert conditions for market movements, including trend reversals, bullish and bearish swings.
How to Use:
Configure the Inputs : Start by customizing the indicator’s settings to match your trading style. Adjust the length parameters, source selection, and smoothing lengths to fine-tune the indicator’s sensitivity.
Interpret the Candles and Colors : Keep an eye on the Heikin Ashi Candles (if enabled) and the color shifts within the MACD Line Candles and Histogram. These visual cues are pivotal for identifying market trends.
Analyze with Flexibility : Make use of the option to display or hide the MACD and Signal lines based on your analysis requirements. This can help in focusing on the essential information without overcrowding your chart.
Utilize Alerts for Timely Decisions : Leverage the extensive alert system to get notified about potential market movements. These alerts can help you capture the right moment to enter or exit trades.
Basic Logic:
The Normalised Gaussian MACD Heikin Ashi by AlgoAlpha integrates Gaussian filters to elevate the traditional MACD indicator's efficiency, providing a more detailed analysis of market trends and momentum. This sophisticated approach reduces noise and enhances signal speed, which is crucial for identifying momentum trading opportunities.
Gaussian Filter Implementation : The core innovation lies in applying a Gaussian filter to the input price series. This mathematical technique smooths the price data, significantly reducing market noise and making trend signals clearer and more reliable. The Gaussian filter calculates a smoothed value for each data point by weighting nearby data points, with the weights decreasing as the distance from the current data point increases.
Refined MACD Calculation : The Gaussian MACD is derived from the difference between two Gaussian smoothed moving averages (fast and slow), which are then normalized to account for market volatility. This normalization process involves dividing the difference by a measure of market range (such as the high minus the low), and multiplying by a factor (usually 100) to scale the indicator appropriately.
🔑 This script is a versatile tool designed to aid in the identification of momentum and reversals, helping traders to make informed decisions based on technical analysis. Its customization options allow for a tailored analysis experience, fitting the unique needs and strategies of each trader.
Reversal and Breakout Signals [AlgoAlpha]🚀🌟 Introducing the Reversal and Breakout Signals by AlgoAlpha 🌟🚀
This innovative tool is crafted to enhance your chart analysis by identifying potential reversal and breakout opportunities directly on your charts. It's designed with both novice and experienced traders in mind, providing intuitive visual cues for better decision-making. Let's dive into the key features and how it operates:
### Key Features:
🔶 Dynamic Period Settings: Customize the sensitivity of the indicator with user-defined periods for both the indicator and volume strength.
📊 Volume Threshold: Set a threshold to define what constitutes strong volume, enabling the identification of significant market movements.
💡 Trend Coloring: Option to color candles during trends, making it easier to visualize bullish and bearish market conditions.
🌈 Customizable Visuals: Choose your preferred colors for bullish, bearish, and breakout signals, personalizing the chart to your liking.
🚨 Advanced Alert System: Configure alerts for reversal and breakout signals, ensuring you never miss a potential trading opportunity.
### How to Use:
To maximize the effectiveness of the Reversal and Breakout Signals tool, follow these steps:
1. 🔧 Set Up Your Preferences:
- Adjust the Indicator Period and Volume Strength Period to match the timeframe of your trading strategy. This fine-tuning allows the indicator to better align with your specific market analysis needs.
- Define the Strong Volume Threshold to distinguish between ordinary and significant volume movements. This helps in identifying breakout or reversal signals with higher confidence.
2. 🎨 Customize Visuals:
- Choose colors for Bullish , Bearish , and Breakout Signals to visually differentiate between different types of market activities. This customization facilitates quicker decision-making while scanning charts.
3. 🔍 Reversal Signals:
- Bullish Reversal : Look for a triangle below the bar indicating a potential upward movement. It's identified when the price dips below the lower level but closes above it, suggesting a rejection of lower prices.
- Bearish Reversal : A triangle above the bar signals a potential downward movement. This occurs when the price spikes above the upper level but closes below, indicating a rejection of higher prices.
4. 📈 Trend and Breakout Signals:
- Diamonds represent breakout signals. A bullish breakout is marked below the bar when the price closes above the upper level, suggesting strong buying pressure. Conversely, a bearish breakout above the bar indicates strong selling pressure as the price closes below the lower level.
- The tool also features a Trend Tracker that highlights the current market trend using the Hull Moving Average (HMA). This can help you stay aligned with the overall market direction for your trades.
By integrating these steps into your trading strategy, the Reversal and Breakout Signals tool can provide actionable insights to help identify potential entry and exit points, enhancing your trading decisions with visual cues and alerts for market reversals and breakouts.
### How It Works:
The core logic revolves around calculating weighted moving averages of high and low prices over a user-defined period, identifying the highest and lowest points within this period to establish potential breakout or breakdown levels while reducing the amount of noise, hence the use of moving averages.
1. Weighted Moving Averages Calculation:
sh = ta.wma(high, len)
sl = ta.wma(low, len)
h = ta.highest(sh, len)
l = ta.lowest(sl, len)
2. Breakout and Reversal Detection:
The script then employs logic to detect bullish and bearish breakouts and reversals based on the closing price's position relative to these levels, combined with volume analysis to confirm the strength of the move.
if not (h < h or h > h )
hstore := h
if not (l < l or l > l )
lstore := l
bullishbreakout := (breakout or ((breakout or breakout or breakout or breakout ) and candledir == 1)) and strongvol and not (bullishbreakout or bullishbreakout or bullishbreakout )
bearishbreakout := (breakdown or ((breakdown or breakdown or breakdown or breakdown ) and candledir == -1)) and strongvol and not (bearishbreakout or bearishbreakout or bearishbreakout )
3. Visual Indicators and Alerts:
Visual cues such as triangle shapes for reversals and diamonds for breakouts, along with colored bars, make it easy to spot these opportunities. Additionally, alerts can be set up for these events, ensuring traders can react promptly to potential trading setups.
plotshape(bullishrej and not (state ==- 1) ? low * 0.9995 : na, " Bullish Reversal ", shape.triangleup, location.belowbar, color.new(green, 0), size = size.tiny, text = "𝓡", textcolor = color.gray)
plotshape(bearishrej and not (state == 1) ? high * 1.0005 : na, " Bearish Reversal ", shape.triangledown, location.abovebar, color.new(red, 0), size = size.tiny, text = "𝓡", textcolor = color.gray)
plotshape(bullishbreakout ? low * 0.999 : na, " Bullish Breakout ", shape.diamond, location.belowbar, color.new(yellow, 0), size = size.tiny, text = "𝓑", textcolor = color.gray)
plotshape(bearishbreakout ? high * 1.001 : na, " Bearish Breakout ", shape.diamond, location.abovebar, color.new(yellow, 0), size = size.tiny, text = "𝓑", textcolor = color.gray)
This script is a versatile tool designed to aid in the identification of key reversal and breakout points, helping traders to make informed decisions based on technical analysis. Its customization options allow for a tailored analysis experience, fitting the unique needs and strategies of each trader.
TanHef RanksTanHef Ranks: A numeric compass to market tops and bottoms.
█ Simple Explanation:
This indicator is designed to signal 'buy low and sell high' opportunities through numerical rankings, where larger numbers represent stronger signals. These numbered rankings are negative for potential ‘buy’ opportunities and positive for possible ‘sell’ moments.
█ Understanding Numerical Rankings:
The numerical rankings (from +18 to -18) identify and take advantage of market tendencies of prices reverting back to their historical average, also known as mean reversion. It operates on a simple principle: smaller values signal a potential for short-term mean reversion, while larger values suggest a probable shift in both short and long-term mean reversion. These values are derived from a careful analysis of both short and long-term mean reversions, providing traders with a nuanced understanding of market movements.
█ Analyzing Numeric Ranking Extremes:
The historical occurrences of numeric rankings are recorded into a table to help identify the previous extreme rankings (for example anything -10/+10 is considered extreme), which historically signal key turning points in market movements. The previously extreme rankings offer insights into potential end-of trend scenarios or trend reversals, thereby attempting to make high-probability trading decisions.
█ Risk Management Integration:
This indicator combined with disciplined risk management, offers a more secure trading approach. Applying a stop-loss near lows after entries on the oversold side (negative rankings) protects from large losses. Additionally, once prices reach overbought territories (positive rankings) applying a tight stop-loss helps to lock in profits while continuing exposure to the aggressive upwards momentum.
█ Calculation Methodology:
The indicator evaluates market momentum by analyzing upward and downward movements. It does this by referencing the 10 'length' input parameters, where 'length' refers to the number of price bars referenced. Each 'length' increases in value to analyze trends from short to long-term. A numerical rank is given when these trends align, with higher ranks requiring agreement across both short and longer-term lengths. This alignment across different time periods helps to ensure the indicator's signals are robust.
█ Indicator Stability (No Repainting):
When a price bar closes, its associated ranking is fixed and remains unchanged (some other indicators repaint, which means signals can change after a bar closes). While a price bar is open, its numeric ranking may increase in absolute value but never decrease towards zero, ensuring further stability. This stability and consistency is crucial for reliable back-testing and real-time analysis. Notably, in the highly improbable scenario where a ranking may exhibit both a positive and negative value simultaneously during extreme volatility, both the positive and negative numeric ranking is displayed.
█ Practical Application:
Pro Tip: Use at a minimum -4/+4 rank as potential basic buy/sell signals. Higher absolute numeric rankings are ideal as they indicate stronger reversal potential due to higher rankings identifying longer period reversals.
Entry Scenario: Refer to the chart below. The -9 ranking (3 occurrences in the table) indicates potential oversold conditions, suggesting a buy. Add a stop-loss near recent lows to protect against losses.
Exit Scenario: Refer to the chart below. The +7 ranking (6 occurrences in the table) indicates potential overbought conditions, suggesting a sell. Place a stop-loss to protect profits and remain exposed to further gains.
█ Indicator Settings:
Additional Timeframe: Allows users to include an extra timeframe's data in the analysis for more nuanced insights.
Lengths: Defines the periods over which the indicator calculates its rankings, affecting the sensitivity and time horizon of the signals.
Max Number Calculated: Sets the upper limit for the numerical rankings the indicator can output, tuning the extremity of the signals it identifies. (Reducing improves indicator load time)
Visual Styling (Current Timeframe): Customizes the appearance of the indicator's output on the chart for the selected timeframe, enhancing visibility and readability.
Table Settings: Adjusts the display properties of the table that lists numerical rankings, including its visibility, location, and size on the chart.
Indicator Display Type: Selects the mode in which the indicator presents its data, either overlaying the main chart or in a separate pane as an oscillator.
Alerts: Configures the conditions and frequency at which the indicator will trigger trading alerts, based on the numeric rankings and user-defined parameters.
█ How To Access:
You can see the Author's Instructions below to get access.
ATR Divergences [UAlgo]Divergence is a concept in financial markets that highlights inconsistencies between the price of an asset and a given indicator. This script focuses on identifying divergences using the Average True Range (ATR). Divergence occurs when there is a disparity between the direction of the price and the oscillator, providing valuable insights for traders anticipating potential trend reversals.
This script employs pivot points (with using High-Low values of the candles) to identify potential divergences between the oscillator (ATR) and price movements. Here's how each type of divergence is determined:
Key Features:
Regular Bullish Divergence:
Oscillator registers a higher low.
Price records a lower low.
Indicative of potential upward reversal.
Hidden Bullish Divergence:
Oscillator indicates a lower low.
Price exhibits a higher low.
Signals a concealed bullish continuation pattern.
Regular Bearish Divergence:
Oscillator shows a lower high.
Price marks a higher high.
Suggests a possible downward reversal.
Hidden Bearish Divergence:
Oscillator reflects a higher high.
Price displays a lower high.
Indicates a hidden bearish continuation pattern.
Usage and Customization:
ATR Length: Adjustable parameter for customizing the Average True Range calculation period.
Plot Options: Choose to display Regular Bullish, Hidden Bullish, Regular Bearish, and/or Hidden Bearish divergences.
Wait for Candle Close: Option to wait for candle closure before plotting signals.
How to Interpret:
Regular divergences may indicate potential trend reversals, while hidden divergences suggest a continuation of the current trend. Traders can leverage these signals to make informed decisions in their trading strategies.
Feel free to customize the parameters based on your trading preferences. Happy Trading!
CARNAC Magic DCAThe "CARNAC Magic DCA" indicator is designed for investors looking for the best opportunities for Dollar-Cost Averaging (DCA).
How it works:
The Carnac Dynamic DCA Threshold calculates a dynamic threshold for DCA entries using Exponential Moving Average (EMA), Average True Range (ATR), and the maximum distance from the EMA over a full lookback period, aiding in identifying optimal buy opportunities. It also only signals a DCA buying opportunity after a bearish candle, which helps lower the average DCA price.
Configurable Inputs:
EMA Start Length: Sets the initial length for the series of EMAs, affecting their sensitivity to price changes.
ATR Length: Determines the period for the ATR calculation, influencing the dynamic DCA threshold's responsiveness to market volatility.
ATR Multiplier: Modifies the impact of the ATR on the DCA threshold, allowing for finer control over the threshold's sensitivity to volatility.
Start Calculation From: Enables setting a specific start date for calculations, tailoring the analysis to a particular trading period.
DCA Buy Signal Alert: Generates an alert when the price is below both the dynamic DCA threshold and the opening price, indicating a potential buy signal based on DCA strategy.
Ten EMAs: Carnac Magic DCA includes a ten EMA plot, which decrease in length from the user-defined starting length, offering a multi-layered trend analysis.
EMA Color Coding: The sequential arrangement of EMAs is visually represented through color coding, facilitating quick trend recognition.
Average Buy Price Analysis: Calculates and displays the average buy price and its percentage difference from the average closing price since the user-defined start date, helping assess the strategy’s effectiveness compared to traditional DCA methods (purchasing at the close of every candle).
Visual Indicators and Labels: Includes visual alerts for buy signals and informative labels showing average buy prices and related statistics.
ADX Thrust Reversal & Trend
Created by Love Sharma, CMT, CFTe
the idea is simple. there needs to be thrust in prices before adx goes above any barrier or level say 25/10 or even 10/ The Di plus or Di minus should be above ADX. This indicates the change in direction or change in underlying price and obviously followed by ADX indicator which is dependent on user which level it exceed.
The ADX - Shows Trend Strength
The =/- Di show Thrust or reversal in prices.
it helps in entering the directional change in prices early rather than waiting for ADX
Fibonacci Timing Pattern IIThe Fibonacci Timing Pattern II is a price-based counter that seeks to determine medium-term reversals in price action. It is based on the following set of conditions:
* For a bullish Fibonacci timing signal II: The current close must be lower than the close prices from one and two periods ago. Simultaneously, the close price from two periods ago must be lower than the close price from three periods ago, and the close price from three periods ago must be lower than the close price from five periods ago. The Fibonacci sequence continues until the close price from thirty four periods ago which must be above the close price from fifty five periods ago.
* For a bearish Fibonacci timing signal II: The current close must be higher than the close prices from one and two periods ago. Simultaneously, the close price from two periods ago must be higher than the close price from three periods ago, and the close price from three periods ago must be higher than the close price from five periods ago. The Fibonacci sequence continues until the close price from thirty four periods ago which must be lower the close price from fifty five periods ago.
The signals of the pattern are ideally used in a sideways market or used in tandem with the trend (bullish signals are taken in a bullish market and bearish signals are taken in a bearish market).
Mean Reversion Watchlist [Z score]Hi Traders !
What is the Z score:
The Z score measures a values variability factor from the mean, this value is denoted by z and is interpreted as the number of standard deviations from the mean.
The Z score is often applied to the normal distribution to “standardize” the values; this makes comparison of normally distributed random variables with different units possible.
This popular reversal based indicator makes an assumption that the sample distribution (in this case the sample of price values) is normal, this allows for the interpretation that values with an extremely high or low percentile or “Z” value will likely be reversal zones.
This is because in the population data (the true distribution) which is known, anomaly values are very rare, therefore if price were to take a z score factor of 3 this would mean that price lies 3 standard deviations from the mean in the positive direction and is in the ≈99% percentile of all values. We would take this as a sign of a negative reversal as it is very unlikely to observe a consecutive equal to or more extreme than this percentile or Z value.
The z score normalization equation is given by
In Pine Script the Z score can be computed very easily using the below code.
// Z score custom function
Zscore(source, lookback) =>
sma = ta.sma(source, lookback)
stdev = ta.stdev(source, lookback, true)
zscore = (source - sma) / stdev
zscore
The Indicator:
This indicator plots the Z score for up to 20 different assets ( Note the maximum is 40 however the utility of 40 plots in one indicator is not much, there is a diminishing marginal return of the number of plots ).
Z score threshold levels can also be specified, the interpretation is the same as stated above.
The timeframe can also be fixed, by toggling the “Time frame lock” user input under the “TIME FRAME LOCK” user input group ( Note this indicator does not repain t).
Breakout Detector (Previous MTF High Low Levels) [LuxAlgo]The Breakout Detector (Previous MTF High Low Levels) indicator highlights breakouts of previous high/low levels from a higher timeframe.
The indicator is able to: display take-profit/stop-loss levels based on a user selected Win/Loss ratio, detect false breakouts, and display a dashboard with various useful statistics.
Do note that previous high/low levels are subject to backpainting, that is they are drawn retrospectively in their corresponding location. Other elements in the script are not subject to backpainting.
🔶 USAGE
Breakouts occur when the price closes above a previous Higher Timeframe (HTF) High or below a previous HTF Low.
On the advent of a breakout, the closing price acts as an entry level at which a Take Profit (TP) and Stop Loss (SL) are placed. When a TP or SL level is reached, the SL/TP box border is highlighted.
When there is a breakout in the opposite direction of an active breakout, previous breakout levels stop being updated. Not reaching an SL/TP level will result in a partial loss/win,
which will result in the box being highlighted with a dotted border (default). This can also be set as a dashed or solid border.
Detection of False Breakouts (default on) can be helpful to avoid false positives, these can also be indicative of potential trend reversals.
This indicator contains visualization when a new HTF interval begins (thick vertical grey line) and a dashboard for reviewing the breakout results (both defaults enabled; and can be disabled).
As seen in the example above, the active, open breakout is colored green/red.
You can enable the setting ' Cancel TP/SL at the end of HTF ', which will stop updating previous TP/SL levels on the occurrence of a new HTF interval.
🔶 DETAILS
🔹 Principles
Every time a new timeframe period starts, the previous high and low are detected of the higher timeframe. On that bar only there won't be a breakout detection.
A breakout is confirmed when the close price breaks the previous HTF high/low
A breakout in the same direction as the active breakout is ignored.
A breakout in the opposite direction stops previous breakout levels from being updated.
Take Profit/Stop Loss, partially or not, will be highlighted in an easily interpretable manner.
🔹 Set Higher Timeframe
There are 2 options for choosing a higher timeframe:
• Choose a specific higher timeframe (in this example, Weekly higher TF on a 4h chart)
• Choose a multiple of the current timeframe (in this example, 75 minutes TF on a 15 min chart - 15 x 5)
Do mind, that when using this option, non-standard TFs can give less desired timeframe changes.
🔹 Setting Win/Loss Levels
The Stop Loss (SL) / Take Profit (TP) setting has 2 options:
W%:L% : A fixed percentage is chosen, for TP and SL.
W:L : In this case L (Loss-part) is set through Loss Settings , W (Win-part) is calculated by multiplying L , for example W : L = 2 : 1, W will be twice as large as the L .
🔹 Loss Settings
The last drawing at the right is still active (colored green/red)
The Loss part can be:
A multiple of the Average True Range (ATR) of the last 200 bars.
A multiple of the Range Cumulative Mean (RCM).
The Latest Swing (with Length setting)
Range Cumulative Mean is the sum of the Candle Range (high - low) divided by its bar index.
🔹 False Breakouts
A False Breakout is confirmed when the price of the bar immediately after the breakout bar returns above/below the breakout level.
🔹 Dashboard
🔶 ALERTS
This publication provides several alerts
Bullish/Bearish Breakout: A new Breakout.
Bullish/Bearish False Breakout: False Breakout detected, 1 bar after the Breakout.
Bullish/Bearish TP: When the TP/profit level has been reached.
Bullish/Bearish Fail: When the SL/stop-loss level has been reached.
Note that when a new Breakout causes the previous Breakout to stop being updated, only an alert is provided of the new Breakout.
🔶 SETTINGS
🔹 Set Higher Timeframe
Option : HTF/Mult
HTF : When HTF is chosen as Option , set the Higher Timeframe (higher than current TF)
Mult : When Mult is chosen as Option , set the multiple of current TF (for example 3, curr. TF 15min -> 45min)
🔹 Set Win/Loss Level
SL/TP : W:L or W%:L%: Set the Win/Loss Ratio (Take Profit/Stop Loss)
• W : L : Set the Ratio of Win (TP) against Loss (SL) . The L level is set at Loss Settings
• W% : L% : Set a fixed percentage of breakout price as SL/TP
🔹 Loss Settings
When W : L is chosen as SL/TP Option, this sets the Loss part (L)
Base :
• RCM : Range Cumulative Mean
• ATR : Average True Range of last 200 bars
• Last Swing : Last Swing Low when bullish breakout, last Swing High when bearish breakout
Multiple : x times RCM/ATR
Swing Length : Sets the 'left' period ('right' period is always 1)
Colours : colour of TP/SL box and border
Borders : Style border when breakout levels stop being updated, but TP/SL is not reached. (Default dotted dot , other option is dashed dsh or solid sol )
🔹 Extra
Show Timeframe Change : Show a grey vertical line when a new Higher Timeframe interval begins
Detect False Outbreak
Cancel TP/SL at end of HTF
🔹 Show Dashboard
Location: Location of the dashboard (Top Right or Bottom Right/Left)
Size: Text size (Tiny, Small, Normal)
See USAGE/DETAILS for more information
Consecutive Higher/Lower ClosingsThe Consecutive Higher/Lower Closings indicator is a powerful tool designed to assist traders in identifying potential buy and sell signals based on consecutive higher or lower closing prices. This indicator provides users with the flexibility to specify the number of consecutive higher or lower closings required to trigger a signal, allowing for a customizable trading strategy.
Key Features:
Customizable Parameters: Users can define the number of consecutive higher and lower closings needed to generate buy and sell signals, providing a tailored approach to trading.
Clear Buy and Sell Signals: The indicator plots clear buy and sell signals directly on the chart, making it easy for traders to identify potential entry and exit points.
Usage:
Consecutive Higher Closings (Buy Signal): When the current closing price is higher than the previous closing price for the specified number of consecutive periods (as defined by the user), a buy signal will be generated.
Consecutive Lower Closings (Sell Signal): When the current closing price is lower than the previous closing price for the specified number of consecutive periods (as defined by the user), a sell signal will be generated.
How to Use:
Apply the Consecutive Higher/Lower Closings indicator to your chart.
Adjust the input parameters, consecutiveHigherClosings and consecutiveLowerClosings, to match your preferred trading strategy. These parameters determine the number of consecutive higher and lower closings needed to trigger signals.
Interpret the buy and sell signals generated by the indicator. When a buy signal is displayed (green triangle up), it suggests a potential entry point. Conversely, a sell signal (red triangle down) indicates a potential exit point.
Important Note:
This indicator is designed to assist traders in making informed decisions, but it should be used in conjunction with other technical analysis tools and risk management strategies for a comprehensive trading approach.
Kindly be aware that this strategy is most effective with Monster stocks with smooth price action, particularly when analyzing in weekly and/or daily timeframe.
Disclaimer:
Trading involves risk, and past performance does not guarantee future results. Always conduct thorough research and consider your risk tolerance before making trading decisions.
K`s Extreme DurationExtreme duration uses a special combination of the RSI and its relative position to deliver a reversal signal.
The following are the conditions to generate signals:
* Bullish signal: The current 8-period RSI is below 50 and above 35 while the previous 5 RSI's are below 35.
* Bearish signal: The current 8-period RSI is above 50 and below 65 while the previous 5 RSI's are above 65.
Confluence Buy-Sell Indicator with Fibonacci The script is a "Confluence Indicator with Fibonacci" designed to work on the TradingView platform. This indicator combines multiple technical analysis strategies to generate buy and sell signals based on user-defined confluence criteria. Here's a breakdown of its features:
Confluence Criteria: Users can enable or disable various strategies like MACD, RSI, Bollinger Bands, Divergence, Fibonacci, and Moving Average. The number of strategies that need to align for a signal to be generated can be set by the user.
Strategies Included:
MACD Strategy: Uses the Moving Average Convergence Divergence method to identify buy/sell opportunities.
RSI Strategy: Utilizes the Relative Strength Index to detect overbought or oversold conditions.
Bollinger Bands Strategy: Incorporates Bollinger Bands to identify volatility and potential buy/sell signals.
Divergence Strategy: A basic implementation that detects bullish and bearish divergences using the RSI.
Fibonacci Strategy: Uses Fibonacci retracement levels to determine potential support and resistance levels.
Moving Average Strategy: Employs a crossover system between the 50-period and 200-period simple moving averages.
Additional Features:
Support & Resistance: Identifies major support and resistance levels from the last 50 bars.
Pivot Points: Calculates pivot points to determine potential turning points.
Stop Loss Levels: Automatically calculates and plots stop-loss levels for buy and sell signals.
NYC Midnight Level: Option to display the New York City midnight price level.
Visualization: Plots buy and sell signals on the chart with green and red markers respectively.
Adequate Category:
"Technical Analysis Indicators & Overlays" or "Strategy & Scripting Tools".
SpiceIn the chart photo is a description for each shape and letter, saying what each one is.
BB, Reversals are off by default.
BB + Reversals + Next bar confirmation - The way this should be used is by waiting for a 1 or 2 bar confirmation closed above/below the high/low of the Reversal candle. So if its a Top R, a yellow box will print as a confirmed 1 bar if it closed below the top R's low, then you can wait for the second bar to close also below the Top R's low. Vice versa with the Bot R.
RSI arrows - Essentially showing you when the multi time frame RSIs are coming back up above 30, or below 70. Respective to what time frames you have selected.
Three Line Strike - A trend continuation candlestick pattern consisting of four candles
Leledc Exhaustion suggest the trend may be reversing. Combined with the moving average as a trend filter, the indicator can signal the end of a pull back and the continuation of the trend.
EMAs - Help measuring the trend direction over a period of time.
Credit to all these amazing creators -
Multi Timeframe RSI (LTF) by @millerrh
3 Line Strike by @Lij_MC 'MarketVision A'
Leledc Exhaustion by @glaz, used updated version by @Joy_Bangla
If anyone uses the BB reversals source code to put into their own indicator/strategy, you are free to do so. Just send me a message I'd love to see your work with it! :)
Thanks to Lij_MC's MarketVision A indicator for inspiring me to add more features. At first it was just the RSI Arrows and the BB reversals candles + Condition but then I found MarketVision A and loved the extra Leledc and 3 Line Strike features.
Hope you enjoy this Spice!
No Signal is 100% correct at what it's trying to do. Use caution when trading!
Practice Risk Management.
MA Sabres [LuxAlgo]The "MA Sabres" indicator highlights potential trend reversals based on a moving average direction. Detected reversals are accompanied by an extrapolated "Sabre" looking shape that can be used as support/resistance and as a source of breakouts.
🔶 USAGE
If a selected moving average (MA) continues in the same direction for a certain time, a change in that direction could signify a potential reversal.
In this publication, when a trend change occurs, a sabre-shaped figure is drawn which can be used as support/resistance:
A sabre can be indicative of a direction, however, it can also act as a stop-loss when the price should go in the opposite direction:
Or show potential areas of interest:
🔶 DETAILS
This publication will look for a change in direction after the MA went in the same direction during x consecutive bars (settings: " Reversal after x bars in the same direction ").
Then a circle-shaped drawing will be drawn 1 bar back, at the previous high/low, dependable of the previous direction.
From there originates a sabre-shaped figure where the tip lies as far as the user-set MA length.
The angle of the "sabre" relies on the ATR of the previous 14 bars.
Less volatility will create a flatter sabre while the opposite is true when there is more volatility in the previous 14 bars.
The sabre is created by the latest feature, polylines , which enables us to connect several 'points', resulting in a polyline.new() object.
Do note that sabres are offset by one bar to the past to align their locations.
🔶 SETTINGS
MA Type: SMA, EMA, SMMA (RMA), HullMA, WMA, VWMA, DEMA, TEMA, NONE (off)
Length: this sets the length of MA, and the length of the sabre shape
Previous Trend Duration: After the MA direction is the same for x consecutive bars, the first time the direction changes, a sabre is drawn
Rug Pull DetectorOverview
Have you ever wondered why tickers have such erratic movements that seemingly come from nowhere? These "rug pull" events happen quite often and can catch even the most seasoned traders off-guard.
Unlike most other indicators which rely on historical data to make inferences about future price movements, the Rug Pull Detector (RPD) enables you to take a glimpse into market makers' delta-neutral hedging in real-time.
Market makers by nature must be delta-neutral which means that they cannot position themselves to profit from providing liquidity (either long or short). Liquidity provided to the short or long side must end up in a stock purchase or sale to neutralize the trade.
Volatile movements in a ticker's price movement most often result directly after a period of extremely low volatility. These volatile movements are very often "rug pulled" which ends up reverting the ticker back to the price at which the event first occurred. RPD shows these events in real-time. This knowledge can be used to help determine the most probable near-future direction a ticker will gravitate towards after a rug pull event occurs.
Usage
RPD works on any ticker and on any timeframe and can be used as a tool in determining an exit price for a trade. Vertical shading on the chart indicates a warning signal that a rug pull event may be about to kick-off. Once a rug pull event has occurred and is confirmed, a blue label will appear on the chart with a price. A line is then drawn from the bar at which the event occurred and is extended to each subsequent bar until the price is reached once more; thus concluding the event. Furthermore, red or green shading will be present to easily visually identify rug pull events on the chart and whether they are risks to the downside (red) or upside (green). RPD is broken down into 2 main types of events:
Active Event - These events are characterized by a red or green shading and a blue price line.
Dormant Event - These events do not have shading but are still identifiable via a blue price line. Active events that are superseded by newer events will become dormant.
Active events tend to have a higher chance to return to the initial price point and tend to arrive there quicker.
Dormant events have a slightly lower chance to return to the initial price point and may take longer to arrive there.
Please note:
This indicator has no way of telling the exact amount of time that will pass before the ticker returns to the identified price; however, in more cases than not - the ticker will return to that price within a reasonable amount of time relative to the timeframe you are viewing.
There is a small chance any single event will never conclude. These are anomalies and do occur on occasion.
Using RPD alongside tools such as the RSI, Anchored VWAP, or other trend-based indicators will help determine when the ticker's price might be about to pivot and head back towards the identified price point.
Seeing is Believing:
SPY 1D downside rug-pull
----------------------------------------------
AAPL 15s downside and upside rug-pulls
----------------------------------------------
AMD 2D downside rug-pull
----------------------------------------------
VIX 1h downside and upside rug-pulls
Want to see more? Check out my recent Ideas for more examples of the Rug Pull Detector in action.
Disclaimer:
Any information in relation to the Rug Pull Detector does not constitute any financial, investment, or trading advice. Trade or invest at your own risk.
blackOrb ZoneBuying near the bottom and selling near the peak can be a challenging trading approach. However, it all begins with the ability to identify these essential zones. This indicator is targeting support and resistance with heightened accuracy. It utilizes features like:
I. Multi-Level Weighting for Enhanced Support and Resistance Zones
II. Vertical Zone Range Adjustment for Enhanced Price Level Identification
III. High-Time Frame for Solid Macro Validation
IV. Projection Function for Informed Trade Management
V. Automatic Level Identification for Pinpointing Potential Order Positions
VI. Customizable Pivot Analysis for Accurate Zone Identifications
Technical Methodology
I. Multi-Level Weighting for Enhanced Support and Resistance Zones
Support and resistance are more accurately represented as wider zones rather than singular lines. In practical application, relevant support or resistance levels often converge around a central mean-weighted level within a zone.
This indicator visually represents these zones by calculating values from open, high, low, and close prices, accentuating them through varying opacities. Higher opacity within an area indicates a higher likelihood of it serving as a relevant support or resistance level.
Multiple mean options within the settings menu encompass weighted average calculations that utilize different combinations of price data within the relevant pivot analysis phase. This versatility allows users to target pertinent levels within a zone. For instance, when employing hlcc4 price data, the calculation is as follows:
mean_price_hlcc4 = (high + low + close + close) / 4
II. Vertical Zone Range Adjustment for Enhanced Price Level Identification
This feature enables users to precisely adjust the vertical zone range for price references within potential support or resistance phases. For instance, decreasing the reference setting results in a more granular validation within a narrower range. This creates vertically thinner zones with increased price level precision, although it may offer a less comprehensive perspective.
III. High-Time Frame for Solid Macro Validation
The indicator enhances pivot points, potentially in conjunction with high-time frame validation, to identify significant price zones with heightened confirmation strength driven by volume. Higher time frames provide more extensive volume verification, for instance, comparing the 4-hour to the 24-hour timeframe (a multiple of six).
This feature involves cross-referencing data from higher time frames, heightening the reliability of support and resistance zones and providing valuable insights into potential trading interest levels.
Technically, the indicator applies the identical rigorous analysis to both lower and higher time frames. This approach facilitates a more comprehensive perspective and aids in the clearer identification of overarching macro support and resistance levels, even when focusing on smaller timeframes. For instance, a potential support zone identified on the daily time frame can gain higher confidence when confirmed on a weekly chart.
IV. Projection Function for Informed Trade Management
The projection function visually extends the most recent analysis of support and resistance zones forward, in accordance with the user's configured parameters.
By displaying precise price values at these visualized support and resistance levels, this indicator offers valuable assistance in decision-making, particularly when planning real-time orders or when engaged in an active trade management phase (e.g., for the purpose of adjusting stop-loss levels post-entry).
Note: This function is based on historical data. It may not account for unforeseen market events. It's important to complement this feature with ongoing analysis of real-time market data.
V. Automatic Level Identification for Pinpointing Potential Order Positions
It is empirically observed that traders frequently position orders at price levels that conform to quantized values due to cognitive biases.*
Consequently, blackOrb Zone not only facilitates the identification of pertinent levels within a weighted zone but also features an "auto" functionality designed to analyze price dynamics in the proximity of these relevant levels. The objective is to identify discrete values in close vicinity, which exhibit a higher likelihood of serving as authentic support and resistance zones.
This processing approach assists traders in precisely locating the central mean-weighted level within a given zone and identifies proximate quantized levels.
Note: This method becomes especially relevant during phases of price retesting, where market participants converge, contributing to a further refinement of levels, indicative of an asymmetric balance between supply and demand.
*Source: Prof. Mitchell, Jason. "Clustering and Psychological Barriers: The Importance of Numbers." Journal of Futures Markets, vol. 21, no. 5, 2001, pp. 395-428.
VI. Customizable Pivot Analysis for Accurate Zone Identifications
The indicator employs pivot points to pinpoint key price zones where price dynamics could encounter buying or selling pressure.
Essential components of this method involve comparing time units both to the left and right within a designated phase of support or resistance, effectively defining the search range for pivotal points.
For instance, in the analysis below, the search is for the highest price point that hasn't been surpassed within a certain resistance zone in the last 10 time units to the left and 10 time units to the right:
ta.pivothigh(10, 10)
Potential Trade Management Applications of blackOrb Zone
- Reversal Trading : Robust support zones with bullish signals can indicate opportune moments for buying or long position entries, whereas confirmed resistance zones can be identified for selling or short position entries.
- Breakout Trading : Anticipating price surges as price breach support or resistance level. A resistance breakout can signal a bullish price dynamic, while a support breakdown may suggest a bearish price dynamic.
- Range Trading : In lateral sideways markets, users can capitalize on support zones for buying and resistance zones for selling, profiting from price fluctuations.
- Take-Profit Management : For buying or long positions, resistance zones can be identified to determine suitable take-profit levels either within or near these zones - for short positions, vice versa with support zones.
- Stop-Loss Management : For buying or long positions, support zones can be identified to determine appropriate stop-loss levels beneath these zones - for short positions, vice versa with resistance zones to determine stop-loss levels above these zones.
Note on Usability
blackOrb Zone can have synergies with blackOrb Price as both indicators combined can give a bigger picture for supporting comprehensive and multifaceted data-driven trading analysis.
This tool was meticulously created to serve as an additional frame for the seamless integration of other more granular trading indicators. This indicator isn't intended for standalone trading application. Instead, it is serving as a supplementary tool for orientation within broader trading strategies.
Irrespective of market conditions, it can harmonize with a wider range of trading styles and instruments / trading pairs / indices like Stocks, Gold, FX, EURUSD, SPX500, GBPUSD, BTCUSD and Oil.
Inspiration and Publishing
Taking genesis from the inspirations amongst others provided by TradingView Pine Script Wizard Kodify, blackOrb Zone is a multi-encompassing script meticulously forged from scratch. It aspires to furnish a comprehensive approach, borne out of personal experiences and a strong dedication in supporting the trading community. We eagerly await valuable feedback to refine and further enhance this tool.