I already have published a review of “The Blank Swan” on Amazon site, I will not repeat it here, rather, I wish to further an analysis (which I outlined on Amazon’s review, but in very vague terms) of some of its thesis in relation with those of Quentin Meillassoux in “After Finitude: An Essay on the Necessity of Contingency”(the original version of this book being in French: Apres la Finitude).
I- SOME OF MEILLASSOUX'POINTS
1. Hume’s problem and its probabilistic inference
In “After Finitude”, Quentin Meillassoux takes on Hume’s problem which investigates the possibility of grounding rationally the observed stability of natural laws, or, in Meillassoux’words, our capacity to demonstrate the necessity of causal connections. Meillassoux lists three types of answers to this problem: a metaphysical, a skeptic and a transcendental one.
I am only interested in the latter here, I leave to the interested readers to check on the others in Meillassoux’ book.
The transcendental solution to Hume’s problem is typically the one proposed by Kant. Kant’s argument is a reductio ad absurdum, starting from assuming that there is no necessity in the causal connections, it results, according to Kant, in the complete destruction of the possibility of representation, as the very categories of representation would lost all meaning in a world where causal connection would keep changing. From there, Kant infers that therefore, since we have representation and consciousness of phenomenon, causal connections are necessary.
However, Meillassoux notices that Kant’s argument hinges on a probabilistic assumption, the one according to which if causal laws could change, they would change often, to the point where all representation would become impossible. It is this assumption that Meillassoux does criticize, by proposing the concept of untotalization, inspired by Cantor’s work on transfinite numbers.
2. Cantor’s transfinite and the concept of untotalization
Cantor’s theorem establishes that the power set of any set A (finite and infinite alike) has a cardinality superior the the original set A, in other words, the set of all subsets of A has more elements that A itself. That leads Cantor to introduce transfinite numbers to account for the cardinality of various infinite sets: aleph-null is then the cardinality of the natural number, while aleph-one is the cardinality of the set of all countable ordinal numbers.
From the work of Alain Badiou, who interpreted Cantor’s theory in ontological terms, Meillassoux argues that such a concept of the transfinite invalidates Kant’s argument, as probabilities are valid, in their frequentist interpretation only insofar that a totalization of the cases is not problematic. In Meillassoux’words:
“We are completely ignorant of the legitimacy there is in totalizing the possible, as we totalized the faces of a die. Such an ignorance is sufficient to demonstrate the illegitimacy of extending an argument about uncertainty outside of a totality given by experience.”
The possible, because of Cantor’s theorem, may therefore escape, according to Meillassoux, a totalization compatible with its treatment by probabilistic means, and that is enough to invalidate Kant’s argument. Meillassoux does not provide however a positive demonstration of how Cantor’s theorem, applied to the possible, makes probabilities invalid, he simply raises the question, and concludes, rightfully in my view and for the problematic he’s looking at, that this is enough to reject Kant’s argument.
II- THE BLANK SWAN
Elie Ayache’s book is subtitled “the end of probability”, and its central thesis is indeed, following the trail opened up by Meillassoux, to assert that probability theory is unable to account for the reality taking place in Finance.
It would be presumptuous to summarize here all that there is in “The Blank Swan”, just as the previous section can in no way be taken as a summary of Meillassoux’ work, I just wish to precise a few concepts, in order to point out an ambiguity which, in my opinion, is left unresolved by Ayache.
What Ayache proposes to do, in his book, is to apply Meillassoux’ conclusions about the physical world and our relations to it, to the world of derivatives trading. For that, he asserts, in convincing terms, that the market (of derivatives) is a medium of contingency. Therefore, the market is untotalized, in the very same way that Meillassoux says possibilities in the material world are, and in the market, this untotalization can be derived from the non-redundancy of derivatives contracts, as indeed, if a contract is redundant, its market would simply vanish; or in the words of Ayache:
“If there were an established law, then some derivatives would never be exchanged.”(p.167)
This is indeed true, if valuation were exact, there would be no room to exchange a contract at variance with this valuation, and therefore no market. The existence of a market clearly points out to the inadequacy of the valuation process, and therefore to an untotalization of possibilities.
All this is still very much in line with the thesis from Meillassoux, however, Ayache goes a step further when he writes:
”In ‘thinking’ contingency as absolute with regard to the material world, Meillassoux is thrown into the exchange. His speculation is untenable in ‘pure’ thought and the corresponding detachment or transcendence.
(…)
All I am trying to do is to carve out the space that is adapted to speculative factual thought.”(p.190)
Here I see a divergence between Ayache’s and Meillassoux’thought. Elsewhere, Ayache wrote:
“Speculation thus recovers its absolute meaning. It surpasses even thought itself.”(p.175)
Such a stance seems to assert speculation (which, in Ayache’s terms, means the act of inverting the model, whatever it is, for valuating an option and engaging into “the trading of the derivatives at variance with its replication plan”, i.e. the writing of the market), as a process that exceeds thoughts, that reaches to a point beyond thought. But then, one of the main point of Meillassoux being the re-appropriation of the domain of the absolute by thought, isn’t Ayache positing a new absolute which he again places beyond thought?
Another way to put it is: Isn’t Ayache falling into a new kind of Fideism, which is properly a target of Meillassoux’work?
By proposing such a radical criticism of probability, positing not the end of some interpretation or axiomatization of probability but of probability itself, Ayache may have hypostatized a reality beyond thought, only accessible through speculation. What then differentiate speculation from a magical ritual, that one must perform in order to access to a higher level of reality? Aren’t we driven into a fideistic way of relating to the world (be it the world of the market) and to give up any illusion of grasping it with an analytical apparatus?
That matter doesn’t find any treatment in “The Blank Swan”, and it is, in my opinion, its major defect. Because of it, an atmosphere of ambiguity does linger over the pages, becoming more and more persistent.
I shall stop here for now, not that I’ve said it all, and I will likely come back to comment on some other ideas from the book, such as the logic of place, that I wish to analyse further, in relation to Nishida Kitaro’s ideas of the logic of basho, for instance, though I still have some study to do before that.
Tuesday, January 25, 2011
Thursday, July 1, 2010
From Spot FX to FX Options (maybe)
Sorry for having been a bit absent these last few weeks, I am considering moving towards FX options trading, and I have therefore been studying this very different area.
This idea came to me quite accidentally. A few weeks ago, I bought "The blank swan" by Elie Ayache, out of curiosity really; I started reading it and after about 30 pages, even though, I got the gist of his ideas (which are more philosophical than technical), I nonetheless realized that I may enjoy the book more if I was a bit more knowledgeable in Options Trading. Until then, I had browsed through some mathematical finance books, but never went into much of the details.
I therefore did that and acquired Espen Gaarder Haug'"Derivatives: Models on Models", I am still reading it, but I already have realised how powerful Options trading can be.
As I see it, traders are to face two unknowns: the volatility and the direction of the move. So far, I don't think analytical tools provide for a very good prediction in terms of the direction, but I tend to think that volatility can be foreseen in a better way, albeit far from perfect.
Nonetheless, it is very possible to make money in Spot FX, the uncertainty about direction can indeed be compensated by a proper money management strategy (that can be found in many trading books, see those by Van Tharp for instance), but Options trading seems to be able to do that more efficiently by hedging the risk by means of a combination of options, diminishing thereby the exposure to direction while maintaining a profit potential out of the volatility variations. And this is only one aspect of Options Trading, as it appears to offer a rich range of other approaches to trading.
And last but not least, it also proposes rather stimulating intellectual challenges.
My knowledge of these combinations is still too incomplete for me to detail much more at this level, I shall therefore continue to explore this area in the next few weeks, and will confirm whether I chose to trade FX Options in the future. If so, one must expect some changes in the content of this blog, even though I will continue to look at technical tools to analyse the "underlying" time-series, I may concentrate as well on some portfolio strategy issues.
This idea came to me quite accidentally. A few weeks ago, I bought "The blank swan" by Elie Ayache, out of curiosity really; I started reading it and after about 30 pages, even though, I got the gist of his ideas (which are more philosophical than technical), I nonetheless realized that I may enjoy the book more if I was a bit more knowledgeable in Options Trading. Until then, I had browsed through some mathematical finance books, but never went into much of the details.
I therefore did that and acquired Espen Gaarder Haug'"Derivatives: Models on Models", I am still reading it, but I already have realised how powerful Options trading can be.
As I see it, traders are to face two unknowns: the volatility and the direction of the move. So far, I don't think analytical tools provide for a very good prediction in terms of the direction, but I tend to think that volatility can be foreseen in a better way, albeit far from perfect.
Nonetheless, it is very possible to make money in Spot FX, the uncertainty about direction can indeed be compensated by a proper money management strategy (that can be found in many trading books, see those by Van Tharp for instance), but Options trading seems to be able to do that more efficiently by hedging the risk by means of a combination of options, diminishing thereby the exposure to direction while maintaining a profit potential out of the volatility variations. And this is only one aspect of Options Trading, as it appears to offer a rich range of other approaches to trading.
And last but not least, it also proposes rather stimulating intellectual challenges.
My knowledge of these combinations is still too incomplete for me to detail much more at this level, I shall therefore continue to explore this area in the next few weeks, and will confirm whether I chose to trade FX Options in the future. If so, one must expect some changes in the content of this blog, even though I will continue to look at technical tools to analyse the "underlying" time-series, I may concentrate as well on some portfolio strategy issues.
Monday, May 17, 2010
Variation of the Hurst Exponent
While playing around with various strategies, I came to consider that an interesting way to use the fractal dimension is to look at its variations rather than its absolute value. Furthermore such an approach makes sense at a mathematical point of view: from equation (1) in this post, applying the functional power rule of derivation, we can see that:

Rearranging it, we get:
![\frac{\partial \sigma}{\partial t}=t^{H-1}\left [ H+\frac{\partial H}{\partial t}tln(t) \right ]](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vRaFqjgg5GyZjtpjmlqjGaUbiS4jP0wvtxQRSwZm3OcuUR_58Po1upuy7cvoskkx2PggTQ972dEmz5oDna-sZaG2iZ9ygeb9tPiPWqJxhYYLlVr5n8nJ5TrWmpXyD6g1JcW0v9CQH05CetiTLknCpvC7n0pV_kpiu3vGqQCyulQ5z5mpMgR2nzpS-b5iwX98JFgek7bWiNPiNAa4hqGSGTtjakMA03Wb51n6gplLmgl0yBfl2jRCkU8Y962NCQIQ8NgRMHnAtw-5SQLlyMlgrz_7KzxQ=s0-d)
Asymptotically (for t sufficiently high), we can then see that the sign of the variation of H with time gives us the sign of the variation of the variance over time, and when this variation is positive, it indicates an increasing volatility and is therefore the best time to enter a trade. It must be noted that this indication does not say anything about the sense of the trade we should enter, and it therefore ought to be combined with a directional indicator in order to be fully operational.
Even though most of such variations can be seen by just looking at the FGDI graphic, it is just as easy (and possibly adding some precision) to program a new indicator that displays the variations of H over time, the script of this indicator can be found here on MQL4.
Below the indicator Hurst_Difference is displayed in the lower window on a 1hr chart for EUR/USD:

