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?")
Bollinger_bands
Trending Bollinger Bands by SiddWolfBollinger Bands are mostly used for trend reversal. I believe they should be used for Trend Continuation and Trend Confirmation.
In this Trending Bollinger Bands script you will see two bands drawn on chart. The Upper band is suggestive of Uptrend and Lower Band is suggestive of Downtrend Market. It just provides the guidance of where the market is now and where it is headed. It is not to be used as a standalone indicator. Use this to confirm your hypothesis of Uptrend or Downtrend.
Bollinger Bands Trend
When the price crosses the moving average it is interpreted as the price is gonna continue in that direction. But most of the time it is a fake breakout. With this script you get an additional confirmation so that you know it is not a fake breakout and the price have caught the trend.
Bollinger Bands Reversal:
This indicator can also work for reversal. For example when price closes outside the outer bands, it is most likely that the trend is gonna reverse. Don't just enter the trade wait for some other confirmation as reversal trading is more complicated.
Confluence:
Confluence is the key factor for profitable trading. Don't use this indicator as standalone indicator instead combine it with other indicators and price action. Like the divergence occurring when the price is outside the bands is suggestive of trend reversal. I have created a non-delay, non-repaint indicator for finding divergence. I'd soon publish that script. Stay tuned.
Settings is the Key:
Try to play around with the settings. It is a simple yet effective indicator. Change the moving average type or length. I've found moving average RMA or WMA works better than SMA. Find the best setting that works with your setup. Set the Band Source as High/Low to make the outer bands more extreme.
Conclusion:
This is my first script but it isn't my last. I've created quite a few gems that I'm gonna publish soon. If you have any questions or suggestions feel free to comment below. I'd love to connect with you. Thank you.
Compare Crypto Bollinger Bands//This is not financial advice, I am not a financial advisor.
//What are volatility tokens?
//Volatility tokens are ERC-20 tokens that aim to track the implied volatility of crypto markets.
//Volatility tokens get their exposure to an asset’s implied volatility using FTX MOVE contracts.
//There are currently two volatility tokens: BVOL and IBVOL.
//BVOL targets tracking the daily returns of being 1x long the implied volatility of BTC
//IBVOL targets tracking the daily returns of being 1x short the implied volatility of BTC.
/////////////////////////////////////////////////////////////////
CAN USE ON ANY CRYPTO CHART AS BINANCE:BTCUSD is still the most dominant crypto, positive volatility for BTC is positive for all.
/////////////////////////////////////////////////////////////////
//The Code.
//The blue line (ChartLine) is the current chart plotted on in Bollinger
//The red line (BVOLLine) plots the implied volatility of BTC
//The green line (IBVOLLine) plot the inverse implied volatility of BTC
//The orange line (TOTALLine) plots how well the crypto market is performing on the Bolling scale. The higher the number the better.
//There are 2 horizontal lines, 0.40 at the bottom & 0.60 at the top
/////////To Buy
//1. The blue line (ChartLine) must be higher than the green line (IBVOLLine)
//2. The green line (IBVOLLine) must be higher than the red line (BVOLLine)
//3. The red line (BVOLLine) must be less than 0.40 // This also acts as a trendsetter
//4. The orange line (TOTALLine) MUST be greater than the red line. This means that the crypto market is positive.
//5.IF THE BLUE LINE (ChartLine) IS GREATER THAN THE ORANGE LINE (TOTALLine) IT MEANS YOUR CRYPTO IS OUTPERFOMING THE MARKET {good for short term explosive bars}
//6. If the orange line (TOTALLine) is higher than your current chart, say BTCUSD. And BTC is going up to. It just means BTC is going up slowly. it's fine as long as they are moving in the same position.
//5. I use this on the 4hr, 1D, 1W timeframes
///////To Exit
//1.If the blue line (ChartLine) crosses under the green line (IBVOLLine) exit{ works best on 4hr,1D, 1W to avoid fakes}
//2.If the red line crosses over the green line when long. {close positions, or watch positions} It means negative volatility is wining
(JS) VWAP BandsThis is a pretty simple script here - I took the VWAP and combined it with Bollinger Bands.
The bands can vary a lot based on chart resolution, so I wanted to make sure the resolution could be modified so you can use the resolution you're most comfortable with, or find the most success with.
Length:
Length of bars used to calculate the bands.
Standard Deviation Band 1-3:
There's three bands all together, this option allows you to modify the number of standard deviations per band.
VWAP Period:
This modifies when you want the VWAP to begin (Session, Week, Month, Year).
Offset:
This moves the VWAP and the bands the amount of bars you select, default is of course set to zero.
Source:
This selects the source of calculation, HLC/3 is the default VWAP calculation.
This is a pretty self explanatory script, I thought being able to see the standard deviations of the VWAP could prove to be useful - hope you all like it!
[blackcat] L2 Center Band BollingerLevel: 2
Background
Bollinger bands are a type of price envelope developed by John Bollinger , where price envelopes define upper and lower price ranges. Bollinger Bands are envelopes that are represented with a standard deviation above and below a simple moving average of price. Because the spacing of the bands is based on the standard deviation, they adjust for fluctuations in the volatility of the underlying price.
Function
L2 Center Band Bollinger takes advantage of Bollinger band to detect sideways and trends. At the same time, I made an improvement and the center Bollinger line as a fast-slow-line color band. The algorithm of the color center band is composed of price and volume information, which produces gold cross and dead cross for short term long and short entries.
Key Signal
aa10 --> bollinger middle fast line
aa12 --> bollinger middle slow line
up --> upper envelope
dn --> lower envelope
Pros and Cons
Pros:
1. it can easy see the sections of trends or sideways by width of Bollinger band
2. long and short entries are disclosed
Cons:
1. Some noise is still incorporated in trends
2. due to this is un-optimized version, time frame and trading pairs need to be selected
3. Bollinger re-entry signal is not disclosed yet
Remarks
The long and short signal is compatible to @nilux strategy backtest framework for sandardized backtest scheme: Backtest
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Bollinger Bands of RSIwith this script you can follow ema8 of RSI and also SMA20 of RSI with ∓ 2 standart deviation