Mean Absolute Deviation BandsThe other way to build bands around price that uses Mean Absolute Deviation instead of Standard Deviation.
MAD is also a measure of variability, but less frequently used. MAD is better for use with distributions other than the Gaussian.
MAD is always less than or equal to Standard Deviation and the resulting bands are more tighter for the same parameters if we compare it to Bollinger Bands.
If you use band stops this can be useful.
在腳本中搜尋"弘历投教boll指标代码分析"
QQE MODSince there has been some demand for the QQE (Qualitative Quantitative Estimation ) figured I should upload my modified version of it as well.
The Orginal script is from Glaz, this is not my original idea - all I did was pretty much smash two QQEs together.
So there are Two QQEs in one script, right? One that is shown on the chart as columns, and the other "hidden" in the background which also has a 50 MA bollinger band acting as a zero line.
When both of them agree - you get a blue or a red bar.
[PX] MTF Standard Deviation LevelHello guys,
once again, I want to show you a different method for detecting support and resistance level. Today's approach is similar to the one I posted recently, but the way the level will be detected is different. I call it the multi-timeframe standard deviation level.
How does it work?
The method is similar to the way Bollinger Bands work. First, the indicator calculates the standard deviation, which can be influenced by the "Sensitivity"- and "Length"-setting.
Sensitiitiy - the higher the value, the fewer level will be shown
Length - simply the length for the standard deviation formula
Second, the detected value will be added (for resistance level) or substracted (for support level) from the current close. Once the upper or lower boundaries are crossed, a level will appear and keeps moving until the up- or downward movement finishes. Then the level will settle and stay in place.
Again, as seen in my previous indicator, you can control all the different styles and colors for the levels. The best part is, the whole thing works in a multi-timeframe fashion. In an example, you could select the "Daily" level and plot them on a 4-hour chart.
If you find this indicator useful, please leave a "like" and hit that "follow" button :)
Have fun, happy trading and once again Merry Christmas :)))
Exponential Deviation Bands [ChuckBanger]This is Exponential Deviation Bands. It is a price band indicator based on exponential deviation rather than the more traditional standard deviation, as you find in the well-known Bollinger Bands calculation. As compared to standard deviation bands, exponential deviation bands apply more weight to recent data and generate fewer breakouts. There fore it is a much better tool to identifying trends.
One strategy on the daily can be
Buy next bar if closing price crosses below the lower bands
Sell if price is equal to the current value of the upper bands
Eclub Multi IndicatorThis multi Indicator includes:
3 Moving Averages
2 Exponential Moving Averages
Bollinger Band
Ichimoku
Parabolic SAR
You can change the colors if you want. Go to setting to enable Ichimoku or SAR or disable others.
The color tolerance is by default zero which results in a very sensitive color change. You can change it to decrease the sensitivity. The value should be the last decimal of the price or the last two decimals of price etc.
If you like this indicator donate some BTC to the following address:
BTC address:
18NSD2xdJyYWoC4CSr4xg1hMk2q5cBbr8T
Combo Backtest 123 Reversal & DAPD This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator is similar to Bollinger Bands. It based on DAPD - Daily
Average Price Delta. DAPD is based upon a summation for each of the
highs (hod) for the 21 days prior to today minus the summation for
each of the lows (lod) for the last 21 days prior to today. The result
of this calculation would then be divided by 21.
It will be buy when high above previos DAPD high and sell if low below previos DAPD low
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo Strategy 123 Reversal & DAPD This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator is similar to Bollinger Bands. It based on DAPD - Daily
Average Price Delta. DAPD is based upon a summation for each of the
highs (hod) for the 21 days prior to today minus the summation for
each of the lows (lod) for the last 21 days prior to today. The result
of this calculation would then be divided by 21.
It will be buy when high above previos DAPD high and sell if low below previos DAPD low
WARNING:
- For purpose educate only
- This script to change bars colors.
EVWBB Strategy [QuantNomad]It's my new strategy using EVWMA (Elastic Volume Weighted Moving Average).
Now I created a Bollinger Bands strategy where basis level is EVWMA.
It looks pretty interesting but you have to be careful with the entries/exits on the same bar, I'm using stop orders, so on big moves it happens pretty often.
In the next version, I will try to eliminate these issues.
Entry for this strategy happens when price crossover upper for long and lower for short. I exit both short and long on basis level.
strategy of RSI with trendlines and S/RBefore I go through this chart I want to acknowledge the great programmers who spent much of their time and effort to assist many TV users and traders.
Thank you to LunaOwl for the RSI American lines her script made me realize the need to have trendlines, supports, and resistance on RSI charts.
Also, a copy of Lij_MC code from was taken which had been credited to Duyck. Thank you Duyck.
The BB was copied from morpheus747
As I researched different strategies one strategy seemed to assist the trader for entry and exits. It was the combination of Support and resistance on the RSI. In addition, diagonal lines (Recently introduced in pine script V4) assists in the direction and reversals that may occur. What is supplied is only a graphical representation and no trade entry or exit points are selected.
On the chart you can use;
• RSI line or bar;
• Bollinger High / Low support line;
• Diagonal trend lines. A primary and a secondary group of trendlines; and
• Trendline candle highlighter.
I am hoping people with great skills could assist to develop this to the next level.
I hope this graphical strategy may help until further development. Enjoy.
Bundle of various indicators, All-in-oneThis scripts compiles many indicators into one. It comes from many sources and i added all sources i used. If i forgot one, don't hesitate to message me.
This is useful if you need to setup your chart layout fast. The menu makes it easy to configure it.
You can configure and display:
- Various types of moving averages: RMA, SMA , EMA , WMA , VWMA , SMMA , HullMA, LSMA , DEMA , TEMA
- Stochastic RSI crosses from multi-timeframes directly on candle's close (1h, 4h, D, W)
- Bollinger bands with primary and secondary deviation
- SAR
- Color background using difference between Stochastic RSI K and D
- Support and resistance
- Open high low close from higher timeframes (D, W, M)
- Auto fibonacci levels (still a work in progress, i will add logarithmic fibonacci levels too later)
- "Alt season" for crypto users: if BTC dominance cross his SMA , display a pictogram on every chart
Stil working on:
- Auto fibonacci levels: i will add logarithmic fibonacci levels
- Stochastic crosses
- Alt season: use others types of moving averages
If you have any suggestions / improvements, feel free to message me or write it in the comments below.
ANN MACD Future Forecast (SPY 1D) NOTE : Deep learning was conducted in a narrow sample set for testing purposes. So this script is Experimental .
This system is based on the following article and is inspired by an external program:
hackernoon.com
None of the artificial neural networks in Tradingview work and are not based on completely correct logic. Unlike others in this system:
IMPORTANT NOTE: If the tangent activation function is used, the input data must also have tangent values (compared to the previous values of 1 bar).
Inputs were prepared according to this judgment.
1. The tangent function which is the activation function is written correctly. (The tangent function in the article: ActivationFunctionTanh (v) => (1 - exp (-2 * v)) / (1 + exp (-2 * v)))
2. Missing bias parts in the formulas were added.
3. The output function is taken from the next day (historical), so that the next bar can be predicted, which is the truth.
4.The forecast value of the next bar is subtracted from the current bar change and the market direction is determined.
5.When the future forecast and the current close are added together, the resulting data is called seed.
The seed carries data both from the present and from yesterday and from the future.
6.And this seed was subjected to the MACD method.
Thus, due to exponential averages, more importance will be given to recent developments and
The acceleration situations will show us the direction.
However, a short position should be taken for crossover and a long position for crossunder .
Because the predicted values work in reverse.Even though we use the same period (9,12,26) it is much faster!
7. There is no future code that can cause Repaint.
However, the color after closing should be checked.
The system is completely correct.
However, a very narrow sample was selected.
100 data: Tangent diffs ; volume change, bollinger bands values changes (Upband , Midband , Lowband) and LazyBear's Squeeze Momentum Indicator (SQZMOM_LB) change and the next bar data (historical) price change were put into the deep learning test.
IMPORTANT NOTE : The larger the sample set and the more effective dependent variables, the higher the hit rate of the deep learning test!
EDIT : This code is open source under the MIT License. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Stay tuned. Best regards!
Tabajara com Nutella [xdecow]Tabajara setup from André Machado
-ma 8
-ma 20
-ma 50
-ma 200 (blue)
-vwap (aqua)
-bollinger bands
-barcolor based on tabajara rules
Multiple Moving AveragesThis is an indicator with 4 moving average slots and 6 exponential moving average slots
It also has bollinger bands and a volume weighted moving average slot
Feel free to edit this and add/remove some and publish your own
Czarlieron's Multiple MA's w/ BBThis script contains:
Multiple EMA's (8, 13, 21, 34, 55, 100, 200)
Multiple SMA's (8, 13, 21, 34, 55, 100, 200)
Bollinger Bands
Volatility Adjusted Bands - JD This indicator gives a likely trading range based on the volatility of the past x amount of bars, measured against a certain moving average.
The indicator can be used as an alternative for BBands.
It gives approx. the same "trend-side" lines (upper line in uptrend, lower line in down trend) as the Bollinger Bands, but the opposite line follows closer on price,
Instead of "flying out" to the other direction like in BBands.
As a comparison, the BBands for the same length (50 period) are added on the chart.
JD.
#NotTradingAdvice #DYOR
I build these indicators for myself and provide them open source, to use for free to use and improve upon,
as I believe the best way to learn is toghether.
Triple Moving Averages & BBTriple SMAs (default 50 100 200) that turn green when trending up and red when trending down.
Includes standard bollinger bands which can be turned off.
Combines these 4 indicators into just 1.
Tangram Bot 2 - SmartbotPrimeira Versão do Script Tangram Bot 2 da Smartbot para tradingview.
A intenção é agilizar e fazer um teste prévio e rápido do setup.
O resultado indicado aqui jamais corresponderá a um resultado real. É apenas uma ferramenta de estudo.
Ainda falta fazer e melhorar a parte de gestão de risco.
Caso queria fazer alguma sugestão ao cógido para melhorar a gestão de risco ou caso tenha encontrado algum erro, favor comunicar.
O tangram bot 2 combina o uso de até dez Indicadores de Análise Técnica com Gerenciamento de Risco (stop gain, stop loss, stop móvel, realização parcial, bloqueio de reversões, lucro máximo por dia e prejuízo máximo por dia) e Filtros Diversos (sentido das operações, uso do after-market, bloqueio de nova entrada após saída, hora inicial e hora final para negociação). São utilizados os indicadores Médias Móveis, HiLo Activator, MACD, ADX, Estocástico, VWAP, IFR, Bandas de Bollinger, Stop ATR e SAR Parabólico
Zero Lag Z ScoreThis is a Zero Lag version of Z Score. It essentially uses ZEMA (Zero Lag EMA) as its moving average, and then plots how many deviations (positive or negative) input price is from the ZEMA. A Centered Oscillator version of Zero Lag Bollinger Bands
Trend Lines and MoreMulti-Indicator consisting of several useful indicators in a single package.
TREND LINES
-By default the 20 SMA and 50 SMA are shown.
-Use "MOVING AVERAGE TYPE" to select SMA, EMA, Double-EMA, Triple-EMA, or Hull.
-Use "50 MA TREND COLOR" to have the 50 turn green/red for uptrend/downtrend.
-Use "DAILY SOURCE ONLY" to always show daily averages regardless of timeframe.
-Use "SHOW LONG MA" to also include 100, 150, and 200 moving averages.
-Use "SHOW MARKERS" to show a small colored marker identifying which line is which.
OTHER INDICATORS
-You can show Bollinger Bands and Parabolic SAR.
-You can highlight key reversal times (9:50-10:10 and 14:40-15:00).
-You can show price offset markers, where was the price "n" periods ago.
That last one is useful to show the level of prices which are about to "fall off" the moving average
and be replaced with current price. So for example, if current price is significantly below the
200-days-ago price, you can gauge the difficulty for the 200 MA to start climbing again.
Tripple BB_13EMAHere is a script to use 3 types of Bollinger Bands.
It is like three resistances or ranges in wich the Chart generally likes to move. A 1, 2 and 3 Width BB. The Chart moves 90% between the yellow one.
As support for my study i use the 13 EMA. is the Chart over the 13 EMA and under the Yellow (2) BB the trend is bullish. Is t under the 13 EMA and over the Yellow BB the trend used to be bearish.
The opener the BB are the more Volatilaty and the more likely the Chart will not bounce against the Bands. It will more get stick to the yellow or red one (if it is between them it is a trend too) and will follow up or downwards.
Check it out
RSI + BB (EMA) + DispersionInitial data:
1) RSI
2) Bollinger Bands (Basis - EMA)
3) Dispersion (around basis)
Signal for purchase: RSI crosses the dispersion zone upwards
Signal for sale: RSI crosses the dispersion zone downwards
Buffer zone: white area, it is not recommended to make transactions.
Hullfib-trailingso I add a trialing function based on volume pf the bars
this will ,ake the system more easy for the trader
1. Hull mean avreage with color changes (green -red that show the trend )
2. signal prouduce by Hull and bollinger fibs
3.signal prouduce by trailing volume bars (B , S)
4. upper and lower daily fibs
togetther you can make good combination when you bet on bitmex
have fun