Mean Reversion Channel - (fareid's MRI Variant)Description :
Mean Reversion Channel objective, based on Mean Reversion theory ( everything has a tendency to revert back to its mean), is to help visualizing:
Inner Channel -> Dynamic Support and Resistance
Outer Channel -> Overbought/Oversold Zone which may signal consolidation phase or potential reversal due to unsustainable move
Details on some of the filtering type used for mean calculation can be read in Ehlers Technical Papers: "Swiss Army Knife Indicator" and/or his book "Cybernetics Analysis for Stock and Futures"
Disclaimer:
These study scripts was built only to test/visualize an idea to see its viability and if it can be used to optimize existing strategy.
Any ideas to further improve this indicator are welcome :)
布林带(BB)
Exponential Deviation Bands Width [ChuckBanger]This indicator is a compliment to Exponential Deviation Bands . It is the difference between the upper and the lower bands divided by the middle band. It is an easy way to visualize consolidation before price movements or periods of higher volatility.
How it works
During a period of high volatility, the distance between the two bands will widen and Exponential Deviation Bands width will increase. And the opposite occurs during a period of low volatility, the distance between the two bands will contract and Exponential Deviation Bands width will decrease. Meaning there is a tendency for bands to alternate between expansion and contraction.
When the bands are relatively far apart, that is often is a sign that the current trend is ending. When the distance between the two bands is relatively narrow that often is a sign that the market is about to initiate a bigger move in either direction.
MA ICHI BB [Rogulabo]3 indicators in 1.
Included Indicators are:
- MA 5,25,50,100,200
- Ichimoku
- Bollinger Band
These can be used to determine changes in trends when:
- MA's collide, trajectories shift, or certain levels are reached.
- Ichimoku cloud is above or below the candles.
- Bollinger Band's width changes, or range is broken.
Reasons for 3 in 1 assembly:
This indicator is intended to be used by students, and followers of Dan Takahashi
(a prominent educator of investing in Japan who is also a user of TradingView) .
Those who wants to use and learn with the same setup as Dan, would greatly benefit from this since,
the complex setting up process which can be a pain for beginners can be skipped with a simple click.
Every stylistic choice of color and placement were made to make it similar to the chart used by Dan.
Simple customizations are available such as:
- Changing color
- Changing the values
- Hide/show controls
Notes:
This is intended to be used alongside “CC RSI” for the complete the setup.
Any questions, please refer to:
@rogulabo
==
高橋ダンさんが使用されてるチャートと同様のセットアップの為にご活用ください。
複数のインジケータをグループにしておりますので、無料版を使われてる方は効率よく使っていただけると思います。
また、“CC RSI ”どいうタイトルのインジケータも同時に公開しておりますので、セットアップを完成させたい方はこちらもご活用ください。
以下のインジケータを含みます。
・MA線
・一目均等表
・ボリンジャーバンド
カスタマイズされたい方はご自由に値を変更ください。
ご質問は @rogulabo までよろしくお願いいたします。
CSPDMost Advanced & Accurate CandleStick Pattern Detector
Looking All Over of All Markets for All Important Powerful Reversal | Corrective Patterns (25 type)
Filtering the Results with Optional Features like Oscillator, Bollinger Bands, Volume Confirmation, Prior and Following Candles Confirmation which are Fully Customizable.
With this you can detect:
Hammer | Shooting star
Inverted Hammer | Hanging
Long legged Doji | Dragonfly Doji | Gravestone Doji
Bullish tweezers | Bearish tweezers
Bullish inside bar | Bearish inside bar
Bullish three line strike | Bearish three line strike
Bullish engulfing | Bearish engulfing
Piercing line | Dark cloud cover
Bullish abandoned baby | Bearish abandoned baby
Morning star | Evening star
Three white soldiers | Three black crows
*Bullish kayo | *Bearish kayo
Features:
Prior and Following candles Confirmation
You can set prior and following candle as basic prerequisites for marking candles as pattern to make sure you are at the top or bottom of the trend.
Volume confirmation
You can active volume increasing confirmation for some of pattern with adjustable increase % relative to prior candle | candles.
Oscillator Confirmation
Active oscillator confirmation. Select your approved oscillator from list (Stochastic, RSI, StochRSI, MFI, StochMFI) then enter desired value for marking candles as bullish | bearish pattern.
Bollinger Bands Confirmation
Active BB confirmation. Configure your Bollinger Bands. Now only see the patterns which reached or crossed from Bands. Also you can enable BB clod to have your BB indicator at the same time.
Adjustable Flexibility and Precision
You can set tolerance% for Osc and BB Confirmation - each one separately - for more control.
Self-adaptability
The properties of markets change over time, for example the amplitude of fluctuations and the intensity of movements. The script is designed in such a way that you can examine the price history as a benchmark for changes in market properties to adopt determinants. Also you can control those manually.
Self-regulatory
The user has the ability to change input factors depending on their point of view.
Behind the pattern recognition algorithms, there are relationships and similarities in their appearance that cause them to be influenced by each other. Simultaneously with changing the determining factors of each pattern by you, script automatically adjusts other details in accordance with your changes.
Alerts
You can set for type of pattern or each one of pattern have been detected.
Fully Costumizable
All of these options can be change and adjust.
Note 1.
The patterns are based on extensive study of reference and famous sources and the experience of me and my friends in trading and analysis with price action methods.
Note 2.
Due to the Pine limitations in the number of outputs | plots for each script, our attempt has been made to select the best and most important patterns.
Note 3.
So far, many scripts have been written in this field, but our experience with all of them and even the build in version was not satisfactory, and this was the initial motivation for making the script.
We strive to improve progress and elimination of shortcomings and we will continue to make this better.
Note 4.
Through personal experience and based on the principles of market and candlestick psychology, we discovered a new type of pattern and named it as Kayo.
kayo is a two candle pattern which formed when:
1.We have a pivot point with prior candles as left bars and following candles as right bar. Pivot candle called as second candle.
2.In a bullish kayo, first candle must closed descending and second candle must closed as ascending. For bearish kayo vise versa.
3.In a bullish kayo, second candle's lower wick must be longer then upper wick.
4. A pattern marked as kayo when its conditions do not correspond to any of the other patterns(include the confirmation that user added), ie it has the last naming priority over the other patterns.
Note 5.
When you active confirmation options for patterns like hammer, engulf and etc which they conditions are like kayo in some extent, if they can't pass the confirmation steps, they can be marked as kayo pattern.
Note 6.
If you active volume confirmation for Three white soldiers | Three black crows, the confirmation get passed if the volume of forth or third candle increased as value as entered relative to volume EMA3 of 3 candles.
Note 7.
In a bullish pattern all highs of following candles MUST be higher than prior highs and all lows of following candles MUST be higher than prior lows. For bearish patterns vise versa.
This type of confirmation depends on High and Low NOT close!
Gift to price action lovers!
Support us with your like and comments. let us know your experience, points and idea to make this better together.
G-Bollinger bands volatility breakout v.1This is my frist publish scrpit. I developed this indicator origin is BB. It make from easy idea but powerful for sideway to breakout
1. I findout volatility by upper band of BB - lower band of BB (I called "Aline")
2. I created SMA of Aline (I called Bline)
3. I created the special line is "Cline" from Aline - Bline
4. I created 0 line " Baseline "
G-BBvB is the very good indicator to detect low volatility to begin the volatility = Buy signal
Now I can't find the sell signal form indicator. I try backtest sell at Cline cross zeroline but it not work.
I'll develop "G" indicator for free .
Goodluck :D
Mulitple Bollinger Bands with MAsIn this indicator, I used Bollinger Bands and many standard deviation values together. These values are: 0.618 (Yellow), 1, 1.618 (Yellow), 2, 2.618 (Yellow), 3, 3.618 (Yellow), 4, 4.618 (Yellow). Like the indicator I just published, I also added multiple moving average options for the Bollinger Bands calculation. You can create your own strategies for where it bounces in ups and downs.
Türkçe:
Bu indikatörde Bollinger Bantları ile birçok standart sapma değerini birlikte kullandım. Bu değerler: 0.618 (Sarı), 1, 1.618 (Sarı), 2, 2.618 (Sarı), 3, 3.618 (Sarı), 4, 4.618 (Sarı). Daha yayınladığım indikatör gibi burada da Bollinger Bantları hesaplaması için birden çok hareketli ortalama seçeneği de ekledim. Yükseliş ve düşüşlerde sektiği yerler için kendi stratejileriniz oluşturabilirsiniz.
BBofVWAP with entry at Pivot PointThis strategy uses BB of VWAP and Pivot point to enter and exit the Long position.
settings
BB length 50
BB Source VWAP
Entry
When VWAP crossing up BB midline and price/close is above weekly PivotPoint ( you can also use Daily pivot point )
Exit
When VWAP is crossing down BB lower band
Stop Loss
Stop loss defaulted to 5%
Note : Long will position will be exited on either VWAP crossing down BB lower band or stop loss is hit - whichever comes first . Being said that some time your stop loss exit is less than 5% which saves from more losses.
Entry is based on weekly Pivot point , so any time frame below weekly will work perfect. I have tested t on 30 min , 1 HR , 4 Hr , Daily charts. Even weekly setting shows good results , that will work for long term investing style.
if you change Pivot period to Daily , chose time frames below Daily.
I also noticed this strategy mostly do not enter Long position in a down trend. Even it finds one , it will be exited with minimal loss.
Warning
For the use of educational purposes only
RK's Framework 01 - Auto Color GradientThis started as a personal arrays study, but after a few tests I decided to made a framework to get my own scripts simplest, lighter and faster.
And now I'm sharing with you guys.
Is very simple to use:
Copy evething inside "RK's Auto Color Gradient Framework" block;
Paste anywhere before the plotting;
Declare the color variable name calling the function "f_autocolor(___, ___)" with the source you gonna plot and the size of the scale do you want to use to compare the data.
Feel free to use.
Hope brings some profits for you guys!!
Spread Entry StrengthThis is an overlay indicator showing a strong potential for entry into an option spread trade.
2 background shadings will occur:
The background will shade blue if the ticker is prime for a Bullish Call spread.
The background will shade purple if the the ticker is prime for a Bearish Put spread.
In theory, if the SE Strength is at one of the extremes of the Bear or Bull side, then a spread is prime for entry.
To calculate this, 8 conditions receive a 1 or zero dependent on whether the condition is true (1) or false (0), and then all of those are summed. The primary gist of the strength comes from Nishant's book, or my interpretation thereof, with some additives that limits what I need to review (such as condition 8 below.)
The 8 Bull Conditions are:
1) Bollinger Bands are outside of the Keltner Channels
2) ADX is trending up
3) RSI is trending up
4) -DI is trending down
5) RSI is under 30
6) Price is below the lower Keltner Channel
7) Price is between the lower Bollinger Band and the Bollinger basis.
8) Price at one point within the last 5 bars was below the lower Bollinger Band
The 8 Bear Conditions are the inverse conditions (except the first):
1) Bollinger Bands are outside of the Keltner Channels
2) ADX is trending down
3) RSI is trending down
4) +DI is trending up
5) RSI is over 70
6) Price is above the upper Keltner Channel
7) Price is between the upper Bollinger Band and the Bollinger basis.
8) Price at one point within the last 5 bars was above the upper Bollinger Band
There is a "market noise" filter that will filter out shading when another market move is considered, i.e. if you don't want to see the potential trade when QQQ moves more than 1% then do the following in the settings:
Check "Market Filter"
Enter QQQ in the "Market Ticker To Use"
Enter 1 in the "Market Too Hot Level"
Press Ok
Obviously, the same holds true for the "Market Too Cool Filter."
Spread Entry Balance of PowerThis is a bar chart showing the strength of a potential option spread entry using 8 conditions for each side of a trade, bull or bear.
In theory, if the SE Strength (Spread Entry Strength) is at one of the extremes of the Bear or Bull side, then a spread is prime for entry.
To calculate this, the 8 conditions receive a 1 or zero dependent on whether the condition is true (1) or false (0), and then all of those are summed. The primary gist of the strength comes from Nishant's book, or my interpretation thereof, with some additives that limits what I need to review (such as condition 8 below.)
The 8 Bull Conditions are:
1) Bollinger Bands are outside of the Keltner Channels
2) ADX is trending up
3) RSI is trending up
4) -DI is trending down
5) RSI is under 30
6) Price is below the lower Keltner Channel
7) Price is between the lower Bollinger Band and the Bollinger basis.
8) Price at one point within the last 5 bars was below the lower Bollinger Band
The 8 Bear Conditions are the inverse conditions (except the first), and the conditions are given a negative disposition (meaning they sum to -8 :)):
1) Bollinger Bands are outside of the Keltner Channels
2) ADX is trending down
3) RSI is trending down
4) +DI is trending up
5) RSI is over 70
6) Price is above the upper Keltner Channel
7) Price is between the upper Bollinger Band and the Bollinger basis.
8) Price at one point within the last 5 bars was above the upper Bollinger Band
Double BB & Double EMA by IKINThis is the combination of code to detect the cross over between EMA 7 & EMA 21.
By using the double Bollinger Bands will help traders to make the decision by exit the counter just incase buy at the highest price.
Create for FREE TRADING VIEW USER
Bollinger Band Crossover SignalI'm a little surprised I couldn't find a BB crossover script on here since I've always used it on other charting software. So of course I had to write one in for TradingView.
Essentially what this script signifies are price breakouts when price crosses over the upper BB band. So what it shows is that market conditions are entering overbought territory.
Length is set to 20 and Standard Deviation is set to 2. These are the default settings.
The way I use the script is to identify breakouts in price, as well as a signal to start scaling out of a position if I am already in one.
Equivolume Overlay - Bollinger BandsA bollinger band overlay for Equivolume Bars .
To use it you must move it to the same existing pane as the Equivolume Bars pane and set it to the same scale (usually A).
Please ensure if you have modified the equivolume bars script's settings that you modify them in this script accordingly or they will not line up correctly.
Bollinger Bands Stochastic RSI Extreme SignalThis is the finalized code released to the public that I created in a video linked here.
This indicators combines a Bollinger Band and Stochastic RSI to produce signals for possible price reversal. The signals are displayed by default as green arrows for bullish and red arrows for bearish.
To trigger a signal the indicator checks for the following:
(Bullish)
A candle closes above the upper Bollinger Band
The following candle closes within the upper Bollinger Band
The RSI Stochastic is below the set threshold (10 by default)
(Bearish)
A candle closes below the lower Bollinger Band
The following candle closes within the lower Bollinger Band
The RSI Stochastic is above the set threshold (90 by default)
Bollinger Bands with Moving Averages and MTFBollinger Bands basically use SMA, here I revised it for use with many moving averages. Moving average types I have added: "EMA", "RMA", "SMA", "WMA", "VWMA", "WWMA", "TMA", "VAR", "ZLEMA", "TSF".
There is also an MTF option to view different time zones.
Bollinger Bands %B Compare VixThis imple script converts your chosen chart price and outputs it as a percentage in relation to the Vix percentage.
If price (Blue line) is higher than 0.60 and vix (Red Line) is lower than 0. 40 then there is lower volatility and this is good for buying.
If price (Blue line) is lower than 0. 40 and vix (Red Line) is higher than 0.60 then there is higher volatility and this is good for selling, exiting and cash only.
If you like risk you can enter as soon as the price and vix cross in either direction
This is my first script, please give me a lot of critique, I won't cry hahaha :)
For greater accuracy, you use these Vix products for their specific stocks/Indicies:
Apple - VXAPL
Google - VXGOG
Amazon - CBOE:VXAZN
IBM - CBOE:VXIBM
Goldman Sachs - CBOE:VXGS
NASDAQ 100 = CBOE:VXN
SP100 - CBOE:VXO
SP500 (3months) - VIX3M
XLE(energy sector) - CBOE:VXXLE
EWZ(brazil etf) - VXEWZ
EEM( emerging markets etf) - CBOE:VXEEM
EFA (MSCI ETF) - CBOE:VXEFA
FXI (Cina ETF) - CBOE:VXFXI
Stochastic with Bollinger & EMAIn this script
I combined the various of the oscillator
Stochastic (STOCH) with BB (Bollinger Bands).
Each cut of K and D creates a mark (+) Red / green - accordingly.
As the Stochastic (K) crosses the BB base, a green / red point is formed accordingly.
As a sign it is possible to continue up / down.
I added EMA8 to K (style circles)
When the oscillator is above the EMA - it is possible that this is a clear sign of an increase.
Band 50 was also added to facilitate the calculations.
MFI & EMA & Bollinger BandsIn this script
I combined the various of the oscillator
MFI ( Money Flow Index ) with BB ( Bollinger Bands ).
As the MFI crosses the BB base, a green / red point is formed accordingly.
As a sign it is possible to continue up / down.
I added EMA8 to MFI (style circles)
When the oscillator is above the EMA - it is possible that this is a clear sign of an increase.
Band 50 was also added to facilitate the calculations.
Horcrux OscilatorDoes your oscilator give exit signal on time? Mine does. However worst the idea is, I had to come up with a horcrux plan :P
Concept is as below:
I use 7 standard deviation Bollinger bands to identify which level current price is in. Standard deviations used are from 0.5 (lowest level) to 3.5(highest level) with 0.5 step . This creates overall 16 levels ranging from 0 to 15 with 0 being the highest level and 15 being the lowest.
LookbackPeriod is used to calculate max and min values of these threshold over certain bars. Average of max and min constitutes threshold.
Horcrux value is difference between max state and current state in LookbackPeriod.
Lower the horcrux much closer the current state to the highest state. Hence, horcrux higher than threshold is considered as green region where prices are moving up. Decrease in number of horcruxes means price state moving closer to highest state (which is the lower level). Hence, indicates reduced momentum or reversal.
Use higher LookbackPeriod for increased accuracy. Increase BBLength for long term trades. Adjustment is used to adjust threshold line by up to + or - 20%
Bollinger Bands Width with Squeeze AlertThis is the standard Bollinger Bands Width (BBW) indicator with the added capability of detecting the "Bollinger Bands Squeeze" as defined by John Bollinger:
The BBW squeeze happens when BBW < all BBWs of the past 125 intervals.
Whenever a BBW squeeze occurs, this means there is low volatility.
A low volatility period is almost always followed by high volatility: a large breakout (with price performing ample movement and exiting the BBW bands) may suddenly occur.
The breakout may be preceded by a fakeout, during which price moves in the opposite direction.
Bollinger %B Candles StrategyStrategy built based on earlier published indicator:
Looks to be doing good for short term swing trades. But, I am not sure if there is repainting. I tried to avoid buy/sell trades on same day - but wasn't successful.
So far back-tested on following:
COINBASE:BTCUSD - works on both long and short
CURRENCYCOM:GOLD and equities - long only.
Some of the failures: ASX:WPL , ASX:WHC , ASX:NHC
As usual for back-testing - using 1000 as initial capital with 100% invested on each trade and no compounding so that it will be easy to compare with buy and hold. Trade with caution :)
Bollinger %B CandlesCandlesticks made from Bollinger %B of high, low, open and close.
Input parameters are explained below:
BBLength : Bollinger band periods. Standard deviation is hardcoded as percent B scale does not change with standard deviation.
UseMovingAverage : Candles are formed on moving average of Bollinger Percent B instead of absolute values.
Moving Average Type : Type of moving average to apply on Bollinger %B values
Lookback Period : Moving Average periods.
ColorByPreviousClose : Color candles based on previous close.
Bollinger Bands Width %bAs the bottom reading of BBW changes dynamically with bull market progression, a relative bottom is preferred than absolute, hence normalization of BB Width via bollinger bands and %b, i.e. distance of datapoints from stdev band.