WP_MMThis indicator is set with 3 EMA's:
- EMA9
- EMA20
- EMA50
When EMA9 is up to EMA20 and:
- the distance between them is up to 30 ticks
- both is directional ( diff between current ema and last ema is up to 15 ticks )
the range will be painted in green. And if the EMA 9 is below EMA20 and
the same rules above is true, rthe range will be painted in red
Strengh Candle:
- Candle without huge shadow
- If is bearish minium down shadow
- if is bullish minimum up shadow
OBS: More info inside code comments
Индикаторы ширины рынка
Price Deviation
This indicator, named "Price Deviation," is designed to compare the percentage change in the price of the current instrument (e.g., BNBUSDT.P) with a comparison instrument (e.g., BTCUSDT.P) over a specified timeframe. It provides the option to apply smoothing to the data and displays the results as lines on the chart. The blue line represents the percentage change in the current instrument, and the red line represents the percentage change in the comparison instrument. Additionally, labels are created for both instruments, showing their names, with the blue label for the current instrument and the red label for the comparison instrument.
------------
Этот индикатор с названием "Price Deviation" разработан для сравнения процентного изменения цены текущего инструмента (например, BNBUSDT.P) с инструментом сравнения (например, BTCUSDT.P) за определенный временной интервал. Он предоставляет опцию для сглаживания данных и отображает результаты в виде линий на графике. Синяя линия представляет собой процентное изменение цены текущего инструмента, а красная линия - процентное изменение цены инструмента сравнения. Кроме того, создаются метки для обоих инструментов, отображая их названия, с синей меткой для текущего инструмента и красной меткой для инструмента сравнения.
Previous Day High and Low + Separators Daily/WeeklyPrevious Day High and Low + Separators Daily/Weekly is an indicator based on separators of days and weeks and at the same time points out the previous highs and lows, everything is marked by lines, it consists of creating a clean graph and separated by the different trading days, referring to the extreme points created the previous day.
USEAGE
Point to each day of the week at the top of the chart to get a time location in your trading week and day sparation determined by 00:00 of any timezone.
The reference of the previous day's higs and LOWS is vitally important to understand which direction is most likely for the next day, either continuation or reversal.
DETAILS
As you can see you will be able to adapt these lines according to your chart design and with the desired intensity of appearance.
SETTINGS
UTC OFFSET: Determine your TIMEZONE in this section.
DAILY SEPARATOR: You have the option to change the color, style, width and text color.
WEEKLY SEPARATOR: You have the option to change the color, style, width and text color.
PREVIOUS HIGS & LOWS: You have the option to change the color, style, width and text color.
TA Market Health GaugeThe Market Health Gauge is designed to identify the “health” of the overall stock market. Healthy bullish conditions are when investors should consider being more aggressive and taking full or even overweight positions. Inversely, when conditions are poor, caution is advised. Some investors may choose to simply sit out when markets are not healthy and trending.
To achieve this, we use a combination of key trend levels, market breadth indicators, and internal measurements.
One is the net reading of new highs & lows. In a healthy market, the number of stocks making new 52-week highs should be greater than the number of stocks making new 52-week lows. The opposite circumstance is to see more stocks are making new lows. This represents a less healthy trading environment and therefore weighs negatively on market health.
The indicator also factors in the percentage of stocks across all major exchanges trading above or below their short and long-term moving averages. This gives a good measure of how much of the stock market is in an uptrend versus a downtrend. Instead of using an arbitrary number and requiring a set % of stocks to be above these key levels before giving a green light, this indicator looks at the trend of these reading. In a healthy market, we want to see broad participation from stocks, so the percentage of stocks in uptrends versus downtrends should be rising to produce bullish conditions.
Other key trend levels are monitored for the major index. SPY which represents the S&P 500 is used by default, but users can change the benchmark index in the indicator settings.
The Market Health Gauge will paint the background of the chart to display one of five readings:
Bright Green : very bullish
Green : bullish
No Color : neutral
Light Red : bearish
Bright Red : very bearish
In addition to the red/green readings to represent bullish or bearish conditions, we have also added yellow dots to signify potential turning points in the market.
One reading Ross likes to watch for potential bottom signals during pullbacks is the put/call ratio. When this ratio gets abnormally high representing an overly bearish sentiment in the market, stocks often bounce.
By adding a simple moving average to the put/call ratio to smooth out the readings, we have seen that readings above 1.00 typically come at the low (see chart below).
To alert traders when this happens, the indicator will paint a yellow dot on top of the Market Health Gauge. This is not a buy signal by itself, but dots showing up on the chart just before conditions improve, i.e. turn from red to light red or green, we view this as an even more bullish sign to get aggressive on the long side.
% Above 50 DMADisplays the % of stocks above their 50 day average and the 5 and 20 ema of the indicator. Often the market will trend up when the 5ema is above the 20ema for this indicator, or down when vice versa. The 20% and 80% levels are plotted to show potentially oversold or overbought markets. Select NYSE or Nasdaq in the settings.
Cumulative Net Highs-Lows (4 Week)Plots the cumulative total of net new highs minus lows over the past 4 weeks and the 10 ema of the calculation. Settings allow choice of NYSE and Nasdaq. Signal shading for when the indicator is above the 10 ema, showing a rising trend of net highs-lows. Similar to the TC2000 T2123 indicator.
Dynamic Day Lines-1Dynamic Day Lines. These lines are dynamic and they detect high, low and mid of the day. Above midline, day is bullish and below mid line day is bearish. If price is at high of the day, and starts to move down, I wont be bearish until it breaks the midline and wait patiently.
Enio_SPX_Accumulation/DistributionThis indicator handles the same inputs used for classic Accumulation and Distribution indicators, but performs the calculations in a different way.
This indicator is used to compare the positive volume (up volume) and the number of advancing stocks against the negative volume (down volume) and the number of declining stocks.
This indicator only measures SPX market breadth (Advancing issues, Declining issues) and SPX volume (Up and down volume)so it is for use only with SPX, SPY or MES. It can also be used with ES, but data outside of regular trading hours is not provided, the indicator in those cases will print a block of the same height and same color as the last RTH bar.
When the histogram is positive or green, the bars change to a lighter color if the current bar is less than the average of the last 3 bars. A continued set of bars with a lighter color could mean that the trend is about to change.
When the histogram is negative or red, the bars change to a lighter color if the current bar is greater than the average of the last 3 bars. A continued set of bars with a lighter color could mean that the trend is about to change.
When the histogram height is low, could signal a choppy market (SPX).
The histogram can help indicate a trending market when the opening trend is maintained and the color of the bars does not change, for example, a solid green increasing histogram can indicate a bullish trending market, while a solid red decreasing histogram will indicate a strong bearish trend.
In intraday trading the indicator can signal if the SPX price changes are supported by volume and market breadth and also allows you to see when these changes or trend are weakening.
The change from green (positive) to red (negative) and vice versa should not be taken alone as a buy/sell signal but as a confirmation of signals from other indicators you trust.
Due to the great specific weight that some stocks have within the SPX price calculation, the divergences of this indicator with SPX, can be taken as warning signals, but should not become an element of trading decisions. . You could see a negative histogram while SPX is positive and vice versa.
TPG.Buy sell RSI Scapl XAUThis is a tool that is widely used
Especially for Overbought and Oversold systems, but I have made some changes in this indicator,
How to use it...
I have set it as the default setting
- RSI Length: 6 (<10 for scalping - 5m-15m)
- Overbought: 70
- Oversold: 30
What is unique about this tool?
we can see 3 conditions:
1) RSI Overbought / Oversold with Bullish Engulfing / Bearish Engulfing
2) RSI Overbought / Oversold with Hammer and Shooting Star
3) RSI Overbought / Oversold with 2 Bullish Bars / 2 Bearish Bars
4) RSI Overbought / Oversold with All Patterns at the same time
When the RSI reaches its Oversold line, the code will wait for Bullish Engulfing pattren, when oversold and Bullish engulfing matched, This indicator will generate a buy signal when the condition is met,
and same as for Bear market, When the RSI reaches its Overbought line, the code will wait for Bearish Engulfing pattren, This indicator will generate a sell/exit signal when the condition is met,
2nd condition is that a Hammer candle will be waited for when RSI touches the Overbought line, for Bullish Move
and Shooting Star candle will be waited for when RSI touches the Overbought line, for Bullish Move, for Bearish Move
3rd Condition is also the same as Condition 1 and Condition 2,
When the RSI reaches its Oversold line, the code will wait for 2 Bullish Bars, when oversold and 2 Bullish Bars matched then this indicator will generate a buy signal, and same as for Bear market,
When the RSI reaches its Overbought line, the code will wait for 2 Bearish Bars, when overbought and 2 Bearish Bars matched then this indicator will generate a Sell signal,
4th Condition is that we can use All Conditions at the same time,
- Bullish Engulfing / Bearish Engulfing
- Hammer and Shooting Star
- 2 Bullish Bars / 2 Bearish Bars
Market Internals (TICK, ADD, VOLD, TRIN, VIX)OVERVIEW
This script allows you to perform data transformations on Market Internals, across exchanges, and specify signal parameters, to more easily identify sentiment extremes.
Notable transformations include:
1. Cumulative session values
2. Directional bull-bear Ratios and Percent Differences
3. Data Normalization
4. Noise Reduction
This kind of data interaction is very useful for understanding the relationship between two mutually exclusive metrics, which is the essence of Market Internals: Up vs. Down. Even so, they are not possible with symbol expressions alone. And the kind of symbol expression needed to produce baseline data that can be reliably transformed is opaque to most traders, made worse by the fact that prerequisite symbol expressions themselves are not uniform across symbols. It's very nuanced, and if this last bit was confusing … exactly.
All this to say, rather than forcing that burden onto you, I've baked the baseline symbol expressions into the indicator so: 1) the transform functions consistently ingest the baseline data in the correct format and 2) you don't have to spend time trying to figure it all out. Trading is hard. There's no need to make it harder.
INPUTS
Indicator
Allows you to specify the base Market Internal and Exchange data to use. The list of Market Internals is simplified to their fundamental representation (TICK, ADD, VOLD, TRIN, VIX, ABVD, TKCD), and the list of Exchange data is limited to the most common (NYSE, NASDAQ, All US Stocks). There are also options for basic exchange combinations (Sum or Average of NYSE & NASDAQ).
Mode
Short for "Plot Mode", this is where you specify the bars style (Candles, Bars, Line, Circles, Columns) and the source value (used for single value plots and plot color changes).
Scale
This is the first and second data transformation grouped together. The default is to show the origin data as it might appear on a chart. You can then specify if each bar should retain it's unique value (Bar Value) or be added to a running total (Cumulative). You can also specify if you would like the data to remain unaltered (Raw) or converted to a directional ratio (Ratio) or a percentage (Percent Diff). These options determine the scale of the plot.
Both Ratio and Percent Diff. convert a given symbol into a positive or negative number, where positive numbers are bullish and negative numbers are bearish.
Ratio will divide Bull values by Bear values, then further divide -1 by the quotient if it is less than 1. For example, if "0.5" was the quotient, the Ratio would be "-2".
Percent Diff. subtracts Bear values from Bull values, then divides that difference by the sum of Bull and Bear values multiplied by 100. If a Bull value was "3" and Bear value was "7", the difference would be "-4", the sum would be "10", and the Percent Diff. would be "-40", as the difference is both bearish and 40% of total.
Ratio Norm. Threshold
This is the third data transformation . While quotients can be less than 1, directional ratios are never less than 1. This can lead to barcode-like artifacts as plots transition between positive and negative values, visually suggesting the change is much larger than it actually is. Normalizing the data can resolve this artifact, but undermines the utility of ratios. If, however, only some of the data is normalized, the artifact can be resolved without jeopardizing its contextual usefulness.
The utility of ratios is how quickly they communicate proportional differences. For example, if one side is twice as big as the other, "2" communicates this efficiently. This necessarily means the numerical value of ratios is worth preserving. Also, below a certain threshold, the utility of ratios is diminished. For example, an equal distribution being represented as 0, 1, 1:1, 50/50, etc. are all equally useful. Thus, there is a threshold, above which we want values to be exact, and below which the utility of linear visual continuity is more important. This setting accounts for that threshold.
When this setting is enabled, a ratio will be normalized to 0 when 1:1, scaled linearly toward the specified threshold when greater than 1:1, and then retain its exact value when the threshold is crossed. For example, with a threshold of "2", 1:1 = 0, 1.5:1 = 1, 2:1 = 2, 3:1 = 3, etc.
With all this in mind, most traders will want to set the ratios threshold at a level where accuracy becomes more important than visual continuity. If this level is unknown, "2" is a good baseline.
Reset cumulative total with each new session
Cumulative totals can be retained indefinitely or be reset each session. When enabled, each session has its own cumulative total. When disabled, the cumulative total is maintained indefinitely.
Show Signal Ranges
Because everything in this script is designed to make identifying sentiment extremes easier, an obvious inclusion would be to not only display ranges that are considered extreme for each Market Internal, but to also change the color of the plot when it is within, or beyond, that range. That is exactly what this setting does.
Override Max & Min
While the min-max signal levels have reasonable defaults for each symbol and transformation type, the Override Max and Override Min options allow you to … (wait for it) … override the max … and min … signal levels. This may be useful should you find a different level to be more suitable for your exact configuration.
Reduce Noise
This is the fourth data transformation . While the previous Ratio Norm. Threshold linearly stretches values between a threshold and 0, this setting will exponentially squash values closer to 0 if below the lower signal level.
The purpose of this is to compress data below the signal range, then amplify it as it approaches the signal level. If we are trying to identify extremes (the signal), minimizing values that are not extreme (the noise) can help us visually focus on what matters.
Always keep both signal zones visible
Some traders like to zoom in close to the bars. Others prefer to keep a wider focus. For those that like to zoom in, if both signals were always visible, the bar values can appear squashed and difficult to discern. For those that keep a wider focus, if both signals were not always visible, it's possible to lose context if a signal zone is vertically beyond the pane. This setting allows you to decide which scenario is best for you.
Plot Colors
These define the default color, within signal color, and beyond signal color for Bullish and Bearish directions.
Plot colors should be relative to zero
When enabled, the plot will inherit Bullish colors when above zero and Bearish colors when below zero. When disabled and Directional Colors are enabled (below), the plot will inherit the default Bullish color when rising, and the default Bearish color when falling. Otherwise, the plot will use the default Bullish color for all directions.
Directional colors
When the plot colors should be relative to zero (above), this changes the opacity of a bars color if moving toward zero, where "100" percent is the full value of the original color and "0" is transparent. When the plot colors are NOT relative to zero, the plot will inherit Bullish colors when rising and Bearish colors when falling.
Differentiate RTH from ETH
Market Internal data is typically only available during regular trading hours. When this setting is enabled, the background color of the indicator will change as a reminder that data is not available outside regular trading hours (RTH), if the chart is showing electronic trading hours (ETH).
Show zero line
Similar to always keeping signal zones visible (further up), some traders prefer zooming in while others prefer a wider context. This setting allows you to specify the visibility of the zero line to best suit your trading style.
Linear Regression
Polynomial regressions are great for capturing non-linear patterns in data. TradingView offers a "linear regression curve", which this script is using as a substitute. If you're unfamiliar with either term, think of this like a better moving average.
Symbol
While the Market Internal symbol will display in the status line of the indicator, the status line can be small and require more than a quick glance to read properly. Enabling this setting allows you to specify if / where / how the symbol should display on the indicator to make distinguishing between Market Internals more efficient.
Speaking of symbols, this indicator is designed for, and limited to, the following …
TICK - The TICK subtracts the total number of stocks making a downtick from the total number of stocks making an uptick.
ADD - The Advance Decline Difference subtracts the total number of stocks below yesterdays close from the total number of stocks above yesterdays close.
VOLD - The Volume Difference subtracts the total declining volume from the total advancing volume.
TRIN - The Arms Index (aka. Trading Index) divides the ratio of Advancing Stocks / Volume by the ratio of Declining Stocks / Volume. Given the inverse correlation of this index to market movement, when transforming it to a Ratio or Percent Diff., its values are inverted to preserve the bull-bear sentiment of the transformations.
VIX - The CBOE Volatility Index is derived from SPX index option prices, generating a 30-day forward projection of volatility. Given the inverse correlation of this index to market movement, when transforming it to a Ratio or Percent Diff., its values are inverted and normalized to the sessions first bar to preserve the bull-bear sentiment of the transformations. Note: If you do not have a Cboe CGIF subscription , VIX data will be delayed and plot unexpectedly.
ABVD - The Above VWAP Difference is an unofficial index measuring all stocks above VWAP as a percent difference. For the purposes of this indicator (and brevity), TradingViews PCTABOVEVWAP has has been shortened to simply be ABVD.
TKCD - The Tick Cumulative Difference is an unofficial index that subtracts the total number of market downticks from the total number of market upticks. Where "the TICK" (further up) is a measurement of stocks ticking up and down, TKCD is a measurement of the ticks themselves. For the purposes of this indicator (and brevity), TradingViews UPTKS and DNTKS symbols have been shorted to simply be TKCD.
INSPIRATION
I recently made an indicator automatically identifying / drawing daily percentage levels , based on 4 assumptions. One of these assumptions is about trend days. While trend days do not represent the majority of days, they can have big moves worth understanding, for both capitalization and risk mitigation.
To this end, I discovered:
• Article by Linda Bradford Raschke about Capturing Trend Days.
• Video of Garrett Drinon about Trend Day Trading.
• Videos of Ryan Trost about How To Use ADD and TICK.
• Article by Jason Ruchel about Overview of Key Market Internals.
• Including links to resources outside of TradingView violates the House Rules, but they're not hard to find, if interested.
These discoveries inspired me adopt the underlying symbols in my own trading. I also found myself wanting to make using them easier, the net result being this script.
While coding everything, I also discovered a few symbols I believe warrant serious consideration. Specifically the Percent Above VWAP symbols and the Up Ticks / Down Ticks symbols (referenced as ABVD and TKCD in this indicator, for brevity). I found transforming ABVD or TKCD into a Ratio or Percent Diff. to be an incredibly useful and worthy inclusion.
ABVD is a Market Breadth cousin to Brian Shannon's work, and TKCD is like the 3rd dimension of the TICKs geometry. Enjoy.
NIFTY POSITION ScannerTracking the real-time intraday position of NIFTY stocks is the utility of this price action based scanner. The number of stocks in this scanner is 40 due to TradingView's script limit.
The script takes present day's price range of the stocks (stocks of the Index being tracked included in this screener) into account, to hint strength or weakness in the underlying Index (for example: NIFTY here).
The day's price range of a stock is gauged on a scale of 0-100, where 0 is Day's price low and 100 is day's price high.
If a stock is in 90-100 price range section the cell with title "90" illuminates hinting the stock is trading near day's high.
Likewise, if a stock is in 0-10 price range section the cell with title "10" illuminates hinting that the stock is trading near day's low.
The price range of 10-25 is represented in the cell titled "25"
The price range of 75-90 is represented in the cell titled "75"
Only one cell from the day's range illuminates at a time for a stock, signaling the present position of that stock in the Day's range at that instant.
The script works best above 10 second time frame.
Idea: If majority of the heavy weight stocks of the Index being tracked are trading near Day's high the underlying Index must be going strong at that very instant and Vice versa.
Disclaimer: Only for studying Index movement ideas intraday, trading is not advised.
Also check out the other scripts by me.
-- Dr. Vats
Correlational cyclesCorrelation is a statistical measure that expresses the extent to which two variables are linearly related (meaning they change together at a constant rate). It's a common tool for describing simple relationships without making a statement about cause and effect.
This script allows the user to input a multiplier to reverse the symbol input. This enables the user to look at a correlation measure between VIX and QQQ and the same time.. And get a better of understanding of what is not alligning and what is. the peaks in correlations usually signal a coming volatile period.
Yearly and 12-Week Percentage Difference with EMAThe indicator "Yearly and 12-Week Percentage Difference with EMA" is designed to display the annual and 12-week difference in the percentage variability of asset prices, as well as their exponential moving averages (EMA) on the TradingView chart.
EMA Period (EMA Period): This is a configurable parameter that allows you to select a period for calculating the EMA.
Yearly % Difference (Annual percentage difference): This indicator shows the percentage difference between the current price and the asset price a year ago on weekly bars. The graph is displayed in blue.
12-Week % Difference (12 weeks difference as a percentage): This indicator shows the percentage difference between the current price and the asset price 12 weeks ago on weekly bars. The graph is displayed in green.
Zero Line (Zero Line): This black line on the chart shows the zero level.
EMA of Yearly % Difference (EMA of annual percentage difference): This line represents the exponential moving average (EMA) of the annual percentage difference. The graph is displayed in red.
EMA of 12-Week % Difference (EMA of the difference over 12 weeks as a percentage): This line represents the exponential moving average (EMA) of the difference over 12 weeks as a percentage. The graph is displayed in orange.
Use this indicator to analyze the percentage variability of asset prices on an annual and 12-week basis, as well as to track their EMA, which can help in making trading decisions.
Русская версия \\\\\
Индикатор "Разница в процентах за год и за 12 недель с EMA" предназначен для отображения цены от год к году, и за 12 недель процентной изменчивости цен актива, а также их экспоненциальных скользящих средних (EMA) на графике TradingView.
- EMA Period (Период EMA): Это настраиваемый параметр, который позволяет выбрать период для расчета EMA.
- Yearly % Difference (Годовая разница в процентах): Этот индикатор показывает процентную разницу между текущей ценой и ценой актива год назад на недельных барах. График отображается синим цветом.
- 12-Week % Difference (Разница за 12 недель в процентах): Этот индикатор показывает процентную разницу между текущей ценой и ценой актива 12 недель назад на недельных барах. График отображается зеленым цветом.
- Zero Line (Линия нуля): Эта черная линия на графике показывает нулевой уровень.
- EMA of Yearly % Difference (EMA годовой разницы в процентах): Эта линия представляет собой экспоненциальное скользящее среднее (EMA) годовой разницы в процентах. График отображается красным цветом.
- EMA of 12-Week % Difference (EMA разницы за 12 недель в процентах): Эта линия представляет собой экспоненциальное скользящее среднее (EMA) разницы за 12 недель в процентах. График отображается оранжевым цветом.
Используйте этот индикатор для анализа процентной изменчивости цен актива на годовой и 12-недельной основе, а также для отслеживания их EMA, что может помочь в принятии торговых решений.
Tick Weighted Average Price RangesTick Weighted Average Price Ranges
Tick weighted average prices ( TiWAP ) are prices averaged from movements of TICK that break above or below configured sensitivity (500 default). The TiWAP indicator plots bands calculating various standard deviations from that averaged price that expand as the anchorage session progresses.
A core feature of TiWAP is the "Show Target Levels" feature which projects prior anchored ending deviation values as horizontal plots where price often reacts.
This feature has become increasingly critical to trade plan development with referencing a myriad of TiWAP timeframes and numerous deviations within and beyond the standard 1st, 2nd and 3rd deviation multipliers.
Thus the feature of plotting these prior anchored ending deviation values has been ported into a standalone indicator.
It's now incredibly simple to pick a timeframe, setup standard multipliers and then additional multipliers that can simply be chosen as applicators to the main multipliers.
Example Configuration
Anchorage: Weekly
Standard Multipliers 1st, 2nd and 3rd: 1.0, 2.0 and 3.0 respectively
1st Additional: -0.5
This would result in:
Standard Deviation 1st (1.0, -1.0) Upper, Lower
Additional Deviation 1st (0.5, -0.5) Upper, Lower
Standard Deviation 2nd (2.0, -2.0) Upper, Lower
Additional Deviation 2nd (1.5, -1.5) Upper, Lower
Standard Deviation 3rd (3.0, -3.0) Upper, Lower
Additional Deviation 3rd (2.5, -2.5) Upper, Lower
The aim is to have the "in-between" deviations without the need to use manual drawing tools to find potential areas of pivot, a complete range from the above example would then provide:
3.0, 2.5, 2.0, 1.5, 1.0, 0.5, Prev TiWAP, -0.5, -1.0, -1.5, -2.0, -2.5, -3.0
Usage
Use this to conduct multi-timeframe analysis of where price is relative to TiWAP ranges, review potential reversals at broad market extensions or perhaps trend continuation opportunities given full timeframe continuity (FTFC).
If utilizing higher timeframe anchorages such as quarterly, yearly then chart timeframe will need to scale up in order to allow for proper calculations to run within the 5000 lookback limitations of TradingView.
The higher chart timeframes also may benefit from higher sensitivity settings, such as 1000 on 15m chart and yearly anchorage.
Markets
As TICK tracks up/down tick movement of NYSE/NASDAQ, this indicator should be focused on stocks that closely track those markets. TICK data is only available during RTH so it's recommended to leave ETH off and set anchorage to RTH only when using session timeframe.
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.
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.
Tick Weighted Average Price %BTick Weighted Average Price %B
"TiWAP %B" is an indicator that tracks the NYSE TICK by default and plots price location in relation to the tick weighted average price based only off of extreme TICK movement. NASDAQ TICK is also supported and future updates may add others if they provide value, or if requested.
This utilizes same calculation as TiWAP indicator already published, but removes the need to have it overlaying price to keep things tidy :)
What makes this different?
Quite simply there isn't another indicator that plots weighted average price based on TICK movement as done here, this is showing the correlation between the entire markets volatile price movement and the charted security. It provides a sense of established fair value given the entire NYSE/NASDAQ, given the automated nature of the markets there's a strong correlation between highly liquid ETFs/Indexes and the whole market.
How to use
As price is affected by NYSE the study will reveal location of price as it relates to TiWAP, use location to find reversals from rejections or bounces of standard deviations.
As price is affected by market volatility look to see the weighted price adjust to actual price and combine with other trading strategies to take advantage of the data. Rejections and bounces near standard deviations as well as the weighted average price line can provide excellent trade setups, or they could be utilized in advanced options strategies such as straddles, strangles, iron condors, etc.
Anchor points can be utilized to track how the market is adjusting broad value for the week, month, quarter, etc. The higher timeframe based anchor points will need higher periods for the chart or a max bars lookback error may occur.
Sensitivity should be adjusted as changes in TICK occur, this is commonly correlated with NYSE adjustments but the tooltip provides some guidance on value selection based on current conventional wisdom.
Show Target Level Relation
Turn on "Show Target Level Relation" to observe how current price is moving in relation to previous TiWAP range. For example if %B is configured for session, enabling this feature will reveal price rejecting and reclaim aspects of previous session %B range, works on any anchorage selected so long as resolution permits.
Fill %B As Cloud
By special request, this will render %B as a sentiment cloud which will aid in quick review of price to TiWAP relation being in buy side or sell side ranges, use this to easily spot exhaustion or continuation.
Markets
TICK tracks the entire market and as such whatever the entire market is doing will most likely apply to any individual security charted so give this a shot with anything you trade and let me know your results :)
Usage Conditions
Currently I'm finding the most success with this weighted average price on various intra-day timeframes, but anchored on weekly or higher and utilizing other timeframes may net some interesting swing trading opportunities.
Special thanks to MrChach for the original idea as well as discussions and debugging sessions :)
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.