RSI+ by Wilson (alt)Extension of the excellent RSI+ script by Wilsonlibero. I tweaked the parameters to better fit crypto markets, and I added a few more visuals, such as midline, overbought/oversold threshold lines and areas, background coloration depending on RSI trend above or below midline, and a few other tweaks especially colors (fixed the transp parameter deprecation for example). The color theme is by default more optimized for dark mode charts, but all colors can be configured, and all drawings can be enabled/disabled/tweaked in the parameters.
I'm just giving back to the community since I could modify this script only because it was open-source. If you like this script, please don't give me any credit, but please show some love to the original author Wilsonlibero:
Sentiment
MMRIThis indicator is Gregory Mannarino's market risk indicator. It's based on the DXY and TNX . You can see the calculation on his website TradersChoice.net
I wanted to see the historical movement of the indicator, so I made it here. Enjoy!
RSI mid partition color changeWhen RSI is above 50 our default bias is on buy side and when below 50 our bias is on sell side.
Therefore created 2 zones for easy identification.
Bitfinex Shorts StratOverview
This strat applies the data from BITFINEX:USDSHORTS to the RSI indicator in order to provide SHORT/LONG entries as the number of contracts goes up and down. Although Bitfinex has lost relevance over the years its generally considered an exchange dominated by smart money rather than retail. I'd like to see if any insights can be gained by following their trading behaviour.
How to use
Select the underlying security you wish to trade and load the indicator. Select the appropriate short security by searching in the Bitfinex Short Symbol. RSI settings apply to short symbol not the actual asset. Strategy shorts the underlying asset when shorts rise and longs when they drop. The shorts symbol will follow the value of the loaded chart. Works best on 4 hour chart.
Why use shorts only rather than both long/shorts?
Bitfinex longs seem to be on a long-term uptrend accounting for 25x the number of shorts. Might be enormous confidence on part of the whales, but more likely reflects selling spot and buying perp. Given the size disparity and price action I don't think longs info is adding much.
Problems with script:
a) We don't really know the intentions of short players (e.g. speculation or hedging spot)
b) The script uses a decline in shorts as a long signal
c) RSI is a blunt tool there are probably better options for calculating high/lows in shorts
d) Shorts are accumulated both at highs and also when BTC price is already heavily trending down. This suggests some are speculative (at the highs) or protective/hedging during a decline
Takeaways:
Based on this strat Bitfinex whales are more wrong than right.
Results don't carry across well into altcoins using the accompanying short symbol. However, what is interesting is that applying the BITFINEX:BTCUSDSHORTS to altcoin charts does work pretty well.
Strat needs some refinement to control for entries under different circumstances.
Probably not a great idea to use this as a strategy in isolation, but highlights how Bitfinex whale behaviour is a good gauge to follow.
HPI for crypto [ptt]The Herrick Payoff Index is designed to show the amount of money flowing into or out of a futures contract.
This indicator uses open interest (from Binance PERP like this BTCUSDTPERP_OI) from during its calculations, therefore, the pairs being analyzed must contain open interest data on Binance.
The indicator only works with USDT pairs! Like RVNUSDT, BTCUSDT... does not work with USD pairs!
The indicator works in two mode.
Index mode - when the values moving 0-100
In this case, if the value below 10, it shows the money is flowing out of the futures contract and near the local bottom. If the value above 90, it shows the money is flowing into the futures contract and near the local top.
(The two trigger can be modified, the default is low:10 and high:90)
Oscillator mode - when the values moving around the origo (0)
In this case, if the value above 0 (green), it shows the money is flowing into the futures contract, this is bullish
If the value below 0 (red), it shows the money is flowing out of the futures contract, this is bearish
Price Gaps PRO Script is tracking price gaps on stock or idexes that are not continuosly traded. Usually, such gaps are filled fairly quickly.
This script shows how often the gaps are filled on the same trading day and in the longer term.
You also can set alarms to be notified about:
- New gap that appeared.
- Filling of a gap.
Script settings:
PRICE GAP SCANNER
Intraday gaps - For intervals shorter than a day we can incluse od exclude gaps on bars during traiding day.
Limit gaps - Gaps visualization will be making gaps smaller each time they will be filled parcially.
Hide filled gaps - Hiding filled gaps
Active - Background color for Active gap visualization
Filled - Background color for Filled gap visualization
ALERTS - ANY ALERT() FUNCTION CALL
Open gap: - Sending alert when new gap appers.
- $ - Sending in message cash value of the gap
- % - Sending in message percent value of the gap
Close gap - Sending alert when gap was filled.
STATS
Table - Type of table with statistics shown on the screen:
H(idden) - Do not show any statistics
B(ase) - Basic statistics about filling gaps
A(ctive) - List of not filled gaps
F(illed) - List of filled gaps
Offset - Starting index for Active/Filled list
Count - Number of shown rows for Active/Filled list.
Price GapsScript is tracking price gaps on stock or idexes that are not continuosly traded. Usually, such gaps are filled fairly quickly.
This script finds and trace price gaps.
Script settings:
PRICE GAP SCANNER
Intraday gaps - For intervals shorter than a day we can incluse od exclude gaps on bars during traiding day.
Track gaps (limited) - Gaps tracking limited to few bars. Full tracking available in PRO version.
Active - Background color for Active gap visualization
Filled - Background color for Filled gap visualization
ALERTS - ANY ALERT() FUNCTION CALL
Open gap: - Sending alert when new gap appers.
- $ - Sending in message cash value of the gap
- % - Sending in message percent value of the gap
Close gap - Sending alert when gap was filled.
Stats
Table - Type of table with statistics shown on the screen:
H(idden) - Do not show any statistics
B(ase) - Basic statistics about filling gaps
A(ctive) - List of not filled gaps
F(illed) - List of filled gaps
Offset - Starting index for Active/Filled list
Count - Number of shown rows for Active/Filled list.
Options available in PRO versions
Set alarms to be notified about:
- New gap that appeared, with $ or % value in the message
- Filling of a gap.
- Shows how often the gaps are filled on the same trading day and in the longer term.
- Calculating all the stats
- Full gaps tracking: making gaps smaller when they are parcial filled, hiding filled gaps.
Background ZonesThis script provides up to 5 zones to apply background colors. This is especially useful for applying to indices such as USI:TICK , USI:ADD , and USI:VOLD , where certain levels provides significant meaning to market sentiment and directions. This script will give you the visual cue to help with your trading.
All levels and colors are fully customizable.
Enjoy~!!
Example:
VIX - SKEW DivergenceThe CBOE VIX is a well-known index representing market expectations for volatility over the next 30 days.
The CBOE SKEW is an index reflecting the perceived tail risk over the next 30 days.
When the SKEW rises over a certain level (~140/150), that means investors are hedging their exposure with options, because they are worried about an incoming market crash or a "black swan". If that happens when the VIX is very low and apparently there is no uncertainty, this can warn of a sudden change in direction of the market. You will see for yourself that an increasing divergence often anticipates a sharp fall of leading stock indexes, usually within two to four months.
This is probably not very relevant for the short-term trader but mid/long-term traders and market analysts may find it useful to clearly visualize the extent of the distance between the VIX and the SKEW. For that reason, I wrote this highly customizable script with which you can plot the two indexes and fill the space within them with a color gradient to highlight the maximum and minimum divergence. Additionally, you can fill the beneath VIX area with four different colors. It is also possible to plot the divergence value itself, so if you want you can draw trendlines and support/resistance levels on it.
Please note that the divergence per se doesn't predict anything and it's meant to be used synergistically with other technical analysis tools.
More informations here:
www.cboe.com
www.cboe.com
BTMM|TDIThis is the trader's dynamic index inspired by Steve Mauro's BTMM strategy.
In addition to the RSI, Trendline, Baseline, Volatility Bands I have also included additional trend biases that are painted in the background to provide more confluence when the markets break out in either direction.
For convenience, a position size calculator is included for all users to quickly calculate lot sizes on forex pairs with difference account balance currencies. The calculator works accurately on forex pairs. DO NOT USE for crypto or indices as some brokers have unique contract sizes that could not be fully incorporated into the tool.
There is also data table that displays historical values of the RSI, Trendline, Baseline, and an EMA vs Price scoring procedure that covers the current candle (t0) and up to 3 candles back. The table is meant to provide a snapshot view of either bullish or bearish dominance that can be deciphered with a quick glance.
Simple Buy and Sell SignalsThis is a Simple Indicator which shows buy and sell signals based on MACD and SSL channel.
It is not a Holy Grail Indicator. It shows a lot of false signals when the market is Consolidation Zone.
So don't use this indicator to place trades based on signals given by the indicator.
Use this as a confluence along with your technical analysis
On lower timeframes there are a lot of signals so to eliminate false signals , get a signal on higher timeframe and place a trade in the direction of the trend on lower timeframe.
Hope you'll find this helpful. Enjoy👍.
PXD 1D: Multi-Timeframe Composite TrendReal-time indication of Combination "Super-Stack State" conditions (indicator signal synergy across multiple pivotal Timeframes).
How do you use it? A Super-Stack State is a powerful signal giving you clear indication of the current sentiment regarding the Symbol being analyzed. Watch the strength increase, visualize how long it has been in this condition and visualize any weakness as it appears in the current trend. Additionally this indicator combines Squeeze Indication (Chapter 11 "Mastering the Trade" by John Carter) allowing assessment of potential Support/ Resistance levels to determine if the Symbol will observe them or not.
My interpretation builds on my Multi-Timeframe Simple Trend indicator and combines it with my custom Squeeze indicator.
Simple Trend State indication is calculated based on the Current Angle of an SMA Length "L". A Simple moving average is used as an Array Function has to be used to calculate the current MA Value for Time Frames < Chart. The output is the current angle of the moving average. +ve indicates Trending Up, -ve indicates Trending Down. The angle is then classified in 1 of 5 states as follows:
Long Trend State = Current Angle > Min Long Angle
Bullish Trend State = Current Angle < Min Long Angle and Current Angle > Max Reversal Angle
Neutral Trend State = Current Angle < Max Reversal Angle and Current Angle > Min Reversal Angle
Bearish Trend State = Current Angle < Min Reversal Angle and Current Angle > Max Short Angle
Short Trend State = Current Angle < Max Short Angle
I use Gann Angle based State Angle definitions in my charts.
Squeeze recap: John Carter's Squeeze System is based on conditions where the Bollinger Band trends inside the Keltner Channel. This indicates a contraction in the volatility of the asset. This contraction can be an indication of EITHER Support or Resistance. By applying a factor to either the Bollinger or Keltner calculation an indication of the strength of the Support/ Resistance can be determined. This is indicated by the following:
State 1: Blank = No Squeeze
State 2: Yellow = Weak Squeeze State
State 3: Orange = Medium Squeeze State
State 4: Red = Strong Squeeze State
In addition to the Squeeze State the Squeeze Momentum is also output. This can be thought of as similar to a classic MACD Histogram (no histogram). The Squeeze Momentum has 4 states as follows:
State 1 = -ve Increasing
State 2 = +ve Increasing
State 3 = +ve Decreasing
State 4 = -ve Decreasing
To create the Composite Indication Signal the above States are scored and then combined. Based on the score the size and direction of the arrow icon are determined. Output is 1 of 4 states as follows:
State 1 = No Signal
State 2 = Weak Signal
State 3 = Medium Signal
State 4 = Strong Signal
Color of the signal is equated to the current SMA color. Output colors of the SMA and Squeeze Momentum States are controlled in the GUI.
Row 1: your Simple Trend State indication.
Row 2: Custom Squeeze State indication.
Row 3: Custom Squeeze Momentum State indication.
Row 4: Composite State indication. Symbol size and color indication calculated based on a combination of the signals in Row 1-3.
IMPORTANT NOTE: follow Tool Tip guidance when selecting your Pivotal Timeframes. Indicator makes use of the new TradingView Lower Timeframe security request so if you don't follow the directions indicator will return an error.
Magic Line 2.0 βWELCOME TO MAGIC LINE 2.0 β
This indicator is intended to show current market sentiment – a reflection of that which market internals (VIX, ADD, TICK, VOLD and TRIN) are doing.
The indicator does not make any reference to, or have any knowledge of, SPX price action.
If Magic Line is green, that suggests that market sentiment is rising. If Magic Line is red, that suggests that market sentiment is falling.
If Magic Line is above zero, that usually suggests an overall positive market sentiment, and if it is only slightly red, then SPX price action could still be bullish. And vice versa.
USERS ARE ENCOURAGED TO:
- Adjust the Main Parameters … find out what works for you!
- Adjust the Flat Zone … if you are using a longer timeframe, a higher value in the Flat Zone might be beneficial
Users are also encouraged to play with the Internals, in particular:
- Turn the individual Internals on / off … experiment; what happens if you turn off everything, other than say ADD?
- Adjust the relative weighting of each Internal
It's not really recommended to play with the EMA weightings (either of the internals, or the fast / slow lines) - but you're welcome to do so, if you wish!
ADDITIONAL NOTES
Market internals are often not very beneficial for trading futures, or long options. If you’re not careful, you can get badly chopped up.
If you set Grind Correction to max. (100) you’ll get a positive trend even on a grind day. The downside is that on a more volatile day, the indicator will be a little slower in responding.
If Magic Line is flat, or just wandering around in the chop zone, SPX price action may well be flat, slowly grinding, or choppy.
This has been back-tested and forward-tested during 2022 (April – August) market conditions (Trading View doesn’t give short-timeframe data further back) . If market conditions change significantly, I may find that I need to adjust / update some of the coding. TBA …
Disclaimer; it is of course recommended to have all market internals open individually, rather than relying on a ‘Market Internals Smoothie’ for making trading decisions! :)
Candle StrengthIt is hard to know which party plays a vital role in the candle. Sometimes we see a red candle/ Seller's candle very weak, but still, the market continues. Here, I tried to figure out how much strength buyers/sellers possess in their respective candles.
The idea is simply to measure the area between high and low and then calculate the opposite party's oppression by calculating the wick's area.
This script is more like a tool, and hence I do not suggest using this as an independent strategy. However, combining it with other analyses and strategies will surely bear fruitful results.
I, in the future, will come up with strategies and more tools like this.
So, follow me to keep getting updates.
Thanks.
Future's spread with base contract (MOEX)English:
Indicator calculates spread between future and it's theoretical price baased on base contract, number of days to expiration and central bank key rate.
I didn't find any means of getting base contract of security on chart so I hardcoded futures and corresponding base contracts.
Hardcoded futures are MOEX (Moscow Exchange) only and key rate used in script is Russian Central Bank's key rate from 2013, but I believe you can easily adapt it to any other key rate history. I can share source code of tiny C++20 utility for easy generation of get_rate(time) function from more human-readable date format rather then UNIX timestamp used in PineScript.
Only quarterly futures are supported. Only in "SIU2022" like notation. "SI1!" like aliases are not supported.
Русский:
Индикатор отображает спред фьючерса к его теоретической цене с учётом усыхания на каждый день.
Не нашёл, как определить базовый актив фьючерса средствами TradingView - поэтому это соответствие захардкожено вручную.
Поддерживаются только квартальные фьючерсы, только MOEX, только хардкор.
Поддерживается история ключевой ставки ЦБ РФ с 2013 года.
Используйте коды фьючерсов вида "SIU2022".
Не поддерживаются альясы вроде "SI1!", "EU1!".
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 (:
Masculine Relative Strength - an FX strength comparison ind.This Relative Strength Indicator compares all majors and all possible crosses against each other. (eur,usd,nzd,gbp,cad,aud,jpy, and chf ). The higher the currency ranks the stronger it is. The lower a currency ranks the weaker it is. It is calculated by taking a 200 period moving average and scoring the pair as strong or weak depending on the position of the moving average in comparison to current price action. For example if we are on the eurusd chart and current price action is above the 200 that equals to plus 1 for the euro and minus 1 for the dollar. This same scoring system is then applied to all other pairs giving you the ability to potentially pair the strongest currency with the weakest.I warrant that this information created and published by me on TradingView is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors. This does NOT guarentee profits. Past performance is no guarantee of future results
Chart Gain Or Loss With TableThis indicator auto calculate the first visible bar to the last visible bar
1. Gain or loss in percentage
2. Highest price
3. Lowest price
4. Total up bar
5. Total down bar
6. Total unchanged bar
7. Total bar
8. Total volume
*This indicator is not working on this page, you must add it in to your chart.
PerformerTired of spending time chasing down top performing sector(s) of the day? With this indicator, it automatically shows you the top two performing sectors for the market's open trading day. Why only two? This is because most people would rather focus their trading only the top one or two performing sector/stock(s) of the trading day and you really need only one good trade to make your money for the trading day. Also, why clutter up your chart with a big information window showing the entire list of sectors? This script is free for all to use and was designed to be non-cluttering for those who like to keep their charts clean. You can tuck this indicator in one of any of the 4 corners of your charting window for that clean look. This script features two things:
- Shows the top two performing sectors (the first 2 lines of the Information Window; there's no option to remove this, as this is the intention of having this indicator - if one of the sectors doesn't work out for you, there's usually another sector, so that's why we have the top 2)
- The last line (3rd line) shows the ticker symbol of the current stock/security you're looking at, along with the relative volume (this relative volume follows my own formula and will not match any other relative volume's found elsewhere - you can hide or show this from the settings menu)
What was removed from the original design?
Parts of this script contains the old original leftover code I disabled where the original idea was to also show you the top performing stock within the absolute top performing sector; however, I ran into a snag in getting this to work properly. I think it's a limitation issue, as well as preventing scripters from unintentionally causing a performance hit on the client and/or server side. Upon running into this issue, I then decided on, how about randomly showing a few tickers for the top performing sector, but also ran into an issue where I didn't like how it behaved. In any case, those who aren't new to the stock market should somewhat have many of these ticker symbols memorized, as well as know (or at least have an idea) a few ticker symbols in the various stock sectors. Again, this extra feature has been disabled and many parts of the original code cleaned up (or disabled) to reduce any unnecessary performance hits (for this published release). Even though this additional feature was removed/disabled from this public release, you can however, utilize the relative volume to help you figure out if the stock/security you're currently looking at is below, at or above the normal average volume. Typically, if you see a high relative volume in a particular stock/security, you know that there's a lot of trading activity with that stock/security for the day, so it's worth keeping that stock/security on your watchlist.
* Please note that this script is in its early beta stage and there could be bugs. This is being provided as is and the information provided by this script is meant for informational/entertainment purposes only. As always, please use proper due-diligence and not 100% relying on a single indicator for your trading.
Tick LiteTick Lite is our solution to issues caused by indicator processing restrictions.
Our original Tick Plus Indicator was too powerful and had to be split into 2 indicators to guarantee we are giving you the fastest live tick data through it.
You can use Tick Lite with "Tick Plus" for the entire Tick Plus System, or you can use it on its own if you prefer.
Tick Lite displays the Tick Chart along with our Market Sync Indicator.
The Tick chart displays a candlestick TICK chart for your chosen exchange and keeps track of the current day's high tick and low tick. Drawn behind these are our Key Reversal Zones.
Market Sync Indicator
This is a small but powerful indicator that analyzes the inflow and outflow of each exchange's underlying securities. When all the markets are in harmony, it will print a green or red symbol below the tick chart.
Alerts can be set with these signals to take advantage of the system across tickers.
Note: A gray readout indicates that every market is not moving in the same direction at that moment.
We recommend using this indicator with our "Tick Plus" Indicator for the entire Tick Plus System.
All of the default settings are our recommended settings.
Please check the Author Instructions Below for how to gain access to our indicators.
Double CCIWith this variant of the CCI indicator you have 2 CCIs. I call it convenience the fast and the slow.
The slow one has the default period of 20. The fast one has a lower value and will therefore also change his direction much faster.
I don't use this as a decisive indicator, but the fast one does indicate where the standard CCI might go and so you are already prepared for the decisive moment.
I've added a zero line so you can visually track whether the buyers or the sellers are predominant.
Between 0 and +100, as well as between 0 and -100 there is still a battle between buyers and sellers and it is better to wait a little longer before entering a trade.
From +100 to +250 I have colored the zone green; here the buyers are winning and it is a confirmation that you can safer enter the BUY.
From -100 to -250 it's colored red; here the sellers are firmly winning and it is a confirmation to go into a SELL.
Most values are adjustable via the settings and can be switched on or off.
This indicator is not intended to be used as the sole decision element, but rather to fine-tune your entry and exit points . Maybe wait a little longer than you normally would, but then be able to step in at the right time that there is enough volume in your desired direction.
Good luck with it and I would love feedback.
Thank you Tradingview-community.