Relative Channel BandwidthThis indicator uses different volatility channels - Bollinger Band, Donchian Channel and Keltner Channel width to measure volatility.
Indicator plots channel bandwidth percentage with respect to close price.
This is not same as Bollinger Percent B - which is measure of where price is with respect to band. Instead this indicator is similar to ATR Percent indicator published here:
Plotting is color coded to indicate volatility zone:
Red : Extreme volatility
Orange : High volatility
Lime : Low volatility
Green : Extreme low volatility
These levels are again derived by long period bollinger bands
Полосы Боллинджера (BB)
RSIPRO TrendIndicatorThis RSIPRO indicator is based on RSI , BB and EMA and it has LONG/SHORT alerts for signals
In script settings you can specify:
1) Dispertion value, 0.15 by default. Dispertion around bolinger bands with RSI as source signal.
2) Use smoothing option and smooth factor value (3 by default). It smoothes RSI with moving average filter.
3) Enable/Disable filter to show signals only after RSI overbought/oversell zones
Disabled by defaults and RSI is 65 for upper zone and 35 for lower zone.
You can also specify how many bars back before current bar this filter must do. It's 10 by default, you can vary it up to 90.
Best fits for 4H timeframe. Also good for 15min scalping strategy. Fits for any crypto coins, forex, metals, oil and bonds.
This is invite only script. PM me if you want to test it.
Volume weighted KAMA bands with SignalsOverview
KAMA : Kaufmann's Adaptive moving Average if used correctly can help us get good signals to start working on,
This indicator uses 4 different kamas and Vwap for Average weighting
The Average Weight is calulated by
AverageWeight =( VWAP+ Kama1+ Kama2 + Kama3 + Kama4)/5
After the Average Weights are calculated Standard Deviation Bands of 2sigma and a lookback period is Plotted around the Average Weights
Then with the help of a signal generator Rate of change signals are calculated and plotted as Arrows (green and red)
The script comes with Alerts for Long and Short Signals
The yellow boxes you see are the points of standard deviation compressions in the bands
How to use
Use it as a screener, for Long short signals by creating alerts around different securities as you like
Which Timeframe it works
It will work over any timeframe
How to get access
Just add the script to favorites and start using it on your charts (apply it by going to the favorites section when you click Fx icon for indicators)
Thanks to tradingview for providing such an awesome platform
Adoptive Supertrend - BandsAnother adoption of supertrend. This time based on different channels - Bollinger Band, Keltner Channel, Donchian Channel and Pivot point based Donchian channel.
When price hits top of bands, it is considered as start or continuation of uptrend. When price hits bottom of the band it is considered as start or continuation of downtrend. Hence, supertrend is drawn based on these calculations. Use ATR Periods and ATR Multiplier to create stops certain ATR away from band's top and bottom.
Other supertrend adoptions published are here:
Pivot point based donchian channel is published here:
Modified Smoothed Heiken AshiThis code is based on Smoothed HA candle which will work on all chart types
condition for BUY:
1. When close crosses Smoothed HA
2.Close should be in side upper band
3.BBW must be greater than the average
vice versa for sell
this code takes data from HA chart so that it can be applied on all chart type.
Bollinger band and Bollinger band width conditions added for removal of unwanted signals
Alert added so that you can apply alert and check it in real time performance
thanks to The Secret Mindset You tube channel from where I got the idea to convert this into a pine script indicator
smooth HA taken from "Smoothed Heiken Ashi Candles v1" at //@jackvmk
Donchian DipThe Donchian Dip
This strategy is designed to look for good "Buy the Dip" entries on stocks that are clearly in a strong 1-year upward trend. If you do not know how to identify those stocks on your own please do not use this system or continue your education until you do. The Donchian Dip strategy was designed on the daily time frame but works amazingly well on both daily and weekly timeframes. It does still work on intraday charts also if the current trend on the daily chart is in a strong uptrend.
Chart Setup:
3-period Donchian Channel with a 1-period offset (hide basis)
Bollinger Bands with the default settings of 20/2 (display basis)
Entry Signals:
There are 3 different entry signals that will be printed on the chart that have similar underlying criteria but are ranked based on skill level just like ski slope skill levels! I recommend only taking green entries until you are familiar with the system and the stocks you are trading.
Green Easy Entry:
This is the safest buy the dip entry that is normally found at or near a large retracement bottom. You might get one or two bad entries but be persistent and eventually, a great entry will present itself!
These are the specifics for the conditions that trigger a Green entry if you want to know what they are:
1. The current bar is an up bar (green or white bar) and closed above the lower Donchian channel
2. Previous bar or 2 bars back closed below the lower Donchian channel
3. Previous bar or 2 bars back closed below the Bollinger Band Basis (20 SMA )
4. The low of the previous bar or 2 bars back was below the lower Bollinger Band
Blue Intermediate Entry:
This is a decent entry if you missed the green entry, want to add to an existing position, or are not sure it will pull back far enough to even give a green entry. I would suggest only trade these entries to add to an existing pyramid position or get back into a trade that you were recently stopped out of. However, on high-flying stocks like TSLA these signals and the Black Diamond entry signals might be the only ones you get for a long time. Also, on the weekly chart, Blue or Black entries are sometimes all you will get for a year or more.
These are the specifics for the conditions that trigger a Blue entry if you want to know what they are:
1. The current bar is an up bar (green or white bar) and closed above the lower Donchian channel
2. Previous bar or 2 bars back closed below the lower Donchian channel
3. Previous bar or 2 bars back closed below the Bollinger Band Basis (20 SMA )
Black Diamond Advanced Rule:
This is normally just a small pullback re-entry signal on a strong trending stock like TSLA ...trade with extreme caution!!! You have been warned but daredevils feel free to give it a shot. I sometimes do trade these entries if the market and sector of the stock I am trading are extremely bullish or if I am looking to add to a position but I use a conservative stop.
These are the specifics for the conditions that trigger a Black entry if you want to know what they are:
1. The current bar is an up bar (green or white bar) and closed above the lower Donchian channel
2. Previous bar or 2 bars back closed below the lower Donchian channel
3. Previous bar or 2 bars back closed above the Bollinger Band Basis (20 SMA )
Exit Criteria:
The goal of this strategy is to buy the dip and hold as long as possible...let's practice some Paytience and exercise those holding muscles! RLT!!!
So, we don't want to exit early but we also want to protect our profits somehow. We do this by using the built-in trailing stops that are defined by dots of three different shades of purple on the chart (feel free to change these in the settings). Simply move your trailing stop to the highest current dot price level. Do not move the trailing stop down ever even if a lower dot is printed later. These are simply the suggested trailing stops and definitely use your own judgment for exits but if you backtest this strategy enough you will most likely discover that in the long run, these trailing stops work really well.
I hope this strategy helps you to identify good "Buy the Dip" entries on stocks you love as well as trains you to hold your winners longer for bigger gains.
***HOW TO ADD TO YOUR CHARTS***
1) Click the "Add to Favorite Scripts" button
2) Go to a stock chart and click the "Indicators" icon at the top
3) Next, on the left, click the "Favorites" and then click the "Naked Put - Growth Indicator v2"
4) It should appear on your charts, and you can click the "gear" icon on the study to edit a few settings.
5) Read the release notes above so you understand how it works.
rocketLaunchI wanted to see if I could programmatically identify the conditions I saw just before Bitcoin broke its all-time high end of 2020. The signal picks up several rocket launch moments prior to launching which is quite cool. It also picks up a few false starts, however. In any case, I would have loved to be stopped out on those false starts but been there for all the starts this thing picks up.
It could probably use more confirmatory elements such as trailing conditions and volume perhaps?
BINANCE:BTCUSDTPERP
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
Bollinger Bands Fibonacci Ratio Standard Deviation LINESHello Traders.
in this script, Bollinger bands are made based on a standard deviation with respect to Fibonacci ratios. I hope you can be satisfied. If you are satisfied with this script, please like and feel free to share your comments with me.
Teal Upper and Lower B-Bands = 1.0 Standard Deviation
Aqua Upper and Lower B-Bands = 1.618 Standard Deviation
Orange Upper and Lower B-Bands = 2.618 Standard Deviation
Red Upper and Lower B-Bands = 3.618 Standard Deviation
Purple Upper and Lower B-Bands = 4.236 Standard Deviation
you can use this indicator by clicking the button (Add to Favorite Scripts) and then add it to your chart from (Fx) section.
CryptoBreakers MTF Sqz StrategyThis is a Multi Time Frame squeeze strategy that has been consistently catching large BTC and ETH moves.
It's building up on the basic squeeze play of both the upper and lower Bollinger Bands going inside the Keltner Channel
and in one indicator quickly seeing when both Bollinger Bands start to come out of the Keltner channel and positioning us
for the large move that is about to take place.
Before I explain the rules for the winning strategy, let's cover the basics on the indicator.
1. When both the upper and lower Bollinger Bands go inside the Keltner Channel, a compression is in place, and the squeeze is on. This is reflected on the indicator as colored dots.
2. The indicator covers 5min, 10min, 15min, 30min, 39min, 78min, 195min, 1hr, 2hr, 4hr, 1 day, 1 week, and 1 month timeframes for squeezes.
Your chart needs to be set to the lowest time frame resolution of 5min in order for the indicator to show squeezes in all higher timeframe resolutions.
So whatever your chart resolution is, the indicator will show the squeezes in that timeframe and above correctly.
3. ORANGE dots indicate high level of compression. RED dots indicate medium level of compression. BLACK dots indicate low level of compression and the GREEN dots indicate no compression.
4. Generally, higher the level of compression and the longer duration of the squeeze, the more explosive the move expected. With this one indicator I was able to consistently catch 500 plus
point moves in BTC and 30-50 point moves in ETH.
Let's review the rules of the strategy:
1. For the ideal set up, we look for two lower timeframe resolutions (preferably 30 and 39 minutes OR 39 minutes and 78 minutes) to be in squeeze for at least 6 dots and at the sametime we
need to see one or two higher timeframe resolutions in squeeze (195 minutes and 1 day OR 1 day and 1 week resolutions)
2. Determine the direction of the trend in the higher time frames (bullish and bearish). We look for stacked up or down EMAs of 8, 21, 34, 55 and 84 on a daily and/or weekly chart.
3. For entry, wait for the lower timeframe squeeze to fire meaning look for the first green dot after the black, red, or orange dots (minimum six in total).
For example the 30 min row shows the first green dot after the sequence of squeeze dots and the direction of the price movement (up or down) at that green dot bar aligns with the direction of the price movement in the higher timeframe chart.
4. Once the lower timeframe squeezes fire, we follow the move to continuation of the firing of the higher timeframe squeezes.
5. Our exit will be at the price point of 6-9 green dots after the higher timeframe squeeze fired in the same direction as the lower timeframe.
I created this to make it easier to see the set up on any stock and crypto chart. It has been working consistently on BTC and ETH price action. I have not seen anything on TV that cover multi time frame squeeze play in a very simple and clean way.
This makes it very easy to see the set up with one indicator. I'm using this with my trading group.
If you would like to get access, please feel free to DM me at @CryptoBreakers
ATR PercentageThis indicator plots ATR as percentage of close price. Also applying bollinger bands on it to visualize it is relatively high or low.
Sentinel Program - A Bollinger Band Strategy, with alertsThis script plots the Bollinger Bands and confirms entry and exits by using RSI values, Stoch, and ADX Curve. Works on any time-frame.
The scope of the script is to reduce the number of fake breakouts to prevent further declines when entering positions. Often times when using Bollinger bands, a close below the lower band presents a buying opportunity but there is further movent to the downside and vise versa when taking profits.
Entry Conditions
Prior candle low below lower band
RSI above 30
Stochastic crossover above 20
ADX curve greater than 25
Exit Conditions
Prior candle highw above upper band
RSI crosses below 70
Stochastic crossunder above 80
Each of the above values can be adjusted in the inputs menu to fine-tune your entry and exit positions.
Using COINBASE:ETHUSD we can see that the conditions have been met before plotting buy and sell signals.
I have added alerts to help identify possible entry and exits and from there I manually enter or exit / adjust stop-loss. For example, sometimes it will print a sell signal because stochastic crossed over but RSI is still rising so I will adjust a tighter stop-loss to capture further gain if they are there.
Test it out, adjust the settings to see if you can find better results, and let me know!
Neapolitan BandsThe Neapolitan Bands were derived from Jean Marc Guillot's 2001 IFTA trading strategy. In his study published by the International Federation of Technical Analysis titled, "Using Indicators from the Derivatives Markets to Forecast FX Moves" Guillot utilizes multiple bollinger bands of various deviations to determine trends and reversals, entries and exits. I isolated this particular part of his overall trading strategy because it has been a useful trend following indicator for me.
Some basics:
Neapolitan Bands can help identify points that a trend starts and ends, as well as reversals when price is ranging.
These bands are typically paired with another indicator like Guillot did to help separate/time trend or reversal signals. (He used MACD, Slow Stochastic, and RSI)
Parts of this indicator:
The period is by default 55 to identify "intermediate" trends. Not short or long term ones.
The blue area shows the 1st standard deviation. This is the "normal range" where price "likes" to be.
The green area shows the 2nd standard deviation and identifies/defines trends. Closes in this area are used for entering trends long or short.
The red area shows the 3rd standard deviation that shows either a spot to take profit/enter a reversal trade, or a point where the market is free falling.
Trend trading rules:
Entry and exit signals for trends are based on price closing above and below the 1st standard deviation, or blue area. If you expect a bullish trend, you buy once price enters the upper green area.
Guillot recommends setting a stop loss to the MA period of the Neapolitan Bands. So if it's 55 periods, you set the stop loss at the 55 SMA.
Reversal trading rules:
For reversals Guillot says, "In a trading range, bands act as supports and resistances. In extreme conditions reversals can occur within or past the 2nd standard deviation." For us, this means that technically anywhere in the green or red areas, a reversal can occur when the price is ranging. Typically this happens at the edges of the bands.
The "edge to edge" trade:
This is a strategy I took from Ichimoku Clouds and applied to the Neapolitan Bands. An "edge to edge" trade is when price closes back into the blue area from one edge, and price travels all the way to the other edge of the blue area. This can apply going from the edge of one green area to the other edge.
Note that this is one piece of Guillot's trading system, and not the whole thing. On top of that I have modified the original parameters to suit the function of trend following, and added an extra bollinger band. Using a shorter period like 20 is more optimal for shorter expected trends or reversals, and it's what Guillot used himself.
Thanks to Sean Nance for reminding me the indicator looks like ice cream! ( coming up with the name :P )
Multi Band ChannelPutting multiple bollinger bands/keltener channels together helps visualize the relative price movement. I have also used this in my BuyTheDip V2 strategy to measure dip and bounce back. 7 Standard deviation is used here. These are calculated based on the input fields StdDevStart and StdDevStep .
BB+K strategyApplying Bollinger Bands and K-bar strategies
Suitable for long time periods
Suitable for forex trading, when the forex deviation is too large, the Fed will intervene and thus correct
Strategy: Enter when the price hits the upper or lower BB track and there is a reversal of the strong signal, and exit when it hits the other track and there is a reversal signal.
BuyTheDip V2This is enhanced version of BuyTheDip Strategy which can be used for stocks and cryptos as well along with indices.
In addition to V1, the enhancement include breaking the zone into multiple levels based on multiple standard deviation Bollinger bands. Dip is confirmed only when price bounce back certain levels from the bottom. If price keeps going down, strategy does not generate signal.
Input parameters are as below:
ATR Parameters : AtrLength and AtrMult to calculate trailing stops
Trailing Condition parameters : TrailAfterBars, TrailTargetState - Trailing does not happen immediately. It either waits for TrailAfterBars to complete or price moves up by TrailTargetState levels in multi bollinger band level setup - whichever happens first.
Force Exit Parameters : If the price state based on multi-bollinger bands drop by TargetStopStateDiff level from its peak, then it will force exit from the trade if ExitOnFailureSignal is checked.
Entry Filters : It is not a dip if the instrument is already in downtrend. ConsiderYearlyHighLow , ConsiderNewLongTermHighLows and ConsiderMAAlignment are used for filtering entries so that we only buy the dip for uptrending instruments.
Vegas Tunnel strategyApply Vegas Tunnel,
Use EMA144 169 as medium-term trend support
Also use EMA 576 676 and 4 multiples of 144 and 169 as long-term support and trend direction
Also increase EMA 36 43 as a short-term trend support
Suitable for stocks, indices, commodities
The applicable time scale can back-test the usability of the strategy by itself, and select the most applicable target
Introduction to current trading strategy:
According to the trend, the price will enter the market when it touches the support of each stage. When it touches the bollinger bands, it is Squeeze. Hold until it leaves the bollinger bands
But the trading strategy can be more optimized, see the code for details
Overnight Bollinger Band ExtremesThis script is a combination of my overnight fakeout script and bollinger band color bars. It's designed to be used on CME/CBOT Equity Indexes during their GLOBEX session. It uses the built in Bollinger Band script and highlights bars that exceed the upper/lower bands during the overnight session.
(JS) VWAP BandsThis is a pretty simple script here - I took the VWAP and combined it with Bollinger Bands.
The bands can vary a lot based on chart resolution, so I wanted to make sure the resolution could be modified so you can use the resolution you're most comfortable with, or find the most success with.
Length:
Length of bars used to calculate the bands.
Standard Deviation Band 1-3:
There's three bands all together, this option allows you to modify the number of standard deviations per band.
VWAP Period:
This modifies when you want the VWAP to begin (Session, Week, Month, Year).
Offset:
This moves the VWAP and the bands the amount of bars you select, default is of course set to zero.
Source:
This selects the source of calculation, HLC/3 is the default VWAP calculation.
This is a pretty self explanatory script, I thought being able to see the standard deviations of the VWAP could prove to be useful - hope you all like it!
Momentum Strategy [MA Crossover + Squeeze Release + Alerts]This is a Strategy with associated visual indicators and Buy/Sell/Close Alerts for the Squeeze Momentum Indicator .
Development Notes
-------------------------
This is a fork of LazyBear's Squeeze Momentum Indicator histogram with an added moving average crossover for multiple trade signal confirmation. Functionality for Multi-Timeframe Resolution was also enabled and code was updated for PineScript v4 compatibility.
Strategy Description
-------------------------
Enter trade when the active crossover period (identified by background crossover indicator/zone) correlates with a squeeze release (black to gray cross along midline). BUY Long if momentum in uptrend or SELL Short if in downtrend. Close trade when momentum reverses.
Alerts configured for entering Long/Short position and to Close order.
Designed to have only one open long or short position at a time (no pyramiding) with an associated close order for each.
Indicator Visuals
--------------------
Crossover zone background (green or red) based on last crossover direction (only buy orders are triggered in a buy zone and sell orders in a sell zone)
Moving average crossover line matches trend (buy upwards on green and sell downwards on red)
Buy (green circle) and Sell (red circle) signals at the point of crossover
Buy (green cross) and Sell (red cross) signals at squeeze release on the midline
Long (green arrow) and Short (red arrow) order label when every indicator is triggered together
Close (purple arrow) and label when either trend or crossover zone changes
Recommend backtesting with the resolution set to current timeframe to avoid repainting; no other known repainting. There is a current bug or flaw in the script where all the Close and some of the Long and Short orders are not executed by the strategy (this doesn't affect the visual indicators, only the strategy).
Note that the provided backtest result is based on a position sizing of 10% equity with 100k initial capital. The 15-minute timeframe performed the best, with the 30-minute a close second, and 5/45-minute tied for third. Profit/loss went into the red when expanding out to 2-hours or beyond. I suspect this could be improved upon if you follow the Alerts on the oscillator versus rely solely on the strategy (due to the aforementioned issue with all entry and exit positions not being depicted).
Disclaimer
Past performance may not be indicative of future results. Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting. This post and the script are not intended to provide any financial advice.
Script is currently protected (due to the extensive development in the strategy) to prevent the source from being copied and sold.
Cosmic BB SRThis script is based on Bollinger Bands/Bandwidth data and displays support and resistance levels (thick horizontal lines), the direction/volatility of the levels (thin dynamic lines), and the testing of the levels (cross markers).
Bollinger Band Color BarsThis is a simple addition to the built in Bollinger Bands script. All it does is replaces the traditional plotting of Bollinger Bands with color bars.
Mean Reversion Channel - (fareid's MRI Variant)Description :
Mean Reversion Channel objective, based on Mean Reversion theory ( everything has a tendency to revert back to its mean), is to help visualizing:
Inner Channel -> Dynamic Support and Resistance
Outer Channel -> Overbought/Oversold Zone which may signal consolidation phase or potential reversal due to unsustainable move
Details on some of the filtering type used for mean calculation can be read in Ehlers Technical Papers: "Swiss Army Knife Indicator" and/or his book "Cybernetics Analysis for Stock and Futures"
Disclaimer:
These study scripts was built only to test/visualize an idea to see its viability and if it can be used to optimize existing strategy.
Any ideas to further improve this indicator are welcome :)