In 1993 the family took a summer vacation to Pensacola, Florida. I am not sure how we selected Pensacola, but we were there for two months and enjoyed it. It was sort of not-quite-Florida, not-quite-deep-South.
I took several books along to read. One was Complexification by Casti, about the three non-linear models: chaos, catastrophe and cellular automata. Another was Three Scientists and Their Gods by Wright, which includes an interview with Ed Fredkin, who brought cellular automata in from the cold in the 1970s.
A Thought at the Kitchen Counter
One night I was sitting at the kitchen counter looking out over Pensacola Beach and the thought occurred to me: “The markets are almost certainly non-linear and complex,” which may be a reason indicators do not really work. Chaos had been studied at the Santa Fe Institute, and one of the Swiss banks had spent a lot of money studying it and gotten exactly nowhere. Catastrophe theory did not seem to fit, although my ace programmer, Jim Bickford, and I played with it a while later. Perhaps the markets could be modeled as a cellular automaton machine?
The similarities between a cellular automaton and the behavior of markets seemed very close. A CA begins with an initial state or “seed,” and a set of rules determines how the seed evolves. Most CAs don’t do anything interesting; they repeat or die out quickly. But a few continue to generate fascinating new patterns indefinitely, like the markets.
I already knew the markets were functionally a binary system, “buy” and “sell,” and had always been fascinated that so much diversity could be generated by a simple binary model. The two ideas, binary and cellular automata, suddenly came together in my mind like the chocolate and the peanut butter in the old Reese’s candy commercial.
Binary Charting and the Semaphore
I grabbed one of my young son’s Big Chief tablets and began to build a binary charting model: 1 for up and 0 for down. Simple. Digging deeper, I realized a bar could be modeled as higher or lower (1 or 0) for the high, the low and the close. This created what Charlie used to call a semaphore.
The Trend Machine, 1993-2007
So began my work on The Trend Machine, a binary cellular automaton trading system that ran from 1993 to 2007. Back from vacation, I shared my ideas with Jim. We began the search for a binary seed and a simple rule set that would generate a binary string paralleling a given market’s up-down price behavior. We used Wheat as our price model.
One experiment: we took Pi out to 10,000 places of precision and converted it to a binary string, with even digits a “1” and odd digits a “0,” then searched the string for patterns.
We came very close a couple of times. The idea was that if a seed generated something close to real-time prices over a previous period, we would let it run a little longer and generate a forecast. Voila! Alas, just as we felt close to a breakthrough, Jim passed away.
I presented a paper on our research to the Conference on Machine Learning at Chemnitz, Germany, in 1998, and a short update at the Automata 2008 conference in the UK. The full Automata 2008 presentation is available as a PDF beginning on page 557: Automata 2008 proceedings
Computers Against Computers
At the Chemnitz conference I also speculated on the future of trading with AI and computers. This excerpt is from my book Getting Started in Currency Trading (John Wiley & Sons, 2007):
The investment markets will evolve into a war between several powerful computer programs each working to develop new rules and information coding mechanisms and growing forecasts to keep up with the market’s parallel behavior.
But each computer will need to deal with another factor as well, a factor already noted in the markets. That is: What are the other players doing or thinking of doing? What rules do they use to find the market’s rules?
Trading decisions will be made not just on what one concludes the market will do, but on what one concludes the other systems online are likely to do. This becomes a problem for Game Theory, a field of study likely to be soon dominated by self-organizing and evolutionary computing techniques such as cellular automata and agent computing.
Computers in the market will make false moves to deflect the ability of other computers to know what it is planning to do and how it makes its decisions….
This post is educational commentary. It is not investment advice. Trading futures and FX involves substantial risk of loss.
Good Trading!
Michael Duane Archer
Related Reading
- An Efficient FX Portfolio for New Traders: Nine Pairs
- The Currency Companion Books and Jim Bickford’s FX Studies
- Goodmanisms: Charlie Goodman’s Sayings on Trading, Explained
Keep Learning the Goodman Way
If this article was useful, these are the next steps:
- The Method: propagation, intersection and the 3-C Principle, drawn plate by plate.
- The Goodman Library: the books, from Goodman for Grasshoppers to The Goodman 6 & 6.
- The Trader’s Playbook: the Molokai setup in one printed, numbered volume.
- Mentoring: work one-on-one with the authors.