RSRWDescription:
The given Pine-Script, titled "Real Relative Strength (RSRW)," is designed to evaluate the relative strength of the selected security compared to a benchmark security, defaulting to "SPY". It utilizes TradingView’s programming language and is structured to run on its platform.
Functionality:
Rolling Price Change Calculation:
It calculates the rolling price change for both the selected security and the comparison
security over a user-defined length of periods, defaulting to 12.
Rolling ATR Change Calculation:
It computes the Average True Range (ATR) over the specified length for both securities,
providing insights into market volatility.
Power Index Calculation:
It computes the power index by dividing the rolling move of the comparison security by its
rolling ATR, offering a measure of market strength or weakness relative to volatility.
Real Relative Strength (RRS) Calculation:
It determines the Real Relative Strength of the selected security against the benchmark,
adjusting the relative price move by the power index and dividing by the security's rolling
ATR.
Correlation:
The script also evaluates the correlation between the selected security and the compared
security over the defined length, providing a correlation coefficient that is represented
visually by different colors.
Visual Representation:
The Real Relative Strength is plotted with a blue line.
A red line represents the baseline (0).
Correlation is displayed with a color-coded line, ranging from green (high positive
correlation) to red (high negative correlation).
Utility:
This script is valuable for traders and investors looking to assess the relative performance of securities against a benchmark, factoring in volatility and correlation, enabling more informed investment decisions based on market dynamics.
License:
This script is subject to the terms of the Mozilla Public License 2.0.
Breadth Indicators
Gann's square of 9 overextended indicatorThis indicator is inspired by the book “The Definitive Guide to Forecasting Using W.D. Gann’s Square of Nine”. It’s designed to identify overextended price levels in the market.
The indicator uses the concept of Gann’s Square of 9, which is a method for forecasting price movements by observing geometric relationships between price and time. It calculates the square root of the price, then subtracts the square root of a simple moving average of the price. The difference is then converted to degrees to create the indicator values.
The indicator plots four horizontal lines, representing two upper and two lower thresholds. When the indicator crosses these lines, it suggests that the price may be overextended and a reversal could be imminent.
Please note that the Price Multiplier parameter needs to be adjusted for each timeframe and security to ensure accurate results. This is because different securities and timeframes can have different price scales, and the multiplier helps to normalize the price data for the calculation.
The indicator also includes a Moving Average Size parameter, which determines the length of the simple moving average used in the calculation.
This indicator can be a useful tool for traders looking to identify potential reversal points in the market. However, like all indicators, it should be used in conjunction with other forms of analysis and it’s not recommended to rely solely on this indicator for trading decisions.
Kawasaki_MFIKawasaki_MFI Indicator
The Kawasaki_MFI indicator is a customized technical analysis tool developed to analyze asset prices in financial markets. This script is implemented in TradingView's Pine Script language (version 5) and is based on the concept of the Accumulation/Distribution Line (ADL) which is a volume-based indicator designed to measure the cumulative flow of money into and out of a security.
Script Details
Version: Pine Script version 5
Overlay: True - The indicator is plotted directly on the price chart.
Input Variables
The script utilizes the following input variables sourced from daily (D) time frames:
High (my_high): The highest price of the security in the daily time frame.
Low (my_low): The lowest price of the security in the daily time frame.
Close (my_close): The closing price of the security in the daily time frame.
Volume (my_volume): The trading volume of the security in the daily time frame.
ADL Calculation
The ADL is calculated using the following formula:
ADL
=
Cumulative sum of ((Close−Low)−(High−Close)High−Low×Volume)
ADL=Cumulative sum of ( High−Low(Close−Low)−(High−Close)×Volume)
Plot
The ADL line is plotted on the chart with the following characteristics:
Title: ADL
Color: Blue
Usage
Traders can use the Kawasaki_MFI indicator to identify trends and potential reversal points in the market. A rising ADL line suggests buying pressure, while a falling ADL line suggests selling pressure. It can be used in conjunction with other technical indicators to develop a comprehensive trading strategy.
Feel free to add more details or modify the description to better suit your needs.
Search for consolidations - AstroHubThe indicator is designed to identify consolidation periods on the chart of a trading instrument.
Key factors and parameters to consider when using this indicator:
1. Consolidation length (consol_length): This parameter allows you to set the length of the period in which consolidation will be sought. The higher the value, the longer consolidation periods will be taken into account. The recommended value is 20.
2. Calculation of the mathematical model: The indicator is based on a mathematical model that calculates the average price range (avg_range) within the specified consolidation period. Then, the exponential moving average of the obtained values is averaged (ta.rma) to obtain consolidation. If the price range is smaller than the consolidation value, the current period is considered consolidation.
3. Chart display: The program allows you to display consolidation on the chart as a label (plotshape) beneath the candlesticks. Consolidation will be shown in blue with the label "Consolidation". The indicator is placed below the current candlesticks.
How to use the indicator:
1. Load the script into your market analysis platform (e.g. TradingView).
2. Set the desired consolidation length (consol_length).
3. The indicator will automatically calculate consolidation based on the specified length.
4. Blue labels with the text "Consolidation" will be displayed on the chart for each consolidation period.
Important points to consider when using this indicator:
1. The indicator does not predict the direction of price movement after consolidation. It only shows consolidation periods on the chart.
2. The results of the indicator may vary depending on the chosen consolidation length. It is recommended to conduct several experiments with different values to find the optimal period for the instrument and timeframe.
I hope this description helps you better understand and assess the functionality and application of this indicator. Good luck with your usage!
TraderJoe TickMarket sentiment and market breadth are important factors for traders to consider when making trading decisions.
The TICK index , which reflects the buying and selling activity of an entire index, can provide valuable insights into market sentiment and breadth.
1. Assessing Market Sentiment:
- Positive TICK: When the TICK index is consistently positive (indicating more stocks are being bought at or above the asking price), it suggests overall bullish sentiment in the market.
- Negative TICK: Conversely, a consistently negative TICK indicates bearish sentiment, where more stocks are being sold at or below the asking price.
2. Market Breadth:
- Look at the TICK readings for various market indexes, not just one. If all major market indexes are experiencing the same sentiment (e.g., all have aggressive buyers), it's a stronger signal of a broader market trend.
3. Using the TICK for Entry and Exit:
- Positive TICK can be an entry signal for long positions. Traders might consider going long when the TICK index is consistently positive, indicating strong buying pressure in the market.
- Negative TICK can be an entry signal for short positions. When the TICK is consistently negative, it suggests selling pressure, making shorting more attractive.
- Exit positions or take profits when the TICK starts to show signs of reversing from its extreme levels. An excessively positive TICK might indicate overbought conditions, while an overly negative TICK may signal oversold conditions.
4. Combining TICK with Other Indicators:
- It's often beneficial to combine TICK analysis with other technical and fundamental indicators to increase the accuracy of your trading decisions. For example, you could use moving averages, RSI, or support and resistance levels to confirm your entry and exit points.
5. Low Float Stocks and TICK:
- Low float stocks can be more volatile, making TICK analysis even more crucial. In these cases, watch for extreme TICK readings, as they can trigger rapid price movements.
- Be cautious when trading low float stocks, as they can be susceptible to price manipulation due to limited liquidity. Use proper risk management techniques, like setting stop-loss orders.
6. Stay Informed:
- Keep an eye on news and events that might explain sudden shifts in market sentiment. Unexpected news, economic releases, or geopolitical events can quickly change market dynamics.
Asset PerformanceThis indicator calculates actual changes in the asset value, based on the assumption that changes in the dollar value are correlated with changes in the dollar index.
The calculation begins by converting the asset price to dollars. It is then multiplied by the dollar index. This value itself has no inherent meaning, but changes in this value reflect actual changes in the asset value.
SETTINGS
Bars
The calculation starts from the number of bars back.
Assets for comparison
Optional. Any 6 assets for comparison.
Enabling the ADJ on the chart will display the value including dividends.
Combined Indicator by rocky vermaThe combined indicator you've provided consists of three different indicator logics. Here's how to use it:
1. **Indicator 1: Trend Trader AVR Strategy**
- This indicator is based on the Trend Trader AVR Strategy.
- It uses three input parameters: `Length1`, `LengthMA1`, and `Multiplier1`.
- The indicator plots a moving average (`nResMA1`) and changes the bar color based on certain conditions.
- The conditions for changing the bar color are defined in the `pos1` variable.
2. **Indicator 2: HYE Trend Hunter**
- This indicator is based on the HYE Trend Hunter strategy.
- It uses various input parameters such as `slowtenkansenPeriod`, `slowkijunsenPeriod`, `fasttenkansenPeriod`, and `fastkijunsenPeriod`.
- The logic of this indicator is not fully provided in your code snippet, but it seems to calculate various values related to the HYE Trend Hunter strategy.
3. **Indicator 3: Phenom**
- This indicator provides EMA (Exponential Moving Average) lines with different lengths.
- It allows you to configure whether to display EMA lines and their colors.
- Additionally, it provides options to display stop loss levels based on ATR (Average True Range).
To use this combined indicator:
- Apply it to a chart in TradingView by copying the entire code snippet and pasting it into the Pine Script editor.
- Configure the input parameters for each of the three indicator logics as desired. You can adjust the input values in the indicator's settings panel on the chart.
- You can also modify the indicator's appearance by changing the plot colors or turning on/off specific components.
- Once you have configured the input parameters and appearance settings to your liking, you can then interpret the signals and information provided by the three indicator logics on the chart.
Keep in mind that this is a basic combination of the three indicators you provided, and it may require further customization to meet your specific trading strategy and preferences. Additionally, ensure you thoroughly understand the strategies and conditions used by each of the indicators to make informed trading decisions.
OBV Daily High Low Box Realtime (On Balance Volume)Overview
This indicator plots horizontal lines at the daily high and low levels of the On Balance Volume (OBV).
The numerical lines for each day are updated in real-time as the OBV high and low values change.
Please note that there are limitations on how far back in history the indicator can go due to Pine Script's object drawing limitations.
Multi-Asset Performance [Spaghetti] - By LeviathanThis indicator visualizes the cumulative percentage changes or returns of 30 symbols over a given period and offers a unique set of tools and data analytics for deeper insight into the performance of different assets.
Multi Asset Performance indicator (also called “Spaghetti”) makes it easy to monitor the changes in Price, Open Interest, and On Balance Volume across multiple assets simultaneously, distinguish assets that are overperforming or underperforming, observe the relative strength of different assets or currencies, use it as a tool for identifying mean reversion opportunities and even for constructing pairs trading strategies, detect "risk-on" or "risk-off" periods, evaluate statistical relationships between assets through metrics like correlation and beta, construct hedging strategies, trade rotations and much more.
Start by selecting a time period (e.g., 1 DAY) to set the interval for when data is reset. This will provide insight into how price, open interest, and on-balance volume change over your chosen period. In the settings, asset selection is fully customizable, allowing you to create three groups of up to 30 tickers each. These tickers can be displayed in a variety of styles and colors. Additional script settings offer a range of options, including smoothing values with a Simple Moving Average (SMA), highlighting the top or bottom performers, plotting the group mean, applying heatmap/gradient coloring, generating a table with calculations like beta, correlation, and RSI, creating a profile to show asset distribution around the mean, and much more.
One of the most important script tools is the screener table, which can display:
🔸 Percentage Change (Represents the return or the percentage increase or decrease in Price/OI/OBV over the current selected period)
🔸 Beta (Represents the sensitivity or responsiveness of asset's returns to the returns of a benchmark/mean. A beta of 1 means the asset moves in tandem with the market. A beta greater than 1 indicates the asset is more volatile than the market, while a beta less than 1 indicates the asset is less volatile. For example, a beta of 1.5 means the asset typically moves 150% as much as the benchmark. If the benchmark goes up 1%, the asset is expected to go up 1.5%, and vice versa.)
🔸 Correlation (Describes the strength and direction of a linear relationship between the asset and the mean. Correlation coefficients range from -1 to +1. A correlation of +1 means that two variables are perfectly positively correlated; as one goes up, the other will go up in exact proportion. A correlation of -1 means they are perfectly negatively correlated; as one goes up, the other will go down in exact proportion. A correlation of 0 means that there is no linear relationship between the variables. For example, a correlation of 0.5 between Asset A and Asset B would suggest that when Asset A moves, Asset B tends to move in the same direction, but not perfectly in tandem.)
🔸 RSI (Measures the speed and change of price movements and is used to identify overbought or oversold conditions of each asset. The RSI ranges from 0 to 100 and is typically used with a time period of 14. Generally, an RSI above 70 indicates that an asset may be overbought, while RSI below 30 signals that an asset may be oversold.)
⚙️ Settings Overview:
◽️ Period
Periodic inputs (e.g. daily, monthly, etc.) determine when the values are reset to zero and begin accumulating again until the period is over. This visualizes the net change in the data over each period. The input "Visible Range" is auto-adjustable as it starts the accumulation at the leftmost bar on your chart, displaying the net change in your chart's visible range. There's also the "Timestamp" option, which allows you to select a specific point in time from where the values are accumulated. The timestamp anchor can be dragged to a desired bar via Tradingview's interactive option. Timestamp is particularly useful when looking for outperformers/underperformers after a market-wide move. The input positioned next to the period selection determines the timeframe on which the data is based. It's best to leave it at default (Chart Timeframe) unless you want to check the higher timeframe structure of the data.
◽️ Data
The first input in this section determines the data that will be displayed. You can choose between Price, OI, and OBV. The second input lets you select which one out of the three asset groups should be displayed. The symbols in the asset group can be modified in the bottom section of the indicator settings.
◽️ Appearance
You can choose to plot the data in the form of lines, circles, areas, and columns. The colors can be selected by choosing one of the six pre-prepared color palettes.
◽️ Labeling
This input allows you to show/hide the labels and select their appearance and size. You can choose between Label (colored pointed label), Label and Line (colored pointed label with a line that connects it to the plot), or Text Label (colored text).
◽️ Smoothing
If selected, this option will smooth the values using a Simple Moving Average (SMA) with a custom length. This is used to reduce noise and improve the visibility of plotted data.
◽️ Highlight
If selected, this option will highlight the top and bottom N (custom number) plots, while shading the others. This makes the symbols with extreme values stand out from the rest.
◽️ Group Mean
This input allows you to select the data that will be considered as the group mean. You can choose between Group Average (the average value of all assets in the group) or First Ticker (the value of the ticker that is positioned first on the group's list). The mean is then used in calculations such as correlation (as the second variable) and beta (as a benchmark). You can also choose to plot the mean by clicking on the checkbox.
◽️ Profile
If selected, the script will generate a vertical volume profile-like display with 10 zones/nodes, visualizing the distribution of assets below and above the mean. This makes it easy to see how many or what percentage of assets are outperforming or underperforming the mean.
◽️ Gradient
If selected, this option will color the plots with a gradient based on the proximity of the value to the upper extreme, zero, and lower extreme.
◽️ Table
This section includes several settings for the table's appearance and the data displayed in it. The "Reference Length" input determines the number of bars back that are used for calculating correlation and beta, while "RSI Length" determines the length used for calculating the Relative Strength Index. You can choose the data that should be displayed in the table by using the checkboxes.
◽️ Asset Groups
This section allows you to modify the symbols that have been selected to be a part of the 3 asset groups. If you want to change a symbol, you can simply click on the field and type the ticker of another one. You can also show/hide a specific asset by using the checkbox next to the field.
Buyer/Seller Dominance ©TMW
The "Buyer/Seller Dominance" indicator script, developed by Deepanshu Sharma under The Market Wisdom (TMW), is a powerful analytical tool designed for use on the TradingView platform. This script is released under the Mozilla Public License 2.0, and it offers traders and investors an innovative perspective on market dynamics by assessing the relative strength of buyers and sellers within a given time frame.
Key Features:
1. Dominance Calculation: The indicator calculates the dominance of buyers and sellers over a specified number of candles. Users can define the number of candles (`n`) to consider in the dominance calculation.
2. Visual Representation: The script provides a visual representation of buyer and seller dominance using colored columns on the price chart. Green columns represent buyer dominance, while red columns represent seller dominance.
3. Balance Line: The indicator includes a dashed horizontal line at the zero level, representing a balance point between buyer and seller dominance. When the green and red columns cross this line, it signifies shifts in market sentiment.
How it Works:
The script divides the historical price data into segments of specified candle count (`n`) and assesses each segment's dominance. It calculates the volume associated with both green (bullish) and red (bearish) candles within each segment.
If a candle's closing price is higher than its opening price, it is considered a green candle. Similarly, if the closing price is lower than the opening price, the candle is classified as red. The volume of each respective type of candle is then accumulated for each segment.
The script plots the cumulative green candle volume as the "Buyer Dominance" column and the cumulative red candle volume as the "Seller Dominance" column. This visual representation helps traders gauge the ebb and flow of buyer and seller strength in the market.
Disclaimer :
The indicator is provided for informational purposes only and should not be considered as financial advice. It's important to conduct thorough research and analysis before making any trading decisions. The creator, Deepanshu Sharma, and "The Market Wisdom" team are not responsible for any trading losses incurred based on the usage of this indicator.
Remember that trading involves risks, and historical performance may not necessarily predict future results. Always consider multiple indicators, market trends, and risk management strategies when making trading decisions.
JK - Q SuiteThis indicator is primarily for identifying pauses in Stage 2 uptrends, modelled on Qullamaggie's style of trading, but fits well with many traders including William O' Neil. or Mark Minervini.
I built this for my own purposes, and have gradually added range of tools into a single suite. My goal has also to be as clean as possible, while providing clear, actionable information.
This suite includes all of the following:
Moving averages (10, 20, 50, 200)
Coloured bars showing tightening price (blue under 75% of ADR, orange under 50% of ADR)
A 'markets' dashboard (top-right), showing the major indexes. Red if 10<20MA, or price <20MA
A 'sectors' dashboard (top-right, below markets). Red if 5<10MA, or price <10MA - see note below
Strength / Weakness information - two cells at the top, bottom-right. See below
Stock information - glanceable stock info as quick filters. The thresholds for ADR, Average volume, and Dollar Volume can be customised.
NOTE - if the 'tightening coloured candles' are not showing, the indicator needs to be at the top of the stack. Click the triple squares at the very bottom-right of the TradingView interface, and drag the indicator to the top, should work then!
=============
Sectors
These are based on the 11 official Sectors, tracked using index funds (XLY, XLK etc). HOWEVER, TradingView does NOT use the official 11 sectors - therefore I've done my best to match TradingViews ones to the official ones, but doesn't always work... e.g. 'Electronic Technology' is typically semiconductors, which are classes as 'Industrials', but Apple is the same sector in TV, but classed as 'Technology' using the official 11 Sectors.
If TradingView move to use the official 11 I'll update this, but for now it's a best guess and will sometimes be wrong, sorry!
Strength / Weakness information
This was an experiment in trying not to give too much back to the market! Typically the strategy would be to sell if price closes below 10MA (Weakness), however there may be large pops that can be advantageous to sell into.
The 'Strength' information (top cell, bottom-right), checks how far the price is extended above 10MA - this is customisable as a multiple of ADR. You may find that in weak markets (like now), it can be best to take profits quickly - in good markets, you could increase this as stocks make bigger or more sustained moves.
=============
While I'm not the best coder - and I've hacked and tried and changed different things - this has been a labour of love and essential for me.
If you have any suggestions, while I may or may not be able to implement them, I'm certainly open to ideas!
3M_RANGE/ErkOzi/Hello Dear Investors,
Today, I'd like to introduce you to an indicator called "3M Range" and explain how this indicator is calculated, as well as the kind of strategy it can offer.
What is the 3M Range Indicator?
"3M Range" is an analytical tool designed to identify and visualize market movements within three-month periods. This indicator employs specific levels and Fibonacci levels to assist investors in understanding market trends.
How is it Calculated?
The indicator utilizes the opening, highest, and lowest prices of three-month periods starting on Mondays. By using these prices, the indicator tracks weekly opening prices and marks the opening prices every Monday.
How Does the Indicator's Strategy Work?
Using this indicator, you can refine your long-term investment strategies:
Identify Three-Month Periods: The indicator follows the opening, highest, and lowest prices in three-month periods. This allows for a clearer understanding of long-term trends.
Utilize Fibonacci Levels: The indicator calculates Fibonacci levels to show support and resistance levels. These levels can help predict potential reversals or ongoing movements.
Observe Monday Opening Prices: The indicator distinctly marks Monday opening prices. This helps you capture potential movements at the beginning of the week.
Evaluate Trends and Opportunities: By using the indicator, you can observe long-term trends and potential market opportunities more clearly.
In Conclusion,
The "3M Range" indicator provides long-term investors with a better analytical tool by showcasing market movements within three-month periods. The indicator marks Monday opening prices and allows for analysis supported by Fibonacci levels. By using this indicator, you can shape your long-term investment strategies more consciously.
Always remember that, as with anything, making careful and informed decisions is crucial when investing. I hope this indicator helps you better navigate your long-term investments.
Note: Understanding market risks and utilizing analytical tools carefully is always important. Best of luck!
TICK Strength Background ShadeThis indicator shades the background of each candle based on the strength off the current TICK.US chart. User can define the strength levels, which are by default set to 1-299 (lightest), 300-599, and 600+ (darkest). Best used on lower timeframe charts to help identify whether or not to remain in a trend, or if a trend is possibly reversing when you start to see the opposite color begin to appear following a trend.
Rectified BB% for option tradingThis indicator shows the bollinger bands against the price all expressed in percentage of the mean BB value. With one sight you can see the amplitude of BB and the variation of the price, evaluate a reenter of the price in the BB.
The relative price is visualized as a candle with open/high/low/close value exspressed as percentage deviation from the BB mean
The indicator include a modified RSI, remapped from 0/100 to -100/100.
You can choose the BB parameters (length, standard deviation multiplier) and the RSI parameter (length, overbougth threshold, ovrsold threshold)
You can exclude/include the candles and the RSI line.
The indicator can be used to sell options when the volatility is high (the bollinger band is wide) and the price is reentering inside the bands.
If the price is forming a supply or demand area it can be a good opportunity to sell a bull put or a bear call
The RSI can be used as confirm of the supply/demand formation
If the bollinger band is narrow and the RSI is overbought/oversold it indicate a better opportunity to buy options
the indicator is designed to work with daily timeframe and default parameters.
McClellan Indicators (Oscillator, Summation Index w/ RSI & MACD)Four indicators in one based on the McClellan Oscillator for both the NYSE and Nasdaq exchanges. Designed to be used in conjunction with each other- plot the Oscillator (Osc), Summation Index (MSI), and RSI/MACD of the MSI on both your SPX and Nasdaq chart. Select the exchange and indicator within the settings. These tools are secondary- but when the signals are combined with the action of the index and stocks can be helpful in identifying market turns and trend strength.
McClellan Oscillator--
The Osc is a market breadth tool that uses a fast and slow EMA based on the difference between advancing and declining stocks on the exchange. Used primarily to identify breadth thrusts, divergences, and extremes (oversold/overbought). Plot horizontal levels to see when the market internals are extremely overbought or oversold, and take note of when the Osc is declining while the market is advancing or vice versa.
McClellan Summation Index--
For intermediate trends the MSI is a running total of the Osc which can be used to confirm the strength of a trend, and spot potential reversals. A 10 period ema is included on this indicator, where crossovers can aid in spotting the change in trend of market internals, and divergences can identify when market internals are not in line with the trend. Shading is applied for when the internals are in a bullish or bearish trend.
Two additional indicators are the RSI and MACD of the Summation Index. An overbought or oversold MSI RSI generally indicates a strong trend in the market internals, however you may want to take note when the RSI stalls and begins to "hook" in the opposite direction. This indicator has signals to show when the market internals may be turning and to be on lookout for trend change.
Similarly- the MACD of the MSI identifies the strength of the trend, and crossovers can be used to help spot reversals. Shading is included in this indicator to spot the bullish/bearish trend of internals.
Cumulative Advance-Decline LineLine that shows the cumulative sum of stocks advancing less declining for either the NYSE or Nasdaq. Includes 10/20/50 day averages and shading when the line is above or below the 20 ema.
Exchange Net Highs-LowsDisplays the net new 52 week highs - 52 week lows for either the NYSE or Nasdaq. Select colors and moving average input within the settings.
Short Term IndeXThe Short-Term Index (STIX) is a simple market indicator designed to assess short-term overbought or oversold conditions in the stock market. Leveraging a combination of advancing and declining issues, STIX provides valuable insights into market sentiment and potential reversals. To enhance its interpretability and reveal the underlying trend with greater clarity, STIX has been refined through a Heiken-Ashi transformation, ensuring a smoother representation of market dynamics.
Calculation and Methodology:
stix = ta.ema(adv / (adv + dec) * 100, len)
STIX is calculated by dividing the difference between the sum of advancing issues (ADV) by the total number of issues traded (ADV + DEC). This quotient is multiplied by 100 to express the result as a percentage. The STIX index ranges from 0 to 100, where extreme values indicate potential overbought (mainly above 60) or oversold (mainly below 40) market conditions.
Heiken-Ashi Transformation:
By applying a Heiken-Ashi transformation to STIX, the indicator gains improved visual clarity and noise reduction. This transformation enhances the ability to identify trend shifts and potential reversal points, making it an even more valuable tool for traders and investors.
Utility and Use Cases:
-The Short-Term Index (STIX) offers a range of practical applications-
1. Overbought/Oversold Conditions: STIX provides a clear indication of short-term overbought or oversold conditions, helping traders anticipate potential market reversals.
2. Reversal Points: STIX can help pinpoint potential reversal points in short-term market trends, providing traders with opportunities to enter or exit positions.
3. Trend Analysis: By observing STIX values over time, traders can assess the strength and sustainability of short-term trends, aiding in trend-following strategies.
The Short-Term Index (STIX), enhanced by its Heiken-Ashi transformation, equips traders and investors with a tool for assessing short-term market conditions, confirming price movements, and identifying potential reversal points. Its robust methodology and refined presentation contribute to a more comprehensive understanding of short-term market dynamics, enabling traders to make well-informed trading decisions.
See Also:
- Other Market Breadth Indicators-
Bolton-Tremblay IndexThe Bolton-Tremblay Index (BOLTR) is a dynamic cumulative advance-decline indicator which incorporates the count of unchanged issues as a fundamental element. This index serves as a valuable tool for identifying shifts in market trends and gauging the overall strength or weakness of the market. To enhance its effectiveness and reveal underlying trends, BOLTR has been refined through a Heiken-Ashi transformation, resulting in a smoother and more insightful representation.
Calculation and Methodology:
r = (adv - dec) / unch
var float bt = na
bt := r > 0 ? nz(bt ) + math.sqrt(math.abs(r)) : nz(bt ) - math.sqrt(math.abs(r))
The BOLTR index is derived from a calculation involving three essential components: advancing issues (ADV), declining issues (DEC), and securities with unchanged closing prices (UNC). By formulating the ratio (ADV - DEC) / UNC, BOLTR captures the relationship between market movements and unchanged securities. This ratio then dictates whether the BOLTR index increases or decreases in the following period. If the ratio is positive, the index advances, and if negative, it retreats. This iterative process yields a cumulative index that reflects the evolving dynamics of market trends.
Heiken-Ashi Transformation:
The addition of a Heiken-Ashi transformation imparts a smoothing effect to the BOLTR index, revealing the underlying trend with greater clarity. This transformation diminishes noise and fluctuations, making it easier to identify meaningful shifts in market sentiment and overall market health.
Utility and Use Cases:
-The Bolton-Tremblay Index offers a range of applications that contribute to informed decision-making-
1. Trend Analysis: BOLTR provides insights into the changing trends of the market, helping traders and investors identify potential shifts in market sentiment.
2. Market Strength Assessment: By considering advancing, declining, and unchanged issues, BOLTR offers a comprehensive assessment of market strength and potential weaknesses.
3. Divergences: Traders can use BOLTR to detect divergences between price movements and the cumulative advance-decline dynamics, potentially signaling shifts in market direction.
The Bolton-Tremblay Index offers a versatile toolset for interpreting market trends, evaluating market health, and making better informed trading decisions.
See Also:
- Other Market Breadth Indicators-
MarketSmith Daily Market IndicatorsMarketSmith Daily Market Indicators is designed to mimic the Daily Market Indicators tab found in MarketSmith. This tab contains 4 different secondary indicators to help gauge the health of the overall market.
This indicator allows you to choose which of the 4 indicators to show, as well as which index to pull data from, Nasdaq or NYSE. There is also a snapshot table showing the following:
# of stock advancing and up volume
# of stocks declining and down volume
# of stock unchanged and unchanged volume
# of stocks making new highs and new lows
Now let's look at the 4 indicators and how they work.
Advance/Decline Line
Plots the number of advancing shares vs the number of declining shares. Heavily weighted index stocks can skew price action, this line helps reveal that and whether most stocks are aligned with the trend.
Short Term Overbought/Oversold Oscillator
A 10-day moving average of the number of stocks moving up in price less the number of stocks moving down in price.
10 Day Moving Average of Up & Down Volume
Two 10 day moving averages to represent the volume of all stocks. Blue line: total volume of all stocks moving up in price. Red line: the total volume of all stocks moving down in price.
10 Day Moving Average of New Highs & New Lows
Two 10-day moving average to represent stocks making new highs and new lows. Blue line: The number of stocks making new price highs. Red line: The number of stocks reaching new lows.
Note this indicator is designed to work on a daily time frame chart. Data typically updates 90 minutes after the close. Data may differ from Marketsmith due to different providers, however the general trends are the same.
Gaussian Average Rate Oscillator
Within the ALMA calculation, the Gaussian function is applied to each price data point within the specified window. The idea is to give more weight to data points that are closer to the center and reduce the weight for points that are farther away.
The strategy calculates and compares two different Rate of Change (ROC) indicators: one based on the Arnaud Legoux Moving Average (ALMA) and the other based on a smoothed Exponential Moving Average (EMA). The primary goal of this strategy is to identify potential buy and sell signals based on the relationship between these ROC indicators.
Here's how the strategy logic works
Calculating the ROC Indicators:
The script first calculates the ROC (Rate of Change) of the smoothed ALMA and the smoothed EMA. The smoothed ALMA is calculated using a specified window size and is then smoothed further with a specified smoothing period. The smoothed EMA is calculated using a specified EMA length and is also smoothed with the same smoothing period.
Comparing ROCs:
The script compares the calculated ROC values of the smoothed ALMA and smoothed EMA.
The color of the histogram bars representing the ROC of the smoothed ALMA depends on its relationship with the ROC of the smoothed EMA. Green indicates that the ROC of ALMA is higher, red indicates that it's lower, and black indicates equality.
Similarly, the color of the histogram bars representing the ROC of the smoothed EMA is determined based on its relationship with the ROC of the smoothed ALMA, they are simply inversed so that they match.
With the default color scheme, green bars indicate the Gaussian average is outperforming the EMA within the breadth and red bars mean it's underperforming. This is regardless of the rate of average price changes.
Generating Trade Signals:
Based on the comparison of the ROC values, the strategy identifies potential crossover points and trends. Buy signals could occur when the ROC of the smoothed ALMA crosses above the ROC of the smoothed EMA. Sell signals could occur when the ROC of the smoothed ALMA crosses below the ROC of the smoothed EMA.
Additional Information:
The script also plots a zero rate line at the zero level to provide a reference point for interpreting the ROC values.
In summary, the strategy attempts to capture potential buy and sell signals by analyzing the relationships between the ROC values of the smoothed ALMA and the smoothed EMA. These signals can provide insights into potential trends and momentum shifts in the price data.
Relative Strength Volume ComparisonThe Relative Strength Volume Comparison is a powerful tool that can help traders identify the current trend based on volume pressure and potential reversals.
This oscillator is made of two lines and the overbought and oversold levels. Each of these two lines is a relative-strength formula that contains both the famous RSI and CCI formulas, smoothed by a Hull moving average.
The two lines are different for input. The colored line is based just on price and changes color based on the relation with the other line. The second line uses as input an average of three different popular volume indicators: The OBV, the Accumulation/Distribution, and the PVT.
Thanks to this tool, which uses 6 different formulas combined, traders can:
- Identify the current trend direction, based on the color of the area fill and the first colored line
- Identify potential reversal areas thanks to the overbought and oversold levels, customizable in the input section alongside the length and smoothing parameters.
Price Depth Analysis to the MAHello Traders! Today, I bring you an indicator that can greatly assist you in your trading. This indicator aims to analyze the Expansion and Contraction process of the price in relation to a moving average. We refer to "Expansion" when the price moves away from the moving average; a significant expansion could signal that the asset is in a strong trend. On the other hand, when we refer to "Contraction", it's when the price approaches or returns to the moving average. A contraction could signal that the asset is losing momentum and might be preparing for a trend change or consolidation.
To use the indicator, the first thing you need to do is define the type of analysis you want to perform (from the indicator settings) whether you want to evaluate prices above the moving average or below. You should also select the type of moving average and its period.
The indicator will search for the maximum distance in all the chart bars, which will be represented with a yellow label.
From that value, the indicator will generate a certain number of proportional levels (configurable up to 20) and will count all the bars that reached each level. This will be represented in a table showing both the number of bars that reached each range and the percentage in relation to the total bars of all ranges.
Additionally, there's the possibility to view the ranges directly for the current price, providing a good reference.
>> Alerts:
The indicator comes with alerts that notify traders about specific price movements in relation to a moving average (MA). These alerts are triggered when the price enters different ranges, either above or below the MA.
>> Settings:
- Type of Analysis: Users can choose to analyze the price either above or below the MA.
- Length of the moving average: Length of the MA.
- Source of the moving average: Source to calculate the MA (e.g., close, open).
- Type of moving average: Type of MA (SMA, EMA, WMA, VWMA, HMA).
- Show Moving Average: Option to display or hide the MA on the chart.
- Number of levels: Number of levels or ranges to categorize the distance between the price and the MA.
- Number of decimals: Number of decimals to display in labels and tables.
- Show Ranges: Option to display or hide the ranges on the chart.
- Extend Range: Extension of the ranges into future bars.
- Range Fill Transparency: Transparency of the range fill.
>> Potential Utility of the Indicator:
- Entry and Exit Optimization:
By understanding the percentages of each range, traders can identify optimal levels to enter or exit a trade, maximizing profits and minimizing losses.
- Risk Management:
Range percentages can help determine market volatility. A range with a high percentage indicates greater volatility, which can be useful for setting wider stop losses or adjusting position size.
- Overbought and Oversold Zone Identification:
If a price is at the upper or lower extreme of its percentage range, it may indicate overbought or oversold conditions, respectively. These zones can be opportunities for counter-trend trades.
- Momentum Assessment:
A rapid change in range percentages can indicate strong momentum in a particular direction. Traders can use this information to ride the momentum wave or prepare for a potential reversal.
- False Signal Filtering:
By combining range percentage knowledge with other indicators, traders can filter out signals that might be less reliable, thus improving trade accuracy.
- Strategic Planning:
Knowing range percentages allows traders to adapt their strategies according to market conditions. For instance, in a market with narrow ranges and low percentages, they might opt for range strategies. In markets with wide ranges and high percentages, they might look for trend strategies.
- Trend Strength Evaluation:
If range percentages show that the price consistently stays at one end of the range, this may signal a strong and sustained trend.
- Improved Trading Discipline:
By basing trading decisions on quantitative data like range percentages, traders can trade more objectively and disciplined, avoiding impulsive or emotion-based decisions.
>> Future Indicator Update:
- In future versions, we plan to incorporate a detailed analysis based on the historical behavior of candles after the price enters a specific range. For instance, if after an upward movement the price enters a certain range and historically, the next candle tends to be bearish in a high percentage of occasions, this information will be highlighted and presented clearly to the user. The idea behind this addition is to provide traders with a statistical edge, allowing them to anticipate potential market movements with greater accuracy. Moreover, this information could be used to seek trading opportunities in smaller timeframes, aligning the trade direction based on the probability of this mentioned candle.
>> Conclusions:
- In summary, a detailed understanding of each range's percentages in an indicator provides traders with a valuable tool to analyze the market, make informed decisions, and enhance their trading. By grasping the significance of these percentages, traders can adapt their strategies and techniques to fully leverage the opportunities the market presents.