Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 919 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
DominantPeriod vs. HTDcPeriod #429045
09/07/13 19:20
09/07/13 19:20
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi. The manual re. HTDcPeriod says

Code:
HTDcPeriod(var* Data): var
Hilbert Transform - Dominant Cycle Period, developed by John Ehlers (see links). This function is less accurate than the DominantPeriod function.



without any description of why DominantPeriod is more accurate. They give obviously different results, but what makes DominantPeriod better?

Also, there is no DominantPhase as there is an HTDcPhase, etc. Do these not make sense for DominantPeriod?

Thanks.

Re: DominantPeriod vs. HTDcPeriod [Re: DdlV] #429073
09/08/13 17:10
09/08/13 17:10
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, we could certainly implement a DominantPhase if required. We just hadn't needed it so far. The DominantPeriod is more accurate because it filters noise spikes better.

Re: DominantPeriod vs. HTDcPeriod [Re: jcl] #429886
09/19/13 21:14
09/19/13 21:14
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Yes, please add DominantPhase to the list. In the meantime, could you post the code so I could implement it temporarily on my own?

Similarly, is SpectrumPhase a possibility?

Does Spectrum have ~10 bar lag like DominantPeriod?

Thanks.

Re: DominantPeriod vs. HTDcPeriod [Re: DdlV] #429893
09/20/13 08:19
09/20/13 08:19
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I can not post the code as it belongs to the licensed part of the software, but I've added DominantPhase to the list. A SpectrumPhase is not possible because the spectrum algorithm does not deliver a phase. The Spectrum lag is frequency dependent and in the same range as the DominantPeriod lag.

Re: DominantPeriod vs. HTDcPeriod [Re: jcl] #429902
09/20/13 11:13
09/20/13 11:13
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks jcl.

Can the Spectrum code be posted or is it also in the licensed part of the software?

Thanks.

Re: DominantPeriod vs. HTDcPeriod [Re: DdlV] #430093
09/23/13 20:46
09/23/13 20:46
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Also, do I understand correctly from your post above that a Spectrum curve is best used in aggregate form over some time period (like the example of an entire month)? Using Spectrum on a particular bar would be a problem as each frequency in the Spectrum will be a little "off" - shifted by increasing lag - and possibly thereby misleading? I.e., different Spectrum TimePeriods will actually refer to different parts of the price curve?

Thanks.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1