Archive for August, 2008

The Heart of Trading Futures Contracts: Fractals Defined

By trader7757, 31 August, 2008, No Comment

Source of some of this article is Wikipedia.


A fractal is generally “a rough or fragmented geometric shape that can be split into parts, each of which is (at least approximately) a reduced-size copy of the whole,”[1] a property called self-similarity. The term was coined by Benoît Mandelbrot in 1975 and was derived from the Latin fractus meaning “broken” or “fractured.”

A fractal often has the following features:

* It has a fine structure at arbitrarily small scales.
* It is too irregular to be easily described in traditional Euclidean geometric language.
* It is self-similar (at least approximately or stochastically).
* It has a Hausdorff dimension which is greater than its topological dimension (although this requirement is not met by space-filling curves such as the Hilbert curve).
* It has a simple and recursive definition.

Because they appear similar at all levels of magnification, fractals are often considered to be infinitely complex (in informal terms). Natural objects that approximate fractals to a degree include clouds, mountain ranges, lightning bolts, coastlines, and snow flakes. However, not all self-similar objects are fractals—for example, the real line (a straight Euclidean line) is formally self-similar but fails to have other fractal characteristics.

Benoit Mandelbrot, in one of his pioneering articles on the problems with linear based market predictions states:

“The risk-reducing formulas behind portfolio theory rely on a number of demanding and ultimately unfounded premises. First, they suggest that price changes are statistically independent of one another: for example, that today’s price has no influence on the changes between the current price and tomorrow’s. As a result, predictions of future market movements become impossible. The second presumption is that all price changes are distributed in a pattern that conforms to the standard bell curve. The width of the bell shape (as measured by its sigma, or standard deviation) depicts how far price changes diverge from the mean; events at the extremes are considered extremely rare. Typhoons are, in effect, defined out of existence.

Modern portfolio theory poses a danger to those who believe in it too strongly and is a powerful challenge for the theoretician. Though sometimes acknowledging faults in the present body of thinking, its adherents suggest that no other premises can be handled through mathematical modeling. This contention leads to the question of whether a rigorous quantitative description of at least some features of major financial upheavals can be developed. The bearish answer is that large market swings are anomalies, individual “acts of God” that present no conceivable regularity. Revisionists correct the questionable premises of modern portfolio theory through small fixes that lack any guiding principle and do not improve matters sufficiently. My own work – carried out over many years – takes a very different and decidedly bullish position”

Okay, okay, you are shaking your head what in the world does this have to do with actual investing? Yea, yea…there are lots of these little duplicating irregular shapes, but how does this help me?

I borrow again from Benoit Mandelbrots earlier article:

“In a detail of a graphic in which the features are higher than they are wide – as are the individual up-and-down price ticks of a stock – the transformation from the whole to a part must reduce the horizontal axis more than the vertical one. For a price chart, this transformation must shrink the time-scale (the horizontal axis) more than the price scale (the vertical axis). The geometric relation of the whole to its parts is said to be one of self-affinity.

The existence of unchanging properties is not given much weight by most statisticians. But they are beloved of physicists and mathematicians like myself, who call them invariances and are happiest with models that present an attractive invariance property. A good idea of what I mean is provided by drawing a simple chart that inserts price changes from time 0 to a later time 1 in successive steps. The intervals themselves are chosen arbitrarily; they may represent a second, an hour, a day or a year.

The process begins with a price, represented by a straight trend line (illustration 1). Next, a broken line called a generator is used to create the pattern that corresponds to the up-and-down oscillations of a price quoted in financial markets. The generator consists of three pieces that are inserted (interpolated) along the straight trend line. (A generator with fewer than three pieces would not simulate a price that can move up and down.) After delineating the initial generator, its three pieces are interpolated by three shorter ones. Repeating these steps reproduces the shape of the generator, or price curve, but at compressed scales. Both the horizontal axis (timescale) and the vertical axis (price scale) are squeezed to fit the horizontal and vertical boundaries of each piece of the generator.

Interpolations Forever

Only the first stages are shown in the illustration, although the same process continues. In theory, it has no end, but in practice, it makes no sense to interpolate down to time intervals shorter than those between trading transactions, which may occur in less than a minute. Clearly, each piece ends up with a shape roughly like the whole. That is, scale invariance is present simply because it was built in. The novelty (and surprise) is that these self-affine fractal curves exhibit a wealth of structure — a foundation of both fractal geometry and the theory of chaos.

