Fancy Bollinger Bands [BigBitsIO]This script is for a Bollinger Band type indicator with as many features as I can possibly fit into a Bollinger Band type indicator.
Features:
- A single custom moving average serving as the middle band.
- Standard MA inputs.
- MA type.
- MA period.
- MA price.
- MA resolution (time frame).
- Visibility toggle.
- MA Candle Type
- Fancy MA inputs.
- Toggle to show only candles included in the MA calculation ("Highlight inclusion") or display entire MA history.
- Toggle to show a ghost trail when Highlight inclusion is toggled on. Displays a shaded version of past MA history before the inclusion period (as seen on snapshot).
- Toggle to show forecast values for the MA.
- Other inputs related to forecasting:
- Forecast bias. (Neutral forecasts MA if the current price remains the same.)
- Forecast period.
- Forecast magnitude.
- Toggle showing details on the screen
- Toggle the visibility of the fill between the upper and lower bands.
- Toggle to use ATR instead of the standard deviation to calculate the location of the upper and lower bands.
- Custom input for the ATR period.
A couple of quick notes. The label will only show up if toggled on, and will always show above the highest of either the candle high or upper band. The fill colors are based on the level of %B currently on the indicator. Higher levels are green, and brighter green, while lower levels are red and brighter red. The fill is lighter in shadow areas to reflect their status as not being included in the middle band calculation.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
Dải Bollinger (BB)
JSE Top 40 Comparative Relative StrengthThis code adapts the code by vitvlkv to be appropriate for comparison of JSE stocks with the Top 40 index. It also includes moving averages and Bollinger Bands to identify extreme conditions. You can change the colours and deselect moving averages to make the plot less cluttered. You can also change the selection to compare the stock against to JSE:J201 if you want to compare it to the All Share Index.
Bollinger Channels / EMA and SMAThis is written as a system to replace the BB strategy.
I think it will work well.
It looks pretty stylish.
Description / Usage:
Adjust the length and multiplier based on your location with Bollinger Bands.
The multiplier of 1 provides you with a basic channel with high and low-source EMA (or SMA).
And with the 8-day exponential moving average, you can observe short entries and exits.
I wish good luck to the friends who will use it.
You can support and track new indicators.
Bu, BB stratejisinin yerini alacak bir sistem olarak yazılmıştır.
Oldukça şık görünüyor.
Kullanım
Bollinger Bantları ile bulunduğunuz yere göre uzunluk ve çarpanı ayarlayın.
1 çarpanı size yüksek ve düşük kaynaklı EMA (veya SMA) içeren temel bir kanal sağlar.
Ve 8 günlük üstel hareketli ortalama ile kısa giriş ve çıkışları gözlemleyebilirsiniz.
Kullanacak arkadaşlara bol kazançlar diliyorum.
Yeni indikatör için destek olabilir ve takip edebilirsiniz.
Mean Reversion w/ Bollinger BandsThis is a more advanced version of my original mean reversion script.
It employs the famous Bollinger Bands.
This robot will buy when price falls below the lower Bollinger Band, and sell when price moves above the upper Bollinger Band.
I've only tested it on the S&P 500, though you could try it out on other assets to see the backtest performance.
During the recent COVID-19 bear market drop, it produced several buy signals on the S&P which I followed, and made some nice gains so far.
I still think this would make a better investing strategy (buy undervalued / sell over-valued), rather than a trading strategy.
I use this robot for my long term portfolio.
Better Bollinger BandsIt is a highly configurable Bollinger Bands implementation.
You can choose different moving averages: EMA, SMA, WMA, VWMA, RMA (Wilder's EMA), ZLEMA, HMA (Hull MA), ALMA
Select between standard or mean deviation
You can use "High" or "Low" for upper and lower bands, which makes them much better for dynamic support-resistance
You can shift (offset) right the bands to use it as support and resistance in the future
Bollinger Bands Fibonacci Ratios (Automatic Timeframe)A Fibonacci Bollinger Bands indicator with automatic timeframe detection.
The timeframe reverts to the value specified in settings when viewing Daily, Monthly or seconds-based charts.
Based on: Bollinger Bands Fibonacci ratios by Shizaru (/script/bCy9urOG-Bollinger-Bands-Fibonacci-ratios/)
Bollinger Bands Deviation - yo_adriiiiaanBollinger Band Deviations
In theory price trades within 2 standard deviations 95% of the time. This is an attempt to capture that 5% that deviates from the bands.
Useful for taking profit or signaling a reversal.
Bollinger Bands Plus [xdecow]Bollinger bands with the option to use different types of moving averages.
-SMA
-EMA
-RMA
-WMA
-VWMA
-SWMA
-DEMA
-HMA
-SMMA
-T3
-TEMA
Mean Absolute Deviation BandsThe other way to build bands around price that uses Mean Absolute Deviation instead of Standard Deviation.
MAD is also a measure of variability, but less frequently used. MAD is better for use with distributions other than the Gaussian.
MAD is always less than or equal to Standard Deviation and the resulting bands are more tighter for the same parameters if we compare it to Bollinger Bands.
If you use band stops this can be useful.
(JS) Squeeze Pro OverlaysSo this was something I planned on doing in the future, I knew it would take some time to put together but here it is, the Squeeze Pro 2 Overlays.
On my original Squeeze Pro, I had made several overlay indicators to go along with it, this time my goal was to combine all that stuff into a single indicator and allow the user to turn on and off the specific features they'd prefer to use. The version illustrated in the preview has everything turned on. What is "everything"? Here's the breakdown...
First of all - the color schemes in the Squeeze Pro match the color schemes in the Overlays indicator, so you can match them up (Color Scheme 3 in example). There are 6 schemes, option 1 is the original Squeeze colors.
There's also an option to make the light squeeze black, rather than white. This is for people who aren't using Dark Mode. It will flip all white to black, to make your charts better to read!
So there are 4 main overlays that can be switched on and off with this indicator, they include;
1. Early Signal Candles
2. BBMA Basis Line
3. Bollinger Bands/Keltner Channel Breaches
4. Signal Arrows
Early Signal Candles
The Early Signal Candles have two parameters, the entry smoothing period and the exit smoothing period.
There is a different type of early entry signal for each type of squeeze.
Low Squeeze generates white dots on the highs of the candles.
Mid Squeeze generates a lime green candle (or purple candle in color scheme 3).
High Squeeze generates a bigger purple circle on the high of the candle.
These three signals are made to mimic the original Early In/Out Candles from John Carter and represent the same thing (they work the same way).
As for the early exit, that would be determined by the color of the candle vs the color of the squeeze, works the same way as the original as well.
BBMA Basis Line
The BBMA (Bollinger Bands Momentum Average) was a moving average I had made to use with the squeeze on the previous version.
It is the basis line of the BB and KC used to make up the Squeeze (a 20 SMA). There are 4 different colors to it on this version.
1. Orange - This means no squeeze.
2. White/Black - Low Squeeze
3. Red - Mid Squeeze
4. Yellow - High Squeeze
You'll also notice these colors are light and dark in different spots - this is a representation of whether the Bollinger Bands are expanding or contracting. Dark means expanding, light means contracting.
Bollinger Bands/Keltner Channel Breaches
This is a pretty simple feature. If there is an ongoing squeeze, and a candle closes above or below the Bollinger Bands or Keltner Channels, a circle appears at the top or the bottom of the chart telling you which way the channel has been breached.
Signal Arrows
This is what makes up most of the overlay indicator. If you turn it on, the default is set to work just like the original. There are lots of options with this though.
First, you can turn each type of Squeeze Arrow on or off by checking/unchecking the boxes for them.
Now allow me to explain the "Signal Length", as there are several options.
The default is "6 Dots", this generates a signal when a particular type of Squeeze reaches the 6th dot ("12 Dots" works the same way).
"End of Squeeze" generates a signal once a type of Squeeze has concluded.
"End of Early Signal" generates a signal when the early dots (or candle) finishes.
"Custom" allows you to select your own dot duration to produce a signal, you select that number in the field below.
The other portion of this is the "Signal Type", this is where you select how each signal is generated once the selected amount of time takes place.
The default is the same as the original "+/-", this generates a signal based on whether Squeeze momentum is positive or negative.
"Rising/Falling" will only generate a signal if the Squeeze momentum maintains consistently over the last 6 bars.
"Crossed Zero" only generates a signal if the Squeeze momentum crosses above or below the zero line.
"Basis Line Momentum" is based on the BBMA. A signal is generated based on whether the current candle closes above or below the basis line.
"Divergence" only generates a signal if there is a divergence signal present at the time of the signal.
"Current Momentum" generates a signal based simply on the current direction of Squeeze momentum.
"Sum of Change" generates a signal based on the sum of the change in the Squeeze momentum being positive (long) or negative (short) over the length of time you select in the "Sum of Change Length" field.
Then "Combo" tries to take a look at everything and generates a score based on these parameters. Positive score = long, negative = short.
I hope I gave a detailed enough explanation on how everything works, let me know if you have any questions! Hope you like it!
Bollinger Band SqueezeThe Bollinger Band Squeeze is calculated according to the ATR. With the default settings. If the BB width is smaller than the ATR * 2 the background is painted green. If the BB width is larger than the ATR * 5 the background is painted red
Keltner | Bollinger | SqueezePercent B (%B), it's derivation Percent K (%K) and squeeze indicator combined in one.
blue line = bollinger %
orange line = keltner %
red background = squeeze*
squeeze = bollinger bands are inside (encapsulated by) keltner channel
Stochastic %BIt's a Stochastic indicator combined with Bollinger %B. This way you just need to check if it is above 1.0 or below 0.0 (Outside Bollinger Bands).
Rsi, Ema , Ma and Bollinger Bands for 1 min BtcusdtThis is for 1 min Btcusdt pair.
I am tring to find a way to catch %1 ups and downs.
Basicly it buys when rsi low and minute candle closes under ema,ma and lower bollinger band,
it sells when candle goes over upper bb,low ma, when rsi high.
It sells when rsi high ,candle closes over upper bb,over low ma and does the opposite when buying.
I know it's crowded but still tring to learn what to do ^^
I welcome any suggestions to improve.
It works better with shorts for now.
Don't buy with this !! You might lose big !
Full Candle Outside BB [Bishnu103]Bollinger band defines volatility range based on the current market condition. If a full candle is created outside BB then it is highly volatile and it may reverse to the mean, i.e. middle BB.
Buy - when a green candle is created below lower BB (alert candle) and price goes above high of it.
Buy SL - low of alert candle
Target 1 - middle band
Target 2- upper band
Sell - when a red candle is cerated above upper BB (alert candle) and price goes below low of it
Sell SL - high of alert candle
Target 1 - middle band
Target 2 - lower band
************************************************************************************************************************************************************************************
Disclaimer: This is in-progress strategy. I plan to work further and improve this. So please use this in the live market very carefully and based on your own risk factors.
************************************************************************************************************************************************************************************
Bollinger Bands Ema 50,200,800EMAs converted to Bollinger Bands The bands are 50, 200 and 800 period, forming a strategy and having clear trends and stronger supports and resistances (when the lines converge the area is stronger).
RSI Bollinger %BIt's an RSI indicator combined with Bollinger %B. This way you just need to check if it is above 1.0 or below 0.0 (Outside Bollinger Bands). You can choose the moving average method used by RSI.
OBV w/BB+EMAOBV plotted with Bollinger Bands to show whether the volume is breaking out from its normal deviation (both up or down). The OBV changes color depending on the macro trend which is set using a 100 EMA.
(JS) Squeeze Pro 2This is my version of the updated classic indicator created by John Carter. I plan on adding a Squeeze Overlay script in the future that will pair with this one as well for additional signals.
So to break down the Squeeze, what it is, how it works, etc - you have to look at the components that make it up.
1. Bollinger Bands
2. Keltner Channels
3. Momentum
The momentum in this indicator is smoothed out using linear regression (shout out to Lazy Bear, it's a much simpler way to do it, imo).
The momentum is what is displayed on the indicator as a histogram, its purpose is obvious (to show momentum).
Now what is a Squeeze? A squeeze occurs when Bollinger Bands tighten up enough to slip inside of Keltner Channels.
This is interpreted as price is compressing and building up energy before releasing it and making a big move.
Traditionally, John Carter's version uses 20 period SMAs as the basis lines on both the BB and the KC.
In my version, I've given the freedom to change this and try out different types of moving averages.
His original squeeze indicator had one Squeeze setting, though this new one has three .
The white dot Squeeze , call it a "low squeeze", an "early squeeze", whatever you'd like - this is the easiest Squeeze to form based on its settings.
The red dot Squeeze is the original from the first Squeeze indicator.
And finally, the yellow dot squeeze , call it a "high squeeze", "power squeeze", once again whatever you want - is the most difficult to form and suggests price is under extreme levels of compression.
From what I've witnessed John Carter say in the past, the squeeze is meant to be used for continuation.
Now to explain the parameters:
Squeeze Input - This is just the source for the Squeeze to use, default value is closing price.
Length - This is the length of time used to calculate the Bollinger Bands and Keltner Channels.
Bollinger Bands Calculation Type - Selects the type of moving average used to create the Bollinger Bands.
Keltner Channel Calculation Type - Selects the type of moving average used to create the Keltner Channel.
Color Format - I have created 5 different color schemes, this allows you to choose one.
Draw Divergence - Self explanatory here, this will auto-draw divergence on the indicator.
Gray Background for Dark Mode - This is something I put on all my indicators to make them more visually appealing.
Moving on to the alerts, I have made some basic alerts to notify certain indicator conditions (I had to revise it back from the prior version, as V4 of PineScript limits outputs).
6th Dot Alerts - This will inform you when a certain Squeeze makes it 6 dots in. Why 6 dots? That is what John Carter said to be his preference.
12th Dot Alerts - Think of this as a "prolonged Squeeze" alert. I feel like if they do run this long you likely need to go up in resolution, but some traders prefer certain time increments so this is for them.
End of Squeeze Alerts - Self explanatory again - once a Squeeze has concluded this will provide you with a notification.
Start of Squeeze Alerts - Opposite of the alert above, notifications come when a Squeeze begins.
Zero Line Alerts - This will inform you of when the momentum makes a bullish or bearish move across the zero line.
I hope that I've done well enough explaining the indicator and how it works, for any further information on it I suggest you check out Simpler Trading and get linked up with John Carter over there.
He does lots of videos, webinars, and of course you can always get the official indicator and his signals there too.
[fikira] Bollinger Bands + Higher Time FramesHere is my take on BB and MTF, based on the most excellent work of
"PineCoders" (MTF Selection Framework functions)!
The big advantage is that on 1 image you can easily see where
price is compared to 5 or less BB Bands (each of different Time Frames).
This gives a lot of Support and Resistance area's!
Includes:
- 1 Bollinger Bands (can be enabled/disabled - "Bollinger Bands"
- 4 Bollinger Bands (each can be enabled/disabled - "HTF Selection 1-4")
Each BB has its colour (can be changed)
- Labels (Timeframe and price) can be enabled/disabled
- Labels position and size can be changed
...
Pivot Boss 4 EMA + BB + Parabolic SAR + IchimokuA combination of a few of my favorite indicators.
1) Pivot Boss 4 EMA
2) Bollinger Bands
3) Parabolic SAR
4) Ichimoku Cloud
All credit to original authors.
Bollinger Band - Keltner Squeeze - Failed Volatility BreakoutThis simple script provides Bollinger Band and Keltner Channel indicators, and will highlight areas where the Bollinger Bands enter into the Keltner Channel.
This script is based on the Failed Volatility Breakout (FVBO) System used by professional trader ChrisD_Macro. The default plot styles for the indicators in this script are based on Chris's setup, but visual styles as well as BB and Kelt settings (length, standard deviation, etc...) can all be easily customized with the user interface in the indicator settings.
You can also choose whether you want the condition to be triggered by just one Bollinger Band entering the Keltner Channel, or if it has to be both bands entering the channel.
This script is very useful when manually back testing the FVBO strategy, as it clearly highlights the BB-Kelt squeezes instead of having to constantly scroll in and out looking for them.
It can also be useful live as it has the ability to trigger TradingView alerts using the condition "BB-Kelt Squeeze".
Hope it's helpful
- JDC
Side Notes:
With Forex / Currencies this indicator I usually use this indicator on the 1 Day time frame.
Keep in mind that the script includes the Bollinger Bands and Keltner Channels, so if you already have your own version of these indicators on your chart, it will get really messy. (Just hide the other indicators while you get to know this one).