Go Back   Forex-TSD > Discussion Areas > General Discussion
Forex Forum Register More recent 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

View Poll Results: Your Market Beliefs
Random 11 24.44%
Systematic 10 22.22%
Both 24 53.33%
Voters: 45. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #91 (permalink)  
Old 11-08-2008, 11:05 PM
Senior Member
 
Join Date: Mar 2007
Posts: 189
lodol2 is on a distinguished road
cointegration

thx kenny

here what i found on the net

unit root

Unit root - Wikipedia, the free encyclopedia


and fuller test excel sheet

Augmented Dickey Fuller Test in VBA [Excel VBA]

myebe its of use

regards

lodol

Last edited by lodol2; 11-08-2008 at 11:18 PM. Reason: forgot
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
  #92 (permalink)  
Old 11-08-2008, 11:13 PM
SIMBA's Avatar
Senior Member
 
Join Date: May 2006
Posts: 1,480
SIMBA is on a distinguished road
Quote:
Originally Posted by lodol2 View Post
Hello Simba and all

very impressive analysis Simba like always

I study the codebreaker thread from the beginning

very intersting stuff but of no use for an non programmer...

the only thing where i get cought was this idea of cointegration

here is a link of explanation

Cointegration is not the same as correlation

So i tried to make contact to codebreaker to help to find out a method how I can do a test to find two cointegrated pairs:

hi codebreaker

but its to complicate to figure this out for me.
i would need a step by step answer what to do to perform this cointegration fuller test.
i dont want to steal your time. so maybe you can say to me which pairs you testet with this fuller test and give me some advice which pairs i should try to trade?
i think it depends also on the time frame which you trade or?
some currency pairs cointegrate on 60 h timeframe but not on daily. Or Im wrong.
which excel sheet i need and how to do it
or let me know which pairs you know which are conintegrated ?

his answer ?

Hi

Cointegration is not easy to prove but not difficult either. Two time series are cointegrated if a LINEARLY WEIGHTED COMBINATION of them is STATIONARY. Individually, financial time series CANNOT be stationary due to the presence of TRENDS. (Actually, this brings us on to the most interesting part - how do you identify a trend?)

So start with your two currencies. You can do a Dickey-Fuller test on each (not hard in Excell - see previous posts) to prove to yourself that they are non-stationary. Then run various linear combinations. There are various methods but trial and error is easy on a computer. If you use 1% increments, e.g. 99%A + 1%B, 98%A +2%B, 97%A + 3%B etc you will only need 100 tests. At each combination, do a Dickey-Fuller test and test for the presence of a unit root.

IF you find a co-integrated pair you are very lucky and can exploit this for all it's worth! Wait until the pair wander apart then go long one and short the other. MAKE SURE THE HEDGE RATIO IS CORRECT!! If you do this right, you cannot really lose and long-term they will re-converge and you will gain on both the long and short leg.

This was how I bought my new car a couple of months ago.



Just test all pairs! There are only n.(n-1) of them so it won't take long. You can find the Dickey-Fuller test on the Web. I cannot spoon-feed you!! You must do the work yourself. Making money in trading is VERY HARD WORK!! You are right that the timeframe is important. That is why some charts work better than others in trading!

Cb

So this is great answer but not practicable for me, beause i have no idea of programming and math.

So if anayone has experience with this fuller test oder cointegration please inform us.

one other discussion is here

Cointegration of currency pairs - Page 2


thanks

LODOL2
Lodol2,

Thanks for the post,yes ,cointegration is an interesting issue..

Regarding the Dickey-Fuller test ,I remember that both clahn and myself ended up being able to do it and posted our results on the thread,and the way we did,you should be able to repeat our steps and do so...and yes,CB sometimes borders on secret society methods when explaining trough hints...

BTW...Did you notice that what CB suggests..with 2 pairs..you can do with 3,4 or 5 pairs?...You can find a cointegrated basket(like Aleksey does) of 3,4,5 pairs,and you will probably reduce your risk level and the volatility of your returns.