A few selected generators yield so-called unifractal curves that exhibit the relatively tranquil picture of the market encompassed by modern portfolio theory. But tranquillity prevails only under extraordinarily special conditions that are satisfied only by these special generators. The assumptions behind this oversimplified model are one of the central mistakes of modern portfolio theory. It is much like a theory of sea waves that forbids their swells to exceed six feet.

The beauty of fractal geometry is that it makes possible a model general enough to reproduce the patterns that characterize portfolio theory’s placid markets as well as the tumultuous trading conditions of recent months. The just described method of creating a fractal price model can be altered to show how the activity of markets speeds up and slows down — the essence of volatility. This variability is the reason that the prefix “multi-” was added to the word “fractal.”

To create a multifractal from a unifractal, the key step is to lengthen or shorten the horizontal time axis so that the pieces of the generator are either stretched or squeezed. At the same time, the vertical price axis may remain untouched. In illustration 2, the first piece of the unifractal generator is progressively shortened, which also provides room to lengthen the second piece. After making these adjustments, the generators become multifractal (M1 to M4). Market activity speeds up in the interval of time represented by the first piece of the generator and slows in the interval that corresponds to the second piece (illustration 3).

Such an alteration to the generator can produce a full simulation of price fluctuations over a given period, using the process of interpolation described earlier. Each time the first piece of the generator is further shortened — and the process of successive interpolation is undertaken — it produces a chart that increasingly resembles the characteristics of volatile markets (illustration 4).

What should a corporate treasurer, currency trader or other market strategist conclude from all this? The discrepancies between the pictures painted by modern portfolio theory and the actual movement of prices are obvious. Prices do not vary continuously, and they oscillate wildly at all timescales. Volatility — far from a static entity to be ignored or easily compensated for — is at the very heart of what goes on in financial markets. In the past, money managers embraced the continuity and constrained price movements of modern portfolio theory because of the absence of strong alternatives. But a money manager need no longer accept the current financial models at face value.

Instead multifractals can be put to work to “stress-test” a portfolio. In this technique the rules underlying multifractals attempt to create the same patterns of variability as do the unknown rules that govern actual markets. Multifractals describe accurately the relation between the shape of the generator and the patterns of up-and-down swings of prices to be found on charts of real market data.

On a practical level, this finding suggests that a fractal generator can be developed based on historical market data. The actual model used does not simply inspect what the market did yesterday or last week. It is in fact a more realistic depiction of market fluctuations, called fractional Brownian motion in multifractal trading time. The charts created from the generators produced by this model can simulate alternative scenarios based on previous market activity.

These techniques do not come closer to forecasting a price drop or rise on a specific day on the basis of past records. But they provide estimates of the probability of what the market might do and allow one to prepare for inevitable sea changes. The new modeling techniques are designed to cast a light of order into the seemingly impenetrable thicket of the financial markets. They also recognize the mariner’s warning that, as recent events demonstrate, deserves to be heeded: On even the calmest sea, a gale may be just over the horizon.

Many people believe that the markets are random. In fact, one of the most prominent investing books out there is “A Random Walk Down Wall Street” (1973) by Burton G. Malkiel, who argues that throwing darts at a dartboard is likely to yield results similar to those achieved by a fund manager (and Malkiel does have many valid points).

However, many others argue that although prices may appear to be random, they do in fact follow a pattern in the form of trends. One of the most basic ways in which traders can determine such trends is through the use of fractals. Fractals essentially break down larger trends into extremely simple and predictable reversal patterns. This article will explain what fractals are and how you might apply them to your trading to enhance your profits.

What Are Fractals?
When many people think of fractals in the mathematical sense, they think of chaos theory and abstract mathematics. While these concepts do apply to the market (it being a nonlinear, dynamic system), most traders refer to fractals in a more literal sense. That is, as recurring patterns that can predict reversals among larger, more chaotic price movements.

These basic fractals are composed of five or more bars. The rules for identifying fractals are as follows:

* A bearish turning point occurs when there is a pattern with the highest high in the middle and two lower highs on each side.
* A bullish turning point occurs when there is a pattern with the lowest low in the middle and two higher lows on each side.

