The Password is… “Adaptive”

Posted on September 24th, 2007
Written by Richard
Posted in: N/A (old archives)

I basically lived in front of Tradestation this weekend. I’m pretty sure it wasn’t healthy. I will need to eat extra vegetables to compensate, or something.

The word for the weekend was “Adaptive.” I read Rocket Science for Traders: Digital Signal Processing Applications, which is a great book. It outlines algorithms for automagically estimating the dominant periodic component of price action. If it’s accurate enough to be useful, this is an important piece of information. For instance, if you know how fast price is cycling, then you know the correct period length to use for oscillators, so that they don’t suffer from horizon effects. I made like 17 adaptive indicators for TradeStation so far, and I’ll talk more about them if they turn out to be useful.

On the stability front, I did manage to break the platform at least 5 times, but that’s not as bad as it sounds. Luckily, the program is very modular (multiple communicating processes), so it never completely crashed. Instead, it continued working in some hampered fashion, and all five times I was able to save/verify whatever I was working on. That was really great.

3 out of 5 crashes happened when I changed some indicator code, while the indicator was also visible on a chart. Usually, this works without issues. The worst case is if the change introduces an error (like divide by zero, or if you rename a function that the indicator calls), and then the platform just tells you, and takes the indicator off the chart. No problem. Sometimes, though, it decides to die instead.

The other two crashes are a complete mystery to me. I was just typing in some code, and I think the syntax hi-lighter got confused and messed up the editor. Because, I was unable to type anything else new in that window, though I could edit stuff that was already there, in a limited way. Weird.

Some things I like:

Some things I don’t like:

I have a number of nit-picky things to say about the language itself, but that’s to be expected because I am a programming language nut. Overall, despite some annoyances, I’m very pleased with the platform so far. I haven’t come across anything yet where I couldn’t figure out how to do it. Of course, now the question is whether all the technology will make me more profitable, or if it’s just a fun distraction.

Comments

blog comments powered by Disqus