BB-Pivots-GANN-Levels-stockInshotHello everyone,
With help of open source WD gann codes, i combined this study with Bollinger band with entry & exit conditions.
For stock Selection you way chose fixed stock list .
These levels has been derived from daily WD GANN Astro Levels.
=== Rules ===
Long Entry Condition : Price must be above resistance line with Bollinger band blast will be the best entry . You may take the target with the help of this study.
Stop loss can be same candle low
Short Entry Condition : Price must be below support line with Bollinger band blast will be the best entry . You may take the target with the help of this study.
Stop loss can be same candle High
Please calculate the Risk Reward with the Future Target Price & Stop loss levels.
No Trading Zone Rules -
If price is in middle of support & Resistance .one way avoid such trades as it has been observed ,That most of the time stock goes sideways.
===Rules End ===
study has been kept open source for the understanding the concept.
Do your own Research with this study for better understanding with your trading style
Bande di Bollinger (BB)
Bollinger bands volume support&resistance multi timeframe [LM]Hello traders,
I would like to introduce you Bollinger bands volume support&resistance multi timeframe script. The benchmark is the Upper Bollinger Band applied on volume with a look-back setting of 233 and a displacement of 3 standard deviations.
(There’s nothing magical about the setting of 233, but you should use a long-term parameter so that you get a stable Bollinger Band. Short-term parameters tend to produce erratic bands.)
If a price bar shows volume that exceeds this benchmark, we will zoom in and use it as potential support or resistance area in our price analysis. if there is only one candle that will crossover and cross under than only high and lo of that candle is counting. If there are more consecutive bars that are above upper bollinger band than the range high and lo is calculated from high and lows of that candle
As you can see on the image high and low is only rendered when volume crossover and cross under bollinger bands
I hope you will enjoy it
Heatmapped Bollinger BandsBollinger Bands have been used for many years to determine the volatility and potential reversal area of markets. This script takes standard Bollinger Bands (BB) and transforms it into a heatmap of reversal areas.
A basic explanation on how this indicator works is:
- Yellow is where the price likes to stay,
- Orange is where the price might begin to reverse in a weak trend, and
- Red is where the price will either pause to let the yellow range catch up, or where the price will jump back down into the yellow range to stabilize.
For educational purposes: this script is essentially just taking the standard method of creating Bollinger Bands (seen in the 'Main Lines' portion of the script), coloring the plots 'na' so that they aren't seen, and using the 'fill' function to plot the yellow to red rainbow up to the top. I believe I made the yellow range 0.2*stdev to 1*stdev, the orange range 1*stdev to 2*stdev, and the red range 2*stdev to 3*stdev. You can get the hex code rainbow from any website that has a color slider.
** Disclaimer: THIS IS NOT TRADING ADVICE. Bollinger Bands should be used in conjunction with other indicators to make better decisions but NO STRATEGY IS PERFECT. Always backtest any strategy before using it live. **
Bollinger Bands + Moving Average (BBMA Oma Ally)Found this strategy in babypips forums.babypips.com
This strategy using BB and MA
BBMA Oma Ally Trading Technique
I’m just sharing this Forex Technique that helping me making positive result.
In BBMA, BB (Bollinger Bands) act as Dynamic Support and Resistance.
SETTING OF BBMA - BOLLINGER BANDS
Period : 20
Deviations : 2
Shift : 0
Apply to : Close
Style : Dodge Blue
MA (Moving Average) are used to detect potential entry point.
SETTING OF BBMA - MOVING AVERAGE
Ma5 Hi
Period : 5
Ma Method : Linear Weighted
Apply to : High
Style : Red
Ma10 Hi
Period : 10
Ma Method : Linear Weighted
Apply to : High
Style : Yellow
Ma5 Low
Period : 5
Ma Method : Linear Weighted
Apply to : Low
Style : Magenta
Ma10 Low
Period : 10
Ma Method : Linear Weighted
Apply to : Low
Style : White
Ma50
Period : 50
Ma Method : Exponential
Apply to : Close
Style : Lime
.
EXTREM (SIGNAL)
Extrem is an early signal to say the Market journey is beginning to end - but not yet confirmed
Will only confirm when there is a reversal candle.
Extrem is not valid when there is a CS momentum, although Ma outside BB.
CHARACTERISTICS OF EXTREM
Ma out of Top / Low BB (will not valid if there is cs momentum, although Ma is outside BB)
Reverse candle must exist, as it indicates the journey of a Market is ending (not necessarily 1 or 2 cs)
Retest candle (entry point)
Entry at Highest or Lowest volume
Entry retest candle at Ma5 or body candle
MHV (LOSS VOLUME MARKET) (SETUP)
It is a setup for the beginning of long distance Market journey
This setup gives a validation for the Extrem signal earlier
It is to show the loss of strength for the market.
MHV is valid once CSA (direction candle) appear
***If the candle close NOT above or below Top / Low BB after the first Reentry, after MHV there is a directional candlestick, then there will be a reentry and after the reentry there is no momentum “COMPULSORY TP”
CHARACTERISTICS OF MHV :
Candle CANNOT close above or below Top / Low BB
Must have reverse candle, because reverse candle is confirming the end of the journey (Marking at candle body)
Retest candle (entry point) at Ma5 or highest volume / lowest at that current time
Must happen after Extrem
TYPES OF MHV
5 types but i can only post 1 photo. So sorry i cant give more on this.
RE-ENTRY
CHARACTERISTICS OF REENTRY
Candle close can not pass Ma5 / Ma10
It will be strong when the candle close does not pass Ma5 / Ma10 and also Mid BB
Candle close did not come in. He found Ma5 / Ma10 and mid BB at that Time would make the re-entry stronger
If there is a re-entry in Ma5 / Ma10 and mid BB, the minimum of 3 drops of candles or increments (follow TF) re-entry will be strong
Following market trend, then just search for re-entry and entry
Wait for the second candle, because the first candle validates the reentry and the second candle is for entry
Burgerized MTF BB + Reverse Engineering RSI (RERSI) + Hidden S&RThis is a mod of a script by informanerd that has helped me immensely with my trading setup.
HUGE HUGE HUGE credit to him! Check him out! He gave me permission to publish this and so here I am, sharing it with you. I hope you all like it!
This version is functionally essentially the same - the difference is in visualization choices and automation.
Instead of selecting different timeframes, and thus having to change not one but 4 timeframes manually every time you look at a different time frame on the main chart, I found (with help from the kind community in the Pine Script chat right here on Tradingview!) a method to choose multiples so that you can have consistent results no matter what timeframe you are looking at.
Default is set to multiples of 2, 4 and 8 which is the system I found works best for myself personally.
I also changed visualization - crossovers are now highlighted in the background of the respective bands. By default I have chosen different transparency levels for crossovers then sitting inside the bands. This destroyed the ability to modify colors the old school way in Style tab, but I have added inputs for all the relative settings so you can modify the visual aspect to your hearts content, as I know my colors make most people barf (something I did when I was younger maybe?).
Hope the nice barfs of color help you quickly see trends and reversals - I know they help me! Happy trading, no matter your timeframe! xD
HYE Combo Market [Indicator] (Vwap Mean Reversion+Trend Hunter)Indicator version of the strategy:
* Alerts added.
TIPS AND WARNINGS
1-) The standard settings of this combo script is designed and tested with daily timeframe. For lower timeframes, you should change the indicator settings and find the best value for yourself.
2-) Only the mean vwap line is displayed on the graph. For a detailed view, you can delete the "//" marks from the plot codes in the script code.
3-) This is an indicator for educational and experimental purposes. It cannot be considered as investment advice. You should be careful and make your own risk assessment when opening real market trades using this indicator.
HYE Combo Market [Strategy] (Vwap Mean Reversion + Trend Hunter)In this strategy, I used a combination of trend hunter and vwap mean reversion strategies that I published before.
Trend Hunter Strategy:
Mean Reversion Vwap Strategy:
The results are quite impressive, especially for bitcoin.
While the hodl return for bitcoin was 13419%, the strategy's return in the same period was about 5 times (65000%) of this.
s3.tradingview.com
In this combo strategy, I made some changes to the original settings of the strategies used together and added some more new features.
Trend Hunter Strategy Settings: (Original / Combo)
- Slow Tenkansen Period : 9 / 9
- Slow Kijunsen Period : 26 / 13
- Fast Tenkansen Period : 5 / 3
- Fast Kijunsen Period : 13 / 7
- BB Length : 20 / 20
- BB Stdev : 2 / 2
- TSV Length : 13 / 20
- TSV Ema Length : 7 / 7
* I also added a "vidya moving average" to be used as a confirmation tool to open a long position. (Candle close must be above the vidya line.)
Vwap Mean Reversion Strategy Settings: (Original / Combo)
- Small Vwap : 2 / 8
- Big Vwap : 5 / 10
- Percent Below to Buy : 3 / 2
- RSI Period : 2 / 2
- RSI Ema Period : 5 / 5
- Maximum RSI Level for Buy : 30
* I also added a "mean vwap line" to be used for exits in this part of the strategy. In the original version, when small vwap crossovers big vwap, we close the position, but in this strategy we will wait for the close above the mean vwap.
TIPS AND WARNINGS
1-) The standard settings of this combo strategy is designed and tested with daily timeframe. For lower timeframes, you should change the strategy settings and find the best value for yourself.
2-) Only the mean vwap line is displayed on the graph. For a detailed view, you can delete the "//" marks from the plot codes in the strategy code.
3-) This is a strategy for educational and experimental purposes. It cannot be considered as investment advice. You should be careful and make your own risk assessment when opening real market trades using this strategy.
________________________________________________________
Bu stratejide, daha önce yayınladığım trend avcısı ve vwap ortalamaya geri dönüş stratejilerinin bir kombinasyonunu kullandım.
Sonuçlar özellikle bitcoin için oldukça etkileyici.
Bitcoin için hodl getirisi %13419 iken, stratejinin aynı dönemdeki getirisi bunun yaklaşık 5 katı (%65000) idi.
Bu kombo stratejide, birlikte kullanılan stratejilerin orijinal ayarlarında bazı değişiklikler yaptım ve bazı yeni özellikler ekledim.
Trend Avcısı Strateji Ayarları: (Orijinal / Combo)
- Yavaş Tenkansen Periyodu : 9 / 9
- Yavaş Kijunsen Periyodu : 26 / 13
- Hızlı Tenkansen Periyodu : 5 / 3
- Hızlı Kijunsen Periyodu : 13 / 7
- BB Uzunluğu : 20 / 20
- BB Standart Sapması : 2 / 2
- TSV Uzunluğu : 13 / 20
- TSV Ema Uzunluğu : 7 / 7
* Ayrıca long pozisyon açmak için onay aracı olarak kullanılmak üzere "vidya hareketli ortalama" ekledim. (Mum kapanışı vidya çizgisinin üzerinde olmalıdır.)
Vwap Ortalamaya Dönüş Stratejisi Ayarları: (Orijinal / Combo)
- Küçük Vwap : 2 / 8
- Büyük Vwap : 5 / 10
- Alış İçin Gerekli Fark Oranı : 3 / 2
- RSI Periyodu : 2 / 2
- RSI Ema Periyodu: 5 / 5
- Alış için gerekli maksimum RSI seviyesi : 30
* Stratejinin bu bölümünde pozisyondan çıkışlar için kullanılacak bir "ortalama vwap çizgisi" de ekledim. Orijinal versiyonda, küçük vwap, büyük vwap'ı yukarı kestiğinde pozisyonu kapatıyoruz, ancak bu stratejide, ortalama vwap'ın üzerindeki kapanışı bekleyeceğiz.
İPUÇLARI VE UYARILAR
1-) Bu birleşik stratejinin standart ayarları, günlük zaman dilimi ile tasarlanmış ve test edilmiştir. Daha düşük zaman dilimleri için strateji ayarlarını değiştirmeli ve kendiniz için en iyi değeri bulmalısınız.
2-) Grafikte sadece ortalama vwap çizgisi görüntülenir. Ayrıntılı bir görünüm için strateji kodundaki "plot" ile başlayan satırlarda grafikte görünmesini istediğiniz özelliğin önündeki "//" işaretlerini silebilirsiniz.
3-) Eğitim ve deneysel amaçlı bir stratejidir. Yatırım tavsiyesi olarak değerlendirilemez. Bu stratejiyi kullanarak gerçek piyasa işlem açarken dikkatli olmalı ve kendi risk değerlendirmenizi yapmalısınız.
Compare Crypto Bollinger Bands//This is not financial advice, I am not a financial advisor.
//What are volatility tokens?
//Volatility tokens are ERC-20 tokens that aim to track the implied volatility of crypto markets.
//Volatility tokens get their exposure to an asset’s implied volatility using FTX MOVE contracts.
//There are currently two volatility tokens: BVOL and IBVOL.
//BVOL targets tracking the daily returns of being 1x long the implied volatility of BTC
//IBVOL targets tracking the daily returns of being 1x short the implied volatility of BTC.
/////////////////////////////////////////////////////////////////
CAN USE ON ANY CRYPTO CHART AS BINANCE:BTCUSD is still the most dominant crypto, positive volatility for BTC is positive for all.
/////////////////////////////////////////////////////////////////
//The Code.
//The blue line (ChartLine) is the current chart plotted on in Bollinger
//The red line (BVOLLine) plots the implied volatility of BTC
//The green line (IBVOLLine) plot the inverse implied volatility of BTC
//The orange line (TOTALLine) plots how well the crypto market is performing on the Bolling scale. The higher the number the better.
//There are 2 horizontal lines, 0.40 at the bottom & 0.60 at the top
/////////To Buy
//1. The blue line (ChartLine) must be higher than the green line (IBVOLLine)
//2. The green line (IBVOLLine) must be higher than the red line (BVOLLine)
//3. The red line (BVOLLine) must be less than 0.40 // This also acts as a trendsetter
//4. The orange line (TOTALLine) MUST be greater than the red line. This means that the crypto market is positive.
//5.IF THE BLUE LINE (ChartLine) IS GREATER THAN THE ORANGE LINE (TOTALLine) IT MEANS YOUR CRYPTO IS OUTPERFOMING THE MARKET {good for short term explosive bars}
//6. If the orange line (TOTALLine) is higher than your current chart, say BTCUSD. And BTC is going up to. It just means BTC is going up slowly. it's fine as long as they are moving in the same position.
//5. I use this on the 4hr, 1D, 1W timeframes
///////To Exit
//1.If the blue line (ChartLine) crosses under the green line (IBVOLLine) exit{ works best on 4hr,1D, 1W to avoid fakes}
//2.If the red line crosses over the green line when long. {close positions, or watch positions} It means negative volatility is wining
Moving Average Band Width [CC]The Moving Average Band Width was created by Vitali Apirine (Stocks and Commodities Aug 2021 pg 25) and this is of course an extension based on my previous Moving Average Bands script. For those of you that aren't aware, the Band Width indicator is an indicator that tells you how close the upper and lower bands are to each other which is a great determination of how volatility is increasing or decreasing. This acts as both a trend indicator and a volatility indicator. I have included strong buy and sell signals in addition to normal ones so stronger signals are darker in color and normal ones are lighter. A great buy signal is when you are in an uptrend (so the line is green already) and the indicator line is moving up which means strong underlying volatility.
Let me know if there are any other indicators or scripts you would like to see me publish!
Double Bollinger StrategyFrom "Bitcoin Trading Strategies: Algorithmic Trading Strategies For Bitcoin And Cryptocurrency That Work" by David Hanson.
*Works better with 1hr time frame and some input optimisations.
"Double Bollinger Band Scalping System
Recommended Timeframe: 1 minute or 5 minute *
Required Indicators:
// - RSI with a length of 14 (default settings)
// - Bollinger band #1 settings: Length = 50, stDev = 1 Hide the basis/middle line (basis line not needed for this strategy)
Note: This is the slower bollinger band in the directions
// - Bollinger band #2 settings: Length 20, stDev = 1 Hide the basis/middle line (basis line not needed for this strategy)
Note: This is the faster bollinger band in the directions
Enter Long/Buy Trade When:
// - RSI is above the level 50
// - A candle closes above the top of the faster bollinger band
Enter a long when a candle then closes above the top of the slower bollinger band, and price is above the top of both bands
Place a stop loss under the low of the entry candle Example of a long trade using this strategy
Exit Long Trade When: A candle closes below the top band of the fast bollinger band
Enter Short/Sell Trade When:
// - RSI is below the level 50
// - A candle closes below the bottom of the faster bollinger band
Enter a short when a candle then closes below the bottom of the slower bollinger band, and price is below both bands
Place a stop loss above the high of the entry candle Example of a short trade using this strategy
Exit Short Trade When: Price closes inside the bottom of the faster bollinger band"
CCI BBThis indicator is the idea of giorno_4_16 .
It shows some indicator lines in your main chart as following:
SMA300, EMA200
BB 20 1,2,3sigma and middle
BB 300 1,2,3sigma and middle
You should put CCI (12, 14) into your separated chart to use the idea.
It shows arrows for registance trading when:
CCI(12) crossovers -200 or corssunders 200 in recent 6bars,
and the price crosses indicator line of SMA200, EMA200 and BB300 1,2,3sigma.
When CCI crossovers -200, you can condisider buying.
When CCI crossunders 200, you can condisider selling.
You should use this indicator in 1H or 4H.
When an arrow appears in 1H, change timeframe to 4H and check the slope of BB20.
If the slope is gentle, take-profit target is MA20 of 1H.
If the slope is steep(ex. CCI crossovers -200 and 4H BB20 go up steeply), take-profit target is BB20 2sigma of 1H.
2 Length Bollinger BandsThis indicator is a two length Bollinger Band implementation. It uses the Simple Moving Average, and adjusts to the period you are looking at: e.g. if you are looking at the day chart, periods are in days. If you are looking at the 5 minute chart, periods are within 5 minute increments.
The foregrounded set of bands is based on the 20 length SMA. So, in the case of the day chart, the successive bands from the middle are 1, 2, 2.5, and 3 standard deviations from the midline (which is a dotted orange line). The upper 2.5 and 3 stddev band is orange and red respectively. When the price gets up into these regions it could indicate a potential sell or short opportunity. The lower 2.5 and 3 stddev bands are colored with lime and green,when the price goes into these regions it indicates a potential buy opportunity.
The backgrounded set of bands is based on the 50 length SMA. So, in the case of the day chart, the successive bands from the middle are 1, 2, 2.5, and 3 standard deviations from the midline (which is a dotted purple line). It is intentionally more transparent so as to be seen as a slower background trend, so that the foreground bands (based on the 20 length SMA) can be interpreted within a developing context based on consideration of the slower period.
There are many other things to consider with Bollinger Bands, such as the 'squeeze' when the bands get narrow, which is often followed by a 'squeeze' up or down. It is best to consider BBs alongside other indicators (leading & lagging) and with consideration of volume in order to confirm or invalidate your thesis before making a trade.
RSI+ChannelbandsThis Indicator displays a normal RSI with overbought/-sold lines which is calculated with donchian channels, pivot channel, bollinger bands and three horizontal lines.
You can averaged the channels, bands and h-lines in any combination or you can use just one of them for calculating the overbought/-sold lines.
The midline is colored in default settings in yellow for upptrending and blue for downtrending.
Bollinger Bands + ADX Strategy// This strategy uses Bollinger Bands to buy when the price
// crosses over the lower band and sell when it crosses down
// the upper band. It only takes trades when the ADX is
// below a certain level, and exits all trades when it's above it.
Best Bollinger BandsRemoving the Simple Moving Average and replacing it with the Hull Moving Average (HMA) in the Bollinger Bands (BB), you can not only predict support, resistance, and price movement, but you can also leverage the value of the BB in evaluating when price is over extended in an up and/or down trend.
[KL] Relative Volume StrategyThis strategy will Long when:
Confirmation #1: when volume is relatively high
Confirmation #2: during periods of price consolidation (See )
It exits when either (a) stop loss limit is reached, or when (b) price actions suggest trend is bearish.
Measuring price volatility to assume consolidation:
For each candlestick, we quantify price volatility by referring to the value of standard deviations (2x) of closing prices over a look-back period of 20 candles. This is exactly what the Bollinger Band (“BOLL”) indicates by default.
Knowing the value of standard deviation (2x) of prices (aka the width of lower/upper BOLL bands), we then compare it with ATR (x2) over a user-defined length (can be configured in settings). Volatility is considered to be low, relatively, when the standard deviation (x2) of prices is less than ATR (2x).
[jav] Mountain Oscillator
Introducing the Mountain Oscillator. Why not trading while admiring the scenery?
The main oscillator line is the black silhouette of the mountains, and each element of the landscape can be seen as a support or resistance - even the mountains far in the horizon, the misty band in the middle and the -1, 0 and 1 lines. (Well, almost every element... the sun is just for fun).
Equalling the heights of the mountains that are far away, or reaching the snow zone, are possible signs of an uptrend ending. On the other hand, stepping into a river is a clear sign of a reversal to the upside soon.
Strong uptrends are evidenced by significant portions of the mountain above the misty zone and/or the 0 line.
By default, the sky turns red/blue/dark gray depending on the trading hours. This option can be unchecked.
Calculations and usage :
The script is based on a modified version of Bollinger Bands. Bandwidth is calculated quite differently from the usual Bollinger indicator (not with the built-in stdev function). There is no need to input a multiplier factor, such as that used in BB - the script calculates it from 'Length' using a custom formula.
The 3 user inputs 'Length' ares recommended to be kept at 200, 100 and 50 period. In that way, the misty area in the landscape corresponds to price crossing EMAs of 50 and 100, and the zero line to EMA 200.
The different colors of the mountain and the horizon represent the Bollinger Bands corresponding to the mentioned periods of 50 and 100, whereas limits of -1 and +1 are those from the 'Length' parameter.
You will find that my coding skills are rudimentary, so any comment/suggestion to improve the script is welcome.
Credits
@everget for the 'Fancy Shapes' script which was used as a reference to draw the sun.
Newton theory (Bollinger Band Breakout)Initial capital 1000 USD
Order size 10%
Commission 0.3% with slippage
Timeframe 4h
This is Simple Bollinger Band Trend find out strategy.
I'm using the usual trailing offset as an exit for this strategy.
using 1x leverage to go long short within 3years backtest result more then 200% for all usd pair.
in next version i will try to find out more optimize sma,std,sl,tp parameter by using freqtrade hyperparameter optimization.
Happy Trading :)
Uber Dank CCI + Captain Beefheart Bollinger Bands ExtraordinareIntroducing, the Uber Dank CCI + Captain Beefheart Bollinger Bands Extraordinaire
Its bollinger bands, CCI and CCI Bollinger Bands all in one.
The color of the CCI shows the condition of the bollinger band on chart.
Close > upper band = red
Close > basis = yellow
Close < basis = blue
Close < lower band = green
Then a bollinger band is printed on the CCI itself,
The background color displays the condition of the CCI bollinger band by the same logic as the CCI color.
CCI > upper band = red
CCI > basis = yellow
CCI < basis = blue
CCI < lower band = green
The exclamation marks tell you when the conditions are coming to an end. They check the last two bars to see if both the CCI and the closing price are under their bollinger bands at the same time for at least one of those bars, and they check the current bar that at least one of those conditions has ended. That is why they will most often print two exclamation marks in a row.
Zig Lines with Percent & ValueOverview, Features, and Usage:
The Zig Lines with Percent & Value is an indicator that highlights the highest and lowest points of the market from pivot points and zigzag lines based on the ZigZag Period setting. By a default value of 13 for the ZigZag Period this works well on Bitcoin or other alt coins on the 1 hour or higher timeframe charts.
What makes this indicator unique is that it draws a green line to signify an uptrend or a red line to signify a down trend. It will also show the percent difference between the previous point/line, for example: If you see a -negative percentage point with a red line drawn to it, then you are looking at a low pivot point and then as the green line is drawn to a +positive percentage value the percentage you see is the difference between the two points. This is great to see a trend reversal as you can look at previous pivot points and notice about how far the price moves before it changes direction (trend reversal).
There is an invisible EMA line that is used to assist with coloring the negative vs positive values. The value above or below the percentage is the lowest or highest price at that pivot point . The display of the price at the pivot point depends on your ZigZag Period setting and the timeframe of your chart.
Added Bollinger Bands as it fits perfectly with the visuals of the Zig Lines & Pivots.
Usage of Bollinger Bands:
~As the price or candle gets close to the top or bottom of the Bollinger band it can give you a better confirmation that the pivot location is at it's final place, and the trend is more likely to switch directions.
It’s important to know this indicator should not be used for alerts of any type it does repaint as the green or red line is drawing based on live chart data and it can change depending on the direction of the market. This is a great visual tool for trend analysis or to be used with other indicators as a confirmation for a possible good entry or exit position.
Credits ( and consent to use ):
Credits go to user LonesomeTheBlue for creation of this 'Double Zig Zag with HHLL' script.
The addition of the Value above/below the Percentages is from user Noldo and that script is found here:
The Bollinger Bands setup was suggested by user countseven12 and his script that uses the same BB setup is found here:
References:
1. Chen, James. (2021 March 15). Zig Zag Indicator . Received from http: www.investopedia.com
2. Mitchell, Cory. (2021 April 30). Pivot Points . Received from http: www.investopedia.com
Tradingview ToolkitA new trader's biggest barrier to entry is lack of understanding where they are in terms of time and price and with tradingview free they are often limited to just 1 or 2 extra indicators as many new traders slap on RSI and MACD as 2/3 free ones. While these indicators are fine for trend analysis, its important to know where the price is in relation to time. Thus, this all-in-one script is meant to have a lot of customizable utility to save on indicator spots and act as a hotspot for many common needs.
-2 Sets of VWAP line w/ standard deviation bands with customizable timeframes.
-1 more customizable timeframe VWAP line (no std dev bands) to use as a long time frame reference
-Ability to plot previous VWAP close prices over current timeframe on all VWAP lines w/ basic color changing if price closes above/below
-2 Sets of Bollinger Bands with customizable source length and MA type
-3 customizable moving averages with custom timeframe/resolutions
-Inside candle barcolor repainter to easily notice if a candle was inside the range of the previous candle (price contraction)
Not meant to have everything on at once, but simply a place to enable and disable different things and save spots for more important things
[EURUSD60] BB Expansion StrategyOverview
This is a strategy that can be used in the EURUSD 60 time frame.
It is a trend-following method that uses Bollinger Bands Expansions.
The idea of using Bollinger Bands expansion is well known to the general public, but I don’t know any strategy that this idea has been PINE coded.
The three main components of this strategy are as follows.
・Long term BB and Short term BB : When the short term BB expands more than the long term BB, it suggests the occurrence of a trend.
・14EMA of 240 t/f : The direction of 14EMA of the upper time frame is used as the trend direction.
・ATR lines : As a stop-loss line and a take-profit line.
Description
Fig. Long entry pattern
Fig. Short entry pattern
・Description of lines
Gray : Large BB (=Long term BB)
White : Small BB (=Short term BB)
Blue or Red line : Upper t/f EMA(default: 14EMA), blue is up-trend, red is down-trend
Yellow : Stop loss line by ATR(the term is 14)
Purple : Take profit line by ATR(the term is 14)
・Description of strategy
First of all, when the small BB expands more than the large BB, this strategy detects the occurrence of a trend.
Second, When the price crosses over or crosses under small BB basis, this strategy entries long or short to trend direction (by upper time frame 14EMA).
The default stop-loss range is three times ATR value, and the default take-profit target is 1.5 times the stop-loss range (=risk reward ratio is 1.5).
Simple Bollinger Bands + 3 EMAWe know that the number of indicators that we can use is limited, that is why with this indicator the Bollinger Bands + 3 EMAs join and be able to use 4 indicators in 1.
Bollinger Bands (BB)
Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger in the early 1980’s. Bollinger Bands consist of a band of three lines which are plotted in relation to security prices. The line in the middle is usually a Simple Moving Average (SMA) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular). The SMA then serves as a base for the Upper and Lower Bands which are used as a way to measure volatility by observing the relationship between the Bands and price. Typically the Upper and Lower Bands are set to two standard deviations away from the SMA (The Middle Line); however the number of standard deviations can also be adjusted by the trader.
Exponential Moving Average (EMA)
Moving averages visualize the average price of a financial instrument over a specified period of time. However, there are a few different types of moving averages. They typically differ in the way that different data points are weighted or given significance. An Exponential Moving Average (EMA) is very similar to (and is a type of) a weighted moving average. The major difference with the EMA is that old data points never leave the average. To clarify, old data points retain a multiplier (albeit declining to almost nothing) even if they are outside of the selected data series length.
The 3 EMAs that the Script has, are configured as follows:
Fast EMA (purple) 10 periods.
Slow EMA (blue) 55 periods.
Big EMA (olive) 200 periods.
However, you can configure each one with the color and the number of periods you want.
There are other indicators in the Public Library that have similar functions to this Script, but they all do it in a more complex and less friendly way when configuring it, for this reason we wanted to keep this Script as simple as possible.