This is NOT for the faint of heart, so follow carefully and let me know if I made any mistakes.
- Select Studies->Edit Studies. This opens up the Edit Studies and Strategies window. Under the Studies tab select and right click the TTM_SqueezeCol study that you created from my previous article. Select copy. If you don't see TTM_SqueezeCol, then you don't have the study. You will have to get it to proceed. Follow these instructions. Seriously. I mean it.
- A new thinkscript window will open. Rename the study to TTM_SqueezeScan.
- Change the line that begins with plot BolKelDelta ... to def BolKelDelta ...
- Add the following line to the end of the study:
- Make sure that the editor is not reporting any errors and press OK.
- Now open up the Stock Hacker window under the scan tab.
- Click the red X on the Net Change and % change row. If your screen looks different, add or delete rows until you just have a volume row.
- Now click the Add Study Filter. You should have a window that looks similar to this:
- On the row that says ADX crossover, left click the small triangle on the right side of the box and select Custom.
- Replace the line that says ADXCrossover() with
plot foo = TTM_SqueezeScan();
- Click Okay.
- By default a scan will scan everything, this can take a while, so go ahead and set it up to scan a single index. In my example I use the S&P 100.
- Tighten things up even more by only scanning equities that are trading over a million shares.
- Now go ahead and hit the Scan button.
- If everything worked out okay, press Save Scan Query. You can now use this scan in any quote list.
plot signal1 = if( bolKelDelta < 0) then yes else no;
There you go, we now know that we have a couple of daily squeezes setting up on about 15% of the S&P 500. Are you interested in scanning the Futures market? Just select Scan In: Futures and decrease the volume to zero. Today, it looks like Oats and Cocoa are in a squeeze. Hmm, it looks like breakfast could get interesting.
No comments:
Post a Comment