Dear Ralph,
We killed like champions.

I think of this line from Hunter Thompson every time I book a good win.
I miss you, man.

Restaurant Recession, an update

I thought about this podcast while watching this video:

The most pressing quote from the guest:

[We have] 3000-5000 too many restaurants in this country.

Summarizing and a likely outcome:

Fast casual is taking diners away from dine-in casual as the food is getting better and the customer doesn’t have to pay a tip. Also, my take, is that with more automation in fast casual, fewer tips being paid to dine-in casual, and fewer employees needed as we close those “3000-5000” too many restaurants, jobs are going to start disappearing. The good news for diners is that the experience of dining in might start to improve as the wait staff starts to appreciate having a job as others lose theirs, which equates to better and more friendly service.

I love a good downturn.

The Long Way

I have a lot of time on my hands to run random studies during the day to see what happened the last time a particular setup appeared. Sometimes my studies yield interesting looks at the market and other times, meh, not so much.

Yesterday I noticed that the e-mini S&P had closed lower than it opened on six of the last seven days. I wasn’t sure how to code that question into thinkorswim (my trading platform) so if the code looks a little more verbose than it should be, well then feel free to help me shorten it by adding a comment below.

First, the code:

# random thoughts

def a1 = close < open;
plot b1 = if a1 is true then 1 else 0;
def a2 = close[1] < open[1];
plot b2 = if a2 is true then 1 else 0;
def a3 = close[2] < open[2];
plot b3 = if a3 is true then 1 else 0;
def a4 = close[3] < open[3];
plot b4 = if a4 is true then 1 else 0;
def a5 = close[4] < open[4];
plot b5 = if a5 is true then 1 else 0;
def a6 = close[5] < open[5];
plot b6 = if a6 is true then 1 else 0;
def a7 = close[6] < open[6];
plot b7 = if a7 is true then 1 else 0;
plot roosevelt = (b1 + b2 + b3 + b4 + b5 + b6 + b7) > 5;
AssignPriceColor(if roosevelt is true then color.blue else Color.CURRENT);
AddLabel(yes, if roosevelt is true then “true” else “”, color.yellow);

Now the picture:

I was expecting to see that perhaps the bears were adding selling pressure on the occurrences, and that the sellers would have eventually driven the market lower after each one of these 6-of-7 occurrences (marked with yellow arrows on the chart). Wrong. Each occasion saw the bulls roaring back from swing lows; the one exception being that time just before the big drop during the summer of 2015. I only ran the study with a look-back of three years, so if you want to run it for longer just copy and paste the code and see what you get.

Cheers, and stay safe out there.