Whenever this indicator display a value above 0, it indicates a potential entry for a trade.
The parameters of Hurst_Difference.mq4 are:
f_period (integer): This is the period considered for calculating the fractal dimension, default is 30.
type_data (0,1,2,3,4,5 or 6): This is the type of price the indicator will consider (0=CLOSE, 1=OPEN, 2=HIGH, 3=LOW, 4=MEDIAN, 5=TYPICAL, 6=WEIGHTED), default is 0.
Rearranging it, we get:
Asymptotically (for t sufficiently high), we can then see that the sign of the variation of H with time gives us the sign of the variation of the variance over time, and when this variation is positive, it indicates an increasing volatility and is therefore the best time to enter a trade. It must be noted that this indication does not say anything about the sense of the trade we should enter, and it therefore ought to be combined with a directional indicator in order to be fully operational.
Even though most of such variations can be seen by just looking at the FGDI graphic, it is just as easy (and possibly adding some precision) to program a new indicator that displays the variations of H over time, the script of this indicator can be found here on MQL4.
Below the indicator Hurst_Difference is displayed in the lower window on a 1hr chart for EUR/USD:

Whenever this indicator display a value above 0, it indicates a potential entry for a trade.
The parameters of Hurst_Difference.mq4 are:
f_period (integer): This is the period considered for calculating the fractal dimension, default is 30.
type_data (0,1,2,3,4,5 or 6): This is the type of price the indicator will consider (0=CLOSE, 1=OPEN, 2=HIGH, 3=LOW, 4=MEDIAN, 5=TYPICAL, 6=WEIGHTED), default is 0.
Thursday, April 15, 2010
Self-similarity and a measure of it
Following an exchange via emails with a fellow trader, John Last, in which he made some remarks about the interest of some kind of self-similarity, I came to conceive a new indicator, which can be used to detect some convergence of behaviour between different timescales, in the sense outlined below.
____________________________________________________________________________________
I-General Remarks
Self-similarity is a well-known feature of fractals, it may however be useful to precise a few things about this concept.
The classic examples of fractals such as the Cantor Dust, the Von Koch Curve or the Sierpinski Gasket display an obvious self-similarity that is the direct consequence of their recursive mode of construction. However, when one comes to consider real-life applications of fractals, one should not expect to find such a perfect self-similarity.
Furthermore, when it comes to random fractals and their applications, which is the case of financial markets, self-similarity should not be taken as meaning a repetition of the exact same pattern, not even as a repetition of a pattern close enough to the original to warrant the use of "repetition".
Rather, what is meant in the case of financial price variations by self-similarity is really a "statistical self-similarity", which is more of a similarity of behavior between different timescales.
What should be compared therefore in order to measure the level of self-similarity at a given time, is not how the price curves at different timescales are "similar" to each others, but rather whether their behaviour, and particularly their volatility displays a level of self-similarity across timescales.
II-Dispersion of the Fractal Dimension across various timeframes
To measure this statistical similarity, I will only consider the dispersion between the FGDI of various timeframes around the FGDI of the longest timeframe considered.
For instance, considering the TimeFrame of 1hr, whose FGDI is fgdi(60), and the other shorter timeframes of 5mn (fgdi(5)), 15mn(fgdi(15)) and 30mn(fgdi(30)). The dispersion will be given by:

Which is basically the formula of the standard deviation around the value of the longest timeframe.
This calculation seems rather straightforward, except that we must take care of a little technical problem: if, at the present instant, the value of the FGDI is actual for all the timeframes, the value of FGDI 30 bars ago in the 5mn timeframe is not corresponding to the value of the FGDI 30 bars ago in the 15mn timeframe. Indeed, the 30th bar back from now on the 5mn TF corresponds to 150mn ago, which on the 15mn timeframe corresponds to the 10th bar in the past.
Clearly therefore, to re-establish a correspondance that makes sense in equation (1) above, one must apply a change of index, whose general equation between a given timeframe (TF) and the reference timeframe (TFref) has the following form:

'newpos' is the new value of the index to be considered in the shorter timeframe in relation to the index 'pos' from the reference timeframe. Notice that in MQL4, the further a bar is in the past the higher is its index, in order to have the past index available, the main loop should be a decreasing one in terms of index, starting from as far as necessary in the past and calculating the bars towards the present.
That being said, I am aware, that the simplicity of this transformation does not ensure a perfect match between the different timeframes and an error of a few bars is still possible in the past, but the complexity of implementing a full check in order to ensure a perfect match is not warranted given that it will modify the final calculation in a negligible manner.
III-Implementation in MT4
I then wrote this indicator as MTF_FractalDispersion11.mq4, the script is available here, and here is what it looks like on a EUR/USD chart, in orange, in the bottom window:

For clarity purposes, the value of the dispersion is multiplied by 10, a low value is indicative of a high self-similarity, between the different timeframes.
For instance, in case of a trendy market (FGDI below 1.5), a low dispersion (corresponding to a high self-similarity) is a positive indicator to enter a trade in the sense of the trend, provided the said trend is in the same direction in all the timeframes considered.
The available timeframes are 5mn, 15mn, 30mn, 1hr, 4hr and 1 day. Each timeframe can be weighted as desired (but by an integer value).
Important remark:
From an excellent remark by John Last, I came to realise that the graphical representation of the Fractal dispersion is only aligned temporally to the prices graph (and therefore also to the Fractal Dimension graph) for the reference TimeFrame (the longest TF selected, with a weight above 0). On all the shorter TF, this representation will appear as contracted towards the right (proportionally to the distance we are looking at in the past from the present, rather than the Fractal Dispersion being contracted, it is the price, and therefore also the Fractal Dimension, that are dilated, taking more values than in the longer TF, within the same time interval), and the movements of the FractalDispersion will therefore appear to have taken place at a time later than at which they really did happen (the correct time will be the one displayed on the reference TF, i.e. the longest one selected).
The only time all the graphs will coincide on all TF is the present. Any analysis of the past should therefore take this into account.
This effect of contraction/dilatation is particularly well-illustrated on the following graph, sent to me, by John:

