Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Delta in Bandpass filter #471535
03/07/18 22:13
03/07/18 22:13
Joined: Dec 2017
Posts: 129
Halifax, NS
K
kujo Offline OP
Member
kujo  Offline OP
Member
K

Joined: Dec 2017
Posts: 129
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.

Re: Delta in Bandpass filter [Re: kujo] #471669
03/13/18 17:19
03/13/18 17:19
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
It has not the same meaning. We'll get some info about it and will then put it in the manual.

Re: Delta in Bandpass filter [Re: jcl] #471702
03/15/18 19:06
03/15/18 19:06
Joined: Dec 2017
Posts: 129
Halifax, NS
K
kujo Offline OP
Member
kujo  Offline OP
Member
K

Joined: Dec 2017
Posts: 129
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?

Re: Delta in Bandpass filter [Re: kujo] #471911
03/25/18 13:52
03/25/18 13:52
Joined: Dec 2017
Posts: 129
Halifax, NS
K
kujo Offline OP
Member
kujo  Offline OP
Member
K

Joined: Dec 2017
Posts: 129
Halifax, NS
JCL, I'd appreciate your comments on these suggestions.

Re: Delta in Bandpass filter [Re: kujo] #471922
03/26/18 14:06
03/26/18 14:06
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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


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