Previous High/Low MTFIndicator to plot higher time frame previous candle highs and lows.
One of the key factor in understanding the trend is to look at higher time-frames chart.
Parameters are explained below:
resolution : Chose resolution of higher timeframe. If set to same as symbol, it will consider next parameter HTFMultiplier for calculation of higher timeframe
HTFMultiplier : Multiply symbol timeframe to by HTFMultiplier to derive higher time-frame
Offset : Number of higher timeframe candles before to be plotted. 1 means - it will show highs/lows of previous higher timeframe candle.
Breadth Indicators
Volume Zone Oscillator [xdecow]Volume Zone Oscillator (VZO) is an indicator that presents a different way of looking at OBV.
VZO is a difference (delta) between OBV and an exponential moving average.
The EMA becomes the baseline 0.
And in this way we can observe the strength of the movements, overbought and oversold (when the OBV is far from the average) and divergences.
Bride Index 4.1Bride Index 4.1 is a update of Bride Index 2.0 version. It now includes non-repaiting function and transparency input for EMAs lines.
This indicator shows possibles prices for the asset in daily or weekly close price with a scale from 3% to 60% (from 0.5% to 10% each line).
Attention for the input fields:
Period - D ou W (Upper case) - This field MUST have upper case letter. If you want to put close in minutes or hours, you must put the amount of minutes of the period (eg. 30 minutes insert 30 or 2 hours insert 120 ).
Variation (0.5% to 10%) - This field changes the gap between the lines in % of the close price.
PIPT | Power Index Pool Token | DeFi indexPowerPool provides a DeFi index that has too many components to be used as a chart ticker.
So here is an indicator to bypass the ticker limit.
From the PowerPool docs : app.powerpool.finance
The chart shows it in comparison to other DeFi indexes, quite a difference as you can see!
DPI | DeFi Pulse IndexTokenSets and DeFi Pulse provide a DeFi index that has too many components to be used as a chart ticker.
So here is an indicator to bypass the ticker limit.
From the TokenSets docs : www.tokensets.com
The chart shows it in comparison to other DeFi indexes, quite a difference as you can see!
sDEFI IndexThe Synthetix Exchange provides a DeFi index that has too many components to be used as a chart ticker.
So here is an indicator to bypass the ticker limit.
From the Synthetics docs : docs.synthetix.io
DeFi Index (sDEFI)
Contract: 0xe1aFe1Fd76Fd88f78cBf599ea1846231B8bA3B6B
Token | Initial Weight
---------------------------
Aave | 15%
Synthetix Network Token | 15%
yearn.finance | 15%
Uniswap | 10%
Compound | 7.50%
Maker | 7.50%
Balancer | 5%
Curve DAO Token | 5%
Kyber Network | 5%
Ren | 5%
UMA | 5%
Wrapped Nexus Mutual | 5%
The chart shows it in comparison to FTX's DeFi index, quite a difference as you can see!
Test: range mappingEXPERIMENTAL:
just a wild experiment..
mapping the average range break points to find natural hubs of support and resistance?!
Bride Index 2.0This indicator shows possibles prices for the asset in daily or weekly close price with a scale from 3% to 60% (from 0.5% to 10% each line).
Attention for the input fields:
Period - D ou W (Upper case) - This field MUST have upper case letter.
Variation (0.5% to 10%) - This field changes the gap between the lines in % of the close price.
Candle Color ChangeSimple code for change in Barcolor if the range (high-low) is bigger than the last 5 candles.
Background to highlight cash/session range [Futures]A simple script which allows the user to highlight the background of a certain session. At the moment there is only one session available, I will work on multiple highlights for numerous sessions at a later date.
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.
Relative Strength Index of EU and US Stock Index Trends quality//Relative Strength Index of European and US Stock Index Trends quality
//This indicator reveals the relative strength of European and US stock index futures.
//take Bull trend as an example , the current closed price>EMA20 value and the current closed price >20th previous bar closed price( deduction price),
//it's defined as a lower level bull trend .If the current price EMA20>EMA60, it's defined as a higher level bull trend .If the EMA20>EMA60>EMA120,it's defined as the highest level bull trend.
//You can choose to draw the curve with the deviation rate of the original major indexes to 20EMA, or draw the deviation rate with the average value (default value is 5 bars).
//In addition, a more technical method is added to analyze the deviation changes of the major indexes.The deviation rate changing velocity value, parameter tan (abbreviated by t) of 1, 2, 5, 10 is introduced.
//You can have the option of calculate the tan using average value of 5 candlesticks or original value.
//Taking tan1 as an example, it indicates how much the deviation rate between the current price and the previous candlestick has changed.
//The indicator of the index color and the description of the trend quality color can be switched off in option.
//In addition, this code color scheme is only suitable for black background (the code color needs to be changed by yourself if you use white background).
HhLl-OscilatorSimple oscillator which checks how many highs and how many lows the price is making. Parameters are as explained below:
lookback - Checks how many highs and lows it is making in these many bars. Sum of all highs and lows are taken for plotting.
periods - Initial period to check high and lows
multiples - Number of multiples on initial period for which highs and lows are checked
colorCandles - CandleColor based on the oscillator
If periods is 20 and multiples is 5 and loopback is 10
Indicator checks for last 10 bars how many highs/lows are made for 20, 40, 60, 80 and 100 periods. Sum of all highs and lows are plotted on the oscillator overlay
Price MovementPrice indicator that shows the trend based on price movement.
The indicator determinants when an asset price is getting higher or lower by comparing the previous price highs and lows to the current price.
==Explanation==
In case current HL2 exceeds the previous HL2 HIGH then the columns will turn green.
In case current HL2 fails the previous HL2 LOW then the columns will turn red.
The trick here is that the trend CONTINUES to show the greens and reds, until a reversal happens to the opposite side.
This can be used to determinate trends and reversals.
Note: Bar colors are disabled by default.
You can set the lookback period at the indicator settings as well as the asset source (HL2,CLOSE, etc..). default is HL2
Quote that i like: “It is impossible to produce superior performance unless you do something different from the majority.” – John Templeton
Enjoy and like if you like :)
Function: Discrete Fourier TransformExperimental:
function for inverse and discrete fourier transform in one, if you notice errors please let me know! use at your own risk...
Trading Sessions GMT+8 By ShoThis indicator show the trading session for GMT+8. Might be slight vary with some broker
Divergence RSI-OBVDivergence detector on RSI of On Balance Volume. Using a modified script from XaviZ(RSI-VWAP) but instead of VWAP as a source in this script source is OBV, for divergence detector is a script from Libertus. In this version, results are filtered using STOCH oversold or overbought filter from matt_b script MFI Divergence v2.
An indicator for entry in choppy markets, signals for entry in trending market to follow the trend work well. A good way to spot if there is a weakness in a trend but gives too many false positives for spot reversal, so only good for scalping with tight stops if betting against the trend. Multiple divergences in combination with indicator hitting the overbought or oversold should give good places for entry.
High Low Differential MeterYet another trend follower that is based on a very simple principle: Take the highest high and lowest low from a user defined bars back period, do an average between them and smooth them up with 3 possible moving averages, VIDYA, EMA and SMA, while VIDYA is the default.
What is VIDYA ?
Variable Index Dynamic Average (VIDYA) is similar to the Exponential Moving Average (EMA), but automatically adjusts the smoothing weight based on price volatility.
How to use:
GREEN : Up trending
LIGHT GREEN : Up trend reversal might occur.
RED : Down trending
LIGHT RED : Down trend reversal might occur.
NOTE: BAR COLORS are set to TRUE by default!
Follow for more indicators: www.tradingview.com
Bitcoin Bullish Percent IndexHello Traders,
This is Bitcoin Bullish Percent Index script. First lets talk about what the Bullish Percent Index and how it is calculated:
"The Bullish Percent Index (BPI) is a breadth indicator based on the number of securities on Point & Figure Buy Signals, Developed by Abe Cohen in the mid-1950s. Because a security is either on a P&F Buy or Sell Signal, there is no ambiguity when it comes to P&F charts. This makes BPI a straightforward indicator with clearly defined signals."
The calculation is straightforward and simple: (Number of securities on P&F Buy signals) / (Total number of securities)
Here you can see what the P&F buy signal is:
In this script I choose 40 cryptos that is correlated ( as I see ) with BTC (including BtcUsdt). in the first part the script creates P&F chart for each security and check if there is Buy or Sell signal and sum the buy signals if there is. in the second part it creates P&F chart by using the P&F buy/sell signals coming from the securities P&F chart. because of complicated calculation the script may need a few seconds to load.
in the first part reversal value is 3 by default but you can set different values as reversal. sometimes I got better results with reversal = 5.
in BPI part reversal = 3 is used. so each box represents 2% (each X or O is a box). And this means it takes at least a 6% move in BPI for a reversal. the Bullish Percent Index favors the bulls when above 50% and the bears when below 50%. The bulls have the edge when over 50% of stocks are on a P&F Buy Signal. BPI is also considered overbought when above 70% and oversold when below 30%. BPI can move between 0 and 100.
Because of 40 securities are used in the script and all different prices, it uses Percentage scaling only. it can calculate the Percentage automatically by using the time frame of the chart or you can set it as you wish.
The Signals coming from BPI:
Bull Alert: BPI is below 30% and then forms a new column of X's (rises)
Bear Alert: BPI is above 70% and then forms a new column of O's that decline below 70%.
Bull Confirmed: BPI is on a P&F buy signal and in a column of X's (rising).
Bear Confirmed: BPI is on a P&F sell signal and in a column of O's (falling).
Bull Correction: BPI is on a P&F buy signal, but currently falling (column of O's).
Bear Correction: BPI is on a P&F sell signal, but currently rising (column of X's).
If you are not familiar with Bullish Percent Index you better search it on the net to get more info, you can find a lot of articles and web sites about BPI.
as I remember I developed the script 6-7 months ago and today I had chance to publish it as it was
Enjoy!
Trend-Range IdentifierTrend trading algorithms fail in ranging market and Swing trading algorithm fail in trending market. Purpose of this indicator is to identify if the instrument is trending or ranging so that you can apply appropriate trading algorithm for the market.
Process:
ATR is calculated based on the input parameter atrLength
Range/Channel containing upLine and downLine is calculated by adding/subtracting atrMultiplier * atr to close price.
This range/channel will remain same until the price breaks either upLine or downLine.
Once price crosses one among upLine and downLine, then new upLine/downLine is calculated based on latest close price.
If price breaks upLine, the trend is considered to be up until the next line break or no lines are broken for rangeLength bars. During this state, candles are colored in lime and upLine/downLine are colored in green.
If price breaks downLine, the trend is considered to be down until the next line break or no lines are broken for rangeLength bars. During this state, candles are colored in orange and upLine/downLine are colored in red.
If close price does not break either upLine or downLine for rangeLength bars, then the instrument is considered to be in range. During this state, candles are colored in silver and upLine/downLine are colored in purple.
In ranging duration, we display one among Keltner Channel, Bollinger Band or Donchian Band as per input parameter : rangeChannel . Other parameters used for calculation are rangeLength and stdDev
I have not fully optimized parameters. Suggestions and feedback welcome.
Capitalization of BTC vs. Top 5 US CorporationsThis script displays the capitalization of Bitcoin as a percentage of the capitalization of 5 large US corporations: Apple, Microsoft, Amazon, Google, Facebook. According to www.tradingview.com these are (at the current time) the largest US companies.
Market Breadth Indicator (percentage of US stocks above * SMA)This script is a revised version of jchang274's Multi-Sub script.
Add more feature from the original jchang274 script.
1.Compare 4 US STOCK INDEX ( Dowjones 30/NASDAQ100/RUSSELL2000/S&P500 ) in the same index of percentage of stocks above 20 /50/100/200 days simple moving average.
2. Use 4 index of percentage of stocks above 20 /50/100/200 days simple moving average,compare the same stock index ( Dowjones 30/NASDAQ100/RUSSELL2000/S&P500 )
How it begin?
Traders and investors use market breadth in order to assess the index’s overall health. Market breadth can be a reliable, if not an accurate, indicator of an upcoming price rise in the index. Similarly, it can also provide early warning signs for a future price decline.
What is it?
Market breadth indicators analyze the number of stocks advancing relative to those that are declining in a given index or on a stock exchange.
Market breadth refers to how many stocks are participating in a given move in an index or on a stock exchange. An index may be rising yet more than half the stocks in the index are falling because a small number of stocks have such large gains that they drag the whole index higher.
How it works?
Market breadth studies attempt to uncover strength or weakness in the movements of an index that are not visible simply by looking at a chart of the index.