Intraday Scanning With Ameritrade StrategyDesk 1.0

I’ve waited patiently for weeks and weeks for TDAmeritrade to come out with StrategyDesk 2.0. Or maybe StrategyDesk 1.1. Hell, I’d be excited to see version 1.01. As I’ve said over and over, the clunky interface and next- to- useless documentation are hindering what appears to be a very promising piece of software.

Instead, we’re nearing the end of February and are still stuck with v1.0 and a manual that looks like a non- English- speaking 8th-grader wrote it. I figured about the time I went to the trouble to do some annotated screenshots and a minor tutorial, they’d release a real users manual and my effort would have been in vain. So far, nothing. So here goes- if you want to get your feet wet with StrategyDesk, maybe this will help get you started.

I’m going to focus tonight on what I feel is the most important ability of StrategyDesk: its real-time scanning capability.

First, you’ve got to have a very clear idea what you want to do. You never realize how “flexible” all your trading rules are until you try to put them in writing, or even better, program them. You’ll often find that your “rules” have so many “exceptions” that they aren’t really rules at all. More like suggestions, if that, and your constant bending of them causes you great agony in the end.

I’ll write more about this in a separate article, but in scanning for potential daytrades what we’re trying to do is simultaneously narrow the field and improve the quality of candidates with each “rule” or criteria we add. For instance, the first “cut” many daytraders make is with gaps. Not all stocks that make a big run start with a gap, and not all gaps result in big runs (in fact, if you read my ramblings I’m sure you know one of my favorite plays is on an Opening Gap Reversal), but requiring a gap can drastically reduce your workload and improve your odds- you might be looking at a list of 100 stocks of which 20 are likely to be strong winners, as opposed to 5000 stocks of which 50 are. Yes, you cut out some winners, but you improve the quality of the remaining field by an exponential amount.

Ideally, we’d continue to add this requirement and that filter, and end up with a list of 5 stocks with 4 very likely winners. That’s a little pie- in- the- sky (at a certain point additional criteria do more harm than good), but you see what I’m getting at. We can’t mourn for every winner we may have excluded; that’s not what’s important. What we want is a small, strong set of candidates, and then we use our chart-reading, executions, stops and money management to spank those puppies.

Ok, so we’ve fired up StrategyDesk and arranged our layout. I close everything except three windows:

StrategyDesk Screenshot
(not clickable, just for show)
  • Window 1 is my intraday chart, ranging from 3min to 30min bars. I do not use this chart to make trades! It’s too clunky. I have Medved Quotetracker (another freebie) running on the other monitors for that.

  • Window 2 is a daily chart, about 30-40 bars long. I cannot overemphasize the importance of knowing exactly where a stock is on its daily chart when you’re trying to daytrade it. Daily bar support/resistance levels play a large role in intraday thrusts and reversals, and without them you’re driving blind.

  • Window 3 is my Screener window, which shows the real-time results of whichever scan I have running at the moment.

 

Let’s Build That Screener!

For this example, I’m going to use a setup that most of you have seen or traded already: the famous 30-minute pullback to the 5ema. Sounds pretty simple, no? Au Contraire! Read on…

I like stocks over $20, and I like stocks with reliable volume. You may not agree, and you may make millions on lower-priced, thinly-traded stocks. More power to you. But they give me gas. So the first thing I want to do is reduce my universe of candidates to stocks over $20 with a 30-day average daily volume of over 200,000 shares. So far, I have found no way to screen for average volume with StrategyDesk, other than to take today’s volume, today minus one, today minus two, etc for the past month, then add them up and divide by 30. Yeah, you gotta be kiddin’ me.

Also, StrategyDesk won’t scan “the stock market” as it is. You must choose a list of stocks on which the Screener operates. Here is where I saw an opportunity. But more about that in a minute.

SD (I’m tired of typing the name out) comes with only a handful of default symbol lists: The NDX, the S&P 500, the OEX, the S&P Midcap 400, the Dow, and the Nasdaq Financial 100. That’s right- the Nasdaq composite is not included! However, this is relatively straightforward to remedy:

  • Go to the Nasdaq Market Site. Locate the option to download the Composite list to a spreadsheet.

  • In the spreadsheet, delete all the rows and columns except for the ticker symbols. Now drag over them (guess you could do this without the deleting, but it’s clearer this way) and Copy & Paste them into Notepad.

  • Once you have that long list (over 3000 stocks!) running down the left side of your Notepad window, do a Save As- and here’s the tricky part: save the file in your TD AMERITRADE\StrategyDesk\Symbols\Stock Indexes directory, and save it with the extension “.sym“. It’s still just a text file, but this way the Screener will recognize it as a symbol list.

Voila, you now have the Comp at your disposal. Now that we’ve walked through how to do it, you can collect any variety of symbol lists you like, and as for the Comp, you can see I’ve been there and done that, so feel free to grab the .sym file from me.

The opportunity I saw with this crazy symbol-list stuff was that I could include my volume screens via a pre-screened symbol list. I fired up a different program (Advanced Analyzer, yes, another freebie) and set up a screen for all the stocks over $20 and with average volume over 200k. I exported the results of that screen (about 1000 stocks) using the method described above. If you want to grab that one too, here it is. And now, only 85 lines of html later, we’re ready to start writing formulas.

 

