Bollinger Bands with Ema and Two DeviationBollinger Bands with Ema calculation. Based on high and low valus of candle. Also can be used two deviation for both upper and lower bands.
Bollinger Bands (BB)
K's Volatility BandsVolatility bands come in all shapes and forms contrary to what is believed. Bollinger bands remain the principal indicator in the volatility bands family. K's Volatility bands is an attempt at optimizing the original bands. Below is the method of calculation:
* We must first start by calculating a rolling measure based on the average between the highest high and the lowest low in the last specified lookback window. This will give us a type of moving average that tracks the market price. The specificity here is that when the market does not make higher highs nor lower lows, the line will be flat. A flat line can also be thought of as a magnet of the price as the ranging property could hint to a further sideways movement.
* The K’s volatility bands assume the worst with volatility and thus will take the maximum volatility for a given lookback period. Unlike the Bollinger bands which will take the latest volatility calculation every single step of time, K’s volatility bands will suppose that we must be protected by the maximum of volatility for that period which will give us from time to time stable support and resistance levels.
Therefore, the difference between the Bollinger bands and K's volatility bands are as follows:
* Bollinger Bands' formula calculates a simple moving average on the closing prices while K's volatility bands' formula calculates the average of the highest highs and the lowest lows.
* Bollinger Bands' formula calculates a simple standard deviation on the closing prices while K's volatility bands' formula calculates the highest standard deviation for the lookback period.
Applying the bands is similar to applying any other volatility bands. We can list the typical strategies below:
* The range play strategy : This is the usual reversal strategy where we buy whenever the price hits the lower band and sell short whenever it hits the upper band.
* The band re-entry strategy : This strategy awaits the confirmation that the price has recognized the band and has shaped a reaction around it and has reintegrated the whole envelope. It may be slightly lagging in nature but it may filter out bad trades.
* Following the trend strategy : This is a controversial strategy that is the opposite of the first one. It assumes that whenever the upper band is surpassed, a buy signal is generated and whenever the lower band is broken, a sell signal is generated.
* Combination with other indicators : The bands can be combined with other technical indicators such as the RSI in order to have more confirmation. This is however no guarantee that the signals will improve in quality.
* Specific strategy on K’s volatility bands : This one is similar to the first range play strategy but it adds the extra filter where the trade has a higher conviction if the median line is flat. The reason for this is that a flat line means that no higher highs nor lower lows have been made and therefore, we may be in a sideways market which is a fertile ground for mean-reversion strategies.
Swing Assassin's Consolidated ScriptI put this script together to essentially consolidate a number of scripts that I use on a daily basis into one script. This is an ongoing improvement effort, so there may be some garbage in here right now so keep that in mind if you intend to use this to help in your trading.
There are 5 moving averages (Hull). I use the Fast, Mid and Slow to find entries after I us the Medium Slow and Super Slow to identify a trend. Otherwise, I have those three turned off.
This script also uses Bollinger Bands which I literally cannot trade without.
The script also has anchored VWAP , automated support/resistance lines, and a homebrewed Volume Profile that is a copy from Ildar Akhmetgaleev's indicator "Poor Man's Volume Profile" used under Mozilla Public License Version 2.0.
Pluto Star - Bollinger Band Trap//DESCRIPTION
//Pluto star appears on a chart when price goes in the in the extreme price range territory, i.e. beyond 2 standard deviation from the mean (or mid Bollinger Band).
//What makes a Pluto Star appear on a chart:
//1. Check if the candle 's' high and low, both are completely outside of the Bollinger Bands (close, 20, 2) - Lets call it Pluto Star Candle
//2. Pluto Star Candle must not be a result of sudden price movement. Hence the previous candle must give a BB Blast.
// In other words, the candle must have it's either open or close outside of Bollinger Bands, to confirm a BB Blast before the Pluto Star
//3. Candle, following the Pluto Star must not break the high (in case of upper BB i.e. short call) or low (in case of lower BB, i.e. long call), to confirm the reversal to the mean
// This implies that Pluto Star appears on chart, above/below the next candle of actual Pluto Star Candle
//----- The above 3 conditions make a Pluto Star appear on a chart. But one must wait for a trade signal. Read the following conditions
//4. There is a signal line, which is nothing but ema(close,5)
//5. The red dotted line is the signal range (and also acts as Stop Loss). The price must close above/below the signal line within the signal range
//6. For a red Pluto Star (short call), the price must close below the signal line, within next 6 candles (signal range). Else there is no trigger for a trade
//7. For a green Pluto Star (long call), the price must close above the signal line, within next 6 candles (signal range). Else there is no trigger for a trade
//8. If any of the candle crosses the Stop Loss line within signal range, there is no trigger for a trade
//9. In a normal scenario, the price must return to the mean, i.e. mid Bollinger Band. In best case scenario, it must go to the opposite side Bollinger Band.
//Recommendation: Test it with Nifty and Bank Nifty charts on 30 mins and 1 hour timeframes
Pin Bar//Pin Bar at the edge of BB
//Conditions to check
// 1. It must be a Pin Bar
// 2. Price Above/Below 200 SMA
// 3. Volume must be above 20 SMA
// 4. Low/High of the Pin Bar must cut across the BB upper/lower band
// 5. The very next candle closes above/below the high/low of the pin bar candle
Recommended timeframe - Daily and Weekly
Bollinger Band Gradient (BBG)The Bollinger Band Gradient Indicator uses plenty of Bollinger Bands to create a gradient-looking indicator to help with layered entries . It is similar to a Ribbon but better. This indicator is best used with any volume-related indicator so you can recede from entering into any position with too much momentum to rebound off of any line. Note that this indicator is best used with another strategy like pair trading. It is not recommended to trade based on this indicator only . Please stay aware of any news about the stock you are trading because some events may have a big impact and force the market to go bullish/bearish by a lot. This indicator can be used with all chart types and works well with many other indicators. It allows for complete customization and offers easy-to-understand settings which can be designated to a certain individual. You can modify all settings for the BBs which allows for an even more personalized and adapted Indicator that reflects your trading/ investing needs. You also have the option to choose which type of MAs will be used to create the Bollinger Bands , a few of which include: SMA, EMA, WMA, HMA, RMA, DMA, LSMA, VAMA, TMA, MF.
Bollinger Bands are a way to measure and visualize volatility . As volatility increases, the wider the bands become, and the more they deviate from the basis. Likewise, when volatility decreases, the gap between the bands and basis decreases. Yet a big advantage for not only this but many other indicators is created due to the ample count of different settings that are widely used, it is difficult to view the market through the eyes of all types of investors/traders . This indicator manages to counter exactly this issue, you will be able to see all of these settings on one chart and at one time and enter/exit positions accordingly.
Using this indicator will allow you to visualize entry and exit points with ease and make order layering (buying/selling in layers) much more simple. You can choose a certain amount of Bollinger Bands you would like displayed and customize all technical and style-related settings related to the BBs .
A few of the technical settings you can change for the Bollinger Bands are:
Bollinger Band count (Select how many BBs you want to be displayed.)
MA type used to make the Bollinger Bands ( EMA, SMA, WMA, etc.)
Source (close, open, high, low.)
BB length separately (The length of each Bollinger Band, its lookback. How many previous candles should it be based on? Choose each Bollinger Band's lookback length.)
BB deviator separately(The standard Deviator applied for the BB for both the upper and lower line.)
A few of the style settings you can change for each Bollinger Band are:
Fill (the color used to fill from the upper to the lower band)
Fill opacity % (the opacity used when filling the upper line to the lower line)
This indicator is unique because it can be used for all strategies and all trading styles , for example, day trading or long-term investing, really anything if used correctly. The reason it can be used in so many instances is a result of the detailed and in-depth settings tab that allows for complete customization. This allows the indicator to be used and to be useful in various situations and allows you to dominate the market. Integrated alerts also enhance your efficiency while using this indicator because you can choose to be notified at the crossing of any of the Bollinger Bands.
The technical part of this indicator plots the selected amount of Bollinger Bands using custom-built specified Bollinger Bands accordingly. Then it uses the style settings and styles it as you selected.
Bollinger Band Layer Entry (BBLE) The Bollinger Band Layer Entry Indicator uses plenty of Bollinger Bands to create an onion-looking layered indicator to help with layered entries. It is similar to a Ribbon but better. This indicator is best used with any volume-related indicator so you can recede from entering into any position with too much momentum to rebound off of any line. Note that this indicator is best used with another strategy like pair trading. It is not recommended to trade based on this indicator only. Please stay aware of any news about the stock you are trading because some events may have a big impact and force the market to go bullish/bearish by a lot. This indicator can be used with all chart types and works well with many other indicators. It allows for complete customization and offers easy-to-understand settings which can be designated to a certain individual. You can modify every single factor of the BBs which allows for an even more personalized and adapted Indicator that reflects your trading/ investing needs. You also have the option to choose which type of MAs will be used to create the Bollinger Bands , a few of which include: EMA, SMA, WMA, HMA, RMA, DMA, LSMA, VAMA, TMA, MF.
Bollinger Bands are a way to measure and visualize volatility. As volatility increases, the wider the bands become, and the more they deviate from the basis. Vice versa, when volatility decreases, the gap between the bands and basis decreases. Yet a big advantage for not only this but many other indicators is created due to the ample count of different settings that are widely used, it is difficult to view the market through the eyes of all types of investors/traders. This indicator manages to counter exactly this issue, you will be able to see all of these settings on one chart and at one time and enter/exit positions accordingly.
Using this indicator will allow you to visualize entries with ease and make order layering (buying/selling in layers) much more simple. You can choose a certain amount of Bollinger Bands you would like displayed and customize all technical and style-related settings related to each of the BBs separately.
A few of the technical settings you can change for each Bollinger Band are:
Bollinger Band count (Select how many BBs you want to be displayed.)
MA type used to make the Bollinger Bands (EMA, SMA, WMA, etc.)
Source (close, open, high, low.)
BB length (The length of each Bollinger Band, its lookback. How many previous candles should it be based on? Choose each Bollinger Band's lookback length.)
BB deviator (The standard Deviator applied for the BB for both the upper and lower line.)
Offset
A few of the style settings you can change for each Bollinger Band are:
Upper, Lower, Basis line opacity % (separate for each)
Upper, Lower, Basis line color (separate for each)
Fill (the color used to fill from the upper to the lower band) (separate for each)
Fill opacity % (the opacity used when filling the upper line to the lower line) (separate for each)
This indicator is unique because it can be used for all strategies and all trading styles, for example, day trading or long-term investing, really anything if used correctly. The reason it can be used in so many instances is a result of the detailed and in-depth settings tab that allows complete customization of each separate Bollinger Band. This allows the indicator to be used and to be useful in various situations and allows you to dominate the market. Integrated alerts also enhance your efficiency while using this indicator because you can choose to be notified at the crossing of any of the Bollinger Bands.
The technical part of this indicator plots the selected amount of Bollinger Bands using custom-built specified Bollinger Bands accordingly. Then it uses the style settings and styles it as you selected.
IDEAL BB with MA (With Alerts)It gives well combination of Moving average and Bollinger bands with signals
RSI Rising Crypto Trending AlertAlert version of the strategy with the same name
This is crypto and stock market trending strategy designed for long timeframes such as 4h+
From my tests it looks like it works better to trade crypto against crypto than trading against fiat.
Indicators used:
RSI for rising/falling of the trend
BB sidemarket
ROC sidemarket
Rules for entry
For long: RSI values are rising, and bb and roc tells us we are not in a sidemarket
For long: RSI values are falling, and bb and roc tells us we are not in a sidemarket
Rules for exit
We exit when we receive an opposite direction.
Cuation: Because this strategy uses no risk management, I recommend you takje care with it.
If you have any questions, let me know !
Advanced RSIThis is what I call the advanced RSI. It employs Bollinger bands on the RSI itself, in order to better highlight extremes that are still within the typical 30-70 range on.
You'll notice some background highlights. These are simply to mark the extremes.
Orange marks your standard overbought, Red marks oversold.
Fuchsia marks an RSI outside the lower deviation on the Bollinger Bands. Green marks an RSI outside the upper deviation on the Bollinger bands.
Typically while in an uptrend, the RSI dropping below the lower deviation indicates an entry point (fuchsia). The same applies for a downtrend with the RSI rising above the upper deviation (green).
You can look at the overlap in colors as even stronger indications because on a more rare occasion you will have the RSI outside the upper/lower deviation as well as being outside the typical oversold/overbought levels.
Any feedback is welcome! I try to employ contrasting colors, but they may not make sense to you so change them as you please - they are simply markers.
BBW EMA RIBBON+BB%B+EMA BUY/SELL SignalsBINANCE:BTCUSDT
* * * TESTED ON BTCUSDT 4H CHART * * *
The indicator gives signals based on possible ENTRY/EXIT zones (calculated using an ema ribbon of the BBW) and BB%B oversold/overbought conditions, also a 200 EMA filter is used to trade following the major trend.
ENTRY/EXIT zones can be used as a confirmation on other strategies (green zones suggest a possible entry for a long in an uptrend and for a short in a downtrend, red zones suggest a possible exit for long & short)
Only LONG signals are given.
Signals are divided in 3 categories based on their strenght:
- Weak BUY/SELL (green/red circles on chart)
- normal BUY/SELL (green/red triangles with "BUY" or "SELL" text on chart)
- strong BUY/SELL (green/red labels with "STRONG BUY" or "STRONG SELL" text on chart)
You can use signals from the same category as triggers for entering or exiting a trade or you can try using signals from different categories
All indicators settings can be costumized
Possible EXTRY/EXIT zones can be turned ON/OFF
Every signal label can be turned ON/OFF
EMA that changes color based on last candle close can be turned ON/OFF
Alerts can be set for:
- General Signals (every signal will trigger it)
- Weak Signals (only weak signals will trigger it)
- Normal Signals (only normal signals will trigger it)
- Strong Signals (only strong signals will trigger it)
There are 3 BB%B Oversold & 3 BB%B Overbought value presets:
- BASIC (default values)
- LOW (slightly lower values from default)
- HIGH (slightly higher values from default)
Tips:
Use BB%B OS LOW preset to find entries at a better price
Use BB%B OS HIGH preset to find entries faster
Use BB%B OB LOW preset to find exits faster
Use BB%B OB HIGH preset to find exits at a better price
There are 3 Filters already included:
- A checkbox to toggle ON/OFF the use of Heikin Ashi candels to detect trades
- A checkbox to toggle ON/OFF the use of an ema filter for the ribbon that tries to reduce the number of false signals on over-extended price movements
- A checkbox to toggle ON/OFF the use of an ema filter that tries to reduce the number of false signals when price crosses the moving average many times consecutively
Logarithmic Bollinger BandsThe existing Bollinger Bands simply used price to derive the standard deviation.
In other words, whether an asset goes up or down by $50 from $100, it counts at the same "50$".
But in the asset market, an increase of $50 and a fall of $50 have different values.
To eliminate this difference using a logarithmic function, a new Bollinger Band was created.
Green is the original Bollinger Band.
As mentioned above, a sharp lower band is formed by calculating the rise and fall of an asset with the same value.
Blue is the Logarithmic Bollinger band.
Please make this indicator useful!
기존의 볼린저 밴드는 단순하게 가격을 이용해 표준편차를 도출해내었습니다.
즉 자산이 100$에서 50$이 오르든 내리든 같은 "50$"로 계산한 것입니다.
하지만 자산시장에서 50$이 오르는 것과 50$이 내리는 것은 다른 가치를 가집니다.
이 차이를 로그함수를 이용해 없애보고자 하였고, 새로운 볼린저밴드를 만들었습니다.
초록색이 기존의 볼린저밴드입니다.
위에서 말했듯이 자산의 오르내림을 같은 가치로 계산해서 급격한 아래 밴드가 형성됩니다.
파란색이 로그 볼린저밴드입니다.
이 지표를 유용하게 사용해주세요!
ViVen-Multi Time Frame Bollinger Band StrategyThis indicator created to identify the strong Support and Resistance levels based on the Bollinger Bands. When two different time frame Bollinger Bands are travelling together then its a strong Support or Resistance Levels.
I have added 5 Min, 15 Min, 30 Min, 1 Hr and 1 Day time frame Bollinger Bands in one Chart. You can select and combine whichever the TF you want.
Default values considered - Period - 20 and Std.Dev is 2
You can on/off the indicator based on the requirement.
Trade plan:
BUY - When price comes near to the Bottom Bollinger Band level (look for candle confirmation is plus). If multiple Bollinger bands travels together then is Strong Support. (Exit if Price Breaks down the BB)
SELL - When price reaches the Upper Bollinger Band level (look for candle confirmation is plus). If multiple Bollinger bands travels together then is Strong Support. (Exit if Price Breaks Up the BB)
Middle Line - is the 20 SMA line
When the Gap between Upper and Lower Band is narrow then we can expect a trending movement soon.
Bollinger bands and Keltner bands
█ OVERVIEW
This is a Bollinger band Script, with Keltner Channel Bands and for scalping.
█ CONCEPTS
1 — Bollinger Bands, The Bollinger band component is make out from two part, the standard component represented by a white cloud.
This is the 2nd deviation and 3rd deviation filled.
The second part linear weight
This is the 2nd deviation, and is filled from the 3rd deviation from the standard bands. This give the effect of cutting in and out to proved a support and resistance cloud.
2 — Keltner bands, this is the normal calculation, nothing special, by default this is off and can be turned back on in styles.
3 Deviations with ALMA as the Basis
3 — Non-traditional basis
Like with you can change the base moving average
but to a lesser extent.
option are:
sma = Simple Moving Average
ema = Exponential Moving Average
wma = Weighted Moving Average
vwma = Volume Weighted Moving Average
rma = Running Moving Average
alma = Arnaud Legoux Moving Average
hma = Hull Moving Average
█ OTHER SECTIONS
• LIMITATIONS: again this is base on moving average so there is a lag factor, the cloud do not work without volume so if the indicator can not pull volume data you are left with the standard bands.
• NOTE this is a trimmed version of still functions the same.
• THANKS: rumpypumpydumpy for the inspiration
BB+RSI+EMA BUY/SELL SignalsBINANCE:BTCUSDT
* * * TESTED ON BTCUSDT 4H CHART * * *
The indicator gives signals based on candles touching BB lines and RSI oversold/overbought conditions, also a 200 EMA filter is used to trade following the major trend.
Only LONG signals are given.
Signals are divided in 3 categories based on their strenght:
- Weak BUY/SELL (green/red circles on chart)
- normal BUY/SELL (green/red triangles with "BUY" or "SELL" text on chart)
- strong BUY/SELL (green/red labels with "STRONG BUY" or "STRONG SELL" text on chart)
You can use signals from the same category as triggers for entering or exiting a trade or you can try using signals from different categories
All indicators settings can be costumized
Every signal label can be turned ON/OFF
EMA that changes color based on last candle close can be turned ON/OFF
Alerts can be set for:
- General Signals (every signal will trigger it)
- Weak Signals (only weak signals will trigger it)
- Normal Signals (only normal signals will trigger it)
- Strong Signals (only strong signals will trigger it)
Zero-Lag MTF PSAR MACD with Bollinger Bands v1.0 [loxx]Zero-Lag MTF PSAR MACD with Bollinger Bands v1.0
This is an experimental indicator that captures PSAR movements on seven different timeframes in order to improve trend detection on the daily timeframe. The seven PSARs are averaged and then fed into a zero-lag MACD function where the average of the PSARs is the source for the slow moving average and the daily timeframe close is the sourse of the fast moving average.
Things to know:
- Dark Green Background: All seven PSAR waves are above the closes of the PSARs respective timeframes; i.e., macro trend up
- Dark Red Background: All seven PSAR waves are below the closes of the PSARs respective timeframes; i.e., macro trend down
- Histogram and bar coloration is based on the difference between close and the average of all seven PSARs
- Various color schemes included
- Indicator has neither been backtested nor tuned with a strategy backtest
How to use:
Reversal Longs and Shorts
- Bollinger Bands show movement outside of normal deviation around the zero line. Wait for MACD to reach the either side top or bottom of Bollinger Bands for reversal long and reversal short respectively
- Check that MACD has crossed over or under the Signal line; i.e., denoted with a green dot for cross up and red dot for cross down
- Check dark background colors to see where the PSAR waves are currently situated and whether PSAR wave direction has aligned on all time frames
Longs and Shorts
- Longs: Check when MACD is above the zero line and the Signal line crosses over the zero line
- Shorts: Check when MACD is below the zero line and the Signal line crosses below the zero line
Strong Confluence:
- Longs/Shorts: Whenever the MACD crosses up or crosses down over/under the Signal/Zero line while inside a candle with background highlighting
- Reversals: Whenever the MACD crosses up or crosses down over/under the Signal/Zero line while inside a candle with background highlighting and at the very top/bottom or outside the top/bottom of the Bollinger Bands
Comment below or send a PM with questions, comments, observations, or concerns.
Bollinger Bands Performance - TradingEDThis case study is based on a previous Bollinger Bands study, but with only one counts and a performance chart. The use of this indicator is restricted to private use and it can be used only by invitation. Different functionalities have been added to the original code, such as alerts and signals that seek to make trading much easier to interpret by any type of trading operator of any experience level , from beginner to intermediate and advanced .
Key components of the original indicator:
• The Bollinger Bands are a technical analysis tool developed by John Bollinger to generate signals of overbuying and overselling.
• There are three lines that compose Bollinger Bands: one Simple Moving Average (middle band) and an upper and lower band.
• The Upper and Lower Bands are typically used with 2 Standard Deviations +/- of a 20-day Simple Moving Average (or 20 candles) but can be modified.
The use of Bollinger Bands is based on the concept of mean price reversal, assuming that if the price deviates from the Moving Average it will eventually return to the mean price. As recognized by its creator: John Bollinger , "the touches of the bands are just that, touches, not signals".
So, a touch from the top is not in itself a sell signal and vice versa, a touch below should not be a buy signal either. A trader must look at the general direction of the price and then only take signals that align with the trend. For example, if the trend is down, you should only consider short positions when the lower band is indicated, and in case of an uptrend, take only long positions.
Another important point in the use of this indicator is that the bands will expand and contract as the Price Action becomes volatile (expansion) or is limited in its trading pattern (contraction). After a strong rise or fall in the trend, the market may consolidate, trading closely and crossing over and below the Moving Average until defining a new course, or continuing with the previous direction.
Main functions of this modified indicator:
1) You can select the type of MOVING AVERAGE , among many available options ( SMA , EMA , DEMA , HMA , etc.)
2) The SOURCE for the count can be determined by the trader (close, open, etc).
3) The MEASURE can be based on a CANDLES count if you are trading OHLC Charts from 1D onwards, or if your trading is intraday, you can also select counts by MINUTES , HOURS or DAYS , depending on your trading style.
4) LENGTH, by default it will be loaded as 20 but considering the previous point, you can modify it according to your convenience.
5) STANDARD DEVIATION , by default it will come loaded with 2 deviations, but you can modify it according to your convenience to operate.
6) You have the option to hide or show a LABEL at the top of the chart, with respect to the signals: bullish green, bearish red.
7) You have the option to hide or show SIGNALS based on the MOVING AVERAGE that you have previously chosen.
8) You have the option to hide or show SIGNALS based on the STANDARD DEVIATION that you have previously chosen.
Main functions to customize the style of this indicator:
a) You can select the colors for the UPPER BAND , MOVING AVERAGE and LOWER BAND depending on the trend, whether it is BEARISH or BULLISH, with the colors that best suit you. *
b) When you have a SHORT SIGNAL or a LONG SIGNAL, you can change the EMOTICON that comes by default. **
c) For any type of SIGNAL , it is painted as a VERTICAL LINE in the graph, you can change the color that comes by default. *
d) In the case of the LABELS that appear at the top, the text is not modifiable, but you can customize both the type of label and change the default color. *
e) You can select the colors for the BACKGROUND of the indicator according to the trend, whether it is BEARISH or BULLISH , with the colors that best suit you. *
* By default, they are marked as red for downtrends and green for uptrends.
** By default, they are marked with an emoticon indicating the possible direction of the price, down if it is bearish or up if it is bullish .
BBI Bollinger BandsBBI (Bull and Bear Index) is an indicator aims on measuring the general short/mid-term (< 1 month) trend and sentiment of the stock/market. It used an average of 4 SMAs (3, 6, 12, 24) as a cut-off of a bullish/bearish trend. In general, YMMV, you can enter when close> BBI and exit when close<BBI.
BBI Bollinger Bands uses BBI as "basis" and calculates variations (Stdev) of BBI during the past several days. In general, BBI Boll band is more volatile than the traditional Boll Band.
The "possible entry and exit" function is for fun, trying to spot the point where there is extreme fear and optimism, not necessarily working yet.
Stochastic RSI Heat Bollinger BandsThis indicator is based on a combination of the famous Bollinger Bands and the Stochastic RSI indicator.
Bands are dynamically colored (and filled) with a RGB color composed by red and green values, directly generated from the average Stochastic RSI current value.
By default, colors represent the following status -> green zone is overgought & red zone is oversold.
A screener is also displayed on the chart, representing StochRSI K and D lines values, RSI value, as well as the current status (Overbought/Oversold) of the StochRSI and RSI indicators.
Notes:
The heat color and the screener status are both based on the average value between the K and D lines (for stochastic RSI based heat)
Bands can be disabled in options to use this indicator as a simple moving average colored by the Stochastic RSI heat color.
Options:
Various moving average types (SMA, EMA, SMMA, VWMA...)
Inversion of colors between overbought and oversold status
Enabling/disabling heat color on bands / basis line and bands background color
Show/Hide the screener
Color source can be modified to base the heat on the RSI instead of the Stochastic RSI value
Standards Bollinger bands, Stochastic and RSI parameters
Example
Feel free to suggest any improvements in comment.
Bollinger Bands Triple - TradingEDThis case study is based on a previous Bollinger Bands study, but with 3 different counts to compare different trends. The use of this indicator is restricted to private use and it can be used only by invitation. Different functionalities have been added to the original code, such as alerts and signals that seek to make trading much easier to interpret by any type of trading operator of any experience level, from beginner to intermediate and advanced .
Key components of the original indicator:
• The Bollinger Bands are a technical analysis tool developed by John Bollinger to generate signals of overbuying and overselling.
• There are three lines that compose Bollinger Bands: one Simple Moving Average (middle band) and an upper and lower band.
• The Upper and Lower Bands are typically used with 2 Standard Deviations +/- of a 20-day Simple Moving Average (or 20 candles) but can be modified.
The use of Bollinger Bands is based on the concept of mean price reversal, assuming that if the price deviates from the Moving Average it will eventually return to the mean price. As recognized by its creator: John Bollinger , " the touches of the bands are just that, touches, not signals ".
So, a touch from the top is not in itself a sell signal and vice versa, a touch below should not be a buy signal either. A trader must look at the general direction of the price and then only take signals that align with the trend. For example, if the trend is down, you should only consider short positions when the lower band is indicated, and in case of an uptrend, take only long positions.
Another important point in the use of this indicator is that the bands will expand and contract as the Price Action becomes volatile (expansion) or is limited in its trading pattern (contraction). After a strong rise or fall in the trend, the market may consolidate, trading closely and crossing over and below the Moving Average until defining a new course, or continuing with the previous direction.
Main functions of this modified indicator:
1) You can select the type of MOVING AVERAGE , among many available options ( SMA , EMA , DEMA , HMA , etc.)
2) The SOURCE for the count can be determined by the trader (close, open, etc).
3) The MEASURE can be based on a CANDLES count if you are trading OHLC Charts from 1D onwards, or if your trading is intraday, you can also select counts by MINUTES , HOURS or DAYS , depending on your trading style.
4) LENGTH , by default it will be loaded as 20 but considering the previous point, you can modify it according to your convenience.
5) STANDARD DEVIATION , by default it will come loaded with 2 deviations, but you can modify it according to your convenience to operate.
6) You have the option to hide or show a LABEL at the top of the chart, with respect to the signals: bullish green, bearish red.
7) You have the option to hide or show SIGNALS based on the MOVING AVERAGE that you have previously chosen.
8) You have the option to hide or show SIGNALS based on the STANDARD DEVIATION that you have previously chosen.
Main functions to customize the style of this indicator:
a) You can select the colors for the UPPER BAND, MOVING AVERAGE and LOWER BAND depending on the trend, whether it is BEARISH or BULLISH , with the colors that best suit you. *
b) When you have a SHORT SIGNAL or a LONG SIGNAL , you can change the EMOTICON that comes by default. **
c) For any type of SIGNAL , it is painted as a VERTICAL LINE in the graph, you can change the color that comes by default. *
d) In the case of the LABELS that appear at the top, the text is not modifiable, but you can customize both the type of label and change the default color. *
e) You can select the colors for the BACKGROUND of the indicator according to the trend, whether it is BEARISH or BULLISH , with the colors that best suit you. *
* By default, they are marked as red for downtrends and green for uptrends.
** By default, they are marked with an emoticon indicating the possible direction of the price, down if it is bearish or up if it is bullish .
Bollinger bands dynamic alertsThis triple Bollinger script is very useful for options traders to determine the trend condition. When the trend stays within 1 sigma limits it is termed as "congestion", breakout of congestion starts the "trending" phase and the big breakout termed "Blowout" happens when the underlying crosses the 2sigma and reaches 3 sigma limits in very short time at steep trend angles. The script provides dynamic alerts as soon as the underlying breaks out of these zones and enables options traders to stay in the trade longer. www.tradingview.com
Asian Session Bollinger BandsThis is a fairly simple adjustment of the Bollinger Bands highlighting and giving the character to the Asian session.
The Directional Cross StrategyA simple chart-based strategy, which capitalizes on trend change.
Based on Azeez Mustapha's article featured in Stocks & Commodities Oct 2021 issue.
This indicator consists of three tools: a simple moving average (SMA), price envelopes, and Bollinger Bands.
Please note that this strategy only works in trending markets.
What is a trending market?
A trending market is one that is ascending with higher highs and higher lows or descending with lower highs and lower lows.
So, when the market is ranging it's not a good fit for this strategy. It is therefore advisable for the trader to stay out of the market when consolidation is noticed.
Usage of other tools in combination with this one is recommended to determine the market conditions.
Ok, so how to use this indicator:
The combination of the indicators used in this strategy displays BUY and SELL alerts.
When the lower line of the envelope on the chart would cross over the lower band of the Bollinger Bands, a BUY alert is displayed.
When the upper line of the envelope on the chart would cross down the upper band of the Bollinger Bands, a SELL alert is displayed.
As always, proper risk management should be followed.