Pesquisar nos scripts por "bollingerband"
Hidden Gap`s VSA Volume If Volume is less then the previous 20 intervals, Volume is gray.
If Volume is greater then the previous 40 intervals, Volume is black.
If Volume is less then the previous 2 intervals, Volume is purple.
If Volume is less then the previous, Volume is red.
If Volume is greater then the previous, Volume is blue.
Other - white.
You can add on the indicator a 2.5 Standart Deviation of a 20 period
Bollinger Band Shifted 3 periods forward.
FHX Bands (VWMA BB)This study is an optimized version of Bollinger Bands based on volume weighted data points: more volume on a bar gives those prices a higher impact. FHX bands base on the assumptions of auction market theory (e.g., as does volume profiling). Bollinger Bands implicitly assume a uniform probability mass function for data points and consider only the - somewhat arbitrary - close price. In contrast to this, FHX bands take all four available data points into account (OHLC) and use the volume at each candle* to define a probability mass function in order to compute mean and standard deviation.
As an indicator, FHX bands could be used in the same way as BB to facilitate or confirm Break-Out trades and identify strong momentum moves. Settings for the standard deviation multiplier should be interpreted as follows (following the 68–95–99.7 rule):
x standard deviation set to 1: ~32% chance that a move outside the bands is by chance
x standard deviation set to 2: ~5% chance that a move outside the bands is by chance
x standard deviation set to 3: ~0.3% chance that a move outside the bands is by chance
This however assumes a fairly solid period of consolidation beforehand (visible through notable contraction of the bands) and a normal distribution of values within that consolidation period. Therefore users need to experiment within their time frame in order to identify a Length setting that suits their needs. Personally, I set Length to 21 or lower, depending on my targeted time frame. Note that the indicator does not test for normality in any way; you can, however, use a quick visual test using the fixed range volume profile indicator to increase its reliability.
Good luck and mind your risk
-fhx
* of course tick data would be the real deal, but we work with what we have
Bollinger Band and Moving Average v0.1 by JustUncleLThis is another Bollinger Band strategy+indicator in my series of Bollinger based setups. This one is seems to work best with 5min charts and 20 to 30min expiry. The strategy follows variation of a Bollinger band + Moving Averages
reversal strategy, it uses the 2 moving averages mainly to determine market direction.
Generalized Bollinger Bands %B And Bandwidth (Tartigradia)Bollinger Band is simply a representation of the rolling average of price and its standard deviation around the average (called the "basis").
This indicator generalizes the Bollinger Band by implementing many different equations to calculate the Bollinger Bands beyond the standard deviation and sma, and then plot the %B (where the current price falls inside the Bollinger Band), Bandwidth (size of the Bollinger Band) as well as the Bollinger Band itself and a reproduction of the OHLC price candles in a separate pane.
Whereas other Bollinger Bands indicators often just change the basis but not the stdev calculation, the correct way to change the basis is to also change it inside the stdev calculation.
Advanced features such as temporal discounting (ie, newer bars can have more weights), median absolute deviation and multiple sigma bands (eg, 3-sigma) are available.
Up to 3 different Bollinger Bands can be displayed, and the background can be highlighted when price is overbought/oversold (beyond the Bollinger Band of choice). Tip: BB3, which is the bollinger band with standard deviation of 3, which represents 99% of observed values in the lookback period, is a good choice to highlight overbought/oversold conditions.
Three "Sentiment Bars" are provided to see at a glance the sentiments on the price action relative to the Bollinger Bands as reflected by the %B value.
Usage:
Use the %B as a measure of sentiment: bullish if > 0.5, bearish if < 0.5. You can use the Sentiment Bars at the bottom for a quick reference: aqua if bullish, red if bearish, gray if undefined (too close to the middle line).
Use the bandwidth as a measure of volatility: higher is more volatile, lower is less.
When overbought, it can be a good time to sell/short. Use a higher Bollinger Band Multiplier such as 3 or more to reduce false positives.
When oversold, it can be a good time to buy/long. Use a higher Bollinger Band Multiplier such as 3 or more to reduce false positives.
Consider setting a much tighter lookback period of 4 as recommended in backtested works (en.wikipedia.org), use zlma instead of sma, and finally set a higher timeframe for the Bollinger Bands than the one you are currently studying. Then, the Bollinger Bands can help in detecting overbought and oversold regions (price going "out of bands").
Note that I tried to automate the setting of a higher timeframe, but for some reason the output is different when I manually do it using request.security() than when it's in indicator(timeframe=""). If someone has any suggestion as to why it happens, please let me know! (You can try it for yourself by uncommenting the auto_timeframe parameter line).
%BsAn indicator with 10 configurable %B lines for identifying trends, overbought and oversold conditions, and reversal points. %B is a linear representation of a securities relationship to the Upper and Lower Bollinger Bands. The best opportunities arise when a security is oversold in a bullish trend and overbought in a bearish trend. The longer %B trend-lines in this indicator are very useful for major reversals. They can be used to indicate the high or low of the day on a 1-minute chart or show a multi-year reversal point.
%B = (Current Price - Lower Band) / (Upper Band - Lower Band)
Kay_BBandsV3This is the 3rd version of Kay_BBands.
When +DI (Directional Index ) is above -DI , then Upper band will be visible and vice-versa.
This is when the ADX is above the threshold. 28 is the default in this version. I found its more appealing in 5M time frame.
BLUE - ADX under 10
GREEN - Uptrend, ADX over 10
RED - Downtrend, ADX over 10
Use it with another band with setting 20, 0.6 deviation. Prices keeping above or below the 2nd bands upper or lower bounds shows trending conditions.
I didn't know how to update the old script so published it again.
Changes - :
1) Updated default settings for the indicator
2) ADX setting are now DI (28), ADX (10), adx level to check is 10.
3) IMPORTANT one - When DI is up/down, lower/upper band will also have color (more visible that way.)
Play around the settings.. It really eliminates extra indicator checking visually... Please like if you think idea is good.
Kay_BBands v2This is the second version of Kay_BBands. But this is infused with ADX.
When +DI (Directional Index) is above -DI, then Upper band will be visible and vice-versa.
This is when the ADX is above the threshold. 20 is the default but can be set to 25.
When the ADX is below the specified threshold, both bands gets visible, showing no trending conditions.
Use it with another band with setting 20/21, 0.6 deviation. Prices keeping above or below the 2nd bands upper or lower bounds shows trending conditions.
[JR] Multi Bollinger Heat BandsBollinger Bands, with incremented additional outer bands.
Set as you would normally, but with the addition of an incremental value for the added outer bands.
Defaults with Length 20, base multiplier of 2.0, and an Increment value of 0.5 for additional outer bands at 2.5 and 3.0. Adjust values to suite your needs.
All lines and zones have colour and formatting options available - because why not eh?
Fibonnacci Bollinger BandsThis Bollinger Bands with additional Fib levels. Swing Trader Edition :) .. thats all really
Bollinger Band TouchThis script simply colors the background when price hits or exceeds the bollinger bands. Just a nice visual cue.
[RS]Multiple Bollinger Bands Candles V0EXPERIMENTAL: using multiple length bollinger bands to create a better reading of ?price/range? strength?.
• calculates 2 candle plots for upper and lower bands, were the high and low are the extremes of the bands,
open is the previous close of the band and close is the extreme midline.
CapnsBandsV2Here is the 2nd version of CapnsBandsV2 for Mateys... Remind you this a trend indicator NOT a BUY and SELL. Its up to you how you read it. Defaults for Smaller TF like 15Mnts. Enjoy it. :)
BL_MTF River Strategy with TP/SL by Beller
Anyone remember the "Frogger" game where a frog must pass a river ?
This strategy is like a game.
Immagine you that the cyan lines are a River, any time the price can cross up or down this river, you must buy or sell only when the bar are dry..
BUY at highest price of the first bar that is completely dry over the river
SELL at the lowest price of the first bar that is completely dry under the river
Stoploss is placed at the river bands, take profit is placed at 1:1 and 1:2 ratio, a risk money management must be applied.
This strategy can be used with multiple time frame, i'm testing it in 15min,180m and daily base applyed to EURJPY.
It's a game but can produce some money... ;-)
Indicator: MFI or RSI enclosed by Bollinger BandsIndicator allows choosing either MFI or RSI and draws a BB over it to identify oversold / overbought conditions.
Oversold/Overbought breaches are highlighted using different colors for easy identification. Has helped me a lot during sudden pumps to identify the tops, hope you find a use for this.
Trading Strategy based on BB/KC squeeze**** [Edit: New version (v02) posted, see the comments section for the code *****
Simple strategy. You only consider taking a squeeze play when both the upper and lower Bollinger Bands go inside the Keltner Channel. When the Bollinger Bands (BOTH lines) start to come out of the Keltner Channel, the squeeze has been released and a move is about to take place.
I have added more support indicators -- I highlight the bullish / bearish KC breaches (using GREEN/RED crosses) and a SAR to see where price action is trending.
Appreciate any feedback. Enjoy!
Color codes for v02:
----------------------------
When both the upper and lower Bollinger Bands go inside the Keltner Channel, the squeeze is on and is highlighted in RED.
When the Bollinger Bands (BOTH lines) start to come out of the Keltner Channel, the squeeze has been released and is highlighted in GREEN.
When one of the Bollinger Bands is out of Keltner Channel, no highlighting is done (this means, the background color shows up, so don't get confused if you have RED/GREEN in your chart's bground :))
Color codes for v01:
----------------------------
When both the upper and lower Bollinger Bands go inside the Keltner Channel, the squeeze is on and is highlighted in YELLOW.
When the Bollinger Bands (BOTH lines) start to come out of the Keltner Channel, the squeeze has been released and is highlighted in BLUE.
OGT Bollinger Bandwidth IndicatorWhat is the OGT Bollinger Bandwidth Indicator?
The Bollinger Bands indicator is one of the most popular technical trading indicators. One of the applications of the Bollinger Bands indicator is when an instrument is in a state of low/high volatility. The OGT Bollinger Bandwidth Indicator measures the percentage distance between the upper and lower Bollinger bands to visually display periods of low/high volatility.
The difference between this indicator and other bandwidth indicators, is that the user can define a percentage level where if the indicator reading is above that level the instrument is considered to be in high volatility. If the indicator reading is below this level, it's considered to be low volatility. This is visually displayed on the indicator (default - Red = low volatility / Green = high volatility).
How to select the right percentage level?
This indicator has a built in black line which shows the lowest indicator reading for the past 100 bars. This gives you insight on where you should be placing your percentage level for that instrument and time frame. You will need to adjust the percentage level when you select a new time frame as the Bollinger Band levels will be different.
How this Indicator can help you trade profitably?
As the saying goes - periods of low volatility is followed by period of high volatility. The OGT Bollinger Bandwidth Indicator allows instantly see and watch for periods of low volatility and capitalise when the tide turns. This is not a direction indicator but gives you an early warning sign that a big move is coming. Using other technical indicators such as moving averages / support and resistance can help you with the direction.
Bollinger Bands Pro : Hawk-Eye (by ImanPJN)Bollinger Bands Pro: Hawk Eye / is a professional version of the Bollinger Band Indicator that uses two bands instead of one. This is the second band I call the upper and lower middle band.
Sometimes you see that the candles are rejected from parts of the band and you do not know the real reason.
The real reason is the middle band, which is a secret line that we show you in Hawk eye and give you a professional and complete view of the trend and momentum of the trend.
This important line gives you the dynamic support and resistance points that were previously hidden from you.
The line also allows traders to pinpoint their entry and exit points, as well as notice that trend strengths or trend momentum are being lost.
Now we want to discuss the trading methods and strategies of this indicator, three main strategies that should be considered, the first is following the trend and the second is breaking the line And third is the Bollinger Bands divergences with the "BB %B" oscillator.
1 - Following the Trend :
You can follow the trend and when a good downtrend or uptrend is formed, enter the trade every time candles hits the middle band and bounces back and you can hold the position it until the middle band or baseline is broken .
2 - Breaking the Line :
When the middle band or baseline as our dynamic trend line is broken with a complete candlestick, we can close the trade or trade the reverse trend, but we recommend that you do not use trend reversal signals if you do not have enough skills.
3 - Bollinger Bands divergences :
We can also use the Bollinger Bands and the BB Percentage Index to find bullish and bullish divergence or overbought and oversold points. But it requires more mastery and research on both indicators
Coded by Iman Pajand in Partnership with @BITEXGroup
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.
Stochastic Bollinger BandsThis indicator started off as a bit of an experiment, but it ended up looking quite useful.
It plots closing price (which can be changed) in relation to the bollinger bands upper and lower bands. This relationship is then run through a Stochastic function much like RSI is with StochasticRSI.
This plot line is smoothed with the K Smoothing value in the settings, and then this plot line is smoothed again with he D Smoothing value to give a signal line.
When the plot lines are outside the horizontal upper and lower limit lines, then this indicates that price is outside the bollinger bands. This can indicate entry and exit signals.
In the background, there is an area plotting a stochastic version of the Bollinger Band width. This would show periods of high and low volatility as it relates to previous volatility.
The stochastic length for the width is set to be very long (144 periods) in order to encapsulate a long range of values to compare to.
Default Settings:
==============
Source: The data point in which to compare to the upper and lower Bollinger Bands - set to close.
BB Length: The length in periods to generate the moving average used for the bands - set at 20 periods.
Mult: This is the multiplier used in the calculations for the bands - set at 2.
BB Width Stochastic Length: This is how far back it looks to compare the current width of the bands to previous widths - set at 144 periods..
BB Stochastic Length: This is how far back to compare closing price in relation to the bands - set at 14 periods..
K Smoothing: This is used to smooth the Stochastic Bollinger band value - set at 3 periods.
D Smoothing: This is a moving average of the smoothed K value in order to provide a signal line - set at 3 periods..
Moving Average Type: This allows you to use either a Simple moving average or an Exponential moving average - set for SMA.
------------------------------------------------------------------------------------------------
Kindest Regards
Created 2018 - by @Squiggles#8806
LTC Tip Jar: LX4bUBdjiRPsagUbZoAczSGgDC4YqTJL7w
Profit Trailer Feeder affiliate link: cryptoprofitbot.com