Phase Accumulation Adaptive Fisher Transform [Loxx]Phase Accumulation Adaptive Fisher Transform is an adaptive Fisher Transform using a modified version of Ehlers Phase Accumulation Cycle Period. This version of Phase Accumulation Cylce Period accepts as inputs: 1) total number of cycles you wish to inject into the calculation, this works as a multiplier so the higher this number, the longer the period output; 2) filter is to change the alpha value of the final smother before returning the period output.
What is the Phase Accumulation Cycle?
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.
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
Центральные осцилляторы
Goertzel Cycle Period Adaptive Fisher Transform [Loxx]Goertzel Cycle Period Adaptive Fisher Transform is an adaptive Fisher Transform using the Goertzel Cycle Algorithm to derive length inputs.
What is Goertzel Cycle Algorithm?
Read here:
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
***Please note, the Goertzel Cycle Algorithm is processor heavy, so this indicator will take some time to load.
Variety Moving Average Waddah Attar Explosion (WAE) [Loxx]Variety Moving Average Waddah Attar Explosion is a Waddah Attar Explosion after the original version created over a decade ago. This version has ATR and Pips calculated dead-zone as well as 35+ moving averages to choose from for all moving average calculations.
What is Waddah Attar Explosion?
Waddah Attar Explosion is a momentum indicator that accounts for volatility in the market. It is the combination of MACD and Bollinger Bands with volatility cutoffs to determine entry and exit points.
How to use:
Strong uptrend when dark green arrow points up
Weak uptrend when light green arrow points up
Strong downtrend when dark red arrow points down
Weak downtrend when light red arrow points down
Included:
35+ moving averages
Controls over explosion and trend filtering
Bar coloring
Dead-zone coloring
ATR and Pips-based dead zone cutoffs
Alerts
All TimeFrame OscillatorsI have always fighted to understand the market direction because it looks different on different timeframes.
I wanted an indicator where I can see all the different timeframes at once.
This indicator shows already existing oscillators but not only in the current chart's timeframe, but all the most important higer timeframes at once.
I have started with the stoch, then added as many oscillators as I could.
Experimenting with this I have saw that confluence of 4H 1D and 1W Stoch can be very interesting and can highlight higher timeframe take profit areas and sometimes major tops/bottoms.
Also bounces can be interesting when a lower timeframe stoch is bounced or rejected from a higher one.
Oscillators:
Stoch - Stochastic Oscillator
SMI - Stochastic Momentum Index
Rsi - Relative Strength Index
StochRsi - Stochastic RSI
WaveTrend - Vumanchu alias Market Cypher Wave Trend line
CCI - Commodity Channel Index
CCIStoch - Stochastic CCI
Williams Percent Range - Williams %R
Norm. MACD - Normalized Moving Average Convergence Divergence
Norm. MACD Hist - Normalized MACD Histogramm
PVT - Normalized Price Volume Trend
MFI - Money Flow Index
CMF - Chaikin Money Flow
Chande Momentum - Chande Momentum
Volume - Normalized Volume
CandleValue - Vumanchu alias Market Cypher MoneyFlow
BBWP - Bollinger Band Width Percentile
Line Type
Smooth: lines are smoothed, but the actualy not closed values are not shown
Step: Step lines, the actually open timeframes are calculated as they closed at the current values
Plot Oscillator or it's Slope:
its possible to not plot the oscillator but it's slope
Print dots when:
Cross Up/Down oversold/overbougt level - best for most oscillators. for example when Stoch crosses above 20 or below 80
Cross os/ob and the one higher TF is about to cross - when it's crosses beolw 80 and the higher timeframe oscillator is still above ans sloping down
Cross above/below middle line - for example on RSI being above or below 50 can be interesting
Print triangles when:
All Slope Match - all visible timeframe lines are pointing up or down at the same time
All above/belove middle line - all visible lines are above or belove the middle line
All above/belove middle line and slope match - like the previous one and the slope direction is the same
All above/below oversold/overbougt - all lines are above or below os/ ob. this is the default. it can be a very important confluence
Lower TF in order - 5, 15, 30, 60 minute timeframes are in order.
Higher TF in order - 4H 1D 1W in order (like 4H above 1D abd 1D above 1W). can be interesting at RSI
4H-1D in order - 4H 1D in order .
Print triangles
Print all triangles - print all triangles when the condition is met
Print only first triangles - only show when the condition starts to met
Print only last triangles - small triangles when the condition met first, large when last. tis is the default.
Timeframes to show:
You can turn on/off different timeframs to show or not from the list below:
1m 5m 15m 30m 1H 4H D 5D W M
This is for experimenting/ understanding the market direction on multiple timeframes at once.
Don't take it's signals (and any other indicator's) as exact trade signals. use it as confirmation instead.
Any comments, insights, ideas are welcome.
God Number Channel v2(GNC v2)GNC got a little update:
1) Logic changed a bit.
I tried to calculate MAs based on the power(high - low of previous bars).You can see it the M-variables, as new statements were added in calculation section of MAs. I don't really know if I did right, because I didn't go too much in Pine Script. I just wanted to make a Bollinger-bands-like bands, which could predict the levels at which might reverse, using legendary fibonacci and Tesla's harmonic number 432. It's might sound as a joke, but as you can see, it works pretty good.
2) Customization :
No need to change Fibonacci ratios in code. Now you can do it in the GNC settings. Also MAs' names were made obvious, just check it out. Time of million similar "MA n1" has passed :)
3) Trade-entry advices :
I didn't tell you exactly the trade-entry advices, as I haven't explored this script fully yet :) But you probably understood something intuitively, when added GNC on the chart. Now I made things way more obvious:
1. Zones between Fib ratios show you how aware you should be of price movements. Basically, here are the rules, but you probably understand them already:
1.1 Red zone(RZ) : high awareness, very likly for price to be reversed, but if there is a clear trend and you know, than it might be a time for price to shoot up/down.
1.2 Orange zone(OZ) : medium awareness, not so obvious, as price might go between boundaries of OZ and continue the trend movement if such followed before entering the OZ. If price go below lower boundary of OZ and the next bar opens below this boundary, it might be a signal for SHORY, BUT(!) please consider confirmation of any sort to be more sure. Think of going beyond the upper boundary by analogy.
1.3 Green Zone(GZ) : if the price hits any boundary of green zone, it is usually a good oppurtunity to open a position against the movement(hit lower boundary -> open LONG, hit upper boundary -> open SHORT).
1.4 Middle Zone(Harmonic Zone)(MZ) : same rules from Green Zone.
IMPORTANT RECCOMENDATION : Use trend indicator to trend all signals from zones to follow the trend, 'cause counter-trending with this thing without stop loss might very quickly wipe you out , might if you will counter-trend strategy with GNC, I will be glad if you share it with the community :)
Reccomendation for better entries :
1) if the price hits the lower(or high) boundaries(LB or HB) zone after zone(hit LB or HB of RZ, then of OZ, then of GZ), it is a very good signal to either LONG, if price was hitting LBs , or SHORT, if hitting HBs .
2) Consider NOT to place trades when in MZ, as price in this zone gets tricky often enough. By the way, if you dont the see the harmonic MAs(which go with plot(ma1+(0.432*avg1)) ), then set the transparency of zone to 20% or a bit more and then it will be ok.
I will continue to develop the GNC and any help or feedback from you, guys, will be very helpful for me, so you welcome for any of those, but please be precise in your critics.
Thank you for using my stuff, hope you found it usefull. Good luck :)
Dynamic StochasticThis indicator brings the stochastic calculation on a separeted chart to the price chart. A new way to see the stochastic position, with the line levels moving in relation to the price. There is a second stochastic as well giving to the trader a more complete analisys to evaluate the oportunities to trade.
You can set the two periods of the first and second stochastic.
You can set the levels od superior, midle and inferior levels.
You can set the width or number of bars to show (NB1 and NB2).
As default P1 = 50, P2 = 200, Superior level = 80(%), Mid level = 50 (%), Inferior level = 20(%).
Number of Bars 1 NB1 = 10
Number of Bars 2 NB2 = 20
EMA Slope/Angle OscillatorEMA Slope/Angle Oscillator, Multiple Moving Average Oscillator, Multiple type
Moving Averages HMA,EMA,WMA,SMA, VWMA,VWAP provided.
The angle is calculated between the Slow MA and Fast MA and the difference between the angle is plotted as Histogram.
Additionally Buy Sell Signals are plotted as green and red Dots.
its very easy to judge the movement of price Bearish/Bullish.
Bearish if price below 0 line
Bullish if price above 0 line
Zero crossing is Moving Average Crossover.
Trend Filter is provided to filter opposite signals.
Angle Threshold is provided to filter low angle false signals.
Dead zone is plotted around Zero Line. Trades can be taken after Threshold angle or Dead zone is crossed
Its interesting to see how different Moving Averages move along with price Action.
Heikin Ashi Volatility Percentile - TraderHalaiThe Heikin Ashi Volatility Percentile (HAVP) Oscillator was inspired by the legendary Bollinger Band Width Percentile indicator(known as BBWP), written by Caretaker, and made famous by Eric Krown, a famous influencer.
This script borrows aspects of the BBWP indicator which enables the HAVP oscillator to visually match the look and feel of BBWP and allows similar configuration functions (such as colouring function, smoothing MAs and alerts)
The fundamentals of this script are however different to BBWP. Instead of Bollinger band width, this script uses a reverse function of Heikin Ashi close (implemented in my Smoothed Heikin Ashi Trend
indicator, linked below).
The reverse Heikin Ashi close is smoothed using Ehler's SuperSmoother function, providing smooth oscillation and earlier signals of volatility tops and bottoms.
From an automated backtest that I have conducted on the BTCUSD index pair, I have observed comparable performance to BBWP across multiple timeframes when combining with stochastic direction to give a bias on overall direction. Using parameters I have tested, it performs better on mid-term timeframes such as 3h,4h and 6h. BBWP outperforms on 1h and 1d, with lower timeframes being comparable.
From the results, using HAVP over BBWP tends to result in reduced holding time and more frequent trades, which may or may not be desirable, although the behaviour can be adjusted using the parameters provided.
For instance, the smoother oscillation provided by HAVP provides a great predictability factor and earlier confirmation signals, which is something that Ehler emphasised in his trading style, and something which I agree with personally. I would encourage you to try out both HAVP and BBWP and see which fits your trading style.
Releasing this as open source allows for the betterment of the community and further development, criticism and discussion.
Thanks and enjoy! :)
[blackcat] L2 SVE Stochastic RSI Level 2
Background
Sylvain Vervoort’ articles in the Aug issues on 2018,“The V-Trade, Part 6”.
Function
In “The V-Trade, Part 6: Technical Analysis—Divergence Indicators” in the August 2018 issue of STOCKS & COMMODITIES, author Sylvain Vervoort introduces a modified version of the stochastic RSI, an indicator that was first introduced by Tushar Chande and Stanley Kroll. That indicator applies a stochastic calculation to an RSI value rather than a simple value, and Vervoort’s update provides additional smoothing. Vervoort uses his new indicator primarily in the analysis of divergence.
Remarks
Tradingview official stoch RSI is added for comparison.
Feedbacks are appreciated.
[MAD] CMF 5x MTF BTCthis is a revised classic CMF indicator, with some additional features
Features:
4 different Exchanges:Tickers (clouds).
your current exchanges:ticker (white)
an averaged cmf over all 5 tickers (black)
a selectable time frame for all tickers
3 buy and 3 sell lines (visual H-lines only)
autocentering over ghosts
color scheme is for a dark theme, change in settings if needed.
how to use:
act the crossins
when one or two cmfs move steeply into an h-line, when moving back to the middle they have their signal and do their own risk management.
sometimes really crazy things happen in small time frames (whalegames) that you can use as a tradestop and sit it out.
generally try to go with a bigger trend that give less but better results
MACD CandleInstead of viewing MACD from a separate chart (histogram), this indicator will plot a candle based on the MACD value. It is easy to summarize trends and make your technical analysis charting less complex.
MACD S/R signal indicatorI've based the script on my MACDs/r indicator.
I think it works better on higher timeframes, this is just an experiment, please feel free to modify it.
I have been testing it with parabolic SARS to know when to exit the trades.
Exit condition: if I'm in a log position and the price is below the last bearish parabolic SARS dot I exit the trade and the opposite for shorts
DISCLAIMER: Is just an experiment and I haven't test it with real money, be careful
MACD Potential Divergence - FontiramisuIndicator showing potential momentum divergences on MACD Momentum.
The problem with the classic divergence is that when the signal appears, it is sometimes too late to enter a trade .
The potential divergence corrects this problem by signaling the beginning of a potential divergence .
MACD is a momentum indicator that offers relevant insights with divergences.
Potential divergences are indicated with the letter B and a red color for Bearish Div or Green color for Bullish Div .
Potential divergence is confirmed when the line and the label "Bear"' or "Bull" appear.
MA SLope Potential Divergence - FontiramisuIndicator showing potential momentum divergences on Moving Average's Slope.
The problem with the classic divergence is that when the signal appears, it is sometimes too late to enter a trade .
The potential divergence corrects this problem by signaling the beginning of a potential divergence .
Moving average slope is a momentum indicator that offers relevant insights with divergences
Potential divergences are indicated with the letter B and a red color for Bearish Div or Green color for Bullish Div .
Potential divergence is confirmed when the line and the label "Bear"' or "Bull" appear.
You can either show fast slope's divergences or slow slope's divergences or slow/fast diff's divergences.
MACD ScalpsMACD Scalping
50 EMA crosses below 200 EMA = Only shorts
50 EMA crosses above 200 EMA = Only longs
For longs: -> Enter on red MACD bar
For shorts: -> Enter on green MACD bar
Bars not big enough or that do not follow the EMA rule are greyed out.
WSTF RSI2 IndicatorThis is the Indicator replicating the basic RSI(2) created by Wilders.
Buy condition:
(RSI(2) crossed under 10) & (close > EMA(200)) & (EMA(5) > close)
Sell condition:
(RSI(2) crossed over 90) & (close < EMA(200)) & (EMA(5) < close)
You can play around with the script by adjusting the RSI Values, EMA values and crossover & crossunder threshold.
We will update the script with new features in the futures.
Please don't hesitate to share some Ideas or Feedbacks, we would be happy to improve the script for you !
Have fun !
WS TradingFactory
Genesis Matrix [Loxx]Over a decade ago, the Genesis Matrix system was one of best strategies for new traders looking to learn how to really trade trends. Fast forward to 2022, a new version of Genesis Matrix has emerged using TVI, CCI, HL Channel & T3
What is T3?
The T3 moving average is an indicator of an indicator since it includes several EMAs of another EMA. Unlike any other moving average, it adds the so-called volume factor, a value between 0 and 1. Like the SMA, traders typically use this indicator to spot trends and trend reversals.
What is CCI?
The Commodity Channel Index ( CCI ) measures the current price level relative to an average price level over a given period of time. CCI is relatively high when prices are far above their average. CCI is relatively low when prices are far below their average. Using this method, CCI can be used to identify overbought and oversold levels.
Genesis matrix uses Jurik-Smoothed CCI w/ MA Deviation--a spin on regular CCI .Usually CCI is calculated as using average ( Simple Moving Average ) and mean deviation. In this version, average is replaced with well known JMA (Jurik Moving Average) instead for the smoothing phase and the deviation is replaced with variety moving average deviation. The result in this one is responsive and fast (as expected) and also it is smoother than the original CCI (as expected).
What is SSL?
Known as the SSL, the Semaphore Signal Level channel chart alert is an indicator that combines moving averages to provide you with a clear visual signal of price movement dynamics. In short, it's designed to show you when a price trend is forming. For our purposes here, SSL has been modified to allow for different moving average selection and different closing price look back periods.
What is William Blau Ergodic Tick Volume?
This is one of the techniques described by William Blau in his book "Momentum, Direction and Divergence" (1995). If you like to learn more, we advise you to read this book. His book focuses on three key aspects of trading: momentum, direction and divergence. Blau, who was an electrical engineer before becoming a trader, thoroughly examines the relationship between price and momentum in step-by-step examples. From this grounding, he then looks at the deficiencies in other oscillators and introduces some innovative techniques, including a fresh twist on Stochastics. On directional issues, he analyzes the intricacies of ADX and offers a unique approach to help define trending and non-trending periods.
William Blau's definition of TVI ergodicity is that the indictor is ergodic when periods are set to 32, 5, 1, and the signal is set to 5. Other combinations are not ergodic, according to Blau.
How to use
Long signal: All 4 indicators turn green
Short signal: All 4 indicators turn red
Included
Bar coloring
Jurik-Smoothed CCI w/ MA Deviation [Loxx]Jurik-Smoothed CCI w/ MA Deviation is a spin on regular CCI. Usually CCI is calculated as using average (Simple Moving Average) and mean deviation. In this version, average is replaced with well known JMA (Jurik Moving Average) instead for the smoothing phase and the deviation is replaced with variety moving average deviation. The result in this one is responsive and fast (as expected) and also it is smoother than the original CCI (as expected).
What is CCI?
The Commodity Channel Index (CCI) measures the current price level relative to an average price level over a given period of time. CCI is relatively high when prices are far above their average. CCI is relatively low when prices are far below their average. Using this method, CCI can be used to identify overbought and oversold levels.
What is Jurik Volty used in the Juirk Filter?
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
What is the Jurik Moving Average?
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Included:
Bar coloring
35+ moving averages
Bulls vs BearsThis indicator helps show whether Bulls or Bears have more power at a given time.
On the chart, you can see how one might use this indicator for entry, exit, and confirmation.
The math used to calculate the indicator line is as follows:
bullPower = high - MA
bearPower = low - MA
indicatorLine = bullPower + bearPower
If the indicator is above the baseline of 0, line is green and Bulls are in power.
If the indicator is below the baseline of 0, line is red and Bears are in power.
Baseline is defaulted to 0. This can be changed in either direction to create more confirmation about bullish or bearish. This line determines the color of the indicator line.
The dark band/channel is based on the Average True Range (ATR). The channel size can be adjusted. When the indicator line moves outside of the channel, it is an extremely strong indicator of who is in power and may precede a reversal or slowdown.
Settings that can be adjusted:
ATR Multiplier - adjusts the size of the channel. Default is 3
Source (default hlc3)
Moving Average Length - Default is 13.
Moving Average Type
- EMA
- SMA
- SMMA (RMA)
- WMA
- VWMA
Baseline - Sets color of indicator line to show what's bullish/bearish. Default to 0.
Colors:
- Indicator Line Colors
- ATR Band upper & lower lines
- ATR band background
Jurik Filter TRIX Log [Loxx]Jurik Filter TRIX Log is a TRIX indicator that calculates TRIX using a Jurik Filter instead of EMA. this indicator responds much quicker than traditional TRIX.
What is TRIX?
TRIX is a momentum oscillator that displays the percent rate of change of a TEMA. It was developed in the early 1980's by Jack Hutson, an editor for "Technical Analysis of Stocks and Commodities" magazine. With its triple smoothing, TRIX is designed to filter insignificant price movements. In his article he uses a logarithm of a price (which is in many versions, left out).
What is Jurik Volty used in the Juirk Filter?
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
What is the Jurik Moving Average?
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Included:
-Bar coloring
TTM Regression°This oscillator attempts to provide context to John Carter's "TTM Squeeze" indicator.
Similar to my MAR° indicator, statistically significant areas based on the past n candles (Lookback) are calculated to provide context for the y-axis values of the TTM indicator.
Note that Carter's squeeze idea has been dropped in favour of the regression bands, in that they offer a clear visual momentum squeeze condition.
The regression bands identify temporary exhaustion of bullish (purple) and bearish (green) momentum; these could potentially be seen as overbought and oversold indications.
The dotted midlines dictate intra-zones where momentum could reverse to continue the larger trend.
All the latter behave similarly to Support and Resistance zones.
The oscillator can also be normalized over a given interval to show results on a scale between 0 and 100, preserving even more context over time.
You should experiment for yourself to find out what is best for you in terms of scale, and Normalization Period.
Normalization Example: on the left you can observe how the momentum is visualized differently based on the scale, given the rapid momentum to the upside.
// –––. Regular
// –––. Normalized
It's crucial to use this oscillator as confluence only and not to take trades based solely on its indications.
At the moment there are no alerts set for this script, open to suggestions :)
Shotoki Exit FinderHi,
I publish this indicator again because PineScript deleted it
Let's explain it a bit :
The indicator is caculated from HHLL structures
- When the line is black, then nothing particular
- When the line is blue and >0 we soon have a top
- When the line is blue and <0 we found a bottom
- When the line is pink and >0 we found a top
- When the line is blue and <0 we sonn have a bottom
I use it to exit earlier a trade
Shotoki
Probability Density Function based MA MACD [Loxx]Probability Density Function based MA MACD is a MACD indicator using a type of weighted moving average.
What is Probability Density Function based MA MACD?
Probability density function based MA is a sort of weighted moving average that uses probability density function to calculate the weights.
Included:
-Toggle on/off bar coloring