Risk On Risk OffA helpful indicator for those who follow a systematic long-term investment approach.
What it shows:
It shows the 60 Day Cumulative Return of $BND Vanguard Total Bond Market ETF against the 60 Day Cumulative Return of $BIL SPDR Bloomberg Barclays 1-3 Month T-Bill ETF.
Why:
This Indicator will provide you a sense of where the economic environment is at, if the indicator shows that the 60 Day Cumulative return of $BND is ABOVE $BIL, it means that it's a good idea to go Risk ON in the stock market; On the other hand, if the inverse is true, it means that is a good idea to go Risk OFF in the stock market.
Example Uses:
Warren Buffet often advice Investors to just buy a S&P500 index tracking ETF like $SPY consistently and you will likely to be making money in the long-term.
With this indicator you will be able to make the Buffet Strategy even simpler: when the indicator shows Risk ON, buy the $SPY; when the indicator shows Risk OFF, consider hedges like $IEF iShares 7-10 Year Treasury Bond ETF. AMEX:SPY
Sentiment
Runners & Laggers (scanner)Firstly, seems to me this may only work with crypto but I know nothing about the other sectors so i could be wrong. I was trying to think up a good way to find moving coins(other than by volume bc theres holes in the results when using it this way). Thought this was an interesting concept so decided to publish it as I've seen no others like it (though i did not extensively search for it. We need to start with a little Tradingview(TV) common knowledge. When there is no update of trades/volume in a candle TV does not print the candle. So when looking at (let's say) a 1 second chart, if the coin being observed by the user has no update from a trade in the time of that 1 sec candle it is skipped over. This means that a coin with a ton of volume might fill an entire 60 seconds with 60 candles and conversely with a low volume coin there could be as little as 0 1-second candles. BUT even for normally low volume coins, when a pump is beginning with the coin it could literally go from 0 1-second candles within a minute to 60 1-second candles within the next minute. ***NOTE: This DOES NOT show ANY information if the coin is going up or down but rather that a LOT more trading volume is occurring than normal.*** What this script does is scans (via request.security feature) up to 40 coins at a time and counts how many candles are printed within a user set timespan calculated in minute. 1 candle print per incremented timeframe that the chart is on. ie. if the chart is a 1 min chart it counts how many 1 min candles are printed. So, (as is in the captured image for the script) if you wanted to count how many 5 second candles are printed for each coin in 1 min then you would have to put the charts timeframe on 5sec and the setting titled 'Window of TIME(in minutes) to count bars' as 1.0 (which bc it's in minutes 1.0m = 60sec and bc 60s / 5s = 12 there would be 12 possible values that each coin can be at depending on how many bars are counted within that 1min/60sec. *** I will update to show an image of what I'm talking about here. Now, the exchange I'm scanning here is Kucoin's Margin Coins. There are 170 something coins total but I removed a few i didn't care for to make it a round 40 coins per set (there being 4 sets of 40 coins total=160 coins being scanned). To scan all 4 sets the indicator must be added 4 times to the chart and a different 'set' selected for each iteration of the script on the chart. Free users can only scan 3 at the most. All others can scan all 4 sets. In the script you can change the exchange and coins as necessary. If there done so and there are not 40 coins total just put '' '' in the extra coins spots that are not filled and the script will skip over these blankly filled spots. The suffix (traded pair) for the tickerID on all Kucoin's Margin Coin's is USDT so that's what i have inputted in the main function on line 46 (will need to be changed if that differs from the coins you want to scan. Next in the line of settings is 'Window of TIME(in minutes) to count bars' which has already been discussed. Following that is the setting "Table Shows" which the results are all in a table and the table will present the coins that have either "Passed" or "Failed" depending on which you choose. The next setting determines what passes or fails. If there are 12 possible rows for the coins to be in (as described above) then this setting is the "Pass/Fail Cutoff" level. So if you want to show all the coins that are in rows 11 and 12 (as in the image at top) then 11 should be selected here. At this point you will see all the coins that have a lot of volume in them. Finding coin names in the table that are usually not with a ton of volume will present your present movers. NOTE: coins like BTC and ETH will almost always be in these levels so it does not indicate anything different from the norm of these coins. Last setting is the ability to show the table on the main window or not. Hope you enjoy and find use in it. BTW this screener format is the same as the others I have published. If you like, check those out too. If you find difficulty using then refer to those as well as they have additional info in them on how to use the scanner and its format. Lastly, in the script is the ability to print the plots and labels but I commented them out bc its really just a jumbled mess. In the commented out sections there is a Random Color Function (provided by @hewhomustnotbenamed which was developed on the basis of Function-HSL-color by @RicardoSantos. All right, peace brothers....and sisters.
**** Also, I see how the "levels" could be confusing so I will put them into a % format soon (probably not today) so that the "Pass/Fail Cutoff" can be in % format so that if "passed" is chosen and 50% is chosen (in the new setting that will be changed) then it'll show you all the coins that have more than 50% of the bars printed within the time window chosen. Goodluck in all your trading adventures. ChasinAlts out.
VIX Reversal Scalper by Trend Friend - Stocks OnlyVIX REVERSAL SCALPER BY TREND FRIEND - STOCKS ONLY
This indicator is built for scalping, but can be used for swing trades by adjusting the signal settings to a higher number.
This indicator is meant for stocks with a lot of price action and volatility, so for best results, use it on charts that move similar to the S&P 500 or other similar charts.
This indicator uses real time data from the stock market overall, so it should only be used on stocks and will only give a few signals during after hours. It does work ok for crypto, but will not give signals when the US stock market is closed.
**HOW TO USE**
When the VIX Volatility Index trend changes direction, it will give a bull or bear signal on the chart depending on which way the VIX is now trending. Follow these when price is near support/resistance or fibonacci levels.
For more signals with earlier entries, go into settings and reduce the number. 10-100 is best for scalping. For less signals with later entries, change the number to a higher value. Use 100-500 for swing trades. Can go higher for long swing trades.
***MARKETS***
This indicator should only be used on the US stock markets as signals are given based on the VIX volatility index which measures volatility of the US Stock Markets.
***TIMEFRAMES***
This indicator works on all time frames.
**NOTE**
Repainting does happen but it is seldom. If I get enough requests to remove repainting I will, but since it is built for early entries, preventing it from repainting will make the signals show up later than normal.
Due to various factors, this indicator might not give exit signals every time it should, so be sure to watch the price action for entries/exits and don't rely solely on this indicator.
**INVERSE CHARTS**
If you are using this on an inverse ETF and the signals are showing backwards, please comment with what chart it is and I will configure the indicator to give the correct signals. I have included over 50 inverse ETFs into the code to show the correct signals on inverse charts, but I'm sure there are some that I have missed so feel free to let me know and I will update the script with the requested tickers.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index, Volume Profile, Auto Support And Resistance and Money Flow Index in combination with this Vix Reversal Scalper. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Momentum With Bullish & Bearish LabelMOMENTUM WITH BULLISH AND BEARISH SIGNALS
This is a momentum oscillator that paints red or green depending on whether Momentum is above or below the zero line. It includes a label on the right hand side that will reflect the bullish or bearish direction of the current momentum by changing colors to red or green and text telling you Bullish or Bearish.
***HOW TO USE***
When Momentum is above zero, it is bullish. When Momentum is below zero it is bearish.
A label on the right side will update in real time to tell you if momentum is Bullish or Bearish for faster recognition of the trend.
When momentum is above the zero line(Bullish) but trending downward, a second label will show up in purple to notify you of a change in momentum direction.
When momentum is below the zero line(Bearish) but trending upward, a second label will show up in purple to notify you of a change in momentum direction.
This indicator was built to help you quickly identify the Bullish or Bearish nature of the current Momentum using colors as well as a live color changing label so you can glance at the label and understand it's direction without analyzing the indicator data.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This momentum indicator can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index, Volume Profile, Auto Support And Resistance and Money Flow Index in combination with this Momentum Oscillator. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Bitcoin Spot PremiumPlots the difference between the Bitcoin Spot price and the average of 7 Futures prices.
The idea being that Spot leads the market, and when Spot is priced significantly higher than Futures, price should increase. And vice-versa.
Possible uses:
Sharp changes could indicate a reversal is coming
A consistently large premium can be used as additional validation of trend continuation
Divergences may help identify trend exhaustion
If you find a strategy that works well with this indicator, I'd love to know. Enjoy!
Exchange Down / Up Volume RatioI attended some workshop yesterday and I noticed that one of the presenters had an indicator titled 'price ratio' and had DVOL and UVOL as the inputs.
From some deduction, I see that it was basically looking at the ratio of down by up volume on the NYSE exchange; he had a few levels marked as well (which I've also marked on this indicator).
Seems like an interesting metric to consider, basically used to get a rough idea of the short term sentiment of the masses; allowing one to see when selling is outpacing buying in pure volume traded on an exchange.
I've added a few other exchanges to allow for quick switch between the majors with this info readily available on TradingView.
Supported inputs are: AMEX, NYSE, NASDAQ, ALL (must be in caps)
All is the sum of the NYSE, AMEX, and NASDAQ exchange volume.
The standard trading view disclaimer applies to this post -- please consult your own investment advisor before making investment decisions. This post is for observation only and has no warranty etc. www.tradingview.com
Best,
JM
WhaleCrew Crypto Open InterestUse Crypto Open Interest Data available on TradingView to your advantage.
Features
Auto-Detect Symbol (based on chart)
Preset Symbols (BTC, ETH, BNB, XRP, LUNA, ADA, SOL, AVAX and DOT)
Exchanges ( Binance and BitMex )
Inverse and USDT Pairs
Override Data Option to use any OI Data on TradingView
Customizable Candles
UpVol/TVol NYSE Lowry Upside DaysTakes Tradingviews Upside Volume for NYSE and divides it by Total Volume on NYSE.
Tradingview's data source generally has different volume figures than say the Wall Street Journal. Therefore, this indicator is an estimate.
10% upside volume shows extreme panic and is consistent with market sell offs.
90% upside days, following a decline, are often occur within a week or so of significant market bottoms.
Recommend using columns as the plot type.
Based on research of LowryResearch Corp.
US Treasury All Yield CurveRather than using one pair of treasuries, this indicator weighs them all in an overlapping fashion, to produce a composite yield curve that indicates the level of stress in the bond market.
High Low Index SPY Top 40Modification from original code for "High Low Index" by © LonesomeTheBlue
- Made modification specifically for Top 40 AMEX:SPY holdings
- Added Market sentiment histogram (Total count green vs red), and SMA line for it
- Added arrows for peaks and dips on High Low Index and Market Sentiment MA
Idea behind this indicator is that SPY should follow the overall sentiment of its top holdings. I believe this bring great value to SPY traders.
Enjoy~!
Stairs Gain Strategy - MGI will explain step by step.
1- The position order filtering option is used to filter out duplicate positions.
2- The reason I use an ATR multiplier is to balance the ATR value that differs in instruments.
3- ATR lower limit and ATR upper limit values are to reduce unnecessary transactions and commission expenses in the horizontal market.
4- Strategy take profit and stop loss levels are calculated as percentages. The reason why there is no point account is that it can be used in the stock market.
5- Developer friends can get a more efficient result in forex market instruments by converting this to a point account.
Notice :
Variables are different in each instrument. Therefore, this strategy should be optimized for each instrument used.
Up Volume vs Down VolumeCalculating NYSE Up Volume (UPVOL.NY) vs NYSE Down Volume (DNVOL.NY). The triangles appear when the ratio exceeds 90% in either direction.
Also has the option to switch to NQ, US, DJ, AM, or AX tickers.
Credit to @MagicEins for the original script:
Follow the Crypto ShortsThis script allows to test the impact of variations in the number of BTCUSD Shorts Positions on its price. In particular, it compares the number of short positions with its moving average to decide if shorts are being liquidated. In case the number of short positions crosses below its moving average, it will generate a Long Position, which will be closed if shorts crosses above its moving average.
Volume Profile and Volume Indicator by DGTVolume Profile (also known as Price by Volume) is an charting study that displays trading activity over a specified time period at specific price levels. It is plotted as a horizontal histogram on the finacial isntrumnet's chart that highlights the trader's interest at specific price levels.
The histogram is used by traders to predict areas of support and resistance. Price levels where the traded volume is high could be assumed as support and resistance levels.
Price may experience difficulty moving above or below areas with large bars. Usually there is a great deal of activity on both the buy and sell side and the market stays at that price level for a great deal of time
It is advised to use volume profile in conjunction with other forms of technical analysis to maximize the odds of success
Light version of Volume Profile is added to Price Action - Support & Resistance by DGT
Nifty_Price_Movement_BuildUPDashboard to see Price Momentum Build-Up at Nifty.
It cumulates all prices and their respective weightage.
During initial of a candle, we are not aware of volume is High or Not, we only get it in later buildup. But Price buildup will display it at the same instant that what is going with the price of all stocks.
The logic used here is that
1) If a stock close > open at a particular instant it will add that stock multiplied with its weightage in Nifty to the list of stocks that are positive.
2) If a stock close < open at a particular instant it will add that stock multiplied with its weightage in Nifty to the list of stocks that are negative.
3) Above two will give you data that how many of them are positive and are negative at a particular instant and how they are going to affect Nifty.
In one of the many possible ways, it is superior than that of Volume buildup is that, to determine volume is higher than previous volume, we have to wait for first few seconds/minutes/hours (depending on timeframe you are in) to see volume buildup. The Volume buildup function based indicator is kind of lagging, though volume itself being instant.
Double RSI/LSMA Double RSI uses a Slow RSI combined with a Fast RSI to generate Buy and Sell signals. Least Squares Moving Average is only here for filtering signals. It is very good on certain stocks or ETFs on longer timeframes for swing trading. If you get a Buy signal look at the LSMA trend and if the candle is above the LSMA. It works great for me on lower timeframes scalping futures and on higher timeframes swinging options. It is better than paying for Buy and Sell signals. Its my first script/indicator so play with it and see what you think. Let me know if you guys find anything that makes it better. Hopefully this helps some traders out there.
Tail Indicator - 84Like a old faithful calculator the Tail Indicator - 84 will calculate the tail strength of the forces that drag the price against its momentum.
ps:.. the pun is totally intended. :)
20 SMA based Bull/Bear sentiment indicatorThis script is only doing one thing, plots the 20 SMA and based on whether the asset's price is above or below of the SMA it changes the color of the SMA and the background's color.
Helping it to visualize whether from the 20 SMA's point of view we are in a Bull or a Bear trend.
I created this because I myself use this SMA with Bitcoin on the weekly time frame to identify the macro trend on the weekly.
IMO this is a good crypto market sentiment indicator.
AltSessionHello World
It’s no secret that trading sessions play a massive role in market movement and liquidity. We can clearly see in the image about how important identifying international trading hours are for a trader.
The Asian session starts around 1am GMT and often has a bearish bias through this session lasting for a few hours, after which Frankfurt and London traders start to come online and can often reverse the Asian sentiment.
The London session is the best session to trade traditionally starting around 7am GMT before the American traders come online and reverse market once again.
We have designed this indicator to help identify different trading hours easily with a background shade on the chart and also high/lows of the training session, as these levels can often be revisited.
We hope you find this indicator useful and please feel free to drop a comment if you have any updates you wish to be made or any future indicator script ideas, thank you.
[FTX Funding Colored Candles] [third eye]This Indicator plots FTX: BTCPERP predicted funding rates and colours the candlesticks based on it.
!!!
Since Tradingview always plots new indicators at the back you might have to click:
Name of the Indicator ( ) -> More -> Visual Order -> Bring to Front
(unfortunately, there is no way for me to do this in pinescript)
There is also the possibility to change colors in the Settings:
It is grouped by where Basis is (FTX:BTCPERP - FTX Spot index)
Changing that might be good for getting a more close up view of LTF price action.
Also to get rid of the Values in the Status line click on Settings and scroll to the bottom to disable "Value in Status Line"
The Rush
█ OVERVIEW
This script shows when buyers are in a rush to buy and when sellers are in a rush to sell
═════════════════════════════════════════════════════════════════════════
█ CONCEPTS
Prophet Mohamed Peace be upon Him once said something similar to this "It is not advisable to trade if you do not know the
Volume".
In his book "The Day Trader's Bible - Or My Secret In Day trading Of Stocks", Richard D. Kickoff wrote in page 55
"This shows that there was only 100 shares for sale at 180 1/8, none at all at 180f^, and only 500 at 3/8. The jump from 1 to 8 to 3/8
Emphasizes both the absence of pressure and persistency on the part of the buyers. They are not content to wait patiently until they can
Secure the stock at 180^/4; they "reach" for it."
This script was inspired by these two great men.
Prophet Mohamed Peace be upon Him showed the importance of the volume and Richard D. Kickoff explained what Prophet
Mohamed Peace be upon Him meant.
So I created this script that gauge the movement of the stock and the sentiments of the traders.
═════════════════════════════════════════════════════════════════════════
• FEATURES: The script calculates The Percentage Difference of the price and The Percentage Difference of the volume between
two success bullish candles (or two success bearish candles) and then it creates a ratio between these two Percentage
Differences and in the end the ratio is compared to the previous one to see if there is an increase or a decrease.
═════════════════════════════════════════════════════════════════════════
• HOW TO USE: if you see 2 or more successive red bars that mean bears are in hurry to sell and you can expect a bearish trend soon
if the Market Maker allows it or later if the Market Maker wants to do some distribution.
if you see 2 or more successive green bars that mean bulls are in hurry to buy and you can expect a bullish trend soon if the Market
Maker allows it or later if the Market Maker wants to do some accumulation.
═════════════════════════════════════════════════════════════════════════
• LIMITATIONS:
1- Use only Heikin Ashi chart
2- Good only if volume data is correct , meaning good for a centralized Market. (You can use it for forex or
crypto but at your own risk because those markets are not centralized)
═════════════════════════════════════════════════════════════════════════
• THANKS: I pay homage to Prophet Mohamed Peace be upon Him and Richard D. Kickoff who inspired the creation of this
Script.
═════════════════════════════════════════════════════════════════════════
[RS]Dollar Composite IndexExperimental:
a composite of the dollar index with equal weights.
this is a repost of:
www.tradingview.com
The Namib FlowThis is an alert/notification system consisting of the building on the following existing indicators:
Hull Suite by InSilico
Follow Line Indicator by Dreadblitz
QQE MOD by Mihkel00
It is not my strategy - it is based on a video I watched.
It will give and alert/notification once the following conditions are aligned:
Bullish Alert
Hull Suite Line Fully Green
Follow Line Indicator Blue
QQE MOD Green
First Bullish Candle after the three indicators hit the conditions as described above.
Bearish Alert
Hull Suite Line Fully Red
Follow Line Indicator Red
QQE MOD Red
First Bearish Candle after the three indicators hit the conditions as described above.
Notes:
This alert system only works on the first three candles (bullish or bearish after the Hull Suite band color change) otherwise there would be too many candles.
The buy is at the close of the candle.
The SL is at the follow line indicator.
The TP is at a RRR of 1:2.
Comments appreciated.