Index Breadth Percent of Stocks above Key Moving AveragesThis Indicator will plot the percent of stocks above key moving averages. This is a good way to monitor market breadth and help determine when the market is Overbought or Oversold.
Market Tickers Available = SP500, DJI, NQ, NQ100, R2000, R3000, SP500 Financials, SP500 Materials, SP500 Energy, SP500 Staples, SP500 Discretionary, SP500 Industrials, SP500 Real Estates, Overall Market
Chỉ báo Độ rộng
Realtime Cumulative DeltaThis is a Real time volume Delta indicator which has to run real time on the chart to capture observation.
Start it when the session starts and log the data and observe. It plots histograms as well as candlesticks of the the cumulative volume delta, from the style switch whichever you want.
It is done based on real time tick and not based on candlesticks, so the accuracy of volume delta is more. Uptick volumes are added as buy and downtick volumes as sell which is the actual way of calculating CVD
Apply the CVD concepts for trading results.
Mansfield Relative Strength (Original Version) by stageanalysisThe Mansfield Relative Strength ( Mansfield RS ) is one of the core components of the Stan Weinstein's Stage Analysis method as discussed in his classic book Stan Weinstein's Secrets for Profiting in Bull and Bear Markets .
The Mansfield RS measures the relative performance of the stock compared to an index such as the S&P 500, or to another stock etc.
However, this should not to be confused with the popular RSI (Relative Strength Index developed J. Welles Wilder), which is a momentum oscillator that measures the speed and change of price movements on a single stock.
The Mansfield RS indicator consists of the Relative Strength comparison line versus the S&P 500 (default universal setting, but can be edited), and the "Zero Line" – which is the 52 week MA of the Relative Strength line, that's been flattened to create the oscillator style.
How to use the Indicator:
Outperforming – Above the Zero Line
When the Relative Strength line crosses above the Zero Line (it's flattened 52 week RS MA), it is outperforming the index or stock that it's comparing against, and so it is showing stronger relative strength.
Underperforming – Below the Zero Line
When the Relative Strength line crosses below the Zero Line (it's flattened 52 week RS MA), it is underperforming the index or stock that it's comparing against, and so it is showing weaker relative strength.
Settings:
When you first add the indicator is has a coloured background, with a green tint for a postive RS score, and a red tint for a negative RS score. However, this can be turned off, or edited in the indicator settings, in the Style tab. So you can change the colors or remove it and just have the RS line and zero line showing. Both of which can also be edited in the settings.
Change the symbol that it compares against. The default is the S&P 500. But for crypto you might want to use Bitcoin for example. Or you might want to compare against competing stocks in the same peer group, or against the industry group or sector. The choice is yours. But the S&P 500 is a universal measure for the Mansfield RS. So I would recommend leaving it on that unless you have a particular reason to change it as mentioned.
MA Length is also an editable setting. This creates the Zero Line. So it will affect the values of the Mansfield RS if you change it. 52 is the default setting, and is set as such for the weekly chart. So I'd recommend not editing it on the weekly chart, but for other timeframes, different settings can be used.
Improved Lowry Up-Down Volume + Stocks Indicatordocs.cmtassociation.org
In Paul F. Desmond's award winning paper in 2002 entitled "Identifying Bear Market Bottoms and New Bull Markets", he proposed an indicator for panic buying and selling that can be used to determine major market bottoms.
The paper explains that in major bear markets, you should have at least one, or more than one multiple 90% down days. Recoveries out of bear markets, or beginnings of new bull markets, should have at least one of the following conditions:
1) At least one 90% up volume day
2) At least two back-to-back 80% up volume days
Up and Down volume are defined as:
1) 90% up volume - defined as 90% up volume / total volume (or 10% down volume / total volume)
2) 90% down volume - defined as 90% down volume / total volume (or 10% up volume / total volume)
Several scripts exist in Tradingview to show this indicator for Up and Down volume, along with arrows or indicators for green up days or red down days.
However, this script is an improved version as it allows you the option to customize a couple parameters:
1) You may chose whether you'd like to use volume or stocks - sometimes it's better to have confluence between volume and actual stocks at the 90% threshold
2) You may chose the exchanges to consider - in the paper the NYSE is discussed, but this allows the expansion into NYSE, NASDAQ, DOW, and even a combined NYSE + NASDAQ + DOW indicator
3) It uniquely codes in the ability to plot a buy signal for both 90% up days, but also two back-to-back 80% up days - which is in the spirit of the original paper
I hope you enjoy this script and please let me know if you'd like me to make any modifications or additions.
Thank you, sincerely,
Jim Bosse
Nikhil strategy 1how to make a best strategy in live market are the analysis very fundamental strong and technical
Currency Strength V2An update to my original Currency Strength script to include a 2nd timeframe for more market context.
Changed the formatting slightly for better aesthetics, as the extra column and colors became unsightly.
Also added a new setting for "Flat Color", which changes the value background to a simple green/red for above or below 50, rather than using the Color Scale that increases color intensity the further it gets from 50.
________________________________________________________________________________
This script measures the strength of the 6 major currencies USD, EUR, GBP, CAD, AUD and JPY.
Simply, it averages the RSI values of a currency vs the 5 other currencies in the basket, and displays each average RSI value in a table with color coding to quickly identify the strongest and weakest currencies over the past 14 bars (or user defined length).
The arrow in the current RSI column shows the difference in average RSI value between current and X bars back (user defined), telling you whether the combined RSI value has gone up or down in the last X bars.
Using the average RSI allows us to get a sense of the currency strength vs an equally weighted basket of the other majors, as opposed to using Indexes which are heavily weighted to 1 or 2 currencies.
The additional security calls for the extra timeframe make this slower to load than the original, but this was a user request so hopefully it will prove worthwhile for some people.
Those who find the loading too slow when switching between charts may be better off still using the original, which is why this is posted as a separate script and not an update to the original.
This is the table with Flat Color option enabled.
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.
OBV Trend Indicator by Bruno MoscanOBV Trend is a modification I made in other scripts, so that after months of testing, I got a very accurate indicator as to the right moment to enter a high-yield trade.
The red line indicates the very short-term OBV variation, counting the last 3 candles.
The yellow line shows the short-term OBV variation, counting the last 9 candles.
The white line shows the medium-term OBV variation, counting the last 21 candles.
The trend is up (Bull Market) while the order of the lines on the chart is Red/Yellow/White.
The trend is Bear Market while the order of the lines on the chart is White/Yellow/Red.
If the Yellow line is in the first position, either from bottom to top, or from top to bottom, it is a sign that the trend is changing, reversing, wait for the lines to organize before entering the movement.
When the lines are so close together that it is difficult to understand the correct order of the lines, it means that you are facing the best possible entry point. Wait for the lines to separate, at the first perfect food signal as described above, enter the movement, at this point, your stoploss may be very short, positioned at the base of the last candlestick.
The indicator works best on H1, H2, H4 and D1. In the Weekly until the signal reversal occurs, you can lose several days, sometimes weeks. On minute charts, there are many reversals and you can be stopped many times.
Good trends.
*Translate by Google Tradutor*
*In Brazil, we speack Portuguese, not Spanish or English :p *
HH & LL ScalperThis script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.
Generally HH and HL shows up-trend, LL and LH shows down-trend.
If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.
If you use smaller numbers for left/right bars then it will be more sensitive.
Custom IndexCreate your own stock index with up to 20 tickers!
The weight of the index can be selected from market capitalization and equal weight.
You can easily see how your favorite stocks are performing.
In addition, moving average lines (10SMA, 20SMA, 50SMA, 100SMA, 150SMA, 200SMA) can also be displayed as an option.
----以下日本語
最大20銘柄を用いて独自の株価指数を作成できます!
指数のウェイトは時価総額、イコールウェイトから選択でき、
お気に入りの銘柄群がどのようなパフォーマンスなのか簡単に分かります。
また、移動平均線(10SMA、20SMA、50SMA、100SMA、150SMA、200SMA)もオプションで表示可能です。
On Balance Volume DeviationThe objective of this indicator is to be a leading indicator that can detect a large price change before it happens. It is based on the On Balance Volume (OBV) indicator, which is a leading indicator based on the premise that a large change in volume often precedes a large price change. This indicator charts the N-Period deviation of the OBV data and displays it as a histogram. This is overlayed on an area chart of the M-Period SMA of the histogram data. This combination helps to visually enhance the pattern that signifies that a jump in price is about to happen.
Useage:
When the histogram bars are above the area plot, then a jump in price is about to happen
As with all leading indicators, there are a lot of false signals. Confirm with price action or another indicator
The further the histogram bars are above the area plot, the larger the predicted jump in price
It seems to work better on shorter intraday timeframes than on the longer timeframes
At the close of a market session, it is a good indicator of how much the price will jump on the opening of the next market session.
DOW 30 - Market BreadthDOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
This indicator is calculated from all stocks in the DJI as of 8/9/2022;
- Evaluating VWAP,
- 9 EMA,
- 20 EMA.
Vwap Calculations;
Stock above Vwap = 1 (Vwap Bull),
Stock below Vwap = 1 (Vwap Bear),
As there are 30 stocks in the DJI, there is a max value of 30 Vwap Bulls/ Vwap Bears.
Ema Calculation;
Stock above 9 EMA = 0.5 (EMA Bulls),
Stock below 9 EMA = 0.5 (EMA Bears),
Stock above 20 EMA = 0.5 (EMA Bulls),
Stock below 20 EMA = 0.5 (EMA Bears),
For the EMA Bulls to reach 30 all stocks must be trading above both the 9 EMA and 20 EMA to reach a Max Value of 30.
The reasoning for this calculation is to suggest the current strength and speed of the current turn in the market.
Horizontal Lines:
There are three horizontal lines, MAX, MIN & Neutral;
MAX & MIN
Resides at the 30 & 0 levels suggesting the market is currently at an extreme. Representing all stocks are moving in the same direction together.
When the MAX or MIN are represented in the VWAP Line this represents directional conviction in the underlining DJI.
Neutral
Neutral resides at the 15 level and represents that the market is either about to make a decision or is choppy.
EXAMPLE
Below are some examples of how the DOW 30 indicator is able to represent the current market conditions.
Understand Current Market Conditions, either being Bullish, Neutral, or Bearish.
See live Market Mechanics, and understand the current market direction on a short-term timeframe.
DOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
If there are any additional requests to the indicator feel free to leave a comment or privet message.
Best of luck trading.
ZigZag with Retracement LevelsThis is a modification to "ZigZag with Fibonacci Levels" by LonesomeTheBlue.
By default, the script finds the ZigZag, draws Fibonacci lines and labels accordinly. ZigZag period can be set.
The modification to the original script provides the following features:
1) Option for user to customize retracement levels, if they don't want to use Fibonacci levels. This allows for different strategy adoptions.
2) Option to show Fibonacci or custom retracement levels based on the latest pivot (including the current bar)
For example:
Enjoy and happy trading~!!
Crypto Terminal [Kioseff Trading]Hello!
Introducing Crypto Terminal (:
The indicator makes use of cryptocurrency data provided by vendor INTOTHEBLOCK.
NOTE: The cryptocurrency on your chart must be paired with USD or USDT. Data won't load otherwise - possibly transient. For instance, BTCUSD or BTCUSDT, ETHUSD or ETHUSDT.
Provided datasets:
Twitter Sentiment Data
Telegram Sentiment Data
Whale Data (i.e. % of Asset Belonging to Whales)
$100,000+ Transactions
Bulls/Bears (Bulls Buying | Bears Selling)
Current Position PnL (Currently Open Positions for the Coin are Retrieved and Plotted. Data is Split into Currently Profitable Positions, Losing Positions, and B/E Positions)
Average Balance
Holders/Traders Percentage (Addresses are Retrieved and Classified as Holding Accounts or Trader Accounts)
Correlation
Futures OI
Perpetual OI
Zero Balance Addresses
Flow (Money Inflow & Outflow)
Active Addresses
Average Transaction Time
Realized PnL (Addresses with Realized Profits, Realized Losses, and B/E)
Cruisers
A few more data points are provided.
Additionally, you can plot the values of any dataset in a pane below price.
Below are images of plottable data; different cryptocurrencies will be shown for each example (:
Twitter sentiment data.
Assess this data lightly; difficult to confirm accuracy.
Telegram sentiment data.
Assess this data lightly; difficult to confirm accuracy.
Percentage of asset belonging to whales.
$100,000+ transactions (volume oriented)
Bulls buying; bears selling.
Current positions at profit; current positions at loss; current positions at breakeven.
Average balance.
Percentage of asset belonging to traders; percentage of asset belonging to holders.
Asset's 30-interval correlation to BTC.
Perpetual open interest.
Zero-balance addresses.
Flows.
Active addresses.
Average transaction time.
Addresses at realized profit; addresses at realized loss; addresses at breakeven.
Cruiser data.
Futures open interest.
Naturally, this data isn't provided for every cryptocurrency; NaN values are returned in some instances.
Table 1
I provided three data tables, which load independently, so you don't have to change plotted data to access values.
Table 2
Lastly, you can create a 10-asset crypto index and run calculations against it.
The image shows an example.
I'll update this script with additional calculations/data in the near future. If you've any suggestions - please let me know!
Enjoy (:
OBV CSI [mado]This Indicator shows you the strength of the Currency based OBV RSI.
If the Currency label is on the top, it is strong, if it is on the bottom, it is weak
use sample image
I use 1 chart just for OBV CSI :)
Stochastic Slow and OBV Percent Oscillator
Purpose - Stochastic is the best momentum indicator and On Balance Volume (OBV) is the best volume indicator. Why not combine both to come up with a more sophisticated oscillator?
How It's Done - I had to put OBV as an oscillator (returning values between 0 and 100) in order to put it in the same pane with the slow stochastic oscillator. Otherwise, their synergy won't be that great. So, I have decided to visualize OBV as a percentage relative to selected period's high and low value. That way, I can keep the OBV value to stay within boundary.
Interpretation
1. Dot color indicates the whether the stochastic K/OBV is over or below the stochastic D/Signal line.
2. When Stoch and OBV are moving in the same direction and are close together (on top of each other), this indicates a strong trend
3. When Stoch crosses up or down the OBV oscillator, it may indicate a trend reversal
Indicator Daily-Weekly-Range-In-PriceSpecification: Indicator Daily-Weekly-Range-In-Price helps traders to easily identify the price movement of a range that goes from highs to lows in a specific timeframe. Range price can be chosen between daily or weekly. It can be integrated with strategies giving us more information abot price movement.
Name:Daily-Weekly-Range-In-Price
Category: Mean Reversion. Range Trading
Timeframe: From weekly below, depending on the specific technique.
Technical Analysis: The indicator uses price action from daily to weekly using highs/lows to detect the range movement.
Suggested usage: Every Market especially for Swing Trading Operativity.
Daily-Weekly-Range-In-Price Indicator can identify automatically the range between highs and lows from weekly to minor timeframes with labels on the charts and an histogram helping shown on the chart to easily identify the volatility range juat at one glance.
Highly Dinamic Inputs Settings: Timeframe can be changed from the input options, labes indicating the range in price will change automatically.
God Number Channel v2(GNC v2)GNC got a little update:
1) Logic changed a bit.
I tried to calculate MAs based on the power(high - low of previous bars).You can see it the M-variables, as new statements were added in calculation section of MAs. I don't really know if I did right, because I didn't go too much in Pine Script. I just wanted to make a Bollinger-bands-like bands, which could predict the levels at which might reverse, using legendary fibonacci and Tesla's harmonic number 432. It's might sound as a joke, but as you can see, it works pretty good.
2) Customization :
No need to change Fibonacci ratios in code. Now you can do it in the GNC settings. Also MAs' names were made obvious, just check it out. Time of million similar "MA n1" has passed :)
3) Trade-entry advices :
I didn't tell you exactly the trade-entry advices, as I haven't explored this script fully yet :) But you probably understood something intuitively, when added GNC on the chart. Now I made things way more obvious:
1. Zones between Fib ratios show you how aware you should be of price movements. Basically, here are the rules, but you probably understand them already:
1.1 Red zone(RZ) : high awareness, very likly for price to be reversed, but if there is a clear trend and you know, than it might be a time for price to shoot up/down.
1.2 Orange zone(OZ) : medium awareness, not so obvious, as price might go between boundaries of OZ and continue the trend movement if such followed before entering the OZ. If price go below lower boundary of OZ and the next bar opens below this boundary, it might be a signal for SHORY, BUT(!) please consider confirmation of any sort to be more sure. Think of going beyond the upper boundary by analogy.
1.3 Green Zone(GZ) : if the price hits any boundary of green zone, it is usually a good oppurtunity to open a position against the movement(hit lower boundary -> open LONG, hit upper boundary -> open SHORT).
1.4 Middle Zone(Harmonic Zone)(MZ) : same rules from Green Zone.
IMPORTANT RECCOMENDATION : Use trend indicator to trend all signals from zones to follow the trend, 'cause counter-trending with this thing without stop loss might very quickly wipe you out , might if you will counter-trend strategy with GNC, I will be glad if you share it with the community :)
Reccomendation for better entries :
1) if the price hits the lower(or high) boundaries(LB or HB) zone after zone(hit LB or HB of RZ, then of OZ, then of GZ), it is a very good signal to either LONG, if price was hitting LBs , or SHORT, if hitting HBs .
2) Consider NOT to place trades when in MZ, as price in this zone gets tricky often enough. By the way, if you dont the see the harmonic MAs(which go with plot(ma1+(0.432*avg1)) ), then set the transparency of zone to 20% or a bit more and then it will be ok.
I will continue to develop the GNC and any help or feedback from you, guys, will be very helpful for me, so you welcome for any of those, but please be precise in your critics.
Thank you for using my stuff, hope you found it usefull. Good luck :)
SMA - SSL Hybrid - HalfTrendSMA - Halftrend Signal - SSL Hybrid ichi signal indicator
This indicator is actually a combination of several indicators to get the right signal in the direction of the market and gain profit
At first, there are some simple moving averages called MA, which are used only to display the simple moving average in different time frames.
Then we have the combination of a Halftrend indicator which is set in such a way that if the three Halftrend lines are green, it will issue an ascending signal, and if all three lines are red, it will issue a descending signal.
In the following, we have Tenkasen from Ichi Moko with SSL Hybrid, if the candlesticks are above Tenkasen and SSL Hybrid issues an upward signal, it is a suggestion to enter into a buy transaction, and if the candles fall below Tekasen and SSL Hybrid A bearish sign above the candle means a sell offer
It is more optimal to place the candlestick display in Heiken Ashi mode
God Number Channel V1 (GNC V1)Channel, made of 5 MAs, which a made this way: High of N-period SMA - Low of N-period SMA + X-period SMA (check the code), where N and X are defined by your input.
Main purpose: helps you understand in what range price can move.
WARNING!
HAS TO BE USED WITH OTHER INDICATORS TO HAVE MORE ACCURATE ENTRIES!!!
If the price is above or below the channel, it means that the movement is very strong and you count it as a trend, but be careful then the price returns to the channel, as correction will follow very soon. Use fib correction tool to understand the approximate depth of correction, works pretty good.
Recommendation: consider using the Vortex Indicator( len 21 and 14 are fine; for trend) and "Vumanchu Divergencies + B"(for anything, but calibrate for accuracy, otherwise there will be too much false signals). If you want to see more options where the price might go, just add new MA and add/substract to/from its value avg1*(any of fibonacci correction levels, I personally use 1.618 and 2.618 and for me it is ok): plot(show_ma1 ? ma1+( [ [ ]]]*avg1) : na, color = ma1_color, title="MA №1")
Recommendations and feedback are welcome(!)
Take your wins
Volume Trend Meter LTFA new take to an already popular indicator of mine, now with lower time frame support for a volume called Volume Trend Meter LTF (VTML).
The VTM LTF indicator measures the volume pressure at a specific part of the candle (Start, Middle, or the end of the candle) and displays it as a histogram.
This indicator sums up all green candle volumes and red candle volumes over the selected part of the candle (Select in settings - start end or middle) and plots their values by subtracting increasing volume and decreasing volume.
Use this indicator to identify increasing volume with the green candles (close bigger than open) and increasing volume of the red candles (close is smaller than open).
Can also work on daily charts and higher.
======= Calculation ==========
For Green Column: The total Volume of green candles is higher than the total red candle volume.
For Red Column: The total Volume of red candles is higher than the total green candle volume.
======= Volume Trend Meter LTF Colors =======
Green: Increasing buying pressure.
Red: Increasing selling pressure.
My original VTM (not the lower time frame version):
Like if you like and Follow me for upcoming indicators/strategies: www.tradingview.com