Here, by comparing the two lower windows (ignore the difference in numerical values, they are due to another mistake I did in the first version and that I also corrected), we see that the yellow curve MTF_FracDisp11 is nothing else than the contraction towards the left (with the present as the fixed point) of the green curve MTF_FracDisp.
Incidentally on this graph, the correct representation, except for a multiplicative factor of √2, is given by MTF_FracDisp, this is however exceptional and solely due to a specific setup, the 15mn TF is actually not the reference TF.
In all cases, MTF_FracDisp11 gives the proper value of the fractal dispersion and does coincide with the timescale only for the graph on the reference TF. And this indicator should only be used as such.
Notice that this indicator needs to access FGDI.mq4 on your PC, and that this one should therefore be present and compiled properly.
The parameters of MTF_FractalDispersion11.mq4 are:
e_period (integer): This is the period considered for calculating the fractal dimension, default is 30.
e_type_data (0,1,2,3,4,5 or 6): This is the type of price the indicator will consider (0=CLOSE, 1=OPEN, 2=HIGH, 3=LOW, 4=MEDIAN, 5=TYPICAL, 6=WEIGHTED), default is 0.
M5w (integer): This is the weight to be applied to the 5mn timeframe, default is 1.
M15w (integer): This is the weight to be applied to the 15mn timeframe, default is 1.
M30w (integer): This is the weight to be applied to the 30mn timeframe, default is 1.
M60w (integer): This is the weight to be applied to the 1hr timeframe, default is 1.
M240w (integer): This is the weight to be applied to the 4hr timeframe, default is 0.
M1440w (integer): This is the weight to be applied to the 1day timeframe, default is 0.
____________________________________________________________________________________
I-General Remarks
Self-similarity is a well-known feature of fractals, it may however be useful to precise a few things about this concept.
The classic examples of fractals such as the Cantor Dust, the Von Koch Curve or the Sierpinski Gasket display an obvious self-similarity that is the direct consequence of their recursive mode of construction. However, when one comes to consider real-life applications of fractals, one should not expect to find such a perfect self-similarity.
Furthermore, when it comes to random fractals and their applications, which is the case of financial markets, self-similarity should not be taken as meaning a repetition of the exact same pattern, not even as a repetition of a pattern close enough to the original to warrant the use of "repetition".
Rather, what is meant in the case of financial price variations by self-similarity is really a "statistical self-similarity", which is more of a similarity of behavior between different timescales.
What should be compared therefore in order to measure the level of self-similarity at a given time, is not how the price curves at different timescales are "similar" to each others, but rather whether their behaviour, and particularly their volatility displays a level of self-similarity across timescales.
II-Dispersion of the Fractal Dimension across various timeframes
To measure this statistical similarity, I will only consider the dispersion between the FGDI of various timeframes around the FGDI of the longest timeframe considered.
For instance, considering the TimeFrame of 1hr, whose FGDI is fgdi(60), and the other shorter timeframes of 5mn (fgdi(5)), 15mn(fgdi(15)) and 30mn(fgdi(30)). The dispersion will be given by:
Which is basically the formula of the standard deviation around the value of the longest timeframe.
This calculation seems rather straightforward, except that we must take care of a little technical problem: if, at the present instant, the value of the FGDI is actual for all the timeframes, the value of FGDI 30 bars ago in the 5mn timeframe is not corresponding to the value of the FGDI 30 bars ago in the 15mn timeframe. Indeed, the 30th bar back from now on the 5mn TF corresponds to 150mn ago, which on the 15mn timeframe corresponds to the 10th bar in the past.
Clearly therefore, to re-establish a correspondance that makes sense in equation (1) above, one must apply a change of index, whose general equation between a given timeframe (TF) and the reference timeframe (TFref) has the following form:
'newpos' is the new value of the index to be considered in the shorter timeframe in relation to the index 'pos' from the reference timeframe. Notice that in MQL4, the further a bar is in the past the higher is its index, in order to have the past index available, the main loop should be a decreasing one in terms of index, starting from as far as necessary in the past and calculating the bars towards the present.
That being said, I am aware, that the simplicity of this transformation does not ensure a perfect match between the different timeframes and an error of a few bars is still possible in the past, but the complexity of implementing a full check in order to ensure a perfect match is not warranted given that it will modify the final calculation in a negligible manner.
III-Implementation in MT4
I then wrote this indicator as MTF_FractalDispersion11.mq4, the script is available here, and here is what it looks like on a EUR/USD chart, in orange, in the bottom window:

