BB+STOCH RSI v2Developed for one of my followers.
The basic idea is that the buy signal is generated by stoch and bb.
However, If price hits the upper line or trend return crossing under midline, the strategy closes the position.
BB
DPD+RSI+BB Combination of DPD ,STOCHRSI and RSI indicators. Be careful for percantage selection to fit your candle size.
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!
BB Quick Fire5 Bollinger Bands in levels 50,2.0 | 50,2.5 |50,3.0 |50,3.5 |50,4.0
This is used to identify pullbakcs and future pitchfork's.
Single SMA cross with BB StrategyThis is a light weight code and strategy. I tuned it for NZDUSD on a 15 min chart. NZDUSD is a slow moving low volatility pair. A single SMA cross over + crossing a .9 BB + the single SMA is increasing. I will be manually trading this with alerts and once I have LUA down I will set it free with FXCM and see what it can do on it own.
** I use BB as a means of seeing momentum to continue gaining not as a reversal signal.
Please contact me with issues/questions
RSI or MFI %BPlot where RSI or MFI is in its Bollinger Bands . Can be used in many different way: as a trend indicator (above below 0.5), part of a trend following strategy when crossing above 0 (resume bullish trend ) or crossing below 1 (resume bearish trend ), also useful for divergences, etc...
MFI/RSI with Volatility Bands [LazyBear (edited)]Edited version of the script by LazyBear.
Update of my previous script.
Features:
- plot both MFI and/or RSI (LazyBear only allows one of both)
- plot RSI/MFI band (over sold - mid - over bought) + indicator lines
MFI/RSI with Volatility Bands [LazyBear (edited)]Edited version of the script by LazyBear.
Update of my previous script.
Features:
- plot both MFI and/or RSI (LazyBear only allows one of both)
- plot an indicator band (over sold - mid - over bought)
BB & KCThis script is a mix of both the default Bollinger Bands and the default Keltner Channels.
It helps in identifying the squeeze of the bands and also the consolidation of the price movement.
Plum Moving AverageThis is a combination of 8 Moving Average & 1 BB for comfortable use.
이것은 조합이다. 8개 이동평균선 & 1개 볼린저밴드. 편하게 사용.
Bollinger Bands arrow (BB arrow)it is simple script.
it just use 2 BB.
and also it show arrow when candle touch upper(or lower) line.
( one person asked me to make this script. this is not my idea. )
i hope you change values by yourself.
----
한국어 설명
2개의 볼린저 밴드를 사용하는 지표입니다.
특별히 독착정인 수식이나 기법은 없지만 2개의 볼밴을 하나의 스크립트에서 사용할 수 있습니다.
그리고 볼밴 위나 아래를 돌파하면 화살표를 보여주어서 편합니다.
( 한분의 요청으로 개발하였으며 저의 아이디어가 아닙니다. )
설정에서 변수를 직접 바꾸보면서 사용해보세요.
4EMA (8,13,21,55) + Bollinger BandsFive indicators in one.
4 Moving Average Exponential : 8, 13, 21, 55 - as per @Philakone strategy
Bollinger Bands
Check out my other scripts for RSI and Stoch RSI all in one, and 4EMA + Death Cross + Bollinger Bands.
Squeeze CMF IndicatorI changed the indicator code of Lazybear to replace the linreg with the Chaikin money flow. I recommend using a Macd because the chaikin money flow can give false signals, like any other indicator.
VWMA Bollinger BandsHey there fellow bollinger band fans!
The main point of this script is to give bollinger bands with a vwma basis rather than a sma basis. It is important to note that the default setting is to average the opening price rather than closing price of previous candles (just my personal preference). Also by default this script shows bands based on one, two and three standard deviations from the vwma basis. Play with the settings and change them to what you like.
Bollinger Bands SqueezeEnglish:
Simple histogram, showing Squeeze of Bollinger Bands.
Usage is simple - when price is in Squeeze, no entries in any direction. For using with Bollinger Bands indicator, including binary options.
Russian
Простой индикатор, наглядной отображающий стадию Сжатия лент Боллинджера.
Простой в использовании - когда цена в Сжатии - не входим в сделку. Особенно эффективен при связке с индикатором лент Боллинджера и входе в сделку при раскрытии лент. Также применим для бинарных опционов
Example/Пример
Bollinger Bands %B + RSIBollinger Bands %b and RSI in one, and a experimental RSI cloud based in BB formula.
RSI scale goes from 0.00-1.00 instead of 0 -100.
All indicators in one!All indicators in one!
Hull MA (2 colors) + Bollinger Bands + 6 EMA + 50 SMA + 200 SMA + Parabolic SAR + SUPER TREND (2 colors) + Doji signals (yellow)
BlackCompositIndicator4OverlayThis is not new indicator.
// Candle Patterns Indicator created by Robert N. 030715
// Volume Indicator @author LazyBear
// Updated and translated by Blyayshman
Это не новый индикатор - это компиляция нескольких для удобства одновременного отображения и экономии разрешенных индикаторов.
Эта версия для отображения на главном экране, вместе с графиком.
Можно отобразить до 4-х MA, 2-х EMA и анализатор паттернов японских свечей.
Пожелания и предложения приветствуются.
BB bunchThis script draws two Bollinger Bands for current period and bands for two different periods