Trends & RangesTrends & Ranges uses EMA ATR bands as a SuperTrend indicator.
How to use:
This indicator can be used to give you a direction bias, with the added function to create ranges which often lead to reversals or flat trading periods. Trade the break-out or wait for pull backs in the direction of the trend.
I'm not great at explaining stuff and will probably make things only more complicated, so I won't bother for now,
but if you have a question on how the script works I will gladly give it a try.
The option "Flexible Trends" will disable the min/max function (trailing or non trailing).
Flexible Trends enabled:
Flexible Trends disabled:
Settings are not optimized for any asset or time frame, you will have to do that for yourself. Feel free to share them in the comments.
Thanks for showing interest, enjoy and good luck! :)
Bias
Separated Moving Average [2] - evoThis is an updated version on one of my previous scripts. Small explanation in the description.
This new script gives you a direction bias based on closing above and below the lines, with an option to filter fake signals by waiting for one more candle close.
Also added more moving averages compared to the first script (built ins + donchian)
Hope you like it!
(If you're a coder with a slightly larger brain than me, please tell me in the comments if I fixed the repainting problem correctly, I'm not 100% sure..)
Basic BIASBasic BIAS
Deviation rate (bias), also known as deviation rate, or y-value for short, is an indicator to reflect the deviation degree between the price and MA in a certain period of time by calculating the percentage difference between the market index or closing price and a moving average, so as to obtain the possibility that the price will reverse or rebound due to deviation from moving average trend in case of severe fluctuation, and that the price will move within the normal fluctuation range Form the credibility of continuing the original potential.
The deviation rate is a percentage of the deviation degree (gap rate) between the price and ma.
The departure rate curve (bias) is a curve that connects the values of each bias into a line and obtains a wave extension curve with the value of 0 as the horizontal axis.
[LunaOwl] Moving average Bias Ratio作品: 均線乖離率 (Moving average Bias Ratio)
The concept of Moving average Bias Ratio is according to the difference between the long/short-term MA changes, determine the direction of buy or sell. Long if the short-term MAs is above the long-term MAs; Conversely, if the short-term MAs is below the long-term MAs, it is not held.
均線乖離率的概念,是根據長短期均線變化之間的乖離來確定多空方向。如果短期高於長期,則買進;相反的~如果短期低於長期,則空手。
Using the deviation rate alone will have the disadvantage of unclear signals, which can only explain the increased chance of market reversal. It needs to cooperate with the rule of thumb and other analytical tools.
單獨使用乖離率會有信號不明確的缺點,只能解釋市場發生反轉的機會增加,需要配合經驗法則和其他分析工具。
--------------------------*
Formula - 公式
Avg. BIAS = ( MA(short) - MA(long) ) ÷ MA(long) × 100 %
均線乖離率 =(短期平均-長期平均) ÷ 長期平均 × 100 %
--------------------------*
The greater the distance between the two moving averages, the greater the Bias Ratio.
Zahorchak MeasureCreator: Michael G. Zahorchak.
References:
The Art of Low Risk Investing by Michael G. Zahorchak, 1977. Unfortunately, it's all but impossible to find a copy these days.
The Complete Guide to Market Breadth Indicators by Gregory L. Morris, 2006. A fantastic resource for those interested in Technical Analysis or creating their own trend based system.
Two articles by Greg Morris on the Zahorchak Measure. I can't link to them under the House Rules, but they are easily searchable.
The Zahorchak Measure (ZM) is designed to give you a market bias (either uptrend or downtrend) which you can use to determine a trade bias for ETF's or stocks.
ZM works by taking multiple moving averages of the NYSE Composite, a moving average of the NYSE advance decline line, and examining the relationship between those elements. Broadly, the market is considered to be in a uptrend when ZM is above zero, and a downtrend when below. However, there are many ways to interpret the indicator.
The version created by Greg Morris is more akin to a binary indicator in that ZM jumps from number to number. This version is smoothed to create an oscillator as it reduces whipsaws (at the expense of lag). You can set the EMA Length to 1 to go back to the original.
Some notes:
Michael Zahorchak called it the "Zahorchak Method", whereas Greg Morris uses the term "Measure". I'm not totally clear on the change, but Mr. Morris made some changes (covered below), so that may explain the altered name.
The original indicator used moving averages of 5, 15, and 40 weeks. I have converted these to daily numbers as that's the time frame I most commonly trade. You can convert the numbers back by dividing by 5.
The original indicator used the Dow Industrials for the moving averages, however Greg Morris switched to the NYSE Composite due to the advance decline line being based on the NYSE.
Greg Morris removed the 5 period moving average of the NYSE Composite, as it created increased volatility at market tops and bottoms. I tested ZM with the 5 period MA added back in, and I believe removing it creates a superior indicator.
I've added both Multi Time Frame functionality, and the ability to alter moving average lengths. Play around and see what you can come up with.
ZM oscillates between -10 and +10. There are some interesting levels creating between these two numbers (apart from the obvious zero level) - see what you can come up with.
All credit goes to Michael Zahorchak and Greg Morris for the indicator creation. I have simply reproduced their work for the TradingView community as this great indicator wasn't available.
Any queries let me know in the comments or PM me.
DD.
Bias And Sentiment Strength (BASS) Indicator by mattzabBias And Sentiment Strength (BASS) Indicator is designed to be a quick visualization as to the market strength.
Pair with Alligator, MACD, or Moving Average lines on your chart for good results.
How to use this indicator:
Blue above 0 is positive sentiment, red below 0 is negative sentiment.
If you have blue above and red below, be cautious! The Bass is telling you that we have a battle between the Bulls and the Bears!
The purple bars are your volume bias. Volume bias can be positive or negative, despite the direction of the overall trend. Positive Volume Bias along with Bullish Blue Sentiment is a great sign! Go Long! If you have Bullish Sentiment and have a negative Volume Bias, be cautious! Price may not be moving with much conviction, and may be subject to reversal!
This is basically several different histograms overlaying one another, and they are blue above 0 and red below 0.
MACD Histogram - Standard MACD Histogram here.
RSI Histogram - This is a standard RSI. It has been adjusted to "oscillate" above and below zero, which would be the 50 line on a normal RSI chart.
Slow Stochastic Histogram - This is a slow stochastic with a 21 Period K, 14 Period D, and 14 Smoothing K. The "oscillator" histogram is formed by subtracting K from D.
Awesome Oscillator - This is a standard Awesome Oscillator
Alligator Oscillator - This is formed by adding (lips + teeth) + (teeth - jaw)
Volume Bias - The Volume Bias is displayed as purple bars, and is calculated by a highly sophisticated and complex algorithmic function called subtraction. It's just the 30 Period Volume-Weighted Moving Average Minus the 30 Simple Moving Average.
Enjoy!
Fancy Moving Average [BigBitsIO]This script is for a single moving average with as many features as I can possibly fit into a single moving average. If you can think of more, or have questions regarding this script, please message me or contact me via social media.
Features:
- A single moving average (MA).
- Standard MA inputs.
- MA type.
- MA period.
- MA price.
- MA resolution (time frame).
- Visibility toggle.
- Fancy MA inputs.
- Toggle to show only candles included in the MA calculation ("Highlight inclusion") or display entire MA history.
- Toggle to show a ghost trail when Highlight inclusion is toggled on. Displays a shaded version of past MA history before the inclusion period (as seen on snapshot).
- Toggle to show forecast values for the MA.
- Other inputs related to forecasting:
- Forecast bias. (Neutral forecasts MA if the current price remains the same.)
- Forecast period.
- Forecast magnitude.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
Scripting Tutorial 7 - Triple Many Moving Averages ResolutionsThis script is for a triple moving average indicator where the user can select from different types of moving averages, price sources, lookback periods and resolutions.
Features:
- 3 Moving Averages with variable MA types, periods, price sources, resolutions and the ability to disable each individually
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish, bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter. Twitter should be linked to my profile.
This script is meant as an educational script with well-formatted styling, and references for specific functions.
Scripting Tutorial 6 - Triple Many Moving Averages ForecastingThis script is for a triple moving average indicator where the user can select from different types of moving averages, price sources and lookback periods.
Features:
- 3 Moving Averages with variable MA types, periods, price sources and ability to disable each individually
- Crossovers are plotted on the chart with detailed information regarding the crossover (Ex: 50 SMA crossed over 200 SMA )
- Forecasting available for all three MAs. MA values are forecasted 5 values out and plotted as if a continuation to the MA.
- Forecast bias also applies to all forecasting. Bias means we can forecast based on an anticipated bullish, bearish or neutral direction in the market.
- To understand bias, please read the source code, or if you can't read the code just send me a message on here or Twitter. Twitter should be linked on my profile.
This script is meant as an educational script with well-formatted styling, and references for specific functions.
Institutional BiasShows what we at TRI call the institutional bias, i.e. a bull bias when 9 ema is above 18 ema and a bear bias when the 9 ema is below the 18 ema.
Plots the 9 and 18 ema, and fills the background green when the institutional bias is bullish and red when it is bearish.