ATR-Stepped PDF MA [Loxx]ATR-Stepped PDF MA is and ATR-stepped moving average that uses a probability density function moving average.
What is Probability Density Function?
Probability density function based MA is a sort of weighted moving average that uses probability density function to calculate the weights.
Included:
-Toggle on/off bar coloring
-Toggle on/off signals
-Alerts long/short
Average True Range (ATR)
RVOL/ATR LabelRelative Volume and Average True Range are critical for quick decision-making and managing risk. Even if the setup is there for a day trade, having a high relative volume on the name helps with confirmation to put on the risk. Additionally, using ATR to define your risk is a very helpful way to quickly size your trade in the moment. This indicator provides the ability immediately assess whether a trade is worth taking, as well as defining risk for the trade.
HOW TO USE
Our relative volume calculation looks at the cumulative volume up until the current minute of the day, and compares that with the same calculation of the previous 5 trading days. We have provided an "RVOL Threshold" input, which paints the RVOL square green if it is greater than or equal to this number (otherwise, it is red). We prefer an RVOL value of at least 2; however, feel free to change this value to your preference.
OUTPUTS
This indicator prints the RVOL and ATR values in the top right of your chart for quick and easy decision-making (as described above). If the RVOL value is greater than or equal to your RVOL Threshold, the square will be green. Use the color-coding to your advantage when making quick decisions.
Happy Trading!
Chandelier Exit - Heikin AshiThis is a redesign of the Chandelier Exit indicator. It removes stupid transitions between Chandelier Exit' states and highlights initial points for both lines.
This indicator was originally developed by Charles Le Beau and popularized by Dr . Alexander Elder in his book "Come Into My Trading Room: A Complete Guide to Trading" (2002).
In short, this is a trailing stop-loss based on the Average True Range (ATR).
If "Heikin Ashi for calculation" is checked, then ATR and buy/sell signals are calculated based on heikin ashi candles.
You don't need to change bar style to heikin ashi.
Thanks to everget for the initial version.
ADR% / ATR / Market CapDisplays the following values in a table in the upper right corner of the chart:
ADR%: Average daily range (in percent).
ATR: Average true range (hidden by default).
Market Cap: Total value of all a company's shares of stock.
All values are calculated based on daily bars, no matter what time frame you are currently viewing. Doesn't work for time frames >1D, which is why the table is not shown on weekly/monthly charts.
Credit to MikeC / TheScrutiniser and GlinckEastwoot for ADR% formula, and ArmerSchlucker for the original script which includes LoD Dist . instead of Market Cap.
ATR alerts & backtestingThe Basics
Alert will trigger if the current (real time) price surpasses the high of the ATR of the previous bar. (can also be set for the Low of the ATR). Each time the follow up candle surpasses the high of the previous ATR, the background will be coloured orange. This makes back testing easier on the eye. This can be turned off.
- Colours can be changed.
- Can also set a color and alert when the current price surpasses the Low of the ATR of the previous bar.
- ATR distance can be changed.
- Can be used on different chart types.
- Can be used as entry or exits in combination with bots.
- Can display only ATR top or bottom or both.
Example
An alert will trigger if the price of the current bar surpasses the red dot (ATR) of the previous bar.
Alerts can be created on all timeframes, if this is within your Tradingview plan.
Final Words
Disclaimer: Please use it with care and at own risk. The owner of this indicator is not liable for any financial losses.
Past performance is no guarantee of future returns.
Rets High/Low (2.0 Special Uncensored Edition)This script can be used as a visual aid in seeing the last highs and lows of price in a specific time period. It automatically updates the plots if new highs or lows are made within the given lookback period.
This is a fairly basic version currently, with new added features coming in future updates such as range between high/low and half and whole number detection.
Spinn ATR targetNot quite the usual approach to plotting targets on the chart, where the price will come with a given probability.
The indicator draws targets by studying the ATR of the target timeframe. More precisely, this is not exactly an ATR - the price move is taken from the closing price of the previous bar and is calculated both up and down separately.
The settings specify the percentage used to calculate the price move, at which the specified percentage of bars reached this price move in the past.
Simply put, if we set 50% in the settings, this means that a line will be drawn at the level at which the price reached this level in 50% of cases over a given period.
--
Не совсем обычный подход к построению целей на графике, куда цена придет с заданной вероятностью.
Индикатор рисует цели, изучая ATR целевого таймфрейма. Точнее, это не совсем ATR - ход цены берется от цены закрытия предыдущего бара и считается отдельно как вверх, так и вниз.
В настройках задается процент, исходя из которого вычисляется ход цены, при котором заданный процент баров достигал этого хода цены ранее.
Проще говоря, если мы задаем в настройках 50%, то это означает, что будет построена линия на том уровне, на котором цена в 50% случаев за заданный период достигала этого уровня.
Fake breakHi Traders,
I've developed an indicator which can detect fake-breaks on the chart.
In the following you'll find the definition of the fake break candles and also you will find how to recognize it on the chart with practical examples.
What is the fake break pattern?
Sometimes support and resistance lines broke with a full body and strong candles that gives us the idea of sharp movements on the chart but suddenly the next candle returns all the path of the previous candle. in this case we can say fake break is happening on the chart.
This indicator detect fake break patterns based on two criteria:
1. It uses AverageTrueRange indicator to measure the strength of the pattern.
2. The returning candle should engulf minimum 75% of the break candle.
This indicator plot 2 terms in the name of "FB-D" and "FB-U" that are abbreviations of the "Fake Break Down" and "Fake Break Up".
You can also set alerts to get notified when fake breakout happens on the chart.
Notice: This pattern is only acceptable in valid support and resistance zones and you can not rely on it everywhere on the chart (specially in the middle of the waves).
Notice: The source code of this indicator is open and you are allowed to use it on your scripts by mentioning the name of author.
Disclaimer: This is not a financial advice or any signal to buy or sell, the goal of developing such an indicator is to use for educational purposes.
Spinn ATR tableThe table contains summary data on the ATR from different timeframes and for different periods. You can view both absolute values and the percentage of the average price move to the current price.
This data can be used to compare the ATR on different timeframes. And, most importantly, you can compare the ATR of different coins.
In addition, the last column shows the average deviation of the ATR for each of the timeframes. You can compare these values on different coins to determine which ones are more volatile .
Note.
Using the indicator on different timeframes may give slightly different values due to the difference in the stored data for these timeframes.
--
В таблице собраны сводные данные по ATR с разных таймфреймов и за разные периоды. Можно просматривать как абсолютные значения, так и процентное соотношение среднего хода цены к текущей цене.
Эти данные можно использовать, чтобы сравнить ATR на разных таймфреймах. И, самое главное, можно сравнивать ATR разных монет.
Кроме того, в последней колонке указано среднее отклонение ATR по каждому из таймфреймов. Можно сравнивать эти значения на разных монетах, чтобы определить - какие из них более волатильны .
Примечание.
Использование индикатора на разных таймфреймах может давать слегка разные значения из-за разницы в хранимых данных для этих таймфреймов.
ATR LevelsATR Levels
The indicator plots levels based on the ATR indicator
Initial data required for the indicator:
- Open price
- ATR
Levels are calculated as follows:
1. Open price +100% ATR
2. Open price +50% ATR
3. Open price
4. Open price -50% ATR
5. Open price -100% ATR
For visual convenience:
The area between levels 1-2 and 4-5 is filled with red
Zone between levels 2-4 - filled with green
Уровни среднего истинного диапазона
Индикатор строит уровни, основанные на индикаторе ATR (Средний истинный диапазон)
Исходные данные, необходимы для индикатора:
- Цена открытия
- ATR (Средний истинный диапазон)
Уровни рассчитываются следующим образом:
1. Цена открытия +100% ATR
2. Цена открытия +50% ATR
3. Цена открытия
4. Цена открытия -50% ATR
5. Цена открытия -100% ATR
Для удобства визуального восприятия:
Зона между уровнями 1-2 и 4-5 заполнена красным цветом
Зона между уровнями 2-4 - заполнена зеленым цветом
Percentage Average True RangeCalculates the percentage movement of an instrument per day.
Default is 1 period ATR (ATR(1)) but this can be changed in the settings.
Maths - (ATR (1)/closing price)*100
Above is the ATR (1)
Below is the %ATR(1)
5-8-13 EMAs Strategy (Andrew's Trading Channel)============
ENGLISH
============
- Description:
This strategy was designed by "Andrew's Trading Channel" (credits to him for the base strategy).
A lot of improvements have been added to the strategy, more conditions, trailing stop, custom stop loss and take profit, everything explained below.
- CONDITIONS FOR ENTERING A LONG:
EMA 5 crossovers EMA 8.
- EXIT LONG:
EMA 8 crossovers EMA 8 and closing price goes below EMA 13.
- CONDITIONS FOR ENTERING SHORT:
EMA 8 crossovers EMA 5.
- EXIT SHORT:
EMA 5 crossovers EMA 8 and closing price goes above EMA 13.
- Visual:
All EMAs are visible (5, 8 and 13 periods) with different and customizable colors/width.
Position start price, take profit, stop loss and trailing stop (if present) are shown automatically.
Background color shows green when LONG conditions are met (and of course, position is opened on the next candle), same for SHORT but red.
- Usage and recommendations:
As this is a coded strategy, you don't even have to check for indicators, just open and close trades as the strategy shows.
There're various customizable settings like optional take profit/stop loss, trailing stop (both based on ATR or any of the EMAs), open only LONGs/SHORTs or both, date range...
Take profit and stop loss ATR default values have been tested for scalping on 5 min charts, however feel free to check strategy results and increase the winning rate/profit for your favorite asset.
- Customization:
As usual I like to make as many aspects of my indicators/strategies customizable, indicators, colors etc., feel free to ask if you feel that something that should be configurable is missing or if you have any ideas to optimize the strategy.
============
ESPAÑOL
============
- Descripción:
Esta estrategia fue diseñada por "Andrew's Trading Channel" (créditos a él por la estrategia base).
Se han añadido muchas mejoras a la estrategia, más condiciones, trailing stop, stop loss y take profit personalizados, todo explicado a continuación.
- CONDICIONES PARA ENTRAR EN LONG:
Cruce de EMA 5 con EMA 8 ascendente.
- SALIR DE LONG:
Cruce de EMA 8 con EMA 5 ascendente y el precio de cierre se sitúa por debajo de la EMA 13.
- CONDICIONES PARA ENTRAR EN SHORT:
Cruce de EMA 8 con EMA 5 ascendente.
- SALIR DE SHORT:
Cruce de EMA 5 con EMA 8 ascendente y el precio de cierre se sitúa por encima de la EMA 13.
- Visual:
Todas las EMAs son visibles (5, 8 y 13 períodos) con colores/anchos y personalizables.
El precio de inicio de la posición, el take profit, el stop loss y el trailing stop (si están presentes) se muestran automáticamente.
El color de fondo es verde cuando se cumplen las condiciones de LONG (y por supuesto, la posición se abre en la siguiente vela), lo mismo para SHORT pero en rojo.
- Uso y recomendaciones:
Como esta es una estrategia programada, ni siquiera tienes que comprobar los indicadores, sólo abrir y cerrar las operaciones como te muestra la estrategia.
Hay varios ajustes personalizables como el take profit/stop loss opcional, el trailing stop (ambos basados en el ATR o en cualquiera de las EMAs), abrir sólo LONGs/SHORTs o ambos, rango de fechas...
Los valores por defecto del take profit y el stop loss ATR han sido probados para scalping en gráficos de 5 minutos, sin embargo, siéntase libre de comprobar los resultados de la estrategia y aumentar la tasa de ganancia / beneficio para su activo favorito.
- Personalización:
Como siempre me gusta hacer personalizables todos los aspectos de mis indicadores/estrategias, indicadores, colores, etc., siéntase libre de preguntar si cree que falta algo que debería ser configurable o si tiene alguna idea para optimizar la estrategia.
Average True Range MultipliedModified version of an Average True Range indicator. You could adjust the multiplication of the ATR value on the settings. I personally use this indicator for a turtle trading strategy so I don't have to use calcuator to manually multiply the ATR value by two.
Aspen Trading S/R Levels v2In Trading, Objectivity Trumps Subjectivity
“Every trader is a steaming hot bowl of bias stew and must maintain self-awareness and lucidity behind the screens as the trading day oscillates between boredom and terror.”
The above quote is from a good friend of mine and veteran FX trader Brent Donnelly. It completely nails the biggest challenge for new and even experienced traders: being as objective as possible when making trading decisions.
Yes, as you become more experienced, subjectivity, market feel and experience are part of one’s decision-making matrix, but early on you do not have that luxury.
If you start each day knowing that price action in the market is random it will remind you to think objectively. There are, however, repeatable patterns that occur again and again…..it’s your job to identify them.
That’s where Support & Resistance levels come in.
Definitions: “Support” and “Resistance” Levels
Many technical indicators and tools can be subjective and challenging to learn. This is not the case with support and resistance levels.
Support and resistance are terms for two price levels on a chart that appear to limit the security’s range of movement.
The “support level” is where the price regularly stops falling and bounces up.
The “resistance level” is where the price normally stops rising and dips back down.
The more frequently a price hits either level, the more reliable that level is likely to be in predicting future price movements.
Understanding Support and Resistance Levels
Remember, the more informed and objective we can be with numbers, the more confident we can be with our trades. That’s important because, although price action is random (a fact that has been proven time and time again), there are repeatable patterns we can use to get an edge.
Two of those objective data points we can use to gain an edge are support and resistance levels. These are two of the best tools we have when it comes to swing trading. Why? Because they give us strong data points that suggest where an instrument is likely (and unlikely) to go.
But this is really key: Arbitrarily cataloging each price level that appears to be relevant as a support or resistance level isn’t going to get you far. That’s why Aspen Trading takes a unique approach to support and resistance levels.
With Aspen’s Support & Resistance Levels, we measure where trades (prices) occur in terms of frequency. This gives us a sense of where market participants are wagering prices may go.
That’s about as raw and unfiltered as you can get in terms of displaying what has taken place. There’s no room for interpretation - this is raw data that can be used to get a sense of where prices may be heading.
Learning The “Four Sets” of Support and Resistance Levels
There are four sets of support and resistance levels that are part of Aspen Trading’s S/R framework.
Each set of support and resistance levels is unique to a specified period of time. We display each of them in different colors on our charts when we analyze trades to make it easy for us to understand the data as we get comfortable reading charts.
You’ll see each of these levels on display in the charts that follow below. The four sets of support and resistance levels are classified as follows:
There are four sets of support and resistance levels that are displayed by Aspen Trading’s S/R Analysis Tool. Each one is unique to a specified period of time that we then display directly on the chart. The levels are classified as follows
GREEN: displays 2 dotted lines (upper/lower)
ORANGE: displays 2 dotted lines (upper/lower)
RED: displays 2 dotted lines (upper/lower)
PURPLE: displays 2 dotted lines (upper/lower)
IMPORTANT:
What’s the distinction between the 4 color levels?
Essentially think of these levels on a rising scale of importance. While GREEN levels are certainly key, they do not hold the same level of significance as the PURPLE levels.
To get access to Aspen's S/R Levels - simply purchase an annual license for $595 at the link below. Once the transaction is complete, we will email you asking you for your TradingView username and get you permisisoned within 12-hours.
Adaptive ATR Keltner Channels [Loxx]Adaptive ATR Channels are adaptive Keltner channels. ATR is calculated using a rolling signal-to-noise ratio making this indicator flex more to changes in price volatility than the fixed Keltner Channels.
What is Average True Range (ATR)?
The average true range (ATR) is a technical analysis indicator, introduced by market technician J. Welles Wilder Jr. in his book New Concepts in Technical Trading Systems, that measures market volatility by decomposing the entire range of an asset price for that period.1
The true range is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The ATR is then a moving average, generally using 14 days, of the true ranges.
What are Keltner Channel (ATR)?
Keltner Channels are volatility-based bands that are placed on either side of an asset's price and can aid in determining the direction of a trend.
The Keltner channel uses the average-true range (ATR) or volatility, with breaks above or below the top and bottom barriers signaling a continuation.
ATR Adaptive EMA [Loxx]ATR adaptive EMA is an exponential moving average with dynamic ATR-adjusted length inputs.
What is Average True Range (ATR)?
The average true range (ATR) is a technical analysis indicator, introduced by market technician J. Welles Wilder Jr. in his book New Concepts in Technical Trading Systems, that measures market volatility by decomposing the entire range of an asset price for that period.1
The true range is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The ATR is then a moving average, generally using 14 days, of the true ranges.
Price Abnormality IndicatorIt shows abnormalities in the price. It calculates using ATR value by using the current price. The default value is the last 7 bars, but you can change it. It takes values between 0-100. High value shows that the price is too much volatile.
ATR GainThis indicator shows the amount, in terms of a percentage, that the ATR is currently above or below the current ATR average.
This can be translated to the amount of volatility in the market compared to the current "standard" volatility.
See also "Average True Range" technical indicator
Auto Adjust SuperTrend Indicator SuperTrend
It is a standard ATR (Average True Range)-based Trailing Indicator. The indicator takes two default values ATR Period and Factor. The standard settings for Super Trend I have seen are 10,3 or 10,2. These settings will not work for all the instruments, and we end up manually changing these settings. This is where Auto-Adjust Supertrend adds value. Auto-Adjust SuperTrend finds the optimized settings for ATRPeriod and Multiple using a defined algorithm to check all the different ATR Periods and Factors. It backtests different combinations of ATR Period and Factors and Indicator switches to these profitable settings as soon as it detects most profitable setting among given range in the settings.
Default ATR Period : 10 to 20
Default Factor : 2 to 5
The above settings can be altered in the indicator settings. Please do keep in mind that the performance of the indicator reduces as we increase the default settings range.
Alerts are available as well
Pls contact me for access.
Customizable Non-Repainting HTF MACD MFI Scalper Bot Strategy v2Customizable Non-Repainting HTF MACD MFI Scalper Bot Strategy v2
This script was originally shared by Wunderbit as a free open source script for the community to work with. This is my second published iteration of this idea.
WHAT THIS SCRIPT DOES:
It is intended for use on an algorithmic bot trading platform but can be used for scalping and manual trading.
This strategy is based on the trend-following momentum indicator . It includes the Money Flow index as an additional point for entry.
This is a new and improved version geared for lower timeframes (15-5 minutes), but can be run on larger ones as well. I am testing it live as my high frequency trader.
HOW IT DOES IT:
It uses a combination of MACD and MFI indicators to create entry signals. Parameters for each indicator have been surfaced for user configurability.
Take profits are now trailing profits, and the stop loss is now fixed. Why? I found that the trailing stop loss with ATR in the previous version yields very good results for back tests but becomes very difficult to deploy live due to transaction fees. As you can see the average trade is a higher profit percentage than the previous version.
HOW IS MY VERSION ORIGINAL:
Now instead of using ATR stop loss, we have a fixed stop loss - counter intuitively to what some may believe this performs better in live trading scenarios since it gives the strategy room to move. I noticed that the ATR trailing stop was stopping out too fast and was eating away balance due to transaction fees.
The take profit on the other hand is now a trailing profit with a customizable deviation. This ensures that you can have a minimum profit you want to take in order to exit.
I have depracated the old ATR trailing stop as it became too confusing to have those as different options. I kept the old version for others that want to experiment with it. The source code still requires some cleanup, but its fully functional.
I added in a way to show RSI values and ATR values with a checkbox so that you can use the new an improved ATR Filter (and grab the right RSI values for the RSI filter). This will help to filter out times of very low volatility where we are unlikely to find a profitable trade. Use the "Show Data" checkbox to see what the values are on the indicator pane, then use those values to gauge what you want to filter out.
Both versions
Delayed Signals : The script has been refactored to use a time frame drop down. The higher time frame can be run on a faster chart (recommended on one minute chart for fastest signal confirmation and relay to algotrading platform.)
Repainting Issues : All indicators have been recoded to use the security function that checks to see if the current calculation is in realtime, if it is, then it uses the previous bar for calculation. If you are still experiencing repainting issues based on intended (or non intended use), please provide a report with screenshot and explanation so I can try to address.
Filtering : I have added to additional filters an ABOVE EMA Filter and a BELOW RSI Filter (both can be turned on and off)
Customizable Long and Close Messages : This allows someone to use the script for algorithmic trading without having to alter code. It also means you can use one indicator for all of your different alterts required for your bots.
HOW TO USE IT:
It is intended to be used in the 5-30 minute time frames, but you might be able to get a good configuration for higher time frames. I welcome feedback from other users on what they have found.
Find a pair with high volatility (example KUCOIN:ETH3LUSDT ) - I have found it works particularly well with 3L and 3S tokens for crypto. although it the limitation is that confrigurations I have found to work typically have low R/R ratio, but very high win rate and profit factor.
Ideally set one minute chart for bots, but you can use other charts for manual trading. The signal will be delayed by one bar but I have found configurations that still test well.
Select a time frame in configuration for your indicator calculations.
Select the strategy config for time frame (resolution). I like to use 5 and 15 minutes for scalping scenarios, but I am interested in hearing back from other community memebers.
Optimize your indicator without filters : customize your settings for MACD and MFI that are profitable with your chart and selected time frame calculation. Try different Take Profits (try about 2-5%) and stop loss (try about 5-8%). See if your back test is profitable and continue to optimize.
Use the Trend, RSI, ATR Filter to further refine your signals for entry. You will get less entries but you can increase your win ratio.
You can use the open and close messages for a platform integration, but I choose to set mine up on the destination platform and let the platform close it. With certain platforms you cannot be sure what your entry point actually was compared to Trading View due to slippage and timing, so I let the platform decide when it is actually profitable.
Limitations: this works rather well for short term, and does some good forward testing but back testing large data sets is a problem when switching from very small time frame to large time frame. For instance, finding a configuration that works on a one minute chart but then changing to a 1 hour chart means you lose some of your intra bar calclulations. There are some new features in pine script which might be able to address, this, but I have not had a chance to work on that issue.
Customizable Non-Repainting HTF MACD MFI Scalper Bot StrategyThis script was originally shared by Wunderbit as a free open source script for the community to work with.
WHAT THIS SCRIPT DOES:
It is intended for use on an algorithmic bot trading platform but can be used for scalping and manual trading.
This strategy is based on the trend-following momentum indicator . It includes the Money Flow index as an additional point for entry.
HOW IT DOES IT:
It uses a combination of MACD and MFI indicators to create entry signals. Parameters for each indicator have been surfaced for user configurability.
Take profits are fixed, but stop loss uses ATR configuration to minimize losses and close profitably.
HOW IS MY VERSION ORIGINAL:
I started trying to deploy this script myself in my algorithmic trading but ran into some issues which I have tried to address in this version.
Delayed Signals : The script has been refactored to use a time frame drop down. The higher time frame can be run on a faster chart (recommended on one minute chart for fastest signal confirmation and relay to algotrading platform.)
Repainting Issues : All indicators have been recoded to use the security function that checks to see if the current calculation is in realtime, if it is, then it uses the previous bar for calculation. If you are still experiencing repainting issues based on intended (or non intended use), please provide a report with screenshot and explanation so I can try to address.
Filtering : I have added to additional filters an ABOVE EMA Filter and a BELOW RSI Filter (both can be turned on and off)
Customizable Long and Close Messages : This allows someone to use the script for algorithmic trading without having to alter code. It also means you can use one indicator for all of your different alterts required for your bots.
HOW TO USE IT:
It is intended to be used in the 5-30 minute time frames, but you might be able to get a good configuration for higher time frames. I welcome feedback from other users on what they have found.
Find a pair with high volatility (example KUCOIN:ETH3LUSDT ) - I have found it works particularly well with 3L and 3S tokens for crypto. although it the limitation is that confrigurations I have found to work typically have low R/R ratio, but very high win rate and profit factor.
Ideally set one minute chart for bots, but you can use other charts for manual trading. The signal will be delayed by one bar but I have found configurations that still test well.
Select a time frame in configuration for your indicator calculations.
Select the strategy config for time frame. I like to use 5 and 15 minutes for scalping scenarios, but I am interested in hearing back from other community memebers.
Optimize your indicator without filters (trendFilter and RSI Filter)
Use the TrendFilter and RSI Filter to further refine your signals for entry. You will get less entries but you can increase your win ratio.
I will add screenshots and possibly a video provided that it passes community standards.
Limitations: this works rather well for short term, and does some good forward testing but back testing large data sets is a problem when switching from very small time frame to large time frame. For instance, finding a configuration that works on a one minute chart but then changing to a 1 hour chart means you lose some of your intra bar calclulations. There are some new features in pine script which might be able to address, this, but I have not had a chance to work on that issue.
Bollinger Bands + Keltner Channel Refurbished█ Goals
This is an indicator that brings together Bollinger Bands and Keltner's Channels in one thing.
Both are very similar, so I decided to make a merge of the best features I found out there.
Here there is the possibility of choosing one of these two as needed.
In addition, I added the following resources:
1. Pre-Defined intermediate bands with Fibonacci values;
2. Detachment of the bands in which the price was present;
3. Choice of Moving Average:
"Simple", "Exponential", "Regularized Exponential", "Hull", "Arnaud Legoux", "Weighted Moving Average", "Least Squares Moving Average (Linear Regression)", "Volume Weighted Moving Average", "Smoothed Moving Average", "Median", "VWAP");
4. Statistics: bars count within the bands.
█ Concepts
Keltner Channels vs. Bollinger Bands
"These two indicators are quite similar.
Keltner Channels use ATR to calculate the upper and lower bands while Bollinger Bands use standard deviation instead.
The interpretation of the indicators is similar, although since the calculations are different the two indicators may provide slightly different information or trade signals."
(Investopedia)
Bollinger Bands (BB)
"Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger in the early 1980’s.
Bollinger Bands consist of a band of three lines which are plotted in relation to security prices.
The line in the middle is usually a Simple Moving Average (SMA) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular).
The SMA then serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price.
Typically the Upper and Lower Bands are set to two standard deviations away from the SMA (The Middle Line); however the number of standard deviations can also be adjusted by the trader."
(TradingView)
Keltner Channels (KC)
"The Keltner Channels (KC) indicator is a banded indicator similar to Bollinger Bands and Moving Average Envelopes.
They consist of an Upper Envelope above a Middle Line as well as a Lower Envelope below the Middle Line.
The Middle Line is a moving average of price over a user-defined time period.
Either a simple moving average or an exponential moving average are typically used. The Upper and Lower Envelopes (user defined) are set a range away from the Middle Line.
This can be a multiple of the daily high/low range, or more commonly a multiple of the Average True Range."
(TradingView)
█ Examples
Bollinger Bands with 200 REMA:
Keltner Channel with 200 REMA:
Bollinger Bands with 55 ALMA:
Keltner Channel with 55 ALMA:
Bollinger Bands with 55 Least Squares Moving Average:
█ Thanks
- TradingView (BB, KC, ATR, MA's)
- everget (Regularized Exponential Moving Average)
- TimeFliesBuy ("Triple Bollinger Bands")
- Rashad ("Fibonacci Bollinger Bands")
- Dicargo_Beam ("Is the Bollinger Bands assumption wrong?")