Ultimate MACDThis indicator is an improved version of MACD+RSI (refer to my script list). Basically, this indicator is a combination of several indicators:
1. Fast MACD (preset at 8, 16, 11 - it is my own preference settings and the red and blue line in this indicator are referring to the Fast MACD settings)
2. Slow MACD (preset at 12, 26, 9 - standard settings and the Slow MACD lines are not displayed in this indicator)
3. RSI (preset over value 50)
4. Stochastic (preset overbought at 80, oversold at 20)
How to read:
1. Fast and Slow MACD:
- Two red and blue lines are displaying the Fast MACD lines
- Small blue cross will appear at every crossover of the Fast MACD lines
- Golden Cross 1: Yellow background will appear if only Fast MACD lines are crossing to each other (blue crossover red)
- Golden Cross 2: Green background will appear if both Fast and Slow MACD lines are crossing to each other (blue crossover red but for Slow MACD, I didn't put those lines in this indicator)
- Death Cross 1: Blue background will appear if only Fast MACD lines are crossing to each other (red crossover blue)
- Death Cross 2: Red background will appear if both Fast and Slow MACD lines are crossing to each other (red crossover blue)
2. RSI:
- Purple dots will appear on the center line if RSI value is over 50
3. Stochastic:
- Big Blue cross will appear on the center line if stochastic line are crossing to each other in the oversold area (preset at 20)
- Big Red cross will appear on the center line if stochastic line are crossing to each other in the overbought area (preset at 80)
That's all about this indicator, you can use it based on your own trading style if it suits you. And again I let the script open for anyone to modify it based on your own preferences.
M-oscillator
Projection Bandwidth [CC]The Projection Bandwidth was created by Mel Widner (Stocks and Commodities Jul 1995) and this is another of my series of indicators that I consider undiscovered gems. For those of you who are unaware, the Bandwidth indicator measures the distance between the high and low bands and if you remember from my Projection Bands script, the Projection Bands give pretty accurate early signals of trend reversals and followed fairly closely by a large bulge in the bands. The large bulges in the bands essentially act as the confirmation that the trend reversal is happening and so that brings me to this indicator. This indicator gives signals based on if it has reached a peak or a valley. Both extremes mean that the current trend is ending and I have color coded it based on the buy and sell signals from my Projection Bands indicator. I have included strong buy and sell signals in addition to normal ones so strong signals are darker in color and normal signals are lighter in color. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts or indicators you would like to see me publish!
BTC 1D Safety tradeImportant: use only the BTC/USD pair on the 1D timeframe
The indicator is designed to determine the zones for entry to buy or sell, as well as for closing deals.
The indicator is based on a moving average with a period of 12.
The parameters are not changeable, since the optimal settings (Safety trade) were used for the BTC/USD pair on the 1D timeframe.
The code is open, please change it according to your parameters.
Upper zones for closing long or opening short.
Lower zones for opening long or closing short.
Goethe B - Mutiple Leading Indicator PackageGoethe B is an Indicator Package that contains multiple leading and lagging indicators.
The background is that shows the local trend is calculated by either two Moving Averages or by a Kumo Cloud. By default the Kumo Cloud calculation is used.
What is the main oscillator?
- The main oscillator is TSV, or time segmented volume. It is one of the more interesting leading indicators.
What is the top bar?
-The top bar shows a trend confirmation based on the wolfpack ID indicator.
What are those circles on the second top bar?
-Those are Divergences of an internally calculated PVT oscillator. Red for Regular-Bearish, Green for Regular-Bullish.
What are those circles on the main oscillator?
-These are Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What are those circles on the second lower bar?
-Those are Divergences of an internally calculated CCI indicator. Red for Regular-Bearish, Green for Regular-Bullish.
What is the lower bar?
-The lower bar shows a trend confirmation based on the Acceleration Oscillator, in best case it showes how far in the trend the current price action is.
What are those orange or aqua squares?
- These are TSI (true strength indicator) entry signals . They are calculated by the TSI entry signal, the TSI oscillator threshold.
Most settings of the indicator package can be modified to your liking and based on your chosen strategy might have to be modified. Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.
P-Signal GravityP-Signal Gravity will help you choose a trading strategy, taking into account volatility and exchange commissions. The white circles indicate the probabilistic position of the virtual center of gravity. The reliability parameter determines the probability of finding such a center of gravity. The table shows the latest price and the expected P/L, taking into account the exchange commission, which is also a parameter. Due to the overlay type of indicator, the table also contains p-signal values and its increment.
Advantage RSI PredictorAdvantage RSI Predictor reverses the calculation of Relative Strength Index. Once the bar ends, this indicator calculates the price that needs to be reached (next bar) for RSI to move to a certain level. The indicator is plotted over price to show support and resistance zones based on RSI settings defined by user.
What do I see?
upper and lower (red) lines show where the price needs to move for RSI to show predefined levels; default settings are: RSI (close,14); 70-point as overbought level (upper); 30-point as oversold level (lower)
middle line (On/Off) calculates where the price needs to move for RSI to be 50 points
Why do I use it?
knowing support and resistances in advance, you can use it in day trading when intraday move reaches your support or resistance
by switching to a higher time frame, you can establish where support and resistance is in multiple time ranges
Finally, last but definitely not least, the main reason behind publishing this indicator is to prove that the RSI indicator is NOT what it is perceived to be.
RSI does not measure the velocity or magnitude of the recent move, but simply the distance between price and exponential moving average of the corresponding length.
50-point RSI Predictor(length) = Exponential moving average(2*length-1) shifted by 1 bar.
Coppock Curve with Pivot Points and Divergence The Coppock Curve is a long-term price momentum indicator used primarily to recognize major downturns and upturns in a stock market index. It is calculated as a 10-month weighted moving average of the sum of the 14-month rate of change and the 11-month rate of change for the index. It is also known as the "Coppock Guide."
The Coppock formula was introduced in Barron's in 1962 by Edwin Coppock.
The Coppock Curve is a technical indicator that provides long-term buy and sell signals for major stock indexes and related ETFs based on shifts in momentum.
What Does the Coppock Curve Tell You?
The Coppock Curve was originally implemented as a long-term buy and sell indicator for major indices such as the S&P 500 and the Wilshire 5000. Often, it is used with long-term time series such as a candlestick chart, but where each candle contains a month's worth of price information.
The Difference Between the Coppock Curve and Rate of Relative Strength Index (RSI)?
The relative strength index looks at how the current price compares to prior prices, though it is calculated differently than the rate of change (ROC) indicator used in the Coppock Curve calculation. Therefore, these indicators will provide different trade signals and information.
What are those circles?
-These are Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What are those triangles?
- These are Pivots . They show when the VPT oscillator might reverse, this is important to know because many times the price action follows this move.
Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.
Leonidas Squeeze Momentum SystemThis indicator is based on LazyBear SQ Momentum Indicator and SQ Plus Indicator.
This indicator is using ADX and Squeeze Momentum Indicator.
When you see the ADX above 0 line and the slop is positive that means the trend is strong
When the ADX is below 0 line and the trend is weak you will see the slop negative and the color gray
When we see the SQ changing the color from Red to Yellow that means the sell pressure is decreasing this could be a potential buy signal
When we see the color changing from blue to dark blue that means the buy pressure is decreasing this could be a a potential sell signal
Bull/Bear divergences supported
Added SQ signal
this signal is an exponential moving average following the SQ main signal useful for filtering fake signals.
This indicator is very powerful but offers many fake signals it is recommended using this indicator with other indicators to confirm the entries
Trend Analysis Index [CC]The Trend Analysis Index was created by Adam White and not to be confused with the Trend Analysis Indicator that I also published. This indicator operates under the same idea but using a completely different calculation to achieve similar results. The idea behind this indicator is for a combination of volatility and trend confirmation. If the indicator is above it's signal line then the stock is very volatile and vice versa. If the stock is currently trending as in above a chosen moving average for example and the indicator falls below the signal line then there is a pretty good chance in a trend reversal. The recommended buy and sell system to use is to pair this indicator with a moving average crossover system which I have included in the script. Buy when the indicator is above it's signal and the shorter moving average crosses above the longer moving average. For selling you would do the same and sell when the indicator is above it's signal and the shorter moving average crosses below the longer moving average. I have included strong buy and sell signals in addition to the normal ones so stronger signals are darker in color and normal signals are lighter in color.
Let me know what other indicators or scripts you would like to see me publish!
TropRSIThis is a variety of RSI based on the distance from the MA. It calculates the difference between price and a user defined EMA, then it calculates the RSI for the values obtained.
I find it more reactive and at the same time more adjustable thatn normal RSI.
It also shows divergences.
Value chartValue Charts is a detrended price indicator created by David Stendhal, it shows the overbought and oversold levels using the average range
Ehlers Hann Relative Strength Index [CC]The Hann Relative Strength Index was created by John Ehlers (Stocks and Commodities Jan 2022 pgs 26-28) and this indicator builds upon his Hann Window Indicator to create an unique rsi indicator that doesn't rely on overbought or oversold levels to determine a reversal point and also provides a very superior smoothing without any of the lag associated with traditional smoothing. A much more useful RSI than the standard version in my honest opinion. Short term you buy when the line turns green and sell when it turns red. Medium to long term you buy when the indicator rises above the 0 line and sell when it falls below the 0 line. I have included strong buy and sell signals in addition to normal ones so strong signals are darker in color and normal signals are lighter in color.
Let me know if there are any other indicators or scripts you would like to see me publish!
investor_RSI Two-CrossThe RSI 14/50 cross is an oscillator that shows the market direction.
Positive price movements can be expected when the small value crosses the high value.
Negative price movements can be expected when the small value crosses the high value to the downside.
You can make the coloring you want from the settings section.
Ehlers Elegant Oscillator [CC]The Elegant Oscillator was created by John Ehlers (Stocks and Commodities Feb 2022 pg 21) and for those of you who don't know, he introduced the indicators for the Fisher Transform and Inverse Fisher Transform and this is a new updated version to that idea based on his latest research. This uses a soft limiter which he says is superior to a hard limiter. There are several ways to interpret this indicator. First if the indicator is above the 0 line then it is a long term bullish trend and below 0 a long term bearish trend. Second this indicator can be used for reversal points with the peaks and valleys. Finally when the indicator line starts moving higher for example it is a bullish short term trend and vice versa. I have included strong buy and sell signals in addition to normal ones so strong signals are darker in color and normal are lighter in color. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators or scripts you would like to see me publish!
Z Score (Close + High and Low bands)Basic z score with High and Low bands.
If z is positive = uptrend.
If z is negative = downtrend.
If z > +3 or z < -3 = reverse is possible.
H lines can act as a support/resistance.
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Velocity, Acceleration, JerkJust a simple indicator. It measures the velocity, acceleration, and jerk of the price. Velocity being the rate of change of price, acceleration being the rate of change of velocity, jerk being the rate of change of acceleration.
With the default length of 50, the indicator measures the height difference of two prices 50 bars apart. This is recorded as velocity or slope. 50 bars later, a second slope is recorded. The change in this value will be the acceleration. Another 50 bars later, (a total of 150 bars) another acceleration is recorded, and the change of that value is jerk.
Positive velocity indicates the price is uptrending. Positive acceleration indicates the trend is growing, or the price is falling then rising (price will make "U" shapes for positive and "∩" shapes for negative). Positive jerk indicates higher highs and higher lows (price will transition from "∩" to "U" shapes for positive jerk and "U" to "∩" for negative jerk).
I'm not sure any of this is useful. It's just interesting to see some physics behind prices.
Note: velocity, acceleration, and jerk graphs are not to scale (they'd be too small to see if they were)
Nasdaq VXN Volatility Warning IndicatorToday I am sharing with the community a volatility indicator that uses the Nasdaq VXN Volatility Index to help you or your algorithms avoid black swan events. This is a similar the indicator I published last week that uses the SP500 VIX, but this indicator uses the Nasdaq VXN and can help inform strategies on the Nasdaq index or Nasdaq derivative instruments.
Variance is most commonly used in statistics to derive standard deviation (with its square root). It does have another practical application, and that is to identify outliers in a sample of data. Variance is defined as the squared difference between a value and its mean. Calculating that squared difference means that the farther away the value is from the mean, the more the variance will grow (exponentially). This exponential difference makes outliers in the variance data more apparent.
Why does this matter?
There are assets or indices that exist in the stock market that might make us adjust our trading strategy if they are behaving in an unusual way. In some instances, we can use variance to identify that behavior and inform our strategy.
Is that really possible?
Let’s look at the relationship between VXN and the Nasdaq100 as an example. If you trade a Nasdaq index with a mean reversion strategy or algorithm, you know that they typically do best in times of volatility . These strategies essentially attempt to “call bottom” on a pullback. Their downside is that sometimes a pullback turns into a regime change, or a black swan event. The other downside is that there is no logical tight stop that actually increases their performance, so when they lose they tend to lose big.
So that begs the question, how might one quantitatively identify if this dip could turn into a regime change or black swan event?
The Nasdaq Volatility Index ( VXN ) uses options data to identify, on a large scale, what investors overall expect the market to do in the near future. The Volatility Index spikes in times of uncertainty and when investors expect the market to go down. However, during a black swan event, historically the VXN has spiked a lot harder. We can use variance here to identify if a spike in the VXN exceeds our threshold for a normal market pullback, and potentially avoid entering trades for a period of time (I.e. maybe we don’t buy that dip).
Does this actually work?
In backtesting, this cut the drawdown of my index reversion strategies in half. It also cuts out some good trades (because high investor fear isn’t always indicative of a regime change or black swan event). But, I’ll happily lose out on some good trades in exchange for half the drawdown. Lets look at some examples of periods of time that trades could have been avoided using this strategy/indicator:
Example 1 – With the Volatility Warning Indicator, the mean reversion strategy could have avoided repeatedly buying this pullback that led to this asset losing over 75% of its value:
Example 2 - June 2018 to June 2019 - With the Volatility Warning Indicator, the drawdown during this period reduces from 22% to 11%, and the overall returns increase from -8% to +3%
How do you use this indicator?
This indicator determines the variance of VXN against a long term mean. If the variance of the VXN spikes over an input threshold, the indicator goes up. The indicator will remain up for a defined period of bars/time after the variance returns below the threshold. I have included default values I’ve found to be significant for a short-term mean-reversion strategy, but your inputs might depend on your risk tolerance and strategy time-horizon. The default values are for 1hr VXN data/charts. It will pull in variance data for the VXN regardless of which chart the indicator is applied to.
Disclaimer: Open-source scripts I publish in the community are largely meant to spark ideas or be used as building blocks for part of a more robust trade management strategy. If you would like to implement a version of any script, I would recommend making significant additions/modifications to the strategy & risk management functions. If you don’t know how to program in Pine, then hire a Pine-coder. We can help!
Open Interest Auto SpaceManBTCOpen Interest Auto SpaceManBTC
This is an extension to the script, it aims to provide the data in a less hands on way by providing the basis for automatic calculation on which symbol the data is being pulled from.
Changelog:
Automatic Data retrieval on a percoin basis.
Ability to hide or show symbol.
Coloring choices for the user.
Time Segmented Volume, TSV Cipher + TSITHE IDEA:
TSV is a leading indicator based on the Volume, so it can be used to dectect price movements even before other indicators.
You can read about the Time Segmented Volume and the concept how to use it here:
From my observations, it seems like you can use this indicator in the similar way to "oscilators" as well.
So the idea is to use the signal and run in trough:
1) WaveTrend - to produce "green" and "red" dots.
2) TSI
Both oscillators produce two signals that when crossed might be a buy/sell signal.
Hope you like the idea.
WARNING: Use the indicator for your own risk, it was released for educational purposes.
Multi-Timeframe TTM Squeeze Pro
IMPORTANT NOTE:
-> The timeframe for this indicator must be set at 1 minute;
-> If the chart timeframe is higher than 1 minute, the results shown in the table for timeframes lower than the chart will not be correct;
-> Tradingview's own documentation explains this as follows: " It is not recommended to request data of a timeframe lower that the current chart timeframe, for example 1 minute data from a 5 minutes chart. The main problem with such a case is that some part of a 1 minute data will be inevitably lost, as it’s impossible to display it on a 5 minutes chart and not to break the time axis. In such cases the behavior of security can be rather unexpected "; and
-> It is therefore recommended that this indicator is placed in a standalone 1min chart window, and the window resized to only show the table to avoid any issues.
Credits:
-> John Carter creating the TTM Squeeze and TTM Squeeze Pro
-> Lazybear's original interpretation of the TTM Squeeze: Squeeze Momentum Indicator
-> Makit0's evolution of Lazybear's script to factor in the TTM Squeeze Pro upgrades - Squeeze PRO Arrows
This is my version of their collective works, with amendments primarily to the Squeeze Conditions to more accurately reflect the color coding used by the official TMM Squeeze Pro indicator.
TTM Squeeze Guide
For those unfamiliar with the TTM Squeeze, it is simply a visual way of seeing how Bollinger Bands (standard deviations from a simple moving average ) relate to Keltner Channels ( average true range bands) compared with the momentum of the price action. The concept is that as Bollinger Bands compress within Keltner Channels , price volatility decreases, giving way for a potential explosive price movement up or down.
Differences between the original TTM Squeeze and TTM Squeeze Pro:
-> Both use a 2 standard deviation Bollinger Band ;
-> The original squeeze only used a 1.5 ATR Keltner Channel; and
-> The pro version uses 1.0, 1.5 and 2.0 ATR Keltner Channels .
The pro version therefore helps differentiate between levels of squeeze (compression) as the Bollinger Bands moves through the Keltner Channels i.e. the greater the compression, the more potential for explosive moves - less compression means more squeezing.
The Histogram shows price momentum whereas the colored dots (along the zeroline) show where the Bollinger Bands are in relation to the Keltner Channels:
-> Cyan Bars = positive, increasing momentum;
-> Blue Bars = positive, decreasing momentum (indication of a reversal in price direction);
-> Red Bars = negative, increasing momentum;
-> Yellow Bars = negative, decreasing momentum (indication of a reversal in price direction);
-> Orange Dots = High Compression / large squeeze (One or both of the Bollinger Bands is inside the 1st (1.0 ATR) Keltner Channel);
-> Red Dots = Medium Squeeze (One or both of the Bollinger Bands is inside the 2nd (1.5 ATR) Keltner Channel);
-> Black Dots = Low compression / wide squeeze (One or both of the Bollinger Bands is inside the 3rd (2.0 ATR) Keltner Channels );
-> Green Dots = No Squeeze / Squeeze Fired (One or both of the Bollinger Bands is outside of the 3rd (2.0 ATR) Keltner Channel).
Ideal Scenario:
As the ticker enters the squeeze, black dots would warn of the beginning of a low compression squeeze. As the Bollinger bands continue to constrict within the Keltner Channels , red dots would highlight a medium compression. As the price action and momentum continues to compress an orange dot shows warning of high compression. As price action leaves the squeeze, the coloring would reverse e.g. orange to red to black to green. Any compression squeeze is considered fired at the first green dot that appears.
Note: This is an ideal progression of the different types of squeezes, however any type of squeeze (and color sequence) may appear at anytime, therefore the focus is primarily on the green dots after any type of compression.
Entry and Exit Guide:
-> John Carter recommends entering a position after at least 5 black dots or wait for 1st green dot ; and
-> Exit on second blue or yellow bar or, alternatively, remain in the position after confirming a continuing trend through a separate indicator.
Standalone Indicator:
The indicator (which can be used on any timeframe) can be found here:
MACD + AveragesA classic MACD with average peak and dip lines. The lighter green and red horizontal lines are the average peak and dip of the entire span, respectively. The second, bolder of the two lines are the averages of the peaks and dips above and below the overall peak and dip averages. The filled in color is to help visualize these averages and possible trade setups.
BTCUSD vs S&P500 (Daily)This script plots an RSI of the difference between the BTCUSD (FTX) and S&P 500 (FRED) prices, useful to see how the BTCUSD price correlates to the stock market.
This works in the daily timeframe only (because the S&P 500 can only be sampled on this timeframe). You can try lower timeframes but they will be gapped / interpolated.