The fractals shown in Figure 1 are two examples of perfect patterns. Note that many other less perfect patterns can occur, but the basic pattern should remain intact for the fractal to be valid.

Applying Fractals to Trading
Like many trading indicators, fractals are best used in conjunction with other indicators or forms of analysis. Perhaps the most common confirmation indicator used with fractals is the “Alligator indicator”, a tool that is created by using moving averages that factor in the use of fractal geometry. The standard rule states that all buy rules are only valid if below the “alligator’s teeth” (the center average), and all sell rules are only valid if above the alligator’s teeth.

Exits and the days action

By trader7757, 28 August, 2008, No Comment

I will post my trading chart later this evening…it was an exceptional day in that the market basically went straight up, with a short respite over the noon hour.

Which brings me to a timely topic, and an oft talked about topic We’ve talked some about entries, at least in a simplistic manner, but the topic of exits has not come up. If ever there were a plethora of theories on a subject, when to exit a trade ranks near the top and few traders are without some sort of opinion on the topic that differs from the next trader…and so on.

On one hand, it’s nice to let your trades run as long as you can. Of course, this is some dicey business since the market does not post neon signs indicating just when it is going to change direction. One hard and fast rule I follow is this:

Never let a winning trade become a losing trade!

This goal can be accomplished through many different means, but I still see the most errors, including my own, at exiting at the proper time. You may have read my own disgust with myself when I exit a trade several points to early. Lately I have been placing my sells 3 points (or 12 ticks) above my entry point. I have done this to take advantage of the volatility in the market lately as it can be very difficult to manually exit a trade without losing a bundle of ticks. That being said, it can be very unnerving to exit at 12 ticks and watch the index price slide up another 4 points. It is a sinking feeling indeed. Essentially then, I have been setting up bracketed 12 tick trades at my point of market entry.

Now it would be safe to point your finger at me and say, “Dave you are trading like a wimp”. You would probably be on safe ground in saying so, but the fact of the matter is simple, this low volume market has made me a bit wimpy. A bird in the hand may be as good as two in the bush.

Under normal trading conditions I use the slower of the stochastic lines to determine my exits. When that line begins a divergence from the direction of the trade I am in I exit. However, the psychotic nature of the market traders lately would force me to have much faster reactions than I have been able to exhibit. I will devote a full blog entry to using the stochastic to exit trades in a future post, as it takes a bit of explanation to assimilate the information.

I am also very cognizant of price exhaustion while in a trade, and price exhaustion can provide a piece of your exit strategy if used properly. Higher highs, and lower lows and deviation from market direction, a fractal, are indications of a possible change in market direction. Again, with so much information to cover, I will save extended discussion of my pet market direction indicator, the fractal, for later discussion. For now, you could consider successive higher highs and higher lows as a continuation of a market directional move to the upside, and conversely, low lows and lower highs as the corollary pattern on the short side.

a nidday futures trading recap

By trader7757, 27 August, 2008, No Comment

ESU8 Click on chart to enlarge

As you can easily see, the market charged ahead today, despite a rise in crude oil price because of the rise in durable good orders. I took a long positions and made only three trades. As usual, I was a bit hasty in my exits, as is my nature, but pulled out 8.5pts@5 contracts. There were some very nice moves in the market today and it was not difficult to make the proper entry positions based upon the CCI criteria I have expounded on earlier….feel free to enlarge the chart and find where you may have entered.

The intoxicating effect of money.

By trader7757, 26 August, 2008, No Comment

As you continue to learn the system I am outlining you will begin to realize that making money, at least in the pure sense, is not so terribly difficult. I have a few basic rules to follow, a little common sense, some chart reading and before long you should be able to make money consistently.

But there is a little problem:

AFTER SEVERAL MONTHS OF MAKING MONEY CONSISTENTLY,

MOST PEOPLE END UP REVERSING COURSE AND LOSE ALL OF

THEIR MONEY.

The fact of the matter is that there is nothing more intoxicating than cold hard cash. Time and time again I have watched successful traders earn money and then fall flat our their faces because they could not manage the psychological aspects of making money and managing risk. Martin Pring has written an excellent book about investment psychology, and goes to great length to explain that most investors are very able to trade effectively. However, the problem with most traders lies in the intoxicating effects of earning money trading.

