Icon

TRADING THE ODDS

Icon

A quantitative approach to profit in the US equity and futures markets, trading the markets like professional card counters are playing Blackjack or expert poker players are playing Poker. The key is to have the odds on your side and bet accordingly, knowing what, when, where, why and how much you bet on each trade or wager.


By proceeding beyond this point and/or using the information presented on this site(s) the reader is deemed to have read, understood and fully and without reservation accepted the terms and conditions laid down in the Disclaimer. The information, analysis and commentary on this site is provided for statistical and informational purposes only. Nothing herein should be interpreted or regarded as personalized investment advice or to state or imply that past results are an indication of future performance. The author of this website is not a licensed financial advisor and will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on the content of this website(s). Under no circumstances does this information represent a recommendation or advice to buy, sell or hold any security.
( Data courtesy of MetaStock http://www.equis.com/ )

O|H|L|C Probability and Profitability (Part II)

This is a follow-up on my previous posting O|H|L|C Probability and Profitability (Part I) looking for historical probabilities and odds with respect to favorable setups on the long side of the market based on daily open|high|low|close prices of the SPY (S&P 500 SPDR).

Part II (I switched the order of precedence) deals with those combinations of streaks of higher/lower intraday and/or end-of-day prices which – from a statistical and historical point of view – represented a favorable setup on the long side of the market targeting a higher close on the then following session (e.g. probability and profitability for higher close on the then following session if the SPY had posted a lower low and a lower close on the same day on three consecutive sessions).

Table I below shows the SPY‘s historical (since 01/01/1990) performance (number of occurrences, % of winning trades, profit factor, median return, geometric growth rate per trade, maximum gain and maximum loss) on the then following session (next day returns) immediately following a session where one of the following setups (‘Setup‘) had been triggered on a number of (bandwith checked for: -25 … +25) consecutive sessions (‘Streak‘) in the past, assumed one would’ve bought the SPY on close of a session where the respective setup (see list below) had been triggered:

Setup 2: today’s open above (+1) / below (-1) below the previous session’s close
Setup 3: intraday high vs. previous session’s close (if negative: unfilled opening gap down)
Setup 4: intraday low vs. previous session’s close (if positive: unfilled opening gap up)
Setup 5: close vs. previous session’s close
Setup 6: open vs. previous session’s open
Setup 7: open vs. previous session’s high
Setup 8: open vs. previous session’s low
Setup 9: intraday high vs. previous session’s high
Setup 10: intraday high vs. previous session’s low (if negative: unfilled gap down)
Setup 11: intraday low vs. previous session’s low
Setup 12: intraday low vs. previous session’s high (if positive: unfilled gap up)
Setup 13: close vs. open
Setup 14: close vs. intraday high
Setup 15: close vs. intraday low
Setup 16: close vs. previous session’s open
Setup 17: close vs. previous session’s high
Setup 18: close vs. previous session’s low
Setup 19: intraday high vs. intraday low (intraday range)
Setup 20: during the first hour (price at 10:30 am vs. 09:30 am)
Setup 21: end of first hour (price at 10:30) vs. previous session’s close
Setup 22: start of last hour vs. end of first hour (price at 3:00 pm vs. 9:30 am)
Setup 23: start of last hour (3:00 pm) vs. previous session’s close
Setup 24: during the last hour (4:00 pm vs. 3:00 pm)
Setup 25: close vs. intraday range

Table I below itemizes only those occurrences and setups where the probability of a winning trade exceeds 66.67%, and the sample size (number of occurrences) is at least a double-digit number (>= 10).

How to read the stats:
(e.g. the first line): since 1990 there were 15 occurrences (Occ.) where the SPY opened above (Streak – in brackets – positive) the previous session’s close (Setup 2) on 4 consecutive sessions (‘Streak‘, in brackets), and closed higher (Setup 5) on the same 4 (‘Streak‘, in brackets) consecutive sessions as well. The SPY closed higher on the then following session on 66.67% (= 10 sessions) of all occurrences, showed a respective profit factor of 1.52, a median return of +0.11%, a geometric growth rate per trade of +0.1090%, a maximum gain of +1.13% and a maximum loss of -0.83% on the then following session.

(e.g. line four): since 1990 there were 18 occurrences (Occ.) where the SPY opened below (Streak- in brackets – negative ) the previous session’s close (Setup 2) on 2 consecutive sessions (‘Streak‘, in brackets), but posted a higher (‘Streak‘ positive, = +2) high (Setup 9) on the same 2 consecutive sessions as well (intraday strength and potential positive divergence). The SPY closed higher on the then following session on 72.22%  of all occurrences, showed a respective profit factor of 1.12, a median return of +0.41%, a geometric growth rate per trade of +0.10532%, a maximum gain of +3.08% and a maximum loss of -4.76% on the then following session.

Especially search for those setups with a high number of occurrences (the so-called ‘opportunity factor‘), a high median return / geometric growth rate per trade, an as low as possible maximum loss and high percentage of winning trade.

Table I
(01/01/1990 – today)

From my perspective, some of the most interesting findings are:

  • it is regularly a streak of higher – not lower – openings in combination with another setup which provided a favorable opportunity on the long side (buying strength on consecutive higher openings), contrary to what one might have assumed,
  • but – expectedly – it’s almost always a streak of intraday lows below the previous session’s close (setup 4) and lower closes (setup 5), which historically provided a favorable opportunity on the long side (going long on oversold conditions),
  • almost the same applies to setup 3 (an intraday high above the previous session’s close): it’s more often a streak of positive intraday highs in combination with another setup which provided a favorable opportunity on the long side (buying strength on consecutive sessions with an intraday high above the previous session’s close), not a streak of unfilled opening gap downs (an intraday high below the previous session’s close).

to be continued …

Successful trading,
Frank

________________________________

If you might want to be instantly notified about what’s happening in the markets and at TRADING THE ODDS, I encourage you to subscribe to my RSS Feed or Email Feed, and (or) follow me on Twitter.

xx

Disclaimer: No position in the securities mentioned in this post at time of writing.

The information on this site is provided for statistical and informational purposes only. Nothing herein should be interpreted or regarded as personalized investment advice or to state or imply that past results are an indication of future performance. The author of this website is not a licensed financial advisor and will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on the content of this website(s). Under no circumstances does this information represent an advice or recommendation to buy, sell or hold any security.

Add to Technorati Favorites

O|H|L|C Probability and Profitability (Part I)

Although the efficient-market hypothesis claims that prices of financial assets always exhibit random walk behavior and thus can not be predicted with consistency, history shows that there are a couple of favorable setups based on daily open|high|low|close prices of an asset which stood the test of time and may be part of a potential market timing strategy.

Part I today deals with those setups (based on price alone) which – from a longer-term and more recent history – showed a favorable opportunity on the long side of the market, while part II will deal with those setups which historically showed a favorable opportunity on the short side of the market. Part III at a later stage will take a deeper dive into favorable combinations of  setups on the long and short side of the market (e.g. x consecutive sessions where the SPY posted a higher high and a lower low on the same session), and part IV will deal with favorable opportunities on the long and short side of the market over the course of the then following x sessions (e.g. probability and profitability for at least one higher/lower close over the course of the then following 1 – 3 sessions after a respective signal had been triggered in the past).

Table I below shows the SPY‘s historical (since 01/01/1990) performance (number of occurrences, % of winning trades, median return, cumulative return) on the then following session (next day returns) immediately following a session where one of the following setups (‘Setup‘) had been triggered on a number of (bandwith checked for: -25 … +25) consecutive sessions (‘Streak‘) in the past, assumed one would’ve bought the SPY on close of a session where the respective setup (see list below) had been triggered:

Setup 2: today’s open above (+1) / below (-1) below the previous session’s close
Setup 3: intraday high vs. previous session’s close (if negative: unfilled opening gap down)
Setup 4: intraday low vs. previous session’s close (if positive: unfilled opening gap up)
Setup 5: close vs. previous session’s close
Setup 6: open vs. previous session’s open
Setup 7: open vs. previous session’s high
Setup 8: open vs. previous session’s low
Setup 9: intraday high vs. previous session’s high
Setup 10: intraday high vs. previous session’s low (if negative: unfilled gap down)
Setup 11: intraday low vs. previous session’s low
Setup 12: intraday low vs. previous session’s high (if positive: unfilled gap up)
Setup 13: close vs. open
Setup 16: close vs. previous session’s open
Setup 17: close vs. previous session’s high
Setup 18: close vs. previous session’s low
Setup 19: intraday high vs. intraday low (intraday range)
Setup 20: during the first hour (price at 10:30 am vs. 09:30 am)
Setup 21: end of first hour (price at 10:30) vs. previous session’s close
Setup 22: start of last hour vs. end of first hour (price at 3:00 pm vs. 9:30 am)
Setup 23: start of last hour (3:00 pm) vs. previous session’s close
Setup 24: during the last hour (4:00 pm vs. 3:00 pm)
Setup 25: close vs. intraday range

Table I and II below itemizes only those occurrences and setups where the probability of a winning trade historically exceeds 66.67%. A positive streak indicates a respective number of consecutive sessions with a positive return / higher close /close above … and vice versa.

How to read the stats:
(e.g. the fourth line): since 1990 there were 17 occurrences (# Occurr.) where the SPY opened below (Streak = -5) the previous session’s close (Setup 2) on 5 consecutive sessions (‘Streak‘). The SPY closed higher on the then following session on 70.59% (= 10 sessions) of all occurrences, showed a respective profit factor of 6.47, a median return of +0.3956% and cumulative returns of 25.73%. A streak of ’0′ means ‘unchanged’ (e.g. the SPY did not open above/below the previous session’s close, but opened unchanged).

Table I
(01/01/1990 – today)

From my perspective, some of the most interesting findings are:

  • It’s not always buying weakness which shows the highest probability and/or profitability for a higher close on the then following session, but buying strength as well; 15 out of those 44 favorable opportunities on the long side were triggered after a long streak of positive returns (e.g. going long after a streak of 9 consecutive sessions where the SPY opened above the previous session’s close),
  • long-term, setup 10 (an unfilled gap down) and 12 (an unfilled gap up) did never provide a favorable (from a probabilties perspective) opportunity on the long side, even after a streak of x consecutive sessions with an unfilled gap up/down.

Due to the fact that the market(s) showed a different behaviour during the 90th (trend-following was the dominant theme) and 20th (short-term mean reversion was/is the dominant theme), Table II below now shows the SPY‘s historical (since 01/01/2000) performance (number of occurrences, % of winning trades, median return, cumulative return) on the then following session (next day returns) immediately following a session where one of the following setups (‘Setup‘) had been triggered on a number (bandwith checked for: -25 … +25) of consecutive sessions (‘Streak‘) in the more recent past, assumed one would’ve bought the SPY on close of a session where the respective setup had been triggered:

Table II
(01/01/2000 – today)

From my perspective, some of the most interesting findings are:

  • especially three consecutive closes below the previous session’s low (setup 18) provided a favorable entry on the long side of the market (with respect to the raw number of occurrences, the respective probability for a higher close on the then following session, the profit factor and median trade), likewise during the 90th and 20th,
  • 2 consecutive sessions with an open above the previous session’s high (setup 7) are a more recent (bullish) appearance; this setup didn’t make it in the long-term list (Table I, since 1990), but showed one of the more favorable opportunities on the long side since 2000,
  • setup 11 where the SPY posted a series of 5 consecutive sessions with a low below the previous session’s low is one of the most favorable setups. It shows a relatively high number of occurrences (35 since 2000), a winning percentage in excess of 70%, and most interesting a median return on the then following session of almost +1.0%. Next to setup 11 is setup 23 where the SPY posted a series of 5 consecutive sessions trading below the previous session’s close going into the last hour of the session, closing higher the next session on every 3 out of 4 sessions with a median return in excess of 1.0%, and finally
  • it’s not always buying weakness which shows the highest probability and/or profitability for a higher close on the then following session, but buying strength as well; more than 50% (29) out of those 57 favorable opportunities on the long side were triggered after a long streak of positive (the so-called ‘overbought‘ conditions) instead of negative returns (e.g. going long after a streak of 2 consecutive sessions where the SPY opened above the previous session’s high).

Successful trading,
Frank

________________________________

If you might want to be instantly notified about what’s happening in the markets and at TRADING THE ODDS, I encourage you to subscribe to my RSS Feed or Email Feed, and (or) follow me on Twitter.

xx

Disclaimer: No position in the securities mentioned in this post at time of writing.

The information on this site is provided for statistical and informational purposes only. Nothing herein should be interpreted or regarded as personalized investment advice or to state or imply that past results are an indication of future performance. The author of this website is not a licensed financial advisor and will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on the content of this website(s). Under no circumstances does this information represent an advice or recommendation to buy, sell or hold any security.

Add to Technorati Favorites

BLOGROLL

Twitter Feed

     SPY (S&P 500 SPDR.)

DISCLAIMER

The information on this site is provided for statistical and informational purposes only. Nothing herein should be interpreted or regarded as personalized investment advice or to state or imply that past results are an indication of future performance. Under no circumstances does this information represent an advice or recommendation to buy, sell or hold any security.

The author of this website is not a licensed financial advisor and will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on the content of this website, including the information that others post here.

While every effort will be made to provide complete, the most accurate and current information, none of the information on this site is guaranteed to be correct, and anything written here should be subject to independent verification. I make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to this blog or the information, analysis, statistics, or related graphics contained on the blog for any purpose.

I may or may not hold positions for myself, my family and/or clients in the securities mentioned here. Actions may have been taken before or after information is presented, and any opinions expressed in this site are subject to change without notice.

Please read the full ... DISCLAIMER

Archives