Regards
Simba
__________________
Equo ne credite,Teucri.
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
  #93 (permalink)  
Old 11-08-2008, 11:17 PM
SIMBA's Avatar
Senior Member
 
Join Date: May 2006
Posts: 1,480
SIMBA is on a distinguished road
Quote:
Originally Posted by Kenny Rogers View Post
Simba, very impressive analysis.

BTW, I use 3rd party statistical software as well. Just finished a week training on the use of the software which is used in cutting edge medical applications. It is amazing the type of distribution curve in today's software. Most of which I have no idea what is being done to make the curve fit, but as long as the professor and designer of the software is up to date with the latest educational releases, it's no problem for me.
Hi Kenny(aka jbfx )

Thanks for the kind comments and the info about the software....3 questions...

1-Are the markets random or not?

2-In case they are not...are they predictable?

3-What is the name of the software you use?...

Regards
Simba
__________________
Equo ne credite,Teucri.
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
  #94 (permalink)  
Old 11-09-2008, 05:44 AM
Kenny Rogers's Avatar
Senior Member
 
Join Date: Oct 2008
Posts: 718
Kenny Rogers is on a distinguished road
Simba,

1) It's all relative. I would say no.
2) Again, it's all relative. I'm not in the business of prediction.
3) It's a program called Statgraphics, I just got introduced to it a month ago.

There are many statistical software packages that may be more comprehensive that this, but this program is solid and very user friendly. A non-hardcore statistician like me can get the hang of it. I love how it has like 20+ distribution curves to select from, and lots of transformations available. Check it out. The training is also very good, the professor is the designer and trainer for the seminar.
__________________
Life is a Gamble. You win some. You lose some. And life goes on.
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
  #95 (permalink)  
Old 11-09-2008, 06:33 AM
zin6776's Avatar
Junior Member
 
Join Date: Oct 2008
Location: Charleston SC
Posts: 22
zin6776 is on a distinguished road
Fractal in Nature

My research concludes for now that the current viewable universe is fractal in nature. Unending and infinite resolution. (See "Benoit Mandelbrot")

There is always a glitch in the matrix to exploit. The glitch itself is part of the fractal properties that paints the canvas for our senses to wonder.

Keep in mind... just as soon as too many start to see and predict the patterns... the patterns react and become unpredictable.

The observer creates by viewing.(See "What the Bleep", What the Bleep Do We Know!? & What the Bleep!? - Down the Rabbit Hole)

It is a secret law of the creator to never have the creation become bored.
Boredom is hell, stagnate, and unhappy.

The best we can do is is surf.

Try to position ourself for the best wave... but as soon as matrix code is cracked...low tide.... no more waves..

We can etch out a profit during this time... but with the weight of observance... it will all have to change soon.

In our short life span, we usually will not see these patterns but as I said... there are glitches...

This gives the illusion of a never ending, ever-changing fractal pattern.

We are currently on the edge of seeing the glitch. Time for a large pattern shift. For as soon as too many can see the glitch... all the pretty colors change...LOL

I hope I didn't lose anyone... I am simply saying.... as soon as we figure this out.... the rules will change.... But like a good gambler.... we keep placing our bets !!

Take care all !

JB
__________________
You are a slave, Neo. Like everyone else you were born into bondage. Into a prison that you cannot taste or see or touch.... A prison for your mind.
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
  #96 (permalink)  
Old 11-09-2008, 06:37 AM
MiniMe's Avatar
Senior Member
 
Join Date: Nov 2006
Location: Montréal
Posts: 1,453
MiniMe is an unknown quantity at this point
cointegration , a set of 100 moving averages will do the trick

look at the EURUSD and USDCHF , if both above the 100 MAVG then sell both if both below then buy both ... , If you want a more complicate setup then use two MAVG instead of one and trade the cross...
__________________

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
  #97 (permalink)  
