Volatility Funnel v2Using the contracting phase of what are basically bollinger bands and some fancy coloring, this indicator draws funnels to which show tightening ranges and doesn't take up too much screen space unless you want it to.
There is a smoothing option if you're into that.
Enjoy!!!
Bandas de Bollinger (BB)
Chimpanzee V2.5 part A by joylay83Hi everyone, I am an amateur pinecoder. I would like to share my script which is coded with the intention of generating signals to send to 3commas webhook. It is still in development and revision.
This collection of indicators use:
Chart: 15m.
Inverse Fisher Transformation of the RSI to detect dips in the 15m timeframe.
Bollinger band (4H) to filter out false signals.
Triple EMA 21: to mimic price action for easier coding alerts. Currently not involved in generating signals. will be incorporated in the future.
StochRSI: As a visual filter. Currently not involved in generating signals. will be incorporated in the future.
Background will be green if stochRSI is low and red if stockRSI is high.
Candlesticks will be marked with a flag is TEMA breached BB.
One would need to play around with timeframes, BB settings and IFTRSI threshold for different signals.
There are 2 Signal Modes (with regards to IFTRSI):
Threshold: When price action falls below BB and IFTRSI hits buy threshold, a buy/sell signal is generated. Eg if IFTRSI buy threshold is set to -0.9, the buy signal will remain continuously positive as long as IFTRSI is < 0.9.
Cross: When price action falls below BB and IFTRSI hits threshold, nothing happens. It will wait until the IFTRSI cross back over the threshold before firing a signal.
There is another identical set of indicators running on a higher time frame (IFTRSI: 4H, BB: D or 3D, TEMA 21 4H) but on the same chart. This tend to generate less signals but are more reliable. A usage example would be to send a larger buy order if the signal comes from this higher time frame, or execute a sell order after multiple buys from the lower time frame.
It comes in 2 parts:
Part A: Contains overlay display. This displays BB, Triple EMA, buy/sell and StochRSI in labels. the labels are self explanatory.
Part B (please search for it): which is actually the same code but contain non-overlay display. You may also put part B overlay=true but scale to LEFT. The advantage of using overlay=true is that you can move the signal right over the candlesticks (mainly for troubleshooting/debugging). This part contains Inverse Fisher RSI, %B, Signal Line. %B is supposedly idential to Bollinger Bands in Part A.
By default, when there is a buy/sell signal:
lower time frame 15m: Signal Line in Part B will turn blue with a value 1 or -1 which corresponds to a buy or sell label in Part A
higher time frame 4H: Signal Line in Part B will turn red with a value 2 or -2 which corresponds to a HTF buy or sell label in Part A
Part A or B may be used to send signal to the webhook. You have to make sure that the settings of Part A and B are identical.
You may choose to un-display some items to reduce clutter.
Current problems:
1. Still too many buy signals
Although many times it will generate excellent buy signal at many swing lows, but there are many buy signals prior to a major swing low. This can be observed in the picture above. It also generate a couple of buy signals prior to the swing lows. I am currently experimenting with 20m and hourly timeframe to address this issue. More filters are needed eg an oscillator or detecting candlestick patterns.
2. Premature sell signals.
The sell signal is often generated at the beginning of a major bull run. My idea to solve this problem is to move to a higher timeframe and sell only when TEMA crossunder the upper bollinger band.
3. Lack of a backtester that can test multiple concurrent deals.
Buy -> Buy (average down) -> Buy (average down) -> Buy (average down) -> Sell
4. Lack of the ability to calculate average purchase price
Probably have to code it as a strategy
5. Display lag
As the browser is running 2 copies of the idential script, it tends to lag when you drag your chart around. So far there are no timeouts or delay in firing alerts to 3commas.
I do welcome any suggestion for improvement and constructive criticism. tqvm.
Credits : Thank you for doing an awesome job. I learnt a lot from your codes and tutorials.
Credits not listed in any order. If your code is used here and did not receive due credit, kindly drop me a note. tq.
Blessing 3 by JTA Today
@ZenAndTheArtOfTrading (extremely-easy-to-understand tutorials eg fixing repainting)
@LazyBear (various codes)
@Galactus-B Argo I
@TheTradingParrot (Inverse Fisher RSI and Gavin's backtester)
@zendog123 (backtester and various codes)
@ydeniz2000 (Bollinger Bands)
TradingView built-in scripts
Creentrend Pressure SignalsThe hull moving average is my favorite moving average, as well as slower (55ma Bollinger Bands dev@(1.618)) is my favorite standard deviation indicator. Lets combine the two to evaluate overbought, oversold, and pressure.
Use for all time frames- I PREFER daily.
Bollinger band MA at 55
Hull ma at 55
The Hull is more reactive and faster than any band on the BB (both at 55)
When HULL closes BELOW LOWER BAND- it will print a buy signal, remember- over sold and overbought in VOLATILITY could be dangerous on low time frames, as swift moves typically have short term reversals but return to the main trend eventually, this is why i reccomend daily candles.
When PRICE closes ABOVE UPPER BOLLINGER BAND- it will print a green ^ signal under candle indicating upward pressure.
When HULL closes ABOVE UPPER BOLLINGER BAND- it will print a red resistance line. Complex tops happen a lot with bitcoin so take a 1-5% stop above it if shorting.
bb_ema_hamedtarkib bb and ema hasttarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
tarkib bb and ema hast
[jav] Better Bollinger BandsBetter Bollinger Bands (BBB)
This script is a modification of classic Bollinger Bands (BB).
CHARACTERISTICS
Main improvement over BB:
There is no need to introduce a standard deviation multiplier (usually 2).
Here, only a length is needed (usually 20 bars for BB).
Other features:
The type of moving average can be selected: sma, ema, vwma, wma or rma.
An inner band is plotted as an additional indication of approaching extreme levels.
Classic BB can also be shown on the graph for the sake of comparison.
CALCULATIONS
The calculation of BBB is done by adding three different contributions:
Standard deviation of price
Standard deviation of (price minus moving average)
Average of (high - low) over length.
RESULTS
It looks like BBB follows prices more smoothly (without the typical overshoots of BB). Also, it fits extreme values with higher accuracy. Finally, usually it doesn't cross through prices at less relevant, intermediate higher highs or lower lows, which can be advantageous.
See the comparison between red BBB vs blue BB:
Both vwma and ema seem to give decent BBB values using the standard length of 20 bars.
Bollinger Bands with Ema and Two DeviationBollinger Bands with Ema calculation. Based on high and low valus of candle. Also can be used two deviation for both upper and lower bands.
K's Volatility BandsVolatility bands come in all shapes and forms contrary to what is believed. Bollinger bands remain the principal indicator in the volatility bands family. K's Volatility bands is an attempt at optimizing the original bands. Below is the method of calculation:
* We must first start by calculating a rolling measure based on the average between the highest high and the lowest low in the last specified lookback window. This will give us a type of moving average that tracks the market price. The specificity here is that when the market does not make higher highs nor lower lows, the line will be flat. A flat line can also be thought of as a magnet of the price as the ranging property could hint to a further sideways movement.
* The K’s volatility bands assume the worst with volatility and thus will take the maximum volatility for a given lookback period. Unlike the Bollinger bands which will take the latest volatility calculation every single step of time, K’s volatility bands will suppose that we must be protected by the maximum of volatility for that period which will give us from time to time stable support and resistance levels.
Therefore, the difference between the Bollinger bands and K's volatility bands are as follows:
* Bollinger Bands' formula calculates a simple moving average on the closing prices while K's volatility bands' formula calculates the average of the highest highs and the lowest lows.
* Bollinger Bands' formula calculates a simple standard deviation on the closing prices while K's volatility bands' formula calculates the highest standard deviation for the lookback period.
Applying the bands is similar to applying any other volatility bands. We can list the typical strategies below:
* The range play strategy : This is the usual reversal strategy where we buy whenever the price hits the lower band and sell short whenever it hits the upper band.
* The band re-entry strategy : This strategy awaits the confirmation that the price has recognized the band and has shaped a reaction around it and has reintegrated the whole envelope. It may be slightly lagging in nature but it may filter out bad trades.
* Following the trend strategy : This is a controversial strategy that is the opposite of the first one. It assumes that whenever the upper band is surpassed, a buy signal is generated and whenever the lower band is broken, a sell signal is generated.
* Combination with other indicators : The bands can be combined with other technical indicators such as the RSI in order to have more confirmation. This is however no guarantee that the signals will improve in quality.
* Specific strategy on K’s volatility bands : This one is similar to the first range play strategy but it adds the extra filter where the trade has a higher conviction if the median line is flat. The reason for this is that a flat line means that no higher highs nor lower lows have been made and therefore, we may be in a sideways market which is a fertile ground for mean-reversion strategies.
Swing Assassin's Consolidated ScriptI put this script together to essentially consolidate a number of scripts that I use on a daily basis into one script. This is an ongoing improvement effort, so there may be some garbage in here right now so keep that in mind if you intend to use this to help in your trading.
There are 5 moving averages (Hull). I use the Fast, Mid and Slow to find entries after I us the Medium Slow and Super Slow to identify a trend. Otherwise, I have those three turned off.
This script also uses Bollinger Bands which I literally cannot trade without.
The script also has anchored VWAP , automated support/resistance lines, and a homebrewed Volume Profile that is a copy from Ildar Akhmetgaleev's indicator "Poor Man's Volume Profile" used under Mozilla Public License Version 2.0.
Pluto Star - Bollinger Band Trap//DESCRIPTION
//Pluto star appears on a chart when price goes in the in the extreme price range territory, i.e. beyond 2 standard deviation from the mean (or mid Bollinger Band).
//What makes a Pluto Star appear on a chart:
//1. Check if the candle 's' high and low, both are completely outside of the Bollinger Bands (close, 20, 2) - Lets call it Pluto Star Candle
//2. Pluto Star Candle must not be a result of sudden price movement. Hence the previous candle must give a BB Blast.
// In other words, the candle must have it's either open or close outside of Bollinger Bands, to confirm a BB Blast before the Pluto Star
//3. Candle, following the Pluto Star must not break the high (in case of upper BB i.e. short call) or low (in case of lower BB, i.e. long call), to confirm the reversal to the mean
// This implies that Pluto Star appears on chart, above/below the next candle of actual Pluto Star Candle
//----- The above 3 conditions make a Pluto Star appear on a chart. But one must wait for a trade signal. Read the following conditions
//4. There is a signal line, which is nothing but ema(close,5)
//5. The red dotted line is the signal range (and also acts as Stop Loss). The price must close above/below the signal line within the signal range
//6. For a red Pluto Star (short call), the price must close below the signal line, within next 6 candles (signal range). Else there is no trigger for a trade
//7. For a green Pluto Star (long call), the price must close above the signal line, within next 6 candles (signal range). Else there is no trigger for a trade
//8. If any of the candle crosses the Stop Loss line within signal range, there is no trigger for a trade
//9. In a normal scenario, the price must return to the mean, i.e. mid Bollinger Band. In best case scenario, it must go to the opposite side Bollinger Band.
//Recommendation: Test it with Nifty and Bank Nifty charts on 30 mins and 1 hour timeframes
Pin Bar//Pin Bar at the edge of BB
//Conditions to check
// 1. It must be a Pin Bar
// 2. Price Above/Below 200 SMA
// 3. Volume must be above 20 SMA
// 4. Low/High of the Pin Bar must cut across the BB upper/lower band
// 5. The very next candle closes above/below the high/low of the pin bar candle
Recommended timeframe - Daily and Weekly
IDEAL BB with MA (With Alerts)It gives well combination of Moving average and Bollinger bands with signals
RSI Rising Crypto Trending AlertAlert version of the strategy with the same name
This is crypto and stock market trending strategy designed for long timeframes such as 4h+
From my tests it looks like it works better to trade crypto against crypto than trading against fiat.
Indicators used:
RSI for rising/falling of the trend
BB sidemarket
ROC sidemarket
Rules for entry
For long: RSI values are rising, and bb and roc tells us we are not in a sidemarket
For long: RSI values are falling, and bb and roc tells us we are not in a sidemarket
Rules for exit
We exit when we receive an opposite direction.
Cuation: Because this strategy uses no risk management, I recommend you takje care with it.
If you have any questions, let me know !
Advanced RSIThis is what I call the advanced RSI. It employs Bollinger bands on the RSI itself, in order to better highlight extremes that are still within the typical 30-70 range on.
You'll notice some background highlights. These are simply to mark the extremes.
Orange marks your standard overbought, Red marks oversold.
Fuchsia marks an RSI outside the lower deviation on the Bollinger Bands. Green marks an RSI outside the upper deviation on the Bollinger bands.
Typically while in an uptrend, the RSI dropping below the lower deviation indicates an entry point (fuchsia). The same applies for a downtrend with the RSI rising above the upper deviation (green).
You can look at the overlap in colors as even stronger indications because on a more rare occasion you will have the RSI outside the upper/lower deviation as well as being outside the typical oversold/overbought levels.
Any feedback is welcome! I try to employ contrasting colors, but they may not make sense to you so change them as you please - they are simply markers.
BBW EMA RIBBON+BB%B+EMA BUY/SELL SignalsBINANCE:BTCUSDT
* * * TESTED ON BTCUSDT 4H CHART * * *
The indicator gives signals based on possible ENTRY/EXIT zones (calculated using an ema ribbon of the BBW) and BB%B oversold/overbought conditions, also a 200 EMA filter is used to trade following the major trend.
ENTRY/EXIT zones can be used as a confirmation on other strategies (green zones suggest a possible entry for a long in an uptrend and for a short in a downtrend, red zones suggest a possible exit for long & short)
Only LONG signals are given.
Signals are divided in 3 categories based on their strenght:
- Weak BUY/SELL (green/red circles on chart)
- normal BUY/SELL (green/red triangles with "BUY" or "SELL" text on chart)
- strong BUY/SELL (green/red labels with "STRONG BUY" or "STRONG SELL" text on chart)
You can use signals from the same category as triggers for entering or exiting a trade or you can try using signals from different categories
All indicators settings can be costumized
Possible EXTRY/EXIT zones can be turned ON/OFF
Every signal label can be turned ON/OFF
EMA that changes color based on last candle close can be turned ON/OFF
Alerts can be set for:
- General Signals (every signal will trigger it)
- Weak Signals (only weak signals will trigger it)
- Normal Signals (only normal signals will trigger it)
- Strong Signals (only strong signals will trigger it)
There are 3 BB%B Oversold & 3 BB%B Overbought value presets:
- BASIC (default values)
- LOW (slightly lower values from default)
- HIGH (slightly higher values from default)
Tips:
Use BB%B OS LOW preset to find entries at a better price
Use BB%B OS HIGH preset to find entries faster
Use BB%B OB LOW preset to find exits faster
Use BB%B OB HIGH preset to find exits at a better price
There are 3 Filters already included:
- A checkbox to toggle ON/OFF the use of Heikin Ashi candels to detect trades
- A checkbox to toggle ON/OFF the use of an ema filter for the ribbon that tries to reduce the number of false signals on over-extended price movements
- A checkbox to toggle ON/OFF the use of an ema filter that tries to reduce the number of false signals when price crosses the moving average many times consecutively
Logarithmic Bollinger BandsThe existing Bollinger Bands simply used price to derive the standard deviation.
In other words, whether an asset goes up or down by $50 from $100, it counts at the same "50$".
But in the asset market, an increase of $50 and a fall of $50 have different values.
To eliminate this difference using a logarithmic function, a new Bollinger Band was created.
Green is the original Bollinger Band.
As mentioned above, a sharp lower band is formed by calculating the rise and fall of an asset with the same value.
Blue is the Logarithmic Bollinger band.
Please make this indicator useful!
기존의 볼린저 밴드는 단순하게 가격을 이용해 표준편차를 도출해내었습니다.
즉 자산이 100$에서 50$이 오르든 내리든 같은 "50$"로 계산한 것입니다.
하지만 자산시장에서 50$이 오르는 것과 50$이 내리는 것은 다른 가치를 가집니다.
이 차이를 로그함수를 이용해 없애보고자 하였고, 새로운 볼린저밴드를 만들었습니다.
초록색이 기존의 볼린저밴드입니다.
위에서 말했듯이 자산의 오르내림을 같은 가치로 계산해서 급격한 아래 밴드가 형성됩니다.
파란색이 로그 볼린저밴드입니다.
이 지표를 유용하게 사용해주세요!
ViVen-Multi Time Frame Bollinger Band StrategyThis indicator created to identify the strong Support and Resistance levels based on the Bollinger Bands. When two different time frame Bollinger Bands are travelling together then its a strong Support or Resistance Levels.
I have added 5 Min, 15 Min, 30 Min, 1 Hr and 1 Day time frame Bollinger Bands in one Chart. You can select and combine whichever the TF you want.
Default values considered - Period - 20 and Std.Dev is 2
You can on/off the indicator based on the requirement.
Trade plan:
BUY - When price comes near to the Bottom Bollinger Band level (look for candle confirmation is plus). If multiple Bollinger bands travels together then is Strong Support. (Exit if Price Breaks down the BB)
SELL - When price reaches the Upper Bollinger Band level (look for candle confirmation is plus). If multiple Bollinger bands travels together then is Strong Support. (Exit if Price Breaks Up the BB)
Middle Line - is the 20 SMA line
When the Gap between Upper and Lower Band is narrow then we can expect a trending movement soon.
Bollinger bands and Keltner bands
█ OVERVIEW
This is a Bollinger band Script, with Keltner Channel Bands and for scalping.
█ CONCEPTS
1 — Bollinger Bands, The Bollinger band component is make out from two part, the standard component represented by a white cloud.
This is the 2nd deviation and 3rd deviation filled.
The second part linear weight
This is the 2nd deviation, and is filled from the 3rd deviation from the standard bands. This give the effect of cutting in and out to proved a support and resistance cloud.
2 — Keltner bands, this is the normal calculation, nothing special, by default this is off and can be turned back on in styles.
3 Deviations with ALMA as the Basis
3 — Non-traditional basis
Like with you can change the base moving average
but to a lesser extent.
option are:
sma = Simple Moving Average
ema = Exponential Moving Average
wma = Weighted Moving Average
vwma = Volume Weighted Moving Average
rma = Running Moving Average
alma = Arnaud Legoux Moving Average
hma = Hull Moving Average
█ OTHER SECTIONS
• LIMITATIONS: again this is base on moving average so there is a lag factor, the cloud do not work without volume so if the indicator can not pull volume data you are left with the standard bands.
• NOTE this is a trimmed version of still functions the same.
• THANKS: rumpypumpydumpy for the inspiration
BB+RSI+EMA BUY/SELL SignalsBINANCE:BTCUSDT
* * * TESTED ON BTCUSDT 4H CHART * * *
The indicator gives signals based on candles touching BB lines and RSI oversold/overbought conditions, also a 200 EMA filter is used to trade following the major trend.
Only LONG signals are given.
Signals are divided in 3 categories based on their strenght:
- Weak BUY/SELL (green/red circles on chart)
- normal BUY/SELL (green/red triangles with "BUY" or "SELL" text on chart)
- strong BUY/SELL (green/red labels with "STRONG BUY" or "STRONG SELL" text on chart)
You can use signals from the same category as triggers for entering or exiting a trade or you can try using signals from different categories
All indicators settings can be costumized
Every signal label can be turned ON/OFF
EMA that changes color based on last candle close can be turned ON/OFF
Alerts can be set for:
- General Signals (every signal will trigger it)
- Weak Signals (only weak signals will trigger it)
- Normal Signals (only normal signals will trigger it)
- Strong Signals (only strong signals will trigger it)
BBI Bollinger BandsBBI (Bull and Bear Index) is an indicator aims on measuring the general short/mid-term (< 1 month) trend and sentiment of the stock/market. It used an average of 4 SMAs (3, 6, 12, 24) as a cut-off of a bullish/bearish trend. In general, YMMV, you can enter when close> BBI and exit when close<BBI.
BBI Bollinger Bands uses BBI as "basis" and calculates variations (Stdev) of BBI during the past several days. In general, BBI Boll band is more volatile than the traditional Boll Band.
The "possible entry and exit" function is for fun, trying to spot the point where there is extreme fear and optimism, not necessarily working yet.
Stochastic RSI Heat Bollinger BandsThis indicator is based on a combination of the famous Bollinger Bands and the Stochastic RSI indicator.
Bands are dynamically colored (and filled) with a RGB color composed by red and green values, directly generated from the average Stochastic RSI current value.
By default, colors represent the following status -> green zone is overgought & red zone is oversold.
A screener is also displayed on the chart, representing StochRSI K and D lines values, RSI value, as well as the current status (Overbought/Oversold) of the StochRSI and RSI indicators.
Notes:
The heat color and the screener status are both based on the average value between the K and D lines (for stochastic RSI based heat)
Bands can be disabled in options to use this indicator as a simple moving average colored by the Stochastic RSI heat color.
Options:
Various moving average types (SMA, EMA, SMMA, VWMA...)
Inversion of colors between overbought and oversold status
Enabling/disabling heat color on bands / basis line and bands background color
Show/Hide the screener
Color source can be modified to base the heat on the RSI instead of the Stochastic RSI value
Standards Bollinger bands, Stochastic and RSI parameters
Example
Feel free to suggest any improvements in comment.
Bollinger bands dynamic alertsThis triple Bollinger script is very useful for options traders to determine the trend condition. When the trend stays within 1 sigma limits it is termed as "congestion", breakout of congestion starts the "trending" phase and the big breakout termed "Blowout" happens when the underlying crosses the 2sigma and reaches 3 sigma limits in very short time at steep trend angles. The script provides dynamic alerts as soon as the underlying breaks out of these zones and enables options traders to stay in the trade longer. www.tradingview.com
Asian Session Bollinger BandsThis is a fairly simple adjustment of the Bollinger Bands highlighting and giving the character to the Asian session.
EXAMPLES:enhanced_taThis script is created to demonstrate usage of enhanced ta library which is present here :
Following custom indicators are populated in this script:
ma (Select moving average)
atr/atrpercent (With custom moving average)
bands - Bollinger Band, Keltner Channel, Donchian Channel (All with enhanced versions and additional options)
bandwidth - Bandwidth for the bands available. Uses same input as that of bands
bandpercent - Percentage in relation to band upper and lower levels. Uses same input as that of bands.
oscillator (oscillatorRange) - Generating custom overbought oversold regions.
Display Options
Display individual indicator by selecting them through dropdown. If you select all, we also look at overlay and non-overlay parameters to show/hide only those indicators which are applicable on candle overlay or as separate window.
RSI OBLIVION This is a powerful tool if combined with other parameters. It's an advanced version of an RSI .
It shows OB and OS conditions and price direction or shift of the trend.
This indicator can be used in various ways with all markets.
The current settings are designed to work with futures market.
Combined with our TSI and Price action, RSI OBLIVION is the most reliable KPI out there.
Reached out to us for assistance.