My apologies, but it’s late, I’ve installed a new stereo in my car today, wired HyperLites onto my motorcycle, grilled for the girls, watched a movie with them, and gotta get up at 0530 to go to work. Will do my best to finish this article tomorrow night.

10 Comments

  1. Gabriel said,

    February 24, 2007 @ 4:51 pm

    You rock! Thanks for the symbol lists. I just started playing with strategy desk. Your symbol lists should saved me a lot of labor.

    Thanks–

  2. Gabriel said,

    February 24, 2007 @ 6:16 pm

    Ok, I’ve got a bit more data here. Now, while you can’t scan the entire market, you can filter for average volume with a little massaging.

    In this Formula: Bar[Volume,D] > 1

    The D Stands for day. You can Also use W,M or Y for Week, Month or Year respectively. So, I took your $COMPX list and scanned for Securities with an average volume of > than 200,000 average for the month.

    ( Bar[Volume,M,1] / 30 ) > 200000

    I used the volume for the previous month since I assume on march 1st the month volume will only be a days volume.

    Here I added a test for LAST trade of greater than 20:

    ( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20

    Next, I added their example gap test:

    ( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20 AND Bar[Open,D] - Bar[Close,D,1] >= 2

    That’s only for a 2 point gap UP, we’ve have to have a duplicate formula for gap down. Plus, 2 points is allot for some stocks, but not for others. I’d like a way scan for a % gap up or down.

    Here’s the Big ugly Formula for Up or Down 1 point. All I did was duplicate the previous formula, add an OR operator and change the gap check.

    (( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20 AND Bar[Open,D] - Bar[Close,D,1] >= 1) OR ( ( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20 AND Bar[Open,D] - Bar[Close,D,1]

  3. Gabriel said,

    February 24, 2007 @ 6:18 pm

    ugh, my post was too long, here’s the rest:

    (( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20 AND Bar[Open,D] - Bar[Close,D,1] >= 1) OR ( ( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20 AND Bar[Open,D] - Bar[Close,D,1]

  4. Gabriel said,

    February 24, 2007 @ 6:20 pm

    ARG! The script looks like HTML code to the page! Here’s the script, hopefully postable:

    (( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20 AND Bar[Open,D] - Bar[Close,D,1] >= 1) OR ( ( (Bar[Volume,M,1] / 30) > 200000 ) AND Last > 20 AND Bar[Open,D] - Bar[Close,D,1]

  5. Will said,

    February 24, 2007 @ 8:27 pm

    Gabriel- thank you so much for the volume formula! That’ll save a lot of work! I know sometimes Wordpress’ trying to “help” by converting symbols to code is a royal PITA; I end up using a lot of escaped characters when I’m trying to present a sample, especially of HTML itself or PHP. I appreciate your going to the effort to get that formula to show up in the comments (although it still looks like it chopped off the last operator, but I get the gist).

    I’ve also had some problems with SD’s inability to interpret more than a couple of nested parentheses (i.e. wonder if we could eliminate the repeat of the volume/price test by putting the OR statment in parentheses after the second AND)… I guess Excel has spoiled me over the years and I’m used to putting 20 or more parenthetical statements inside each other. I’m in the middle of a long string of work days, including the weekend, but I’m following up a little tonight with a new post.

    Please feel free to comment and share your formulas whenever you like. We may end up with our own “unofficial” users’ manual, or God forbid, make some money!

  6. Mike Griggs said,

    March 12, 2007 @ 3:59 am

    Here’s the code for “2% Gap Up at Open”

    ((Bar[Open,D] - Bar[Close,D,1] )/ Bar[Close,D,1] )*100 >= 2

    Here’s the code for “2% Gap Down at Open”

    ((Bar[Close,D,1] - Bar[Open,D])/ Bar[Close,D,1] )*100 >= 2

    Drop me an email directly if you need some help with the programming of the formulas.
    Mike
    info@stringsandbeyond.com

  7. Will said,

    March 12, 2007 @ 6:12 am

    Mike- thanks for the visit! We’ve covered the gap formula and a couple of others already in a separate post, but I appreciate your generosity and look forward to your input. “Without a decent reference, we need all the help we can get.”

  8. TDAmeritrade StrategyDesk 1.2 - Looks Like Someone Is Listening • dummyspots.com said,

    April 13, 2007 @ 11:16 pm

    […] DummySpots: (in this article I described how to download and create your own StrategyDesk symbol list for the Nasdaq Comp and other indices that inexplicably were not included with the program) […]

  9. Cindy said,

    May 8, 2007 @ 9:45 am

    HI - Thanks much for the list idea. I cant seem to get it to imiport. I ve got it on the notepad. Is there anyone who can assist me? This file name above..
    TD AMERITRADE\StrategyDesk\Symbols\Stock Indexes.sym
    Am i supposed to save it directly in the stock indexes folder in ameritrade? When I try to do that, it does not allow.

    ANy hlep would be greatly appreciated! Please feel free to email direct at “cingross -at- cox (dot) net”

  10. Will said,

    May 9, 2007 @ 10:31 am

    Cindy- I’ve sent you an email with more info on saving these files in the current version of StrategyDesk. Thanks for visiting!

RSS feed for comments on this post