Free Indicators

The Stock Market Crash Indicator [Free Code]

image of Barry Taylor from Emini-Watch.com

Barry Taylor

image of when will the stock market crash

When will the stock market crash? Everyone would like to know the answer to that question!

Large Contract (SP) Data No Longer Available

On 30 September 2021 the large S&P500 contract (symbol: SP) ceased trading. The Stock Market Crash Indicator featured in this video and article is based on this contract. As a consequence the indicator and stock market crash signal unfortunately no longer work.

Well, here’s a simple indicator, using the weekly Commitment of Traders data, that has correctly signalled 10 of the last 10 market corrections and crashes – with only 5 false signals – since 1990.

And as I’m updating this article, in late March 2015, we’ve just had another crash warning signal go off. So let’s see how this one plays out.

Barry, Just a word … Thanks!! The analysis of COT was simply amazing … I’m very thankful I ran into your site and your indicators.

Geoffrey B.

Fasinating, Insightfull, Educational. Thank You!

John C.

But before we get to the indicator code, let’s check out the stats and charts.

The Stock Market Crash Indicator has pretty good stats

when will stock market crash stats 1

The indicator has signalled all 10 of the last corrections and crashes since 1990. The average delay between the signal and the market high is 5 weeks – but has been as high as 18 weeks. Most of the time there is a single indicator signal, but occasionally a double. And the indicator has only ever produced 5 false signals (some might count it as 6 though).

Certainly worth keeping track of.

The last Crash Warning Signal predicted the 2014 correction

when will stock market crash 2014 1
Stock Market Crash Warning: 26 September 2014

Although this last correction was only 9.9% on the S&P500 futures, it was so close to the 10% technical definition of a correction that I’m going to count it. During this correction, the NASDAQ fell 10.7% and the Russell 14.4% – which shows the market sell-off was sizeable.

Having this successful signal re-confirmed the usefulness of this indicator to me, having had 3 false signals during 2013 and early 2014.

We had 3 false Signals during 2013 and early 2014

stock market crash 2014 1
Stock Market Crash Warning: 2013 – 2014

The crash warning signals during 2013 and early 2014 just never worked out. We had 3 in-a-row but the market was just too strong and the Commitment of Traders data quickly reversed and the uptrend continued. Maybe Fed intervention and continued Quantitative Easing just kept the market from behaving “normally” and correcting. Who knows.

And here are the Indicator signals since 1990

stock market crash indicator 10 13 1
Stock Market Crash Indicator: 2010 – 2013
stock market crash indicator 06 09 1
Stock Market Crash Indicator: 2006 – 2009
stock market crash indicator 03 06 1
Stock Market Crash Indicator: 2003 – 2006
stock market crash indicator 97 00 1
Stock Market Crash Indicator: 1997 – 2000
stock market crash indicator 93 96 1
Stock Market Crash Indicator: 1993 – 1996
stock market crash indicator 89 92 1
Stock Market Crash Indicator: 1989 – 1992

The Indicator code is essentially 3 lines

stock market crash indicator code 1
Stock Market Crash Indicator: TradeStation EasyLanguage Code

The setup for this Stock Market Crash Indicator goes like this:

  1. Professionals hedging as the market makes new 52 week highs, then
  2. They reduce their hedges as the market strength continues, until
  3. They end up with a net-Long position, and finally
  4. Start Shorting in anticipation of a stock market correction.

And a snippet of the indicator code in TradeStation EasyLanguage is shown above.

Please remember the caveat discussed in the video above: the indicator is based on the SP contract data which is becoming more and more thinly traded. Despite this, I’ll continue to track the progress of this remarkable Stock Market Crash Indicator.

Now, can the Bond market help forecast when the stock market will crash? Check out this Bond Market indicator: The Intermarket Oscillator

Stock Market Crash Indicator for TradeStation

You can download the TradeStation EasyLanguage code in both .ELD and text formats below. Use the indicator on weekly charts of @SP.P to duplicate the signals. The indicator is provided free, so please, give credit if due and don’t expect support.

About the Author

Barry Taylor is a full-time trader, owner of Emini-Watch.com and developer of the ‘Better’ Trading Indicators. The ‘Better’ Indicators are a unique set of 3 non-correlated indicators that will give you an edge, whether you’re a day trader, swing trader or investor. With over 14 years of full-time trading and traveling, Barry splits his time between Byron Bay, Biarritz and Kauai.

image of volume indicator

The Better Volume Indicator [Free Code]

Most traders ignore volume. Big mistake! Big! Huge! Volume has to be the most underrated market variable used in technical analysis. But if you know how to analyze and interpret it, you’ll be able to see market turning points develop and anticipate pullbacks and trend changes. You can figure out ...

image of global macro rotation indicator

The Better Rotation Indicator [Free Code]

The Better Rotation Indicator uses 8 major ETFs to track Global Macro trends. This indicator helps visualize the rotations from one Global Macro asset class to another – from unloved and over-sold to hot and being chased by the herd. Right now (4Q 2016) we’ve got a rotation taking place ...

image of TradeStation free code Vertical Line Time

The Vertical Line Time Indicator [Free Code]

Here’s a free TradeStation indicator that uses the new drawing object classes to plot vertical lines on your charts at any time you want. I use the indicator to mark the four most important times of the trading day/week: You can adjust the indicator inputs to plot the four lines ...