Script tries to capture the length of trends. It calculates an SMA and then determines the slope of the SMA using a simple momentum function. From there it counts bars from when the slope changed directions last. The lime green line is the count from when the slope changed. The yellow line is the average time of a trend. The white line is "trying" to capture the...
The Trender and moving average for a version of trend analysis. This is an update of a previously published script. A recent Pine script update makes this update necessary.
This is my interpretation of Bloomberg's Trender.
The script is derived from this document:
I have no idea what...
The Chauvenet criterion is a well-known criterion of selection and rejection of the data used by the Physics. It establishes that in an experiment is well to discard the data whose distance from the average is greater than a certain number of the delta.
In the stock market if prices move away from the average with a volatility too high are suspect. This principle...
The indicator paints the bar colours based on the average open and average close for past N days.
if average close is above average open, the bars are coloured green, otherwise they are coloured red
It can be used as a general trend filter on weekly, daily bars. even on intraday timeframes, this would work well and give a sense of the current trend direction.
The indicator colours the candles either Green or Red depending on the following conditions:-
If the N Bar Average Close > N Bar Average Open, the Bars are coloured Green.
If the N Bar Average Close < N Bar Average Open, the Bars are coloured Red.
EXPERIMENTAL: using multiple length bollinger bands to create a better reading of ?price/range? strength?.
• calculates 2 candle plots for upper and lower bands, were the high and low are the extremes of the bands,
open is the previous close of the band and close is the extreme midline.
This script plots the highs/lows from multiple timeframes onto the same chart to help you spot the prevailing long-term, medium-term and short-term trends.
List of timeframes included:
You can select which timeframes to plot by editing the inputs on the Format Object dialog.
EXPERIMENTAL: this script can be used as a trend follower if bgcolor is active, it can be used to catch extremes and target levels for a pull back to the mean, can be used as support and resistance with the time period open price and extreme. other uses, improvements let me know :p.
This is a very simple idea - an average of RSI and the Stochastic Oscillator. However it offers plenty of flexibility for tuning to your requirements. You can change the lengths of either indicator and the weighting of each. By default it's set to 50/50 (just change the percent RSI to adjust). There is also an optional EMA which can be used as a signal line. ...
In essence, it is simply the standard deviation of the last x bars of a
y-bar moving average. Thus, the TAI is a simple trend indicator when prices
trend with authority, the slope of the moving average increases, and when
prices meander in a trendless range, the slope of the moving average decreases.