For clarity purposes, the value of the dispersion is multiplied by 10, a low value is indicative of a high self-similarity, between the different timeframes.
For instance, in case of a trendy market (FGDI below 1.5), a low dispersion (corresponding to a high self-similarity) is a positive indicator to enter a trade in the sense of the trend, provided the said trend is in the same direction in all the timeframes considered.
The available timeframes are 5mn, 15mn, 30mn, 1hr, 4hr and 1 day. Each timeframe can be weighted as desired (but by an integer value).
Important remark:
From an excellent remark by John Last, I came to realise that the graphical representation of the Fractal dispersion is only aligned temporally to the prices graph (and therefore also to the Fractal Dimension graph) for the reference TimeFrame (the longest TF selected, with a weight above 0). On all the shorter TF, this representation will appear as contracted towards the right (proportionally to the distance we are looking at in the past from the present, rather than the Fractal Dispersion being contracted, it is the price, and therefore also the Fractal Dimension, that are dilated, taking more values than in the longer TF, within the same time interval), and the movements of the FractalDispersion will therefore appear to have taken place at a time later than at which they really did happen (the correct time will be the one displayed on the reference TF, i.e. the longest one selected).
The only time all the graphs will coincide on all TF is the present. Any analysis of the past should therefore take this into account.
This effect of contraction/dilatation is particularly well-illustrated on the following graph, sent to me, by John:

