Trend-Quality IndicatorBINANCE:BTCUSDT
Open source version of the Trend-Quality Indicator as described by David Sepiashvili in [ Stocks & Commodities V. 22:4 (14-20) ]
Q-Indicator and B-Indicator are available both separately or together
█ OVERVIEW
The Trend-Quality indicator is a trend detection and estimation tool that is based on a two-step filtering technique. It measures cumulative price changes over term-oriented semicycles and relates them to “noise”. The approach reveals congestion and trending periods of the price movement and focuses on the most important trends, evaluating their strength in the process. The indicator is presented in a centered oscillator (Q-Indicator) and banded oscillator format (B-Indicator).
Semicycles are determined by using a short term and a longer term EMAs. The starting points for the cycles are determined by the moving averages crossover.
Cumulative price change (CPC) indicator measures the amount that the price has changed from a fixed starting point within a given semicycle. The CPC indicator is calculated as a cumulative sum of differences between the current and previous prices over the period from the fixed starting point.
The trend within the given semicycle can be found by calculating the moving average of the cumulative price change.
The noise can be defined as the average deviation of the cumulative price change from the trend. To determine linear noise, we calculate the absolute value of the difference between CPC and trend, and then smooth it over the n-point period. The root mean square noise, similar to the conventional standard deviation, can be derived by summing the squares of the difference between CPC and trend over each of the preceding n-point periods, dividing the sum by n, and calculating the square root of the result.
█ Q-INDICATOR
The Q-Indicator is a centered oscillator that fluctuates around a zero line with no upper or lower limits, is calculated by dividing trend by noise.
The Q-Indicator is intended to measure trend activity. The further the Q is from 0, the less the risk of trading with a trend, and the more reliable the trading opportunity. Values exceeding +2 or -2 can be qualified as promising
Values:
in the -1 to +1 range (GRAY) indicate that the trend is buried beneath noise. It is preferable to stay out of this zone
in the +1 to +2 or -1 to -2 range (YELLOW) indicate weak trending
in the +2 to +5 range (BLUE) or -2 to -5 range (ORANGE) indicate moderate trending
above +5 range (GREEN) or below -5 (RED) indicate strong trending
Readings exceeding strong trending levels can indicate overbought or oversold conditions and signal that price action should be monitored closely.
█ B-INDICATOR
The B-Indicator is a banded oscillator that fluctuates between 0 and 100, is calculated by dividing the absolute value of trend by noise added to absolute value of trend, and scaling the result appropriately.
The B-indicator doesn’t show the direction of price movement, but only the existence of the trend and its strength. It requires additional tools for reversal manifestations.
The indicator’s interpretation is simple. The central line suggests that the trend and noise are in equilibrium (trend is equal to noise).
Values:
below 50 (GRAY) indicate ranging market
in the 50 to 65 range (YELLOW) indicate weak trending
in the 65 to 80 range (BLUE) indicate moderate trending
above 80 (GREEN) indicate strong trending
The 65 level can be thought of as the demarcation line of trending and ranging markets and can help determine which type of technical analysis indicator (lagging or leading) is better suited to current market conditions. Readings exceeding strong trending levels can indicate overbought or oversold conditions.
Quality
Business Quality Score (BQS)Business Quality Score (BQS) is an indicator that can be used to determine how strong, safe and efficient a business is. Generally speaking, a negative reading under 0 indicates a poor quality business, a reading between 1-10 indicates an average quality business and a reading above 10 indicates a high quality business. This indicator is only applicable on stocks, not on forex, futures or crypto.
The indicator uses fundamental data to calculate the reading and hence doesn't have any changeable settings for the user. The score is based on the profitability of a business and how efficiently it uses capital to generate shareholder returns. The indicator also looks at the debt, leverage and liquidity of the business to help determine the score. Generally speaking businesses with lot's of debt, high leverage and low liquidity will lead to lower scores.
This indicator is designed more for stock investors with longer timeframes and isn't suited towards short term traders. It can be used as part of an overall investment process to help identify high quality businesses that are suitable for long term investing. It can be used to monitor current investments to see if a stock's overall business quality is improving or deteriorating.
To get access to this indicator PM or email me to my address shown below.
Enjoy :)
Disclaimer: All my scripts and content are for educational purposes only. I'm not a financial advisor and do not give personal finance advice. Past performance is no guarantee of future performance. Please trade at your own risk.
Quality ScreenAn attempt to show fundamental stats which describes quality of the stock. Following parameters are depicted:
SOLVENCY
DEBT_TO_EQUITY
Very Good : 0 - 1
Good : 1 - 2
High risk : > 2
DEBT_TO_ASSET
Very Good : < 0.4
Good : 0.4 - 0.6
High Risk : > 0.6
LONG_TERM_DEBT_TO_ASSETS
Very Good : < 0.4
Good : 0.4 - 0.6
High Risk : > 0.6
ALTMAN_Z_SCORE
Very good: > 3
Good : 1.8 - 3
High Risk : < 1.8
SPRINGATE_SCORE
High Risk : < 0.862
LIQUIDITY
CURRENT_RATIO
Very Good : 1.2 - 2
Good : 2+ (Too high and Inefficient)
High Risk : < 1
QUICK_RATIO
Very Good : 1 - 2
Good : 2+ (Too high and Inefficient)
High Risk : < 0.9
SLOAN_RATIO
Very Good: -10% to +10%
Good : -25% to -10% or +10% to +25%
High Risk: < -25% or > +25%
PROFITABILITY
RETURN_ON_ASSETS
Healthy : > 5%
Great : > 20%
RETURN_ON_EQUITY
Healthy : 10%
Great : > 40%
RETURN_ON_INVESTED_CAPITAL
Healthy : > 2%
Great : > 10%
AG Market QualityGiven that we are primarily focussed on trend-following, we built this indicator in a quest to assess the "quality" of a market. It was adapted primarily from methods that trading coach Dr. Van Tharp popularised, namely to do with his SQN.
This indicator has 5 zones that act to classify the market:
Strong Bull - Dark Green
Bull - Green
Neutral - Grey
Bear - Red
Strong Bear - Dark Red
The black line is an SMA(20) of Market Quality (indicating average quality over a period).
The simplistic theory is to look for long trades when the quality is indicating bull or strong bull conditions (green or dark green), and look for short trades when the quality is indicating bear or strong bear conditions (red or dark red). When the quality is in neutral territory (grey bars), the market is choppy/sideways/rangebound, and it's generally best to stay out in these conditions (for trend-followers).
We like to look for long trades when the quality is bull or strong bull, and above the average quality (black line), and look for short trades when the quality is bear or strong bear, and below the average quality.
So, not only does this indicator help you decide when to get in the market, it also tells you when to stay out of the market - really handy!
You can change the periods of the Market Quality, and also the SMA measuring average quality.