Old 11-09-2008, 07:56 AM
mystified's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 191
mystified is on a distinguished road
I think this is the Alexey's article Simba mentioning about From chaos to trends in forex | Futures | Find Articles at BNET

Shanon Entropy is another interesting subject CB pays attention to determine the trend:

Stochastic Volatility

The other idea we will outline this time is stochastic volatility. If you use a nice charting tool such as those found in TradeStation etc and in the IG-Index Java trading platform, everyone will have noticed that as you look at the same FX pair at different time-frames, the series looks very noisy at some resolutions and much nicer and smoother at others. The smoothness does not just increase with timeframe -- I have seen the GBPJPY look pretty horrible at M1, M3, M5, M10 then look really nice at M15 but then go back to pretty nasty at M30, H1. This behaviour is due to a phenomenon called "volatility clustering". Folk who recommend trading using charts on multiple time frames are (whether they realise it or not) exploiting this property and it is a good idea. The amount of actual information, of course, increases as the resolution falls -- if you have the M1 data you can easily reconstruct the M3, M5, H1, H4, ..., etc data, but if you only have the H4 data you can't recover the information at finer time scales. However, the "mutual information" is quite different (we touched on this much earlier in this thread). If you compute the Shannon Mutual Information at different timescales, you will see that the curve has dips (actually peaks, but I use an algorithm that computes things upside-down for reasons that don't concern us here). What are we looking for here? We want to find something we can actually trade!! We want a genuine trend we can latch onto and avoid the dangerous shoals of false trends and ranging markets.

Think of this in terms of a communication system. The transmitter can send either a 1 or a 0 and the job of the recevier is to decide whether a 1 or a 0 was sent. (This is an accurate description of any modern digital comms system, eg, mobile phones). The radio channel adds noise and randomly affects the signal, sometimes changing 0's into 1's and vice versa. If the channel is noise free and we always receive a 1 when a 1 was sent (same for 0) then everything is great. You might think the worst case would be a very noisy channel that always changes 0's for 1's (and vv). But this is easy to handle too -- just invert everything at the receiver! The worst case is actually the channel where 1's are changed to 0's randomly so the receiver can no better decide what symbol was sent than by tossing a fair coin! In digital comms systems, we use powerful "error correcting codes" to code the information prior to transmission to combat the effects of the radio channel, whose properties are quite well known in advance.

So in our trading system, if we have our FX data at a given timescale whose mutual information is close to 0.5, we can no better decide whether to buy or sell (go long or short) than by tossing a coin. WE CANNOT TRADE THIS INSTRUMENT AT THIS TIMEFRAME!! However, if we find a timeframe where the mutual information is biased away from 0.5 (either up or down) then we are in with a statistical chance -- we have an edge and that is all we need. We do not need to win every battle so long as we win the war!! You will have seen from the equity curves of my robot that he is by no means always right, but that overall the equity curve is inexorably upwards!
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
  #98 (permalink)  
Old 11-09-2008, 09:36 AM
SIMBA's Avatar
Senior Member
 
Join Date: May 2006
Posts: 1,480
SIMBA is on a distinguished road
Quote:
Originally Posted by mystified View Post
I think this is the Alexey's article Simba mentioning about From chaos to trends in forex | Futures | Find Articles at BNET

Shanon Entropy is another interesting subject CB pays attention to determine the trend:

Stochastic Volatility

