Attachments forums

List of attachments posted on this forum.


All files on forums: 135471

Re: Homodyne Discriminator

nathanvbasko, Thu Nov 14, 2019 10:28 am

nathanvbasko wrote: Tue Nov 12, 2019 2:49 am ...
...
As explained by John Ehlers:

Homodyne Discriminator exhibits superior performance in a low signal-to-noise environment.
Homodyne means I use the signal multiplied by itself one bar ago to produce a zero-frequency beat note. This beat note carries the phase angle of the one-bar change. Still using the basic definition of a cycle, the one-bar rate of change of phase is exactly the cycle period.

-- John F. Ehlers


I found this code (not an easy language) wherein it uses the linear weighted price. Not sure if it solved the said issues.
please find the attached
...
...
Period of Dominant Cycle
─ Based on Homodyne Discriminator by John F. Ehlers
─ Using JMA filter/smoothness
─ Using HA-APB price close
─ Doesn't need to load all the bars (as an option), and it doesn't recalculate all the bars on every tick
 
Homodyne means we are multiplying the signal by itself. To be more precise, we want to multiply the signal of the current bar with the complex conjugate of the signal 1 bar ago.  
 
NOTE: This indicator does not generate BUY / SELL signals. It is used to find the cycle period that can be used as inputs to other indicators. For example, if the current value of the indicator is 32, then it means that the current cycle period of the price is 32 bars, and this value can be used to calculated period based indicators like RSI, ADX, CCI, ATR, etc. Since this indicator value changes, we calculate our indicators like RSI dynamically (32-bar), etc instead of a fixed RSI period. 
 
This screenshot below shows some indicators that use the value of the dominant cycle period. This is just an example of a trading system or a tool that uses the Dominant Cycle Period. ─an upcoming version of the v2v dynamic trading system, but without the cycle period line showing up on the chart sub-window. 
All files in topic