Gamestudio Links
Zorro Links
Newest Posts
Please consider
by DriftWood
Today at 03:10
Draw stuff from other thread
by Superku
Yesterday at 23:25
Partial fills with MT4 in live trading?
by Sphin
Yesterday at 19:06
New Zorro version 1.83
by DdlV
Yesterday at 13:55
Cubemaps losing mipmaps
by Quad
Yesterday at 12:37
Zorro & virtual desktops & Installation
by jcl
Yesterday at 10:59
ccyStrength() only working for some Currencies
by sdh309795gaas
07/18/18 05:02
AUM Magazine
Latest Screens
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
RPG PARTY
Who's Online
14 registered (brax, 3run, Quad, Hredot, kvm, mk_1, alibaba, jenGs, 3 invisible), 514 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
DJ_Algo, tang, stuvwx210277, refltr, hillab
18002 Registered Users
Topic Options
Rate This Topic
#471535 - 03/07/18 23:13 Delta in Bandpass filter
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
Hello,

I have a question about the Delta in the Bandpass filter. What does it mean?
Manual says:
Quote:
The Delta value (0..1) gives the width of the filter curve.

The Black Book says:
Quote:
This bandpass filter has a center period of 30 bars and a width of 0.5 (the width determines the frequency range that can pass the filter).


But it's quite general definition and still it’s not clear…
I found John Ehlers' paper with a bandpass filter description: https://www.mesasoftware.com/papers/EmpiricalModeDecomposition.pdf

He writes the following about the bandpass filter with period 20 and delta=0.1:
Quote:
The input variable delta is the approximate half-bandwidth of the filter. For the default settings with delta = 0.1, the filter will pass periods centered at 20 bars +/- 2 bars. In other words, the filter passes cycle components ranging between 18 and 22 bar periods while attenuating frequencies above and below this range.


Does Delta that is used in Zorro's BandPass have the same meaning? Is it a half-bandwidth of the filter? I think it will be useful to add this clarification to the manual if it's correct.

P.s. Ehlers' bandpass filter code in EasyLanguage can be found in the above-mentioned paper.

Top
#471669 - 03/13/18 18:19 Re: Delta in Bandpass filter [Re: kujo]
jcl Offline

Chief Engineer

Registered: 07/22/00
Posts: 26397
Loc: Frankfurt
It has not the same meaning. We'll get some info about it and will then put it in the manual.

Top
#471702 - 03/15/18 20:06 Re: Delta in Bandpass filter [Re: jcl]
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
Quote:

The Delta value (0.05 .. 1) determines the filter width; at Delta = 0.1, cycles outside a 30% range centered at TimePeriod are attenuated with > 3 db.

This is definitely better then nothing. However, it's still not clear how delta affects the results. What will be the % range and attenuation strength with Delta=0.3 or 0.5 and so on. It's difficult and risky to use the filter if you don't understand it. Right?

Please, consider 2 ideas:

  • Add comprehensive description of Delta.
  • Code an original Ehlers' bandpass filter. The link to a pseudo code can be found in my first post. I believe it would be useful not only for me.


JCL, what do you think?

Top
#471911 - 03/25/18 15:52 Re: Delta in Bandpass filter [Re: kujo]
kujo Offline
Member

Registered: 12/03/17
Posts: 129
Loc: Halifax, NS
JCL, I'd appreciate your comments on these suggestions.

Top
#471922 - 03/26/18 16:06 Re: Delta in Bandpass filter [Re: kujo]
jcl Offline

Chief Engineer

Registered: 07/22/00
Posts: 26397
Loc: Frankfurt
Another bandpass filter is not planned, but if you need one, just do it. Ehler's code is normally good to read and easy to convert.

Top



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

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