Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (flink, AndrewAMD), 656 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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