Harmonic Sine Waves model plot Hey,
Here is another tool that I created. I could not find anything similar.
This script is creating a sine wave, based on the given length, amplitude, horizontal vertical offset.
After this it plots also nearest harmonics to the base sine wave and draws it on the chart.
At the last step it sums up the value for base sine wave with its harmonics.
This is a great way to experience how 4 basic sine waves, when summed up, are creating more complex chart.
This shows that the 'chaotic' chart can be built on just a few most important factors.
You do not have to "know every single fact" about the asset to make a proper forecast.
You just need those most important.
It is crucial though, to offset the chart in a correct way, so it is in phase with the asset that we work on.
Hurstcycles
Hurst ExponentMy first try to implement Full Hurst Exponent.
The Hurst exponent is used as a measure of long-term memory of time series. It relates to the autocorrelations of the time series and the rate at which these decrease as the lag between pairs of values increases
The Hurst exponent is referred to as the "index of dependence" or "index of long-range dependence". It quantifies the relative tendency of a time series either to regress strongly to the mean or to cluster in a direction.
In short, depending on the value you can spot the trending / reversing market.
Values 0.5 to 1 - market trending
Values 0 to 0.5 - market tend to mean revert
Hurst Exponent is computed using Rescaled range (R/S) analysis.
I split the lookback period (N) in the number of shorter samples (for ex. N/2, N/4, N/8, etc.). Then I calculate rescaled range for each sample size.
The Hurst exponent is estimated by fitting the power law. Basically finding the slope of log(samples_size) to log(RS).
You can choose lookback and sample sizes yourself. Max 8 possible at the moment, if you want to use less use 0 in inputs.
It's pretty computational intensive, so I added an input so you can limit from what date you want it to be calculated. If you hit the time limit in PineScript - limit the history you're using for calculations.
####################
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
Hurst Constant EnvelopeThis script follows the fundamentals described in J.M. Hurst works.
Constant Envelope is updated version of EMA with its 2 copies drawn with nominal distance from the base.
That make a constant width channels, unlike the standard envelope using the % concept.
Its width is not changed at different price levels.
(2) MoTrend VS-1150A great deal has been written about trend trading, simply because it’s a profitable trading technique, that simply works. The MoTrend indicator displays trending, momentum and stiffness to the trader guiding them to potential trend trading opportunities. MoTrend also contains a very sophisticated exit strategy, allowing the trader to ride the trend to its most profitable exit point.
MoTrend was developed by determining when the Short-Term Hurst Channel(STHC) merge with the Long-Term Hurst Channel (LTHC). This event is flagged in two manors. First the STH channels blue line obscures the green or red lines of the LTH cycle channel. This triggers a change in the background color of your Cycles price chart to light green, as illustrated below, and in a change in color of the background of the MOTREND indicator to dark green on up-trends. These background colors shift to progressive shades of red when the trend is indicating down.
Because the MoTrend indicator was designed to work in concert with the Cycles indicator, the MoTrend signals are designed to progressively bleed into the Genie Cycles indicator. The two are not required to both be active on your screen at the same time, as each one is a free standing indicator working` completely independently of each other.
When the STH channel moves to the top of the LTH channel you are seeing the confirmed beginning of a positive trend. The MOTREND indicators most important asset is the ability to provide traders with a clear indications when, in all probability, the trend is coming to an end. This is accomplished by the magnetic effect of the STH channel. As long as the price range of the trades remain within the short-term channel, not exceeding the lower threshold of the bounding channel, the entire channel will remain attached to the top of the long-term channel. This magnetic effect of the short-term channel provides you with the ability to stay in your trade in the face of small, short-term reversals as long as those price changes don’t drag the STH channel lower. As soon as that occurs, your positive trend is demonstrating weakness and you should shift your trade evaluation to the stiffness histogram indicator show in the same indicator window.
The Stiffness indicator helps determine if you should continue in this trade after the Hurst cycles uncouples. The Stiffness indicator is simply counting the number of bars/days that your equity has remained above a specified moving average (MA) without penetrating that moving average. The indicator utilizes two adjustable variables, both a look-back or length for the moving average and a period of time or window that you are focused on. This is plotted as a series of columns plotted on two scales. Zero to 100 for uptrends (green columns) and 0 to -100 (red columns) for down trends. The period length provides the trader with a window of time that you want to determine if the price is penetrating the moving average you have set. The Stiffness indicator was described in the trading journal; Technical Analysis of Stocks and Commodities, by Markos Katsanos, Nov 25, 2018.
Finally, you can turn on a price line that is recalculated to become constrained within the parameters of the MoTrend indicators -100 to +100 range. This provides the trader the ability to see the relationship of price changes against the MoTrend and Stiffness indicators all in one indicator pane, window.
Access this Genie indicator for your Tradingview account, through our web site. (Links Below) This will provide you with additional educational information and reference articles, videos, input and setting options and trading strategies this indicator excels in.
(1) Genie Cycles VS-200The Genie Cycles indicator contains two primary components. The first generates the primary turning-point Entry/Exit signals based on a hybrid algorithms that utilize multiple moving filters and oscillators, all working in concert. The second is our version of Hurst Cycles allowing the trader to view the harmonic convergence of short and long cycles.
The turning-point signals are generated by two Center of Gravity Oscillators (COG) originally developed by John Ehlers and published in Technical Analysis of Stocks and Commodities in its May 2002 issue.
COG produces a moving filter that heavily weights the most extreme and most current values in the stream of data within the window of the indicator. COG excels at determining and indicating where, within a parabolic path, tipping or turning points have occurred. Two COG indicators, each one set to a different length and different inputs are incorporated. The output of these two COG filters are them put through another Ehler’s filter, the Pass Band; July 2016 issue of TAOSAC. A pass band filter has the unique ability of removing the higher and lower frequencies from the signal, leaving behind only the core signal. Here we are taking a longer COG period of (10) days, utilizing the candles body size as it’s input and then subtracting a short period of (7) days utilizing only the close of the day. The result is an emphasis on the extreme values, i.e., the maximum apex and the minimum vertex of each parabolic swing. Finally, the Arnaud Legoux Moving Average (ALMA) is utilized as smoothing a filter to slightly shift the weighting from the COG Pass band filter, in a selective and adjustable manor to more current bars, not the most current bar. This is desirable because COG dramatically emphasizes the most current candle or bar as well as large candles and strong deviations from within the moving average.
This provides the trader with excellent responsiveness within a very smooth output signal with very few artifacts or whipsaws, producing highly reliable trading signals that indicate optimal entry and exit points with a high level of accuracy and very little lag.
The primary principals of Hurst cycles are price moves in waves that exhibit cyclic attributes based on their time scales. Genie Cycles incorporates Hurst cycles theories, but utilizes only two nested Laguerre moving filters. Laguerre moving filters have significantly less lag than traditional moving averages. These moving filters take as there inputs the highest high and the lowest lows for the two adjustable periods. The point of the indicator is to determine when a short-term swing cycle harmonizes or aligns with a long-term cycle, i.e., determining when the tops and bottoms of these cycles align.
The resulting nested channels produce natural bounding boxes. This dramatically highlights likely support and resistance levels as they often occur at prior highs or lows that this indicator is drawing. Convergence of the different cycle lengths can indicate strong trends that make excellent trading opportunities. Decoupling of the cycles indicates the end of the trend.
ALMA Hurst Cycles V2 - Potential Pivot Points Chandelier VersionAlternative version to this script
Uses the calculation for creating chandelier stops as a basis for the bands. Seems to be more consistent especially over higher TFs. Still needs to be tuned for a good price fit.
Laguerre Filtered Hurst Cycle Channel [rumpypumpydumpy]Experiment in using a Laguerre filter on Hurst Cycle Channels.
Default settings may not be a good price fit!
Increasing the gamma value increases the degree of smoothing from the laguerre filter :
♒Hurst Cycle Channel Oscillator v1.0 by Cryptorhythms♒Hurst Cycle Channel Oscillator v1.0 by Cryptorhythms
👀 This one was not in the public library yet. Thanks to lazybear for the original Hurst Cycle Channel code, which was used to create this.
📜 Description
In the late 60's a NASA aerospace engineer J.M. Hurst published ‘The Profit Magic of Stock Transaction Timing’. Ironically, his book, by some considered the best book ever written about stock market cycles and swing trading, became available during the deepest and most extended Bear Market since the Great Depression. From 1972 on brokers couldn't give blue chip stock away in a Wall Street lunchroom. There was no market for a book by a stock market timer, and the book became a hidden treasure.
The Oscillator version of channel cycle was not on tradingview yet, so here you go, hope you all enjoy! The Hurst Channels and the Hurst Oscillator, be it combined or separate, can be implemented to uncover turning points in all time frames. Note that the Hurst Oscillator is basically just another presentation of the position of price in the Hurst Channel.
You can use it similar to an RSI looking for divergences. Also similar to a ema fast/short cross strategy when you use the signal line as entry/exit. You can also of course use the overbought/oversold zones as well.
Here is a screenshot with the example of bar coloration:
👍 Enjoying this indicator or find it useful? Please give me a like and follow! I post crypto analysis, price action strategies and free indicators regularly.
💬 Questions? Comments? Want to get access to an entire suite of proven trading indicators? Come visit us on telegram and chat, or just soak up some knowledge. We make timely posts about the market, news, and strategy everyday. Our community isn't open only to subscribers - everyone is welcome to join. t.me
Volatility FilterOver the past few weeks (as of today, which is: 12th of October 2018) there has been little to no volatility in most of the major cryptocurrencies. What volatility does come in comes and goes very quickly. It's difficult to discern good and bad moments to be in a trade. As a result I decided to create a volatility filter based on Hurst exponent market phases, Bollinger Band width, moving averages, volume and the average true range. The results are the above.
You can use this indicator against any asset or within any market. It actually reaps excellent results against the DJI and XAUUSD One of my suggested uses for it is if you're scalping, only enter a position when there is volatility (when there's no background color present). If you're swinging, only enter a position when there's low volatility (when the red background color is present).
Another way to use it (although this isn't intended, just incidental) is to take a position in the direction of the first bar after the red background has gone/after low volatility has passed. So if we get a declining candle when we exit a low volatility zone, short. Otherwise long. This is the experimental side of it though.
However, this indicator won't tell you what direction to trade in, so in order to get use from it I suggest having a trend filter and a trigger. Luckily these two things are in most traders' arsenal. If not, take a look at my other script which is a timelessly brilliant trigger for buying and selling:
Something else to consider is that the volatility is relative. If we go through a period of incredibly high volatility then afterwards we can sometimes expect the volatility filter to plot a red background even though there is still acceptable volatility left in the market. The volatility at that point is much less than the volatility beforehand.
With all that said, this easy-to-read tool will help you avoid flat periods when scalping and, conversely, help you determine good times to enter a swing trade. For those who had difficulty trading the markets as of late due to volatility, this indicator is perfect for you
Access to the filter is provided for 10$, payable in most low-transaction-fee cryptocurrencies. Access is limited to 250 customers. For more information message me through TradingView or message @overttherainbow through Telegram.
Have a nice day and good luck trading.
HurstCycles PeaksOnly way I found to plot hurst cycles. I gave up on anything other than daily chart.
Published on request.
HurstCycles ThroughsOnly way I found to plot hurst cycles. I gave up on anything other than daily chart.
Published on request.