Typically, investors begin to take on too much risk, or make trades that fall outside the parameters of our discussion here, or tackle markets that our principles do not apply to. What I am trying to say is quite simple, really….the psychological aspect and the control of your own greed is, by far, the most challenging aspect of trading. Over trading, taking on too much risk by trading to many contracts, entering marginal trades, developing emotional attachments to trades…these are all the sign of impending disaster and I cannot stress enough that the psychological aspect in managing your trading life is far more challenging than the technical aspect of trading.

I know, I know…I can hear you all muttering….”that may be true of the other guy, but I am a very disciplined individual and this will never happen to me……”

It will happen to you, and how you learn to deal with the intoxicating effects of your cash earnings from trading will determine how well you succeed in the business. I can teach anyone to make the right trades, but I can’t get most people to make the right trades at the right times. There are no patterns in the markets, there are only spurts of momentum, or directional movement….and no matter how much you are sure that something MUST happen it probably won’t. I think it’s a Murphy’s law thing..or at least it seems to be.

Your ability to act in a completely rational manner and day in and day out execute trades as we outline will determine how successful you will be. I cannot harp on this topic enough…and I will, believe me. Investment psychology is the demise of 7 out of 10 traders. Don’t be one of the seven that fail, be one of the three that succeed.

Stochastic indicators; A beginning on how to exit a futures trade

By trader7757, 26 August, 2008, 1 Comment

I use a portion of the stochastic formula to exit my trades, and for the time being I thought I would introduce you to the concepts and premises of stochastic measurement. There are many variations of the stochastic model and tomorrow we will discuss the manner in which I set the parameters and setting to optimize your exit strategy.

Stochastic is an oscillator that is very popular and has been around for several decades. It is a price oscillator tracking overbought and oversold conditions. It is often used in the red light/ green light trading systems which can cause problems for traders unless they understand how stochastic works, why it was created, and what it was designed specifically to track.

Stochastic was written by George Lane and is a true oscillator which means it was primarily designed to track either overbought or oversold price conditions in a range.

In the stock market, the term “overbought” means that it can be assumed everyone who wanted to buy the stock is now fully vested and there are no more buyers or insufficient buyers to move the stock up.

Oversold is just the opposite, there are insufficient sellers to move the stock down.

The reason oversold and overbought is critical in sideways markets is that the shift from buying to selling can happen rather quickly.

George Lane wrote the indicator Stochastic formula based upon the presumption that as a run moves up (or down) a stock will close nearer to its high as buyers keep rushing in to buy the stock. But as momentum tapers off or buyers become scarce, then a stock will close lower from the high price for the day.

This is a presumptive statement that works in trading range markets. The theory fails during strong rallies and velocity markets because stochastic will move into the overbought area or oversold area signaling an exit just as the stock begins a huge run.

Therefore, Stochastic should not be used during momentum or velocity markets, platform markets, or bottoming markets as it will create a premature exit signal just as the stock is about to run up strongly. Below is a chart showing how stochastic moves to the overbought line during a strong momentum price move. This chart shows a typical platform building pattern followed by the strong velocity move up. This kind of chart pattern occurs during value-oriented markets when institutions are quietly accumulating.

TechniTrader Chart

During a velocity market you should use a different indicator than stochastic. Instead switch to an accumulation indicator and quality indicators as these will help you get into the stock early before the big moves up.

Below you can clearly see how stochastic is showing overbought exit signals even though the stock keeps moving up. This is why stochastic should not be used all the time but only for certain market conditions for which it was created.

TechniTrader Chart

Below is a chart of Stochastic showing the oscillation of the indicator suggesting overbought, or oversold conditions. This is the normal pattern that most trading systems are attempting to find. You can see that this is a very different price action than the previous chart.

TechniTrader Chart

The Stochastic Formula and what it is intended to reveal:

There are 2 lines for the George Lane stochastic formula: %K and %D usually represented in red and black lines on charting software. First, the K line must be calculated.

K=100((C-L)/(H-L))

Where K+ the location of price relative to the current price range

C= the last close price

L=the n-period low price

H=the n-period high price

n=any time period specified

K is smoothed twice with a 3-period SMA which creates the %K line, usually black on charts.

