EMA 9/13/18/25 + Bollinger BandThe indicator combines two components: Exponential Moving Averages (EMAs) and Bollinger Bands.
Exponential Moving Averages (EMAs): The indicator calculates four EMAs with different periods: 9, 13, 18, and 25. An Exponential Moving Average is a type of moving average that places a greater weight and significance on the most recent data points. As the name suggests, it's an average of the asset's price over a certain period, with recent prices given more weight in the calculation, making it more responsive to recent price changes.
Bollinger Bands: Bollinger Bands consist of a simple moving average (the basis) and two standard deviations plotted away from it. The standard deviations are multiplied by a factor (usually 2) to determine the distance from the basis. These bands dynamically adjust themselves based on recent price movements. The upper band represents the highest price level reached in the given period, while the lower band represents the lowest price level.
Combining these components provides traders with insights into both trend direction and volatility. The EMAs help identify trends by smoothing out price data, while the Bollinger Bands offer insights into volatility and potential price reversal points. Traders often use the crossovers of EMAs and interactions with Bollinger Bands to make trading decisions. For example, when the price touches the upper Bollinger Band, it may indicate overbought conditions, while touching the lower band may suggest oversold conditions. Additionally, crossovers of EMAs (such as the shorter-term EMA crossing above or below the longer-term EMA) may signal changes in trend direction.
Breadth Indicators
QuarterCandlesChanges candle color when close is within the top 25% or bottom 25% of candle range (High - Low) on the last candle update.
Due to limitations of barcolor command, I'd suggest that you turn OFF the candle borders (chart settings--> right click on chart --> settings -->symbol and uncheck the border option) to ensure that the bar color is easily identifiable.
EMA 20/50/100/200 [NT-DIGITALS]This script plots Exponential Moving Averages (EMA) of 20, 50, 100, and 200 periods on the chart. EMAs are commonly used by traders to identify trends and potential reversal points in the market. The EMA smooths out price data to create a single line that follows the overall trend more closely than a simple moving average. By plotting multiple EMAs of different periods, traders can observe the interaction between short-term and long-term trends, aiding in decision-making for entry and exit points.
Exponential Moving Average (EMA) is a type of moving average that gives more weight to recent price data, making it more responsive to current price movements compared to a simple moving average (SMA). The EMA is calculated by applying a smoothing factor to the previous EMA value and adding a fraction of the difference between the current price and the previous EMA value. This weighting mechanism results in EMAs reacting more quickly to price changes, making them popular for traders looking to capture short-term trends in the market.
Murrey Math
The Murrey Math indicator is a set of horizontal price levels, calculated from an algorithm developed by stock trader T.J. Murray.
The main concept behind Murrey Math is that prices tend to react and rotate at specific price levels. These levels are calculated by dividing the price range into fixed segments called "ranges", usually using a number of 8, 16, 32, 64, 128 or 256.
Murrey Math levels are calculated as follows:
1. A particular price range is taken, for example, 128.
2. Divide the current price by the range (128 in this example).
3. The result is rounded to the nearest whole number.
4. Multiply that whole number by the original range (128).
This results in the Murrey Math level closest to the current price. More Murrey levels are calculated and drawn by adding and subtracting multiples of the range to the initially calculated level.
Traders use Murrey Math levels as areas of possible support and resistance as it is believed that prices tend to react and pivot at these levels. They are also used to identify price patterns and possible entry and exit points in trading.
The Murrey Math indicator itself simply calculates and draws these horizontal levels on the price chart, allowing traders to easily visualize them and use them in their technical analysis.
HOW TO USE THIS INDICATOR?
To use the Murrey Math indicator effectively, here are some tips:
1. Choose the appropriate Murrey Math range : The Murrey Math range input (128 by default in the provided code) determines the spacing between the levels. Common ranges used are 8, 16, 32, 64, 128, and 256. A smaller range will give you more levels, while a larger range will give you fewer levels. Choose a range that suits the volatility and trading timeframe you're working with.
2. Identify potential support and resistance levels: The horizontal lines drawn by the indicator represent potential support and resistance levels based on the Murrey Math calculation. Prices often react or reverse at these levels, so they can be used to spot areas of interest for entries and exits.
3. Look for price reactions at the levels: Watch for price action like rejections, bounces, or breakouts at the Murrey Math levels. These reactions can signal potential trend continuation or reversal setups.
4. Trail stop-loss orders: You can place stop-loss orders just below/above the nearest Murrey Math level to manage risk if the price moves against your trade.
5. Set targets at future levels: Project potential profit targets by looking at upcoming Murrey Math levels in the direction of the trend.
7. Adjust range as needed: If prices are consistently breaking through levels without reacting, try adjusting the range input to a different value to see if it provides better levels.
In which asset can this indicator perform better?
The Murrey Math indicator can potentially perform well on any liquid financial asset that exhibits some degree of mean-reversion or trading range behavior. However, it may be more suitable for certain asset classes or trading timeframes than others.
Here are some assets and scenarios where the Murrey Math indicator can potentially perform better:
1. Forex Markets: The foreign exchange market is known for its ranging and mean-reverting nature, especially on higher timeframes like the daily or weekly charts. The Murrey Math levels can help identify potential support and resistance levels within these trading ranges.
2. Futures Markets: Futures contracts, such as those for commodities (e.g., crude oil, gold, etc.) or equity indices, often exhibit trading ranges and mean-reversion trends. The Murrey Math indicator can be useful in identifying potential turning points within these ranges.
3. Stocks with Range-bound Behavior: Some stocks, particularly those of large-cap companies, can trade within well-defined ranges for extended periods. The Murrey Math levels can help identify the boundaries of these ranges and potential reversal points.
4. I ntraday Trading: The Murrey Math indicator may be more effective on lower timeframes (e.g., 1-hour, 30-minute, 15-minute) for intraday trading, as prices tend to respect support and resistance levels more closely within shorter time periods.
5. Trending Markets: While the Murrey Math indicator is primarily designed for range-bound markets, it can also be used in trending markets to identify potential pullback or continuation levels.
Taylor True Ranges - deviationsDescription:
The Taylor True Ranges - Deviations indicator in Pine Script 5.0 computes various price levels and averages based on Taylor's trading principles. It provides insights into potential buying and selling opportunities by analyzing deviations from average price movements. The indicator calculates and visualizes critical levels such as Decline Average, Buying Under Average, Pivot Brake Sell, Rally Average, Buying High Average, and Pivot Brake Buy. These levels are derived from historical price data and help traders identify key support and resistance zones, trend reversals, and breakout points.
Key Features:
Taylor's Trading Principles: The indicator implements Taylor's methodology to analyze price movements and identify trading opportunities based on deviations from average ranges.
Multiple Price Levels: It calculates and displays various price levels, including Decline Average, Buying Under Average, Pivot Brake Sell, Rally Average, Buying High Average, and Pivot Brake Buy.
Customizable Visualization: Traders can customize the visualization by toggling the display of individual price levels and adjusting the appearance settings such as line style, color, and text size.
Daily Lookback: The indicator supports a customizable daily lookback period, allowing traders to analyze historical price movements over a specified timeframe.
Usage:
Apply the Taylor True Ranges - Deviations indicator to your chart to analyze deviations from average price movements and identify potential trading opportunities.
Customize the indicator settings, including the daily lookback period, line style, color, and text size, to suit your trading preferences and analysis requirements.
Use the calculated price levels and averages as part of your technical analysis to make informed trading decisions, including identifying support and resistance levels, trend reversals, and breakout points.
Example:
Traders can use the Taylor True Ranges - Deviations indicator to analyze deviations from average price movements and identify key support and resistance levels. For instance, observing a Pivot Brake Sell level crossing above the current price might indicate a potential selling opportunity, while a Pivot Brake Buy level crossing below the price could signal a buying opportunity.
Market Internals & InfoThis script provides various information on Market Internals and other related info. It was a part of the Daily Levels script but that script was getting very large so I decided to separate this piece of it into its own indicator. I plan on adding some additional features in the near future so stay tuned for those!
The script provides customizability to show certain market internals, tickers, and even Market Profile TPO periods.
Here is a summary of each setting:
NASDAQ and NYSE Breadth Ratio
- Ratio between Up Volume and Down Volume for NASDAQ and NYSE markets. This can help inform about the type of volume flowing in and out of these exchanges.
Advance/Decline Line (ADL)
The ADL focuses specifically on the number of advancing and declining stocks within an index, without considering their trading volume.
Here's how the ADL works:
It tracks the daily difference between the number of stocks that are up in price (advancing) and the number of stocks that are down in price (declining) within a particular index.
The ADL is a cumulative measure, meaning each day's difference is added to the previous day's total.
If there are more advancing stocks, the ADL goes up.
If there are more declining stocks, the ADL goes down.
By analyzing the ADL, investors can get a sense of how many stocks are participating in a market move.
Here's what the ADL can tell you:
Confirmation of Trends: When the ADL moves in the same direction as the underlying index (e.g., ADL rising with a rising index), it suggests broad participation in the trend and potentially stronger momentum.
Divergence: If the ADL diverges from the index (e.g., ADL falling while the index is rising), it can be a warning sign. This suggests that fewer stocks are participating in the rally, which could indicate a weakening trend.
Keep in mind:
The ADL is a backward-looking indicator, reflecting past market activity.
It's often used in conjunction with other technical indicators for a more complete picture.
TRIN Arms Index
The TRIN index, also called the Arms Index or Short-Term Trading Index, is a technical analysis tool used in the stock market to gauge market breadth and sentiment. It essentially compares the number of advancing stocks (gaining in price) to declining stocks (losing price) along with their trading volume.
Here's how to interpret the TRIN:
High TRIN (above 1.0): This indicates a weak market where declining stocks and their volume are dominating the market. It can be a sign of a potential downward trend.
Low TRIN (below 1.0): This suggests a strong market where advancing stocks and their volume are in control. It can be a sign of a potential upward trend.
TRIN around 1.0: This represents a more balanced market, where it's difficult to say which direction the market might be headed.
Important points to remember about TRIN:
It's a short-term indicator, primarily used for intraday trading decisions.
It should be used in conjunction with other technical indicators for a more comprehensive market analysis. High or low TRIN readings don't guarantee future price movements.
VIX/VXN
VIX and VXN are both indexes created by the Chicago Board Options Exchange (CBOE) to measure market volatility. They differ based on the underlying index they track:
VIX (Cboe Volatility Index): This is the more well-known index and is considered the "fear gauge" of the stock market. It reflects the market's expectation of volatility in the S&P 500 index over the next 30 days.
VXN (Cboe Nasdaq Volatility Index): This is a counterpart to the VIX, but instead gauges volatility expectations for the Nasdaq 100 index over the coming 30 days. The tech-heavy Nasdaq can sometimes diverge from the broader market represented by the S&P 500, hence the need for a separate volatility measure.
Both VIX and VXN are calculated based on the implied volatilities of options contracts listed on their respective indexes. Here's a general interpretation:
High VIX/VXN: Indicates a high level of fear or uncertainty in the market, suggesting investors expect significant price fluctuations in the near future.
Low VIX/VXN: Suggests a more complacent market with lower expectations of volatility.
Important points to remember about VIX and VXN:
They are forward-looking indicators, reflecting market sentiment about future volatility, not necessarily current market conditions.
High VIX/VXN readings don't guarantee a market crash, and low readings don't guarantee smooth sailing.
These indexes are often used by investors to make decisions about portfolio allocation and hedging strategies.
Inside/Outside Day
This provides a quick indication of it we are still trading inside or outside of yesterdays range and will show "Inside Day" or "Outside Day" based upon todays range vs. yesterday's range.
Custom Ticker Choices
Ability to add up to 5 other tickers that can be tracked within the table
Show Market Profile TPO
This only shows on timeframes less than 30m. It will show both the current TPO period and the remaining time within that period.
Table Customization
Provided drop downs to change the text size and also the location of the table.
Broad market index / quantifytools- Overview
Broad market index is a market breadth based oscillator, depicting broad market trend by analysing ratio between symbols moving up and symbols moving down in a given market. When market breadth is positive, more symbols are going up and when negative, more symbols are going down. As markets tend to correlate, broad market trend dictates likely path for all individual symbols that make up the market.
This tool provides market breadth for US equities (based on NYSE advancers - decliners) and ability to build two custom breadth baskets with up to 39 symbols included in each. Market breadth can be customized with variety of smoothing options, weighting and threshold modes to find most optimal rules for trend following. Performance of the model is reflected on metrics showing percentage of up/down moves during bullish/bearish states.
Example
↑ 63% = 63% of price moves during positive breadth state are to the upside
↓ 59% = 59% of price moves during negative breadth state are to the downside
Breadth state is colorized on line and chart according to its state (negative/positive/equilibrium) and direction (trending up/down). Upper and lower bands depict historical turning points in breadth for identifying extremes in broad market trend. Triangles mark breadth thrusts, in other words abnormally large moves in breadth at either upper or lower extreme. Breadth thrusts can serve as early signs of broad market trend reverting.
- Concept and features
By default, market breadth is calculated based on NYSE advancers - decliners, usable for all major indices that depict broad markets in US equities (SP500, QQQ, IWM). Users can also build 2 custom breadth baskets consisting of up to 39 symbols for defining broad market on other asset classes, such as cryptocurrencies. Custom baskets are suitable for any chart that fairly represents a market as a whole.
Example
Basket consisting of cryptocurrencies = Use on CRYPTOCAP:TOTAL (all cryptocurrencies aggregated)
Basket consisting of healthcare stocks = Use on AMEX:XLV (healthcare sector ETF)
Breadth line can be further refined using various smoothing options (SMA, EMA, HMA, RMA, WMA), threshold method and weights. By default, threshold (dividing line between bullish and bearish states) is set to fixed at 0, depicting an equilibrium where equal amount of symbols are going up and down.
Threshold mode can also be set to Dynamic, switching threshold to a moving average of the breadth line. Fundamental functionality still remains, breadth line above threshold marks bullish state and below threshold marks bearish state. Difference here is that the threshold no longer depicts a point of equilibrium, but simply a smoothed version of the breadth line itself, which can catch turns in broad market trend earlier.
Breadth basket can be adjusted to volatility of the viewed chart, causing an overstating of breadth on high volatility and understating on low volatility. Weighting takes into account magnitude of up/down moves, which can provide better relevance for trend following purposes.
- Practical guide
Example #1 : Broad market trend
The utility of market breadth is based on the idea that markets correlate and individual symbols making up the market will eventually join the broad market trend. With this in mind, going against broad market is like swimming upstream, it's going to be the hard way. A well performing basket with clear skew for upside and downside on respective breadth states can be used to form directional bias for trades and risk on/off regimes for investing.
Example #2 : Broad market reversals
Thrusts signify two things: a historical extreme in breadth and an aggressive move to the opposite direction. Thrusts are valuable clues for exhaustion in broad market trend, potentially leading to a reversal.
Example #3 : Breadth/price divergences
Market breadth and price diverging signify events where most symbols that make up the market are going one way but a few high weight symbols (big tech for SP500) are going the other way. In other words, only a few symbols are moving the market while general interest and intention is to the other direction. Divergences in breadth and price are not ideal for sustainable trend and can be expected to eventually revert to the direction of broad market.
Price and Volume Stochastic Divergence [MW]Introduction
This indicator creates signals of interest for entering and exiting long and short positions on equities. It primarily uses up and down trends defined by the change in cumulative volume with some filtering provided by a short period exponential moving average (9 EMA by default).
Settings
Moving Average Period : The moving average over which the cumulative volume delta is calculated. Default: 14
Short Period EMA : The EMA used to represent price action, and is used to generate the EMA Delta line. Default: 27 (3*3*3)
Long Period EMA : The second EMA used to calculate the EMA Delta line. Default: 108 (2*2*3*3*3)
Stochastic K Value : The value used for stochastic curve smoothing. Default: 3
Dot Size : The diameter of the larger indicator. Default: 10
Dot Transparency : The transparency level of the outer ring of the primary BUY/SELL signal. Default: 50 (0 is opaque, 100 is transparent)
Band Distance from 0 to 100 : The upper and lower band distance. Default: 20
Calculations
The cumulative volume delta (CVD) is calculated using candle bodies and wicks. For a red candle, buying volume is calculated by multiplying the volume by the spread percentage of the average of the top and bottom wicks, while Selling Volume is calculated multiplying the volume by the spread percentage of the average of the top and bottom wicks - in addition to the spread percentage of the candle body.
For a green candle, buying volume is calculated by multiplying the volume by the spread percentage of the average of the top and bottom wicks - plus the spread percentage of the candle body - while Selling Volume is calculated using only the spread percentage average of the top and bottom wicks.
Once we have the CVD, we can then perform a stochastic calculation of the CVD value.
stochastic calculation = (current value - lowest value in period) / (highest value in period - lowest value in period)
We’ll do the same stochastic calculation for the short term EMA (27 EMA default) as well as for the difference between the short term and long term EMA.
When the stochastic CVD value is rising from zero and the short term EMA stochastic value equals 100, then it’s a major bullish signal. When the stochastic CVD value is falling from 100 and the short term EMA stochastic value equals 0, then it’s a major bearish signal.
Sometimes, after a bullish or bearish signal, the stochastic CVD will reverse direction triggering a new opposing signal.
How to Interpret
The CVD indicates when there is either more buying than selling or vice versa. A value over 50 for the stochastic CVD curve represents more buying taking place. A value below 50 represents more selling. One might intuitively believe that when there is more buying volume than selling volume that the price would follow suit. This is not always the case.
Most of the time buying volume will precede consistent price movement upwards, and selling volume will precede consistent price movement downwards. When this divergence occurs, the indicator generates a signal. When this divergence begins to fail, and buying or selling volume reverses, then another signal is generated indicating that the buying/selling impulse is headed back into the direction of price action.
These interactions are visually represented on the chart with the coral line that represents CVD, and the yellow line that represents the EMA, or the average price. When the coral line goes up and the yellow line stays down, that’s the BUY signal. When the coral line goes down and the yellow line stays up, that’s the sell signal. When the coral line switches direction, the chart generates another signal showing that volume is moving in a direction that supports the price.
The orange line represents the stochastic representation of the difference between the short EMA (27 by default) and the long EMA (108 by default). EMA differences is a method that can be used to define a trend. When a short term EMA is above a longer term EMA, that may represent a bullish trend. When it is below, that may represent a bearish trend. When all 3 lines are rising or falling in the same direction at the same time, it tends to indicate a movement that has the potential to continue.
Other Usage Notes and Limitations
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
This indicator can be paired with the MW Volume Impulse indicator if it is desired to see the actual buying and selling cumulative volume deltas. Also, in many cases, the BUY and SELL signals tend to correspond with Keltner Bands (ATR Bands) becoming extended. Lastly, volume weighted average price (VWAP) along with other macro events can impact price and negate signals. To view VWAP lines, you may choose to use the Multi VWAP or Multi VWAP for Gaps indicator to help ensure that the signals you see in this indicator are not being affected by VWAP lines.
On Balance Volume WaveIntroducing an Enhanced Version of the Classic OBV Indicator
The On-Balance Volume (OBV) indicator is a well-known tool among traders, celebrated for its ability to track momentum by using volume flow to predict changes in stock price. For an overview of the original OBV indicator, please visit: www.tradingview.com .
What Makes This Version Different?
This enhanced version of the OBV indicator incorporates advanced signal processing techniques to bring new depth to market analysis. Here's what sets it apart:
Standard Deviation Bands and EMAs: These additions to the OBV offer a visual representation of significant market movements—highlighting major pumps and dumps, as well as identifying potential support and resistance levels.
Color-Coded Insights: The standard deviation bands utilize color coding based on signal processing principles. This feature becomes increasingly useful the more you zoom out, making it easier to observe and interpret market waves.
Market Maker Activity: By examining fluctuations within the standard deviation bands, traders can gauge when Market Makers are actively maneuvering to establish their long and short positions, often at the expense of retail traders.
EMA Support and Resistance: The embedded Exponential Moving Averages (EMAs) serve as dynamic support and resistance levels. Analyzing these can help traders determine the continuing strength of a market move, whether bullish or bearish.
Visual Guide to the Basics
For a clearer understanding of what this enhanced indicator can show, please refer to the image below:
And in addition to all the above one can detect relevant W and M structures way easier with this indicator ;)
Candle Range ExtensionThis script defines an indicator called "Candle Range Extension" that calculates the range of each candle (high minus low) and then multiplies that range by 3 to get the extension distance. It then plots two lines on the chart: one line that extends 3 times the candle range above the candle's high (in green) and another line that extends 3 times the candle range below the candle's low (in red).
Table SessionIt's a part of a script taken from the lux_Algo indicator and optimized with the BTCUSDT symbol to display the real status of sessions since the crypto market is always open.
Key Features:
Customizable Sessions: Choose from major global financial centers, including New York, London, Tokyo, and Sydney. Customize the parameters for each session according to your preferences.
Intuitive Dashboard: The interactive dashboard displays real-time active and inactive sessions, providing you with an instant overview of the market status.
Automatic Timezone Support: Avoid timezone confusion with automatic exchange timezone support.
Customizable Aesthetics: Tailor the appearance of the table to your style with customization options, whether it's vibrant colors or text sizes.
Easy to Use: No technical expertise required. Simply enable the sessions you want to display and let the script handle the rest.
Why Choose "Table Session":
Time-Saving: Eliminate the time-consuming manual search for trading sessions. Our script does it for you, freeing up your attention for more critical decisions.
Unmatched Decision-Making: Instantly identify prime trading opportunities by understanding which sessions are active and when.
Total Flexibility: Customize the script to your trading style and preferred markets for a tailored trading experience.
ka66: Relative StrengthSimple indicator that allows you to compare the price's series vs. another selected (input) series. The scale is unbounded. If it's rising, that means the chart series is outperforming the compared against series, otherwise it's underperforming it. The compared against series is usually a relevant index, e.g. marketwide like US500, or a sector series, or in the case of currencies, the DXY index.
We color code things, and have the option of adding an average line using several common averaging types.
The chart example shows how the indicator works by showing the it's movement when the AUDUSD close series is compared to the DXY close series.
If AUDUSD moves up strongly, away from/above (or towards if under) the DXY, the indicator rises upward.
If both series are roughly at the same spot, the indicator flattens.
If AUDUSD moves down strongly, away from, below (or towards if over) the DXY, the indicator falls downward.
The basic use is to confirm the validity of an up or down move on the chart, e.g. if the indicator has had 2 to 3 contiguous declines at an inflection point, then the move is likely valid.
There might be divergence signals too, but I haven't checked.
Cumulative Volume Price (Candle Body, High-Low)Indicator Description: Cumulative Volume Price (Candle Body, High Low)
This indicator features three cumulative plots that continuously accumulate values over time.
Cumulative Volume Plot:
The first plot displays the cumulative volume, calculated by continuously adding the volume values from zero.
Cumulative Candle Body Width Plot:
The second plot displays the cumulative width of the candle bodies, obtained by continuously adding the actual body widths from zero.
Cumulative Candle High-Low Width Plot:
The third plot displays the cumulative width of the candle high-low ranges, calculated by continuously adding the widths between the high and low prices from zero.
Usage Guidelines:
Due to the different orders of magnitude in value range used for volume and candlesticks, it is advisable to typically select and display any single plot.
説明
このインジケーターは、時間の経過とともに値を累積し続ける3つのプロットを備えています。
累積ボリューム:
ボリュームの値をゼロから累積的に加算しています。
ローソク足の累積実体幅:
ローソク足の実体幅の値をゼロから累積的に加算しています。
ローソク足の累積高安幅:
ローソク足の高安の幅の値をゼロから累積的に表示しています。
使用ガイドライン:
ボリュームとローソク足で使用する数値のオーダーが異なるため、通常は任意の一本を選択して表示することを想定しています。
BTC ETF VolumesVolume
This script plots the trading volume of all BTC spot ETFs as well as the aggregate volume. Works on any chart and any timeframe.
Indicators
The volume of every ETF is plotted in a different color, with the total column adding up to the aggregate volume.
If you have price and indicator labels enabled you will also see individual ETF volume on your price scale on the right hand side.
If more BTC ETFs get launched I will add them.
ADX Thrust Reversal & Trend
Created by Love Sharma, CMT, CFTe
the idea is simple. there needs to be thrust in prices before adx goes above any barrier or level say 25/10 or even 10/ The Di plus or Di minus should be above ADX. This indicates the change in direction or change in underlying price and obviously followed by ADX indicator which is dependent on user which level it exceed.
The ADX - Shows Trend Strength
The =/- Di show Thrust or reversal in prices.
it helps in entering the directional change in prices early rather than waiting for ADX
Market Average TrendThis indicator aims to be complimentary to SPDR Tracker , but I've adjusted the name as I've been able to utilize the "INDEX" data provider to support essentially every US market.
This is a breadth market internal indicator that allows quick review of strength given the 5, 20, 50, 100, 150 and 200 simple moving averages. Each can be toggled to build whatever combinations are desired, I recommend reviewing classic combinations such as 5 & 20 as well as 50 & 200.
It's entirely possible that I've missed some markets that "INDEX" provides data for, if you find any feel free to drop a comment and I'll add support for them in an update.
Markets currently supported:
S&P 100
S&P 500
S&P ENERGIES
S&P INFO TECH
S&P MATERIALS
S&P UTILITIES
S&P FINANCIALS
S&P REAL ESTATE
S&P CON STAPLES
S&P HEALTH CARE
S&P INDUSTRIALS
S&P TELECOM SRVS
S&P CONSUMER DISC
S&P GROWTH
NAS 100
NAS COMP
DOW INDUSTRIAL
DOW COMP
DOW UTILITIES
DOW TRANSPORTATION
RUSSELL 1000
RUSSELL 2000
RUSSELL 3000
You can utilize this to watch stocks for dip buys or potential trend continuation entries, short entries, swing exits or numerous other portfolio management strategies.
If using it with stocks, it's advisable to ensure the stock often follows the index, otherwise obviously it's great to use with major indexes and determine holdings sentiment.
Important!
The "INDEX" data provider only supplies updates to all of the various data feeds at the end of day, I've noticed quite some delays even after market close and not taken time to review their actual update schedule (if even published). Therefore, it's strongly recommended to mostly ignore the last value in the series until it's the day after.
Only works on daily timeframes and above, please don't comment that it's not working if on other timeframes lower than daily :)
Feedback and suggestions are always welcome, enjoy!
Stock WatchOverview
Watch list are very common in trading, but most of them simply provide the means of tracking a list of symbols and their current price. Then, you click through the list and perform some additional analysis individually from a chart setup. What this indicator is designed to do is provide a watch list that employs a high/low price range analysis in a table view across multiple time ranges for a much faster analysis of the symbols you are watching.
Discussion
The concept of this Stock Watch indicator is best understood when you think in terms of a 52 Week Range indication on many financial web sites. Taken a given symbol, what is the high and the low over a 52 week range and then determine where current price is within that range from a percentage perspective between 0% and 100%.
With this concept in mind, let's see how this Stock Watch indicator is meant to benefit.
There are four different H/L ranges relative to the chart's setting and a Scope property. Let's use a three month (3M) chart as our example and set the indicator's Scope = 4. A 3M chart provides three months of data in a single candle, now when we set the Scope = 4 we are stating that 1X is going to look over four candles for the high/low range.
The Scope property is used to determine how many candles it is to scan to determine the high/low range for the corresponding 1X, 3X, 5X and 10X periods. This is how different time ranges are put into perspective. Using a 3M chart with Scope = 4 would represent the following time windows:
- 1X = 3M * 4 is a 12 Months or 1 Year High/Low Range
- 3X = 3M * 4 * 3 is a 36 Months or 3 Years High/Low Range
- 5X = 3M * 4 * 5 is a 60 Months or 5 Years High/Low Range
- 10X = 3M * 4 * 10 is a 120 Months or 10 Years High/Low Range.
With these calculations, the indicator then determines where current price is within each of these High/Low ranges from a percentage perspective between 0% and 100%.
Once the 0% to 100% value is calculated, it then will shade the value according to a color gradient from red to green (or any other two colors you set the indictor to). This color shading really helps to interpret current price quickly.
The greater power to this range and color shading comes when you are able to see where price is according to price history across the multiple time windows. In this example, there is quick analysis across 1 Year, 3 Year, 5 Year and 10 Year windows.
Now let's further improve this quick analysis over 15 different stocks for which the indicator allows you to watch up to at any one time.
For value traders this is huge, because we're always looking for the bargains and we wait for price to be in the value range. Using this indicator helps to instantly see if price has entered a value range before we decide to do further analysis with other charting and fundamental tools.
The Code
The heart of all this is really very simple as you can see in the following code snippet. We're simply looking for the highest high and lowest low across the different scopes and calculating the percentage of the range where current price is for each symbol being watched.
scope = baseScope
watch1X = math.round(((watchClose - ta.lowest(watchLow, scope)) / (ta.highest(watchHigh, scope) - ta.lowest(watchLow, scope))) * 100, 0)
table.cell(tblWatch, columnId, 2, str.format("{0, number, #}%", watch1X), text_size = size.small, text_color = colorText, bgcolor = getBackColor(watch1X))
//3X Lookback
scope := baseScope * 3
watch3X = math.round(((watchClose - ta.lowest(watchLow, scope)) / (ta.highest(watchHigh, scope) - ta.lowest(watchLow, scope))) * 100, 0)
table.cell(tblWatch, columnId, 3, str.format("{0, number, #}%", watch3X), text_size = size.small, text_color = colorText, bgcolor = getBackColor(watch3X))
Conclusion
The example I've laid out here are for large time windows, because I'm a long term investor. However, keep in mind that this can work on any chart setting, you just need to remember that your chart's time period and scope work together to determine what 1X, 3X, 5X and 10X represent.
Let me try and give you one last scenario on this. Consider your chart is set for a 60 minute chart, meaning each candle represents 60 minutes of time and you set the Stock Watch indicator to a scope = 4. These settings would now represent the following and you would be watching up to 15 different stocks across these windows at one time.
1X = 60 minutes * 4 is 240 minutes or 4 hours of time.
3X = 60 minutes * 4 * 3 = 720 minutes or 12 hours of time.
5X = 60 minutes * 4 * 5 = 1200 minutes or 20 hours of time.
10X = 60 minutes * 4 * 10 = 2400 minutes or 40 hours of time.
I hope you find value in my contribution to the cause of trading, and if you have any comments or critiques, I would love to here from you in the comments.
Bank Nifty Market Breadth (OsMA)This indicator is the market breadth for Bank Nifty (NSE:BANKNIFTY) index calculated on the histogram values of MACD indicator. Each row in this indicator is a representation of the histogram values of the individual stock that make up Bank Nifty. Components are listed in order of its weightage to Bank nifty index (Highest -> Lowest).
When you see Bank Nifty is on an uptrend on daily timeframe for the past 10 days, you can see what underlying stocks support that uptrend. The brighter the plot colour, the higher the momentum and vice versa. Looking at the individual rows that make up Bank Nifty, you can have an understanding if there is still enough momentum in the underlying stocks to go higher or are there many red plots showing up indicating a possible pullback or trend reversal.
The plot colours are shown as a percentage of the current histogram value taken from MACD from the highest histogram value of the previous 200 bars shown on the current timeframe. Look back value of 200 bars was chosen as it provided a better representation of the current value from its peak over the recent past(previous 200 bars), on all timeframes. Histogram value do grow/fall along with the underlying stock price, so choosing the chart's all-time high/low value as peak was not ideal. Labels on the right show the current histogram value.
Base Code taken from @fengyu05's S&P 500 Market Breadth indicator.
FundingRate (Binance USDT)This script emulates the funding rate for Binance USDT pairs. The funding rate is calculated based on the premium index. However, as the precise method for averaging the premium index is unclear, this calculation is based on an estimation and may contain some discrepancies.
If a non-Binance USDT pair is selected, the script automatically calculates and displays the funding rate for a corresponding Binance USDT pair.
By default, the funding rate for the chart's pair is displayed, but you can change this to a different pair if needed. To enhance the accuracy of the calculations, the script uses 1-minute interval data by default. If you wish to broaden the display range of the funding rate, either stop using lower timeframe data or select a larger interval than 1 minute.
RSI Graphique and Dashboard MTFMTF RSI Indicator - User Guide
Introduction:
The MTF RSI (Multi-Timeframe Relative Strength Index) Pine Script is designed to provide traders with a comprehensive view of the RSI (Relative Strength Index) across multiple timeframes. The script includes a primary chart displaying RSI values and a dashboard summarizing RSI trends for different time intervals.
Installation:
Copy the provided Pine Script.
Open the TradingView platform.
Create a new script.
Paste the copied code into the script editor.
Save and apply the script to your chart.
Primary Chart:
The primary chart displays RSI values for the selected timeframe (5, 15, 60, 240, 1440 minutes).
different color lines represent RSI values for different timeframes.
Overbought and Oversold Levels:
Overbought levels (70) are marked in red, while oversold levels (30) are marked in blue for different timeframes.
Dashboard:
The dashboard is a quick reference for RSI trends across multiple timeframes.
Each row represents a timeframe with corresponding RSI trend information.
Arrows (▲ for bullish, ▼ for bearish) indicate the current RSI trend.
Arrow colors represent the trend: blue for bullish, red for bearish.
Settings:
Users can customize the RSI length, background color, and other parameters.
The background color of the dashboard can be adjusted for light or dark themes.
Interpretation:
Bullish Trend: ▲ arrow and blue color.
Bearish Trend: ▼ arrow and red color.
RSI values above 70 may indicate overbought conditions, while values below 30 may indicate oversold conditions.
Practical Tips:
Timeframe Selection: Consider the trend alignment across different timeframes for comprehensive market analysis.
Confirmation: Use additional indicators or technical analysis to confirm RSI signals.
Backtesting: Before applying in live trading, conduct thorough backtesting to evaluate the script's performance.
Adjustment: Modify settings according to your trading preferences and market conditions.
Disclaimer:
This script is a tool for technical analysis and should be used in conjunction with other indicators. It is not financial advice, and users should conduct their own research before making trading decisions. Adjust settings based on personal preferences and risk tolerance. Use the script responsibly and at your own risk.
BTC Price to Hashrate Delta Ratio with MAHistorically, Hashrate and Bitcoin prices have a strong correlation. When hashrate increases more than Bitcoin price, it indicates a rise in Bitcoin price soon.
This indicator uses the formula:
Price/hashrate delta ratio = period price delta / period hashrate delta
Whenever the ratio between the price and hashrate of Bitcoin is positive, it indicates that the price is increasing at a faster rate than the hashrate. This, in turn, means that Bitcoin is becoming more expensive compared to any variations occurring in the hashrate. Using the Price/Hashrate Delta ratio, we can determine whether Bitcoin is overvalued or undervalued in relation to the hashrate. This can be a helpful indicator for assessing the current market conditions.
Value of my assetIndicator Name: Value of my asset
This indicator displays the total value of the asset you hold on a chart. It is particularly useful for tracking the value of your position in real time directly on the chart.
How to use it:
Quantity of the asset in possession: Enter the quantity of the asset you currently hold. By default, this value is 0.
Text color: Choose the color of the text that will be displayed on the chart. By default, this color is white.
Background color: Choose the background color of the label that will be displayed on the chart. By default, this color is blue.
Calculation of the value to display: The value to display is calculated by multiplying the closing value (close) by the quantity of the asset you hold (quantity). This value represents the total value of your position.
Display of the label: A label is displayed on the chart with the symbol of the asset, the quantity you hold, and the total value of your position. This label is updated with each new bar.
Hi-Lo-GaugesIntroducing the 'Hi-Lo-Gauges' indicator, a powerful tool designed to provide a comprehensive visual representation of key price metrics. This indicator leverages up to 8 preset gauges, each catering to a specific aspect of market data:
All-time high and low
Current 52 Weeks high and low
Current Annual High and Low
Current Semi-Annual High and Low
Current Quarterly High and Low
Current Monthly High and Low
Current Weekly High and Low
Current Daily High and Low
Users have the flexibility to choose all 8 or selectively display specific gauges. For each metric, the gauge dynamically adapts, with the low value set as the minimum and the high value as the maximum. Measurement options include utilizing the highest and lowest closes or the literal highest and lowest prices.
The active price of the underlying asset serves as the reference point, allowing users to gauge the percentage move on the scale between the chosen minimum and maximum. Complete customization is at the users' fingertips, enabling them to tailor the indicator's appearance to suit their preferences.
With 'Hi-Lo-Gauges,' traders and analysts can intuitively monitor and interpret diverse price metrics, fostering a deeper understanding of market dynamics and supporting more informed decision-making.
Note: 'Hi-Lo-Gauges' is visible and applicable exclusively on the daily timeframe due to the nature of the metrics used.