Ehlers Decycler [CC]The Decycler was created by John Ehlers (Cycle Analytics For Traders pgs 40-41) and this is a moving average that has an extremely low lag even though it uses a fairly high length to calculate everything. This can also work well as a trendline. Buy when the indicator line is green and sell when it is red.
Let me know if there are other scripts you would like to see me publish or if you want something custom done!
Ehlers
Ehlers HighPass-LowPass Roofing Filter [CC]The HighPass-LowPass Roofing Filter was created by John Ehlers (Cycle Analytics For Traders pg78) and this is a variation of a roofing filter that will let you know which direction the stock is trending. If it falls below 0 then the stock is in a downtrend and if it rises above 0 then it is an uptrend. Buy when the indicator line is green and sell when it is red.
Let me know if there are other scripts you would like me to publish or if you want something custom done!
Ehlers Hilbert Oscillator [CC]The Hilbert Oscillator was created by John Ehlers (Rocket Science For Traders pgs 90-91) and just like the sinewave indicator that I published yesterday, this is also a leading indicator. The big difference between this indicator and the sinewave is that this indicator works very well for determining major turning points in the stock before they happen. You will notice that when the blue line crosses over the red line that a few bars from that point, the stock will start an uptrend and the reverse is true. I have also included immediate buy and sell signals over the 0 line so buy when the line is green and sell when it is red
Let me know if you would like to see any other scripts from me or if you want something custom done!
Ehlers Sinewave Indicator [CC]The Sinewave Indicator was created by John Ehlers (Rocket Science For Traders pgs 97-99) and this is a few indicators in one. Simply put it is a leading indicator which you don't see too many of those these days. If the blue line crosses over the red line then within the next few bars the price will start an uptrend and if the blue line crosses below the red line then in the next few bars it will start a downtrend. I have also included an immediate buy and sell signal on the 0 line which is green when you should buy and red when you should sell.
Let me know if you would like to see any other scripts or if you want something custom done!
Ehlers Even Better Sinewave Indicator [CC]The Even Better Sinewave Indicator was created by John Ehlers (Cycle Analytics For Traders pgs 161-162) and this indicator works well when the stock is in a trend mode. It will let you know how long to stay with a trade and it works best with a trend confirmation but it can also work on it's own fairly well. Buy when the indicator line is green and sell when it is red.
Let me know if there are other scripts you would like me to do or if you want something custom done!
Ehlers Fisher Stochastic Center Of Gravity [CC]The Fisher Stochastic Center Of Gravity Indicator was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 95) and this is a combo cycle indicator mixed with a stochastic indicator. The idea is to capture the beginning of the cycle and ride it until the end. Buy when the indicator line is green and sell when it turns red.
This was a custom request so let me know if you would like to see me publish any other scripts or if you want something custom done!
Ehlers 3 Pole Butterworth Filter [CC]The 3 Pole Butterworth Filter was created by John Ehlers (Cycle Analytics For Traders pg 32) and this is a nice filter that follows the price very closely. Buy when the indicator is green and sell when it turns red.
This was a custom request so let me know if you would like me to publish any other scripts or if you want something custom done!
Ehlers Fisher Transform Indicator [CC]The Fisher Transform Indicator was created by John Ehlers and the beauty of this indicator is that it provides sharp and clear turning points that are also very early. Buy when the indicator line is green and sell when it is red.
This was a special request so let me know if you would like me to publish other scripts or if you want something custom done!
Ehlers Market State Indicator [CC]The Market State 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 the market state which acts as a trend direction and tells you whether the trend is strong in either direction. Keep in mind that when the indicator rapidly switches then the market is choppy and when it is a steady line then it is a very strong trend. Essentially buy when the indicator line 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 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.
Ehlers Restoring Pull Indicator [CC]The Restoring Pull Indicator was created by John Ehlers (Stocks & Commodities V.11:10 (395-400)) and this was one of his earliest indicators that functions as a momentum indicator . Buy when the indicator line is green and sell when it is red.
Let me know if you would like to see me publish more 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 Swiss Army Knife Indicator [CC]The Swiss Army Knife Indicator was created by John Ehlers (Stocks & Commodities V. 24:1 (28-31, 50-53)) and it is 9 different filters in one big mega indicator! This is my first attempt at allowing you all to select different timeframes, to choose if you allow repainting or not, or by letting you choose which indicator you want to see on the chart. I know this may cause problems so feel free to send me a pm if you are stuck or if you have any questions!
This was a custom request so please let me know if you want to see me publish any 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 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!
Ehlers Correlation Angle IndicatorThe Correlation Angle Indicator was created by John Ehlers (Stocks & Commodities V. 38:06 (8–15)) and this is technically three indicators in one so I'm splitting each one to a separate script. This particular indicator was designed for trend termination and simply buy when it is green and sell when it turns red.
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!
[LunaOwl] Center of Gravity作品: 艾勒斯重心點 (Center of Gravity, CG)
Center of Gravity was developed by John Ehlers in 2002. The main purpose of the Center of Gravity indicator is to find possible reversal points as early as possible. Indicator has two series, the first is the CoG series, and the second is the signal line calculated by the five-period smoothed moving average. Cross representative indication of the direction. I coded this indicator according to the description of MT4, a little work.
重心點(Center of Gravity)是由約翰.艾勒斯在2002年開發的,這個指標的主要用途是儘早發現可能的反轉點。它有兩個部份,一個是重心點指標線,另一個是經過五期平滑移動平均線平滑過的信號線,它們的交叉結果代表方向。我按照MT4的說明編寫了這個小作品。
powerful moving average crossoverThis script is a simplified version of John Ehlers's adaption of Dr. Kalman's optimum estimator as applied to price action (More can be found on this here: www.dimensionetrading.com). Here I have adapted two of these optimum estimators to work together to provide crossover signals. The user can choose the input of this filter in the 'input source'. The 'Ratio of Uncertainties' controls how adaptive the moving averages are, increasing this number will increase adaptivity and vice versa for decreasing. The 'Kalman Gain' allows the user to choose how much error to let into the calculation. The smaller this number is the quicker the moving average will approach price action.
In practice this indicator is much smoother than most other moving averages and has significantly less whiplash while still getting very early entries. If anyone wants to adapt this script for their own uses please feel free. Message me what you make with it, I am very curious what this can do when in the right hands!
Happy trading!
Ehlers Discrete Fourier TransformThe Discrete Fourier Transform Indicator was written by John Ehlers and more details can be found at www.mesasoftware.com
I have color coded everything as follows: blue line is the dominant cycle, orange line is the power converted to decibels, and I have marked the other line as red if you should sell or green if you should buy
Let me know if you would like to see me write any other scripts!
Correlation Trend Indicator - Dr. John EhlersHot off the press, I present this "Correlation Trend Indicator" employing PSv4.0, originally formulated by Dr . John Ehlers for TASC - May 2020 Traders Tips. John Ehlers might describe it's characteristics as being a mean reverting trend identification oscillator range bound to +/-1.0 irregardless of any timeframe or asset. I could have finessed this indicator with all kinds of bells and whistles, but I wanted to keep it simple and handy enough for novice Pine programmers or Tradingview newcomers to use. This algorithm, in a slightly modified form, is actually a small portion of the base code for John Ehlers' highly complex Autocorrelation Periodogram and his Convolution SwamiChart.
Some members may have notice that I published a very similar script last month. That is correct. It's sole intention was completely different, having more diverse versatility and complexity, but with slightly reduced computational performance. While they seem eerily similar, they are genetically different. This function only has only one required "series" parameter and the correlation is calculated using the period, not bar_index. Correlating with bar_index or period yields identical results either way. Bottom line, this indicator is elegantly simplistic, yet highly utilitarian and easy to use.
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND a few 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!
Ehlers Correlation Trend Indicator CTI by Cryptorhythms [CR]Ehlers Correlation Trend Indicator CTI by Cryptorhythms
📜Intro
In his article “Correlation As A Trend Indicator” in issue May 2020 of TASC, author John Ehlers introduces a new trend indicator that is based on the correlation between a security’s price history and the ideal trend: a straight line. He describes methods for using the indicator to not only identify the onset of new trends but to identify trend failures as well. He presents what looks like a simple and elegant idea for a trend-detection and mode-switching indicator.
📋Comments
Careful market selection may be the key to a correct application of the indicator. Even such barebone rules could shine with stocks like AAPL that tend to develop prolonged trends. But for others like CAT, which can keep oscillating in ranges for years, results will be much less impressive. They require a different approach. For example, you would want to buy when Correlation Trend falls significantly below zero and sell when it reaches positive values.
Therefore, it would be an interesting problem to research Correlation Trend’s ability to identify the switch to a cycle mode. That might help develop countertrend systems and
trade pullbacks. Another possible application might be to act as a system filter of change from trending mode to mean-reversion mode.
Extras
As usual when porting indicators to the library here on tradingview, I like to add some extra flare!
💠Customizable Overbought and Oversold Zones for Alert Creation
💠Bar coloration based on trade state for easy visual at a glance chart checking
💠Some basic example Entry and Exit conditions and a simple Trade State Engine to get you going creating your own strategy
Enjoy!
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 81st script on Tradingview!
Phase CalculationPhase Calculation was authored by John F. Elders in the Stocks and Commodities Magazine 11/1996
This indicator will tell you if the stock is in a uptrend or downtrend. A phase number with a low number means it is in a uptrend and a phase number with a high number means it is in a downtrend.
Let me know if you want to see me write code for different indicators!
Laguerre RSILaguerre RSI is based on John EHLERS' Laguerre Filter to avoid the noise of RSI.
Change alpha coefficient to increase/decrease lag and smoothness.
Buy when Laguerre RSI crosses upwards above 20.
Sell when Laguerre RSI crosses down below 80.
While indicator runs flat above 80 level, it means that an uptrend is strong.
While indicator runs flat below 20 level, it means that a downtrend is strong.
Developer: John EHLERS
Author: KivancOzbilgic