The other idea we will outline this time is stochastic volatility. If you use a nice charting tool such as those found in TradeStation etc and in the IG-Index Java trading platform, everyone will have noticed that as you look at the same FX pair at different time-frames, the series looks very noisy at some resolutions and much nicer and smoother at others. The smoothness does not just increase with timeframe -- I have seen the GBPJPY look pretty horrible at M1, M3, M5, M10 then look really nice at M15 but then go back to pretty nasty at M30, H1. This behaviour is due to a phenomenon called "volatility clustering". Folk who recommend trading using charts on multiple time frames are (whether they realise it or not) exploiting this property and it is a good idea. The amount of actual information, of course, increases as the resolution falls -- if you have the M1 data you can easily reconstruct the M3, M5, H1, H4, ..., etc data, but if you only have the H4 data you can't recover the information at finer time scales. However, the "mutual information" is quite different (we touched on this much earlier in this thread). If you compute the Shannon Mutual Information at different timescales, you will see that the curve has dips (actually peaks, but I use an algorithm that computes things upside-down for reasons that don't concern us here). What are we looking for here? We want to find something we can actually trade!! We want a genuine trend we can latch onto and avoid the dangerous shoals of false trends and ranging markets.

Think of this in terms of a communication system. The transmitter can send either a 1 or a 0 and the job of the recevier is to decide whether a 1 or a 0 was sent. (This is an accurate description of any modern digital comms system, eg, mobile phones). The radio channel adds noise and randomly affects the signal, sometimes changing 0's into 1's and vice versa. If the channel is noise free and we always receive a 1 when a 1 was sent (same for 0) then everything is great. You might think the worst case would be a very noisy channel that always changes 0's for 1's (and vv). But this is easy to handle too -- just invert everything at the receiver! The worst case is actually the channel where 1's are changed to 0's randomly so the receiver can no better decide what symbol was sent than by tossing a fair coin! In digital comms systems, we use powerful "error correcting codes" to code the information prior to transmission to combat the effects of the radio channel, whose properties are quite well known in advance.

So in our trading system, if we have our FX data at a given timescale whose mutual information is close to 0.5, we can no better decide whether to buy or sell (go long or short) than by tossing a coin. WE CANNOT TRADE THIS INSTRUMENT AT THIS TIMEFRAME!! However, if we find a timeframe where the mutual information is biased away from 0.5 (either up or down) then we are in with a statistical chance -- we have an edge and that is all we need. We do not need to win every battle so long as we win the war!! You will have seen from the equity curves of my robot that he is by no means always right, but that overall the equity curve is inexorably upwards!
Mystified,

Thanks for the links..The article I was mentioning can be found here

The Trend Determining Method

Regards
Simba
__________________
Equo ne credite,Teucri.
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
  #99 (permalink)  
Old 11-09-2008, 06:28 PM
Senior Member
 
Join Date: Mar 2007
Posts: 189
lodol2 is on a distinguished road
Aleksey

Hi simba

So I read this Aleksey threads on FF

Intresting ..........so see if i got it:

he wrote at one point:

Maybe it is difficult to use this hybrid method wholly in the beginning so I advise you to start with the simple variant, namely to use this fixed basket:
EURUSD - the most forecastable pair because of its huge stream of money,
GBPCAD - the best pair among GBP-contained ones as less correlated with EURUSD,
CHFJPY - the only JPY cross is not subjected to "carry trade",
AUDNZD - the pair is determined local trade relations.
It is my favorite basket. Have successful research.


So this means that when i got a sell signal with whatever tradingsystem i use, because he gave not one...smile.....for instance on EURUSD

Instead of selling 4 lots ond EURUSD

I sell
1 lot EURUSD
1 lot GBPCAD
1lot CHFJPY
1lot AUDNZD

Am i right in this or?

yes of course this idea is great to have cointegrated basket but it seems that cointegration pairs are not so simple to filter........

Hi minime

can you give an example of your suggestion with the 100 MAVG?

And simba can you point me to the post where you did this fuller test with clahn?

Thanks

lodol
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
  #100 (permalink)  
Old 11-09-2008, 07:14 PM
SIMBA's Avatar
Senior Member
 
Join Date: May 2006
Posts: 1,480
SIMBA is on a distinguished road
Quote:
Originally Posted by lodol2 View Post
Hi simba

