Normalized Advanced Decomposition OscillatorThe motivating intuition behind this:
The principles behind the decomposition of sound can be extrapolated to other types of data, such as stock price movements or time series data.
Sinusoidal (Sine) Components: These could correspond to long-term trends in the stock market, similar to how a sine wave has a consistent and predictable pattern. These might be driven by broader economic trends, market cycles, or long-term company performance.
Noise Components: This could represent the daily volatility and fluctuations in stock prices that seem to be random or caused by unpredictable events. Noise is usually considered to be statistical outliers or "random walk" components in the time series data.
Transient Components: These could correspond to sudden and significant changes in stock price, such as those caused by earnings announcements, geopolitical events, or changes in company leadership. They are typically short-lived but can have a large impact, similar to transients in sound.
How's it different?
Unlike your usual run-of-the-mill indicators, our Normalized Advanced Decomposition Oscillator (NADO) breaks down price movements into three parts: the Trend, the Noise, and the quick, notable price changes we call the Transient. Each of these gets its own line on the chart, giving you a comprehensive breakdown of what's going on in the market. Plus, they're all normalized so you can easily compare 'em.
How to use it?
It's pretty straightforward. The blue line shows the trend, the red line represents market noise or volatility, and the green line flags significant short-term price changes. If the green line pops above the blue, you might be seeing a price increase soon. If it dips below the blue, get ready for a potential price drop. See the red line going crazy? That's market noise increasing, meaning things might get a bit unpredictable.
Which markets is it meant for?
NADO is a versatile beast. It'll work in markets that see a lot of price volatility. If you're finding it hard to pin down the trend because of all the noise, NADO is your best friend.
Best conditions to use it?
This tool shines in uncertain markets. If the market's all over the place and you can't make heads or tails of the trend, whip out the NADO. It'll separate the trend from the noise, making it easier for you to see what's going on.
M-oscillator
PC*VC Moving Average oldThe code calculates the "Price Coefficient" (PC) and "Volume Coefficient" (VC) for three different lengths. PC is calculated by taking the difference between the current price (close or TP) and the simple moving average of the price, divided by the mean absolute deviation around the (MAD) of the price. VC is calculated by dividing the current volume by the simple moving average of the volume for each length.
The code calculates the "Intraday Volatility" (IDV), which is the difference between the high and low prices divided by the price.
The code calculates the average IDV for each of the three lengths.
The code calculates the "IDV Ratio" by dividing IDV by the average IDV for each length.
The code calculates the "PC*VC/IDV Ratio" for each length by multiplying PC, VC, and IDV Ratio.
The code calculates the average PC*VC/IDV Ratio by averaging the three calculated ratios.
The code calculates the moving average of the average PC*VC/IDV Ratio using the user-defined moving average window size.
The code performs calculations to determine the average and standard deviation of PC*VC/IDV Ratio for positive and negative values separately, using the user-defined look-back length. It stores the positive and negative values in separate variables.
The code plots the PC*VC/IDV Ratio as a line on the chart. The color of the line is determined based on its value. If the value is greater than 2, it is plotted in green. If the value is between 0 and 2, it is plotted in a yellowish color. If the value is negative, it is plotted in red.
The code plots lines representing the mean plus 1.5 standard deviations (SD) for positive values, the mean plus 3 SD for positive values, the mean minus 1.5 SD for negative values, and the mean minus 3 SD for negative values. These lines help identify potential overbought or oversold conditions.
The code plots the overall average of the PC*VC/IDV Ratio as a line on the chart.
Overall, this code calculates the PC*VC/IDV Ratio indicator, which combines price, volume, and intraday volatility information. The indicator's values are plotted on the chart, along with reference lines indicating potential overbought or oversold conditions.
Top - Bottom Using MAThis script is used decide weather stock is overbought or oversold in given length/days from the settings.
using close difference from ohlc4 moving average ratio.
Settings Available
1) moving average length
2) Highest / Lowest ratio length
3) Difference Between Highest and Lowest Line
this script plot/display 4 lines
1) highest difference from moving averages in provided length.
2) lowest difference from moving averages in provided length.
3) ratio of moving average and ohlc4
4) linear regression moving averages of ratio of moving average and ohlc4
How to use this script
1) when ratio line is touch 2 days to highest ratio line means we are consider stock is in overbought levels or linear regression moving average above highest ratio line means overbought.
2) when ratio lines cross below its linear regression moving average then we consider final exit or book profit.
3) when linear regression moving average below lowest ratio line means stock is in oversold.
4) when linear regression moving average below lowest ratio line and linear regression line start rising after fall it means there is change in trend.
5) when linear regression moving average cross above lowest ratio line it means trend is changed and linear regression line turns green.
MACD Fake Filter [RH]Introducing a new indicator for the TradingView community based on the MACD indicator! This innovative tool goes beyond traditional MACD signals by analyzing positive and negative waves to determine the average height of the waves to filter false cross-over or cross-under signals during the sideways market.
There are two types of waves created by the MACD line, one is a positive wave above the "zero" line and another is a negative wave below "zero" line. Each wave has peaks. This indicator will find the average height of the positive waves' peaks and plot as a green line(by default). Vice-versa it will also find the average height of the negative waves' peaks and plot as a red line(by default).
Example :
This indicator will show labels when the MACD line crosses-under the MACD signal line above the average height of the positive waves.
Vice-versa, the indicator will show labels when the MACD line crosses-above the MACD signal line below the average height of the negative waves.
Example:
Alerts are also available for these types of cross-over and cross-under.
StDev RSI +Alright, let's dive into this script, which I like to call 'StDev RSI+'. It's a unique take on the classic Relative Strength Index (RSI), a popular tool among traders that helps identify potential overbought or oversold conditions in a stock. But what makes our StDev RSI+ special is how it normalizes price changes against the standard deviation, taking into account the volatility of the stock prices.
The main difference between the original script and this new 'StDev RSI+' script lies in the method of normalization used to calculate price changes. In the original script, the normalization was done using the average of current and previous closing prices. This approach is quite simple and direct, essentially comparing the day-to-day change relative to the average price.
However, the StDev RSI+ script takes a more sophisticated approach. It normalizes the price changes against the standard deviation of the closing prices over a defined period. This method takes into account the volatility of the stock price, providing a measure of how much the prices have been fluctuating during that period.
This means the StDev RSI+ script doesn't just look at the raw change in price, but rather it considers how significant that change is compared to the usual volatility of the stock. So, a big price change may not be considered as significant if the stock is typically very volatile. Conversely, a smaller price change could be seen as more meaningful if the stock is usually quite stable.
Another notable difference is the length of the period used for calculations. While the original script used a period of 14 units (days, weeks, etc.), the StDev RSI+ script uses a period of 153 units. This longer timeframe will smooth out the RSI line and make it less sensitive to individual price changes, but more reflective of longer-term trends.
In essence, while both scripts aim to provide useful trading signals through the RSI, they offer different perspectives. The original script provides a more straightforward, immediate view of price changes, while the StDev RSI+ script offers a volatility-adjusted, longer-term perspective.
ARSIXARSIX
I have written this indicator after two years of continuous experience in writing and backtesting for several different indicators, and I believe that this indicator with its high capabilities can show you the best point of entry into the market as well as exit from it. arsix should work with any time frame and any instrument used.
This indicator has many points to understand so that you can make the best possible use of it, in the following I will try to bring you some of the most important points:
First, we will have an introduction of the different parts of the indicator:
The above line is a relatively simple but very useful formula to determine the momentum of chart. To understand the exact formula, you can refer to the source of the program itself, and its two colors are used to determine the direction of movement.
At the bottom, we have three opposing elements.
The first is the RSI14 line with dark blue color, the second is the RMA or Relative Momentum Index(RMI20) line with the number 20 for Momentum , which will significantly help us understand the overall momentum of the chart, this part is also made in two colors to increase or It will show the decline of the overall momentum of the chart.
And finally, we have a bar chart that is again created in two colors, and this histogram also calculates the momentum chart with a different formula.
And now let's talk about how to interpret these tools and how to use them for Trading:
At first, you may have the question that all these different indicators are not excessive to determine the momentum chart and are all of them necessary? In response, I must say that yes, each of these parts has been selected and made with great care and with my previous experience, the full explanation of each of these parts is beyond the scope of this article, and I will try to explain it in short words. I will give you a general understanding of each one of them and the rest is up to you to find out their capabilities by working more with these tools.
The main thing is to know that none of these tools alone will bring you success and it is their teamwork together that will help you achieve success.
For the sake of simplicity, I will tell you when to open a buy position with this indicator And you can then use this definition of the main thread to interpret the rest of the capabilities of this indicator.
To open a buy position, first the upper indicator should turn light blue, at the same time, the RMI indicator should also turn light blue, and you should also see that this RMI indicator shows the momentum of the overall chart in order to increase. in this case you will be almost sure that the general trend of the chart is towards the rise of the price. In the next step, to determine the exact point of the Entry, you have to wait until the RSI indicator passes the number 50 in this state and at the same time, make sure that the histogram also turns green and shows the increasing direction of momentum in the market, when the RSI is in This state crossed the number 50, you can enter the buy position, it should be noted that due to a series of restrictions, I have moved the RSI indicator down by 50 numbers, so as a result, the number 50 for RSI here is equivalent to The same number zero.
This was an example of how to work with this indicator, I hope that it helped you to understand how to use this indicator. In the end, I would like to point out again that the main topic is understanding the group and mutual behavior of each of the indicators' tools together. For example, if the RSI indicator crosses the number 50 here, but the histogram does not grow or shows a small growth, this indicates that the movement will be low, or for another example, if the RSI indicator cross over From the RMI indicator, This means that the market is very high, and as a result, it is a great opportunity to hold a buy position. In the same way, other parts of this indicator can also be interpreted in opposition to each other.
I hope this indicator will help you in better trades. I look forward to your constructive comments. Thanks Hamid Moradi.
Advanced Volatility-Adjusted Momentum IndexAdvanced Volatility-Adjusted Momentum Index (AVAMI)
The AVAMI is a powerful and versatile trading index which enhances the traditional momentum readings by introducing a volatility adjustment. This results in a more nuanced interpretation of market momentum, considering not only the rate of price changes but also the inherent volatility of the asset.
Settings and Parameters:
Momentum Length: This parameter sets the number of periods used to calculate the momentum, which is essentially the rate of change of the asset's price. A shorter length value means the momentum calculation will be more sensitive to recent price changes. Conversely, a longer length will yield a smoother and more stabilized momentum value, thereby reducing the impact of short-term price fluctuations.
Volatility Length: This parameter is responsible for determining the number of periods to be considered in the calculation of standard deviation of returns, which acts as the volatility measure. A shorter length will result in a more reactive volatility measure, while a longer length will produce a more stable, but less sensitive measure of volatility.
Smoothing Length: This parameter sets the number of periods used to apply a moving average smoothing to the AVAMI and its signal line. The purpose of this is to minimize the impact of volatile periods and to make the indicator's lines smoother and easier to interpret.
Lookback Period for Scaling: This is the number of periods used when rescaling the AVAMI values. The rescaling process is necessary to ensure that the AVAMI values remain within a consistent and interpretable range over time.
Overbought and Oversold Levels: These levels are thresholds at which the asset is considered overbought (potentially overvalued) or oversold (potentially undervalued), respectively. For instance, if the AVAMI exceeds the overbought level, traders may consider it as a possible selling opportunity, anticipating a price correction. Conversely, if the AVAMI falls below the oversold level, it could be seen as a buying opportunity, with the expectation of a price bounce.
Mid Level: This level represents the middle ground between the overbought and oversold levels. Crossing the mid-level line from below can be perceived as an increasing bullish momentum, and vice versa.
Show Divergences and Hidden Divergences: These checkboxes give traders the option to display regular and hidden divergences between the AVAMI and the asset's price. Divergences are crucial market structures that often signal potential price reversals.
Index Logic:
The AVAMI index begins with the calculation of a simple rate of change momentum indicator. This raw momentum is then adjusted by the standard deviation of log returns, which acts as a measure of market volatility. This adjustment process ensures that the resulting momentum index encapsulates not only the speed of price changes but also the market's volatility context.
The raw AVAMI is then smoothed using a moving average, and a signal line is generated as an exponential moving average (EMA) of this smoothed AVAMI. This signal line serves as a trigger for potential trading signals when crossed by the AVAMI.
The script also includes an algorithm to identify 'fractals', which are distinct price patterns that often act as potential market reversal points. These fractals are utilized to spot both regular and hidden divergences between the asset's price and the AVAMI.
Application and Strategy Concepts:
The AVAMI is a versatile tool that can be integrated into various trading strategies. Traders can utilize the overbought and oversold levels to identify potential reversal points. The AVAMI crossing the mid-level line can signify a change in market momentum. Additionally, the identification of regular and hidden divergences can serve as potential trading signals:
Regular Divergence: This happens when the asset's price records a new high/low, but the AVAMI fails to follow suit, suggesting a possible trend reversal. For instance, if the asset's price forms a higher high but the AVAMI forms a lower high, it's a regular bearish divergence, indicating potential price downturn.
Hidden Divergence: This is observed when the price forms a lower high/higher low, but the AVAMI forms a higher high/lower low, suggesting the continuation of the prevailing trend. For example, if the price forms a lower low during a downtrend, but the AVAMI forms a higher low, it's a hidden bullish divergence, signaling the potential continuation of the downtrend.
As with any trading tool, the AVAMI should not be used in isolation but in conjunction with other technical analysis tools and within the context of a well-defined trading plan.
Volume Price Trend (VPT)
The Volume Price Trend (VPT) is a technical analysis indicator that combines price and volume data. It's used to identify the direction of a trend or to confirm the strength of a trend. The indicator was developed on the premise that volume often precedes price.
Working of VPT:
VPT is calculated by adding or subtracting a multiple of the percentage change in the share price trend and current volume, depending upon the direction of the share price. The starting point of the VPT line is arbitrary.
The formula for calculating VPT is:
VPT = Previous VPT + Volume x (Today's Close - Previous Close)
This formula adds the total volume traded on the days the price went up, and subtracts the total volume on the days the price went down.
For each period:
If the closing price is higher than the previous closing price, the volume for that period is added to the previous VPT.
If the closing price is lower than the previous closing price, the volume for that period is subtracted from the previous VPT.
If the closing price is the same as the previous closing price, the volume for that period does not affect the VPT (i.e., it remains the same as the previous VPT).
Usage and Interpretation of VPT:
The primary use of the VPT is to help confirm the condition of prices. It’s usually used in combination with other technical analysis indicators. Here are some ways traders use the VPT:
Trend Confirmation: A rising VPT line typically confirms an uptrend as it shows that volume is increasing as prices increase. Conversely, a falling VPT line confirms a downtrend.
Divergences: Traders often look for divergences between the VPT and price movements as a sign of upcoming reversals. If prices are rising and the VPT is falling, it suggests that the upward trend may not sustain because it isn't being supported by volume. Similarly, if prices are falling and the VPT is rising, it suggests the downward trend may reverse soon.
Change in Trend: A sudden sharp increase in the VPT could signal a possible change in trend. This is based on the belief that volume changes before price.
In the script provided, the VPT is calculated and then rescaled to a 0-100 scale, which makes it easier to compare across different stocks or time periods. This script also colors the VPT line based on whether it's increasing or decreasing. The color is green when VPT is increasing, and red when it's decreasing.
Enjoy!
[MAD] WaveBuilderThe WaveBuilder indicator is a powerful technical analysis tool that combines wave calculations, channel formation, and smoothing techniques to identify trends, reversals, and potential trading opportunities.
It provides users with customizable settings for different timeframes, smoothing averages, channel levels, and alert conditions, making it a comprehensive and versatile tool for analyzing market dynamics.
----------------------
Wave Settings:
The Wave Settings section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the wave calculations based on different timeframes and lengths. This section focuses on four different lengths. Here are the details of the Wave Settings (4 Lengths):
Timeframe 1 (TF1): This parameter allows you to select the first timeframe for the wave calculation. You can choose any valid timeframe.
Weight (F1): This setting represents the weight for Timeframe 1. It is a floating-point value that affects the impact of this timeframe in the wave calculation.
Multiplier 2 (TF2): This parameter specifies the multiplier for the second timeframe. It determines the ratio between Timeframe 2 and Timeframe 1.
Weight (F2): This setting represents the weight for Timeframe 2. It determines the influence of Timeframe 2 in the wave calculation.
Multiplier 3 (TF3): This parameter defines the multiplier for the third timeframe. It determines the ratio between Timeframe 3 and Timeframe 1.
Weight (F3): This setting represents the weight for Timeframe 3. It determines the impact of Timeframe 3 in the wave calculation.
Multiplier 4 (TF4): This parameter specifies the multiplier for the fourth timeframe. It determines the ratio between Timeframe 4 and Timeframe 1.
Weight (F4): This setting represents the weight for Timeframe 4. It determines the influence of Timeframe 4 in the wave calculation.
WaveBuilder Fast: This parameter sets the length of the fast wave average. It represents the number of bars considered in the calculation of the fast wave average.
WaveBuilder Slow: This parameter sets the length of the slow wave average. It represents the number of bars considered in the calculation of the slow wave average.
The Wave Settings allow you to configure different timeframes, multipliers, and weights for wave calculations. These settings provide flexibility in customizing the indicator's behavior based on your preferred trading strategy and market conditions.
----------------------
Counter Oscillator:
The Counter Oscillator section in the Multitimeframe WaveTrend indicator enables you to configure parameters related to a counter oscillator. This oscillator helps identify potential reversals or countertrend movements.
Here are the details of the Counter Oscillator settings:
Multiplier Counter (TF5): This parameter allows you to select the multiplier counter timeframe. It determines the ratio between the multiplier counter and the main timeframes.
Weight (F5): This setting represents the weight for the multiplier counter. It determines the influence of the multiplier counter in the counter oscillator calculation.
Length (will_length): This parameter sets the length or period of the counter oscillator. It represents the number of bars considered in the counter oscillator calculation.
The Counter Oscillator settings provide additional insights into the market by analyzing countertrend movements. By adjusting the multiplier counter and length parameters, you can customize the counter oscillator to suit your trading preferences.
----------------------
Wave Smoothing and Mixing:
The Wave Smoothing and Mixing section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the smoothing and mixing of the wave calculations. Here are the details of the Wave Smoothing and Mixing settings:
Average 1 Type: This parameter allows you to select the type of smoothing average for the first average. You have various options such as WMA, HMA, VWMA, LMA, RMA, SMA, EMA, and more.
Length 1: This setting determines the length or period of the first smoothing average. It represents the number of bars considered in the calculation.
Average 2 Type: This parameter allows you to select the type of smoothing average for the second average.
Length 2: This setting determines the length or period of the second smoothing average.
Mix Factor AVG1-AVG2: This parameter controls the mixing factor between the first and second smoothing averages. It affects the weighting or blending of the two averages.
POW - Factor: This parameter adjusts the power factor, which can compress or expand the resulting values. It allows you to fine-tune the output based on your preferences.
The Wave Smoothing and Mixing settings enable you to smooth the wave calculations and mix different averages to create a more refined and customized output. By selecting the desired smoothing types, adjusting the lengths, and modifying the mix factor and power factor, you can tailor the indicator to your specific trading style.
----------------------
Channel Levels and Alert Mode:
The Channel Levels and Alert Mode section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the channel levels and the alert mode. Here are the details of the Channel Levels and Alert Mode settings:
Channel Width: This parameter determines the width or range of the channel levels. It represents the distance between the upper and lower channel lines.
Channel Shift Up/Down: This setting allows you to shift the entire channel up or down. It represents the vertical offset of the channel lines.
Alert Mode (Alertmode): This parameter determines the type of alert triggered by the indicator based on the channel levels.
You have options such as Outside, CrossIn, CrossOut, ChangeDir-All, and ChangeDir-Outside.
Channel Levels: The upper and lower channel levels are calculated based on the channel width and offset. They provide visual boundaries for the price movement within the channel.
The Channel Levels and Alert Mode settings help define the channel levels and specify the conditions for generating alert notifications.
By adjusting the channel width, offset, and selecting the appropriate alert mode, you can customize the indicator's behavior according to your trading requirements.
----------------------
Dynamic Channel:
The Dynamic Channel section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the dynamic channel formation.
This feature helps create channels based on different smoothing averages.
Here are the details of the Dynamic Channel settings:
Channel Average 1 Type: This parameter allows you to select the type of smoothing average for the first channel average.
Length 1: This setting determines the length or period of the first channel average.
Channel Average 2 Type: This parameter allows you to select the type of smoothing average for the second channel average.
Length 2: This setting determines the length or period of the second channel average.
MA 1 / MA 2 Mix Factor: This parameter controls the mixing factor between the first and second channel averages. It affects the weighting or blending of the two averages.
Mixing Off Dynamic in Weight: This parameter allows you to mix off the dynamic in weight.
Smoothing Type: This parameter allows you to select the type of smoothing for the trend within the dynamic channel.
Smoothing Length: This setting determines the length or period of the trend smoothing within the dynamic channel.
The Dynamic Channel settings enable you to create channels based on different smoothing averages and adjust the weighting between them. Additionally, you can apply further smoothing to the trend within the dynamic channel. This feature helps identify trends and potential trade opportunities within the channel.
----------------------
Speed of Change Rate:
The Speed of Change Rate section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the rate of change in the indicator. Here are the details of the Speed of Change Rate settings:
Plot Speed (plot_speed): This setting determines whether to plot the speed of change on the chart.
Speed Scaling (change_factor): This parameter adjusts the scaling factor for the speed of change.
Speed Smoother (smoothtype_change): This parameter allows you to select the type of smoothing average for the speed of change calculation.
Speed Length (change_length): This setting determines the length or period of the speed of change calculation.
The Speed of Change Rate settings provide insights into the rate at which the indicator values are changing. By visualizing and analyzing the speed of change, you can identify potential acceleration or deceleration in the price movement.
----------------------
Signal Main Configuration:
The Signal Main Configuration section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the signal input and passthrough. Here are the details of the Signal Main Configuration settings:
Signal Type (inputtype): This parameter determines the type of signal input. You have options such as MultiBit and NoInput.
Select L1 Indicator Signal (inputModule): This parameter allows you to select the source of the L1 indicator signal. You can choose any valid input source, such as the closing price or another indicator.
Signal Passthrough (Passthrough): This setting enables or disables the passthrough of the signal. When enabled, the indicator passes the input signal to the output.
The Signal Main Configuration settings allow you to define the type of signal input and control whether to pass the signal through the indicator or not. This feature provides flexibility in integrating the indicator with other trading strategies or indicators.
----------------------
Multibit Modified Channel:
The Multibit Modified Channel section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the modified channel based on the multibit input. Here are the details of the Multibit Modified Channel settings:
Input Bull (CH_Trendup_in): This parameter allows you to specify the input channel for bullish signals.
Bull Offset (trendfactorbull): This setting determines the offset for the bullish signals in the modified channel.
Input Bear (CH_Trenddown_in): This parameter allows you to specify the input channel for bearish signals.
Bear Offset (trendfactorbaer): This setting determines the offset for the bearish signals in the modified channel.
The Multibit Modified Channel settings enable you to modify the channel based on the multibit input. By specifying the input channels for bullish and bearish signals and adjusting the respective offsets,
you can customize the channel representation based on your trading strategy.
Multibit Output:
The Multibit Output section in the Multitimeframe WaveBuilder indicator allows you to configure parameters related to the output of the multibit signals and alerts. Here are the details of the Multibit Output settings:
Output Bull (CH_Buy_out): This parameter specifies the output channel for bullish signals.
Output Bear (CH_Sell_out): This parameter specifies the output channel for bearish signals.
Show Alerts (showalerts): This setting determines whether to display alert notifications for the multibit signals.
The Multibit Output settings define the output channels for bullish and bearish signals and control the display of alert notifications. This allows you to visualize and receive alerts for the multibit signals generated by the indicator.
----------------
Here a overview from the settings
--------------------------------
The pipeline of the WaveBuilder can be understood in the following structured manner:
----------
Wave Calculation:
Wave calculation is performed using the input parameters, resulting in wave values.
The wave values are then averaged using Average 1 and Average 2, and the weighted average is obtained.
The weighted average is mixed with other factors to create a mixed value.
----------
Channel Formation:
The mixed value is multiplied by a weight to generate a dynamic part.
The dynamic part is combined with the static channel and the multibit modification to form a base value.
----------
Smoothing and Mixing:
The base value is averaged using Average 1 and Average 2, and the weighted average is calculated.
The mixed2 value is obtained by smoothing the weighted average.
The mixed2 value is further processed using power compression (POW) to refine the output.
----------
Plotting:
The final smoothed and processed values are plotted to visualize the indicator on the chart.
By following this pipeline, the WaveBuilder combines wave calculations, channel formation, smoothing techniques, and power compression to provide valuable insights into market trends and potential trading opportunities.
--------------------------------
Librarys used:
djmad/Signal_transcoder_library
djmad/MAD_MATH
djmad/Mad_Standardparts
[MAD] CurveBuilderThe CurveBuilder is a versatile indicator that constructs channels using selectable input averages weighted together.
It also incorporates scalable and shiftable offsets on the resulting bands.
This indicator allows users to customize various settings to tailor the channel construction according to their trading strategy.
here a example screenshot of 3 different settings overlayed
Key Features:
-------------------
1. Moving Average Timeframe: Select the timeframe for the moving average calculation on the middle line.
-------------------
2. Middleline Settings:
Allow you to customize the parameters related to the middle line of the channel.
The middle line is constructed using two moving averages, which can be selected from the various types available.
Here are the details of the Middleline Settings:
1. MA Type: This setting allows you to choose the type of moving average for the first average. You have the following options:
Weighted Moving Average (WMA), Hull Moving Average (HMA), Volume Weighted Moving Average (VWMA), Linear Moving Average (LMA),
Regular Moving Average (RMA), Simple Moving Average (SMA), Exponential Moving Average (EMA), EMA, Ehlers Gaussian,
Ehlers Smoother, Ehlers Supersmoother, Ehlers Butterworth, ChebyshevI, ChebyshevII
Length (1st MA): This parameter allows you to set the length or period of the first moving average. The length determines the number of bars considered in the calculation of the moving average.
2. MA Type: Similar to the first moving average, this setting lets you choose the type of moving average for the second average.
Length (2nd MA): This parameter sets the length or period of the second moving average. The length determines the number of bars considered in the calculation of the moving average.
3. Weighting:
This option allows you to adjust the weighting factor when merging from the first moving average to the second moving average.
By modifying the weighting, you can control the influence of the first average on the second average.
By selecting different moving average types, adjusting their lengths, and modifying the weighting factor, you can fine-tune the behavior of the middle line in the channel.
This flexibility allows you to customize the indicator to align with your preferred trading strategy and market conditions.
Best results are given when there is a maximum hitrate on retraces to the middleline, and many relevant directionchanges are near that line.
-------------------
3. Averaging Settings:
Offset of Curve in Bars: Shifts the indicator into the future by specifying the number of bars.
-------------------
4. Band Settings:
The Band Settings in the Multitimeframe Channel Builder indicator allow you to configure the parameters related to the construction of the bands around the middle line.
The bands provide an upper and lower boundary that help define the width of the channel. Here are the details of the Band Settings:
Band Mode:
This setting determines the method used to calculate the bands. You have the following options:
Off: Bands are turned off, and no calculations are performed.
True Range: Bands are calculated using the True Range.
Average True Range: Bands are calculated using the Average True Range.
Standard Deviation: Bands are calculated using the Standard Deviation.
Rate of Change: Bands are calculated using the Rate of Change.
Relative Strength Index: Bands are calculated using the Relative Strength Index.
Length (Bands):
This parameter sets the length or period used in the calculation of the bands. The length determines the number of bars considered when calculating the bands.
Band 1-3 Multiplicator:
These parameters allow you to adjust the scaling factor for each band. The multiplicative factor determines the width of the bands relative to the middle line.
Higher values result in wider bands, while lower values result in narrower bands.
Offset in % (Bands):
These parameters enable you to specify the offset percentage for each band. The offset represents the distance between the middle line and the bands.
A positive offset moves the bands further away from the middle line, while a negative offset brings the bands closer to the middle line.
By selecting the desired band mode, adjusting the length parameter, and modifying the multiplicators and offsets,
you can customize the width and positioning of the bands.
This flexibility allows you to adapt the indicator to different market conditions and trading strategies.
Note that if the Band Mode is set to "Off," the bands will not be displayed, regardless of the other band settings.
-------------------
5. Band Final Smooth:
The Band Final Smooth settings in the Multitimeframe Channel Builder indicator enable you to apply a smoothing technique to the constructed bands.
By selecting the desired smoothing type and adjusting the length parameter, you can customize the level of smoothing applied to the bands.
This helps to filter out short-term fluctuations and emphasize the underlying trend, providing a clearer visualization of the price channel.
Smooth Bands: This option allows you to enable or disable the smoothing of the bands. When enabled, the indicator applies the selected smoothing technique to the bands.
Smooth Type: You can choose the type of smoothing to apply to the bands. The available options include:
Weighted Moving Average (WMA), Hull Moving Average (HMA), Volume Weighted Moving Average (VWMA), Linear Moving Average (LMA),
Regular Moving Average (RMA), Simple Moving Average (SMA), Exponential Moving Average (EMA), EMA, Ehlers Gaussian,
Ehlers Smoother, Ehlers Supersmoother, Ehlers Butterworth, ChebyshevI, ChebyshevII
Length (Smooth Bands): This parameter sets the length or period of the smoothing technique applied to the bands.
A longer length will result in a smoother representation of the bands, while a shorter length will provide more responsiveness to price changes.
Final Smooth settings are optional, and you can choose to exclude smoothing if it does not align with your trading strategy or preferences.
-------------------
6. Alert Settings:
The Alert Settings in the Multitimeframe Channel Builder indicator allow you to configure the parameters related to the generation of alert notifications based on specific conditions.
Alerts can help you stay informed about potential trading opportunities. Here are the details of the Alert Settings:
Alert Mode: This setting determines the type of alert triggered by the indicator. You have the following options:
Band-outside: Generates an alert when the price moves outside the constructed channel bands.
Band-crossin: Generates an alert when the price crosses above or below the channel bands.
Band-crossout: Generates an alert when the price crosses back inside the channel bands.
Trend: Generates an alert when there is a significant trend change (over or under the middleline).
Oscillator: Generates an alert based on the behavior of the oscillator, if in Oscillator mode.
Spikedetection: This option allows you to enable or disable spike detection in the alerts. When enabled, the indicator considers spikes or sudden price movements when generating alerts.
By selecting the appropriate Alert Mode and configuring spike detection, you can receive alert notifications that align with your trading strategy and help you identify potential trading opportunities.
It's important to note that alert settings alone do not place trades automatically.
They serve as notifications for you to review and analyze the situation before making trading decisions.
Make sure to have a proper understanding of the selected alert mode and its implications in your trading strategy.
-------------------
7. Operation Mode:
The Multitimeframe Channel Builder indicator offers three operation modes: Channels, Oscillator, and Noplot.
This setting determines how the indicator is displayed on the chart and what type of information it provides.
Channels Mode:
When the indicator is set to channel mode, it will be displayed as an overlay on the chart. It generates channel lines based on the selected moving average types and their lengths.
These channels can help identify support and resistance levels or potential price breakout points. The channel lines are plotted on the chart,
providing a visual representation of the price movements within the channels.
Oscillator Mode: In Oscillator mode, the indicator is presented on a separate plane below or above the main chart, which you need to move manually.
It generates an oscillator based on the configured settings, including the selected moving averages and their lengths.
The oscillator provides insights into the market's momentum and overbought/oversold conditions.
It consists of horizontal lines representing different levels, such as upper and lower boundaries, and a middle line.
Traders can analyze the oscillator's movements and crossovers to identify potential trading signals.
Noplot Mode: Setting the indicator to Noplot mode disables all visual plotting on the chart. However, the indicator still generates alerts based on the configured settings.
This mode is useful if you only want to receive alert notifications for trading opportunities without cluttering the chart with additional visual elements.
Channels mode is ideal for analyzing price movements within defined channels,
Oscillator mode provides insights into market momentum, and
Noplot mode allows for focus on alert notifications without visual distractions on the chart.
-------------------
8. Oscillator Settings (Only applicable in Oscillator mode):
Hline from highest to lowest: Set the values for the highest to lowest horizontal lines.
POW-Compression: Adjust the compression factor for the oscillator.
Multiplier: Set the multiplier for the oscillator.
Oscillator Normalization Lockback: Specify the minimum time for normalization in the oscillator.
Detection Length and Filter Length: Set the lengths for the oscillator detection and filter.
Show Acceleration: Enable or disable the display of acceleration.
-------------------
9. Label Settings:
Decimals for Labels: Choose the number of decimals for label values.
Show Alerts (L1, L2, L3): Toggle the visibility of alerts for each level. Alert 1 is a minor alert, 3 a major
Label Color: Set the color for the labels.
Display Lines: Show or hide the lines on the chart.
Display Prices: Show or hide the price levels on the chart.
-------------------
10. Signal Config:
This Indicator offers a signal transmission configuration section specifically for Multibit implementation.
This feature allows you to transmit signals between multiple instances of the indicator, creating a daisychain effect. Here are the details of the Multibit implementation settings:
Signal Type: This setting determines the type of signal transmission used. You have the following options:
MultiBit: Enables the Multibit signal transmission.
MultiBit_pass: Enables the Multibit signal transmission with infusion.
NoInput: Disables the signal transmission.
Select Incoming Indicator: This parameter allows you to select the incoming indicator for signal transmission. You can choose any valid input source, such as the closing price or another indicator.
Channel configuration:
Channel long signal 1: Specify the channel used to transmit long signals for the first instance in the daisychain. Choose a value from -1 to 15 to represent different channels.
Channel short signal 1: Specify the channel used to transmit short signals for the first instance in the daisychain. Choose a value from -1 to 15 to represent different channels.
Channel long signal 2: Specify the channel used to transmit long signals for the second instance in the daisychain.
Channel short signal 2: Specify the channel used to transmit short signals for the second instance in the daisychain.
Channel long signal 3: Specify the channel used to transmit long signals for the third instance in the daisychain.
Channel short signal 3: Specify the channel used to transmit short signals for the third instance in the daisychain.
Channel Sideways only: Specify the channel used to transmit signals related to sideways movements.
Channel Trend: Specify the channel used to transmit signals related to trend movements.
Here's a overview of the current settings.
-------------------
Librarys used:
djmad/Signal_transcoder_library
djmad/MAD_MATH
djmad/Mad_Standardparts
kyle algo v1
Integration of multiple technical indicators: The strategy mainly combines two technical indicators - Keltner Channels and Supertrend, to generate trading signals. It also calculates fifteen exponential moving averages (EMAs) for the high price with different periods ranging from 9 to 51.
Unique combination of indicators: The traditional Supertrend typically uses Average True Range (ATR) to calculate its upper and lower bands. In contrast, this script modifies the approach to use Keltner Channels instead.
Flexible sensitivity adjustment: This strategy provides a "sensitivity" input parameter for users to adjust, which controls the multiplier for the range in the Supertrend calculation. This can make the signals more or less sensitive to price changes, allowing users to tailor the strategy to their own risk tolerance and trading style.
EMA Energy Representation: The code offers a visualization of "EMA Energy", which color-codes the EMA lines based on whether the closing price is above or below the EMA line. This can provide an intuitive understanding of market trends.
Clear visual signals: The strategy generates clear "BUY" and "SELL" signals, represented as labels on the chart. This makes it easy to identify potential entry and exit points in the market.
Customizable: The script provides several user inputs, making it possible to fine-tune the strategy according to different market conditions and individual trading preferences.
EMA (Exponential Moving Average) Principle:
The EMA is a type of moving average that assigns more weight to the most recent data.
It responds more quickly to recent price changes and is used to capture short-term price trends.
Principle of Color Change :
In this trading strategy, the color of the EMA line changes based on whether the closing price is above or below the EMA. If the closing price is above the EMA, the EMA line turns green,
indicating an upward price trend. Conversely, if the closing price is below the EMA, the EMA line turns red,
indicating a downward price trend. These color changes help traders to more intuitively identify price trends
In short, our team provides a lot of practical space
That is your development space
Custom Range Creator + Normalized Oscillators (Obv, Rsi, Mfi) Hello Traders!
Custom Range Creator is a specialized trading tool designed for traders who incorporate range analysis into their trading strategy.
Once you set the desired number of past candles or provide a manual input, the indicator will automatically draw a range for you. This unique feature allows you to customize the range based on the highest and lowest points within a specified number of bars, known as the "Dynamic Range." Furthermore, you have the flexibility to define up to three additional ranges manually using custom inputs. The lines and labels associated with these ranges can be fully customized in terms of style, color, and width to align with your personal preferences.
Dynamic Range Capabilities:
The indicator automatically generates a range by default, identifying the highest and lowest points within the last 200 bars. However, you have the ability to define the number of bars back by adjusting the setting in the menu. Moreover you can define the range based on either the wicks or the bodies of the candles.
The range includes the following components:
☀ Range High: The highest price point within the selected number of bars in the past
☀ Range Low: The lowest price point within the selected number of bars in the past
☀ Range Mid-Point: The calculated middle value between the Range High and Range Low
☀ First Quartile (Q1): The midpoint between the Range Low and the Range Mid-Point, effectively identifying the 25% level within the range
☀ Third Quartile (Q3): The midpoint between the Range Mid-Point and the Range High, identifying the 75% level within the range
By incorporating these critical levels within a price range, our Dynamic Range provides you with a comprehensive view of how the market evolves, enabling you to make more informed trading decisions.
Manual Ranges Capabilities:
In addition to the Dynamic Range, you can manually define up to three more ranges. By specifying your desired high and low price values as inputs, the system automatically draws the range based on your inputs. Once drawn, you can further adjust the range using the bar offset option, which allows you to shift the entire range backward or forward by a specified number of bars.
Each manually defined range includes the following components:
☀ Range High: Your user-defined highest price point
☀ Range Low: Your user-defined lowest price point
☀ Range Mid-Point: The calculated middle value between the Range High and Range Low
☀ First Quartile (Q1): The midpoint between the Range Low and the Range Mid-Point, identifying the 25% level within the range
☀ Third Quartile (Q3): The midpoint between the Range Mid-Point and the Range High, identifying the 75% level within the range
This allows you to precisely define your desired price range and visually represent it on the chart. The customizable manual ranges provide you with a powerful tool for analyzing price dynamics and identifying potential support and resistance levels.
Both Dynamic Range and Manual Ranges Capabilities:
a) Timeframe-Adaptive: This indicator dynamically adjusts to your selected timeframe. Whether you are a day trader or a long-term investor, this tool adapts to meet your needs.
b) Complete Customization: You have the flexibility to customize every aspect of "Custom Range Indicator". You can modify the color, style, and width of each of the five lines to seamlessly integrate them into your chart setup. Choose from various line styles, including solid, dashed, or dotted, and select colors that suit your visual preferences. Additionally, you can customize the color and text of the labels. Additionally, you can utilize the bar offset option to fine-tune the placement of the range within your analysis.
c) Hide Lines and Labels: You have the option to hide each line or label of the range individually, or hide the entire range with labels or without labels. This customization feature allows you to focus on specific aspects of the chart and declutter the visual representation of the ranges when needed.
Normalized Oscillators
Normalization is a process applied in data handling and statistics, and in the context of trading indicators, it can be incredibly useful. Trading indicators such as Volume, the Relative Strength Index (RSI), the Money Flow Index (MFI), and On Balance Volume (OBV), often vary in their range and scale.
Normalization adjusts these values to fit within a specific range, making different indicators directly comparable and aiding in the interpretation of their relationship and impact on price action. This can offer additional insights for traders, making it easier to identify trends, patterns, and potential trading signals across different indicators.
This indicator offers a selection of three oscillators to normalize and Volume Data:
☀Volume: The amount of a particular asset that is traded within a particular period.
☀Relative Strength Index (RSI): A momentum oscillator that measures the speed and change of price movements. It is typically used to identify overbought or oversold conditions in a market.
☀Money Flow Index (MFI): A momentum indicator that uses price and volume data to identify overbought or oversold signals in an asset.
☀On Balance Volume (OBV): A technical trading momentum indicator that uses volume flow to predict changes in price. It does this by cumulatively adding volume on days when the price increases, and subtracting volume on days when the price decreases.
This script also offers aesthetic customizations for the plot, which can enhance readability and visual appeal:
✔"Plot Color": This input lets users select the color of the plotted line on the chart, allowing for personalization and better visual differentiation when multiple indicators are used.
✔"Plot Width": Users can also adjust the thickness of the plotted line, enhancing visibility based on individual preference or screen resolution.
Why is useful the Normalization?
Normalization plays a crucial role in trading as it helps bring together diverse sets of information to support more informed decision-making. For instance, observing the correlation between the price chart and oscillators like On Balance Volume (OBV) near range levels can provide valuable insights.
Consider this example using a daily (1D) Ethereum (ETH) chart:
We observe that the price is at a Range Quarter, making a higher high while the OBV makes a higher low. This scenario presents a significant degree of confluence. The price is at a critical range level and there is a bearish divergence between the OBV and the price. Such confluence often indicates a potential shift in market dynamics, and as observed, the price trends lower subsequently.
Below is the same scenario represented on a linear chart, providing a clearer visualization:
Normalization enables us to make these comparisons more accurately, ultimately leading to more reliable trading signals and better trading outcomes. By adjusting the scale of various indicators to a standard range, traders can directly compare and correlate them to price action, making it easier to spot trends, divergences, and other key market patterns.
Keep attention!
It is important to note that no trading indicator or strategy is foolproof, and there is always a risk of losses in trading. While this indicator may provide useful information for making conclusions, it should not be used as the sole basis for making trading decisions. Traders should always use proper risk management techniques and consider multiple factors when making trading decisions.
adaptive_mfi
█ Description
Money flow an indexed value-based price and volume for the specified input length (lookback period). In summary, a momentum indicator that attempt to measure the flow of money (identify buying/selling pressure) through the asset within a specified period of time. MFI will oscillate between 0 to 100, oftentimes comprehend the analysis with oversold (20) or overbought (80) level, and a divergence that spotted to signaling a further change in trend/direction. As similar to many other indicators that use length (commonly a fixed value) as an input parameter, can be optimized by applied an adaptive filter (Ehlers), to solve the measuring cycle period. In this indicator, the adaptive measure of dominant cycle as an input parameter for the lookback period/n, will be applied to the money flow index.
█ Money Flow Index
mfi = 100 - (100/(1 + money_flow_ratio))
where:
n = int(dominant_cycle)
money_flow_ratio = n positive raw_money_flow / n negative raw_money_flow
raw_money_flow = typical_price * volume
typical_price = hlc3
█ Feature
The indicator will have a specified default parameter of: hp_period = 48; source = ohlc4
Horizontal line indicates positive/negative money flow
MFI Color Scheme: Solid; Normalized
TTM Waves ABC ATR AO MOM SQZ//All code picked from many indicators, if you recognize your code, pls comment so people can see your awesome work! I only edited and added them all together so people don't use all their indicator slots. Hope this indicator helps as many people as it can. LFG!!!
AO (Awesome Oscillator) Useful to find potential reversals in trend.
MOM (Momentum) An oscillator that measures momentum.
ATR (Average True Range) Measures the upside and downside from the average price movement occuring. 1 ATR is the general measurement. Many traders use 2ATR to set a stop and 4ATR to set take profit from their entry based on current reading from the ATR.
SQZ ( TTM Squeeze) Measures when bollinger bands have left the interior of the Keltner Channel in an attempt to predict volatility thats about to happen to either side. Green = Move is probably about to happen.
TTM Waves ( Waves A, B, and C) Measure the previous candles to determine chop, positive or negative trends. C measures the previous 30 candles or so, B the last 15 or so, and A measures the last 8 or so. You can use all three or just one. You can sneak in a move if the 2 fastest ones have moved into your preferred area. (Positive or Negative) If the wave is not fully positve or negative then that is probably chop.
-Penguincryptic
RSI Chart LevelsThe RSI Chart Levels shows you in a simple way where Support/Resistance might be. You want to make sure all settings are the same in the RSI that you are using with this overlay to be accurate.
This is also good at spotting divergence in real-time. If price goes over the Higher High but the RSI hasn't gained a new Higher High it is showing divergence, vice versa for Lower Low.
This overlay was created with the idea of RSI Divergence Scanner by zdmre indicator. Add his RSI and match the settings to the chart overlay. The default Zigzag is set to 7 which zdmre settings is different so change to whatever you prefer.
Shoutout to zdmre original work!
Price and Indicator CorrelationFIRST, CHANGE SOURCE OF INDICATOR FROM CLOSE TO WHATEVER INDICATOR YOU ARE COMPARING TO PRICE!!!!
Confirming Indicator Validity: By calculating the correlation coefficient between the price and a specific indicator, you can assess the degree to which the indicator and price move together. If there is a high positive correlation, it suggests that the indicator tends to move in the same direction as the price, increasing confidence in the indicator's validity. On the other hand, a low or negative correlation may indicate a weaker relationship between the indicator and price, signaling caution in relying solely on that indicator for trading decisions.
Identifying Divergence: Divergence occurs when the price and the indicator move in opposite directions. By monitoring the correlation coefficient, you can identify periods of divergence between the price and the selected indicator. Divergence may signal a potential reversal or significant price move, providing an opportunity to enter or exit trades.
Enhancing Trading Strategies: The correlation coefficient can be used to enhance trading strategies by incorporating the relationship between the price and the indicator. For example, if the correlation coefficient consistently shows a strong positive correlation, you may use the indicator as a confirmation tool for price-based trading signals. Conversely, if the correlation is consistently negative, it may indicate an inverse relationship that could be used for contrarian trading strategies.
Indicator Optimization : The correlation coefficient can help traders compare the effectiveness of different indicators. By calculating the correlation coefficient for multiple indicators against the price, you can identify which indicators have a stronger or weaker relationship with price movements. This information can guide the selection and optimization of indicators in your trading strategy.
Example:
RSI MACDDifferent Perspective : By using the RSI as the source for MACD calculation, you are incorporating the RSI's characteristics into the MACD indicator. The RSI measures the speed and change of price movements, while the MACD focuses on the convergence and divergence of moving averages. Combining these two indicators may provide a different perspective on market conditions.
Smoothed MACD : Since the RSI is being used as the source for the MACD calculation, the resulting MACD line (macd1 in the code) may exhibit smoother movements compared to a traditional MACD calculated directly from price data. This smoothing effect could potentially help filter out noise and provide a clearer representation of trend changes.
RSI Confirmation : The RSI is often used to identify overbought and oversold conditions. By incorporating the RSI into the MACD calculation, you can potentially gain additional confirmation when the MACD line crosses above or below zero. For example, if the MACD line crosses above zero and the RSI is in an oversold region, it could provide stronger confirmation for a bullish signal.
Example:
Stochastic Zone Strength Trend [wbburgin](This script was originally invite-only, but I'd vastly prefer contributing to the TradingView community more than anything else, so I am making it public :) I'd much rather share my ideas with you all.)
The Stochastic Zone Strength Trend indicator is a very powerful momentum and trend indicator that 1) identifies trend direction and strength, 2) determines pullbacks and reversals (including oversold and overbought conditions), 3) identifies divergences, and 4) can filter out ranges. I have some examples below on how to use it to its full effectiveness. It is composed of two components: Stochastic Zone Strength and Stochastic Trend Strength.
Stochastic Zone Strength
At its most basic level, the stochastic Zone Strength plots the momentum of the price action of the instrument, and identifies bearish and bullish changes with a high degree of accuracy. Think of the stochastic Zone Strength as a much more robust equivalent of the RSI. Momentum-change thresholds are demonstrated by the "20" and "80" levels on the indicator (see below image).
Stochastic Trend Strength
The stochastic Trend Strength component of the script uses resistance in each candlestick to calculate the trend strength of the instrument. I'll go more into detail about the settings after my description of how to use the indicator, but there are two forms of the stochastic Trend Strength:
Anchored at 50 (directional stochastic Trend Strength):
The directional stochastic Trend Strength can be used similarly to the MACD difference or other histogram-like indicators : a rising plot indicates an upward trend, while a falling plot indicates a downward trend.
Anchored at 0 (nondirectional stochastic Trend Strength):
The nondirectional stochastic Trend Strength can be used similarly to the ADX or other non-directional indicators : a rising plot indicates increasing trend strength, and look at the stochastic Zone Strength component and your instrument to determine if this indicates increasing bullish strength or increasing bearish strength (see photo below):
(In the above photo, a bearish divergence indicated that the high Trend Strength predicted a strong downwards move, which was confirmed shortly after. Later, a bullish move upward by the Zone Strength while the Trend Strength was elevated predicated a strong upwards move, which was also confirmed. Note the period where the Trend Strength never reached above 80, which indicated a ranging period (and thus unprofitable to enter or exit)).
How to Use the Indicator
The above image is a good example on how to use the indicator to determine divergences and possible pivot points (lines and circles, respectively). I recommend using both the stochastic Zone Strength and the stochastic Trend Strength at the same time, as it can give you a robust picture of where momentum is in relation to the price action and its trajectory. Every color is changeable in the settings.
Settings
The Amplitude of the indicator is essentially the high-low lookback for both components.
The Wavelength of the indicator is how stretched-out you want the indicator to be: how many amplitudes do you want the indicator to process in one given bar.
A useful analogy that I use (and that I derived the names from) is from traditional physics. In wave motion, the Amplitude is the up-down sensitivity of the wave, and the Wavelength is the side-side stretch of the wave.
The Smoothing Factor of the settings is simply how smoothed you want the stochastic to be. It's not that important in most circumstances.
Trend Anchor was covered above (see my description of Trend Strength). The "Trend Transform MA Length" is the EMA length of the Trend Strength that you use to transform it into the directional oscillator. Think of the EMA being transformed onto the 50 line and then the Trend Strength being dragged relative to that.
Trend Transform MA Length is the EMA length you want to use for transforming the nondirectional Trend Strength (anchored at 0) into the directional Trend Strength (anchored at 50). I suggest this be the same as the wavelength.
Trend Plot Type can transform the Nondirectional Trend Strength into a line plot so that it doesn't murk up the background.
Finally, the colors are changeable on the bottom.
Explanation of Zone Strength
If you're knowledgeable in Pine Script, I encourage you to look at the code to try to understand the concept, as it's a little complicated. The theory behind my Zone Strength concept is that the wicks in every bar can be used create an index of bullish and bearish resistance, as a wick signifies that the price crossed above a threshold before returning to its origin. This distance metric is unique because most indicators/formulas for calculating relative strength use a displacement metric (such as close - open) instead of measuring how far the price actually moved (up and down) within a candlestick. This is what the Zone Strength concept represents - the hesitation within the bar that is not typically represented in typical momentum indicators.
In the script's code I have step by step explanations of how the formula is calculated and why it is calculated as such. I encourage you to play around with the amplitude and wavelength inputs as they can make the zone strength look very different and perform differently depending on your interests.
Enjoy!
Walker
Z-Score Heikin-Ashi TransformedThe Z-Score Heikin-Ashi Transformed (𝘡 𝘏-𝘈) indicator is a powerful technical tool that combines the principles of Z-Score and Heikin Ashi to provide traders with a smoothed representation of price movements and a standardized measure of market volatility.
The 𝘡 𝘏-𝘈 indicator applies the Z-Score calculation to price data and then transforms the resulting Z-Scores using the Heikin Ashi technique. Understanding the individual components of Z-Score and Heikin Ashi will provide a foundation for comprehending the methodology and unique features of this indicator.
Z-Score:
Z-Score is a statistical measure that quantifies the distance between a data point and the mean, relative to the standard deviation. It provides a standardized value that allows traders to compare different data points on a common scale. In the context of the 𝘡 𝘏-𝘈 indicator, Z-Score is calculated based on price data, enabling the identification of extreme price movements and the assessment of their significance.
Heikin Ashi:
Heikin Ashi is a popular charting technique that aims to filter out market noise and provide a smoother representation of price trends. It involves calculating each candlestick based on the average of the previous candle's open, close, high, and low prices. This approach results in a chart that reduces the impact of short-term price fluctuations and reveals the underlying trend more clearly.
Methodology:
The 𝘡 𝘏-𝘈 indicator starts by calculating the Z-Score of the price data, which provides a standardized measure of how far each price point deviates from the mean. Next, the resulting Z-Scores are transformed using the Heikin Ashi technique. Each Z-Score value is modified according to the Heikin Ashi formula, which incorporates the average of the previous Heikin Ashi candle's open and close prices. This transformation smooths out the Z-Score values and reduces the impact of short-term price fluctuations, providing a clearer view of market trends.
This tool enables traders to identify significant price movements and assess their relative strength compared to historical data. Positive transformed Z-Scores indicate that prices are above the average, suggesting potential overbought conditions, while negative transformed Z-Scores indicate prices below the average, suggesting potential oversold conditions. Traders can utilize this information to identify potential reversals, confirm trend strength, and generate trading signals.
Utility:
The indicator offers valuable insights into price volatility and trend analysis. By combining the standardized measure of Z-Score with the smoothing effect of Heikin Ashi, traders can make more informed trading decisions and improve their understanding of market dynamics. 𝘡 𝘏-𝘈 can be used in various trading strategies, including identifying overbought or oversold conditions, confirming trend reversals, and establishing entry and exit points.
Note that the 𝘡 𝘏-𝘈 should be used in conjunction with other technical indicators and analysis tools to validate signals and avoid false positives. Additionally, traders are encouraged to conduct thorough backtesting and experimentation with different parameter settings to optimize the effectiveness of the indicator for their specific trading approach.
Key Features:
Optional Reversion Doritos
Adjustable Reversion Threshold
2 Adjustable EMAs
Example Charts:
See Also:
On Balance Volume Heikin-Ashi Transformed
RSI Trend Transform [wbburgin]The RSI Trend Transform indicator is a dual-concept indicator that transforms volume data and price data into two different RSI values, which can then be used together to determine trend strength and momentum. The volume RSI does not use any price data in its calculation - it is purely a transform from nondirectional volume into a directional indicator.
The RSI for all three RSI values (price, volume,combined average) can be plotted as either stochastic or normal. The RSI calculation is adapted for use on volume, which is why the normal ta.rsi() function is not used for the price RSI calculation; both use the same formula for indicator consistency.
How to Use the Indicator
In the examples below, the Price RSI is plotted in yellow and the Volume RSI is plotted in red (length = 200, which is why the indicator is large in these examples). The indicator can be used on any timeframe and any asset, provided volume data is provided by the vendor to TradingView.
Identifying Bullish Trends
A rising volume RSI with a rising price RSI signifies a bullish trend. Example 1:
Example 2:
You can use the combined RSI (the average of the volume RSI and the price RSI) to help with the identification of these trends:
Identifying Bearish Trends
A falling volume RSI with a falling price RSI signifies a bearish trend:
Example 2:
Settings
Source is the source of the price RSI, the volume RSI will by default use volume in its calculations. If you have other indicators on-chart, you could even use the ATR, a volatility indicator, or any nondirectional or directional indicator and transform it into the "price" RSI.
Length is both the length of the RSI and the stochastic.
The next three rows are for each RSI you can plot on the indicator: price RSI, volume RSI, and combined RSI (average of price and volume). The first checkbox plots/removes them from the chart, you can subsequently choose the type of RSI (regular or stochastic), the color of the plot, and the length of the EMA smoothing applied afterward to the plot.
Upper Band and Lower Band refer to the overbought and oversold lines, respectively.
A note about the combined RSI- you will be unable to spot divergences if the combined RSI is the only plot on the indicator, so I encourage you to use the combined RSI as a way to confirm the overall trend if you notice the price RSI and the volume RSI and trending similarly.
Lune Oscillator Premium⬛️ Overview
Lune Oscillator is an advanced and innovative TradingView indicator designed to enhance your market analysis. Rather than merely improving visuals or merging traditional indicators, it introduces a series of unique features, each with its unique value proposition. This script stands out due to its originality, and the significant utility it brings to traders.
🟦 Features
Oscillator features an assortment of sophisticated tools aimed at refining your trading strategies:
🔹 Trend Oscillator: This feature integrates market trend and momentum analysis into one dynamic oscillator. It's designed to facilitate market trend and momentum analysis, and is invaluable to traders as it combines both trend and momentum analysis into one tool. For instance, if a ticker shows signs of slowing momentum after a recent rally, the Trend Oscillator could predict a potential trend reversal. The Trend Oscillator’s sensitivity and velocity settings can be tailored to suit your trading style and strategy. It is developed using a custom formula similar to WaveTrend but optimized for better detection of trend and momentum shifts.
🔹 Market Peak: Market Peak identifies potential market peaks and troughs using a percentile-based system. It's aimed at detecting overextensions in the Trend Oscillator, indicating potential market reversals. Compact and user-friendly, this feature signals potential trade exit points in case of an impending market reversal. Its sensitivity can be adjusted to react to either short-term or long-term market changes. By analyzing the market's average move, it detects overbought or oversold conditions when the percentage gets too extreme.
🔹 Money Pulse: The Money Pulse feature serves as a radar for money inflow or outflow, helping users detect nascent trends and reversals. It enables traders to spot early opportunities and reversals and align their strategies with institutional and large players. For example, a bullish Money Pulse during market consolidation could signal money influx and the beginning of an accumulation phase. The sensitivity of the Market Pulse can be adapted to short-term or long-term changes. This feature employs an improved version of the Money Flow concept.
🔹 Liquidity Pulse: Liquidity Pulse provides a unique perspective of asset liquidity by tracking market inflow and outflow volumes. It assists traders in understanding the market's liquidity sentiment, which is particularly useful for long-term trades and confluence. For instance, a bullish Liquidity Pulse could signal abundant liquidity, potentially driving up the price. The sensitivity setting can be adjusted for short-term or long-term liquidity changes. This feature utilizes an enhanced version of the On-Balance Volume concept.
🔹 Institutional Wave: This feature tracks the cumulative inflow and outflow for a specific ticker, helping traders monitor institutional money flows. It enables the analysis of a ticker's accumulation and distribution, assisting in detecting early trade entries and avoiding dumps. For example, a decrease in volume during consolidation after a price rally could indicate sell-off and potential price drop. The Institutional Wave's sensitivity can be adapted to either short-term or long-term changes. It operates on the Accumulation and Distribution concept.
🔹 Power Wave: The Power Wave evaluates market strength and momentum, indicating market power shifts. It helps traders understand the true power behind a market move. For instance, a decreasing Power Wave during a bullish move could indicate a weakening trend, suggesting a bearish strategy instead. The sensitivity of the Power Wave can be set for short-term or long-term market changes. The Power Wave calculates market strength by evaluating price change volatility.
🔹 Market Pressure: This feature detects shifts in buy and sell pressure, signaling potential turning points. It helps traders understand the power balance in the market. For example, a bullish Market Pressure shift during a short trade could suggest a momentum gain by bulls, indicating a trade exit. The Market Pressure's sensitivity can be adjusted for short-term or long-term changes. This feature uses volume data and moving averages to detect market pressure shifts, filtering out false and volatile signals.
🔹 Oscillator Copilot: Incorporating Smart Bias and Reversal Radar, the Oscillator Copilot helps identify market trends and potential reversals. It searches for confluence within multiple Oscillator features, providing a straightforward assistive tool. For example, a bullish Smart Bias signal during a long trade could suggest staying in the trade longer, while a bearish Reversal Radar signal could indicate the need to exit the trade.
🔹 Divergence Detection: This feature offers a sophisticated detection system for both regular and hidden market divergences, providing additional confluence and highlighting hard-to-detect divergences. For instance, a bullish Regular Divergence could signal a potential trade entry or exit depending on your overall market sentiment and bias. This feature uses fractals to effectively detect divergences in the market based on the Trend Oscillator.
🔹 Color Themes: Personalize your charting experience with various color themes. This feature enhances the visual appeal of your chart, offering easy setup and use. For example, use the “Ice” theme for a unique and colorful experience or the “Dark” theme for a more subdued look. Themes available include Default, Light, Dark, and Ice. This feature modifies the colors of your candles and features based on the selected theme.
These features and tools collectively offer a comprehensive solution for traders to understand and navigate the financial markets. It's important to remember that they are designed to assist in making informed trading decisions and should be used as part of a balanced trading strategy.
🟧 Usage
Lune Oscillator's features are designed to be both standalone tools and components of a larger, integrated trading strategy. It is important to understand each feature and experiment with different configurations to best suit your unique trading needs.
🔸 Example #1: The following demonstrates how the Oscillator Copilot can be an excellent trade assistant.
The Oscillator Copilot leverages multiple Lune Oscillator features, allowing traders to quickly assess overall market sentiment. It uses Smart Bias and Reversal Radar tools to deliver these insights. For instance, at point 1, a bullish Smart Bias (denoted by a green circle) represents a collective bullish sentiment from multiple components of Lune Oscillator, often leading to a price increase. Conversely, at point 2, we identify two bearish reversal signals from the Reversal Radar (highlighted by red triangles). This convergence of bearish signals from multiple components hints at a potential market reversal, often followed by a gradual price decline.
🔸 Example #2: This example shows how the Market Peak feature can aid in detecting potential market tops and bottoms.
Market Peak calculates how overbought or oversold a ticker is using a percentile system, offering insights into potential reversals. At points 1 and 2, we observe bearish Market Peaks suggesting overbought conditions and indicating a possible shift in trend. Subsequent to these peaks, we witness a price drop, mirroring the overbought market conditions. In contrast, at point 3, a bullish Market Peak suggests an oversold market, indicating a potential trend reversal and subsequent price increase.
🔸 Example #3: This is an example of how combining various features such as the Money Pulse, Liquidity Pulse, Institutional Wave, and Market Peak, can help make more informed trades.
Money Pulse and Liquidity Pulse provide insights into the money and liquidity flow in the market, respectively, while the Institutional Wave monitors the cumulative volume shifts and changes. Together with Market Peak, they offer a comprehensive view of the market's state.
At point 1, the positive Liquidity Wave (crossing above 0) suggests a bullish market volume. At point 2, a bullish Market Pressure indicates an increase in buying pressure, reinforcing the bullish sentiment. At point 3, a negative Liquidity Wave (crossing below 0) indicates a bearish sentiment, suggesting that market participants are exiting their positions. The concurrent Market Pressure hints at an increase in selling activity. Taking all these factors into account provides a strong indicator that the market sentiment has turned bearish.
🟥 Conclusion
Lune Oscillator aims to provide a suite of tools that bring unique value to traders. Each feature is designed to offer different, yet complementary, perspectives on the market, allowing users to piece together a more comprehensive understanding of their trading environment.
🔻 Access
You can see the Author's instructions below to get instant access to this indicator & our Premium Suite.
🔻 Disclaimer
Lune Oscillator is a tool for aiding in market analysis and is not a guarantee of future market performance or individual trading success. We strongly recommend that users combine our tool with their trading strategies and do their due diligence before making any trading decisions.
Remember, past performance is not indicative of future results. Please trade responsibly.
Boom Hunter X AlertsThis is a supplementary tool for Boom Hunter X. It has two main purposes. Firstly it handles setting alerts for all 3 Boom Hunter X presets with the convenience of only using one alert. The second purpose is as a chart assistance to display pivots and first pullbacks directly on your chart. By default the script is set to only show the last few bars but this can be modified in the settings up to 20000 to show all bars, this is handy for backtesting.
Signals are only lightly filtered and are designed to get you looking at the charts are the right times.
There are alerts for all 3 presets including:
- Pivots: HL, LH, HH, LL, 1st HL, 1st LH, Reversal up, Reversal down.
- Median crossings
- Kernel Regression crossing (kreg)
- First pullbacks
To use simply tick all the signals you wish to be alerted for in the settings.
Choose the frequency of the alerts in the settings to either on bar close or once per bar.
Click the create alert button, find BHX Alerts and select Any alert() function call.
Z-Score CandlesThe Z-Score Candles indicator is a powerful tool designed to help traders identify overbought and oversold conditions in the market. It utilizes the concept of the Z-score, which measures the deviation of a data point from its mean in terms of standard deviations.
By applying a sigmoid transformation to the Z-score values of the price candles, this indicator provides a visual representation of the market sentiment. The resulting sigmoid candles offer a clearer view of potential trend reversals and market extremes.
Parameters:
Length: The length parameter determines the number of bars used in the calculations. A higher value results in a smoother representation of the Z-scores, while a lower value makes the indicator more responsive to short-term price movements.
Features:
Sigmoid Function: The indicator incorporates a sigmoid function to transform the Z-score values, making them more suitable for visual analysis.
Original Price Candles: The indicator plots the sigmoid candles, representing the open, high, low, and close values of the price action. Green candles indicate a positive sentiment (szopen < szclose), while red candles indicate a negative sentiment (szopen >= szclose).
Oversold and Overbought Areas: The indicator creates horizontal lines at 0.1 and 0.9 on the y-axis, representing oversold and overbought levels, respectively. Additionally, it adds shaded areas to highlight the extreme regions.
Usage: Traders can utilize the Z-Score Candles indicator to identify potential market turning points, reversals, and overextended price levels. When the sigmoid candles reach the oversold or overbought areas, it may suggest a possible trend reversal or the initiation of a new trend.
Note: This indicator should be used in conjunction with other technical analysis tools and indicators to confirm trading decisions.