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.
Advance/Decline Line
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.
Auto Fibonacci Retracement // Atilla YurtsevenOverview:
This Pine Script™ is a specialized tool for traders, designed to automatically plot Fibonacci retracement levels over a user-defined date range in trading charts. It also indicates the extent of price retracement within these levels.
Key Features:
Date Range Customization: Users can specify the start and end dates to focus the analysis on a particular trading period.
Dynamic Fibonacci Levels: The script includes various Fibonacci ratios (0.0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0), with the flexibility to enable or disable individual levels.
Visual Customization: Each Fibonacci level can be customized for color and line style (solid, dotted, dashed). Labels for each level are also configurable.
Retracement Measurement: The script not only draws the Fibonacci levels but also measures and displays how much the price has retraced within these levels.
Extension and Additional Options: Users have options to extend the Fibonacci lines and additional features such as using close values, trend drawing, date range display, and more.
Technical Insights:
The script identifies high and low values within the selected time frame, assessing the market's trend direction.
Within the specified date range, this script effortlessly plots the Fibonacci levels automatically, bringing clarity and precision to your market analysis as it unfolds.
The tool's adaptability makes it suitable for various trading styles and chart preferences.
Intended Use:
This script is particularly valuable for technical analysts and traders who use Fibonacci retracements to identify potential support and resistance areas and understand the depth of market corrections or rallies.
Disclaimer:
This Pine Script™ is offered 'as is', without any guarantees or warranties. It is intended for informational purposes and should not be taken as investment advice. Atilla Yurtseven, the creator of this script, assumes no responsibility for any financial losses or gains that may result from its usage. Users should perform their own due diligence and consult with professional advisors before making any investment decisions.
Remember to follow and comment!
Trade smart, stay safe
Atilla Yurtseven
NYSE & NASDAQ Advance Minus Decline OscillatorThis indicator is meant to observe NYSE & NASDAQ Advance minus Decline Oscillator in one. It also paints extreme levels at +2000 and -2000. It is used in combination to identify changes across the two markets or to observe broad market strength/weakness.
Deemer Breakaway Momentum ThrustBreakaway momentum is a "breadth thrust" coined by Walter Deemer in the 1970s that occurs when the ten-day total advances on the NYSE are greater than 1.97 times the ten-day total NYSE declines.
This indicator calculates the ratio and plots it as a histogram. The 1.97 threshold is also plotted as a horizontal line. Anytime the histogram gets above the line Breakaway Momentum has occurred.
This is a rare signal that has only happened 25 times since 1945.
TICK IndicatorSimilar to the USI:ADD index, the NYSE TICK index measures the number of stocks with in the index with positive ticks versus negative ticks. Levels such as +/- 1000 or +/- 2000 can be considered as areas of overbought and oversold.
Advance Decline IndexIn index investment, the USI:ADD is the Advance Decline Index that can be plotted in most charting platforms. Just like there is a volatility index for most major indeces (VIX, VOLQ) and even for Apple (CBOE:VXAPL), USI:ADD also has variations specific for the index you are analyzing (SPX: ADD, NASDAQ: ADDQ).
The USI:ADD index is a measurement of stocks in the index that are advancing (bullish) minus those that are declining (bearish), the exact formula being $ADV minus $DECL.
The basic idea of how to use the ADD index is that when the value is above 1000 it is considered overbought. Conversely, when the value is below -1000 it is considered oversold. When the value is near the medium line, it is not a good idea to trade as it is considered to be in a choppy market.
This script attempts to identify the correct Advance Decline Index for the index you are analyzing. It will plot the overbought and oversold levels that are applicable to the ADD line. If you are analyzing a stock, it will use the most appropriate ADD line for that stock sector or exchange.
Connors-Hayward Advance-Decline Trading PatternsThe following is an excerpt from Investment Secrets of a Hedge Fund Manager
"The Connors-Hayward Advance-Decline Trading Pattern (CHADTP) is a proprietary indicator we use to identify short- and intermediate-term overbought and oversold conditions for the stock market and the S&P 500 futures market...
Construction of the CHADTP indicator is simple:
Add the past five day's advancing issues from the New York Stock Exchange.
Add the past five day's declining issues from the NYSE.
Subtract #2 from #1.
Divide by five.
Here are the two rules to trade CHADTP:
When the five-day reading is above +400, the market is overbought; and when the five day reading is below -400, the market is oversold.
Unfortunately, just because the indicator is -400 does not mean we can blindly buy the market, and just because the indicator is +400 does not mean we should be a seller of the market.
Whenever we get an overbought or oversold reading, we wait for a specific price reversal before entering. When the CHADTP number is +400 or more, we will sell the market only after the S&P 500 futures trade .10 points below the previous day's low. For example, if we get a reading of +422 and today's low is 453.80 we will take a sell signal only if the market trades at 453.70 or below tomorrow. If tomorrow the market low is 454.60, and the CHADTP is above 400, we will only sell if the market trades at 454.50 or below the next day, and so on. On the buy side, if today's CHADTP number is -400 or less, we will buy only after tomorrow's S&P trades .10 points above today's high, and so on."
Note from Technicus Capital:
This method was created in 1995. Today, the volume and volatility of markets is much more significant and therefore the original overbought/oversold levels are no longer relevant.
Advance/Decline Line [IQ]Advance/Decline Line is a Market Breath indicator.
A/D line calculates a ratio between total number stocks advancing and total number of stocks in one day, providing another way to grasp the market breath at any moment.
We think the indicator covers the whole market, as we use data from the three main exchanges: NYSE, NASDAQ and AMEX.
The New York Stock Exchange (NYSE), nicknamed "The Big Board") is by far the world's largest stock exchange by market capitalization of its listed companies.
The Nasdaq Stock Market (NASDAQ) is ranked second on the list of stock exchanges by market capitalization of shares traded, behind the New York Stock Exchange.
The American Stock Exchange (AMEX) is the third largest stock exchange in the U.S. after the NYSE and the NASDAQ, and handles approximately 10% of all American trades.
How to interpret it:
Green columns mean more than 50% of NASDAQ stocks are advancing, red columns mean more than 50% of NASDAQ stocks are declining.
Green values above the top band mean correlation to the upside, red values bellow the low band mean correlation to the downside.
Correlation means rising probability of capitulation (to the upside or to the downside) and is market by a white bar (as signal).
Important:
For a better interpretation, the Advance/Decline Line indicator should be used in conjunction with other indicators (volatility, volume, etc.).
NASDAQ Advance/Decline Line 1.0NASDAQ Advance/Decline Line is a Market Breath indicator.
Brought to you by IQ-trading (Andrei Bogdan) via Trading View Pine script. If you find this helpful in anyway, please leave a like!
A/D line calculates a ratio between total number of NASDAQ stocks advancing and total number of NASDAQ stocks in one day, providing another way to grasp the market breath at any moment.A
Green columns mean more than 50% of NASDAQ stocks are advancing, red columns mean more than 50% of NASDAQ stocks are declining.
Green values above the top band mean correlation to the upside, red values bellow the low band mean correlation to the downside.
Correlation means rising probability of capitulation (to the upside or to the downside).
For a better interpretation, NASDAQ Advance/Decline Line should be used in conjunction with other indicators (volatility, volume, etc.).
--------------------
NASDAQ here refers to the totality of assets listed on the NASDAQ exchange, not to the Nasdaq Composite index or the Nasdaq100 index.
NASDAQ is the second-largest stock exchange on earth, and operates the two major stock indexes based on companies that trade on its exchange: the Nasdaq Composite and the Nasdaq 100.
The Nasdaq Composite tracks the performance of more than 3,000 stocks listed on the Nasdaq while the Nasdaq 100 captures the performance of the exchange’s largest non-financial companies.
3commas GRID bot VisualisationHello everyone
This is a grid display indicator for a 3-comma grid bot.
Just enter the upper and lower borders of your grid and the number of grid cells in the indicator settings.
It's simple!
Deviation rate of Chinese stock market index// Deviation rate of Chinese stock market index
//The purpose of the indicator is to monitor the Chinese stock market index deviation rate to the 20EMA, so each major index can be observed longitudinally at the same time.
//This indicator give signal of which Index or instrument should you be focused and when should you enter the market to get a long or short position.
//The chart shows the deviation rate between the current price of each major index current price to the 20EMA.
//Also it count a deductive ratio between current price to the previous 20th bar close price to (which lead to the slope of the 20SMA)
//When using, adjust the corresponding period according to the chart period.
//The word DI (divergence) represents the deviation value between the current price and 20EMA, and DE (deduction) represents the deviation value between the current price and the 20 deduction price.
//Attention marker: The marker tells one of the moving average (EMA20 and MA20) is turning towards the opposite direction. When DE and DI one is plus , one is minus attention marker appear on the instrument title.
//Take the bull trend as an example. If the price is higher than ema20, the EMA20 is turning.If the price is higher than the close price of the bar 20 days ago , the sma20 is turning.
//When the ema20 has not turned around to opposite direction , and the ma20 is turning , the deviation rate of the moving average and the deviation rate of the deductible price are different in positive or negative.
//The marker as a reminder will appear on the instrument title.
//How to use this watchlist: You can freely replace the major indices with the instrument you are focused.
NYSE Advance/DeclineAn indicator for traders who trade intraday on the US market. It makes use of the symbols made available by TradingView to show the number of advancing vs declining stocks.
The GREEN AREA represents advancing issues. The INTENSE GREEN AREA represents the advancing issues at daily high.
The RED AREA represents declining issues. The INTENSE RED AREA represents the declining issues at daily low.
The part above the BLUE LINE represents issues which are trading above their VWAP (volume-weighted average prices).
BANKNIFTY Adv/Dec1) BANKNIFTY Index Advance-Decline count
2) Each session, it reads the number of stock are +Ve or -Ve
3) Whichever the side +Ve or -Ve side moving stock is more than count will be plotted
4) at +/- 7 drawn a dotted line if Count is > = +/-7 Nifty is moving in a strong army
Eg:-
in the current session, 7 Stock is moving in +Ve direction & 6 are in -Ve direction
7 count will be plotted in the chart
[KY]Cumulative Advance Decline Line(1) What is Cumulative A/D Line?
Cumulative A/D Line is a total of advancing issues - declining issues of all time.
This can be used to know long-term trend.(weeks, months long)
(2) How to use this?
- Add this script to your chart.
- Select the market from "Nasdaq", "NYSE", "Nasdaq+NYSE"
- You could change the moving average.
ADD for SPX intraday (NYSE Adv-Decl) -Tom1traderThis is the NYSE Advancers - decliners which the SPX pretty much follows. You can chart it like any index (ADD -NYSE $ADV MINUS $DECL) but I find it more useful in a separate panel with colors for direction.
The level gives an idea of days move (example: plus or minus 500 is not much movement through the session) but I follow the direction as when more stocks advance (green) or decline (red) the index tends to track it pretty closely.
On SPX, SPY and correlateds - very useful for intra-day trading (Scalping or 0DTE option trades) but not for higher time frames at all. If you chart the ADD in a chart and compare 5 minute to daily you will see what I mean.
I left it at 5 minutes timeframe which displays well on any intraday chart. You can change it by changing the "5" in the security function on line 13 to what you want ("1" 1 minute, "15" 15 minutes) or change it to timeframe.period (no quotes) so that it will follow the timeframe of the current chart. I like 5 min as it displays better on higher timeframes i.e. 15 min. or hour.
A simple moving average with a length of 10 is added to help gauge momemtum.
Hope this helps with trading or scripting ideas, questions or feed back welcome. Keep Smiling.
Price Streak Is Another Way to Spot TrendsPrice is never wrong, but sometimes reading it can be tricky.
Movements in the broader market or a sector can distract from a symbol that's been steadily trending in one direction or another. Sometimes the beginning of a move can also be so subtle that it flies under most people's radar.
Price Streak can help overcome these limitations by tracking consecutive up/down periods. It plots an easy-to-read color-coded histogram.
Because it simply counts the candles in a trend, Price Streak can give a clearer picture than magnitude-biased indicators like relative strength or MACD.
Applying Price Streak to the daily chart of Bitcoin Dominance , we find something very interesting right now: the longest drop since March 2017.
That moment in history, almost three years ago, marked the beginning of the last Altcoin bull market. Ethereum , for example, went from roughly $60 to over $1,300 in the following nine months.
While past performance isn't a guarantee of future results, this illustrates how sustained price moves can reveal changes in character.
Based on Price Streak's current reading, it may support the idea of another Altcoin cycle beginning now.
Dr_Pivots High & Low Trend Line- I'd like to find a pattern more easily on the chart.
- This script might give you a better view of the support and resistance lines.
ADL-NDX Rank Difference-Buschi
English:
An expansion of the Advance Decline Line of the NASDAQ. It can be interesting to compare the Advance Decline Line with the corresponding benchmark index. I therefore made a ranking (0 to 100) based on the performance over the last days (default: 21 days). The difference is the target figure and ranges between -100 (bearish divergence) to +100 (bullish divergence).
Deutsch:
Eine Erweiterung der Advance Decline Line der NASDAQ. Oft möchte man den Verlauf der Advance Decline Line mit dem zugehörigen Leitindex vergleichen. Daher habe ich für beide ein Ranking (0 bis 100) erstellt auf Basis des Verlaufs über die letzten Tage (Standardwert: 21 Tage). Die Differenz stellt dabei die Zielgröße dar und schwankt zwischen -100 (bärische Divergenz) und +100 (bullische Divergenz).
ADL-SPX Rank Difference-Buschi
English:
An expansion of the Advance Decline Line of the NYSE. It can be interesting to compare the Advance Decline Line with the corresponding benchmark index. I therefore made a ranking (0 to 100) based on the performance over the last days (default: 21 days). The difference is the target figure and ranges between -100 (bearish divergence) to +100 (bullish divergence).
Deutsch:
Eine Erweiterung der Advance Decline Line der NYSE. Oft möchte man den Verlauf der Advance Decline Line mit dem zugehörigen Leitindex vergleichen. Daher habe ich für beide ein Ranking (0 bis 100) erstellt auf Basis des Verlaufs über die letzten Tage (Standardwert: 21 Tage). Die Differenz stellt dabei die Zielgröße dar und schwankt zwischen -100 (bärische Divergenz) und +100 (bullische Divergenz).
SHIT35 Alt Index (ROC or Volume) [LucF]SHIT35 is an index of 35 Binance alt/BTC pairs. It provides traders with a more reliable read of BTC pairs price movement than the often uncorrelated USD market cap standard.
Because it must read data coming from 35 markets, SHIT35 is painfully slow and should be kept hidden most of the time. Its features will hopefully seduce traders in using it nonetheless for market analysis.
Features
The Index can be calculated using 4 different modes:
1. Total of instant rate of change for all 35 markets ,
2. Cumulative total of ROCs,
3. Average of ROCs,
4. Plus/Minus volume (an aggregate OBV, if you will).
Select only one of the methods at a time to prevent confusion between modes.
An option allows showing the correlation between the Index as it is configured, and another instrument (CRYPTOCAP:TOTAL2 by default).
Markers can be used to identify abnormal movements in the Index. They are generated using Index exits from Bollinger bands.
The chart shows the Index with, from top to bottom, the default mode with BTC pairs, with USDT pairs, then mode 2 and 4 for BTC pairs.
Index Components
The Index is not weighed. The 35 instruments composing the index all have equivalents in the USDT quote currency on Binance, so you can easily change to those pairs using the Settings. Choosing another exchange or quote currency will require modifications to the list of instruments in the indicator’s code, since if one of the markets cannot be found, the indicator will not work. If the instrument exists but has no history for some bars, zero values will be used for them.
Watchlists
I have created a watchlist for the 35 markets in each of the BTC and USDT quote currencies. To import the watchlists, save the text you’ll find at these links in a file named the way you want your watchlist to be named and import them using the “Import Watchlist…” function.
BTC Watchlist: pastebin.com
USDT Watchlist: pastebin.com
Alerts
You can define alerts on any combination of markers you configure. After defining the markers you want the alert to trigger on, make sure you are on the interval you want the alert to be monitoring at, then create the alert, select the indicator, use the default alert condition and choose your triggering window (usually “Once Per Bar Close”). Once the alert is created, you can change the indicator's inputs with no effect on the alert.
ADVN-DECLAdvancing - Declining issues indicator which you can use for Bitcoin trading if you, like me, believe that cryptocurrency is highly correlated with the activity on the stock exchanges (yes, the PROs are here, we just didn't know it yet)
This indicator is based on showing the data, as much as possible, as it is, and not messing it up by calculating stuff. Calculation should be used to better understand what the data represents, and not to show beatiful things which are, in fact, not present.
You could, for example, take ADVN and DECL, calculate rma() moving averages and make a RSI out of it. The result is very interesting when applied on the daily time frame, but not as useful for trading.
By the way, I recommend enabling this option:
Right click - Settings - Timezones / Sessions
Please check "Extended hours (Intraday Only)"
I could do it in code with the ticker() function, but I'm under the impression that then, free TV users would not be able to use the indicator.
WIG20/30 Advance-decline LineAdvance-decline line for Warsaw Stock Exchange (GPW)
EN: Since GPW doesn't give us advance/decline data similar to NYSE, it's not hard to calculate it manually (WIG20 and WIG30 - can be changed in settings)
PL: Wskaźnik A/D line dla giełdy Warszawskiej (działa dla WIG20 i WIG30)