Market Sessions(4sessions)Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM))) Special for CLUB SM)))
Циклический анализ
Historical US Bond Yield CurvePreface: I'm just the bartender serving today's freshly blended concoction; I'd like to send a massive THANK YOU to all the coders and PineWizards for the locally-sourced ingredients. I am simply a code editor, not a code author. Many thanks to these original authors!
Source 1 (Aug 8, 2019):
Source 2 (Aug 11, 2019):
About the Indicator: The term yield curve refers to the yields of U.S. treasury bills, notes, and bonds in order from shortest to longest maturity date. The yield curve describes the shapes of the term structures of interest rates and their respective terms to maturity in years. The slope of the yield curve tells us how the bond market expects short-term interest rates to move in the future based on bond traders' expectations about economic activity and inflation. The best use of the yield curve is to get a sense of the economy's direction rather than to try to make an exact prediction. This indicator plots the U.S. yield curve as maturity (x-axis/time) vs yield (y-axis/price) in addition to historical yield curves and advanced data tickers . The visual array of historical yield curves helps investors visualize shifts in the yield curve that are useful when identifying & forecasting economic conditions. The bond market can help predict the direction of the economy which can be useful in crafting your investment strategy. An inverted 10y/2y yield curve for durations longer than 5 consecutive trading days signals an almost certain recession on the horizon. An inversion happens when short-term bonds pay better than longer-term bonds. There is Federal Reserve Board data that suggests the 10y3m may be a better predictor of recessions.
Features: Advanced dual data ticker that performs curve & important spread analysis, plus additional hover info. Advanced yield curve data labels with additional hover info. Customizable historical curves and color theme.
‼ IMPORTANT: Hover over labels/tables for advanced information. Chart asset and timeframe may affect the yield curve results; I have found consistently accurate results using BINANCE:BTCUSDT on 1d timeframe. Historical curve lookbacks will have an effect on whether the curve analysis says the curve is bull/bear steepening/flattening, so please use appropriate lookbacks.
⚠ DISCLAIMER: Not financial advice. Not a trading system. DYOR. I am not affiliated with the original authors, TradingView, Binance, or the Federal Reserve Board.
About the Editor: I am a former FINRA Registered Representative, inventor/patent holder, futures trader, and hobby PineScripter.
Buy Monday, Exit WednesdayStrategy to go long at end of Monday before market closes and exit before Wednesday close, or at stop loss or take profit percentages
This runs strategy on entering by weekday name and also by session time.
Implemented are also Take Profit and Stop Loss to exit position using custom inputs.
Added stop loss and take profit plot lines
Daily_Mid Term_Consulting BOLTDaily Mid Term Consulting BOLT es una estrategia a mediano y largo plazo creada para detectar los cambios tendenciales en zonas de tiempo diarias. se basa en el análisis de los cambios porcentuales que sufre el precio contra las distintas medias móviles simples definidas en la estrategia. el uso de osciladores como el MACD , RSI y EFI apoyan la decisión de entrada a la estrategia.
actualmente esta en construcción la colocación de stop losses para aumentar la eectividad de la misma.
VHF Adaptive Fisher Transform [Loxx]VHF Adaptive Fisher Transform is an adaptive cycle Fisher Transform using a Vertical Horizontal Filter to calculate the volatility adjusted period.
What is VHF Adaptive Cycle?
Vertical Horizontal Filter (VHF) was created by Adam White to identify trending and ranging markets. VHF measures the level of trend activity, similar to ADX DI. Vertical Horizontal Filter does not, itself, generate trading signals, but determines whether signals are taken from trend or momentum indicators. Using this trend information, one is then able to derive an average cycle length.
What is Fisher Transform?
The Fisher Transform is a technical indicator created by John F. Ehlers that converts prices into a Gaussian normal distribution.
The indicator highlights when prices have moved to an extreme, based on recent prices. This may help in spotting turning points in the price of an asset. It also helps show the trend and isolate the price waves within a trend.
Included:
Zero-line and signal cross options for bar coloring
Customizable overbought/oversold thresh-holds
Alerts
Signals
APA Adaptive Fisher Transform [Loxx]APA Adaptive Fisher Transform is an adaptive cycle Fisher Transform using Ehlers Autocorrelation Periodogram Algorithm to calculate the dominant cycle period.
What is an adaptive cycle, and what is Ehlers Autocorrelation Periodogram Algorithm?
From Ehlers' book Cycle Analytics for Traders Advanced Technical Trading Concepts by John F. Ehlers , 2013, page 135:
"Adaptive filters can have several different meanings. For example, Perry Kaufman’s adaptive moving average ( KAMA ) and Tushar Chande’s variable index dynamic average ( VIDYA ) adapt to changes in volatility . By definition, these filters are reactive to price changes, and therefore they close the barn door after the horse is gone.The adaptive filters discussed in this chapter are the familiar Stochastic , relative strength index ( RSI ), commodity channel index ( CCI ), and band-pass filter.The key parameter in each case is the look-back period used to calculate the indicator. This look-back period is commonly a fixed value. However, since the measured cycle period is changing, it makes sense to adapt these indicators to the measured cycle period. When tradable market cycles are observed, they tend to persist for a short while.Therefore, by tuning the indicators to the measure cycle period they are optimized for current conditions and can even have predictive characteristics.
The dominant cycle period is measured using the Autocorrelation Periodogram Algorithm. That dominant cycle dynamically sets the look-back period for the indicators. I employ my own streamlined computation for the indicators that provide smoother and easier to interpret outputs than traditional methods. Further, the indicator codes have been modified to remove the effects of spectral dilation.This basically creates a whole new set of indicators for your trading arsenal."
What is Fisher Transform?
The Fisher Transform is a technical indicator created by John F. Ehlers that converts prices into a Gaussian normal distribution.
The indicator highlights when prices have moved to an extreme, based on recent prices. This may help in spotting turning points in the price of an asset. It also helps show the trend and isolate the price waves within a trend.
Included:
Zero-line and signal cross options for bar coloring
Customizable overbought/oversold thresh-holds
Alerts
Signals
Deep FinderThis indicator shows you the most convenient buying times. It helps you lower your average and earn high profits by purchasing incrementally.
A_HMS_EMAsthis is an indicator that have many essentials in one indicator and prevent from adding many indicator in chart
Ichimoko clouds and 4 ema from number 19 , 33 , 66 , 199
and an spatial average ema with 2 color that help you to find trend
Histomentu is a great Indicator that combine RSI Composit by RSi line and show momentum of price movement by a histogram
for better use note that:
red line is composite line
green line is rsi line
when composite line run away from histogram momemtum increase rapidly
when composite and rsi line is in same way its time to get position .
some futures is hidden by default:
composite red and green signal line
rmi of price with to color with momentum 4
ema 13, 33 of rmi as signal line
finaly u can change any colors from setting
in background we determine some fills for better use of Indicator
for better use note that:
1_pivots show with tiny triangles bellow and above the candles
red triangles for hi pivots and green triangles for low povots
2_ema19 , 66 , 199 shown on chart by default and you can change its source or length from settings
3- ichimoko cloud help you to determine demand and supply zones that those points are price target to go.
A_HMS_RSI_COMPOSITMy majic Macd Indicator with Ema base macd is My great Indicator that combine four ema base macd lines with its signal lines that show price gravity by best way , and one spatial chart that is the best part of this magic indicator that help you to trading without any problem
for better use note that:
green fill line is ema 66 and ema 199 macd and signal its name is macd very slow signal line
blue fill line is ema 19 and ema 66 macd and signal its name is macd normal signal line
red fill line is ema 9 and ema 19 macd and signal its name is macd very fast signal line
black line is ema 4 and ema 14 macd its name is macd main signal line
in all of this lines we can define divergence
when this lines crossing over and under from together each of this crossings give me some signals and because this signals very much we cant describe thats in some lines
but note that we in fact trade just by black line but short and long position determine by position of black line instead of other lines and positions of other lines from each ones
purple line is rsi line
red line is composite line
blue line is rmi line
red and Blue below line is Slow Stochastic lines
blue and orange line is Stochastic ema with ema12 - ema21
and third chart is a secret indicator that help more to determine best place to start trading
A_HMS_RSI is My great Indicator that RSI , RMI and , momentum of price movement by a histogram , that help you to trading without any problem
for better use note that:
blue line is rsi line with hl2 source and 14 length
low color line is rmi line with momentum 33
rmi of price with momentum 33 is a very good signal for long positions.
momentum histogram help us to define strong of price motion in each time
some futures is hidden by default:
composite red and green signal line
rmi of price with momentum 4
ema 13, 33 of rmi as signal line and rsi and composit
finaly u can change any colors from setting
in background we determine some filled zones for better use of Indicator
when composite line run away from histogram momentum increase rapidly
when composite and rsi line is in same way its time to get position .
rmi of price with momentum 20 is a very good signal for long positions.
some futures is hidden by default:
composite red and green signal line
rmi of price with momentum 20
ema 13, 33 of rmi as signal line
finaly u can change any colors from setting
and you can get stoch signals too
in background we determine some filled zones for better use of Indicator
Goertzel Cycle Period [Loxx]Goertzel Cycle Period is an indicator that uses Goertzel algorithm to extract the cycle period of ticker's price input to then be injected into advanced, adaptive indicators and technical analysis algorithms.
The following information is extracted from: "MESA vs Goertzel-DFT, 2003 by Dennis Meyers"
Background
MESA which stands for Maximum Entropy Spectral Analysis is a widely used mathematical technique designed to find the frequencies present in data. MESA was developed by J.P Burg for his Ph.D dissertation at Stanford University in 1975. The use of the MESA technique for stocks has been written about in many articles and has been popularized as a trading technique by John Ehlers.
The Fourier Transform is a mathematical technique named after the famed French mathematician Jean Baptiste Joseph Fourier 1768-1830. In its digital form, namely the discrete-time Fourier Transform (DFT) series, is a widely used mathematical technique to find the frequencies of discrete time sampled data. The use of the DFT has been written about in many articles in this magazine (see references section).
Today, both MESA and DFT are widely used in science and engineering in digital signal processing. The application of MESA and Fourier mathematical techniques are prevalent in our everyday life from everything from television to cell phones to wireless internet to satellite communications.
MESA Advantages & Disadvantage
MESA is a mathematical technique that calculates the frequencies of a time series from the autoregressive coefficients of the time series. We have all heard of regression. The simplest regression is the straight line regression of price against time where price(t) = a+b*t and where a and b are calculated such that the square of the distance between price and the best fit straight line is minimized (also called least squares fitting). With autoregression we attempt to predict tomorrows price by a linear combination of M past prices.
One of the major advantages of MESA is that the frequency examined is not constrained to multiples of 1/N (1/N is equal to the DFT frequency spacing and N is equal to the number of sample points). For instance with the DFT and N data points we can only look a frequencies of 1/N, 2/N, Ö.., 0.5. With MESA we can examine any frequency band within that range and any frequency spacing between i/N and (i+1)/N . For example, if we had 100 bars of price data, we might be interested in looking for all cycles between 3 bars per cycle and 30 bars/ cycle only and with a frequency spacing of 0.5 bars/cycle. DFT would examine all bars per cycle of between 2 and 50 with a frequency spacing constrained to 1/100.
Another of the major advantages of MESA is that the dominant spectral (frequency) peaks of the price series, if they exist, can be identified with fewer samples than the DFT technique. For instance if we had a 10 bar price period and a high signal to noise ratio we could accurately identify this period with 40 data samples using the MESA technique. This same resolution might take 128 samples for the DFT. One major disadvantage of the MESA technique is that with low signal to noise ratios, that is below 6db (signal amplitude/noise amplitude < 2), the ability of MESA to find the dominant frequency peaks is severely diminished.(see Kay, Ref 10, p 437). With noisy price series this disadvantage can become a real problem. Another disadvantage of MESA is that when the dominant frequencies are found another procedure has to be used to get the amplitude and phases of these found frequencies. This two stage process can make MESA much slower than the DFT and FFT . The FFT stands for Fast Fourier Transform. The Fast Fourier Transform(FFT) is a computationally efficient algorithm which is a designed to rapidly evaluate the DFT. We will show in examples below the comparisons between the DFT & MESA using constructed signals with various noise levels.
DFT Advantages and Disadvantages.
The mathematical technique called the DFT takes a discrete time series(price) of N equally spaced samples and transforms or converts this time series through a mathematical operation into set of N complex numbers defined in what is called the frequency domain. Why would we what to do that? Well it turns out that we can do all kinds of neat analysis tricks in the frequency domain which are just to hard to do, computationally wise, with the original price series in the time domain. If we make the assumption that the price series we are examining is made up of signals of various frequencies plus noise, than in the frequency domain we can easily filter out the frequencies we have no interest in and minimize the noise in the data. We could then transform the resultant back into the time domain and produce a filtered price series that hopefully would be easier to trade. The advantages of the DFT and itís fast computation algorithm the FFT, are that it is extremely fast in calculating the frequencies of the input price series. In addition it can determine frequency peaks for very noisy price series even when the signal amplitude is less than the noise amplitude. One of the disadvantages of the FFT is that straight line, parabolic trends and edge effects in the price series can distort the frequency spectrum. In addition, end effects in the price series can distort the frequency spectrum. Another disadvantage of the FFT is that it needs a lot more data than MESA for spectral resolution. However this disadvantage has largely been nullified by the speed of today's computers.
Goertzel algorithm attempts to resolve these problems...
What is the Goertzel algorithm?
The Goertzel algorithm is a technique in digital signal processing (DSP) for efficient evaluation of the individual terms of the discrete Fourier transform (DFT). It is useful in certain practical applications, such as recognition of dual-tone multi-frequency signaling (DTMF) tones produced by the push buttons of the keypad of a traditional analog telephone. The algorithm was first described by Gerald Goertzel in 1958.
Like the DFT, the Goertzel algorithm analyses one selectable frequency component from a discrete signal. Unlike direct DFT calculations, the Goertzel algorithm applies a single real-valued coefficient at each iteration, using real-valued arithmetic for real-valued input sequences. For covering a full spectrum, the Goertzel algorithm has a higher order of complexity than fast Fourier transform (FFT) algorithms, but for computing a small number of selected frequency components, it is more numerically efficient. The simple structure of the Goertzel algorithm makes it well suited to small processors and embedded applications.
The main calculation in the Goertzel algorithm has the form of a digital filter, and for this reason the algorithm is often called a Goertzel filter
Where is Goertzel algorithm used?
This package contains the advanced mathematical technique called the Goertzel algorithm for discrete Fourier transforms. This mathematical technique is currently used in today's space-age satellite and communication applications and is applied here to stock and futures trading.
While the mathematical technique called the Goertzel algorithm is unknown to many, this algorithm is used everyday without even knowing it. When you press a cell phone button have you ever wondered how the telephone company knows what button tone you pushed? The answer is the Goertzel algorithm. This algorithm is built into tiny integrated circuits and immediately detects which of the 12 button tones(frequencies) you pushed.
Future Additions:
Bartels test for cycle significance, testing output cycles for utility
Hodrick Prescott Detrending, smoothing
Zero-Lag Regression Detrending, smoothing
High-pass or Double WMA filtering of source input price data
References:
1. Burg, J. P., ëMaximum Entropy Spectral Analysisî, Ph.D. dissertation, Stanford University, Stanford, CA. May 1975.
2. Kay, Steven M., ìModern Spectral Estimationî, Prentice Hall, 1988
3. Marple, Lawrence S. Jr., ìDigital Spectral Analysis With Applicationsî, Prentice Hall, 1987
4. Press, William H., et al, ìNumerical Receipts in C++: the Art of Scientific Computingî,
Cambridge Press, 2002.
5. Oppenheim, A, Schafer, R. and Buck, J., ìDiscrete Time Signal Processingî, Prentice Hall,
1996, pp663-634
6. Proakis, J. and Manolakis, D. ìDigital Signal Processing-Principles, Algorithms and
Applicationsî, Prentice Hall, 1996., pp480-481
7. Goertzel, G., ìAn Algorithm for he evaluation of finite trigonometric seriesî American Math
Month, Vol 65, 1958 pp34-35.
Phase-Accumulation Adaptive EMA w/ Expanded Source Types [Loxx]Phase-Accumulation Adaptive EMA w/ Expanded Source Types is a Phase Accumulation Adaptive Exponential Moving Average with Loxx's Expanded Source Types. This indicator is meant to better capture trend movements using dominant cycle inputs. Alerts are included.
What is Phase Accumulation?
The phase accumulation method of computing the dominant cycle is perhaps the easiest to comprehend. In this technique, we measure the phase at each sample by taking the arctangent of the ratio of the quadrature component to the in-phase component. A delta phase is generated by taking the difference of the phase between successive samples. At each sample we can then look backwards, adding up the delta phases.When the sum of the delta phases reaches 360 degrees, we must have passed through one full cycle, on average.The process is repeated for each new sample.
The phase accumulation method of cycle measurement always uses one full cycle’s worth of historical data.This is both an advantage and a disadvantage.The advantage is the lag in obtaining the answer scales directly with the cycle period.That is, the measurement of a short cycle period has less lag than the measurement of a longer cycle period. However, the number of samples used in making the measurement means the averaging period is variable with cycle period. longer averaging reduces the noise level compared to the signal.Therefore, shorter cycle periods necessarily have a higher out- put signal-to-noise ratio.
Included:
-Toggle on/off bar coloring
-Alerts
APA-Adaptive, Ehlers Early Onset Trend [Loxx]APA-Adaptive, Ehlers Early Onset Trend is Ehlers Early Onset Trend but with Autocorrelation Periodogram Algorithm dominant cycle period input.
What is Ehlers Early Onset Trend?
The Onset Trend Detector study is a trend analyzing technical indicator developed by John F. Ehlers , based on a non-linear quotient transform. Two of Mr. Ehlers' previous studies, the Super Smoother Filter and the Roofing Filter, were used and expanded to create this new complex technical indicator. Being a trend-following analysis technique, its main purpose is to address the problem of lag that is common among moving average type indicators.
The Onset Trend Detector first applies the EhlersRoofingFilter to the input data in order to eliminate cyclic components with periods longer than, for example, 100 bars (default value, customizable via input parameters) as those are considered spectral dilation. Filtered data is then subjected to re-filtering by the Super Smoother Filter so that the noise (cyclic components with low length) is reduced to minimum. The period of 10 bars is a default maximum value for a wave cycle to be considered noise; it can be customized via input parameters as well. Once the data is cleared of both noise and spectral dilation, the filter processes it with the automatic gain control algorithm which is widely used in digital signal processing. This algorithm registers the most recent peak value and normalizes it; the normalized value slowly decays until the next peak swing. The ratio of previously filtered value to the corresponding peak value is then quotiently transformed to provide the resulting oscillator. The quotient transform is controlled by the K coefficient: its allowed values are in the range from -1 to +1. K values close to 1 leave the ratio almost untouched, those close to -1 will translate it to around the additive inverse, and those close to zero will collapse small values of the ratio while keeping the higher values high.
Indicator values around 1 signify uptrend and those around -1, downtrend.
What is an adaptive cycle, and what is Ehlers Autocorrelation Periodogram Algorithm?
From his Ehlers' book Cycle Analytics for Traders Advanced Technical Trading Concepts by John F. Ehlers , 2013, page 135:
"Adaptive filters can have several different meanings. For example, Perry Kaufman’s adaptive moving average ( KAMA ) and Tushar Chande’s variable index dynamic average ( VIDYA ) adapt to changes in volatility . By definition, these filters are reactive to price changes, and therefore they close the barn door after the horse is gone.The adaptive filters discussed in this chapter are the familiar Stochastic , relative strength index ( RSI ), commodity channel index ( CCI ), and band-pass filter.The key parameter in each case is the look-back period used to calculate the indicator. This look-back period is commonly a fixed value. However, since the measured cycle period is changing, it makes sense to adapt these indicators to the measured cycle period. When tradable market cycles are observed, they tend to persist for a short while.Therefore, by tuning the indicators to the measure cycle period they are optimized for current conditions and can even have predictive characteristics.
The dominant cycle period is measured using the Autocorrelation Periodogram Algorithm. That dominant cycle dynamically sets the look-back period for the indicators. I employ my own streamlined computation for the indicators that provide smoother and easier to interpret outputs than traditional methods. Further, the indicator codes have been modified to remove the effects of spectral dilation.This basically creates a whole new set of indicators for your trading arsenal."
RSI - S&P Sector ETFsThe script displays RSI of each S&P SPDR Sector ETF
XLB - Materials
XLC - Communications
XLE - Energy
XLF - Financials
XLI - Industrials
XLK - Technology
XLP - Consumer Staples
XLRE - Real Estate
XLU - Utilities
XLV - Healthcare
XLY - Consumer Discretionary
It is meant to identify changes in sector rotation, compare oversold/overbought signals of each sector, and/or any price momentum trading strategy applicable to a trader.
even_better_sinewave_mod
Description:
Even better sinewave was an indicator developed by John F. Ehlers (see Cycle Analytics for Trader, pg. 159), in which improvement to cycle measurements completely relies on strong normalization of the waveform. The indicator aims to create an artificially predictive indicator by transferring the cyclic data swings into a sine wave. In this indicator, the modified is on the weighted moving average as a smoothing function, instead of using the super smoother, aim to be more adaptive, and the default length is set to 55 bars.
Sinewave
smoothing = (7*hp + 6*hp_1 + 5*hp_2+ 4*hp_3 + 3*hp_4 + 2*hp5 + hp_6) /28
normalize = wave/sqrt(power)
Notes:
sinewave indicator crossing over -0.9 is considered to beginning of the cycle while crossing under 0.9 is considered as an end of the cycle
line color turns to green considered as a confirmation of an uptrend, while turns red as a confirmation of a downtrend
confidence of using indicator will be much in confirmation paired with another indicator such dynamic trendline e.g. moving average
as cited within Ehlers book Cycle Analytic for Traders, the indicator will be useful if the satisfied market cycle mode and the period of the dominant cycle must be estimated with reasonable accuracy
Other Example
ln(close/20 sma) adjusted for time (BTC)(This indicator was designed for the BTC index chart)
Designed for Bitcoin. Plots the log of the close/20W SMA with a linear offset m*t, where m is the gradient I've chosen and t is the candle index. Anything above 1 is a mania phase/market cycle top. If it peaks around 0.92 and rolls over, it could be a local/market cycle top.
This will obviously not work at all in the long term as Bitcoin will not continue following the trend line on the log plot (you can even see it start to deviate in the Jan-Feb 2021 peaks where the indicator went to 1.15).
It identifies the 2011, 2013 (both of them), 2017 tops as being just above 1. It also identifies the 2019 local peak and 2021 market cycle top at ~0.94.
Feel free to change the gradient or even add a function to curve the straight line eventually. I made this for fun, feel free to use it as you wish.
Candle Level of VWAP [By MUQWISHI]The " Price of Volume Weighted Average Price " (PVWAP) indicator calculates the VWAP standard deviation of bar price.
Features:
1. Ability to smooth the "Price of Volume Weighted Average Price" line.
2. Ability to choose the anchor period (timeframes).
Let me know if you have any questions.
Thanks.
NK Sir's SRTFirst of all I would like to thanks Nitish Sir for teaching us the concept of SRT, which proves to be an excellent tool for Investing.
In a year, there are around 248 to 252 trading days .
On dividing the same by 2 we get 124. Even 125 / 126 can be taken.
We get SRT value by dividing Nifty Spot with 124 SMA value & SRT is applicable on Nifty in a Day Chart.
This value ranges in between 0.6 (Low) to 1.38/1.4/1.45/1.5 (High).
Ideal Entry in a stock will be at 0.6, which is very rare. You tend to buy at 0.7/0.8/0.9/1.10.
Exit from a stock will be at 1.3 - 1.5.
However generally we get a value of 0.8/0.9 and we should start investing 20 % of our capital that we have planned to invest. For every 0.1 decrease in SRT Value, we should add 20% to the stock portfolio.
Start Booking Profit if SRT value above 1.35 & book 50 % of the portfolio when SRT value is 1.45.
For Traders, as an when SRT value comes to 0.8/ 0.9. Buy when Hilega Milega gives us a clear BUY signal on Monthly Time Frame.
Stock bought at SRT value of 0.6 tend to double in a year. It generally quite rare to see a SRT Value of 0.6.
Standard deviation channel of linear regression distance [AbAh]The indicator calculates the distance between linear regression line and the data point (price) as a percentage , then calculates the standard deviation for the linear regression distance , then draw the channel of two lines depending on the values of standard deviation .
///////// How to use ////////////////
1 - for Best result , indicator should be used on 2H frame Time of less : like 1H or 30 min
2 - The upper line and the lower line, both play a role as a support and resistance area, when the price bounces from the upper zone or lower zone, there is a high probability that it will move to the other line.
3 - The price breakout of one of the lower or upper lines may indicate a major price movement coming in the direction of the breakout
/////////////////////////////////////
Relative Volume Force IndexThis indicator can anticipate the market movements. Its posible because it calculates how much force (volume) it's necessary to move the price up or down. If it's necessary a lot of volume to move the price a little it's a reversion signal, but if a little volume could change the price whit elevate volatility, it's signal of reversion too. The indicator plots red if the market is down, and green if it's up, the size and the color of the bars cand demonstrate the movement relative force. Does it by the configurable averages. Not works well whit poor liquidity.
Pi Cycle Indicators Comparison IndicatorThere are now 3 Pi Cycle Indicators that I am aware of; the original, improved**, and bottom.
This indicator attempts to provide all three indicators in a dingle, easy to view script.
I coded this script to displace the moving averages above and below the price bars for easy viewing. This was accomplished by placing a scaling factor (/# or *#) at the end of the ta.sma or ta.ema functions.
A vertical arrow, purposely posing as a short vertical line, marks the crossing of the long and short MAs for each indicator. These are color coded to match their respective indicators and the long and short MAs are similarly color coded for easy differentiation.
The red colored MAs and arrows above the price line are the Improved Pi-Cycle Top Indicator.
The green colored MAs and arrows below the price line are the Original Pi-Cycle Top Indicator.
The blue colored MAs and arrows below the green lines and price line are the Pi-Cycle Bottom Indicator.
One last feature of the chart is the use of the location function to enable easy comparison of the crossings of each indicator to the indicator itself and to the price. This can be accomplished simply by moving the chart up and down.
**{I should note that while researching this I found that BitcoinMamo turns out to have beat me to the punch on the Improved Indicator Long.Short and Multiplier numbers. He should therefor get the credit for that}
candles by samThis indicator shows bearish and bullish candle in series.
Describes the sequence of bullish candles higher highs and bearish lower low ones
Purple represents bullish sequence and yellow represents bearish .
"A" in the code refers to bearish seq .
"B" in the code refers to bullish seq .
Pi Cycle Bottom IndicatorBack in June 2021, I was able to find two moving averages that crossed when Bitcoin reached it's cycle bottom, similar to Philip Swift's Pi-Cycle Top indicator.
The moving average pair used here was the x0.475 multiple of the 471 MA and the 150 EMA ( EMA to take into account of short term volatility ).
I have a more in-depth analysis and explanation of my findings on my medium page .
Trader Dončić.