RSI + MA, LinReg, ZZ (HH HL LH LL), Div, Ichi, MACD and TSI HistRelative Strength Index with Moving Average, Linear Regression, Zig Zag (Highs and Lows), Divergence, Ichimoku Cloud, Moving Average Convergence Divergence and True Strength Index Histogram
This script is based on zdmre's RSI script, I revamped a lot of things and added a few indicators from ParkF's RSI script.
Disable Labels in the Style tab and the histogram if you don't enlarge the indicator and it seems too small.
Look to buy in the oversold area and bounce of the support of the linear regression.
Look to sell in the overbought area and bounce of the resistance of the linear regression.
Look for retracement to the moving average or horizontal lines, and divergences for potential reversal.
RSI
The Relative Strength Index (RSI) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
Moving Average
Moving Average (MA) is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance.
Linear Regression
The Linear Regression indicator visualizes the general price trend of a specific part of the chart based on the Linear Regression calculation.
Zig Zag (Highs and Lows)
The Zig Zag indicator is used to identify price trends, and in doing so plots points on the chart to mark whenever prices reverse by a larger percentage point than a predetermined variable or marker.
Divergence
The divergence indicator warns traders and technical analysts of changes in a price trend, oftentimes that it is weakening or changing direction.
Ichimoku Cloud
The Ichimoku Cloud is a package of multiple technical indicators that signal support, resistance, market trend, and market momentum.
MACD and TSI Histogram
MACD can be used to identify aspects of a security's overall trend.
The True Strength Index indicator is a momentum oscillator designed to detect, confirm or visualize the strength of a trend.
Histogram
Volume Histogram [SpiritualHealer117]This indicator is a histogram produced with Pinescript's boxes and is helpful for spotting support, resistance, and key levels. The indicator shows the volume executed at each source price over a customizable time period. The "Key Level" in this indicator is the price at which the most volume was executed, and the "Major Levels" are levels where volume was over a percentile threshold, which you can customize in settings. Feel free to give any feedback on the indicator or make a copy for yourself!
Volume Trend Meter LTFA new take to an already popular indicator of mine, now with lower time frame support for a volume called Volume Trend Meter LTF (VTML).
The VTM LTF indicator measures the volume pressure at a specific part of the candle (Start, Middle, or the end of the candle) and displays it as a histogram.
This indicator sums up all green candle volumes and red candle volumes over the selected part of the candle (Select in settings - start end or middle) and plots their values by subtracting increasing volume and decreasing volume.
Use this indicator to identify increasing volume with the green candles (close bigger than open) and increasing volume of the red candles (close is smaller than open).
Can also work on daily charts and higher.
======= Calculation ==========
For Green Column: The total Volume of green candles is higher than the total red candle volume.
For Red Column: The total Volume of red candles is higher than the total green candle volume.
======= Volume Trend Meter LTF Colors =======
Green: Increasing buying pressure.
Red: Increasing selling pressure.
My original VTM (not the lower time frame version):
Like if you like and Follow me for upcoming indicators/strategies: www.tradingview.com
Genesis Matrix [Loxx]Over a decade ago, the Genesis Matrix system was one of best strategies for new traders looking to learn how to really trade trends. Fast forward to 2022, a new version of Genesis Matrix has emerged using TVI, CCI, HL Channel & T3
What is T3?
The T3 moving average is an indicator of an indicator since it includes several EMAs of another EMA. Unlike any other moving average, it adds the so-called volume factor, a value between 0 and 1. Like the SMA, traders typically use this indicator to spot trends and trend reversals.
What is CCI?
The Commodity Channel Index ( CCI ) measures the current price level relative to an average price level over a given period of time. CCI is relatively high when prices are far above their average. CCI is relatively low when prices are far below their average. Using this method, CCI can be used to identify overbought and oversold levels.
Genesis matrix uses Jurik-Smoothed CCI w/ MA Deviation--a spin on regular CCI .Usually CCI is calculated as using average ( Simple Moving Average ) and mean deviation. In this version, average is replaced with well known JMA (Jurik Moving Average) instead for the smoothing phase and the deviation is replaced with variety moving average deviation. The result in this one is responsive and fast (as expected) and also it is smoother than the original CCI (as expected).
What is SSL?
Known as the SSL, the Semaphore Signal Level channel chart alert is an indicator that combines moving averages to provide you with a clear visual signal of price movement dynamics. In short, it's designed to show you when a price trend is forming. For our purposes here, SSL has been modified to allow for different moving average selection and different closing price look back periods.
What is William Blau Ergodic Tick Volume?
This is one of the techniques described by William Blau in his book "Momentum, Direction and Divergence" (1995). If you like to learn more, we advise you to read this book. His book focuses on three key aspects of trading: momentum, direction and divergence. Blau, who was an electrical engineer before becoming a trader, thoroughly examines the relationship between price and momentum in step-by-step examples. From this grounding, he then looks at the deficiencies in other oscillators and introduces some innovative techniques, including a fresh twist on Stochastics. On directional issues, he analyzes the intricacies of ADX and offers a unique approach to help define trending and non-trending periods.
William Blau's definition of TVI ergodicity is that the indictor is ergodic when periods are set to 32, 5, 1, and the signal is set to 5. Other combinations are not ergodic, according to Blau.
How to use
Long signal: All 4 indicators turn green
Short signal: All 4 indicators turn red
Included
Bar coloring
OMA (One More Average) RSI Histogram [Loxx]OMA (One More Average) RSI Histogram is an RSI histogram built using the OMA adaptive moving average. This is meant to filter out the noise from regular RSI. You'll notice that it rarely signals, but the signals that do show up are perfectly set up for mean reversion/trend ATR-based trading.
What is the One More Moving Average (OMA)?
The usual story goes something like this : which is the best moving average? Everyone that ever started to do any kind of technical analysis was pulled into this "game". Comparing, testing, looking for new ones, testing ...
The idea of this one is simple: it should not be itself, but it should be a kind of a chameleon - it should "imitate" as much other moving averages as it can. So the need for zillion different moving averages would diminish. And it should have some extra, of course:
How to use
Green means buy
Red means sell
Included
Bar coloring
CFB Adaptive Gann HiLo Activator Histogram [Loxx]CFB Adaptive Gann HiLo Activator Histogram is a Composite-Fractal-Behavior-adaptive Gann HiLo activator in histogram form that has been smoothed using Jurik Filtering to reduce noise and better identify trending markets. This indicator is the CFB adaptive version of Jurik-Filtered, Gann HiLo Activator .
What is Gann HiLo
The HiLo Activator study is a trend-following indicator introduced by Robert Krausz as part of the Gann Swing trading strategy. In addition to indicating the current trend direction, this can be used as both entry signal and trailing stop.
Here is how the HiLo Activator is calculated:
1. The system calculates the moving averages of the high and low prices over the last several candles. By default, the average is calculated using the last three candles.
2. If the close price falls below the average low or rises above the average high, the system plots the opposite moving average. For example, if the price crosses above the average high, the system will plot the average low. If the price crosses below the average low afterward, the system will stop plotting the average low and will start plotting the average high, and so forth .
The plot of the HiLo Activator thus consists of sections on the top and bottom of the price plot. The sections on the bottom signify bullish trending conditions. Vice versa, those on the top signify the bearish conditions.
What is Composite Fractal Behavior ( CFB )?
All around you mechanisms adjust themselves to their environment. From simple thermostats that react to air temperature to computer chips in modern cars that respond to changes in engine temperature, r.p.m.'s, torque, and throttle position. It was only a matter of time before fast desktop computers applied the mathematics of self-adjustment to systems that trade the financial markets.
Unlike basic systems with fixed formulas, an adaptive system adjusts its own equations. For example, start with a basic channel breakout system that uses the highest closing price of the last N bars as a threshold for detecting breakouts on the up side. An adaptive and improved version of this system would adjust N according to market conditions, such as momentum, price volatility or acceleration.
Since many systems are based directly or indirectly on cycles, another useful measure of market condition is the periodic length of a price chart's dominant cycle, (DC), that cycle with the greatest influence on price action.
The utility of this new DC measure was noted by author Murray Ruggiero in the January '96 issue of Futures Magazine. In it. Mr. Ruggiero used it to adaptive adjust the value of N in a channel breakout system. He then simulated trading 15 years of D-Mark futures in order to compare its performance to a similar system that had a fixed optimal value of N. The adaptive version produced 20% more profit!
This DC index utilized the popular MESA algorithm (a formulation by John Ehlers adapted from Burg's maximum entropy algorithm, MEM). Unfortunately, the DC approach is problematic when the market has no real dominant cycle momentum, because the mathematics will produce a value whether or not one actually exists! Therefore, we developed a proprietary indicator that does not presuppose the presence of market cycles. It's called CFB (Composite Fractal Behavior) and it works well whether or not the market is cyclic.
CFB examines price action for a particular fractal pattern, categorizes them by size, and then outputs a composite fractal size index. This index is smooth, timely and accurate
Essentially, CFB reveals the length of the market's trending action time frame. Long trending activity produces a large CFB index and short choppy action produces a small index value. Investors have found many applications for CFB which involve scaling other existing technical indicators adaptively, on a bar-to-bar basis.
What is Jurik Volty used in the Juirk Filter?
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
What is the Jurik Moving Average?
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Ideally, you would like a filtered signal to be both smooth and lag-free. Lag causes delays in your trades, and increasing lag in your indicators typically result in lower profits. In other words, late comers get what's left on the table after the feast has already begun.
Included
-Toggle bar color on/off
Heiken Ashi Smoothed Net VolumeThis indicator attempts to use Heiken Ashi calculations to smooth the Volume net histogram indicator by RafaelZioni. Long above zero line, short below zero line.
Market Profile Fixed ViewSome instruments does not provide any volume information, therefore, as a fixed volume profile user, I needed a fixed market profile indicator to use the same principles, regardless of whether the volumes are available or not.
This script draws a market profile histogram corresponding to price variations within a specific duration, you only need to specify Start and End date/time values to see the histogram on your chart.
Details
Two lines corresponding to highest/lowest prices are displayed around the histogram
The redline corresponds to the POC (point of control)
Options
Start calculation
End calculation
Bars number (histogram resolution, currently locked to a max value of 50 bars)
Display side/Width (allows to modify size of bars, to the left or to the right)
Bars/Borders/POC Color customization
Notes
This script will probably be updated (to add VAH/VAL zones, and maybe other options). However, some common market profile attributes have not been implemented yet since I don't really use them)
OBV+EMA HistogramHistogram of the difference between On Balance Volume and an EMA of the On Balance Volume (OBV + EMA).
Using a 55 EMA, on the daily timeframe of BTC, bull/bear trends occur when the histogram is above/below the zero line respectively.
Divergences also have a notable effect.
-- Added alert conditions when OBV crosses EMA to signal a possible trend change, for bullish and bearish cases.
KINSKI USDT Market Cap DominanceUSDT dominance charts are rare to find as almost everyone is fixated on BTC dominance. Bitcoin dominance gives us insight into investors' preferences when they have a choice between BTC and thousands of altcoins.
This oscillator gives insight into the state of the coin market. When people exchange their digital currencies like BTC and Altcoins for USDT, there is low confidence in the market. The opposite is true when BTC and Altcoins are bought because market sentiment is high.
So when USDT dominance rises, cryptocurrency prices fall, but when their dominance falls, cryptocurrency prices rise.
Features
Can be displayed as a moving average (default) or histogram.
Choice between 'CRYPTOCAP:USDT', 'CRYPTOCAP:USDT.D', 'CRYPTOCAP:OTHERS.D' => CRYPTOCAP:USDT.D is default.
Smoothing types Selectable
Upward and downward trend of MA line can be activated
Extensive style settings
Combo 2/20 EMA & (H-L)/C Histogram This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
This histogram displays (high-low)/close
Can be applied to any time frame.
WARNING:
- For purpose educate only
- This script to change bars colors.
ATR Drift %This script plots an histogram calculated this way:
Get the previous ATR sample, calculated in the specified timeframe
Get the actual open price of the bar in the specified timeframe minus the actual price in the current timeframe
and plots the percent change between the the 2 values
For example, if you select DAY as timeframe for the ATR:
Plots the percent change between:
- ATR(daily) from yesterday
and
- open from today - actual price
Due to Tradingview limitations, only shows the plot if the actual timeframe of the graphic is equal or lower that the ATR selected timeframe
The background changes shows a new ATR sample taking place
I'm testing this for scalping in 5M timeframe with the ATR in 4H
All my published scripts at: es.tradingview.com
ATR Daily Drift %This script is an especial request from a user
Plots the percent change between:
- ATR(daily) from yesterday
and
- open from today - actual price
Due to Tradingview limitations, only shows the plot if the actual timeframe of the graphic is daily or lower.
All my published scripts at: es.tradingview.com
Volume Profile and Volume Indicator by DGTVolume Profile (also known as Price by Volume) is an charting study that displays trading activity over a specified time period at specific price levels. It is plotted as a horizontal histogram on the finacial isntrumnet's chart that highlights the trader's interest at specific price levels.
The histogram is used by traders to predict areas of support and resistance. Price levels where the traded volume is high could be assumed as support and resistance levels.
Price may experience difficulty moving above or below areas with large bars. Usually there is a great deal of activity on both the buy and sell side and the market stays at that price level for a great deal of time
It is advised to use volume profile in conjunction with other forms of technical analysis to maximize the odds of success
Light version of Volume Profile is added to Price Action - Support & Resistance by DGT
ADeXtIt is an extended ADX and Direction Movement Index indicator with the following changes:
It shows a histogram instead of the DMI lines. If the histogram is green, the DMI+ is above DMI-, otherwise it is red.
You can specify a multiplier for the histogram values to check if values are above threshold. This way you can use the same threshold line as ADX to detect directional strength.
You can remove outliers from ATR calculations
You can use different MAs and sources for DMI and ATR calculations to make ADX more adjustable to different markets
It uses my ADExt library, so you can easily transfer your study to a strategy script.
Moving Averages HistogramAn interesting idea is to simplify the display of whether ONE fast-moving average crosses FIVE other slower-moving averages using just a histogram.
The idea is to increase the step counter by 1 every time a fast-moving average crosses OVER one of the five slower-moving averages until reaching 5 (highest value) and decrease the step counter by 1 every time the fast-moving average crosses UNDER each one of the five slower moving averages until reaching 0 (lowest value of the histogram).
=== Cut To Chase ===
If the histogram is at the top value 5 (green), it means the FAST moving average is ABOVE ALL slower-moving averages, Hench, the asset is up trending.
If the histogram is at the bottom value 0 (red), it means the FAST moving average is BELOW ALL slower-moving averages, Hench, the asset is down trending.
If the histogram is in the midways between 0 to 5, it means the FAST moving average is starting to cross the slower moving averages which could lead to a trend reversal, up or down, it depends on the direction of the crossing.
=== Notes ===
You can change from a variety of moving averages like RMA, EMA, ALMA, HMA, and so on.
You can reduce the number of slow-moving averages by placing the same length.
You can visualize the moving averages in case you want to see how it works behind, by going to settings and clicking 'Show MA lines'.
Every moving average length can be modified inside settings.
Note that the fast-moving average should have the lowest length.
You can visualize how the moving average is plotted:
5min MACD scalp by JoelThis strategy is inspired by a youtuber called Joel on Crypto. He trades this using Ema, MACD indicators and his own experience. For more information, check out his Best Crypto Scalping Strategy for the 5 Min Time Frame video. I have tried to automate this a little.
Long or Short trades are determined with a crossing of the fast Ema over the slow Ema for Long and the opposite for Short. Trades should only happen close to the crossovers. Then for Long we use the MACD indicator with a 1min TF (I had better results using the 5min) where we look for high peaks in negative values for Long and vice versa for Shorts. These should be significantly higher than other peaks (or if you will lower peaks for a Long).
Hence, the key is to detect high peaks on the histogram, which I try to achieve by checking if the last 2 values were higher than X bars back. If you want to make it even more specific, then you can turn on the additional checkbox which compares the current value to the average value of X bars back, and if it is greater than, say, 50% the value of the average (= 1.5x the average), then it's ok for the trade.
I also noticed that the strategy often bought at the top or bottom, so I added a check that compares whether the last evaluated bar is the first rising bar (for Long) or falling bar (for Short). This can be turned on or off.
Target profit 0,5% and stop loss 0,4% are based on his recommendation. The strategy is set to take only 1 trade at a time , and you can have a back tester table on.
I'm still a pine script beginner, so the strategy is certainly not perfect and could be improved. If you have any tips on how to improve it further, please let me know. I will try to update it when I have time.
I would also like to thank Joel on Crypto for sharing the strategy and @ZenAndTheArtOfTrading for his great library and code (thanks to him we have a back tester table in here), but especially his educational videos on youtube, which taught me a lot about pine script.
Linear Regression Histogram [LuxAlgo]This indicator is inspired by traditional statistical histograms. It will return the number of occurrences of price falling within each interval (bins) of the linear regression channel. This can be useful to highlight zones of interest within a trend.
Settings
Length: Number of recent closing prices used for the computation of the linear regression.
Bins Number: Number of intervals constructed from the linear regression channel.
Mult: Multiplicative factor for the RMSE. Controls the width of the linear regression channel.
Src: Input source of the indicator.
Usage
The indicator is constructed by dividing the linear regression channel range into a series of intervals (bins) of equal width. We then count the number of price values falling within each interval.
If a significant number of price values fall within a specific interval then that interval can highlight a potential zone of interest within a trend.
The zone of interest is highlighted in blue.
Liquidity Levels [LuxAlgo]The Peak Activity Levels indicator displays support and resistance levels from prices accompanied by significant volume. The indicator includes a histogram returning the frequency of closing prices falling between two parallel levels, each bin shows the number of bullish candles within the levels.
1. Settings
Length: Lookback for the detection of volume peaks.
Number Of Levels: Determines the number of levels to display.
Levels Color Mode: Determines how the levels should be colored. "Relative" will color the levels based on their location relative to the current price. "Random" will apply a random color to each level. "Fixed" will use a single color for each level.
Levels Style: Style of the displayed levels. Styles include solid, dashed, and dotted.
1.1 Histogram
Show Histogram: Determines whether to display the histogram or not.
Histogram Window: Lookback period of the histogram calculation.
Bins Colors: Control the color of the histogram bins.
2. Usage
The indicator can be used to display ready-to-use support and resistance. These are constructed from peaks in volume. When a peak occurs, we take the price where this peak occurred and use it as the value for our level.
If one of the levels was previously tested, we can hypothesize that the level might be used as support/resistance in the future. Additional analysis using volume can be done in order to confirm a potential bounce.
The histogram can return various information to the user. It can show if the price stayed within two levels for a long time and if the price within two levels was mostly made of bullish or bearish candles.
In the chart above, we can see that over the most recent 200 bars (determined by Histogram Window) 68 closing prices fall between levels A and B, with 27 bars being bullish.
Additionally, the width of a bin and its length can sometimes give information about the volatility of a specific price variation. If a bin is very wide but short (a low number of closing prices fallen within the levels) then we can conclude a most of the movement was done on a short amount of time.
Price Volume Trend + Signal and HistogramThis is a script based on PVT + Signal Line, which can be EMA or SMA. It then plots a histogram which is equal to PVT - Signal. This makes it easier to spot divergences.
To better match up the scales, we decided to add a multiplication factor to the histogram. Each asset and even timeframe requires a different multiplication factor, so please experiment to find what suits you.
Credits and special thanks are listed on the source code.
Probability Distribution HistogramProbability Distribution Histogram
During data exploration it is often useful to plot the distribution of the data one is exploring. This indicator plots the distribution of data between different bins.
Essentially, what we do is we look at the min and max of the entire data set to determine its range. When we have the range of the data, we decide how many bins we want to divide this range into, so that the more bins we get, the smaller the range (a.k.a. width) for each bin becomes. We then place each data point in its corresponding bin, to see how many of the data points end up in each bin. For instance, if we have a data set where the smallest number is 5 and the biggest number is 105, we get a range of 100. If we then decide on 20 bins, each bin will have a width of 5. So the left-most bin would therefore correspond to values between 5 and 10, and the bin to the right would correspond to values between 10 and 15, and so on.
Once we have distributed all the data points into their corresponding bins, we compare the count in each bin to the total number of data points, to get a percentage of the total for each bin. So if we have 100 data points, and the left-most bin has 2 data points in it, that would equal 2%. This is also known as probability mass (or well, an approximation of it at least, since we're dealing with a bin, and not an exact number).
Usage
This is not an indicator that will give you any trading signals. This indicator is made to help you examine data. It can take any input you give it and plot how that data is distributed.
The indicator can transform the data in a few ways to help you get the most out of your data exploration. For instance, it is usually more accurate to use logarithmic data than raw data, so there is an option to transform the data using the natural logarithmic function. There is also an option to transform the data into %-Change form or by using data differencing.
Another option that the indicator has is the ability to trim data from the data set before plotting the distribution. This can help if you know there are outliers that are made up of corrupted data or data that is not relevant to your research.
I also included the option to plot the normal distribution as well, for comparison. This can be useful when the data is made up of residuals from a prediction model, to see if the residuals seem to be normally distributed or not.
Difference in price changeCompares price change between current symbol and other one (eg. BTC vs S&P500). It calculates price change on each bar (from high to low or from open to close) and compares with price change of equivalent bar from the other source.
Example
Current symbol
open = 10 USD
close = 7 USD
change = -3 USD
% change = -30%
Second symbol
open = 3 USD
close = 4 USD
change = +1 USD
% change = +33%
Performance of price change = (-30) - (+30) = -63 // It means that current source has weaker performance right now
Price/Volume Trend MeterAnother simple indicator from the sweet indicator series, This is a combination of the Volume and Price Trend Meter indicators combined (Links below) into one indicator called PVTM (Price Volume Trend Meter).
PVTM measures the strength of price and volume pressure on a histogram.
The indicator sums up all green candles price and volume and red candles price and volume over a specific period of bars and plots based on Price summed value. The result will look similar to Price Trend Meter with the benefit of trying to filter out more noise.
Use this indicator to identify the increasing asset of price and volume with the green candles (Close is higher than open) and decreasing of price and volume with the red candles (Close is lower than open).
======= Calculation ==========
Bright Green Color Column: Total summed up Price and Volume are higher than 0.
Bright Red Color Column: Total summed up Price and Volume are Lower than 0.
Weak Green Color Column: Conflict between Price and Volume (One positive and one negative) so we continue based on previous color .
Weak Red Color Column: Conflict between Price and Volume (One positive and one negative) so we continue based on previous color.
======= Price/Volume Trend Meter Colors =======
Green: Increasing buying pressure.
Weaker Green: Declining Buying pressure (Possible Sell Reversal).
Red: Increasing selling pressure.
Weaker Red: Declining Selling pressure (Possible Buy Reversal).
Other sweet indicators that this indicator is based on:
Volume Trend Meter:
Price Trend Meter:
Like if you Like and Follow me for upcoming indicators/strategies: www.tradingview.com