Then %K is smoothed again with a 3-period SMA to create %D line which is usually red on charts. Only the %K and %D lines are used in the chart analysis. So you will only see 2 lines to represent the 3 lines in the formula. Because it uses a fixed time period to period calculation, the lines can jump and move erratically if price fluctuates significantly.

Most stochastic indicators have predefined 80% overbought line and 20% oversold line on the chart. A few charting software programs allow you to move the lines to whatever percentage you wish.

If you are a beginner, simply use the settings of 80% and 20% for a trading range market.

some random monday morning thoughts

By trader7757, 25 August, 2008, No Comment

This central theme of this blog is to share with others the methodology, or at least my methodology, of trading futures contracts. To that end, I endeavor to try to keep on that very topic. However, current economic conditions are so skewed as to make the random comment here and there necessary.

We are a odd group of people, Americans. We will spend ourselves into unheard of debt, allow the government to do the same, and then panic as things begin to disintegrate. We are now in the process of unwinding one of the largest bubbles in our countries history, and the general population seems blissfully unaware of the dire situation we are in.

Of course, the last bubble burst in 2000 with the dot.com implosion. The Nasdaq has yet to reach anywhere near the highs of those times and it has been nearly eight years since that implosion. But really, who cares if Pets.com, or any other ill conceived IPO didn’t make the grade. Our current dilemma does not involve dot.coms or other such peripheral issues. No, we are now talking about the granddaddy of investment, real estate. And the future does not hold a bright and rosy outcome. Not in the short term anyway.

The level of foreclosures and potential foreclosures is at an alarming rate and the Fed and the Department of Treasury have scrambled to salvage several large institutions to prevent a market meltdown. But there are bigger fish in the pond, as it were, and Fannie Mae and Freddie Mac prices have fallen to levels that appear to make them insolvent. There are a variety of reasons for this event, the least of which is horrible overall company management. Without some infusion of capital these institutions are doomed.

The Washington-type talking heads are blithering away with all sorts of potential solutions for our maladies, and some range from just letting the institutions wither, to a complete bailout for the entire system….which would probably run into the trillions, if that of any consequence to you. Our current government is not particularly fiscally responsible, quite the contrary, and finds itself in a precarious position as it relates to MI money supply and inflation or quite possibly stagflation, as it were.

I want to emphasize that as scalping futures traders we do not particularly care about the direction of the market but are happiest when it is moving with definite speed in a fractal pattern, and the large the fractal legs, or generators the better. So cheer up, we are in good shape for likes of us and plan to prosper in the coming times.

settings on the CCI to trade futures

By trader7757, 25 August, 2008, No Comment

The Commodity Channel Index (CCI) doesn’t have a wide array of variables you can manipulate. There is basically a setting, in most programs, as to how many time periods you want the computer to calculate the trading index on.

Generally I use a 14 period setting, although I have used 10 and 16 at different periods of my trading life. I think I have pretty well settled on fourteen. I have back tested a wide variety of potential combinations and found 14 has the best track record, although the difference between fourteen and sixteen is negligible, at best.

So, set your CCI on fourteen plot your pivot points and start looking for great entry points.

Have I told you that most investment companies will late you paper trade for 30 days or more?
I work with Josh Alexander at Infinity Futures and found him and the company most helpful and efficient.

Okay, the Olympics are over, so lets get to work and make some money….and have a wonderful day.

Some interesting comments from Ben Bernanke

