Forex



Go Back   Forex Trading > Trading systems > Digital Filters
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #501 (permalink)  
Old 03-06-2009, 06:16 AM
Member
 
Join Date: Feb 2009
Posts: 58
richcap is on a distinguished road
Quote:
Originally Posted by fajst_k View Post
Hi,

Great that you test the pieces of the puzzle. Than look how CSSA performed
on CHIRP clean signal and with noise

T2W Day Trading & Forex Forums
post 202

and this

T2W Day Trading & Forex Forums
post 217

Initally get a bit crazy but NOXA managed to clean 'crazy trades'. That's very good performance as this signal has no spectrum.
Quite impressive

Quote:
I can generate CHIRP with noise for you also to check reactions but you can also check on stationary files with noise - GOLD5 i think.
I will do it asap,
bye
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #502 (permalink)  
Old 03-06-2009, 11:22 AM
clahn04's Avatar
Senior Member
 
Join Date: Oct 2007
Location: United States
Posts: 158
clahn04 is on a distinguished road
Quote:
Originally Posted by richcap View Post
Hi clahn,
I have built adaptive FATL,SATL,FTLM,STLM,PCCI and RBCI.
You can set the amount of bars after which they are adapted to the new spectrum and, of course, all the parameters you can see in R-MESA-Cutoff_frequency indicator I have posted (which is used in each of the above).

The main problem (apart from finding the right settings for MESA analysis) is that as you change the filter, you have a discontinuity in the filtered signal.

So I have included an option to "join" the old and the new filtered signal if someone wants to trade with the slope of indicators.
That sounds interesting. Where is this indiator located?

cl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #503 (permalink)  
Old 03-06-2009, 11:52 AM
ooandajb's Avatar
Member
 
Join Date: Dec 2008
Posts: 55
ooandajb is an unknown quantity at this point
Benefit of using such strategies based on digital filters is a possibility to make the most of profit by opening and closing positions more than a few times in case of continuance of flat. The basic shortcoming is that the breakout of lines of the channel can lead to substantial and baseless losses.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #504 (permalink)  
Old 03-06-2009, 11:55 PM
Member
 
Join Date: Feb 2009
Posts: 58
richcap is on a distinguished road
Here are my considerations about the tests signal given by Krzysztof.

GOLD1 - gaussian noise: MESA finds fake peaks. That's the nature of MESA. It always finds something to call spectrum peak. But if you add a sinusoidal signal of amplitude of the same order of the amplitude of the signal, then you have that all the fake poles fade away and only the true one remains. So you realize that that they where all fakes. It should not be difficult to program the analyzer to do that test.

GOLD15 - 2 sinusoids. It catches both in 200, 400 and 580 window length. If you put more than 580-585 it has problems. It must be some issue with the series being only 599 values. Always take care that you are not analyzing the end points.

GOLD5 - 2 sinusoids plus noise. Well, it is a lot of noise, but the analyzer correctly got the two frequencies as the main peaks of the spectrum, although there are other minor fake peaks (see first picture)
Things get slightly better when you apply noise reduction filters (especially kalman, median filter and FIR). Then other peaks lower a bit (but not that much)
Here is the spectrum with a pre-processing (digital filter with P1=18, D1=9) (see second pic)
Attached Images
File Type: gif gold5a.gif (69.1 KB, 611 views)
File Type: gif gold5.gif (79.5 KB, 609 views)

Last edited by richcap; 03-07-2009 at 01:07 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #505 (permalink)  
Old 03-07-2009, 12:15 AM
Member
 
Join Date: Feb 2009
Posts: 58
richcap is on a distinguished road
Quote:
Originally Posted by clahn04 View Post
That sounds interesting. Where is this indiator located?

cl
I have not published it yet, sorry :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #506 (permalink)  
Old 03-07-2009, 01:25 AM
clahn04's Avatar
Senior Member
 
Join Date: Oct 2007
Location: United States
Posts: 158
clahn04 is on a distinguished road
Quote:
Originally Posted by richcap View Post
I have not published it yet, sorry :-)
lol quite alright....i thought it was in some post that i missed....

cl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #507 (permalink)  
Old 03-07-2009, 08:56 AM
Senior Member
 
Join Date: Oct 2008
Posts: 179
fajst_k is on a distinguished road
GOLD5 and noisy chirps

Quote:
Originally Posted by richcap View Post
Here are my considerations about the tests signal given by Krzysztof.

GOLD1 - gaussian noise: MESA finds fake peaks. That's the nature of MESA. It always finds something to call spectrum peak. But if you add a sinusoidal signal of amplitude of the same order of the amplitude of the signal, then you have that all the fake poles fade away and only the true one remains. So you realize that that they where all fakes. It should not be difficult to program the analyzer to do that test.

GOLD15 - 2 sinusoids. It catches both in 200, 400 and 580 window length. If you put more than 580-585 it has problems. It must be some issue with the series being only 599 values. Always take care that you are not analyzing the end points.

GOLD5 - 2 sinusoids plus noise. Well, it is a lot of noise, but the analyzer correctly got the two frequencies as the main peaks of the spectrum, although there are other minor fake peaks (see first picture)
Things get slightly better when you apply noise reduction filters (especially kalman, median filter and FIR). Then other peaks lower a bit (but not that much)
Here is the spectrum with a pre-processing (digital filter with D1=18, P1=9) (see second pic)
Hi

