Liquidation Levels - By LeviathanThis indicator generates liquidation levels of over-leveraged traders and utilizes a variety of different tools to analyze data such as Open Interest and Volume to provide an edge in your trading system and help you with valuable market insights.
The concept of this indicator is inspired by the platform Hyblock and their Liquidation Levels tool.
The script offers a lot of flexibility in settings, so please read these instructions and test out different parameters to see what works best for you. Here is a short overview of all inputs, one by one.
PRIMARY SOURCE OF DATA
This input allows you to choose the primary source of data that the script uses to calculate liquidation levels. I encourage you to test them all and see which works best for the assets and timeframes you trade. You can also regularly switch between to see confluences.
My personal favorite inputs (and also most accurate ones) are Open Interest, Open Interest + Volume (OI+VOL), and Open Interest + CVD (OI+CVD), as they utilize Open Interest in the calculations, which is the most important factor when it comes to analyzing position opening/closing and market activity in general. The other options that do not include Open Interest (Volume, CVD) were mainly added to provide the possibility to use the indicator on pairs where OI data is not available. Please note that this indicator is built on Tradingview and can only use data (e.g., Open Interest) provided by Tradingview, which is unfortunately quite limited. This is why I recommend using the script with OI-based data source inputs on Binance's perpetual futures pairs, as this is where OI data is available. The volume-based data source inputs can be used on spot pairs, forex, indices, and other markets, where Open Interest data is not provided.
To summarize the use of Primary Source of Data input:
1. Open Interest - use on Binance’s perpetual futures or anywhere else where OI data is available
2. OI + VOL - use on Binance’s perpetual futures or anywhere else where OI data is available
3. OI + CVD - use on Binance’s perpetual futures or anywhere else where OI data is available
4. CVD - use on any pair you wish
5. Volume - use on any pair you wish
DIRECTIONAL BIAS
If turned on, the Directional bias function uses volume and some other calculations to predict which side’s liquidation levels are more likely to be filled and only keep those levels on your chart.
- Directional Bias for Liquidation Levels
Turned ON: only one side’s liquidation levels are shown on the chart
Turned OFF: all liquidation levels are shown on the chart
- Directional Bias for Liquidation Level Bubbles
Turned ON: only one side’s liquidation level bubbles are shown on the chart
Turned OFF: all liquidation level bubbles are shown on the chart
I've separated directional bias options between Liquidation Levels and Liquidation Level Bubbles because sometimes it can be useful to have one of them ON and the other one OFF.
REDUCE SENSITIVITY
The Reduce Sensitivity option allows you to multiply the thresholds for "Smaller Size Liquidation," "Medium Size Liquidation," and "Large Size Liquidation" simultaneously. This is a useful feature as it enables you to easily filter larger positions and their liquidations without having to manually alter the standard deviation multipliers, which will be discussed in further detail later in the article.
The default value is 1, which means that it does nothing.
Increasing it above 1 will increase all thresholds and therefore generate fewer liquidation levels but with larger relative sizes.
Decreasing it below 1 will lower all thresholds and therefore generate more liquidation levels but with both smaller and larger relative sizes.
BASE
This input gives you the possibility to choose between four different bases, from which the liquidation levels will be generated.
CLOSE ⇒ Levels are plotted above and below the close of the candle
HALF ⇒ Levels are plotted above and below the middle of the candle ((high+low)/2)
VWAP ⇒ Levels are plotted above and below the volume-weighted average price
VWMA ⇒ Levels are plotted above and below the volume-weighted moving average
I suggest that you backtest them and see what works best for you.
LIQUIDATION LEVEL BUBBLES
If enabled, "Liquidation Level Bubbles" mark the beginning of a new liquidation level and indicate the relative size of liquidations that would occur if the price were to reach that level.
Liquidation Bubbles or Liquidation Levels in general appear when there is a large influx of new positions and logically, (significant) new positions lead to (significant) new liquidation levels. Liquidation Bubbles can be used to estimate the size and therefore significance of a given liquidation level. It could be argued that the price is more likely to be attracted to larger Liquidation Level Bubbles. While this is often true, it is not always the case as the strong momentum created by large positions can sustain for a prolonged period before reversing and filling the remaining levels Similarly to other features in this indicator, significant new positions are identified and filtered using standard deviation thresholds and their multipliers. New positions are considered significant when newly opened positions exceed the threshold for "Smaller Size Liquidation," leading to the creation of new liquidation levels and bubbles.
1. If new positions exceed the first standard deviation multiplier ("Smaller Size Liquidation Level"), but do not exceed “Medium Size Liquidation Level”, a smaller-sized bubble appears.
2. If new positions exceed the second standard deviation multiplier (”Medium Size Liquidation Level”), but do not exceed “Large Size Liquidation Level”, a medium-sized bubble appears.
3. If new positions surpass the third standard deviation multiplier (”Large Size Liquidation Level”), a large-sized bubble appears.
Significant opened positions are identified and filtered by size using three "thresholds" in the form of standard deviations, which can be modified in the indicator settings, in the section called "Standard Deviation Multipliers".
**Increasing** the standard deviation multipliers of Liquidation Level Bubbles effectively increases the threshold for a given bubble to occur, making the conditions for its appearance stricter.
⇒ Fewer Liquidation Levels - just larger positions are included
**Decreasing** the standard deviation multipliers of Liquidation Level Bubbles effectively decreases the threshold for a given bubble to occur, making the conditions for its appearance looser.
⇒ More Liquidation Levels - smaller positions are included
Keep in mind that this should always be the case:
*Smaller Size Liquidation Level < Medium Size Liquidation Level < Large Size Liquidation Level*
MARKET ORDER BUBBLES
"Market Order Bubbles" is my experimental concept used as a way to analyze large volumes and visualize the market activity at significant levels under certain conditions. It is based on my imitation of CVD which is also used in other parts of the script. The aim of this concept is to give you an idea about the real-time heavy market buying and selling, which could indicate eg. large liquidations, large entries/exits. in order to add confluence to your analysis. Please note that this concept is still in its early stages and may be confusing as it might have been poorly implemented. I recommend taking the time to thoroughly read through this section in order to fully understand it. On the other hand, early backtesting results appear very promising, as the win rate of countertrading buy and sell bubbles under certain conditions was fairly high (70%). I will continue working on this tool, so stay tuned for future updates.
**Market Buy Order Bubbles** appear above the price and possibly signal the following:
- Short positions being liquidated (exit short = buy order)
- New traders entering late longs based on FOMO (enter long = buy order)
- New short positions (sells) of “smarter” traders absorbing liquidated/closed shorts (buys)
⇒ Possible reversal to the downside - look for the liquidation levels of longs to get filled
**Market Sell Order Bubbles** appear below the price and possibly signal the following:
- Long positions being liquidated (exit long = sell order)
- New traders entering late shorts based on FOMO (enter short = sell order)
- New long positions (buys) of “smarter” traders absorbing liquidated/closed longs (sells)
⇒ Possible reversal to the upside - look for the liquidation levels of shorts to get filled
significant volumes are identified and filtered using three “thresholds” in the form of standard deviations, which can be modified in indicator settings.
1. If buy/sell volume surpasses the first standard deviation (”**Smaller Size Market Orders**”), then the **smaller-sized bubble** appears.
2. If buy/sell volume surpasses the second standard deviation (”**Medium Size Market Orders**”), then the **medium-sized bubble** appears.
3. If buy/sell volume surpasses the third standard deviation (”**Large Size Market Orders**”), then the **large-sized bubble** appears.
**Increasing** the standard deviation multipliers effectively increases the threshold for a given bubble to appear, making the conditions for its occurrence more strict.
**Decreasing** the standard deviation multipliers effectively decreases the threshold for a given bubble to appear, making the conditions for its occurrence more strict.
Keep in mind that this should always be the case:
*Smaller Size Market Orders < Medium Size Market Orders < Large Size Market Orders*
COLOR CANDLES
The Color Candles function is a useful and interesting feature that will enhance your analysis with additional context. If enabled, the indicator will color the chart's candles based on different data. Currently, there are three options to choose from, with more to be added in future updates.
Color Candles: OI DELTA
This option will color the candles to reflect Open Interest Delta. If there is a net increase in open positions (positive Open Interest Delta), the candle will be colored green. If there is a net decrease in open positions (negative Open Interest Delta), the candle will be colored red. It is important to note that this option only functions on pairs for which Tradingview provides OI data
Color Candles: VOLUME
This option utilizes volume data to help you identify the trend and momentum, coloring the candles accordingly - upward impulses are colored green and downward impulses are colored red. This makes it easier to recognize trend reversals and adjust your directional bias accordingly.
Color Candles: STOCH
This option uses the Stochastic Oscillator and SMA to color the candles, helping you identify momentum as upward green moves transition to downward red moves and vice versa.
LEVERAGE RATIO
Leverage ratio is another experimental concept I have added to this script. If turned on, it provides a broad insight into whether the market is relatively over-leveraged or if the leverage is relatively low. The aim is to use it as a confluence in anticipating incoming volatility and possibly use it to understand other aspects of market activity. It is still in its early stages of development and needless to say, it only works on pairs where Open Interest data is provided by Tradingview.
Crosses above price = Leverage is relatively high
Crosses below price = Leverage is relatively low
MARKET INFO SCREENER, LEVEL LEGEND, HIDE FILLED LINES
The last three inputs of Basic Settings section:
”The Market Info Screener” feature will display a small panel on the right side of your chart that provides useful data about the market, including Open Interest, Volume, the aggressive side of traders, and the Leverage Ratio. More data coming in future updates.
"Level Legend" option will display a small legend on the right side of the chart, helping you or others viewing the chart to understand what the objects on the chart mean.
"Hide Filled Lines" option will hide liquidation levels that have already been filled, only displaying the active ones in order to reduce clutter on your chart.
APPEARANCE
The “Appearance” settings offer a variety of modifications for colors, styles, and visibility.
The "Line Style" input allows you to choose the style and width of the liquidation level lines. You can also select which levels to display, as well as the color of the liquidation level lines and bubbles. The "Max Number of Lines" input allows you to specify the number of level lines you want on a chart. If you feel that there is too much clutter, you can decrease this number, and old lines will be removed. Please note that Tradingview has a built-in limit of 500 lines on a given chart, so this value cannot be set above 500. The "Market Buy/Sell Bubble Style" input can be used to modify the color and style of the market order bubbles. Enabling the "Show Settings Screener" option will display a screener with a list of all your settings on the right side of the chart, making it easier to share your preferred settings with others."
STANDARD DEVIATION MULTIPLIERS
This is where you can set the standard deviation thresholds for Liquidation Levels and Market Order Bubbles. These values can be customized to your preference, as the default values may not be suitable for your needs or you may want to experiment with different values to see more or fewer liquidation levels or market order bubbles on your chart. Personally, I sometimes use this feature to increase the Large Size Market Orders or Large Size Liquidation Levels multipliers so that large-sized bubbles are only assigned to extremely large positions or volumes.
If you want to only analyze larger positions or volumes, you can increase the "Smaller Size" multipliers, which act as a minimum threshold.
If you also want to include even smaller positions or volumes in your analysis, you can decrease the values of the "Smaller Size" multipliers, which act as a minimum threshold
Please note that the "Reduce Sensitivity" option in Basic Settings affects the standard deviation multipliers of the liquidation levels. Changing the "Reduce Sensitivity" value will equally multiply all of them (the ratio between Smaller, Medium, and Large multiplier values will remain the same)
STANDARD DEVIATION LENGTH
"Standard Deviation Length" defines the length (number of bars) used in all calculations that utilize the standard deviation function in this script. Decreasing it will generate Liquidation Levels and Liquidation Bubbles based more on recent data. Increasing it will generate Liquidation Levels and Liquidation Bubbles based on more long-term data.
CVD LENGTH
"CVD Length" refers to the length used in calculating cumulative volumes. Decreasing it will generate Liquidation Levels, Market Order Bubbles, and apply Directional bias based more on recent data. Increasing it will generate those based on more long-term data."
LEVEL CALCULATION MODES
“Level Calculation Modes” enable you to switch between three modes of calculating the distance between the base and actual liquidation levels.
COPYRIGHT
"Copyright" option will add your username to the copyright section at the bottom of the chart, giving you credit for your analysis if you post it somewhere.
Sentiment
Market InternalsMarket internals can be a powerful tool for determining future moves, overall trend health and provide a means of directional confidence.
This indicator watches a handful of SPX and US stocks based internals to determine key areas of sentiment changes, the internals monitored are:
US Stocks Ticks
Call and Put SPX Volume
SPX Gamma Dispersion
US Stocks Ask and Big Volume
US Stocks Advancing and Declining Issues
Each time there's a bullish or bearish sentiment change it will be market with green/red flag and a single letter that identifies what market internal has changed.
SPX gamma dispersion events aren't to be considered directional from historical observations made but can be a sign of liquidity adjustments and when paired with any of the other aforementioned internals sentiment changes can be used as a powerful signal.
If it's observed that market internals are changing erratically then it's a clear indication of market chop and best to wait for cleaner trends.
Future updates may include non-SPX based internals analysis, change in display, alerts/alertconditions and more. Feel free to comment with any desired changes and we can discuss!
Nifty SentiMeterThis meter displays a colour code based sentiment for the Nifty50 Index.
In order to do so, it uses the IndiaVix, that is the standard for determining the broader market Investor sentiment. The IndiaVix and the Nifty50 are inversely correlated. A spiking Vix on the upside indicates panic and fear in the market, that is reflected in price of the Nifty50, usually accompanied by steep falls. On the other hand, a stabilised and low volatile Vix, creates an atmosphere conducive for positive investor activity.
This indicator, uses this concept of inverse correlation between the Vix and the Benchmark, to plot the changes of investor sentiments over a period of time and the current sentiment.
This indicator should be used only on the DAILY timeframe for best results.
The best way to analyse the NiftyMeter is to observe the colour changes, that will help in understanding the changing investor sentiments.
A quick guide is as follows:
Blue to Red, Green to Red - Indicates the positive investor sentiment has turned into bear - fear.
Red and getting Stronger Red - Indicates that the fear is sustained.
Blue to Green, Red to Green - Indicates that positive investor sentiment is back. It is now time for bulls to be active again.
In general, Red indicates fear, Blue indicates a transitioning phase of sentiment (bull to bear or bear to bull), Green indicates bullish sentiment.
A stronger shade of the colour will indicate a stronger sentiment.
Odd_mod Econ CalendarA modification of Economic Calendar Events: FOMC, CPI, and more written by jdehorty . Please send all tips his way as he is maintaining the underlying data for the Calendar and the original concept.
List of changes:
Optimized code, will only run once on initialization now(No random line in middle of screen on bar change)
Legend - Added short names
Legend - Removed header
Legend - Made repositionable with selectable top margins
Legend - Removed data name from legend when it is disabled
Legend - Removed border
Original Description by jdehorty :
This script plots major events from the Economic Calendar that often correspond to major pivot points in various markets. It also includes built-in logic to retroactively adjust larger time intervals (i.e. greater than 1 hour) to be correctly aligned with the interval during which the event occurred.
Events are taken from the Economic Calendar and will be updated periodically at the following library:
EconomicCalendar
The above library can be used to conveniently access date-related data for major Meetings, Releases, and Announcements as integer arrays, which can be used in other indicators. Currently, it has support for the following events:
FOMC Meetings
The FOMC meets eight times a year to determine the course of monetary policy . The FOMC's decisions are based on a review of economic and financial developments and its assessment of the likely effects of these developments on the economic outlook.
FOMC Minutes
The FOMC minutes are released three weeks after each FOMC meeting. The minutes provide a detailed account of the FOMC's discussion of economic and financial developments and its assessment of the likely effects of these developments on the economic outlook.
Producer Price Index (PPI) Releases
The Producer Price Index (PPI) measures changes in the price level of goods and services sold by domestic producers. The PPI is a weighted average of prices of a basket of goods and services, such as transportation, food, and medical care. PPI is a leading indicator of CPI .
Consumer Price Index ( CPI ) Releases
The Consumer Price Index ( CPI ) measures changes in the price level of goods and services purchased by households. The CPI is a weighted average of prices of a basket of consumer goods and services, such as transportation, food, and medical care. CPI is one of the most widely used measures of inflation .
Consumer Sentiment Index ( CSI ) Releases
The University of Michigan's Consumer Sentiment Index ( CSI ) is a measure of consumer attitudes about the economy. The CSI is based on a monthly survey of U.S. households and reflects the consumers' assessment of present and future economic conditions. The CSI is a leading indicator of consumer spending, which accounts for about two-thirds of U.S. economic activity.
Consumer Confidence Index ( CCI ) Releases
The Consumer Confidence Index is a survey that measures how optimistic or pessimistic consumers are regarding their expected financial situation.
Non-Farm Payroll (NFP) Releases
The Non-Farm Payroll (NFP) is a measure of the change in the number of employed persons, excluding farm workers and government employees. The NFP is a leading indicator of consumer spending, which accounts for about two-thirds of U.S. economic activity.
LIQUIDATION [CFI]EN description
The indicator determines signs of liquidations of futures contracts. It works according to the author's algorithm based on: prices, volumes, levels and candlestick analysis.
The larger the diamond, the greater the volume of potential liquidations of longs or shorts was on a particular candle. There are 5 sizes of diamonds: small, conditionally equal to 1x, medium - 3x, large - 5x, huge - 15x, huge - 50x. That is, on the largest diamond, the volume of liquidations is 50 times greater than on the smallest one (namely, the volume, not to be confused with shoulders).
The price of the location of diamonds is equal to the maximum (for short liquidations) price for a particular pair, or the minimum (for long liquidations). Thus, you can immediately see to what marks the price reached on different pairs and exchanges
The indicator displays new liquidations only after the candle closes. It cannot redraw data. Diamonds with a green tint - liquidation of long contracts, with a red tint - liquidation of short contracts.
The indicator simultaneously monitors 7 pairs on 5 exchanges:
BINANCE BTC/ETH BTCUSDTPERP
BINANCE BTC/ETH BTCBUSDPERP
BYBIT BTC/ETH BTCUSD.P
BYBIT BTC/ETH BTCUSDT.P
KRAKEN BTC/ETH BTCUSDTPERP
HUOBI BTC/ETH BTCUSDT.P
OKEX BTC/ETH BTCUSD.P
As you know, it is impossible to get reliable data about the real liquidations of traders, so this script only displays the signs of these liquidations. As you can see, the price often reverses after large diamonds, so I think that the script turned out to be working and useful. The indicator is best used when trading sideways, when there is accumulation or distribution - in such situations, after collecting liquidations, the price almost always reverses and goes to collect liquidations from the opposite side
RU описание
Индикатор определяет признаки ликвидаций фьючерсных контрактов. Работает по авторскому алгоритму в основе которого лежат: цены, объёмы, уровни и свечной анализ.
Чем больше ромбик - тем больший объём потенциальных ликвидаций лонгов или шортов был на конкретной свече. Бывает 5 размеров ромбиков: маленький, условно равен 1х, средний - 3х, большой - 5х, огромный - 15х, огроменный - 50х. То есть на самом большом ромбе в 50 раз больше объём ликвидаций, чем на самом маленьком (именно объём, не путать с плечами).
Цена расположения ромбиков равна максимальной (для ликвидаций шортов) цене для конкретной пары, или минимальной (для ликвидаций лонгов). Таким образом сразу видно, до каких отметок доходила цена на разных парах и биржах
Индикатор отображает новые ликвидации только после закрытия свечи. Перерисовывать данные он не может. Ромбики с зелёным оттенком - ликвидации лонг контрактов, с красным оттенком - ликвидации шорт контрактов.
Индикатор одновременно отслеживает 7 пар на 5 биржах:
BINANCE BTC/ETH BTCUSDTPERP
BINANCE BTC/ETH BTCBUSDPERP
BYBIT BTC/ETH BTCUSD.P
BYBIT BTC/ETH BTCUSDT.P
KRAKEN BTC/ETH BTCUSDTPERP
HUOBI BTC/ETH BTCUSDT.P
OKEX BTC/ETH BTCUSD.P
Как вы знаете, нельзя получить достоверные данные о настоящих ликвидациях трейдеров, поэтому этот скрипт лишь отображает признаки этих ликвидаций. Как видите, часто цена разворачивается после крупных ромбиков, поэтому я считаю, что скрипт получился рабочим и полезным. Индикатор лучше всего применять при торговле в боковике, когда идёт накопление или распределение - в таких ситуациях почти всегда после сбора ликвидаций цена разворачивается и идёт собирать ликвидации с противоположной стороны
Time Based Crypto DayTrade StrategyThis is a time based strategy, designed to enter and exit within the same day of the week, using different hours for entry and exit.
The script is long only direction, and it has no risk management inside, so use it with caution.
At the same time you can also calculate each individual hour return within a certain day, and make your own idea about the best moments to be enter.
In order to filter a bit from the bad trades, I have applied an ATR filter, to check if that volatility is rising in order to help eliminate some of the bad trades when there is no volatility around.
For this example, on BTC, it seems that for the last years, on tuesday and thursday, enterring at the beginning of the daily candle, 01:00hours and exit at 00:00 hours, seems to give positive results giving the idea that can be converted in some sort of edge into our favor.
However dont take this entirelly for granted and conduct your own searches
Psychlogical TP Levels Indicator V 1This indicator works based on the Average True Range and Renko Charts.
The Renko charts are a perfect way to observe the market trend without noise.
From the image below, you can see that as long as the market is bullish, the Renko chart remains green, and when the market turns from bullish to bearish, the Renko chart also changes its direction. As can be seen in the image below
This indicator allows you to view the clear trend in the market.
Inside the indicator's settings, you can change the ATR Period you want. By default, it is set to 14.
Applying the indicator to charts will plot areas of two colours in a separate window. You have to pay attention to when the indicator changes its colour.
An important thing you need to understand is The psychological indicator is not a buy/sell indicator. It means you’ll not use it for opening a buy/sell trade. You’ll use it for Taking Profit levels only.
Here is how you can use the indicator to decide the take profit levels.
You can open your buy trades with any strategy you use. When you open your trade, you should pay attention to the colour or Psychological Indicator. Now, as the market goes up, you should wait for the indicator to turn from green to red, and when that happens, this will signal to close the trade.
Similarly, for short positions, you can open your sell trades with any strategy you use. When you open your trade, you should pay attention to the colour or Psychological Indicator. Now, as the market goes down, you should wait for the indicator to turn from red to green, and when that happens, this will signal to close the trade. Please check the image below.
Gedhusek MasterReversionThe MasterReversion Indicator works as a scanner for possible price reversals.
How does it work?:
The main feature of this indicator is finding extreme price deviations from its mean. This is reached by calculating the average price deviation from its mean and then comparing it with the current price deviation. This deviation is expressed as a percentage in relation to the historically highest price deviation --> if the maximum deviation is 200 points and the current deviation is 180 points, than the percentage displayed is going to be 90%.
With knowing how extreme the current deviation is, we can do some good decision making about whether the market is ready to reverse to its mean or not.
The next feature of this indicator is classic SuperTrend indicator. This tool is mainly used for identifying shifts in the market trend and in this case it becomes very useful when catching the actual price reversion.
The key idea:
The main idea behind this tool is that the price can be away from moving average, but cant stay that way forever. Therefore its convenient to know when the reversion part might happen
How to use:
Generally, you would want to wait until the current price reaches certain percentage (you can see a label on the latest bar displaying current percentage deviation). After that happens, wait for a sign of pullback. For that you can use the built-in SuperTrend indicator or any other strategy that you like. Your potential Take Profit should be somewhere around the main moving average (it has a white colour) as you are speculating on mean reversion.
[
Settings:
MA Period = Period of a moving average. Price deviations will be relative to this moving average, so as the value is larger, you will catch more significant price deviations and vice versa
Percentage Trigger = Specifies what percentage do you consider as significant.
ATR Period = Settings for a SuperTrend. Specifies a period of an ATR indicator. I like to use values 22 or 34. As the value is higher, the indicator will be generally less sensitive
ATR Multiplier = Also specifies a sensitivity of SuperTrend. As the value is higher, the SuperTrend is going to be less sensitive and vice versa
I would personally encourage you to experiment with the indicator first, so you can decide which inputs are the best ones for your style of trading.
Which markets and Time Frame:
This indicator works best on Forex and can be used on any TF.
It is possible to use it also on other instruments, but the settings has to be adjusted more.
Ticker vs IndexI was exploring a simple idea how I can visualize the ticker performance against the underlying Index (or any other ticker) performance.
how it works:
When the line is moving up (blue zone), the ticker is performing better than the underlying index (e.g. SPX)(configurable).
When the line is moving down (red zone), the ticker is performing worse than the underlying index.
How to use it:
Use as confirmation always in conjunction with other (main) indicators, avoid "buy" when indicator is in the red zone
Also, crossing over the zero line is often an indication for an upcoming upward move
Try to different SMA length - default is 20 but 10 was often showing better results
(No financial advise, for testing purposes only)
Sigma Expected Movement [D/W/M]Based on the VIX, this indicator shows the expected movement of a stock, ETF or index.
This indicator has two standard deviations that you can set for better guidance.
You can also adjust it for a result in one day, one week or one month.
Settings
* Period
* 1st Deviation: Default 68%
* 2nd Deviation: Default 90%
*Round To Integer: If it checked, it will search for the nearest integer (+/-). Optimal for people who do Options.
*Table Position: refers to which corner you want to put the table with information.
True Accumulation/Distribution (TG fork)An accumulation/distribution indicator that works better against gaps and with trend coloring.
Accumulation/Distribution was developed by Marc Chaikin to provide insight into strength of a trend by measuring flow of buy and sell volume .
The fact that A/D only factors current period's range for calculating the volume multiplier causes problem with price gaps. They are ignored or even misinterpreted.
True Accumulation/Distribution solves the problem by using True Range instead of only relying on current period's high and low.
Most of the time, True A/D reverts to producing the same values as the original A/D. The difference between True A/D and original A/D can be better seen when a gap has occurred, True A/D has handles it better than Accumulation/Distribution which a bearish close in period's range cause it to misinterpret the strong buy pressure as sell volume
The Moving Average Cloud is simply the filling between the moving average and the True A/D. This feature was inspired by D7R ACC/DIST closed-source indicator, kudos to D7R for making such neat visual indicators (but unfortunately all closed source!).
This indicator was made to extend the original work by adding MTF support and a moving average cloud and coloring.
If you like this indicator, please show the original author RezzaHmt some love:
Liquidations by volume (TG fork)Shows actual liquidations on a per-candle basis by using the difference in volume between spot and futures markets.
i.e. volume on a futures market will be much higher if there are many liquidations.
By default, green represents short liquidations (hence a bullish move, hence why it's green), whereas red is for long liquidations (bearish move). The colors can be changed in the settings if you prefer an inverted theme.
Long liquidation data should in theory be more accurate than short liquidation data due to the inability to short on a spot market.
This indicator should be able to help identify trends by determining liquidation points in the chart.
Extended by Tartigradia to automatically detect the symbol (only for crypto assets found on Binance with a USDTPERP pair, so it works for ETH, BNB, etc) and add multi-timeframe support (MTF).
If you like the indicator, please show the original author Thomas_Davison some love:
Synapse Level IndexSynapse Level Index Indicator
This indicator simply allows the user to set their desired "Lookback Period",
and "Lookahead Period" in the Bars Back and Bars Ahead, Pivot Settings. Once
selected, the indicator tracks the highest high from X Bars Ahead, and the
lowest low, from Y Bars Back. Then, the indicator calculates the Mean Value.
Then, the indicator proceeds to draw the High to Low range by Eighths.
Fear and Greed increase at these levels psychologically. Volatility Ensues.
Enjoy,
Mr. Storm
Directional Sentiment LineRepost with explanation and description:
This is a simple SMA based indicator that I have, for lack of a better term, called directional sentiment line.
How it works:
The ribbon/band:
The main band tracks 4 SMAs, the Open, High, Low and Close.
The user can input the length for lookback time, I do 75 and I have it defaulted at 75, however you can do whatever time frame you prefer.
The color of the indicator changes based on the overall trend. Green means an uptrend and red means a downtrend.
When the stock is trading within the band, you generally want to avoid a trend until you see a break out one way or the other. In the image below, you see the green arrow pointing to an area where it re-tests the band but the band remains green to affirm there is support. It then bounces off.
The red arrow, you see that the band is flashing red, meaning that it seems to be losing support and its best to wait for a break out one way or the other prior to taking the trade:
The outer lines:
You will see the two outer bands which generally appear blue while a stock is trading within them.
These are the SMAs of the highest high and lowest low in your defined period (default 75).
They can act as moving targets.
When the colour of one of them changes orange, it means the stock is trading above or below them. If the highest high turns orange, it means the stock is trading high above the bands and highest high SMA. Inverse for the lowest low. See the image below:
The purple arrows are pointing to these max band lines and show how they change colour depending on the location of the highest high.
How to use it:
So I made this simply to give me a reference point for day trades off open. However, looking at the large timeframes, I do see there is quite a lot of potential for larger timeframe analyses as well.
I recommend playing around with it and seeing what you like. But I can give you the rules I use for this as a day trading aid:
My Rules:
1. If stock opens below DSL, wait to see if it will retest. It naturally likes to continually make contact with the DSL line at random intervals:
2. If stock opens above DSL, again wait for re-test:
A hold above DSL = Bullish
A break and hold below DSL = bearish
3. When playing a breakout (sentiment shift from bearish to bullish or vice versa), wait for a retest of the line because frequently, there are fakeouts:
A re-test and bounce off the line confirms a breakout. A re-test and fails confirms a continuation of the predominate sentiment.
For further reference, I have done a tutorial video below:
Let me know your questions, comments and suggestions below!
Thanks!
SPY DXY VIX MonitorIf you like to monitor DXY and VIX while trading SPY this tool is for you. It gives you the price of all three and the direction they are going based on a smoothed derivative. This should help you make trading decisions based on this strategy of monitoring the three much easier as you get a small box on your chart. You can change the location of this on your chart to! I know its a small release but I hope you can find great use with this!
Economic Calendar (Import from Spreadsheet)This script draws vertical lines to mark Economic Calendar Events.
Datetime of events is defined by user in Settings via a standardized line of text.
Motivation for coding this script:
All traders should be aware of economic calendar events. At times, when you really need to pay attention to an upcoming major event, you might even decide to use the vertical-line drawing tool to mark it. However, this takes manual effort.
This script provides a solution to performing mundane tasks such as drawing vertical lines and dragging them ever so slightly, just to have them approximately aligned with exact time.
Parameters:
(1) Source data - String representation of collection of datetime referencing to Economic Calendar Events
(2) Line color, & (3) Width of line - For displaying vertical lines drawn by script.
Standardized format for Source Data :
Example:
If 'GMT;2022,6,1,14,0,0;2022,6,2,12,15,0;' is provided to PineScript, then two vertical lines will be drawn on June 6, 2022 according to the exact time in 'YYYY,MM,DD,hh,mm,ss' format at the specified timezone (GMT in this case).
Template for Source Data :
Included here, link below, is a shared Google Sheet that systematically processes Economic Calendar data provided in the 'Raw Data' tab.
drive.google.com
Users are advised to use their preferred methods* to format the string (for source data param.), and apply their own criteria to sort down the Events. (ie. only include Events of High Impact, etc.)
* Preferred methods (as mentioned above) does not mean being limited to using the template as provided in this post.
Herrick Payoff Index DailyModified to include new daily open interest from CME futures contracts versus old script that only captured weekly data from commitment of traders data. Script can now be used on monthly and continuous contract traded on CME.
ILM CFTC COT Legacy PlotUse this indicator on Daily Timeframe
Please refer to the below link for CFTC Disaggregated COT
www.cftc.gov
This script is very similar to COT Financial Plot indicator except that it plots the data for Futures in Legacy buckets Commercial vs. Non-Commercial
Equity Bond Currency DashboardDepicts demand-flow between Equities, Bonds and Currencies of 6 countries. Useful in tracking the flow of smart money and checking the dynamics of inter-connected markets.
Principle:
DXY lies at the heart of the diagram with usd-currency pairs of 5 countries connected to it. When demand for a currency increases it strengthens against Dollar. This is depicted by a line from DXY to the currency indicating demand flow from Dollar to the currency (DXY is only an indicative symbol for Dollar, the currency may not be part of the dollar index). Similarly when Dollar strengthens against the currency, demand flow is depicted by a line from the currency to DXY. Currency blocks are connected to Equity and Bond Yields of the respective countries. Equities and Bonds, when bought, takes the demand from the respective currencies and vice versa.
Overall, the demand flows in the direction of arrows. The flow is incomplete without commodities, import/export, interest/inflation rates of countries, however, the diagram most of the times explains why an asset class is performing the way it is.
Left side bar of each block is very similar to OHLC candles except for the following -
Instead of wicks, top and bottom of the bar represents high and low for the selected time-frame
Open and close are normalised for high and low
Bar border is red if close < prev.close, green if close >= prev.close
Other notes:
The diagram requires at least 200 bars in the chart to render. Please select the symbol and time-frame that contain at least 200 bars.
The diagram requires a live market to render the flow. To check flows on historical bars, set the option from settings.
Desired indices could be selected for countries of choice. Default settings point to futures wherever possible to have the markets live simultaneously across the countries.
Minervini QualifierThe Minervini Qualifier indicator calculates the qualifying conditions from Mark Minervini’s book “Trade like a Stock Market Wizard”.
The condition matching is been shown as fill color inside an SMA 20day envelope curve.
If the envelope color is red, current close price is below the SMA20 and when blue, current close price is above the SMA20. The fill color can be transparent (not matching qualifying conditions), yellow (matching all conditions except close is still below SMA50), green (all conditions match, SMA200 trending for at least one month up) or blue (all conditions match, SMA200 trending up for at least 5 months)
As I wanted also to see which of the qualifying conditions match over time, I’ve added add. lines, each representing one conditions. If it matches, line color is blue, or red if not. Use the data windows (right side), so you know what line represents which condition. Can be turned on/off (default:on)
In addition, a relative strength is been calculated, to compare the stock to a reference index. It is just one possible way to calculate it, might be different to what Mark Minervini is using. If the shown value (top right) is above 100, stock performs better compared to reference index (can be set in settings), when below 100, stock performs worse compared to reference index. Can be turned on/off (default:on)
How to use it:
For more details, read Mark’s book and watch his videos.
Limitations:
It gives only useful information on daily timeframe
(No financial advise, for testing purposes only)
Stock Market Emotion Index (SMEI)Implementation of Charlie Q. Yang's research paper “The stock market emotion index”, subtitle “A New Sentiment Measure Using Enhanced OBV and Money Flow Indicators”, (2007) where he combined “five simple emotion statistics” - Close Emotion Statistic (CES), Money Flow Statistic (MFS), Supply Demand Statistic (SDS), Relative Strength Statistic (RSS), and Psychological Level Statistic (PLS) - into one indicator.
Quotations:
“The index calculation is solely based on observed short term market volatility as reflected by each day’s trading volume, open, high, low, and close prices”
“The basic premise of Dow theory is that the market discounts everything, including the emotions of all traders. The fundamentals of a company do not change suddenly when its daily stock price is fluctuating as driven by human emotions that are often irrational. However, over a longer time period, a company's fundamentals do change. Again, different types of human emotions, triggered by the flow of material events, are moving the stock price trend up or down. This paper summarizes the author’s attempt in understanding primary trend extent and duration by proposing a new sentiment measure using statistical analysis of stock market human emotion.”
Even though “indicator is intended for identifying primary trend cycles that typically last one year or longer“ where Mr. Yang used a fixed averaging length of 260 days and only days as time frame, my implementation has been changed slightly to accommodate for all time frames and to adapt faster using shorter averaging (timeframe dependent).
How to use it:
Positive values indicating a bullish trend and negative values indicating a bearish trend. Background color is set to green or red accordingly.
Positive and negative bar to bar changes are indicated with green and red to show bar to bar (ultra short term) trends.
(No financial advise, use for testing purposed only)
NSE Sector PerformanceUse this indicator on daily timeframe
This indicator shows the performance of the top NSE Sectors for 4 time periods.
User has the flexibility to define the time periods (ex. Yearly Monthly Quarterly Weekly Daily
indicator shows the performance of the sector for those time periods along with 250d High/Low and distance from the High/Low
User input is provided to drill down into performance of the top stocks in those sectors.