So I read this Aleksey threads on FF

Intresting ..........so see if i got it:

he wrote at one point:

Maybe it is difficult to use this hybrid method wholly in the beginning so I advise you to start with the simple variant, namely to use this fixed basket:
EURUSD - the most forecastable pair because of its huge stream of money,
GBPCAD - the best pair among GBP-contained ones as less correlated with EURUSD,
CHFJPY - the only JPY cross is not subjected to "carry trade",
AUDNZD - the pair is determined local trade relations.
It is my favorite basket. Have successful research.


So this means that when i got a sell signal with whatever tradingsystem i use, because he gave not one...smile.....for instance on EURUSD

Instead of selling 4 lots ond EURUSD

I sell
1 lot EURUSD
1 lot GBPCAD
1lot CHFJPY
1lot AUDNZD

Am i right in this or?

yes of course this idea is great to have cointegrated basket but it seems that cointegration pairs are not so simple to filter........

Hi minime

can you give an example of your suggestion with the 100 MAVG?

And simba can you point me to the post where you did this fuller test with clahn?

Thanks

lodol
Lodol,

No...that is not the way to do it.

1-Aleksey`s explanation was focused on 2 things,1-his system,which,you are right,he explained,very partially at FF(then he explained in full,or at least at a high level of disclosure, at Stocks and Commodities)..2-How to devise a hybrid basket,for ANY Trading system,in order to smotth the returns...they are 2 different things.

2-He explains very well how to do the basket...Let`s presume you have a System,ANY system..then you take the following currencies..AUD,CAD,CHF,EUR,GBP,JPY,NZD,USD...then you can have 7+6+5+4+3+2+1=28 pairs to trade with...once you get a signal in ,for example GBPUSD,YOU DELETE all other pairs containing either GBP or USD,and you look for signals on the rest...let`s presume you get a signal on EURCHF,same process..until you end with 4 pairs..for example buy GBPUSD,sell EURCHF,sell AUDCAD ,buy NZDJPY...if he has found only one pair as per his signals he just trades it...if he has 2,3,or 4 pairs,he knows his returns will be smoother...he has shown examples at his thread,sometimes trading GBPJPY as standalone or in combo with EURUSD..4 pairs is the optimal,but they are not necessary.

3-1 lot each...mmm...I don`t remember what/if he wrote on this specific,I just suggest that you normalize for volatility and value of position in order to have similar expected returns for each of the positions.

4-His system..at S&C he explains it...basically the entry is composed of a series of non linear equations on price,volume(I think he uses the volumes at dbfx..any ECN volumes will be ok) and open interest(he uses open interest of Futures markets as a proxy for cash markets)...The exit is done basically on a RBCI with parameters 8,10,40,44...easily replicable with the digital filter`s generator,smoothes it for 25 periods and then he applies 2 std volatility bands,and exits when the band is touched....He uses D1 data.

But this is off topic,even if probably very interesting for most traders,so,let`s stick to Mr Marketz topic .

Here are the links from FF both for Aleksey`s thread and for CB one for those wanting to learn more

The basket of Hybrids; 4 Pairs

EURUSD forecast & Chaos theory

Optimized Trend Trading

The latetst link is where both clahn and myself did a Dickey Fuller test on excel following CB suggestions...or so I believe

Regards
Simba
__________________
Equo ne credite,Teucri.

Last edited by SIMBA; 11-09-2008 at 07:21 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
mr.marketz, market


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
Market: What's going on? Linuxser Analytics 289 02-05-2010 09:53 AM
Does the market trade against you? delca General Discussion 61 11-25-2009 07:59 PM
Market hour svirgo Metatrader 4 2 05-14-2007 06:48 AM
When Does Market Open? mikejody General Discussion 2 01-01-2007 07:20 PM
What a morning market. goover General Discussion 29 06-13-2006 03:50 AM


All times are GMT. The time now is 02:13 PM.



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