Here, by comparing the two lower windows (ignore the difference in numerical values, they are due to another mistake I did in the first version and that I also corrected), we see that the yellow curve MTF_FracDisp11 is nothing else than the contraction towards the left (with the present as the fixed point) of the green curve MTF_FracDisp.
Incidentally on this graph, the correct representation, except for a multiplicative factor of √2, is given by MTF_FracDisp, this is however exceptional and solely due to a specific setup, the 15mn TF is actually not the reference TF.
In all cases, MTF_FracDisp11 gives the proper value of the fractal dispersion and does coincide with the timescale only for the graph on the reference TF. And this indicator should only be used as such.
Notice that this indicator needs to access FGDI.mq4 on your PC, and that this one should therefore be present and compiled properly.
The parameters of MTF_FractalDispersion11.mq4 are:
e_period (integer): This is the period considered for calculating the fractal dimension, default is 30.
e_type_data (0,1,2,3,4,5 or 6): This is the type of price the indicator will consider (0=CLOSE, 1=OPEN, 2=HIGH, 3=LOW, 4=MEDIAN, 5=TYPICAL, 6=WEIGHTED), default is 0.
M5w (integer): This is the weight to be applied to the 5mn timeframe, default is 1.
M15w (integer): This is the weight to be applied to the 15mn timeframe, default is 1.
M30w (integer): This is the weight to be applied to the 30mn timeframe, default is 1.
M60w (integer): This is the weight to be applied to the 1hr timeframe, default is 1.
M240w (integer): This is the weight to be applied to the 4hr timeframe, default is 0.
M1440w (integer): This is the weight to be applied to the 1day timeframe, default is 0.
Saturday, February 6, 2010
Testing the Euro
It may be time for a little summary of how I see the fundamentals situation right now.
This past week has been a rich one in event on the EUR/USD front, we first saw the EUR rebounding from 1.385 to over 1.403, then back down to 1.365, all these moves being fed by news from the ECB supporting Greece, and worrying about Portugal, Italy and Spain.
The rebound has been discounted as a speculative action to the news of the ECB support to Greece, and the bubble has deflated as fast as it did inflate.
There was no real surprise in that, but the drop signals something bigger at play. This is the first big test ever for the Euro, and the fundamental question is: Will the ECB be able to impose a strict budget and economic policy to its member nations?
The way this question is answered will be important in the sense of establishing the status of the EUR as a serious reserve currency. As of now, this status is far from obtained yet, indeed, why didn't the EUR replace the USD as a safe haven currency?
Clearly, the social and political situation of Europe is relatively stable, the EUR currency is supported by the largest economy in the world, but the basic problem of the EUR is about sovereignty, political authority. If a single country had gathered the objective parameters that are behind the EUR, its currency would be the safe haven currency of the world. However, in the EU, there is not one single political voice, there is actually no clear warranty that all member countries will maintain their participation to the European framework if things turn bad. This ambiguity about the EUR is what, in my view, explains that it is, so far, not even considered as a potential reserve currency.
If something goes wrong with the USD, the US government is able to act upon it in a sovereign way, it can raise taxes or lower them as it deems fit. Nothing, within USA will oppose these decisions if they are clearly motivated by the defense of national interest, and the USD is doubtlessly considered as such.
The current crisis, in Greece, Portugal, Italy and especially Spain, will be the test for that. If it fails, if one of these countries strays away from abiding by the ECB recommendations, and somehow displays a lack of responsibility towards the other EU members, the EUR may not survive in its current form. On the other hand, if it succeeds, the EUR will have made a great leap towards being considered a reserve currency.
Meanwhile and according to the news about the troubled european countries and their interpretation, the EUR/USD pair should display high volatility with a medium-term down-trend, where I see the EUR retesting the low 20s.
This past week has been a rich one in event on the EUR/USD front, we first saw the EUR rebounding from 1.385 to over 1.403, then back down to 1.365, all these moves being fed by news from the ECB supporting Greece, and worrying about Portugal, Italy and Spain.
The rebound has been discounted as a speculative action to the news of the ECB support to Greece, and the bubble has deflated as fast as it did inflate.
There was no real surprise in that, but the drop signals something bigger at play. This is the first big test ever for the Euro, and the fundamental question is: Will the ECB be able to impose a strict budget and economic policy to its member nations?
The way this question is answered will be important in the sense of establishing the status of the EUR as a serious reserve currency. As of now, this status is far from obtained yet, indeed, why didn't the EUR replace the USD as a safe haven currency?
Clearly, the social and political situation of Europe is relatively stable, the EUR currency is supported by the largest economy in the world, but the basic problem of the EUR is about sovereignty, political authority. If a single country had gathered the objective parameters that are behind the EUR, its currency would be the safe haven currency of the world. However, in the EU, there is not one single political voice, there is actually no clear warranty that all member countries will maintain their participation to the European framework if things turn bad. This ambiguity about the EUR is what, in my view, explains that it is, so far, not even considered as a potential reserve currency.
If something goes wrong with the USD, the US government is able to act upon it in a sovereign way, it can raise taxes or lower them as it deems fit. Nothing, within USA will oppose these decisions if they are clearly motivated by the defense of national interest, and the USD is doubtlessly considered as such.
The current crisis, in Greece, Portugal, Italy and especially Spain, will be the test for that. If it fails, if one of these countries strays away from abiding by the ECB recommendations, and somehow displays a lack of responsibility towards the other EU members, the EUR may not survive in its current form. On the other hand, if it succeeds, the EUR will have made a great leap towards being considered a reserve currency.
Meanwhile and according to the news about the troubled european countries and their interpretation, the EUR/USD pair should display high volatility with a medium-term down-trend, where I see the EUR retesting the low 20s.
Thursday, October 15, 2009
Rescaled Range Analysis
The Rescaled Range Analysis is an interesting statistical tool to detect long-range dependence in a time-series, and it also provides a method to estimate the Hurst Exponent. I have detailed to some extent this method on my other blog at this address.
Having estimated the Hurst Exponent, I was then able to write a Fractalised Moving Average, very much in the style of the FRASMA, except that this one, called RS_FRASMA, used the estimation of the Hurst Exponent coming from a Rescaled Range Analysis.
Unfortunately, this analysis is rather demanding in terms of computing power and time, I was therefore limited to small sample of values and even then, the processing time is quite long, furthermore, the result of the estimation is not very good, and not good enough anyway to be usable in terms of a fractional bands type of indicator.
Nevertheless, the RS_FRASMA may still be of some interest, if only in comparison with other MAs, and I therefore uploaded a script in MQL4 at this address.
The logic of the RS_FRASMA is similar to the one at work in the FRASMA: An SMA is modified by multiplication of its speed with a factor alpha defined as such:

