ka66: Bar Range BandsThis tool takes a bar's range, and reflects it above the high and below the low of that bar, drawing upper and lower bands around the bar. Repeated for each bar. There's an option to then multiply that range by some multiple. Use a value greater than 1 to get wider bands, and less than one to get narrower bands.
This tool stems out of my frustration from the use of dynamic bands (like Keltner Channels, or Bollinger Bands), in particular for estimating take profit points.
Dynamic bands work great for entries and stop loss, but their dynamism is less useful for a future event like taking profit, in my experience. We can use a smaller multiple, but then we can often lose out on a bigger chunk of gains unnecessarily.
The inspiration for this came from a friend explaining an ICT/SMC concept around estimating the magnitude of a trend, by calculating the Asian Session Range, and reflecting it above or below on to the New York and London sessions. He described this as standard deviation of the Asian Range, where the range can thus be multiplied by some multiple for a wider or narrower deviation.
This, in turn, also reminded me of the Measured Move concept in Technical Analysis. We then consider that the market is fractal in nature, and this is why patterns persist in most timeframes. Traders exist across the spectrum of timeframes. Thus, a single bar on a timeframe, is made up of multiple bars on a lower timeframe . In other words, when we reflect a bar's range above or below itself, in the event that in a lower timeframe, that bar fit a pattern whose take profit target could be estimated via a Measured Move , then the band's value becomes a more valid estimate of a take profit point .
Yet another way to think about it, by way of the fractal nature above, is that it is essentially a simplified dynamic support and resistance mechanism , even simpler than say the various Pivot calculations (e.g. Classical, Camarilla, etc.).
This tool in general, can also be used by those who manually backtest setups (and certainly can be used in an automated setting too!). It is a research tool in that regard, applicable to various setups.
One of the pitfalls of manual backtesting is that it requires more discipline to really determine an exit point, because it's easy to say "oh, I'll know more or less where to exit when I go live, I just want to see that the entry tends to work". From experience, this is a bad idea, because our mind subconsciously knows that we haven't got a trained reflex on where to exit. The setup may be decent, but without an exit point, we will never have truly embraced and internalised trading it. Again, I speak from experience!
Thus, to use this to research take profit/exit points:
Have a setup in mind, with all the entry rules.
Plot your setup's indicators, mark your signals.
Use this indicator to get an idea of where to exit after taking an entry based on your signal.
Credits:
@ICT_ID for providing the idea of using ranges to estimate how far a trend move might go, in particular he used the Asian Range projected on to the London and New York market sessions.
All the technicians who came up with the idea of the Measured Move.
Pita dan Kanal
Tether Ratio ChannelTether Ratio Channel is an on-chain metric that tracks the ebb & flow of the ratio of BTC market cap / stablecoin market cap.
This ratio is relevant to traders, as it tends to lead total crypto market cap's short to medium term trend, and has for many years.
The ratio's most straightforwards visualization may be Stablecoin Supply Oscillator , a legacy on-chain metric that captures the ratio but isn't useful on its own as a trading tool.
Tether Ratio Channel builds on top of Stablecoin Supply Oscillator, to create a new metric that's:
Signal-generating , with clear entry & exit signals
Unambiguous , so use is mechanical
Optimized , with the intent to generate signals as close as possible to BTC local tops & bottoms
Normalized across its history , so each signal has a rich uniform history & context
METRIC CONSTRUCTION
Tether Ratio Channel is a higher timeframe RSI of Stablecoin Supply Oscillator, bound inside a bollinger band channel, normalized and smoothed for optimal signal clarity.
Instead of chart price as the source, the metric uses a proxy for stablecoin market cap:
(USDT + USDC + DAI) divided by BTC mkt cap
But it's named for Tether specifically, because USDT just completely dominates the asset class.
Default settings are very close to the on-chain metric original, but not identical. Settings are adjustable in the metric inputs.
VERTICAL LOCATION IN THE CHANNEL
The lower the yellow print is on the metric's Y-axis, the more upside potential total crypto market cap typically has.
The higher the yellow print is on the metric's Y-axis, the more downside risk most crypto assets typically have.
SWING TRADE SIGNALS
Tether Ratio Channel is signal-generating, a simple cross of the metric (the yellow line) and its weighted moving average (the white line) is the signal.
A bullish cross below the green horizontal target is a high conviction buy signal
A bullish cross above the green target is a lower conviction buy signal, but historically still tends to make for a good entry
Any bearish cross is typically a good time to take profits
Any bearish cross above 55 (on the metric's Y axis) tends to coincide with BTC local tops
Buy signals are visualized with a green vertical, and a background fill that persists until the next sell signal
High conviction buy signals (below the green line) also print an arrow, if enabled.
Background fills and arrow prints will only appear if the chart timeframe is equal to or lower than the 8H chart. (Or whatever the metric's timeframe input is set to, if the user changes default settings).
Adjustable Percentage Range Moving AverageAdjustable Percentage Range Moving Average (APRMA)
The Adjustable Percentage Range Moving Average (APRMA) is a technical analysis tool designed for traders and market analysts who seek a dynamic approach to understanding market volatility and trend identification. Unlike traditional moving averages, the APRMA incorporates user-adjustable percentage bands around a central moving average line, offering a customizable view of price action relative to its recent history.
Key Features:
Central Moving Average: At its core, APRMA calculates a moving average (type of your choice) of the price over a specified number of periods, serving as the baseline for the indicator.
Percentage Bands: Surrounding the moving average are four bands, two above and two below, set at user-defined percentages away from the central line. These bands expand and contract based on the percentage input, not on standard deviation like Bollinger Bands, which allows for a consistent visual interpretation of how far the price has moved from its average.
Customizability: Users can adjust:
The length of the moving average period to suit short-term, medium-term, or long-term analysis.
The percentage offset for the bands, enabling traders to set the sensitivity of the indicator according to the asset's volatility or their trading strategy.
Visual Interpretation:
When the price moves towards or beyond the upper band, it might indicate that the asset is potentially overbought or that a strong upward trend is in place.
Conversely, price action near or below the lower band could suggest an oversold condition or a strong downward trend.
The space between the bands can be used to gauge volatility; narrower bands suggest lower current volatility relative to the average, while wider bands indicate higher volatility.
Usage in Trading:
Trend Confirmation: A price staying above the moving average and pushing the upper band might confirm an uptrend, while staying below and testing the lower band could confirm a downtrend.
Reversion Strategies: Traders might look for price to revert to the mean (moving average) when it touches or crosses the bands, setting up potential entry or exit points.
Breakout Signals: A price moving decisively through a band after a period of consolidation within the bands might signal a breakout.
The APRMA provides a clear, adaptable framework for traders to visualize where the price stands in relation to its recent average, offering insights into potential overbought/oversold conditions, trend strength, and volatility, all tailored by the trader's strategic preferences.
Machine Learning Support and Resistance [AlgoAlpha]🚀 Elevate Your Trading with Machine Learning Dynamic Support and Resistance!
The Machine Learning Dynamic Support and Resistance by AlgoAlpha leverages advanced machine learning techniques to identify dynamic support and resistance levels on your chart. This tool is designed to help traders spot key price levels where the market might reverse or stall, enhancing your trading strategy with precise, data-driven insights.
Key Features:
🎯 Dynamic Levels: Continuously adjusts support and resistance levels based on real-time price data using a K-means clustering algorithm.
🧠 Machine Learning: Utilizes clustering methods to optimize the identification of significant price zones.
⏳ Configurable Lookback Periods: Customize the training length and confirmation length for better adaptability to different market conditions.
🎨 Visual Clarity: Clearly distinguish bullish and bearish zones with customizable color schemes.
📉 Trailing and Fixed Levels: Option to display both trailing and fixed support/resistance levels for comprehensive analysis.
🚮 Auto-Cleaning: Automatically removes outdated levels after a specified number of bars to keep your chart clean and relevant.
Quick Guide to Using the Machine Learning Dynamic Support and Resistance Indicator
Maximize your trading with this powerful indicator by following these streamlined steps! 🚀✨
🛠 Add the Indicator: Add the indicator to favorites by pressing the star icon. Customize settings like clustering training length, confirmation length, and whether to show trailing or fixed levels to fit your trading style.
📊 Market Analysis: Monitor the dynamic levels to identify potential reversal points. Use these levels to inform entry and exit points, or to set stop losses.
How It Works
This indicator employs a K-means clustering algorithm to dynamically identify key price levels based on the historical price data within a specified lookback window. It starts by initializing three centroids based on the highest, lowest, and an average between the highest and lowest price over the lookback period. The algorithm then iterates through the price data to cluster the prices around these centroids, dynamically adjusting them until they stabilize, representing potential support and resistance levels. These levels are further confirmed based on a separate confirmation length parameter to identify "fixed" levels, which are then drawn as horizontal lines on the chart. The script continuously updates these levels as new data comes in, while also removing older levels to keep the chart clean and relevant, offering traders a clear and adaptive view of market structure.
Uptrick: Momentum Channel Indicator
### 🌟 **Uptrick: Momentum Channel Indicator (MC_Ind)** 🌟
The **"Uptrick: Momentum Channel Indicator"** is a powerful tool designed to help traders gauge market momentum and identify potential overbought or oversold conditions. Whether you're a day trader, swing trader, or long-term investor, this indicator can be your compass 🧭 in the complex world of trading.
### 🎯 **Purpose of the Indicator**
The primary goal of the **Momentum Channel Indicator** is to measure the deviation of price from its moving average (the mid-point) and to smooth this deviation to identify momentum shifts. By plotting overbought and oversold levels, the indicator helps traders spot potential reversal points where the market might change direction, offering valuable entry or exit signals.
### 🔧 **Inputs & Parameters**
Let's break down the input parameters that you can adjust to tailor the indicator to your trading style:
1. **`length1` (Channel Length) 📏**: This is the period over which the moving average (mid-point) and price deviation are calculated. The default value is 14, meaning the last 14 bars are considered for calculations.
2. **`length2` (Smoothing Length) 🧘**: This parameter controls the smoothing of the channel index, with a default value of 28. The higher the value, the smoother the momentum line, reducing noise and making trends more visible.
3. **`overbought1` & `overbought2` (Overbought Levels) 🔴**: These levels, set at 70 and 65 by default, represent the threshold above which the market is considered overbought, potentially signaling a selling opportunity.
4. **`oversold1` & `oversold2` (Oversold Levels) 🟢**: Similarly, these levels, set at -70 and -65, mark the threshold below which the market is considered oversold, indicating a potential buying opportunity.
### 🛠️ **How the Indicator Works**
Now, let's dive into the mechanics of the Momentum Channel Indicator:
1. **Mid-Point Calculation 🏁**: The mid-point is calculated using a simple moving average (SMA) of the closing prices over the `length1` period. This mid-point acts as a reference line from which deviations are measured.
2. **Price Deviation 📊**: The price deviation is the absolute difference between the closing price and the mid-point, smoothed over the same period (`length1`). This represents the typical price movement away from the mid-point.
3. **Channel Index 📉**: The channel index is calculated by dividing the price deviation by a fraction (0.01) of the mid-point, providing a normalized measure of how far the price has deviated from the average.
4. **Smoothing of the Channel Index 🌊**: The smoothed index (`mci1`) is calculated by applying a smoothing filter (SMA) over the channel index using the `length2` parameter. This helps reduce noise and highlight the true momentum of the market.
5. **Momentum Lines 📈**:
- **`mci1`**: The main momentum line, representing the smoothed channel index.
- **`mci2`**: A secondary momentum line, which is a further smoothed version of `mci1` using a 6-period SMA.
6. **Signal Lines 🚦**:
- **Overbought & Oversold Levels**: Horizontal lines plotted at `overbought1`, `overbought2`, `oversold1`, and `oversold2` levels serve as visual cues for overbought and oversold conditions.
- **Zero Line**: A central reference line at 0, indicating neutral momentum.
### 📈 **How to Use the Indicator**
#### 1. **Day Traders ⚡**
For day traders, the Momentum Channel Indicator can be a quick signal generator for short-term trades. Here's how you can use it:
- **Identify Entry Points 🎯**: Look for a **bullish crossover** when `mci1` crosses above `mci2` from below the `oversold1` level. This signals a potential upward reversal.
- **Spot Exit Points 🏁**: Watch for a **bearish crossunder** when `mci1` crosses below `mci2` from above the `overbought1` level. This could indicate a downward reversal.
- **Scalping 🔄**: In a fast-moving market, use the indicator to scalp by entering and exiting trades at these crossover points, with a tight stop-loss strategy.
#### 2. **Swing Traders 🎢**
Swing traders benefit from using the Momentum Channel Indicator to identify potential reversal points over a longer period:
- **Trend Confirmation 📊**: Use the smoothing effect of `mci2` to confirm trends. If `mci2` remains consistently above 0, it indicates a strong bullish trend, and vice versa.
- **Overbought/Oversold Reversals 🚀**: Enter trades when the price approaches the overbought or oversold levels (`overbought1`, `oversold1`). Combine this with other indicators, such as RSI, for more reliable signals.
- **Hold Positions 🧗**: Let the momentum lines guide your hold strategy. If the momentum lines stay aligned (both `mci1` and `mci2` are moving in the same direction), consider holding the position until a crossover or reversal signal appears.
#### 3. **Long-Term Investors 🏦**
For long-term investors, the Momentum Channel Indicator helps in fine-tuning entry and exit points based on broader market momentum:
- **Divergence Analysis 📐**: Look for divergence between the price and the momentum lines. If the price makes new highs but the momentum lines do not, it could signal a weakening trend and a potential reversal.
- **Strategic Entry/Exit 🏹**: Use the `overbought2` and `oversold2` levels to strategically enter or exit positions. These secondary levels provide an early warning before the market reaches extreme conditions.
- **Risk Management 🛡️**: The indicator can also be used as part of a risk management strategy by identifying when to reduce exposure in overbought markets or increase exposure in oversold markets.
### 🖼️ **Visualization & Interpretation**
The Momentum Channel Indicator is visually intuitive, with each component providing key insights:
1. **Momentum Lines (MCI1 & MCI2) 📈**:
- **Blue Line (`mci1`)**: Represents the main momentum line, providing immediate insights into market direction.
- **Orange Line (`mci2`)**: A secondary momentum line, further smoothed to confirm trends.
2. **Overbought/Oversold Levels 🔴🟢**:
- **Solid & Dashed Lines**: These lines highlight overbought and oversold regions, guiding traders on when to consider entering or exiting trades.
3. **MCI Difference (Purple Area) 🌌**:
- **Shaded Area**: The difference between `mci1` and `mci2`, shaded in purple, helps visualize the strength of the momentum. The larger the shaded area, the stronger the momentum.
### 🚀 **Advanced Tips & Tricks**
For those looking to maximize the potential of the Momentum Channel Indicator, here are some advanced strategies:
1. **Combine with Volume Indicators 📊**: Use volume indicators like OBV (On-Balance Volume) or Volume Oscillator to confirm momentum signals. For instance, a bullish crossover combined with increasing volume can reinforce a buy signal.
2. **Multiple Timeframe Analysis 🕒**: Apply the Momentum Channel Indicator across multiple timeframes (e.g., daily and weekly) to get a more comprehensive view of the market. This can help in aligning short-term trades with long-term trends.
3. **Adjusting Parameters 🔄**: Depending on market conditions, tweak the `length1` and `length2` parameters. In a highly volatile market, shorter lengths might provide quicker signals, whereas in a stable market, longer lengths could smooth out noise.
4. **Divergence & Convergence 📐**: Watch for divergence between price and momentum lines as a leading indicator of potential reversals. Convergence (when the price and momentum move in sync) can confirm the strength of the trend.
### **Conclusion**
The **Uptrick: Momentum Channel Indicator** is a versatile tool that can be customized for various trading styles and market conditions. Whether you're trading in fast-paced environments or analyzing long-term trends, this indicator offers a clear and intuitive way to gauge market momentum, identify potential reversals, and make informed trading decisions.
By understanding and applying the principles outlined above, you can harness the full power of this indicator, transforming your trading strategy from good to great! 🌟
Gaussian Kernel Smoothing EMAGaussian Kernel Smoothing EMA
The Gaussian Kernel Smoothing EMA integrates the exponential moving average with kernel smoothing techniques to refine the trend tool. Kernel smoothing is a non-parametric technique used to estimate a smooth curve from a set of data points. It is particularly useful in reducing noise and capturing the underlying structure of data. The smoothed value at each point is calculated as a weighted average of neighboring points, with the weights determined by a kernel function.
The Gaussian kernel is a popular choice in kernel smoothing due to its properties of being smooth, symmetric, and having infinite support. This function gives higher weights to data points closer to the target point and lower weights to those further away, resulting in a smooth and continuous estimate. Since price isn't normally distributed a logarithmic transformation is performed to remove most of its skewness to be able to fit the Gaussian kernel.
This indicator also has a bandwidth, which in kernel smoothing controls the width of the window over which the smoothing is performed. It determines how much influence nearby data points have on the smoothed value. In this indicator, the bandwidth is dynamically adjusted based on the standard deviation of the log-transformed prices so that the smoothing adapts to the underlying variability and potential volatility.
Bandwidth Factor: The bandwidth factor in this indicator is used to adjust the degree of the smoothing applied to the MA. In kernel smoothing, Bandwidth controls the width of the window over which the smoothing is applied. It determines how many data points around a central point are considered when calculating a smooth value. A smaller bandwidth results in less smoothing, while a larger bandwidth smooths out more noise, leading to a broader, more general trend.
Big Candle Touches Bollinger BandWhat It Does:
This indicator helps you spot important trading signals by combining Bollinger Bands with big candles.
Key Features:
Bollinger Bands: These bands show the average price (middle band) and the range of price movement (upper and lower bands) over a set period. The bands widen when prices are more volatile and narrow when they are less volatile.
Big Candle Detection: A "big candle" is a candle that has a larger body compared to the average price movement over a period. This is determined using the Average True Range (ATR), which measures market volatility.
How It Works:
Detects Big Candles: It checks if a candle’s body (the difference between its open and close prices) is bigger than usual, based on a multiplier of the ATR.
Touching Bollinger Bands: It looks for candles that touch or cross the upper or lower Bollinger Bands.
Highlights Important Signals:
Sell Signal: When a big candle touches the upper Bollinger Band, it marks it as a "Sell" signal with a red label.
Buy Signal: When a big candle touches the lower Bollinger Band, it marks it as a "Buy" signal with a green label.
Alerts:
You'll get alerts when a big candle touches the upper or lower Bollinger Bands, so you don’t miss these potential trading opportunities.
Visuals:
Bollinger Bands: Shown as three lines on the chart — the upper band (red), the lower band (green), and the middle band (blue).
Labels: Red labels for sell signals and green labels for buy signals when a big candle touches the bands.
This indicator helps you identify potential trading opportunities by focusing on significant price movements and how they interact with the Bollinger Bands.
Artaking 2Components of the Indicator:
Moving Averages:
Short-Term Moving Average (MA): This is a 50-period Simple Moving Average (SMA) applied to the closing price. It is used to track the short-term trend of the market.
Long-Term Moving Average (MA): This is a 200-period SMA used to track the long-term trend.
Day Trading Moving Average: A 20-period SMA is used specifically for day trading signals, focusing on shorter-term price movements.
Purpose:
The crossing of these moving averages (short-term crossing above or below long-term) provides basic buy and sell signals, indicative of potential trend reversals or continuations.
ADX (Average Directional Index) for Trend Strength:
ADX Calculation: The ADX is calculated using a 14-period length with 14-period smoothing. The ADX value indicates the strength of a trend, regardless of direction.
Strong Trend Condition: The indicator considers a trend to be strong if the ADX value is above 25. This threshold helps filter out trades during weak or sideways markets.
Purpose:
To ensure that the strategy only generates signals when there is a strong trend, thus avoiding whipsaws in low volatility or range-bound conditions.
Support Levels:
Support Level Calculation: The indicator calculates the lowest close over the last 100 periods. This level is used to identify significant support zones where the price might find a floor.
Purpose:
Support levels are critical in identifying potential areas where the price might bounce, making them ideal for setting stop losses or identifying buy opportunities.
Volatility Spike (Proxy for News Trading):
ATR (Average True Range) Calculation: The indicator uses a 14-period ATR to measure market volatility. A volatility spike is identified when the ATR is greater than 1.5 times the 14-period SMA of the ATR.
Purpose:
This serves as a proxy for news events or other sudden market movements that could make the market unpredictable. The indicator avoids generating signals during these periods to reduce the risk of being caught in a volatile, potentially news-driven move.
Fibonacci Retracement Levels:
61.8% Fibonacci Level: Calculated from the highest high and lowest low over the long MA period, this retracement level is widely regarded as a significant support or resistance level.
Purpose:
Position traders often use Fibonacci levels to identify potential reversal points. The indicator incorporates the 61.8% level to fine-tune entries and exits.
Candlestick Patterns for Price Action Trading:
Bullish Engulfing Pattern: A bullish reversal pattern where a green candle fully engulfs the previous red candle.
Bearish Engulfing Pattern: A bearish reversal pattern where a red candle fully engulfs the previous green candle.
Purpose:
These patterns are classic signals used in price action trading to identify potential reversals at key levels, especially when they align with other conditions like support/resistance or Fibonacci levels.
Signal Generation:
The indicator generates buy and sell signals by combining the above elements:
Buy Signal:
A buy signal is triggered when:
The short-term MA crosses above the long-term MA (indicating a potential uptrend).
The trend is strong (ADX > 25).
The current price is near or below the 61.8% Fibonacci retracement level, suggesting a potential reversal.
No significant volatility spike is detected, ensuring the market isn’t reacting unpredictably to news.
Sell Signal:
A sell signal is triggered when:
The short-term MA crosses below the long-term MA (indicating a potential downtrend).
The trend is strong (ADX > 25).
The current price is near or above the 61.8% Fibonacci retracement level, suggesting potential resistance.
No significant volatility spike is detected.
Day Trading Signals:
Independent of the main trend signals, the indicator also generates intraday buy and sell signals when the price crosses above or below the 20-period day trading MA.
Price Action Signals:
The indicator can trigger buy or sell signals based purely on price action, such as the occurrence of bullish or bearish engulfing patterns. This is optional and can be enabled or disabled.
Alerts:
The indicator includes built-in alert conditions that notify the trader when a buy or sell signal is generated. This allows traders to act immediately without having to constantly monitor the charts.
Practical Application:
This indicator is versatile and can be used across various trading styles:
Position Trading: The long-term MA, Fibonacci retracement, and ADX provide a solid foundation for identifying long-term trends and potential entry/exit points.
Day Trading: The short-term MA and day trading MA offer quick signals for intraday trading.
Price Action: Candlestick pattern recognition allows for precise entry points based on market sentiment and behavior.
News Trading: The volatility spike filter helps avoid trading during periods of market instability, often driven by news events.
Conclusion:
The Comprehensive Trading Strategy Indicator is a robust tool designed to help traders navigate various market conditions by integrating multiple strategies into a single, coherent framework. It provides clear, actionable signals while filtering out potentially dangerous trades during volatile or weak market conditions. Whether you're a long-term trader, a day trader, or someone who relies on price action, this indicator can be a valuable addition to your trading toolkit.
Prometheus TTM SqueezeThe TTM indicator is an indicator used to better understand an underlying’s direction and volatility. Positive values indicate a rising price, negative falling. There is also an element of the underlying's volatility, explained below.
When, in this particular indicator, the zero line is the aqua color, that means that the volatility has picked up. In literal terms, it means that the upper Keltner Channel is above the upper Bollinger Band and the lower Keltner Channel is below the lower Bollinger Band. The range of the Keltner Channels is greater than the range of the Bollinger bands. What this is supposed to correlate to with price action is a more volatile choppier area. See below.
This is an example of volatility picking up being shown as the speed of the underlying. When the line turns aqua the move following tends to be sharp in the respective direction. Not a smooth delivery of price.
Regarding why this script is different from the others, with this script you do not need to input a bar's back value if you do not want to. Bars back being the amount of bars used in the indicator calculation. This is because of the use of Sum of Squared Errors, or SSE. How we do it is we calculate a Simple Moving Average or SMA and the indicator using a lot of different bars back values. Then if there is an event, characterized by the oscillator crossing over or under the 0 line, we subtract the close by the SMA and square it. If there is no event we return a big value, we want the error to be as small as possible. Because we loop over every value for bars back, we get the value with the smallest error. Or the SMA closest to the price ensuring we are following it as close as we can. This also becomes the value used as the multiplier for the Keltner Channels and Bollinger Bands, we simply divide them by 10 to normalize it. This leads to ease of use. A user does not need to worry about finding the best bars back for each ticker and time frame. We have you covered! SSE is not to be regarded to be the best given values for a pocket of the market, simply an estimation.
Of course we have the option for users to enter their own bars back or multipliers. Here is a comparison of the SSE at work and a 20 period bar’s back with 2 as the multiplier on a 4 hour $QQQ.
The top one is the SSE, the bottom is 20. I turned off showing the SMA, and alerts for better visibility. We see the SSE version does not cross above 0 again until the trend totally reverses. I would much rather overestimate risk than underestimate it.
The BULL and BEAR plotted on the chart is a result of the following conditions. A BULL if the price is above our auto optimized SMA and the oscillator crosses over 0. BEAR is the opposite, price below the SMA and an oscillator cross below 0. Here is the Daily NYSE:PLTR chart to show some.
Users have the options to toggle on and off the BULL and BEAR plots, SMA, as well as input their own lookback and multipliers.
We encourage traders to not follow indicators blindly, none are 100% accurate. SSE does not guarantee that the values generated will be the best for a given moment in time. Please comment on any desired updates, all criticism is welcome!
God's of LiquidityHere’s a detailed description for your script, following the guidelines for clarity and originality:
---
**Title:** God's of Liquidity
**Description:**
The "Gods of Liquidity" script is a comprehensive trading tool designed to help traders identify high-probability buy and sell opportunities based on a combination of liquidity levels, RSI-based sentiment analysis, and session-specific filters.
**Key Features:**
1. **Liquidity Zones Identification:**
- The script dynamically calculates the previous day's high and low levels, which serve as critical liquidity zones. Traders can use these levels to spot potential breakout points and reversals.
2. **RSI-Based Sentiment Analysis:**
- The script incorporates a sophisticated RSI-based sentiment model that differentiates between institutional (Banker) and retail (Hot Money) activity. This dual RSI approach allows traders to gauge market sentiment and anticipate shifts in momentum.
- **Banker RSI:** Measures the sentiment of institutional traders, with customizable sensitivity and period parameters.
- **Hot Money RSI:** Measures retail trader sentiment, with its own adjustable settings to tailor the script to various market conditions.
3. **Session and Day Filters:**
- Traders can restrict signals to specific trading sessions and days of the week, providing greater control and precision in executing trades. This feature is particularly useful for aligning trading activity with market conditions that best suit the strategy.
4. **Breakout and Reversal Signals:**
- The script generates buy signals when the price breaks above the previous day's high, accompanied by bullish RSI sentiment from institutional traders. Conversely, sell signals are generated when the price breaks below the previous day's low, with bearish institutional sentiment.
- These signals are visually marked on the chart, making it easier for traders to identify potential trading opportunities.
5. **Customizable Moving Averages:**
- The script allows users to customize the moving averages used in the RSI calculations, giving traders the flexibility to adapt the tool to their specific trading style and market conditions.
6. **Alert System:**
- Alerts are integrated to notify traders when buy or sell conditions are met, ensuring that traders can react promptly to potential trading opportunities without constantly monitoring the charts.
**How It Works:**
- The script uses the previous day's high and low as key liquidity levels. The price crossing these levels, combined with RSI-based signals, indicates potential buy or sell opportunities.
- The sentiment analysis is derived from the RSI values, with separate calculations for institutional and retail activities. The crossover points of these RSI values against their respective moving averages trigger buy or sell signals.
- The session and day filters allow traders to focus on the most relevant times for trading, enhancing the effectiveness of the strategy.
**Usage:**
- This indicator is designed for Forex traders who want to integrate liquidity zones and sentiment analysis into their trading strategy. It is particularly effective on daily or higher timeframes where liquidity levels and RSI-based sentiment analysis can provide strong indications of market direction.
- The script's flexibility in adjusting session times, days, and RSI parameters makes it suitable for a wide range of trading styles, from day trading to swing trading.
---
**License:**
This source code is subject to the terms of the Mozilla Public License 2.0 at (mozilla.org).
© bankbaguitarcrazy
---
This description should provide sufficient detail to comply with the publication guidelines, offering clear insight into how the script works and its unique features.
Prometheus Cauchy ProbabilityThe Cauchy probability distribution is a distribution that is better suited to be used on non normal data, such as stock returns. Markets characterized by volatility and fat-tails can be better modeled like this.
This script provides two values to a user. The blue line represents the probability for the underlying to rise. The purple line represents its probability to fall. Rise and fall by how much? By default a prediction of 0.5% is set, but users can adjust it. The script automatically calculates based on how many bars would be in an entire day. For example there are 390 minutes from 9:30am to 4:00pm est. time so the script uses 390 bars. Users have the option to set a custom bars back length.
Developer’s note. This script works best with extended market hours on. Every example shown will have it on. The more price and volatility the better!
Code breakdown:
cauchy_cdf(x, x0, gamma)=>
1 / math.pi * math.atan((x - x0) / gamma) + 0.5
This function is what calculates the Cauchy cumulative density function.
// Calculate x and gamma
x = close * (1 + pred)
x0 = hi
gamma := ta.stdev(close, Len, false)
y = cauchy_cdf(x, x0, gamma)
//down
x_lo = close * (1 - pred)
x0_lo = lo
y_lo = cauchy_cdf(x_lo, x0_lo, gamma)
x represents the target price. x0 represents the current highest price of the day. Gamma is the standard deviation of prices over the desired length. x_lo, x0_lo, are variables to determine the probability of falling. Inputting these values into the function we get back our chance of rising and falling. Our blue and purple line.
Trade Examples:
Step 1: After a move down there is some choppiness, the values are close to each other and moving sharply.
Step 2: The chance to rise (Blue Line) strongly moves above the chance to fall (Purple Line), uptrend ensues.
Step 3: Small breaks below the purple line show breaks in the overall trend.
Step 4: Strong move down in price, and up in purple line end up trend.
Step 1: Strong cross in purple and blue line, marking the start of a downtrend.
Step 2: Small breaks above the purple line show breaks in the overall trend.
Step 3: Strong move up in price, and up in the blue line end downtrend.
Day trading example:
Custom input:
Step 1: Pre market weakness ends with a move up in the blue line and price.
Step 2: Consolidation in the uptrend with a small downtrend and above the purple line.
Step 3: Strong move up in price, and up in the blue line end consolidation and resumes strong uptrend.
This example is with custom input: 100 bars back, and 1% prediction.
Step 1: Downtrend starts after a big move up.
Step 2: Big crossover in blue and purple line. Uptrend starts.
Step 3: Lines get close signaling choppiness.
Step 4: Purple crosses over blue ending uptrend.
No indicator is 100% accurate, we encourage traders to use them along with their own discretion. Please use these tools with your own decision making. Comments about desired features and updates are encouraged!
ICT NWOG/NDOG Gaps [TradingFinder] New Opening Gaps🔵 Introduction
🟣 Understanding ICT Opening Gaps
In the realm of technical analysis, mastering the art of recognizing market behavior and pinpointing key price levels is vital for making sound trading decisions. Among the array of tools available, the concept of opening gaps stands out for its ability to provide crucial insights.
The ICT (Inner Circle Trader) methodology offers a distinctive approach to understanding the importance of New Day Opening Gaps (NDOG), New Week Opening Gaps (NWOG), and New Monthly Opening Gaps (NMOG).
These gaps, representing the price differences between the close of a previous period and the open of the next, serve as key reference points that can greatly impact price movements.
The ICT trading approach highlights these gaps as potential zones of support and resistance. Prices often respond to these areas, either bouncing off or passing through and then retesting them. Within these gaps, significant levels such as the high and low are particularly important.
Additionally, the Event Horizon PD Array (EHPDA) concept, which is an intermediate level calculated from the average of neighboring NWOGs or NDOGs, adds another layer to this analysis.
This guide delves into ICT's New Daily, Weekly, and Monthly Opening Ranges, showing how these gaps can be effectively utilized in trading. By grasping the nuances of these gaps, traders can better forecast market behavior, identify key support and resistance levels, and refine their trading strategies.
🟣 The Gaps
1. New Week Opening Gap (NWOG) : The NWOG is the price gap between Friday's closing price and Sunday's opening price. This gap is particularly crucial for traders who monitor weekly trends. Depending on the direction of the gap, the NWOG often serves as a pivotal support or resistance level.
2. New Day Opening Gap (NDOG) : The NDOG signifies the price difference between the closing price of the previous day and the opening price of the current day. Much like the NWOG, the NDOG is a key reference point for intraday traders.
Prices typically react to these levels, either reversing or continuing through the gap after a retest. NDOGs are instrumental in identifying short-term support and resistance levels, aiding traders in making decisions based on daily price movements.
3. New Monthly Opening Gap (NMOG) : The NMOG represents the gap between the closing price of the previous month and the opening price of the current month.
This gap is especially valuable for traders focusing on long-term trends and macroeconomic factors. As with NWOGs and NDOGs, the NMOG can act as a significant support or resistance level.
🔵 How to Use
Identifying Support and Resistance : Opening gaps often indicate potential zones where prices might reverse or find support/resistance. For example, if a new day opens below the previous day’s close (creating a NDOG), this gap could act as resistance, prompting traders to consider short positions if the price retests this level without breaking through.
Conversely, if the price opens above the previous day’s close, the gap might serve as support, offering a potential entry point for long trades.
Gap Fill Strategy : A popular strategy associated with opening gaps is the "gap fill" approach, where traders anticipate that the price will eventually return to fill the gap.
For instance, if there’s a significant NDOG at market open, a trader might expect the price to retrace back to the previous day’s close, effectively "filling" the gap. This strategy is particularly effective in markets that exhibit mean-reverting behavior.
Combining Gaps with Other Indicators : Traders often enhance their analysis of NDOG, NWOG, and NMOG by integrating other technical indicators. Aligning gap levels with tools such as Fibonacci retracements, moving averages, or existing support and resistance zones can provide additional confirmation for trade entries and exits.
🔵 Setting
Show and Color : You can control the display or non-display of the range as well as the color of the range.
Max Opening Range Update Method : You can control the number of ranges that are updated. If it is "All", all ranges that are not mitigated will be displayed. If "Custom", the ranges will be updated based on the number you specify.
Max Opening Range Update : The number of ranges to update.
🔵 Conclusion
The ICT New Daily, Weekly, and Monthly Opening Ranges provide traders with a systematic approach to understanding market dynamics and identifying critical support and resistance levels.
By analyzing these gaps, traders can gain deeper insights into potential price movements, spot high-probability trade setups, and strengthen their overall trading strategy. Whether you are focused on short-term day trading or long-term market trends, incorporating NDOG, NWOG, and NMOG analysis into your trading plan can be a powerful addition to your toolkit.
Gap Percentage Highlighter (1Day)b]🇬🇧 ENGLISH
The "Gap Percentage Highlighter" script is a useful tool for traders who want to visually highlight and analyze price gaps on their charts.
Features:
Identification of Price Gaps (Gaps):
The script automatically highlights candles where the opening price significantly differs from the previous day's closing price.
Percentage Display of the Gap:
The percentage change between the closing price and the opening price is displayed directly on the chart.
Customizable Gap Size:
Users can set the minimum size of the price gap in percentage terms through a simple input field, determining when the script marks a gap as significant.
Visual Highlighting:
Gap-ups (positive gaps) are highlighted in green, and gap-downs (negative gaps) are highlighted in red, making them easy to identify.
Use Case:
This script is ideal for traders who utilize gaps in their analyses to identify potential market movements. It allows for quick and visual identification of significant price gaps directly on the chart and offers the flexibility to adjust the definition of "significant" to match individual needs.
Disclaimer:
This script is for educational purposes only. Trading involves risks and is not suitable for every investor.
(c) BS IMPACT SCALE GmbH
🇩🇪 GERMAN
Das "Gap Percentage Highlighter" Skript ist ein nützliches Tool für Trader, die Kurslücken (Gaps) auf ihren Charts visuell hervorheben und analysieren möchten.
Funktionen:
Identifizierung von Kurslücken (Gaps):
Das Skript hebt automatisch Kerzen hervor, bei denen der Eröffnungskurs vom Schlusskurs der vorherigen Kerze auf Tagesbasis signifikant abweicht.
Prozentuale Anzeige der Kurslücke:
Die prozentuale Veränderung zwischen Schlusskurs und Eröffnungskurs wird direkt auf dem Chart angezeigt.
Anpassbare Gap-Größe:
Nutzer können über ein einfaches Eingabefeld die minimale Größe der Kurslücke in Prozent festlegen, ab der das Skript die Lücke als relevant markiert.
Visuelle Hervorhebung:
Gap-Ups (positive Lücken) werden in Grün und Gap-Downs (negative Lücken) in Rot hinterlegt, sodass sie leicht identifiziert werden können.
Anwendungsbereich:
Dieses Skript ist ideal für Trader, die Gaps in ihren Analysen nutzen, um potenzielle Marktbewegungen zu identifizieren. Es ermöglicht eine schnelle und visuelle Erkennung von signifikanten Kurslücken direkt auf dem Chart und bietet die Flexibilität, die Definition von "signifikant" an die eigenen Bedürfnisse anzupassen.
Haftungsausschluss:
Dieses Skript dient ausschließlich zu Bildungszwecken. Trading beinhaltet Risiken und ist nicht für jeden Anleger geeignet.
(c) BS IMPACT SCALE GmbH
Multi-Timeframe 325 SMA TouchMulti-Timeframe 325 SMA Touch Indicator
This versatile indicator detects and visualizes when the price touches (crosses over or under) the 325-period Simple Moving Average (SMA) across multiple timeframes. It's designed to help traders identify potential support and resistance levels across various time horizons.
Key Features:
Monitors 7 different timeframes: 30 minutes, 1 hour, 2 hours, 4 hours, 6 hours, 12 hours, and 1 day.
Customizable: Each timeframe can be toggled on or off individually.
Visual cues: Unique shapes and colors for each timeframe make it easy to distinguish touches on different time scales.
Adjustable SMA length: While defaulted to 325 periods, the SMA length can be modified to suit your strategy.
Current timeframe SMA: Displays the 325 SMA on the chart for additional context.
How it Works:
The indicator checks for price touches on the 325 SMA for each selected timeframe. When a touch occurs, it plots a distinct shape below the price bar:
30 minutes: Blue circle
1 hour: Green square
2 hours: Red triangle (up)
4 hours: Purple diamond
6 hours: Teal triangle (down)
12 hours: Orange X
1 day: White circle
The 325 SMA for the current chart timeframe is also plotted as a yellow line for reference.
Use Cases:
Identify potential support and resistance levels across multiple timeframes
Spot confluences where touches occur on multiple timeframes simultaneously
Enhance your multi-timeframe analysis for more informed trading decisions
Use as a filter or confirmation tool in your existing trading strategy
Customization:
You can easily customize the indicator by adjusting the SMA length or toggling specific timeframes on/off to focus on the time horizons most relevant to your trading style.
Harmonic, wave and Fibonacci [Hunter Algo]This Pine Script indicator is designed to identify various harmonic patterns, wave formations, and Fibonacci retracements directly on your TradingView charts. The script offers a comprehensive toolset for traders who use technical analysis to spot potential market reversals and continuation patterns.
Key Features:
Harmonic Pattern Detection: Automatically identifies and labels popular harmonic patterns like Bat, Gartley, Butterfly, Crab, Shark, and many more.
Fibonacci Levels: Displays key Fibonacci retracement levels, including 0.236, 0.382, 0.500, 0.618, 0.764, and 1.000, providing critical levels for entry, exit, and stop-loss placement.
Heiken Ashi Option: Option to use Heiken Ashi candles for pattern detection, providing smoother price action analysis.
Alternate Timeframe Support: Analyze patterns on different timeframes by enabling the alternate timeframe feature.
Customizable Display: Choose which patterns and Fibonacci levels to display, allowing you to focus on the most relevant data for your trading strategy.
This script is highly versatile, making it suitable for both novice and experienced traders looking to enhance their chart analysis with automated pattern recognition.
Hullinger Percentile Oscillator [AlgoAlpha]🚀 Introducing the Hullinger Percentile Oscillator by AlgoAlpha! 🚀
This versatile Pine Script™ indicator is designed to help you identify swing trends and potential reversals with precision. Whether you're looking to catch market swings or spot divergences, the Hullinger Percentile Oscillator offers a comprehensive suite of features to enhance your trading strategy.
Key Features
🎯 Customizable Hullinger Settings: Adjust the main length, source, and standard deviation multipliers to fine-tune the indicator to your preferred trading style.
🔄 Dynamic Oscillator Modes: Switch between "Swing" mode for trend identification and "Contrarian" mode for reversal spotting, adapting the indicator to your market view.
📉 Divergence Detection: The indicator includes parameters to control the sensitivity and confirmation of divergence signals, helping to filter out noise and highlight significant market moves.
🌈 Color-Coded Visuals: Easily distinguish between bullish and bearish signals with customizable color settings for a clear visual representation on your chart.
🔔 Alert Integration: Stay ahead of the market with built-in alerts for key conditions, including strong and weak reversals, as well as bullish and bearish swings.
Quick Guide to Using the Hullinger Percentile Oscillator
Maximize your trading edge with the Hullinger Percentile Oscillator by following these steps! 📈✨
🛠 Add the Indicator: Add the indicator to favorites by pressing the star icon ⭐. Customize settings like Main Length, Oscillator Mode, and Appearance to fit your trading needs.
📊 Market Analysis: Use "Swing" mode to track trends and "Contrarian" mode to spot reversals. Watch for divergence signals to catch potential trend changes.
🔔 Alerts: Set up alerts to be notified of significant market movements without constantly monitoring your chart.
How It Works
The Hullinger Percentile Oscillator calculates its signals by applying a modified standard deviation approach to the Hull Moving Average (HMA) of a selected price source. It creates both inner and outer bands based on different multipliers. The oscillator then measures the position of the price relative to these bands, smoothing the result for swing trend detection. Depending on the chosen mode, the oscillator either highlights swing trends or potential reversals. Divergences are detected by comparing recent pivot highs and lows in both price and the oscillator, allowing you to spot bullish or bearish divergence setups. Alerts are triggered based on key crossovers or when specific conditions are met, ensuring that you are always informed of crucial market developments.
Mystic Pulse [CHE]Mystic Pulse - A Non-Lagging Trend Indicator
Introduction
In the world of trading, identifying trends accurately and timely is crucial for successful decision-making. The saying "The Trend is Your Friend" encapsulates this principle, emphasizing the importance of riding the prevailing market trend. The Mystic Pulse indicator is designed to help traders do exactly that—detect trends early and follow them with confidence.
This presentation will walk you through how the Mystic Pulse indicator functions, its advantages, and how it can be a powerful tool in your trading arsenal.
Key Features of Mystic Pulse
Non-Lagging Signals: Unlike traditional indicators that often lag the market, Mystic Pulse generates trend signals in real-time, ensuring you are always in sync with the current market direction.
Adaptive Smoothing: The indicator employs a smoothing factor that dynamically adjusts based on recent price action, reducing noise and focusing on significant market movements.
Directional Movement Analysis: By calculating the directional movement index (DI+ and DI-) with a unique smoothing approach, the indicator identifies whether bulls or bears are in control.
Trend Counting Logic: The indicator counts consecutive positive and negative trend signals, providing a clear visual representation of the market’s direction.
Customizable Candle Colors: For better visual clarity, the indicator allows for customization of candle colors, highlighting neutral, bullish, or bearish candles based on trend strength.
Understanding the Indicator
1. Directional Movement and ADX Calculation
The Mystic Pulse uses a modified ADX calculation known as ZLAG ADX. It assesses true range, directional movement (both positive and negative), and smoothes these values over a specified length. This helps in capturing the essence of market trends without lag:
True Range (TR): Measures market volatility by comparing the high-low range to the previous close.
Directional Movement: Determines whether bulls (DI+) or bears (DI-) are gaining strength.
These components are then smoothed using a custom formula that adapts to recent price movements, ensuring that the signals remain relevant and timely.
2. Trend Counting Mechanism
The heart of Mystic Pulse is its trend counting logic:
Positive Trend Count: Increases when DI+ shows strengthening bullish signals.
Negative Trend Count: Increases when DI- indicates stronger bearish control.
Total Trend Count: Reflects the dominant trend by comparing positive and negative counts.
This counting mechanism ensures that the indicator is always aware of the current market bias, updating in real-time.
3. Visualization and Signal Generation
The indicator provides visual cues through color-coded plots:
Green Plot: Indicates an ongoing uptrend (positive trend count is higher).
Red Plot: Signals a downtrend (negative trend count is higher).
Neutral Candles: Optionally highlighted when neither bulls nor bears dominate, offering a clearer view of indecisive market conditions.
Application and Strategy
The Mystic Pulse indicator is ideal for traders who prefer trend-following strategies. Here's how you can apply it effectively:
Entry Points: Enter trades when the trend count strongly favors one direction, indicated by consecutive green (bullish) or red (bearish) plots.
Exit Points: Consider exiting when the opposite trend starts to gain traction, signaled by a change in the dominant color.
Risk Management: Use the neutral candle display to avoid trades in uncertain market conditions, thereby reducing risk.
Conclusion
The Mystic Pulse indicator is a sophisticated tool that helps traders stay aligned with market trends, offering non-lagging, adaptive signals. Its design reflects the trading philosophy "The Trend is Your Friend," enabling you to follow the market's lead with confidence.
By incorporating this indicator into your trading strategy, you can enhance your ability to identify and capitalize on emerging trends, minimizing lag and maximizing potential returns.
Q&A
If you have any questions or would like to see a live demonstration of the Mystic Pulse in action, feel free to ask.
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 (CHE) 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.
Best regards Chervolino
Daily Levels Percentual [TOLK] Settings Crypto and ForexPercentage zones refer to specific areas or bands on the price chart of a financial asset that are bounded by percentages of change relative to a reference point, such as the opening price or a reference value from a previous move.
These zones are useful for identifying support and resistance levels, predicting possible price reversals, or setting price targets. For example, on a price chart, you can create percentage zones to observe how the price behaves when it reaches 1%, 2%, 5%, 10%, etc., above or below a certain point.
These zones can be used in conjunction with other technical analysis tools, such as Fibonacci, moving averages, or volume analysis, to improve decision-making in trading strategies.
The default indicator levels are as follows:
SETTINGS Crypto:
Crypto Level 1 > 1.0%
Crypto Level 2 > 1.618%
Crypto Level 3 > 2.0%
Crypto Level 4 > 2.618%
Crypto Level 5 > 3.618%
Crypto Level 6 > 4.618%
Crypto Level 7 > 5.0%
Crypto Level 8 > 7.618%
Crypto Level 9 > 10.0%
Crypto Level 10 > 12.618%
Crypto Level 11 > 13.618%
Crypto Level 12 > 15%
Crypto Level 13 > 17.618%
Crypto Level 14 > 20%
SETTINGS Forex:
Forex Level 1 > 0.10%
Forex Level 2 > 0.1618%
Forex Level 3 > 0.20%
Forex Level 4 > 0.2618%
Forex Level 5 > 0.3618%
Forex Level 6 > 0.4618%
Forex Level 7 > 0.50%
Forex Level 8 > 0.7618%
Forex Level 9 > 1.0%
Forex Level 10 > 1.2618%
Forex Level 11 > 1.3618%
Forex Level 12 > 1.50%
Forex Level 13 > 1.7618%
Forex Level 14 > 2.0%
Percentage Levels This approach helps identify critical price levels where the asset may encounter support or resistance, making it easier to make trading decisions based on price movement patterns.
Bollinger Band + Mid BandBollinger Band + Mid Band
This indicator combines the classic Bollinger Bands with enhanced customization options, allowing traders to fine-tune the settings according to their specific strategies.
Key Features:
Moving Average Flexibility: Choose between Simple Moving Average (SMA), Exponential Moving Average (EMA), or Weighted Moving Average (WMA) as the central basis for the Bollinger Bands. This flexibility allows you to align the indicator with your preferred method of trend analysis.
Dual Band Deviation: The indicator includes two sets of upper and lower bands based on different standard deviation multipliers. This helps you analyze both the tightness of price action and potential breakout zones.
Customizable Colors: The mid-band, upper bands, and lower bands can be fully customized in terms of color, allowing you to personalize the visual representation of the indicator on your charts.
Dynamic Transparency: The space between the outer Bollinger Bands can be filled with a customizable transparent color, making it easy to visualize price movements within the bands.
Alerts for Crossovers: Alerts are triggered whenever the price crosses above the upper band or below the lower band, giving you timely notifications of potential breakout or breakdown scenarios.
Overbought/Oversold Visualization: The background of the chart changes color when the price crosses above the upper band (indicating overbought conditions) or below the lower band (indicating oversold conditions), providing a visual cue to help you identify market extremes.
Labeling for Significant Events: Labels appear on the chart whenever the price crosses the upper or lower bands, helping you quickly identify key moments for further analysis.
This script is designed for traders who want to leverage Bollinger Bands in their technical analysis but require additional flexibility and customization options. Whether you're using it for trend analysis, volatility assessment, or identifying overbought and oversold conditions, this tool can be tailored to fit a wide variety of trading styles.
Usage:
Ideal for traders looking to enhance the standard Bollinger Bands with more dynamic and customizable features.
Suitable for any market, including stocks, forex, and cryptocurrencies.
Useful in identifying volatility squeezes, breakouts, and potential reversal points.
Sticky Moving AverageThe Sticky Moving Average is a custom indicator designed to provide a unique smoothing effect by combining different moving averages derived from a single base period. This indicator creates a single line on the chart, representing the average of the following three moving averages:
1. X-period Simple Moving Average (SMA): A traditional moving average that smooths the price data over the full period.
2. X/2-period Simple Moving Average (SMA): A faster-moving average that smooths the price data over half of the base period.
3. X/4-period Exponential Moving Average (EMA): An exponential moving average that gives more weight to recent prices, calculated over one-fourth of the base period.
The result is a moving average that "sticks" to price action by considering both short-term and long-term trends, offering a balanced view of market momentum.
This indicator is ideal for traders looking to gain a nuanced understanding of price movements by incorporating multiple smoothing periods into a single, easy-to-use line. Adjust the `X` value to suit your trading strategy and enjoy the clarity this composite moving average can bring to your charts.
Shifted EMAShifted EMA Indicator for TradingView
The Shifted EMA indicator is a customized technical analysis tool designed for TradingView's Pine Script version 5. This indicator plots the Exponential Moving Average (EMA) of a specified length along with its upper and lower shifted counterparts. The shifts allow traders to visualize price movements relative to dynamically adjusted EMA levels, potentially aiding in identifying overbought or oversold conditions, support and resistance zones, or trend confirmations.
Key Features:
Exponential Moving Average (EMA):
Calculates and plots the EMA based on the user-defined period (EMA Length). The EMA gives more weight to recent price data, making it more responsive to recent price changes compared to the Simple Moving Average (SMA).
Upper and Lower Shifts:
Allows users to define vertical shifts (Upper Shift and Lower Shift) to the EMA, plotting two additional lines above and below the standard EMA. These shifted lines can serve as dynamic support and resistance levels or zones of interest.
Customizable Parameters:
EMA Length: Defines the period over which the EMA is calculated. A longer period smoothens the EMA, while a shorter period makes it more sensitive to recent price changes.
Upper Shift: Determines the number of points to shift the EMA upwards.
Lower Shift: Determines the number of points to shift the EMA downwards.
Visual Aids:
Distinct colors and line widths are used for each plotted line to enhance clarity:
EMA: Blue line
Upper Shifted EMA: Red line
Lower Shifted EMA: Green line
How to Use:
Adding the Indicator:
Apply the Shifted EMA indicator to your desired chart in TradingView.
Configuring Parameters:
Adjust the EMA Length to set the period for the EMA calculation based on your trading strategy or preference.
Set the Upper Shift and Lower Shift values to determine how far above and below the EMA the shifted lines should be plotted. It's advisable to start with smaller shift values to ensure the shifted lines remain within a relevant range of the price action.
Interpreting the Indicator:
Trend Analysis: The standard EMA can help identify the prevailing market trend. Prices consistently above the EMA may indicate an uptrend, while prices below suggest a downtrend.
Dynamic Support and Resistance: The upper and lower shifted EMAs can act as dynamic resistance and support levels, respectively. Price reactions at these levels might provide trading signals or areas of interest.
Overbought/Oversold Conditions: Significant deviations of the price from the shifted EMAs might hint at overbought or oversold conditions, potentially signaling reversals or pullbacks.
Note: Like all technical indicators, the Shifted EMA should not be used in isolation. It's recommended to combine it with other analysis tools, indicators, or fundamental analysis to make well-informed trading decisions. Always ensure to test and validate the indicator's effectiveness within your specific trading strategy and risk management framework.
Hullinger Bands [AlgoAlpha]🎯 Introducing the Hullinger Bands Indicator ! 🎯
Maximize your trading precision with the Hullinger Bands , an advanced tool that combines the strengths of Hull Moving Averages and Bollinger Bands for a robust trading strategy. This indicator is designed to give traders clear and actionable signals, helping you identify trend changes and optimize entry and exit points with confidence.
✨ Key Features :
📊 Dual-Length Settings : Customize your main and TP signal lengths to fit your trading style.
🎯 Enhanced Band Accuracy : The indicator uses a modified standard deviation calculation for more reliable volatility measures.
🟢🔴 Color-Coded Signals : Easily spot bullish and bearish conditions with customizable color settings.
💡 Dynamic Alerts : Get notified for trend changes and TP signals with built-in alert conditions.
🚀 Quick Guide to Using Hullinger Bands
1. ⭐ Add the Indicator : Add the indicator to favorites by pressing the star icon. Adjust the settings to align with your trading preferences, such as length and multiplier values.
2. 🔍 Analyze Readings : Observe the color-coded bands for real-time insights into market conditions. When price is closer to the upper bands it suggests an overbought market and vice versa if price is closer to the lower bands. Price being above or below the basis can be a trend indicator.
3. 🔔 Set Alerts : Activate alerts for bullish/bearish trends and TP signals, ensuring you never miss a crucial market movement.
🔍 How It Works
The Hullinger Bands indicator calculates a central line (basis) using a simple moving average, while the upper and lower bands are derived from a modified standard deviation of price movements. Unlike the traditional Bollinger Bands, the standard deviation in the Hullinger bands uses the Hull Moving Average instead of the Simple Moving Average to calculate the average variance for standard deviation calculations, this give the modified standard deviation output "memory" and the bands can be observed expanding even after the price has started consolidating, this can identify when the trend has exhausted better as the distance between the price and the bands is more apparent. The color of the bands changes dynamically, based on the proximity of the closing price to the bands, providing instant visual cues for market sentiment. The indicator also plots TP signals when price crosses these bands, allowing traders to make informed decisions. Additionally, alerts are configured to notify you of crucial market shifts, ensuring you stay ahead of the curve.
Polynomial Regression Keltner Channel [ChartPrime]Polynomial Regression Keltner Channel
⯁ OVERVIEW
The Polynomial Regression Keltner Channel [ ChartPrime ] indicator is an advanced technical analysis tool that combines polynomial regression with dynamic Keltner Channels. This indicator provides traders with a sophisticated method for trend analysis, volatility assessment, and identifying potential overbought and oversold conditions.
◆ KEY FEATURES
Polynomial Regression: Uses polynomial regression for trend analysis and channel basis calculation.
Dynamic Keltner Channels: Implements Keltner Channels with adaptive volatility-based bands.
Overbought/Oversold Detection: Provides visual cues for potential overbought and oversold market conditions.
Trend Identification: Offers clear trend direction signals and change indicators.
Multiple Band Levels: Displays four levels of upper and lower bands for detailed market structure analysis.
Customizable Visualization: Allows toggling of additional indicator lines and signals for enhanced chart analysis.
◆ FUNCTIONALITY DETAILS
⬥ Polynomial Regression Calculation:
Implements a custom polynomial regression function for trend analysis.
Serves as the basis for the Keltner Channel, providing a smoothed centerline.
//@function Calculates polynomial regression
//@param src (series float) Source price series
//@param length (int) Lookback period
//@returns (float) Polynomial regression value for the current bar
polynomial_regression(src, length) =>
sumX = 0.0
sumY = 0.0
sumXY = 0.0
sumX2 = 0.0
sumX3 = 0.0
sumX4 = 0.0
sumX2Y = 0.0
n = float(length)
for i = 0 to n - 1
x = float(i)
y = src
sumX += x
sumY += y
sumXY += x * y
sumX2 += x * x
sumX3 += x * x * x
sumX4 += x * x * x * x
sumX2Y += x * x * y
slope = (n * sumXY - sumX * sumY) / (n * sumX2 - sumX * sumX)
intercept = (sumY - slope * sumX) / n
n - 1 * slope + intercept
⬥ Dynamic Keltner Channel Bands:
Calculates ATR-based volatility for dynamic band width adjustment.
Uses a base multiplier and adaptive volatility factor for flexible band calculation.
Generates four levels of upper and lower bands for detailed market structure analysis.
atr = ta.atr(length)
atr_sma = ta.sma(atr, 10)
// Calculate Keltner Channel Bands
dynamicMultiplier = (1 + (atr / atr_sma)) * baseATRMultiplier
volatility_basis = (1 + (atr / atr_sma)) * dynamicMultiplier * atr
⬥ Overbought/Oversold Indicator line and Trend Line:
Calculates an OB/OS value based on the price position relative to the innermost bands.
Provides visual representation through color gradients and optional signal markers.
Determines trend direction based on the polynomial regression line movement.
Generates signals for trend changes, overbought/oversold conditions, and band crossovers.
◆ USAGE
Trend Analysis: Use the color and direction of the basis line to identify overall trend direction.
Volatility Assessment: The width and expansion/contraction of the bands indicate market volatility.
Support/Resistance Levels: Multiple band levels can serve as potential support and resistance areas.
Overbought/Oversold Trading: Utilize OB/OS signals for potential reversal or pullback trades.
Breakout Detection: Monitor price crossovers of the outermost bands for potential breakout trades.
⯁ USER INPUTS
Length: Sets the lookback period for calculations (default: 100).
Source: Defines the price data used for calculations (default: HLC3).
Base ATR Multiplier: Adjusts the base width of the Keltner Channels (default: 0.1).
Indicator Lines: Toggle to show additional indicator lines and signals (default: false).
⯁ TECHNICAL NOTES
Implements a custom polynomial regression function for efficient trend calculation.
Uses dynamic ATR-based volatility adjustment for adaptive channel width.
Employs color gradients and opacity levels for intuitive visual representation of market conditions.
Utilizes Pine Script's plotchar function for efficient rendering of signals and heatmaps.
The Polynomial Regression Keltner Channel indicator offers traders a sophisticated tool for trend analysis, volatility assessment, and trade signal generation. By combining polynomial regression with dynamic Keltner Channels, it provides a comprehensive view of market structure and potential trading opportunities. The indicator's adaptability to different market conditions and its customizable nature make it suitable for various trading styles and timeframes.