Gamestudio Links
Zorro Links
Newest Posts
file_write var array ?
by laz. 10/22/19 16:00
SAV_STATS
by MatPed. 10/22/19 13:57
Instrument Price Zorro Chart
by jcl. 10/22/19 10:39
Accessing All Historical Price Data
by jcl. 10/22/19 10:37
Calculating with price series
by AndrewAMD. 10/21/19 14:31
Error E355: Startup failure
by Dooley. 10/21/19 06:47
Today real live account blown - my experience
by Clifford_B. 10/19/19 17:09
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
14 registered members (JamesHH, AndrewAMD, alibaba, jenGs, FLD, jyd, MatPed, Dalla, 3 invisible), 672 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VillageTalkies, line7, Shutch, Clifford_B, Paulius
18310 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,033
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

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


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