Price Distance to its MA by DGTPrices high above the moving average (MA) or low below it are likely to be remedied in the future by a reverse price movement as stated in an Article by Denis Alajbeg, Zoran Bubas and Dina Vasic published in International Journal of Economics, Commerce and Management
Here comes a study to indicate the idea of this article, Price Distance to its Moving Averages (P/MA Ratio)
The analysis expressed in the paper indicates that there is a connection between the distance of the prices to moving averages and subsequent returns : portfolios of stocks with lower prices to moving averages generally outperformed portfolios of stocks with higher prices to moving averages. This “overextended” effect is more pronounced when using shorter moving averages of 20 and 50 days, and is especially strong in short-term holding periods like one and two weeks. The highest annual returns are recorded when buying in the range of 0-5% below shorter moving averages of 20/50 days, and 0-10% below longer moving averages of 100/200 days. However, buying very far below almost all moving averages on almost all holding periods produces the lowest returns.
The concept of this study recognizes three different modes of action.
In a clearly established upward trend traders should be buying when prices are near or below the MA line and selling when prices move too far above the MA.
Conversely, in downward trend stocks should be shorted when reaching or going above the moving average and covered when they drop too far below the MA line.
In a sideways movement traders are advised to buy if the price is too low below the moving average and sell when it goes too far above it
Short-term traders can expect to outperform in a one or two week time window if buying stocks with lower prices compared to their 20 and 50 SMA/EMA, one to two-week holding periods is quite high, ranging from 72,09% to 90,61% for the SMA(20, 50) and 85,03% to 87,5% for the EMA(20, 50). The best results for the SMA 20 and 50, on average, are concentrated in the region of 0-5% below the MA for the majority of holding periods. Buying very far below almost all MA in almost all holding periods turns out to be the worst possible option
Candle patterns, momentum could be used in conjunction with this indicator for better results. Try Colored DMI and Ichimoku colored SuperTrend by DGT
Cycle
[RS]Cyclic Interval Average PriceEXPERIMENTAL:
Cyclic interval price averaging at every x bars.
Lines for trend line and intra trend slope(not working as intended).
Narrow Bandpass FilterIn technical analysis most bandpass filters like the MACD, TRIX, AO, or COG will have a non-symmetrical frequency response, in fact, this one is generally right-skewed. As such these oscillators will not fully remove lower and higher frequency components from the input signal, the following indicator is a bandpass filter with a more symmetrical frequency response with the possibility to have a narrow bandwidth, this allows the indicator to potentially isolate sinusoids from the input signal.
Indicator & Settings
The filter is calculated via convolution, if we take into account that the frequency response of a filter is the Fourier transform of its weighting function we can deduce that we can get a narrow response by using a sinusoid sin(2𝛑nf) as the weighting function, with the peak of the frequency response being equal to f , this makes the filter quite easy to control by the user, as this one can choose the frequency to be isolated. The length of the weighting function controls the bandwidth of the frequency response, with a higher length returning an ever-smaller frequency response width.
In the indicator settings the "Cycle Period" determine the period of the sinusoid used as a weighting function, while "Bandwidth" determine the filter passband width, with higher values returning a narrower passband, this setting also determine the length of the convolution, because the sum of the weights must add to 0 we know that the length of the convolution must be a multiple of "Cycle Period", so the length of the convolution is equal to "Cycle Period × Bandwidth".
Finally, the windowing option determines if a window is applied to the weighting function, a weighting function allow to remove ripples in the filter frequency response
Above both indicators have a Cycle period of 100 and a Bandwidth of 4, we can see that the indicator with no windowing don't fully remove the trend component in the price, this is due to the presence of ripples allowing lower frequency components to pass, this is not the case for the windowed version.
In theory, an ultra-narrow passband would allow to fully isolate pure sinusoids, below the cycle period of interest is 20
using a bandwidth equal to 10 allow to retain that sinusoid, however, note that this sinusoid is subject to phase shift and that it might not be a dominant frequency in the price.
Ehlers Spectrum Derived Filter Bank [CC]The Spectrum Derived Filter Bank was created by John Ehlers (Stocks & Commodities V. 26:3 (16-22)) and this is technically two indicators in one. This will let you know the current cycle period which is in blue and the other indicator will let you know if you should buy the stock or not. Buy when it is green and sell when it is red.
Let me know if you would like me to publish other scripts or if you want something custom done!
Note: I'm republishing this because the original script couldn't be found in searches so this will fix that.
Ehlers Dominant Cycle Tuned Bypass Filter [CC]The Dominant Cycle Tuned Bypass Filter was created by John Ehlers (Stocks & Commodities V. 26:3 (16-22)) and this is a particularly unique indicator because this does a pretty good job at predicting the future stock movements. If the blue line crosses over the red then a few bars from now the stock price will most likely go up and if the blue line crosses below the red then a few bars from now the stock price should go down. Since this is such a unique indicator to use with entry and exit points, I don't have them color coded but try this out and let me know what you think.
This was a special request so let me know what other scripts you would like to see me publish or if you want anything custom done!
Note: I'm republishing this because the original script couldn't be found in searches so this will fix that.
Week Start - Highlights the first candle of the weekSome users asked in PM about a script that highlights the start of the week. Consequently, I decided to publish it open for anyone finding it useful.
Furthermore, I will update the script soon with more useful features and customisation options.
Ehlers Correlation Cycle IndicatorThe Correlation Cycle Indicator was created by John Ehlers (Stocks & Commodities V. 38:06 (8–15)) and this is technically part of three indicators in one so I'm splitting each one to a separate script. This particular indicator was designed for trend direction and trend strength and simply buy when it is green and sell when it turns red. Also keep in mind that the higher the indicator is above the signal then the stronger the trend and when they are close together, conditions get choppy.
Let me know if you would like to see me publish other scripts or if you want something custom done!
Correlation Cycle, CorrelationAngle, Market State - John EhlersHot off the press, I present this "Correlation Cycle, CorrelationAngle, and Market State" multicator employing PSv4.0, originally formulated by Dr. John Ehlers for TASC - June 2020 Traders Tips. Basically it's an all-in-one combination of three Ehlers' indicators. This power packed triplet indicator, being less than a 100 line implementation at initial release, is a heavily modified version of the original indicator using novel techniques that surpass John Ehlers' original intended design.
This is also a profound script in numerous ways. First of all, these three indicators are directly from the illustrious mastermind himself Dr. John Ehlers. Secondarily, this is my "50th" script published on TV, which makes it even more significant. I'm especially proud of this script to "degrees" of imagination I once didn't know was theoretically possible in code. My intellect has once again been mathemagically unlocked pondering new innovations with this code revelation. Thirdly, this PSv4.0 script shows the empowering beauty and elegance of hacking the stock markets with TV's ultra utilitarian Pine Editor(PE) in a common browser! Some of you may be wondering if I worked on this for days... nope! This only took a few hours, followed by writing this description for another hour plus.
I have created many of Ehlers' indicators in PE, a few of which I have published in my profile, but I wanted to show how programming with Pine Script can be an artistic form of craftsmanship and poetry. None of this would be possible without the ingeniously minded Tradingview staff revolutionizing algorithmic trading at it's finest. If you should ever encounter them by chance, ponder humbly thanking these computing wizards for their diligence and dedication. They are providing, and shall award to us members, some of the most fascinating conceptualized tech imaginable in the coming future. I can assure you, much, much more is yet to be unveiled for us TV members/enthusiasts. Thank you TV and all you offer to this community.
As always, I have included advanced Pine programming techniques that conform to proper "Pine Etiquette" by example. There are so many Pine mastery techniques included, I don't have an abundance of time to elaborate on all of them. For those of you are code savvy, you may have notice I only used one "for" loop for increased server efficiency, instead of the two "for" loops in the original formulation. For those of you who are newcomers to Pine Script, this code release may also help you comprehend the immense "Power of Pine" by employing advanced programming techniques while exhibiting code utilization in a most effective manner. This is commonly what my dense intricate code looks like behind the veil. If you are wondering why there is hardly any notes, that's because the notation is primarily in the variable naming.
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND a few more... Why list them, when you have the source code!
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Bitcoin: Top & Bottom Mini-AlgoHere we have a mini-algorithm that tries to show absolute 4-year-cycle top and bottom zones for the case of the BraveNewCoin Liquid Index (BLX) for Bitcoin on the weekly (W) timeframe by using several oscillators as RSI, VPCI etc. employed with a custom logic. When the background gets red we might be near to a cycle peak, and when it gets green we might be near to the absolute bottom of the current cycle. Note that only absolute top/bottoms are indicated (at least since the end of 2013), so that the current strong drop in March 2020 was correctly not tagged, as it wasn't the lowest price of the current cycle.
It is best to combine this mini-algorithm with some of my boundary indicators for BLX, e.g. "Bitcoin: Price Action Integrals", for confluence . For the next peak one could then watch for the mini-algo to go red and for the price to hit the boundary. You can change the background transparency if you like to have this indicator be more unobstrusive on the chart.
For access please contact me via DM on TradingView or on Twitter (linked on my TradingView profile and my signature).
Extended Golden Ratio Fibonacci Multiplier + Pi Cycle TopHere I present the Golden Ratio Multiplier and Pi Cycle Top Indicator originally conceptualized by Philip Swift, and extend it. Due to popular demand for a nicer looking color scheme and added MAs & functionalities, I decided to publish this indicator, of course with free access for everyone as the discovery is attributed to Philip. The indicator works best for BLX (BraveNewCoin Liquid Index for Bitcoin) on daily (D) or weekly (W) timeframe. Other timeframes are not supported (and also generally not needed as this is a rather high timeframe indicator).
Added functionality:
- Additional Fibonacci MAs for Bottom: 0.618*MA(50W) and 0.382*MA(50W), which seem to be distinct high timeframe support MAs
- Pi Cycle Top and all Fibonacci MAs can be plotted or hidden individually
- Correct MA values for daily (D) and weekly (W) timeframes are automatically assigned, so you do not need to change anything when you switch between those timeframes.
It is generally said that Bitcoin's peaks always only reach a lower yearly Fibonacci MA. The next one to eye would be the 3*MA(50W) = 3*MA(350D) here plotted in dark green. Historically when the MA(16W) = MA(111D) (here plotted in magenta) line crossed the 2*MA(50W) = 2*(350D) line (plotted in cyan) from below a cycle peak is reached. This indicator might therefore be a good high timeframe indicator for Bitcoin trading. Of course this is no financial advice.
Bitcoin: Price Action Integral BandsThis indicator tries to display absolute tops and bottoms for Bitcoin. The price action gets integrated with two custom functions resulting in the blue top and red bottom price action integrals. From those integral values we allow 5% deviation in up and down direction, leading to price action integral bands of some non-zero width.
Even in the current liquidity crisis with abnormal price movements, Bitcoin had no weekly candle close below the support band. One thing to note is that in the here presented model, up until now only one single weekly candle touches the blue band in each of Bitcoin's cycles. For longer-term trades it might be a good idea to buy BTC when price is around the red band, and sell/go short when BTC is around the blue band, although this is no financial advice and one should always cross-check with other indicators/informations.
There's the option to plot or hide the bands individually.
The integral bands are specifically designed for the Bitcoin BLX (BraveNewCoin Liquid Index) ticker on weekly timeframe. For other assets, tickers and timeframes the functionality of this indicator cannot be guaranteed and will most probably not deliver meaningful results.
Pi Cycle Bitcoin top indicatorThe Pi Cycle Top Indicator has historically been effective in picking out the timing of market cycle highs to within 3 days.
It uses the 111 day moving average (111DMA) and a newly created multiple of the 350 day moving average, the 350DMA x 2.
Note: The multiple is of the price values of the 350DMA not the number of days.
For the past three market cycles, when the 111DMA moves up and crosses the 350DMA x 2 we see that it coincides with the price of Bitcoin peaking.
It is also interesting to note that 350 / 111 is 3.153, which is very close to Pi = 3.142. In fact, it is the closest we can get to Pi when dividing 350 by another whole number.
It once again demonstrates the cyclical nature of Bitcoin price action over long time frames. Though in this instance it does so with a high degree of accuracy over the past 7 years.
Full Credit to PositiveCrypto
Moon phases 2020 for JapanMoon phases 2020 for Japan
月の満ち欠け 2020年度 日本向け
Full Moon is Purple line
満月は紫色
New Moon is Red line
新月は赤色
Reflex Oscillator - Dr. John EhlersHot off the press, I present this NEW "Reflex Oscillator" employing PSv4.0, originally formulated by Dr. John Ehlers for TASC - February 2020 Traders Tips. John Ehlers might describe it's novel characteristics as being a reversal sensitive near zero-lag averaging indicator retaining the CYCLE component. Also, I would add that irregardless of the sampling interval, this indicator has a bound range between +/-2.0 on "1 second" candles all the way up to "1 month" candle durations. This indicator also has a companion indicator entitled "TrendFlex Oscillator". I have published it in tandem with this one in my scripts profile.
One notable difference between this and the original formulation is that I have added an independent control for the Super Smoother. This "tweak" is enabled by applying the override and adjusting it's period. There is a "Post Smooth" input() that "tweaks" the internal Reflex EMA too. Keep in mind that my intention of adding tweaks is solely for experimentation with the original formulation.
I also added adjustable levels for those of you that may wish to employ alertcondition()s to this indicator somehow. Providing a more utilitarian approach, I created this with an easy to use reusable function named reflex(). As always, I have included advanced Pine programming techniques that conform to proper "Pine Etiquette". Being this is one of John Ehlers' first two simultaneously released indicators for 2020, I felt a few more bells and whistles were appropriate as a proper contribution to the Tradingview community.
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND much, much more... You have the source!
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section, should you have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
BEAM BandsBEAM Bands is a version of the BEAM indicator that is drawn directly on the price chart. It is a more visual representation of BEAM and lets you compare it directly to the price.
Disclaimer: This is not financial advice. For educational purposes only.
Schaff Trend Cycle [ChuckBanger]The Schaff Trend Cycle is a method, developed by Doug Schaff and based on the concept that trends also have repeating high and low patterns, or cycles. This is a modified MACD line, run through a modified stochastic algorithm and smoothed with Wilders’ smoothing in order to estimate the final Schaff Trend Cycle (STC) indicator. Its purpose is to identify the direction, in which a trend cycle is moving and possible peaks and bottoms within this cycle.
If this is interesting you should also take a look at MACD Leader:
For more info about Schaff Trend Cycle Indicator:
www.investopedia.com
MTF Improved Schaff Trend Cycle IndicatorThis is my cutting edge "Improved Schaff Trend Cycle Indicator" that I radically modified for all assets, not just Forex. Just when you may have thought it was the end of the evolutionary line for Schaff trend cycle indicators, it's not! It's actually two different modified Schaff trend cycle tandem algorithms combined making this a very versatile multicator. Members obtaining Invite-Only access, I might suggest using two of these for increased situational awareness. The creator of "Schaff Trend Cycle", Doug Schaff, a pioneer in Forex analytic trading tools, was really on the right track decades ago when he created the original indicator. At the time of this release, my original free to use formulation shown on the very bottom above is highly popular with members on TV, and in my opinion, one of my most favored indicators I have published so far. Well, this is the NEW and IMPROVED version with reduced lag...
Modifications included are rescaling the range from 0/100 to +/-1.0, employing reversion to the mean principles Dr. John Ehlers elaborates about. The thresholds are set to +/-0.8, nothing significant about those numbers at all, be forewarned! One characteristic about these formulations is that I was able to reduce the lag in many cases. While both are more reactive than the original Schaff trend cycle indicator, often in downward trends, one has the ability to hug the -1.0 line more having an occasional propensity to anticipate false bottoms when significant divergences between the two occur. This is one capability in an indicator I have for so long tried to achieve without any success until now. Also in positive trends, these formulations are more effective when encountering detected peaks/tops without the inherent lag the original formulation had. Both are typically in agreement when an opportune selling exit point is commencing. These characteristics are displayed above on top of the original formulation shown on the bottom.
Another most notable feature I have been including recently is the multiple time frame (MTF) features in the indicator "Settings". The indicator accommodates selectable second-based time frames. This is my third PSv4.0 script to accommodate seconds in MTF adequately. Be forewarned, second-based time frames are currently for Premium subscribers only, until such time in the future when the prerogative of TV might change. I will continue adding second-based time frames to my other indicators where I feel it is beneficial to the indicator.
I.P.O.C.S.: "Initial Public Offering Clean Start" proprietary technology. I figured it's time to more accurately describe this tech starting with this novel indicator. Many of my other indicators already possess this capability. It allows suitable plotting from day one, minute one of IPO, remedying visually delayed signal analysis. It's basically accurate plotting from the very first bar (bar_index==0) on Tradingview. If you don't know what this is, most people don't, go back to the VERY beginning of any stock on the "All" chart and compare it to other similar indicators. What's so special about this? It is extremely difficult to get a healthy plot from bar_index==0 on any platform. However, I have become exceedingly talented performing this feat in most cases but not all depending on the algorithm. This indicator is a successful accomplishment implementing IPOCS. It's inherent value is predominantly for IPO traders who in the past have had to wait 20, 50, and 150 bars before they obtain a precise indicator measurement for the simplest of algorithms in order to make a properly informed decision to potentially invest in an asset. How is this achieved? It's a highly protected secret of mine... but I will say I rarely use Pine built-in functions at all. When I do, I use them scarcely due to currently existing Pine language limitations.
Anyhow, this supersedes my "Enhanced Schaff Trend Cycle Indicator" by far. For those of you who obtain this indicator, enjoy the POWER of Schaff renewed!
Features List Includes:
I.P.O.C.S.(Initial Public Offering Clean Start) Technology
Enable/disable dark background for enhanced visibility
MTF adjustments/selections
Typical Schaff adjustments
"Display Trends" selection to show both trends or each one independently
"Line Width" adjustment for increased line visibility
Ranges and thresholds are enable/disable capable
Upper threshold adjustment
Lower threshold adjustment
Adjustable centered medial zone
This is not a freely available indicator, FYI. To witness my Pine poetry in action, properly negotiated requests for unlimited access, per indicator, may ONLY be obtained by direct contact with me using TV's "Private Chats" or by "Message" hidden in my member name above. The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. If you do have any questions or comments regarding this indicator, I will consider your inquiries, thoughts, and concepts presented below in the comments section, when time provides it. When my indicators achieve more prevalent use by TV members, I will implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Enhanced Instantaneous Cycle Period - Dr. John EhlersThis is my first public release of detector code entitled "Enhanced Instantaneous Cycle Period" for PSv4.0 I built many months ago. Be forewarned, this is not an indicator, this is a detector to be used by ADVANCED developers to build futuristic indicators in Pine. The origins of this script come from a document by Dr. John Ehlers entitled "SIGNAL ANALYSIS CONCEPTS". You may find this using the NSA's reverse search engine "goggles", as I call it. John Ehlers' MESA used this measurement to establish the data window for analysis for MESA Cycle computations. So... does any developer wish to emulate MESA Cycle now??
I decided to take instantaneous cycle period to another level of novel attainability in this public release of source code with the following methods, if you are curious how I ENHANCED it. Firstly I reduced the delay of accurate measurement from bar_index==0 by quite a few bars closer to IPO. Secondarily, I provided a limit of 6 for a minimum instantaneous cycle period. At bar_index==0, it would provide a period of 0 wrecking many algorithms from the start. I also increased the instantaneous cycle period's maximum value to 80 from 50, providing a window of 6-80 for the instantaneous cycle period value window limits. Thirdly, I replaced the internal EMA with another algorithm. It reduces the lag while extracting a floating point number, for algorithms that will accept that, compared to a sluggish ordinary EMA return. You will see the excessive EMA delay with adding plot(ema(ICP,7)) as it was originally designed. Lastly it's in one simple function for reusability in a nice little package comprising of less than 40 lines of code. I hope I explained that adequately enough and gave you the reader a glimpse of the "Power of Pine" combined with ingenuity.
Be forewarned again, that most of Pine's built-in functions will not accept a floating-point number or dynamic integers for the "length" of it's calculation. You will have to emulate the built-in functions by creating Pine based custom functions, and I assure you, this is very possible in many cases, but not all without array support. You may use int(ICP) to extract an integer from the smoothICP return variable, which may be favorable compared to the choppiness/ringing if ICP alone.
This is commonly what my dense intricate code looks like behind the veil. If you are wondering why there is barely any notation, that's because the notation is in the variable naming and this is intended primarily for ADVANCED developers too. It does contain lines of code that explore techniques in Pine that may be applicable in other Pine projects for those learning or wishing to excel with Pine.
Showcased in the chart below is my free to use "Enhanced Schaff Trend Cycle Indicator", having a common appeal to TV users frequently. If you do have any questions or comments regarding this indicator, I will consider your inquiries, thoughts, and ideas presented below in the comments section, when time provides it. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
NOTICE: Copy pasting bandits who may be having nefarious thoughts, DO NOT attempt this, because this may violate Tradingview's terms, conditions and/or house rules. "WE" are always watching the TV community vigilantly for mischievous behaviors and actions that exploit well intended authors for the purpose of increasing brownie points in reputation scores. Hiding behind a "protected" wall may not protect you from investigation and account penalization by TV staff. Be respectful, and don't just throw an ma() in there branding it as "your" gizmo. Fair enough? Alrighty then... I firmly believe in "innovating" future state-of-the-art indicators, and please contact me if you wish to do so.
Market Cycle & Scalping entry / exitCycle indicator is an oscillator commonly used to identify market trends and provide buy and sell signals to traders. The Cyle indicator is based on the assumption that currency trends accelerate and decelerate in cyclical patterns that may reflect the dominant price cycle of any stock, during any time frame. It works best on a 1 min chart for quick scalp plays.
Enhanced Autocorrelation Periodogram RasterChart - EhlersFirstly, this is NOT an indicator. It's an advanced cycle period detector for advanced developers OR scripts providing a "Period Source" they may have developed that can utilize this detector. Be forewarned! I would only recommend this for advanced developers, not novice. If you are up to the challenge of manually altering period adjustments on the daily chart of an indicator by hand in real time, you may still obtain this indicator after negotiating a proper request for access, but I will say this, it is NOT suitable for all indicators.
Understand all of the above aforementioned? Proceed...
For those of you wondering how I did it without Pine support for arrays, I had to emulate them, totaling over 600+ lines of code. This was a formidable task to achieve. This may be the hardest task I have ever accomplished, as of yet, in Pine.
Now, on to the Description...
This is my enhanced and heavily* modified version of Dr. John Ehlers' autocorellation periodogram for detecting dominant cycles(frequencies) in an asset using Pine Script version 4.0. The original concept comes from chapter 8 of his book "Cycle Analytics for Traders" and may also be found in TASC magazine in the September 2016 issue. I did heavily modify the original computations for the purpose of providing the "maximum" amount of adjustability there is to possibly offer, but left the original settings intact. I also provided an assortment of vibrant color changing techniques to choose from for anyone who may have vision impairments. This also displays that color scheming is VERY possible in Pine ...if only I could get "chart.theme" for auto-detection.
I once again would personally like to thank the talented individuals at TV for providing a platform that embraces an initial free membership, which I first obtained myself, for individuals like me to freely code in Pine with mathemagical ideas and mental wizardry, creating ultimately, inventions like this eye candy display above.
Features List Includes:
"Source" Selection
Color schemes (displayed above)
Transparency for the heat map to reduce or intensify color brightness ( Thank you TV! For this feature...)
The detected dominant cycle can be 'Sourced' by another specially** modified script providing an integer, float, or a rounded float.
Resolution enhancement has 3 settings
Smoother period control
Highpass period control
Pearson correlation period control
Minimal Power Threshold Tweak(Experimental***)
Adjustment for the smoothing coefficients of the Fourier Transforms(Experimental!)
This is not a freely available indicator, FYI. To witness my Pine poetry in action, properly negotiated requests for unlimited access, per indicator, may ONLY be obtained by direct contact with me using TV's "Private Chats" or by "Message" in my member name above. The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... If you do have any questions or comments regarding this indicator, I will consider your inquiries, thoughts, and ideas presented below in the comments section, when time provides it. As always, "Like" it if you simply just like it, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
* This has additional features/tweaks not included in the original.
** Many Pine built-in functions WILL NOT support the use of this detector if 'Sourced' to control a period setting. You have to totally rewrite those built-in Pine functions in Pine script. Yes, it is very possible! BUT ...in many cases, not all.
*** This "modification" reduces large spikes in the detected dominant cycle period with increased adjustment. Increasing this value may reduce dominant cycle spikes around 0.3-ish
Financial Freedom WaveRider - Cycling MulticatorIn the Spirit of '76 commemorating this day on July 4th, this is my second indicator released using Pine Script version 4.0, something I contributed to often in a small role, and will continue to do, in my free time. Without revealing my secret sauce , this indicator resembles what appears to look like multi Hilbert complex traces combined with Fourier transforms, but i assure you it uses neither technique of extrapolation. It's characteristics display tendencies portraying blatant cycles and strengths in an asset. Regarding the use of this script, the bright yellow line has a period of 4 and the longest adjustable period is 65.
My idea initially was, while there is great "one liner indicators" to use, I thought, why not multi-line "multicators" with little to adjust concerning dominant cycle fluctuations in the market. And voila, a random experiment, turned visually compelling similar to ocean waves. This was followed by adding some colorized banding later to add separation to the color, and I realized this looks like a flag rippling in the wind. Living in America, I then was determined to attain a replica of "Old Glory" in an actual multicator. It's embedded artwork, making it an articator too. Which is why I waited to release it appropriately on July 4th, a day of celebration of freedom, an empowering idea that has reached dessimenation world wide to so many other nations and peoples.
I would personally like to thank the talented individuals at TV for providing a platform that embraces an initial free membership, which I first obtained myself, for people like me to freely code in Pine with mathemagical ideas and mental wizardry, creating ultimately, inventions like this eye candy display above.
Features List Includes:
Enable/disable dark background for enhanced visibility
Longest period adjustment providing any adjustable period setting
A small adjustment tweak for the underlying linear regression
Minimalized enable/disable adjustment for the theme
This is not a freely available indicator, FYI. To witness my Pine poetry in action, properly negotiated requests for unlimited access, per indicator, may ONLY be obtained by direct contact with me using TV's "Private Chats" or by "Message" in my member name above. The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... If you do have any questions or comments regarding this indicator, I will consider your inquiries, thoughts, and ideas presented below in the comments section, when time provides it. As always, "Like" it if you like it, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Enhanced Commodity Channel Index(CCI) Cycle Indicator - MTFThis is a heavily modified and enhanced version of CCI Cycle and my first indicator released using Pine Script version 4.0, something I contributed to often in a small role, and will continue to do, in my free time. This indicator is highly reactive and does a magnificent job of identifying fluctuations in market cycles when they are not trending. Compared to my free "Enhanced Schaff Trend Cycle Indicator" presented above along side this indicator, CCI Cycle is superior in it's own way, but a superb companion for providing a more accurate signals analysis. I packed as much tech as I could into this indicator along with astounding color and agility, and I'm unsure if there is any room for major improvements in the near future.
Features List Includes:
I.P.O.C.S.(Initial Public Offering Clean Start) Technology - plotting from day one, minute one of IPO
Fully adjustable M.T.F. ( Multiple Time Frame ) is enable/disable capable
Enable/disable dark background for enhanced visibility
"Source" Selection
Multiple CCI Cycle adjustments
Moving average selection
Ranges and thresholds are enable/disable capable
Upper threshold adjustment
Red/green secondary range that adjusts +/- from the upper/lower thresholds
Lower threshold adjustment
Adjustable centered medial zone
Highlighting is enable/disable capable
Normalized zero mean to +/-1
This is not a freely available indicator, FYI. To witness my Pine poetry in action, properly negotiated requests for unlimited access, per indicator, may ONLY be obtained by direct contact with me using TV's "Private Chats" or by "Message" in my member name above. The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... If you do have any questions or comments regarding this indicator, I will consider your inquiries, thoughts, and ideas presented below in the comments section, when time provides it. As always, "Like" it if you like it, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Recursive DifferenciatorIntroduction
Cycles can be spotted by using a wide range of methods, most of them will involve bandpass filtering, here i will show a method using recursion with the change() function.
The Indicator
As i explained in other indicators using recursion i posted rescaling the input is important, i will use the rsi of an exponential moving average as input. alpha control the amount of output the indicator will use as input, values closer to 0.5 will use more input resulting in more periodic results.
Lowering alpha when length is higher can help get more periodic results.
Conclusion
I have showed a new cycle indicator using recursion. Recursion with oscillators can highlights cycles in price thus being easier to predict.
Thanks for reading !