Bollinger BarsA partial implementation of Bollinger Bars, as developed by John Bollinger.
This seems to be as close as one can get to true Bollinger Bars with TradingView's current implementation of the Pine language.
It may be possible to complete one day.
Полосы Боллинджера (BB)
Donchian Channel Width The Donchian Channel was developed by Richard Donchian and it could be compared
to the Bollinger Bands. When it comes to volatility analysis, the Donchian Channel
Width was created in the same way as the Bollinger Bandwidth technical indicator was.
As was mentioned above the Donchian Channel Width is used in technical analysis to measure
volatility. Volatility is one of the most important parameters in technical analysis.
A price trend is not just about a price change. It is also about volume traded during this
price change and volatility of a this price change. When a technical analyst focuses his/her
attention solely on price analysis by ignoring volume and volatility, he/she only sees a part
of a complete picture only. This could lead to a situation when a trader may miss something and
lose money. Lets take a look at a simple example how volatility may help a trader:
Most of the price based technical indicators are lagging indicators.
When price moves on low volatility, it takes time for a price trend to change its direction and
it could be ok to have some lag in an indicator.
When price moves on high volatility, a price trend changes its direction faster and stronger.
An indicator's lag acceptable under low volatility could be financially suicidal now - Buy/Sell signals could be generated when it is already too late.
Another use of volatility - very popular one - it is to adapt a stop loss strategy to it:
Smaller stop-loss recommended in low volatility periods. If it is not done, a stop-loss could
be generated when it is too late.
Bigger stop-loss recommended in high volatility periods. If it is not done, a stop-loss could
be triggered too often and you may miss good trades.
GreenRedSignal with Alerts by lvinnyl// Script created by JoinFree
// Modified by lvinnyl to trigger alerts
// Click on image below for original script...
Hull Moving Average + Bollinger BandsThis study make use of Hull Moving Average and Bollinger Bands.
The crosses give signal about HMA and BB crossovers, they are a bit lagging, if you stare well you will spot them a little earlier. It look like a good idea to buy and sell when HMA is near or on the outside of the outer bands.
By default the Bollinger Bands uses Simple Moving Average with 21 periodes, and Hull Moving Average use 9 periodes. You can alter the settings in the format dialog.
Please use as pleased, and if you do something clever with it I'll be happy to know :D
Bollinger Bands Width with AlertsStandard Bollinger Band Width indicator with some convenience alerts -- please only use these alerts in conjunction with the alert-type "Once per Bar Close" in order to avoid premature (false) signals!
Alerts provided:
- bbw has rounded (started to decrease after period of rising)
- bbw has started rising (after a period of falling)
Many thanks again to J. Bollinger for his indicators and efforts in education.
BBTrendImplementation of the BBTrend™ indicator. Learn more here www.investopedia.com
Many thanks to John Bollinger for his work developing these indicators!
Hammers, Bollinger Bands & Moving Average ExponentialShows indicators above/below hammer-like candles.
Also adds BB & EMA in order to reduce active indicator count.
Bollinger Bands %b & RSI & Stochastic Smoothed Indicator & AlertThis indicator displays RSI, a normalized Bollinger Band &b (Usual 0 -1 range of BB normalized to the OBOS range of RSI), and a normalized smoothed Stochastic (again, normalized to the OBOS of RSI) simultaneously with a single indicator.
It also displays buy and sell signals based upon the above.
The stochastic can be turned on and off, and the sell signal calculation will be changed accordingly (Stochastic not used to calculate buy signal).
All periods, OBOS levels, deviation, etc, are user adjustable. The buy and sell arrows can be optionally turned off.
The indicator supports alerts for the buy and sell signals.
This is a considerably rewritten, cleaned up, and updated version of my BB %b & RSI Indicator and Alert with many more features, and including a stochastic.
This indicator is mainly for use with Cryptocurrencies in shorter time periods to display possible trade opportunities. Can also be used with Forex.
BB %b & RSI Indicator & AlertIndicator for displaying both RSI and a normalized Bollinger Bands %b (Usual 0 - 1 range of BB normalized to the 30 - 70 OB/OS range of RSI) simultaneously.
Settable periods for RSI and BB, and settable standard deviation for BB.
When both Bollinger Bands %b and RSI are OB/OS then the column will turn blue and a buy/sell arrow will appear in the indicator provided other conditions pertaining to the OB/OS condition in one of the last two candles are also met.
You can also set an alert on the arrow indicator appearing.
I use this mainly for Cryptocurrencies, though it is usable in Forex, for shorter time periods to indicate possible trade opportunities.
BB and Keltner SqueezeStrategy using the Bollinger band with the Keltner Channels . Watch for the Bollinger bands (blue/red lines) squeezing inside the Keltner Channels (pink dots) for a breakout - this could be up or down so use in conjunction with other indicators.
The blue band is the 2 standard deviation from price, the red is 3 standard deviations. With these, typically if the price bounces off the red then it will retrace a little, (although if there is a massive breakout/down this may not hold). When the bands narrow this is an indicator of consolidation, therefore with a likely upcoming breakup or down.
The pink dots are the Keltner Channels. The strategy says if the bollinger bands come inside the Keltner Channels then this is a strong indicator that the breakout is coming. Sometimes the length of time the squeeze occurs for is indicative of the length/strength of the breakout.
These indicators can be used on all timeframes but higher timeframes will be stronger and more reliable of a trend change.
BB and KeltnerStrategy using the Bollinger band with the Keltner Channels. Watch for the Bollinger bands (blue/red lines) squeezing inside the Keltner Channels (pink dots) for a breakout - this could be up or down so use in conjunction with other indicators.
Log Bollinger Bands %BB Oscillator [Krypt]This indicator is almost identical to "Bollinger Bands %BB" except its calculations are performed in logspace and it adds an optional EMA line (after LazyBear's idea).
MEMA & BB & Parabolic SARMultiple Exponential Moving Average : 7, 77, 231
Bollinger Bands
Parabolic SAR
Moving Average Cross & Bollinger BandsPut this together for users using the free version of tradingview. Combines MA Cross and Bollinger Bands into one indicator.
Bollinger + RSI, Double Strategy Long-Only (by ChartArt) v1.2This strategy uses the RSI indicator together with the Bollinger Bands to go long when the price is below the lower Bollinger Band (and to close the long trade when this value is above the upper Bollinger band).
This simple strategy only places a long, when both the RSI and the Bollinger Bands indicators are at the same time in a oversold condition.
In this new version 1.2 the strategy was simplified even more than before by going long-only, which made the strategy more successful in backtesting than the previous version (that older version also opened short trades).
This strategy does not repaint and was updated to PineScript version 3.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
P.S. For advanced users: If you want also be able to short with the same strategy approach, then please use my older version 1.1:
[Alerts] - Moving Average Cross and/or Bbands botThis is the alert script for :
We've included the basic alert syntax for Autoview automation. You can learn more about the syntax here: autoview.with.pink and you can watch this video here: www.youtube.com
These settings are set, by default, to the lowest contracts allowed by Bitmex (at the time of this posting) to avoid a spam account.
You can learn more about Autoview here:
autoview.with.pink
Get your invite and join us in slack here:
slack.with.pink
Moving Average Cross and/or Bbands botHello TradingView and world!
This is one of our latest concepts for an actual bot builder. This script comes with a bunch of features that we're hoping will alleviate a lot of the stress and confusion around using and building strategies here on TV. Especially if the end-goal is to automate the strategies using Autoview.
This is a combination of 2 strategies, and gives you full control of each component within the script.
The 2 strategies are:
2 Moving Averages == if close is greater than moving average and moving average 1 is greater than moving average 2
Bolling Bands == if close is less than lower or greater than upper
Features / Settings included :
- Ability to change settings from a commodity market (default) to an altcoin or forex market.
- Backtest time period selector component
- Heiken Ashi Candles on/off
- Moving Average Strategy on/off
- Bollinger Bands Strategy on/off
- Both Moving Average settings can be adjusted
- Bollinger Bands length and multiplier can be adjusted.
- Pyramiding Greater Than, Equal To, or Less Than
- Trailing Stop with the ability to set a price in which the Trailing Stop activate
- Take Profit on/off and editable
- Stop Loss on/off and editable
- Margin Call on/off dependent on Leverage which is editable
- If pyramiding is used, the strategy will calculate and display your average on the chart
- Profit and Loss visuals added to the chart
You can watch a video here on how all the settings can be used and work together.
www.youtube.com
You can learn more about Autoview here:
autoview.with.pink
Get your invite and join us in slack here:
slack.with.pink
Bollinger Bands ExplorerThis chart is an approximation of how Gunbot does the BB strategy in version 3.3.2.
Part of a pack with:
EMA envelope:
Stepgain simulator:
Stepgain explorer:
Log-space Bollinger BandsCalculates Bollinger Bands in log space, which is useful for high-volatility charts and for looking at long-term growth