[Mad] Triple Bollinger Bands MTFThese are classic triple Bollinger bands with different multipliers
You can change the time frame plotted,
for example, you can show a 1-hour chart, but plot 6-hour Bollinger.
Since I haven't found any other OpenSource variant that can plot the 3 bands in a different time frame, here is my script for you
en.wikipedia.org
----
additional you can see in this script, how to move data around with arrays instead of multiple variables.
This way you can cut down security calls to a minimum. (look at the transfer- and bollarray)
Cari dalam skrip untuk "bollingerband"
ARKA-Smoothed Z-ScoreThis Indicator is based on Mr. Dan Valcu ideas.
The author of this article is Veronica Valcu.
The z-score (z) for a data item x measures the distance (in standard deviations StdDev) and direction
of the item from its mean (U):
z = (x-StdDev) / U
A value of zero indicates that the data item x is equal to the mean U, while
positive or negative values show that the data item is above (x>U) or below
(x Values of +2 and -2 show that the data item is two standard deviations
above or below the chosen mean, respectively, and over 95.5% of all data
items are contained within these two horizontal references.
Based on the article and ideas about the z-score concept we can use it to get more confidence where we want to be sure this is an oversold or overbought zone.
The indicator draws two levels on 2 and -2. Z-Score color comes red when it goes above 2, and the color changes to green when it goes below the -2 level. The Z-Score color which value is between 2 & -2 is gray.
So far, this is the description of the indicator(ARKA-Z Score), which has been written separately and published for the public. In this indicator, we intend to smooth the value of Z-Score we get using moving averages.
Z-score applied to close prices is an irregular curve that can be smoothed by applying
moving averages. A simple three-day moving average has been applied to the z-score (20), and a simple five-day moving average is applied to the resulting average.
Long opportunities were initiated when the three-day simple moving average crossed above the five-day simple moving average of the three-day simple moving average. Short opportunities were initiated when the three-day simple moving average crossed below the five-day simple moving average of the three-day simple moving average.
ARKA-Z-ScoreThis Indicator is based on Mr. Dan Valcu ideas.
The author of this article is Veronica Valcu.
The z-score (z) for a data item x measures the distance (in standard deviations StdDev) and direction
of the item from its mean (U):
z = (x-StdDev) / U
A value of zero indicates that the data item x is equal to the mean U, while
positive or negative values show that the data item is above (x>U) or below
(x Values of +2 and -2 show that the data item is two standard deviations
above or below the chosen mean, respectively, and over 95.5% of all data
items are contained within these two horizontal references.
Based on the article and ideas about the z-score concept we can use it to get more confidence where we want to be sure this is an oversold or overbought zone.
The indicator draws two levels on 2 and -2. Z-Score color comes red when it goes above 2, and the color changes to green when it goes below the -2 level. The Z-Score color which value is between 2 & -2 is gray.
Open Interest with Bollinger Bands and some moving averages!!! This indicator only shows Binance Perpetuals Open Interest !!!
!!!!! When Binance Spot pair charts is selected, It still shows the perpetual contract Open Interest, if the pair on the chart is tradeble on perpetual contracts. I assume you know what Open Interest is. !!!!!
ZLEMA, Tillson, VAR MAs codes are coming from @KivancOzbilgic => SuperTrended Moving Averages
SuperJump Turn Back Bollinger BandThis is a simple indicator using bolinger band return.
After the candle's bolinger band broke out,
Turn back inside BB is the entry point.
Usually there are more than two triangles, so you can wait after ordering a better price.
As you already know about it, it is very dangerous for the bolinger band to enter in the reverse direction when a strong trend is created.
That's why I made the Red Line. It is calculated by ATR and will suggest you an appropriate StopLoss value.
VIX Cheat SheetHello!
This indicator - "VIX Cheat Sheet" - performs several calculations for $VIX against the asset on your chart. However, using $VIX as a risk proxy or volatility metric often fails beyond large-cap U.S equities. To remedy this, the VixFix indicator is included in the script; you can select whether the script performs calculations for an asset against $VIX or against VixFix (i.e. Forex, Crypto)
Measured are: $VIX correlation to an asset's price fluctuations, the average close-to-close gain/loss subsequent a $VIX/VixFix close above the upper Bollinger Band, the average 5-session gain/loss following the same occurrence in addition to the average 10-session gain/loss, all close-to-close, 5 session, and 10-session gains/losses are stored as tooltips for labels on the chart. The current close-to-close percentage gain/loss for $VIX and VixFix are displayed on the chart.
Displayed in the example image is a box incorporating $VIX price data alongside an upper Bollinger Band and lower Bollinger Band. The data isn't cast to its own price scale but is helpful for quick interpretation of $VIX fluctuations. You can select to plot VixFix data in the box in the user inputs table.
Displayed in the second example image is a semi-transparent blue box encompassing all price moves that occurred when $VIX measured above $40 for at least ten consecutive sessions. The largest percentage close-to-close loss is displayed below the box.
Also illustrated is a red label that appears when $VIX or VixFix closes above the upper Bollinger Band. The indicator will calculate and display the performance of the asset for the subsequent 10 sessions, to which the red label will disappear and all data stored as a tooltip in the blue labels stating "VIX Closed Above Upper Band" or "VixFix Closed Above Upper Band".
To reduce chart clutter, a label and line combination marking all $VIX closes above the upper Bollinger Band was not included. Instead, bar color changes were added. When "$VIX" is selected in the user inputs table the indicator will mark all sessions in which $VIX closed above the upper band as blue, in addition to plotting $VIX price data in the dynamic black box. When "VixFix" is selected, the indicator will mark all sessions where VixFix closed above the upper band as purple; the VixFix indicator will be plotted in the black box.
Be sure to hover over labels to access tooltip information; try the indicator with bar replay!
BBands ChannelsBased on the Bollinger Bands system. This shows outer channels to the bollinger bands .
Flat Detect By Bollinger BandsThis simple script indicate the potential flat market zones, calculated based on the Bollinger Bands width.
It's showing the Bollinger Bands in red when the market is detected as flat.
You can adjust the Width Threshold with precision on the inputs settings.
Enjoy :)
Blobbinger BandsBBANDS with:
- DI+/DI- coloring outer bands. If top BBand is green DI+ is on top; if top BBand is red DI- is on top.
- ADX Coloring - coloring of BBand background is relative to ADX performance. Blue = High, Red = Low, Black = Very Low, White = Extremely Low
- Basis Line Coloring - colored using Bollinger Band Width Percentile. Blue = Squeezing BBands, Red = Blasted Open BBands
- Histogram Lines - Denotes ADX Extremely Low
Stock ControlThis indicator shows the following values:
Pre-market volume
SPY
ADD
VIX
For each value the background will be colored based on specific internal parameters which can be customized.
The indicator is highly customizable. Here are some of the settings:
Compact view
Text size
Pre-market thresholds
SPY MACD parameters
ADD MACD parameters
VIX Bollinger parameters
MA Bollinger Bands + RSI (Study)This study/indicator script is meant to allow users to set alerts based on my MA Bollinger Bands + RSI (Strategy).
Both Study and Strategy scripts reflect the exact same user inputs, parameters and trading signals.
6 different alerts available:
- MABB+RSI Long (or Short) Signal (all): activates for every single Long (or Short) signals
- MABB+RSI Long (or Short) Signal: activates when trade direction changes from Short to Long (or from Long to Short)
- MABB+RSI Long (or Short) Re-Entry Signal: after a stop loss was hit, activates upon same trade direction if new signal
(“Enable SL” & “Allow re-entry” must be switched on)
Chart legend:
- Red arrow = Short Signal
- Blue arrow = Long Signal
- Red square = Stop loss (when trade entry)
- Purple square = Stop loss (when hit)
NB1: Be sure to set both Study and Strategy script settings to the same values if you want to achieve similar results in both scripts.
NB2: When setting up your alerts, preferably use option “Once per bar close” to get proper confirmations.
Enjoy!
RSI Divergences + Bollinger Bands█ OVERVIEW
Here's the RSI divergences with Bollingers bands.
█ CONCEPTS
5 features
1 — RSI
2 — Bollinger bands
3 — RSI signal is in another color when above 70 or below 30
4 — Looking for previous Divergences, Bullish, Bearish and Hidden Bullish and Bearish but I don't like Hidden divergences
5 — Color fill when overbuy or oversold
█ OTHER SECTIONS
I like to see it like a moutain, with snow on top and lake on bottom. I think you don't want to start walking at the top, nor sink to the bottom of the lake for ever and ever.
It is an idea of sjoerd , tip him if you like it.
An oscillator is good to know where we are in the trends, but it's not enough to run a small business of trading, you need to learn how to use it.
What is a divergence ?
Thanks to The rational investor for teaching me how to use this indicator.
T3 + BB
TRES EMAS + BANDAS DE BOLLINGER
INDICADOR 1: TRES EMAS (MEDIA MOVIL EXPONENCIAL)
Con este indicador puede visualizar el promedio de precios con mayor peso a los datos mas recientes.
Se calculan y dibujan tres medias móviles exponenciales: 4, 20 y 200 últimas velas.
-Rápida EMA1 = 4, paso = 1
-Media EMA2 = 20, paso = 2
-Lenta EMA 3 = 200, paso = 10
INDICADOR 2: BANDAS DE BOLLINGER
Con este indicador podrá ver la fuerza y la tendencia del mercado, es decir la mide la volatilidad del precio del activo.
Si el precio sobrepasa la banda superior, el activo está sobrecomprado.
Si el precio sobrepasa la banda inferior, el activo está sobrevendido.
Longitud tendencia - BASE = 20, paso = 1
Desviación Estándar - Multiplicador = 2, paso = 0.2
Estos 2 indicadores sirven para todo tipo de activos: FOREX, CRIPTO, CFD´s, ETC.
------------------------------------------------------------------------------------------------------------------
THREE EMAS + BOLLINGER BANDS
INDICATOR 1: THREE EMAS (EXPONENTIAL MOVING AVERAGE)
With this indicator you can visualize the average of prices with greater weight to the most recent data.
Three exponential moving averages are calculated and drawn: 4, 20 and 200 last candles.
-Fast EMA1 = 4, step = 1
-Average EMA2 = 20, step = 2
-Slow EMA 3 = 200, step = 10
INDICATOR 2: BOLLINGER BANDS
With this indicator you can see the strength and trend of the market, that is, it is measured by the volatility of the asset price.
If the price goes above the upper band, the asset is overbought.
If the price goes above the lower band, the asset is oversold.
Trend length - BASE = 20, step = 1
Standard Deviation - Multiplier = 2, step = 0.2
These 2 indicators are used for all types of assets: FOREX, CRYPT, CFD's, ETC.
RedK Smooth And Lazy Moving Average (SALMA)Here's a quick and simple script that produces yet another Smooth and Lazy Moving Average - SALMA - that helps hide noise caused by extreme price fluctuations to enable better trend visualization and tracking
Concept:
===========
SALMA is based on a simple concept - we calculate a standard deviation channel of a user-selected width - then correct the price value so that it is restricted within the boundaries of the SD channel - effectively adjusting against high-volatility, sudden price moves - which acts as a pre-smoothing of the price values - then we calculate our moving average and apply extra smoothing as needed.
Since only "persistent" price moves will have an effect on the direction of this MA, it will be suitable to use as an additional trend guide with other indicators, and to consider only long positions when the price is above the SALMA, and short positions only when the price is below
Notes:
========
- for the time being, i'm using Weighted Moving Average (WMA) for the calculation of the base price MA and the SD channel - we can add other MA types as options in a future versions based on feedback
- will add alerts in a future update
- SALMA can be used with any timeframe. can also be set to a higher timeframe against a lower timeframe chart
i have also added couple of standard moving average lines (choose between SMA, EMA and WMA) of selectable lengths - to enable utilizing this in a Moving Average cross-over setup - or to simply monitor other common MA's that other traders are using.
here's how the settings look like when you add SALMA to your chart
Please feel free to play around with SALMA and share feedback :)
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
Multiple Timeframe (Moving Average) With InfoThis indicator combine 4 indicator in one pine script : Main indicator is Moving Average in multiple timeframes, Bollinger Band, Crossover Signal, Info Panel, 52Weeks High & 52 Weeks Low.
1)
For multiple moving average, it has 9 difference timeframes.
- Default timeframes is (1minute, 5minutes, 15minutes, 30minutes, 1hour, 4hours, 1Day, 1Week & 1Month). User also have choices to change the option.
- For Moving Average, there also available multiple choice of Moving Average : SMA , EMA , DEMA , VWMA , RMA, WMA . Default Moving Average is EMA (200)
- There also include info panel / table that show TF (Timeframes) for every MAs, & their price. Colors change according to current price. Bullish = Green, Neutral = Neutral, Bearish = Red
There are also function for user to turn on/off :
- (MA) Type & Lenght.
- Multiple MAs.
- Info / Table
User can use multiple line in daily chart to find support & resistance .
Example : For uptrend stock, candle close on top of EMA200 line for 1 hour timeframe. So it's can becomes immediate support, while the other EMAs on below is their next support.
Example :
For downtrend stock, candle close on top of EMA200 line for 5minutes timeframe. So it's become support, while the other EMAs on top is their resistance.
Example :
This Multiple MAs Inspired by xdecow :
www.tradingview.com
Checkout his Multi Timeframe Moving Average here :
2)
This indicator also have Bollingger Band. User have option to turn it on / off. User can use it as a target price if all the EMAs below the candle.
Example :
3)
This indicator also shown 52 Weeks High & 52 Weeks Low. User have option to turn it on / off. Their price also shown at the info panel.
Example :
4)
Crossover Signal. This crossover is default, it happen when candle close on top / near timeframe 5Minutes is (Ready). While candle close below timeframe 5Minutes is (Caution). User can choice other shape if they don't want the text label. To change the crossover for other setup, user can change it under = #2. The crossover only shown in past 10 candle.
Example :
Feel free to use it & comment. Thanks.
Bollinger Band CloudThis script shows a cloud of Bollinger bands of various period lengths surrounding price action.
The bands can be set to 1.25, 2.25 or 3.25 standard deviations.
Functionally, where bands start to converge, especially using 1.25sd, indicates fairly reliable support/resistance. If price action breaks through, price may start trending.
There is also an option to flag price action that breaks through 3.2sd for periods lengths greater than 14. When this happens, watch for a possible stall or reversal.
This concept is merely standing on the shoulders of @acatwithcharts and @dadshark, and I highly recommend using this alongside their indicators. Do yourself a big favor and get to know their work on Advanced Volatility Theory.
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.
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.
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.
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$이 내리는 것은 다른 가치를 가집니다.
이 차이를 로그함수를 이용해 없애보고자 하였고, 새로운 볼린저밴드를 만들었습니다.
초록색이 기존의 볼린저밴드입니다.
위에서 말했듯이 자산의 오르내림을 같은 가치로 계산해서 급격한 아래 밴드가 형성됩니다.
파란색이 로그 볼린저밴드입니다.
이 지표를 유용하게 사용해주세요!
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)