NOXA also made tests on GOLD5 so have a look for comparision

T2W Day Trading & Forex Forums

post 115

I attach 5 noisy chirps signal, underlying chirp is the same there. 3 i made myself they are with maks noise amplitude of 1,4 and 9 and two I extracted from NOXA charts. So you can make direct comparision with your MESA

Anyway, I think your MESA is working now so question is how to proceed.
Because if you want to choose P1 and D1 manually than this will work as long
as market conditions will not change so like CSSA. If automatically than there
is a problem how to sort and filter subcycles. For CSSA you are doing this manually using show eigenvector tool than Genetic Optimizer chooses the most profitable group of subcycles.

So what is your idea now ?? IS this adaptive FATL,SATL,FTLM,STLM,PCCI and RBCI way forward ??

Krzysztof
Attached Files
File Type: rar noisy_chirps.rar (193.5 KB, 75 views)

Last edited by fajst_k; 03-07-2009 at 08:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #508 (permalink)  
Old 03-07-2009, 11:43 AM
ooandajb's Avatar
Member
 
Join Date: Dec 2008
Posts: 55
ooandajb is an unknown quantity at this point
If you never trade with the trading strategies based on Digital filters then I have a good method for you..
just Replace your current indicators with the digital filters and see the difference, It will be more profitable...

Happy Trading
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #509 (permalink)  
Old 03-07-2009, 02:04 PM
Member
 
Join Date: Feb 2009
Posts: 58
richcap is on a distinguished road
Quote:
Originally Posted by fajst_k View Post
Hi

NOXA also made tests on GOLD5 so have a look for comparision

T2W Day Trading & Forex Forums

post 115
100% of winners is OK
I like the approach of noxa guys. From what I understand they have a singular spectrum analisys + neural network to fill the missing data from the last unchanging bar of SSA to the current bar, so that it does not repaint.
I think it is a sound approach, I would like to peek into it one of these days .
That said, I can see that CSSA-cycles is close to the real signal, but I could get it also with an FFT + frequency domain filtration + IFFT (see pictures), if I knew I had two dominant cycles plus noise (there are other issues with FFT, look at Meyer's EPFFT, but I just want to point out that its always easy do to the right thing... after you know)

Quote:
I attach 5 noisy chirps signal, underlying chirp is the same there. 3 i made myself they are with maks noise amplitude of 1,4 and 9 and two I extracted from NOXA charts. So you can make direct comparision with your MESA

Anyway, I think your MESA is working now so question is how to proceed.
Because if you want to choose P1 and D1 manually than this will work as long
as market conditions will not change so like CSSA. If automatically than there
is a problem how to sort and filter subcycles. For CSSA you are doing this manually using show eigenvector tool than Genetic Optimizer chooses the most profitable group of subcycles.

So what is your idea now ?? IS this adaptive FATL,SATL,FTLM,STLM,PCCI and RBCI way forward ??

Krzysztof
I will take a look at the chirp signal you posted, too.
Anyway, the idea was to pick P1 and D1 automatically (you can already do it with the MESA_cutoff_frequency indicator I posted) and use the ACTF methodology to make effective trend trading.
In that, I believe clahn can help (be patient clahn, I will post the indicators asap ) because he knows ACTF better than me.

The trading philosohy of CSSA (and, indipendently, Neuroshell), though, is very different from that of ACTF. I would like to get deeper into it, later.
Attached Images
File Type: jpg gold5b_cr.jpg (43.1 KB, 605 views)
File Type: jpg gold5c_cr.jpg (43.4 KB, 598 views)

Last edited by richcap; 03-07-2009 at 02:15 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #510 (permalink)  
Old 03-07-2009, 10:16 PM
Member
 
Join Date: Feb 2009
Posts: 58
richcap is on a distinguished road
Lastly, I have done a few tests with MESA and detrending.
Like for denoising, it depends mostly on what you define as "trend".
I have followed Codebreaker's suggestion to use a non-causal filter. As I don't have SSA at hand, I have used the same trick as in the previous post. I have filtered the signal in the frequency domain with the good old FFT of mine (see second and third pic, the yellow line is the "trendline" with different settings for the filter, all frequencies above a threshold are cut).
I have then subtracted the filtered signal from the signal (thus obtaining a non-causal hi-pass filter) .
It turns out that in the obseverved band the mesa spectrum is nearly invariant respect to the detrending.
Attached Images
File Type: gif detrend1.gif (42.7 KB, 544 views)
File Type: gif detrend2.gif (44.1 KB, 537 views)
File Type: gif detrend3.gif (43.7 KB, 528 views)

Last edited by richcap; 03-08-2009 at 07:31 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
trading, goertzel, digital, digital filter, Digital Filters, ssa mq4, SSA.mq4, goertzel_cycle, entropy, hurst, fajst_k


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Filters (basic explanation) newdigital Digital Filters 42 07-20-2009 04:57 AM
digital filters newdigital Indicators - Metatrader 3 3 12-07-2005 08:18 AM
Digital filters newdigital Documentation 4 12-02-2005 07:04 PM


All times are GMT. The time now is 02:39 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.