ImmortalFreedom

Enhanced Autocorrelation Periodogram RasterChart - Ehlers

ImmortalFreedom Wizard アップデート済   
Firstly, 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
リリースノート:
Added "title=DomCycle" to the dominant cycle plot for ease of finding EAPR: DomCycle when using sourceDC = max(2, min(100, input(close, "Dominant Cycle Source", input.source"))) to tether a separate custom indicator dynamically to this detector. CCI may use the dominant cycle integer as is, but most other functions/indicators may use sourceDC * 0.5 . MACD may use {sourceDC * 0.5, sourceDC} replacing {12, 26}. Being the period is approximately half of the dominant cycle, the period/length of a calculation is usually around half of the sourceDC+/- to provide an optimal tweaked setting. So, effectively you may use (sourceDC * 0.5) + offsetPeriod if offsetPeriod is defined as such: offsetPeriod = input(0, "Period Offset", input.integer) . Within the custom functions using DomCycle as a float, you may have to use int() especially when encountering a for loop. I hope I explained that properly...
リリースノート:
Color Improvements
Refactored/optimized code improving efficiency
Added additional smoothing algorithm for the Fourier transforms
Cleaned up Settings
招待専用スクリプト

このスクリプトへのアクセスは作者が許可したユーザーに制限されており、通常はお支払いが必要です。お気に入りに追加することはできますが、許可を申請して作者が許可した後でなければ使用することはできません。 詳細については ImmortalFreedom にお問い合わせいただくか、以下の作者の指示に従ってください。

TradingViewは、スクリプトの作者を100%信頼して、スクリプトの動作を理解しているといった場合でない限りは、代金を支払って利用される事をお勧めしません。多くのケースでは、コミュニティスクリプトでオープンソースの優れた代替スクリプトを無料で見つける事ができます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?

注: アクセス権をリクエストされる前にご覧ください