在腳本中搜尋"bollingerband"
Free Log-Normal Bollinger Bands for CryptoBollinger Bands don't work on crypto currency, this is because crypto is so volatile it makes exponential growth a more obvious factor. Bollinger bands assume price will form a normal distribution around the mean which is WRONG, as prices increase in an exponential way, and the price will never fall below $0.
This is a bollinger band based around a log-normal distribution. Which is how prices actually behave.
Use this one instead. It's free.
Multi SMA EMA WMA HMA BB (4x3 MAs Bollinger Bands) Pro MTF - RRBMulti SMA EMA WMA HMA 4x3 Moving Averages with Bollinger Bands Pro MTF by RagingRocketBull 2018
Version 1.0
This indicator shows multiple MAs of any type SMA EMA WMA HMA etc with BB and MTF support, can show MAs as dynamically moving levels.
There are 4 MA groups + 1 BB group. You can assign any type/timeframe combo to a group, for example:
- EMAs 50,100,200 x H1, H4, D1, W1 (4 TFs x 3 MAs x 1 type)
- EMAs 8,13,21,55,100,200 x M15, H1 (2 TFs x 6 MAs x 1 type)
- D1 EMAs and SMAs 12,26,50,100,200,400 (1 TF x 6 MAs x 2 types)
- H1 WMAs 7,77,231; H4 HMAs 50,100,200; D1 EMAs 144,169,233; W1 SMAs 50,100,200 (4 TFs x 3 MAs x 4 types)
- +1 extra MA type/timeframe for BB
compile time: 25-30 sec
full redraw time after parameter change in UI: 3 sec
There are several versions: Simple, MTF, Pro MTF, Advanced MTF and Ultimate MTF. This is the Pro MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +2 custom Timeframes for each group (2x5 MTF)
- Pro MTF: +4 custom Timeframes for each group (4x3 MTF), MA levels and show max bars back options
- Advanced MTF: +2 extra MAs/group (4x5 MTF), custom Ticker/Symbol, backreferences for type, TF and MA lengths in UI
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
Features:
- 4x3 = 12 MAs of any type including Hull Moving Average (HMA)
- 4x MTF groups with step line smoothing
- BB +1 extra TF/type for BB MAs
- 12 MA levels with adjustable group offsets, indents and shift
- show max bars back
- you can show/hide both groups of MAs/levels and individual MAs
Notes:
1. based on 3EmaBB, uses plot*, barssince and security functions
2. you can't set certain constants from input due to Pinescript limitations - change the code as needed, recompile and use as a private version
3. Levels = trackprice implementation
4. Show Max Bars Back = show_last implementation
5. uses timeframe textbox instead of input resolution to allow for 120 240 and other custom TFs. Also supports TFs in hours: 2H or H2
6. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
7. Smoothing is applied by default for visual aesthetics on MTF. To use exact ma mtf values (lines with stair stepping) - disable it
MTF Notes:
- uses simple timeframe textbox instead of input resolution dropdown to allow for 120, 240 and other custom TFs, also supports timeframes in H: 2H, H2
- Groups that are not assigned a Custom TF will use Current Timeframe (0).
- MTF will work for any MA type assigned to the group
- MTF works both ways: you can display a higher TF MA/BB on a lower TF or a lower TF MA/BB on a higher TF.
- MTF MA values are normally aligned at the boundary of their native timeframe. This produces stair stepping when a higher TF MA is viewed on a lower TF.
Therefore X Y Point Density/Smoothing is applied by default on MA MTF for visual aesthetics. Set both to 0 to disable and see exact ma mtf values (lines with stair stepping and original mtf alignment).
- Smoothing is disabled for BB MTF bands because fill doesn't work with smoothed MAs after duplicate values are replaced with na.
- MTF MA Value fluctuation is possible on the current bar due to default security lookahead
Smoothing:
- X,Y == 0 - X,Y smoothing disabled (stair stepping on high TFs)
- X == 0, Y > 0 - X,Y smoothing applied to all TFs
- Y == 0, X > 0 - X smoothing applied to all TFs < deltaX_max_tf, Y smoothing disabled
- X > 0, Y > 0 - Y smoothing applied to all TFs, then X smoothing applied to all TFs < deltaX_max_tf
X Smoothing with Y == 0 - shows only every deltaX-th point starting from the first bar.
X Smoothing with Y > 0 - shows only every deltaX-th point starting from the last shown Y point, essentially filling huge gaps remaining after Y Smoothing with points and preserving the curve's general shape
X Smoothing on high TFs with already scarce points produces weird curve shapes, it works best only on high density lower TFs
Y Smoothing reduces points on all TFs, removes adjacent points with prices within deltaY, while preserving the smaller curve details.
A combination of X,Y produces the most accurate smoothing. Higher delta value - larger range, more points removed.
Show Max Bars Back:
- can't set plot show_last from input -> implemented using a timenow based range check
- you can't delete/modify history once plotted, so essentially it just sets a start point for plotting (from num_bars bars back) that works only in realtime mode (not in replay)
Levels:
You can plot current MA value using plot trackprice=true or by checking Show Price Line in Style. Problem is:
- you can only change color (not the dashed line style, width), have both ma + price line (not just the line), and it's full screen wide
- you can't set plot trackprice from input => implemented using plotshape/plotchar with fixed text labels serving as levels
- there's no other way of creating a dynamic level: hline, plot, offset - nothing else works.
- you can't plot a text var - all text strings must be constants, so you can't change the style, width and text labels without recompiling.
- from input you can only adjust offset, indent and shift for each level group, and change color
- the dot below each level line is the exact MA value. If you want just the line swap plotshape with plotchar, recompile and save as your private version, adjust Y shift.
To speed up redraw times: reduce last_bars to ~2000, recompile and use as your own private version
Pinescript is a rudimentary language (should be called Painscript instead) that can basically only plot data. You can't do much else. Please see the code for tips and hints.
Certain things just can't be done or require shady workarounds and weeks of testing trying to resolve weird node.js compiler errors.
Feel free to learn from/reuse/change the code as needed and use as your own private version. See comments in code. Good Luck!
Mi Good 'Ol SuiteI've created this tool to help out traders by providing a variety of options to help out directional bias, as well as certain indicators that offer different types of support and resistance.
Some features include Daily and Weekly Open, Bollinger Band, and different moving average concepts that could prove to be useful.
If you have any questions or would like access, just send me a message. I hope you enjoy.
Forex Insight Pro 3.0
Forex Insight Pro 3.0 for TradingView gives you abilities to see the stories hiding in the graphs of markets. It marks and reminds you about important parameters that are happening on the graph including:
Helps you to label the numbers from sequential counting of CC-X which compares the Close price of the right bar to the Close price of the left bar in a group of X price bars. For example CC-5 will compare the Close of right bar (current bar) to the Close of left bar in a group of 5 price bars (right, left and other 3 bars in the middle). If the close of right bar is higher than the close of left bar, an increasing number will be printed above the right bar. On the other hand, an increasing number will be printed below the right bar if the close of right bar is lower than the close of left bar. Sequences of consecutive increasing numbers above or below the price bars indicate buying or selling pressure in the market.
Helps you to generate CC-X Support and Resistance levels which are the highest or lowest prices in the range of settable number of bars. For example, if 9 consecutive CC-5 below the price bars is specified, the resistance line will be plotted at the highest price of the most recent 9 bars. Similarly, if 9 consecutive CC-5 above the price bars is specified, the support line will be plotted at the lowest price of the most recent 9 bars. These CC-5 support and resistance levels often become important price structures in the graph for breakout or trend reversal later on.
Helps you to notice increment / decrement of Middle line of the Bollinger band indicator or increment/decrement of MACD indicator in colors. The normal Bollinger band indicator will have the gray middle line. You can set its color to blue/fuchsia to reflect increasing/decreasing value of the Bollinger middle line or set its color to lime/red to reflect increasing/decreasing MACD value.
Helps you to notice high level of RSI value by printing "H-RSI" above the price bar if the RSI value is greater than the preset value such as 70% or notice low level of RSI value by printing "L-RSI" below the price bar if the RSI value is less than the preset value such as 30%. The "H-RSI" and "L-RSI" could be used as warning signs that the reversal of the price trend might follow in the near future.
Helps you to notice the crossing of MACD line and its smoothing Signal line by printing "MACD > Sig" below the price bar if the MACD line crosses above the Signal line and printing "MACD < Sig" above the price bar if the MACD line crosses below the Signal line. Crossing of MACD and Signal lines could be used as warning signs that the reversal of the price trend might follow in the near future.d as warning signs that the reversal of the price trend might follow in the near future.
Helps you to notice the crossing of MACD line between the positive and negative zones by printing "MACD > 0" below the price bar if the MACD line changes to positive region and printing "MACD < 0" above the price bar if the MACD line crosses into the negative region. Changing the sign of MACD value could be used as warning signs that the reversal of the price trend might follow in the near future.
Helps you to notice the crossing of the fast simple moving average line and slow simple moving average line by printing "F > S" below the price bar if the fast SMA line crosses above the slow SMA line and printing "F < S" above the price bar if the fast SMA line crosses below the slow SMA line. Crossings of fast and slow SMA often indicate reversal of the price trends. the price bar if the fast SMA line crosses below the slow SMA line. Crossings of fast and slow SMA often indicate reversal of the price trends.
Helps you to label the Local Maximum and Local Minimum bars. If the high price of the middle bar inside a group of 3 bars is higher than its left and right neighbors, the label "Max" is printed above that middle price bar. Similarly, the label "Min" is printed below that middle price bar if the low price of it inside a group of 3 bars is lower than those of its left and right neighbors. Local Maximum and Minimum helps a lot in drawing the most recent supply and demand lines in which the price may breakout from.
Parameters of features in the above list could be changed, or turned on/off easily in the input options.
The source code of Forex Insight Pro 3.0 custom indicator is protected. Only invited TradingView members can apply this indicator to their forex, crypto currencies and stock price charts. Lifetime invitation is for 100 USD with free future upgrade and online support. Rental invitation is for 10 USD/month. Paypal, bank transfer and Bitcoin payments are welcome.
The author (Dr.Graph or Nimit Chomnawang, Ph.D) can be contacted with his TradingView handle .
Multi SMA EMA WMA HMA BB (5+5 MAs + Bollinger Bands) MTF by RRBMulti SMA EMA WMA HMA BB (5+5 Moving Averages of Any Type with Bollinger Bands) MTF by RagingRocketBull 2018
Version 1.0
This indicator shows multiple MAs of any type (SMA EMA WMA HMA etc) with BB and MTF support
There are several versions: Simple, MTF, Pro MTF and Ultimate MTF. This is the MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +assign 1 custom Timeframe to any group combo (5+5 Custom TF)
- Pro MTF: +multiple Timeframes for multiple MA groups (4*3 MTF), horizontal levels and show max bars back options
- Ultimate MTF: +individual settings for each MA, multiple Timeframes
There are 2 groups of MAs, 3rd group is BB. You can:
- show/hide all MAs in a group. Use length 0 to hide a particular MA independently or uncheck in Style.
- apply any MA type to all MAs in a particular MA group. For example, you can assign all EMAs the HMA type. Groups are called EMAs and SMAs just for reference.
- assign Custom Timeframe to a particular MA/BB group combination or all groups. For example, show daily (D) EMAs+SMAs on H1 Timeframe, or only H4 (240) BB on H1.
You can use different types of MAs as dynamic S/R levels to trade of off and MA crosses as signals for possible trend change (golden/death bull/bear crosses).
Current Timeframe MAs can be used together with Custom Timeframe MAs on a single chart. Higher TF MAs are more important than lower TF MAs.
Most common MA types are: SMA, EMA, WMA, HMA.
Most common MA lengths are: 12, 20, 26, 30, 50, 100, 200, 400 etc.
MTF Notes:
- Script UI uses simple timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Groups that are not assigned a Custom TF will use Current Timeframe (0).
- MTF will work for any MA type assigned to the group. BB group always uses SMA type.
- MTF works both ways: you can display a higher TF MA/BB on a lower TF or a lower TF MA/BB on a higher TF.
- MTF MA values are normally aligned at the boundary of their native timeframe. This produces stair stepping when a higher TF MA is viewed on a lower TF.
Therefore Point Density/Smoothing is applied by default on MA MTF for visual aesthetics. Set to 0 to disable and see exact ma mtf values (lines with stair stepping and original mtf alignment).
- Smoothing is disabled for BB MTF because fill doesn't work with smoothed MAs after duplicate values are replaced with na.
- MTF MA Value fluctuation is possible on the current bar due to default security lookahead
Features:
- 2 groups of custom 5+5 MAs of any type including Hull Moving Average (HMA)
- BB
- 1x Custom Timeframe with step line smoothing for 3 groups (MAs + BB)
1. based on 3EmaBB, uses plot, fill, security, change, barstate, stdev and custom hma functions
2. you can't set certain constants from input due to Pinescript limitations - change the code as needed, recompile and use as a private script version
3. you can't have plot* inside ?/if/for/function, and implementing condition forks using 2 sets of plots (na vs non-na) doubles indicator params and styles - confusing
4. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
Feel free to use. Good Luck!
Multi SMA EMA WMA HMA BB (5+5 MAs + Bollinger Bands) by RRB
Multi SMA EMA WMA HMA BB (5+5 Moving Averages of Any Type with Bollinger Bands) by RagingRocketBull 2018
Version 1.0
This indicator shows multiple MAs of any type (SMA EMA WMA HMA etc) with BB on a chart at the same time with/without MTF support depending on the version.
There are several versions (published later): Simple, MTF, Pro MTF and Ultimate MTF. This is the Simple version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +assign 1 custom Timeframe to any group combo (5+5 Custom TF)
- Pro MTF: +multiple Timeframes for multiple MA groups (4*3 MTF), horizontal levels and show max bars back options
- Ultimate MTF: +individual settings for each MA, multiple Timeframes
You can use different types of MAs as dynamic S/R levels to trade of off and MA crosses as signals for possible trend change (golden/death bull/bear crosses).
Most common MA types are: SMA, EMA, WMA, HMA.
Most common MA lengths are: 12, 20, 26, 30, 50, 100, 200, 400 etc.
Features:
- 2 groups of custom 5+5 MAs of any type including Hull Moving Average (HMA)
- BB
1. based on 3EmaBB, uses plot, fill, stdev and custom hma functions
2. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
Feel free to use. Good Luck!
VPTbollfibThis indicator based on VPT (volume indicator that show buy and sell power) and Bollinger fibo lines..
So entry is when VPT crossing up the lower fib.. sell is opposite..
I make it open code so have fun and try to make it better:)
alerts inside
BB5. Bollinger Bands 5 (oringan)This is bollinger-bands. you can set up 5 BB with this one script.
there are 2 other formular.
0 : classic
1 : my own BB
2 : ATR based BB
I made many custom alert. total 16 alert condition you can see in this script.
Fixed TF BBandsCombined daily and 3D Bollinger Bands into one indicator. It will show the BBands uncoupled from the current candle TF's
MA Study: Different Types and More [NeoButane]A study of moving averages that utilizes different tricks I've learned to optimize them. Included is Bollinger Bands, Guppy (GMMA) and Super Guppy.
The method used to make it MtF should be more precise and smoother than regular MtF methods that use the security function. For intraday timeframes, each number represents each hour, with 24 equal to 1 day. For daily, 3 is 3 day, for weekly, 4 is the 4 weekly, etc. If you're on a higher timeframe than the one selected, the length will not change.
Log-space is used to make calculations work on many cryptos. The rules for color changing Guppy is changed to make it not as choppy on MAs other than EMA. Note that length does not affect SWMA and VWAP and source does not affect VWAP.
A short summary of each moving average can be found here: medium.com
List of included MAs:
ALMA: Arnaud Legoux
Double EMA
EMA: Exponential
Hull MA
KAMA: Kaufman Adaptive
Linear Regression Curve
LSMA: Least Squares
SMA: Simple
SMMA/RMA: Smoothed/Running
SWMA: Symm. Weighted
TMA: Triangular
Triple EMA
VWMA: Volume Weighted
WMA: Weighted
ZLEMA: Zero Lag
VWAP: Vol Weighted Average
Welles Wilder MA
Bolinger Bands & Parabolic SARYou can use Bollinger Bands and Parabolic SAR at the same time.
You can choose BB Moving Average Type from SMA, EMA, RMA, WMA.
(if you want to use another type of MA , let me know)
ボリンジャーバンドとパラボリックSARを同時に描画します。
BBの中心線はSMA、EMA、RMA、WMAから選択できます。
(ほかに使いたい中心線があれば相談ください)
3 in 1 (BB, Stoch ,rsi) with alert On the chart there are the BB with purple and green circles to give the entry signal once the price has come back in the bands.The background alert appair when BOTH RSI and STOCH are in overbuy or oversell. the defalt is 20/80 but can set it by yourself.
Tersus Bollinger Bands Scalping Indicator V1.1Tersus Scalping Indicator
Tersus Scalping Indicator places buy and sell signals for Bitcoin in key areas using Bollinger Bands, Moving Averages, and Trend Analysis.
This indicator is very easy to use and makes for a great second opinion when trading.
The buy and sell positions are marked with B for buy and S for sell, in addition adds to position are market with red and green triangles.
The Bollinger Bands show general constriction and turn from red to green depending on market conditions. Red meaning bearish market, and green meaning bullish.
There are a number of lines all over the place and at first glance they can seem daunting. This is what they mean. The green and yellow dotted lines mark sell target stages 1 and 2, and buy target stages 1 and 2. The red dotted line is your buy and sell stop. The light blue is your buy and sell entry.
The candles also change color depending on if things are over sold or over bought using the Stochastic RSI. Purple for overbought and yellow/orange for oversold. The bars will also change to light blue during entry.
This should be limited to the 15 minute time frame for now. I have noticed some very good signals on the daily and some other time frames but this was written for 15 so don't expect it to be as accurate.
For purchasing information please direct message me.
The Curve by Atilla YurtsevenThe Curve by Atilla Yurtseven
This indicator uses real empirical rule (68 - 95 - 99.7 rule). This is not a Bollinger Band indicator. I know BB is a very good indicator however it's unreliable.
First of all, I believe that price is not in a normal distribution. When you plot the histogram, you can not see a nice bell curved shape. It's know that bollinger bands simply uses a simple moving average and add standard deviation of closing price over it. TheCruve in the other hand, converts price to the nice bell shaped normal distribution and it never repaints. If it does, so there is a bug :)
The Curve indicator does not repaint. It's just there at the opening of the new bar! You can use The Curve with any time frame you like and any securities/pairs. Even for stocks. Longer look back periods, give better results.
Inputs:
Look Back Period: This is for calculating probability. Longer periods give better results.
Use Trend: When you enable Trend option, all lines will be calculated based on a Linear Regression trend
What do lines / ranges mean?
1st lines range is 68%. There is 68% probability that bar will close in this range.
2nd lines range is 95%. There is 95% probability that bar will close in this range.
3rd lines range is 99.7%: There is 99.7% probability that bar will close in this range.
FYI: This is an indicator that I have developed for myself. You can use it, apply or not to apply it to your trades. Keep in mind that, you are responsible for all your loses (or wins). Risk is 100% yours. Please use / try "The Curve" only if you accept this condition.
Have fun :)
Atilla Yurtseven
%B 12H THello everyone , I want to share with the comunity my work for look BB %B in a different timeframe without having to change it every time.
I had done to look and study different or multi timeframe a BB %B
I have programmed the script so that it is completely identical to the default one of tradingwiew to simplify its use at all.
I hope this work can be useful to someone else who likes the concept of standard deviation at the base of the bands conceived by Bollinger, but seen as multi timeframe.
zibichannelrsibollthis version has ATR and RSI and boll combination with zibichannel
the buy point are agreement of ATR Bollinger and RSI (B)
two exit point (red S=agreement of ATR Bollinger and RSI , black S =agreement of ATR Bollinger
alerts inside
Advanced Bollinger BandsThis is a more advanced version of the standard Bollinger Bands indicator. It allows you to change the type of the moving average (Simple, Exponential, Weighted, Volume-weighted, Triple EMA or a moving average that uses RSI ). The indicator also allows you to volume weight the indicator (turned on by default). If you want to weight the oscillator against the true range instead of volume this is also possible. By default, this will be done automatically for assets that do not support volume .
zibi fib3This is major update to Zibifi2 with addition of vwma fibs in order to remove issue that can happen with regular daily fibs (they sometime send bad signals)
in this version the addition will help to eliminate that effect
major buy points in green and red
minor buy and sell points are in lime and orange
have fun
BAHbO - multi indicators and signals SMA,BB,RSI,Engulfing,Signal4 SMAs - 9,21,55,200
Bollinger Bands - 21
Engulfing patterns
Fractal Support Resistance
Bullish and Bearish Engulfing signals
Engulfing Candles
Bollinger Bands + RSI combined indicator with signals