Where H is the Hurst Exponent.
Here is what it looks like, the red curve is the RS_FRASMA, the yellow one is the FRASMA, and the blue one is an SMA, all with unmodified speed of 30:

The parameters of RS_FRASMA are:
period (integer): The size of the sample on which the Rescaled Range Analysis is performed, it must be a power of 2 (4,8,16,32,64,128,...), the default is 64, and in consideration of the limited computing power of MT4, I don't advise going higher than 256.
normal_speed (integer): This is the normal speed of the Moving Average before it is modified by the Hurst Parameter.
PIP_Convertor (integer): The factor necessary to convert real price to PIPS, default is 10000 (for EUR/USD)
type_data (0,1,2,3,4,5 or 6): This is the type of price the indicator will consider (0=CLOSE, 1=OPEN, 2=HIGH, 3=LOW, 4=MEDIAN, 5=TYPICAL, 6=WEIGHTED), default is 0.
Having estimated the Hurst Exponent, I was then able to write a Fractalised Moving Average, very much in the style of the FRASMA, except that this one, called RS_FRASMA, used the estimation of the Hurst Exponent coming from a Rescaled Range Analysis.
Unfortunately, this analysis is rather demanding in terms of computing power and time, I was therefore limited to small sample of values and even then, the processing time is quite long, furthermore, the result of the estimation is not very good, and not good enough anyway to be usable in terms of a fractional bands type of indicator.
Nevertheless, the RS_FRASMA may still be of some interest, if only in comparison with other MAs, and I therefore uploaded a script in MQL4 at this address.
The logic of the RS_FRASMA is similar to the one at work in the FRASMA: An SMA is modified by multiplication of its speed with a factor alpha defined as such:
Where H is the Hurst Exponent.
Here is what it looks like, the red curve is the RS_FRASMA, the yellow one is the FRASMA, and the blue one is an SMA, all with unmodified speed of 30:

The parameters of RS_FRASMA are:
period (integer): The size of the sample on which the Rescaled Range Analysis is performed, it must be a power of 2 (4,8,16,32,64,128,...), the default is 64, and in consideration of the limited computing power of MT4, I don't advise going higher than 256.
normal_speed (integer): This is the normal speed of the Moving Average before it is modified by the Hurst Parameter.
PIP_Convertor (integer): The factor necessary to convert real price to PIPS, default is 10000 (for EUR/USD)
type_data (0,1,2,3,4,5 or 6): This is the type of price the indicator will consider (0=CLOSE, 1=OPEN, 2=HIGH, 3=LOW, 4=MEDIAN, 5=TYPICAL, 6=WEIGHTED), default is 0.
Monday, September 28, 2009
EUR/USD outlook
Technically, the EUR/USD may have reached its top as the 61.8% fibonacci retracement of the range 1.6040/1.2329 at 1.4842 (even though the key resistance is 1.4867) and could now go for a dip back into the 1.2s (albeit some resistance on the way).
On the fundamental side, the EUR is again now over-valued. Besides, in a recent report, the OECD wrote:
The USD is therefore strengthened in its position as a reserve currency in the medium term.
In terms of financial regulations, the G20 has clearly achieved nothing but a bunch of populistic tricks that will have no consequence whatsoever, and as explained in the OECD report, this should lead to a sluggish recovery, especially in Europe and USA.
In this context, the recent rise of the EUR, upshot of an early enthusiasm, should be short-lived, as the reality of national deficits, progressing unemployment, limited credit and falling consumption will set in.
On the fundamental side, the EUR is again now over-valued. Besides, in a recent report, the OECD wrote:
"The reform of global exchange rate regimes and the dollar reserve currency problem is extremely important, but is also unlikely to be achieved any time soon." From The Financial Crisis and the Requirements of Reform - Adrian Blundell-Wignall
The USD is therefore strengthened in its position as a reserve currency in the medium term.
In terms of financial regulations, the G20 has clearly achieved nothing but a bunch of populistic tricks that will have no consequence whatsoever, and as explained in the OECD report, this should lead to a sluggish recovery, especially in Europe and USA.
In this context, the recent rise of the EUR, upshot of an early enthusiasm, should be short-lived, as the reality of national deficits, progressing unemployment, limited credit and falling consumption will set in.
Subscribe to:
Posts (Atom)