Bollinger Bands Stochastic RSI Extreme SignalThis is the finalized code released to the public that I created in a video linked here.
This indicators combines a Bollinger Band and Stochastic RSI to produce signals for possible price reversal. The signals are displayed by default as green arrows for bullish and red arrows for bearish.
To trigger a signal the indicator checks for the following:
(Bullish)
A candle closes above the upper Bollinger Band
The following candle closes within the upper Bollinger Band
The RSI Stochastic is below the set threshold (10 by default)
(Bearish)
A candle closes below the lower Bollinger Band
The following candle closes within the lower Bollinger Band
The RSI Stochastic is above the set threshold (90 by default)
Полосы Боллинджера (BB)
Bollinger Bands with Moving Averages and MTFBollinger Bands basically use SMA, here I revised it for use with many moving averages. Moving average types I have added: "EMA", "RMA", "SMA", "WMA", "VWMA", "WWMA", "TMA", "VAR", "ZLEMA", "TSF".
There is also an MTF option to view different time zones.
Bollinger Bands %B Compare VixThis imple script converts your chosen chart price and outputs it as a percentage in relation to the Vix percentage.
If price (Blue line) is higher than 0.60 and vix (Red Line) is lower than 0. 40 then there is lower volatility and this is good for buying.
If price (Blue line) is lower than 0. 40 and vix (Red Line) is higher than 0.60 then there is higher volatility and this is good for selling, exiting and cash only.
If you like risk you can enter as soon as the price and vix cross in either direction
This is my first script, please give me a lot of critique, I won't cry hahaha :)
For greater accuracy, you use these Vix products for their specific stocks/Indicies:
Apple - VXAPL
Google - VXGOG
Amazon - CBOE:VXAZN
IBM - CBOE:VXIBM
Goldman Sachs - CBOE:VXGS
NASDAQ 100 = CBOE:VXN
SP100 - CBOE:VXO
SP500 (3months) - VIX3M
XLE(energy sector) - CBOE:VXXLE
EWZ(brazil etf) - VXEWZ
EEM( emerging markets etf) - CBOE:VXEEM
EFA (MSCI ETF) - CBOE:VXEFA
FXI (Cina ETF) - CBOE:VXFXI
Stochastic with Bollinger & EMAIn this script
I combined the various of the oscillator
Stochastic (STOCH) with BB (Bollinger Bands).
Each cut of K and D creates a mark (+) Red / green - accordingly.
As the Stochastic (K) crosses the BB base, a green / red point is formed accordingly.
As a sign it is possible to continue up / down.
I added EMA8 to K (style circles)
When the oscillator is above the EMA - it is possible that this is a clear sign of an increase.
Band 50 was also added to facilitate the calculations.
MFI & EMA & Bollinger BandsIn this script
I combined the various of the oscillator
MFI ( Money Flow Index ) with BB ( Bollinger Bands ).
As the MFI crosses the BB base, a green / red point is formed accordingly.
As a sign it is possible to continue up / down.
I added EMA8 to MFI (style circles)
When the oscillator is above the EMA - it is possible that this is a clear sign of an increase.
Band 50 was also added to facilitate the calculations.
Horcrux OscilatorDoes your oscilator give exit signal on time? Mine does. However worst the idea is, I had to come up with a horcrux plan :P
Concept is as below:
I use 7 standard deviation Bollinger bands to identify which level current price is in. Standard deviations used are from 0.5 (lowest level) to 3.5(highest level) with 0.5 step . This creates overall 16 levels ranging from 0 to 15 with 0 being the highest level and 15 being the lowest.
LookbackPeriod is used to calculate max and min values of these threshold over certain bars. Average of max and min constitutes threshold.
Horcrux value is difference between max state and current state in LookbackPeriod.
Lower the horcrux much closer the current state to the highest state. Hence, horcrux higher than threshold is considered as green region where prices are moving up. Decrease in number of horcruxes means price state moving closer to highest state (which is the lower level). Hence, indicates reduced momentum or reversal.
Use higher LookbackPeriod for increased accuracy. Increase BBLength for long term trades. Adjustment is used to adjust threshold line by up to + or - 20%
Bollinger Bands Width with Squeeze AlertThis is the standard Bollinger Bands Width (BBW) indicator with the added capability of detecting the "Bollinger Bands Squeeze" as defined by John Bollinger:
The BBW squeeze happens when BBW < all BBWs of the past 125 intervals.
Whenever a BBW squeeze occurs, this means there is low volatility.
A low volatility period is almost always followed by high volatility: a large breakout (with price performing ample movement and exiting the BBW bands) may suddenly occur.
The breakout may be preceded by a fakeout, during which price moves in the opposite direction.
Bollinger %B Candles StrategyStrategy built based on earlier published indicator:
Looks to be doing good for short term swing trades. But, I am not sure if there is repainting. I tried to avoid buy/sell trades on same day - but wasn't successful.
So far back-tested on following:
COINBASE:BTCUSD - works on both long and short
CURRENCYCOM:GOLD and equities - long only.
Some of the failures: ASX:WPL , ASX:WHC , ASX:NHC
As usual for back-testing - using 1000 as initial capital with 100% invested on each trade and no compounding so that it will be easy to compare with buy and hold. Trade with caution :)
Bollinger %B CandlesCandlesticks made from Bollinger %B of high, low, open and close.
Input parameters are explained below:
BBLength : Bollinger band periods. Standard deviation is hardcoded as percent B scale does not change with standard deviation.
UseMovingAverage : Candles are formed on moving average of Bollinger Percent B instead of absolute values.
Moving Average Type : Type of moving average to apply on Bollinger %B values
Lookback Period : Moving Average periods.
ColorByPreviousClose : Color candles based on previous close.
Bollinger Bands Width %bAs the bottom reading of BBW changes dynamically with bull market progression, a relative bottom is preferred than absolute, hence normalization of BB Width via bollinger bands and %b, i.e. distance of datapoints from stdev band.
Stock Market Strategy : VWAP, MACD, EMA, Breakout, BBHello there,
Today I bring you a stock market strategy, specialized in NASDAQ stocks.
Its a daytrading strategy, that can only do a max of 1 trade per day. In this case it only trades the first 2 opening hours of the market.
The rules are simple :
We follow the trend based on a big EMA, in this case 200, after that, we check for VWAP direction , then, we check histogram from MACD. This is the simple logic of the strategy.
Inside there is another strategy, that not just do the above, but also uses Bollinger bands, and checks for breakout of bottom or top line. Also it uses Average directional Index, for even a bigger criteria .
So for example a long condition it would be : candle is above the ema, and candle is above vwap, and histogram is positive, and candle break the top bb level and ADI < 40 -> long signal . The opposite works for short(ADI > 20).
In this case all this criterias are between the first 2 hours of market. So we enter between the first hour, and exit in the next hour. For this we need to use very short time frames.
Hope you enjoy it.
Let me know if you have any questions
Bollinger Bands and RSI mix with DCAThis strategy uses a mix of Bollinger Bands and RSI to enter long positions. It impliments DCA.
Moving Average, T3 and Bollinger StrategyThis strategy uses a SMA much like an the faster EMA in many oscillators and the T3 average of the same period as the intermediate trend. Exits are defined by encounters with the Bollinger Band. The long term trend is defined by T3 moving averages of an even longer period.
BBliciousStandard Bollinger Band with :
- BB with 1 Standard Dev
- BB with 1.5 Standard Dev
- BB with 2..5 Standard Dev
Top and Bottom Ribbon Color Area
- Fill Area between Standard Dev 1 and 1.5 ( Top & Bottom )
[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.
Improved On balance volume with BB channel and double MAThis is an improved version of the on balance volume indicator.
I made it inside a bollinger band channel, so we can define better the zones. At the same time I applied 2 moving averages on OBV, to get a better idea of the trend and at same time that change direction of the trend.
Green - > uptrend - > we look for buy positions
Red - > downtrend -> we look for sell positions.
At the same time we have to be aware of crosses on bollinger bands, which can indicate a change in the trend .
Ultimate VWAP Bands- Ultimate VWAP Bands is a script that helps to decide and further clarify areas of oversold and overbought conditions.
- For example, when the price is in the lowest band it is extremely oversold relative to the VWAP . Hence it should be considered a good place to buy with a high risk to reward payoff.
- Each band is set at a fixed offset away from the VWAP . The "VWAP Band Multiplier" adjusts this and is a key part of the script. This allows the indicator to be adjusted based on the assets volatility . For example, with Crypto. A multiplier of 1 would be strongly advised. Whilst a multiplier of 0.1-0.25 would be useful for currency pairs.
- This indicator can be used for all manners of trading. However, it is most effective when used for scalping and swing trading.
Volume Weighted Bollinger Bands 出来高加重ボリンジャーバンドIt is a volume-weighted index of Bollinger Bands.
The central line is vwma so it's quite responsive
The standard deviation is also volume weighted
Charts without volume are not weighted with volume as 1.
It seems that the usage in trading is the same as the Bollinger band
ボリンジャーバンドを出来高加重した指標です
中央線はvwma出来高加重移動平均なのでかなり反応が良いです
標準偏差も出来高加重してしています
出来高の無いチャートは出来高を1として加重しないようにしています
トレードでの使い方はボリンジャーバンドと同じで良いと思われます
Stochastics and RSI HybridThis is an interesting study. We know bollinger bands can be a useful tool for price action, but what if we applied them to other indicators?
The top chart is the Stochastics and bottom chart represents RSI. We can see a relationship between the two indicators, where the signal line bounces of the bollinger bands.
The strategy is simple, when the signal lines bounce of their bollinger bands together, review price action and then take the trade. If you see one indicator going in the opposite direction to the other, or opposite to price action, then you may be observing divergence in which case a big move is about to happen.
If you wish to have this indicator further customised, please do not hesitate to contact me.
Radar Screen v3This is a combination of various indicators that very rarely conflict, thus giving us a good understanding:
- "Price Rally" detecting whether price is rallying, giving us confidence it will continue.
- Volume - knowing volume is going with the trend is a good confidence check.
- Trend Angle - This will go red or green depending on whether the price angle is going up or down, taken over three bars.
- VWAP for all of these stock traders.
- EMA8 is a very sensitive moving average, good for short term trades.
- CCI SMA is a strategy I commonly use, please check out my other indicators for a functional description.
- Stochastics is used throughout many systems.
- RSI BB shows where price is rebounding of the bollinger band and then moving up or down.
As per all of my indicators, the system is simple - The more green lines you see, the stronger the buy signal. The more red lines you see, the stronger the sell. If its a 50/50 mix of red and green, then don't trade.
I can customise this further or add other strategies, please message me.
[M2J] Indicator | Turtle Atom Duck Signal Turtle Atom Duck shows potential buy and sell
It consist of 3 indicators
Turtle - Donchian Channel
- bullish when price close above previous 1 bar high
- bearish when price close below previous 1 bar low
Atom - Bollinger Band
- bullish when price close above upper band
- bearish when price close below lower band
Duck - Moving Average (Default 50-period EMA)
- bullish when price close above moving average
- bearish when price close below moving average
When all 3 are bullish, buy signal appears
When all 3 are bearish, sell signal appears
Screener Turtle Atom Duck
Example:
FBMKLCI
Technology Sector
Health Sector
TOPGLOV
BINTAI
XOX
PRLEXUS
JCY
EURUSD
XAUUSD
Volatility Bands by DGTVolatility represents how large an asset's prices swing around the mean price, the degree of variation of a trading price over time, and is commonly measured with beta (β) coefficients, standard deviations (σ) of returns where tools such as Average True Range, Bollinger Bands, Keltner Channel, Squeeze Indicator, etc presents volatility concept
Volatility often refers to the amount of uncertainty or risk related to the size of changes in a security's value. The higher the volatility, the riskier the security - the price of the security can change dramatically over a short time period in either direction. A lower volatility - security's value does not fluctuate dramatically, and tends to be more steady
This study, Volatility Bands , attempts to present a way to measure and visualize volatility , using standard deviations (σ) and average true range indicator, and aims to point out areas that might indicate potential trading opportunities
I will try to explain the usage with examples,
same setup with different option selected
as you may observe from the examples different setting may have advantages and disadvantages over one another, it is recommended to verify a trading setup with different available options.
Additionally, It is recommended to use this indicator in conjunction with other technical indicators, or verify using chart/candle patterns. Below is an usage example using in conjunction with other indicator, in the given example “Neglected Volume by DGT” is selected
Similarities and Differences
Bollinger Bands depicts two standard deviations above and below a simple moving average, and Keltner Channel depicts two times average true range (ATR) above and below an exponential moving average
Volatility Bands study combines the approach of both Bollinger Bands and Keltner Channel, with different settings and different visualization
Default settings are one standard deviations and one time average true range (ATR) above and below 13 period exponential moving average. Setting can be adjusted by users but let me remind all testes are performed with the default settings.
Mathematically expressed as
Upper band area between “ema + stdev” and “ema + atr”
Lower band area between “ema – stdev” and “ema – atr”
A different display is added with the inspiration I get from one of the @quantgym ‘s study, many thanks @quantgym 😉
When difference band display is selected the study will reflect the area between “ema + stdev – atr” and “ema – stdev + atr”. As shown in the examples above
Note: standard deviation calculation can be adjusted based on price action or its moving average.
Other differentiation between BB and KC is with V-BANDS mostly we look for trade opportunities when price action move out of the bands and in most cases we assume market is consolidating when the price action is within the bands
The other indicator that presents similarities to Volatility Bands is Squeeze Indicator, which measures the relationship between Bollinger Bands and Keltner's Channels to help identify consolidations and signal when prices are likely to break out. Mainly Volatility Bands is different version of Squeeze indicator, in fact the purpose is almost same but visualization is completely different. Additionally Volatility Bands Offers trading opportunities whereas Squeeze indicator only presents market states unless a momentum indicator is adapted to Squeeze indicator.
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Bollinger Bands Strategy with Intraday Intensity IndexFor Educational Purposes. Results can differ on different markets and can fail at any time. Profit is not guaranteed.
This only works in a few markets and in certain situations. Changing the settings can give better or worse results for other markets.
This is a mean reversion strategy based on Bollinger Bands and the Intraday Intensity Index (a volume indicator). John Bollinger mentions that the Intraday Intensity Index can be used with Bollinger Bands and is one of the top indicators he recommends in his book. It seems he prefers it over the other volume indicators that he compares to for some reason. III looks a lot like Chaikin Money Flow but without the denominator in that calculation. On the default settings of the BBs, the III helps give off better entry signals. John Bollinger however is vague on how to use the BBs and it's hard to say if one should enter when it is below/above the bands or when the price crosses them. I find that with many indicators and strategies it's best to wait for a confirmation of some sort, in this case by waiting for some crossover of a band. Like most mean reversion strategies, the exit is very loose if using BBs alone. Usually the plan to exit is when the price finally reverts back to the mean or in this case the middle band. This can potentially lead to huge drawdowns and/or losses. Mean reversion strategies can have high win/loss ratios but can still end up unprofitable because of the huge losses that can occur. These drawdowns/losses that mean reversion strategies suffer from can potentially eat away at a large chunk of all that was previously made or perhaps up to all of it in the worst cases, can occur weeks or perhaps up to months after being profitable trading such a strategy, and will take a while and several trades to make it all back or keep a profitable track record. It is important to have a stop loss, trailing stop, or some sort of stop plan with these types of strategies. For this one, in addition to exiting the trade when price reverts to the middle band, I included a time-based stop plan that exits with a gain or with a loss to avoid potentially large losses, and to exit after only a few periods after taking the trade if in profit instead of waiting for the price to revert back to the mean.