By trader7757, 22 August, 2008, No Comment
[T]he financial storm that reached gale force some weeks before our last meeting here in Jackson Hole has not yet subsided, and its effects on the broader economy are becoming apparent in the form of softening economic activity and rising unemployment. Add to this mix a jump in inflation … and the result has been one of the most challenging economic and policy environments in memory.
-Fed Chairman Bernanke, Aug 22, 2008
As you may have noticed in past blogs, I am not prone to worry much about external factors as they relate to the market and the economy. Past Fed chairman have typically been very very reserved in their assessment of market and economic conditions, even in the worst of times. However, this particular speech, which can be read here in it’s entirety is by far and away the most frank and non homogenized view I’ve ever heard a Fed chair release.
His outlook for the US economy is bleak, at best, and really doesn’t mince words in his assessment of that very fact.
It is quite popular in blogs circles right now to blast Bernanke for some of the measures he has taken, but I take the opposite view. In my opinion, he inherited the current problems that he has been forced to deal with. He was appointed to usher in a whirlwind. Of course, you have probably heard me say that the Feds powers are, in my opinion, more psychological and demonstrative than substantive…and that any major panic-type movement in the markets will leave the Fed simply standing on the sidelines. There is a limit, at best, to the powers the Fed can use to tweak the economy. I believe that they have little ability to stop a tidal wave of economical phenomena. I would concede, though, that the extended period of low rates under Alan Greenspan certainly set the stage for a portion of the mayhem we are currently forced to deal with
That being said, it seems as if we have entered a scenario not dissimilar than “the perfect storm”, which is to say we have a constellation of dissimilar and destructive elements, mostly of our own making, converging to form in a dynamic economic implosion. I do not believe we would enter some sort of “depression” so to speak, but I would predict a drastic change in the near future in the manner Americans will manage their finances, credit and spending….and those that don’t… will find themselves in an abyss of economic disaster or financial ruination.
All right, that being said, how does that after our futures trading activity? The beautiful answer is “not at all”. As observers of the fractal patterns self evident in every market, we can continue to trade those patterns with the same success we always have. As traders, we only seek movement in the market, up or down, and down do not concern ourselves with overall intermediate or long term trends. We are scalpers, and seek only the crumbs that floor on the proverbial market.
Keep smiling, you livelihood is in fine shape and trade wisely…….The Fractal Trader

A Fractal View on Futures Trading Prognostications

By trader7757, 21 August, 2008, No Comment

On a given day it possible to read any number of current predictions, analyst recommendations on just where the futures and stock markets are headed. To be sure, you can usually find an analyst predicting an oncoming upward move in the market, and look somewhere else and find another analyst who predicts impending disaster. This is the nature of the financial business, and for most of my life I have had many good chuckles at the ranting and raving of this group of financial gurus.

I think it would be expedient to point out at this point, that market predictions, including the futures markets, are essentially predictions with a binary outcome. The futures market either goes up or the futures market goes down. Since the market rarely stays exactly the same, we will rule out this outcome as spurious. From the onset then, futures market prognosticators have a 50% potential to be right.

Nearly every market establishes some “hot” market gurus, whether it’s Robert Prechter, Granville, Gazarelli….they all have their fifteen minutes of fame and then fall into discredit when they fail to maintain the accurate predictions that catapult them into fame.

And I read many of the analysts every day, more for entertainment than anything else. Why? I think it helps to understand what is going on and the wide variety of interpretations of current financial events. Do I give the analyst any weight in my trading? Absolutely none.

I am a scalper, which means I am only interested in small movements in my futures trading style. I don’t care if the market is moving up or down, or even sideways. All I am interested in is entries into the market that can earn me a potential of at least two points, whether that is a short or long position is irrelevant to me. I am, in essence, a bottom feeder who waits for the crumbs to fall.

That being said, I also am a chaos theory believer. I have observed market predictions over and over fall to the side of the road….whether the predictor is a fundamentalist or technical trader. Quite simply, the market doesn’t listen to what people say…it is a psychological beast that acts, at time, as irrational as any human being you might imagine. You will hear all kinds of predictions today about this being a “dead cat bounce” and other claiming the worst is behind us, and still others predicting dire times…who is right? I have no idea, and neither do the predictors. As I have mentioned, since the outcome of any prediction is binary in nature, about half will be right and about half will be wrong. I find it odd, as much of my college and graduate degree course was in physics that we understand many of the intricacies of the atom, and how quantum mechanics works (which is truly one of the truly bizarre discoveries of our time)….but no one has found a working system in predicting the market, despite the fact that we have poured an inordinate amount of money and time into trying to understand the market.

I realize that my view is an unpopular one, and the screaming idiot who now enjoy tremendous popularity on market predictions (on MSNBC) would call me a heretic, but the overwhelming amount of scientific study, academic study, points to the absolute accuracy of chaos and fractal theory as the only valid trading viewpoint.

midday futures trading chart 8-20-08

By trader7757, 21 August, 2008, No Comment
ESU8 click chart to enlarge
It was a very nice day to trade with most of the moves well defined. I was a little more conservative than usual, and I have no particular explanation why…I suppose it was simply my mindset…as there were many more points to trade into than I actually captured. Nonetheless I ended up +4.5@5 contracts. I stopped about noon.