What are the most important things that you need to know about fractals that are going to help you understand how the market behaves? Here we're going to be looking at real fractals you're going to learn about all kinds of different patterns that you might see not just in financial markets But in the world around you now there are many different properties of fractals that are really useful to know about But we're going to kick this off by looking at probably the most well-known property of fractals and that is scale self-similarity or scale invariants now This property is hugely important to understanding Fractals and in fact if you ask most people this will probably be the first thing they tell you about fractals In fact, probably the only thing they know about fractals, but what is this scale invariance? It effectively means that if you zoom in closer and closer on a fractal you see more and more detail and this detail zoomed in on simply resembles a miniature version of the fractal at a large scale So it's a pattern that repeats itself as you zoom in to smaller and smaller scales and you might think well I know that already so that's all I need to know but actually there's quite a bit more to it than that In particular this self-similar nature implies the existence of certain kinds of structure in the data and knowing that could be quite a useful tool to use in observing and interpreting market fluctuations So in this video, we're just going to quickly recap on the scaling or this more structure when you zoom in we're also going to talk about what else the scaling behavior implies in terms of the structure of financial market data And there's a pretty good chance you won't have come across this before unless you've actually studied fractals So you'll want to stick around and learn about this So starting with scale invariance, so imagine we have a curve and then when we zoom in on this curve We actually find that the curve isn't smooth it has numerous little protrusions and you see more and more of these the closer you look The classic example of this is taking a map which is relatively coarsely drawn but the further you zoom in on it the more and more little bays and peninsulas that you see Often it's the coast of britain that's used for such an example and I found this neat little example here put out into the public domain.
So I thought why not let's have it here But you can see here that the more detail you represent in mapping Britain the longer its coast appears to be And when you plot the length of the coastline is measured with different degrees of coarseness on a log log plot like on the right you get approximately a straight line and the slope of that straight line Is generally what people refer to as the fractal dimension For the particular object you're measuring now it's really important to mention at this stage that the coast of Britain isn't actually a fractal it just behaves approximately like a fractal for some range of scales or range of coarseness with which we're measuring it when it comes to financial markets, we're not really interested in the length of a curve that describes the fluctuation in share prices or currency prices or whatever it is But what we do have to be aware of is that if we are looking at data plotted according to some scale say weekly data, for example, then if we replay that data on a different scale say daily data it's going to reveal a whole lot of additional information that was previously hidden and that's really the main reason why financial market charts often use candlestick representations and the market fluctuation that isn't captured in a daily chart. So just to remind you that this really does apply to financial markets. We'll pull out the slide that we had previously seen in another video where we're looking at for an exchange data and if we look at the images or the the market data in the four quadrants of this slide we see that all this data looks like financial market data that could easily be Forex data.
where the data in the top right is just the same as the first half of the data on the top left so we've just zoomed in and rescaled the first half of that data and then the data in the bottom left is the same as the data In the top right, but just the first half of that data And likewise the relationship between the data in the bottom left and the bottom right So you see it really is the case for financial market data At least for some range of scales and remember just like with the british coast financial market data is only approximately fractal for some range of scales We see this behavior that zooming in on smaller and smaller bits of the data ends up generating a picture which is almost indistinguishable from the larger scale i. e. you wouldn't have necessarily have just guessed That all these pictures are just zooming in on a single set of data Unless of course you'd seen this previous video, but then that's cheating, isn't it?
Though i'm cheating a bit here by reusing it but we can demonstrate this as well by using Yahoo Finance's plotting capabilities So if I look at this chart of the Dow And I go ahead and I click on different time periods for this and then I go and rescale this chart You can see that for the time scales i'm looking at here There is a great deal of similarity in how the charts look Regardless of the time scale I'm choosing are that this scaling property also describes the hierarchy with which we see different sized fluctuations of different durations And what we find is that larger fluctuations in the price of a stock or currency or commodity tend to also be associated with longer time scales but they are also less frequent. And this type of hierarchy is referred to as a power law and put very simply what that means is that big fluctuations are quite rare More medium-sized fluctuations are a bit more common and small fluctuations are the most common. Now if we take a time series of financial market data and do a Fourier transform of that we can generate what is called a power spectrum for that data And it's going to look like this: Once again plotting on a log log scale the y-axis here is the power energy or however you want to think about this changes in market valuation of a stock rather than literally energy or power And since the x-axis is the frequency the left-hand side reflects events which have the longest periods So again, the biggest fluctuations have the longest periods and going to the right this follows an approximately straight line And what we see is that the highest frequency fluctuations involve the least the part of the spectrum furthest to the left can be thought of as the energy containing range and this is what's ultimately driving the variations in the commodity price These reflect long-term changes in the value of the commodity whereas this middle straight line section is all about the hierarchy of the fluctuations that occur which are more about the market price fluctuating as investors try to estimate the impact of those longer term fluctuations.
So in every large movement in a price of a commodity or a stock there will be multiple medium-sized movements sitting on top of that and on top of each of those there will be smaller fluctuations again And this is the process by which large scale fluctuations end up getting passed down to smaller and smaller scales Now if you're wondering where all this terminology comes from funnily enough it comes from the study of turbulence. So in turbulence, we might have strong winds hitting some kind of object around which the wind curves which pass down their energy from the large scale to the small scale almost losslessly and that's reflected in the straight line part of the curve here. it's where all the eddies occur and the hierarchy of eddies and it's really quite a peculiar thing that the behavior of turbulence which really has not very much to do with financial markets at all of well nothing really should have so many statistical properties like this in common with financial markets.
In fact if I were to show you a chart of turbulent data it would be easy for you to mistake it as a financial market chart And here's one here just to prove that point The final point to note here is that the dynamics over the long term don't sit in this inertial range. Therefore they're being driven by longer-term fluctuations and the underlying strength of a stock or an economy. And when looked at at this scale the data doesn't have these fractal scaling properties so there is a particular range and it's perhaps over the period of a year or two where the fractal nature of financial markets no longer really applies.
Another interesting thing about that is that this sort of implies that this shorter term fluctuations don't necessarily represent changes in the underlying fundamental value of the stock or currency you are looking at because they exist because these fluctuations must obey this hierarchy. But the hierarchy has nothing to do with the underlying value of the stock except where it makes a difference to the underlying value in the long term which only really occurs at the much longer time scales. So the traditional rational view of market behavior is that these fluctuations are all caused by reactions to little bits of information that come in every day and cause the stock price to fluctuate but now using the concept of fractals we see that that isn't necessarily the case, and in fact, it doesn't make sense that it is the case given that this hierarchy of fluctuations seemed to exist as a universal property of systems like financial markets and of turbulence and actually of many other things as well.
So to summarize financial market data tends to be very spiky as you zoom in on it further and further you see more and more structure. This structure has a definite hierarchy to it where the largest fluctuations occur over the longest time scales but also where the largest fluctuations are also the rarest fluctuations and there is a certain range of scale in which this hierarchy exists above which the price fluctuations are driven by driving force, but below which the price fluctuations are more about passing the large scale fluctuations down to the small scale fluctuations following a specific hierarchy. Obviously though some aspects of that must be a little bit oversimplified.
We know that very often stock prices do fluctuate due to new news and information that comes in about the value of a stock though such occurrences if they imply a significant movement are relatively rare bumps in that trend can almost be thought of as like places where turbulent eddies might roll off and cause this hierarchy of fluctuations. And that implies quite a bumpy ride for investing in any sort of properly functioning financial market.