Beating the S&P500 (SPX) Buy&Hold strategy by 16 timesS&P500 (SPX) strategy using Stochastic RSI Min-Max, normalized Volatility and Trailing Stop signals, beats the Buy&Hold strategy by 16 times
Embarking on the quest to time the market accurately, the 'Holy Grail' of strategies, led me to create a script to approach this goal. Unlike other strategies that I tested, this one not only surpasses the long-term S&P500 Buy&Hold approach but does so by a remarkable 16.38 times!
Initially, I employed an A.I. program based on an LSTM Neural Network using TensorFlow. Despite achieving a 55% next-day prediction accuracy for short/long positions, I sought improvement using a heuristic pine-scripting approach, incorporating stochastic RSI oscillators, moving averages, and volatility signals.
With default parameters, this strategy, freely available as "XPloRR S&P500 Stock Market Crash Detection Strategy v2" delivered a staggering 2,663,001% profit since February 1871. In the same period, the Buy&Hold strategy "only" generated 162,599% profit. Picture this: a $1,000 investment in 1871 would now be worth $26,630,014 by February 2024. Check it out for yourself loading this strategy.
The script operates as a Stochastic RSI Min-Max script, automatically generating buy and sell alerts on the S&P500 SPX. What sets it apart? The strategy detects "corrections," minimizes losses using Trailing Stop and Moving Average parameters, and strategically re-enters the market after detecting bottoms using tuned Stochastic RSI signals and normalized Volatility thresholds.
Tailor its parameters to your preference, use it for strategic exits and entries, or stick to the Buy&Hold strategy and start new buy trades at regular intervals using buy signals only. In the pursuit of minimizing losses, the script has learned the effectiveness of a 9% trailing stop on trades. As you can clearly see on the upper graph (revolving around 100), the average overall green surfaces (profits) of all trades are much bigger than the average red surfaces (losses). This follows Warren Buffets first rule of trading to "Never lose money" and thus minimizing losses.
Update: Advanced S&P500 Stochastic RSI Min-Max Buy/Sell Alert Generator
I have also created an Alerter script based on the same engine as this script, which auto-generates buy and sell alert signals (via e-mail, in-app push-notifications, pop-ups etc.).
The script is currently fine-tuned for the S&P500 SPX tracker, but parameters can be fine-tuned upon request for other trackers or stocks.
If you are interested in this alerter-version script or fine-tuning other trackers, please drop me a message or mail xplorr at live dot com.
How to use this Strategy?
Select the SPX (S&P500) graph and set the value to "Day" values (top) and set "Auto Fit Data To Screen" (bottom-right).
Select in the Indicators the "XPloRR S&P500 Stock Market Crash Detection Strategy v2" script and set "Auto Fit Data To Screen" (bottom-right)
Look in the strategy tester overview to optimize the values "Percent Profitable" and "Net Profit" (using the strategy settings icon, you can increase/decrease the parameters).
How to interpret the graphical information?
In the SPX graph, you will see the Buy(Blue) and Sell(Purple) labels created by the strategy.
The green/red graph below shows the accumulated profit/loss in % of to the initial buy value of the trade (it revolves around 100%, 110 means 10% profit, 95 means 5% loss)
The small purple blocks indicate out-of-trade periods
The green graph below the zero line is the stochastic RSI buy signal. You can set a threshold (green horizontal line). The vertical green lines show minima below that threshold and indicate possible buy signals.
The blue graph above the zero line is the normalized volatility signal. You can set a threshold (blue horizontal line) affecting buy signals.
The red graph above the zero line is the slower stochastic RSI sell signal. You can set a threshold (red horizontal line). The red areas indicate values above that threshold.
However real exits are triggered if close values are crossing below the trailing stop value or optionally when the fast moving average crosses under the slow one. The red areas above the threshold are rather indicative to show that the SPX is expensive and not ideal to enter. Please note that in bullish periods the red line and areas can stay at a permanent high value, so it is not ideal to use as a strict sell signal. However, when it drops below zero and the green vertical lines appear, these are strong buy signals together with a high volatility.
These Parameters can be changed
Buy Stochastic Lookback
Buy Stochastic Smoother
Buy Threshold
Buy Only After Fall
Minimum % Fall
Sell Stochastic Lookback
Sell Stochastic Smoother
Sell Threshold
Sell Only With Profit
Minimum % Profit
Use Sell MA
Fast MA Sell
Slow MA Sell
MA Sell Threshold
Use Buy Volatility
Volatility Smoother
Volatility Threshold
Use Trailing Stop
Use ATR (iso of a fixed percentage for the trailing stop)
ATR Lookback
Trailing Stop Factor(or fixed percentage if "use ATR" is false)
Trailing Stop Smoother
Important : optimizing and using these parameters is no guarantee for future winning trades!
Volatility
NQ Power Range Report with FIB Ext - 2/23/2024 SessionCME_MINI:NQH2024
- PR High: 18049.75
- PR Low: 18019.00
- NZ Spread: 68.75
No significant calendar events
Back near ATHs, last explored 2/12
- Holding above 2/16 pivot
Evening Stats (As of 1:05 AM)
- Weekend Gap: N/A
- Gap 10/30 +0.47% (open < 14272)
- Session Open ATR: 252.25
- Volume: 23K
- Open Int: 296K
- Trend Grade: Bull
- From BA ATH: -0.4% (Rounded)
Key Levels (Rounded - Think of these as ranges)
- Long: 18106
- Mid: 16963
- Short: 16391
Keep in mind this is not speculation or a prediction. Only a report of the Power Range with Fib extensions for target hunting. Do your DD! You determine your risk tolerance. You are fully capable of making your own decisions.
BA: Back Adjusted
BuZ/BeZ: Bull Zone / Bear Zone
NZ: Neutral Zone
AAPL has settled into support and is good to go LONGAAPL is shown here on the 15-minute chart. The nuts and bolts of the idea are there as well.
AAPL is done with sideways action. Big players have accumulated their positions in small
parcels t not disturb the status quo. Apple no matter the headwinds nor the tailwinds
of other tech stocks in recent earnings is ready to fly some more on its own merits.
I will bite the apple now.
NQ Power Range Report with FIB Ext - 2/22/2024 SessionCME_MINI:NQH2024
- PR High: 17710.00
- PR Low: 17675.50
- NZ Spread: 77.25
Significant calendar events
08:30 | Initial Jobless Claims
09:45 | S&P Global US Manufacturing PMI
- S&P Global Services PMI
10:00 | Existing Home Sales
11:00 | Crude Oil Inventories
FOMC volatility driving price back to weekly supply
- Daily print, pivot long
- Pushing ~70 points above prev session high
- Finding resistance near Tuesday's highs
Evening Stats (As of 12:05 AM)
- Weekend Gap: N/A
- Gap 10/30 +0.47% (open < 14272)
- Session Open ATR: 248.28
- Volume: 47K
- Open Int: 286K
- Trend Grade: Bull
- From BA ATH: -1.8% (Rounded)
Key Levels (Rounded - Think of these as ranges)
- Long: 18106
- Mid: 16963
- Short: 16391
Keep in mind this is not speculation or a prediction. Only a report of the Power Range with Fib extensions for target hunting. Do your DD! You determine your risk tolerance. You are fully capable of making your own decisions.
BA: Back Adjusted
BuZ/BeZ: Bull Zone / Bear Zone
NZ: Neutral Zone
NIFTY 22 FEB 2024 viewIf we look at derivative data
0.80% % DECREASE, with a 3.6% addition in open interest.
if we look at volume, there is a 23% rise compared to yesterdays volume
iv down by 4 points , pcr is at low point of week and IVP AT 89 percentile .
support now at 21930-21960 while after todays cool offnow 22250 -22280 likely to act as a resistance zone
NQ Power Range Report with FIB Ext - 2/21/2024 SessionCME_MINI:NQH2024
- PR High: 17590.75
- PR Low: 17563.25
- NZ Spread: 61.5
FOMC day
14:00 | FOMC Meeting Minutes
Sold to 17550 inventory zone
- Volume returned to avg
Evening Stats (As of 12:05 AM)
- Weekend Gap: N/A
- Gap 10/30 +0.47% (open < 14272)
- Session Open ATR: 236.34
- Volume: 22K
- Open Int: 286K
- Trend Grade: Bull
- From BA ATH: -3.1% (Rounded)
Key Levels (Rounded - Think of these as ranges)
- Long: 18106
- Mid: 16963
- Short: 16391
Keep in mind this is not speculation or a prediction. Only a report of the Power Range with Fib extensions for target hunting. Do your DD! You determine your risk tolerance. You are fully capable of making your own decisions.
BA: Back Adjusted
BuZ/BeZ: Bull Zone / Bear Zone
NZ: Neutral Zone
SOUN might be overbought and overvalued for a reversalSOUNDHound AI on the 15 minute on Wednesday 60 hours ago, broke out after a trend down to
begin the year. The tailwinds of the technology stock earnings and their tailwinds pushed hard.
SOUN broke out through the entire high volume area and then rose above it. Pretty much the
same from the lower aVWAP bands into the uppers after crossing over the mean line.
On the three indicators, RSI , MACD and the Chop index bearish diveragence is seen. This may
be an early reversal in progress but then again it might just be prudent traders liquidating to
take full or partial profits to close out the week. I am running full on this, I will watch the
price action early next week to determine a continuation vs a reversal. Relative volume
and relative volatility may show long traders closing with targets reached and shorts taking
their positions causing a pivot high of even a " long squeeze". Alerts and their notifications are
set on a 5-minute time frame to allow for some early warning. On the other hand it SOUN
can put out some higher decibels I may decide to look at the 2/16 options chain and chart
for an OTM call in the $2.5 or $3 range.
AMZN in a triangle pattern LONGAMZN on the 15 minute time frame is in a relative symmetrical triangle pattern. A volume
profile and intermediate term anchored VWAP are overlaid. They validate one another since
the POC line and the mean anchored VWAP line up. Price is below both of them. My forecast
is that price will rise and temporarily so sideways in the high volume and volatility zone
of VWAP / POC and then ascend higher as that tug o war is finalized. My long target for now
is 170.35 as the top boundary line of the high volume area of the VP. This is a good trade
for shares on margin to get some juice into the trade. I will instead take call options for
March 16th striking $ 172 for some leverage and beyond linear RIO. AMZN is good to go.
Admittedly, this is an early bird trade. I see the risk as minimal.
NQ Power Range Report with FIB Ext - 2/20/2024 SessionCME_MINI:NQH2024
- PR High: 17790.00
- PR Low: 17738.75
- NZ Spread: 114.75
No signficant calendar events
High vol open creating super wide NZ spread
- Anticipated high volume following virtually a long weekend
- Maintaining prev week's range
- Daily print showing pivot to downside
- Breaking lows of engulfing bar
Evening Stats (As of 12:05 AM)
- Weekend Gap: N/A
- Gap 10/30 +0.47% (open < 14272)
- Session Open ATR: 235.22
- Volume: 133K
- Open Int: 285K
- Trend Grade: Bull
- From BA ATH: -2.3% (Rounded)
Key Levels (Rounded - Think of these as ranges)
- Long: 18106
- Mid: 16963
- Short: 16391
Keep in mind this is not speculation or a prediction. Only a report of the Power Range with Fib extensions for target hunting. Do your DD! You determine your risk tolerance. You are fully capable of making your own decisions.
BA: Back Adjusted
BuZ/BeZ: Bull Zone / Bear Zone
NZ: Neutral Zone
XAUUSD Trendline Downside❤️MY FOREX TEAM❤️
INFORMATION
Gold price is set to finish the week with losses, even though has recovered some ground. According to the daily moving averages (DMAs), XAU’s is upward biased, but since reaching $2088 on December 28, it has printed successive series of lower highs/lows, opening the door for further downside. If XAU/USD prints a daily close below $2000, that could sponsor a leg-down to the 100-DMA at $1996.10, followed by the December 13 low of $1973.13. A breach of the latter will expose the 200-DMA at $1965.46.
🔥BUY AND SELL SIGANALS UPDATE ON MONDAY
❤️MY FOREX TEAM - Technical Analysis
Technical indicators SMA | EMA | MACD | SAR | VWAP | RSI | MARKET TREND | NEWS
❤️NOTE
Geopolitical Tension week gold in downtrend
❤️MONEY CAPITAL MANAGEMENT
⚡️ Only Trade With Risk Capital
⚡️ Cut Losses Short, Let Profits Run On
⚡️ Avoid Using Too Much Leverage
⚡️ Avoid Taking Too Much Heat
⚡️ Do Not Give in to Greed
⚡️ Take profit equal to 4-6% of your capital
⚡️ Stop lose equal to 2-3% of your capital
LABU / LABD Ratio Anchored VWAP over /under LABU LONGOn the weekly chart a LABU / LABD ratio is plotted with anchored VWAP bands and a volume
profile overlaid. I wanted to analyze this to affirm the highest of prospects for the
Biotechnology sector for 2024. LABU is triple leveraged Up while LABD is the inverse Down.
A good unleveraged biotech ETF is XBI. The chart shows LABU in a VWAP band and breakout
through the hohg volume area and then over it beginning early November. Unusually high
relative volume and volatility ramped up about the same time.
I readily conclude that LABU is the buy right now with the ratio rising. It is a low beat ETF
with good range due to the leveraging and high forecasts for 2024. I will make buys on
LABU at regular intervals on a 60-120 minute time frame looking for the weekly lows.
I will set an alert for a falling ratio on the 3H to daily chart to assess should the supertrend
fade. I believe that this will be a safe low risk swing long trade.
Will Goldman Get Going?Goldman Sachs has gone nowhere for two months, but some traders may look for that to change.
The first pattern on today’s chart is the $374 level. It was a weekly closing price from January 2023 that GS remained below through late December. The stock rallied above it at the end of last year and has remained there since. That could suggest old resistance has become new support.
Next, Bollinger Band Width narrowed during the consolidation period. Will price expansion follow that period of compression?
Third, the 50-day simple moving average (SMA) had a “golden cross” above the 200-day SMA in December. That may suggest its longer-term trend has grown more bullish. (GS also bounced at the 50-day SMA this week.)
Next, the 8-day exponential moving average (EMA) has remained above the 21-day EMA. That may reflect bullishness in the shorter term.
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. See our Overview for more.
Important Information
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options, futures or cryptocurrencies); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission (“SEC”) and a futures commission merchant licensed with the Commodity Futures Trading Commission (“CFTC”). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association (“NFA”), and a number of exchanges. TradeStation Crypto, Inc. offers to self-directed investors and traders cryptocurrency brokerage services under federal and state money services business/money-transmitter and similar registrations and licenses.
TradeStation Securities, Inc., TradeStation Crypto, Inc., and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., all operating, and providing products and services, under the TradeStation brand and trademark. TradeStation Crypto, Inc. offers to self-directed investors and traders cryptocurrency brokerage services. It is neither licensed with the SEC or the CFTC nor is it a member of NFA. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
NQ Power Range Report with FIB Ext - 2/16/2024 SessionCME_MINI:NQH2024
- PR High: 17960.00
- PR Low: 17944.25
- NZ Spread: 32.25
Key economic calendar events
08:30 | PPI
Inching above Wed's high, prev session close
- Daily print, 17600 pivot long
- Discount margins raised for PPI
Evening Stats (As of 1:25 AM)
- Weekend Gap: N/A
- Gap 10/30 +0.47% (open < 14272)
- Session Open ATR: 223.72
- Volume: 21K
- Open Int: 286K
- Trend Grade: Bull
- From BA ATH: -1.0% (Rounded)
Key Levels (Rounded - Think of these as ranges)
- Long: 18106
- Mid: 16963
- Short: 16391
Keep in mind this is not speculation or a prediction. Only a report of the Power Range with Fib extensions for target hunting. Do your DD! You determine your risk tolerance. You are fully capable of making your own decisions.
BA: Back Adjusted
BuZ/BeZ: Bull Zone / Bear Zone
NZ: Neutral Zone
New Support for Huntington Bank?Huntington Bancshares isn’t an actively traded name, but its chart may have some potentially interesting patterns this week.
First is the level around $12.19, its highest weekly close last summer. HBAN jumped above that price in mid-December before testing it in January and again this month. Old resistance may have become new support.
Second is the series of higher weekly lows as it held $12.19.
Third, the 50-day day simple moving average (SMA) had a “golden cross” above the 200-day SMA in mid-December. That may suggest that the longer-term trend has grown more bullish.
Finally, narrowing Bollinger Band Width highlights the stock’s tightening range. Will that price compression give way to expansion?
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. See our Overview for more.
Important Information
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options, futures or cryptocurrencies); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission (“SEC”) and a futures commission merchant licensed with the Commodity Futures Trading Commission (“CFTC”). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association (“NFA”), and a number of exchanges. TradeStation Crypto, Inc. offers to self-directed investors and traders cryptocurrency brokerage services under federal and state money services business/money-transmitter and similar registrations and licenses.
TradeStation Securities, Inc., TradeStation Crypto, Inc., and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., all operating, and providing products and services, under the TradeStation brand and trademark. TradeStation Crypto, Inc. offers to self-directed investors and traders cryptocurrency brokerage services. It is neither licensed with the SEC or the CFTC nor is it a member of NFA. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
NQ Power Range Report with FIB Ext - 2/15/2024 SessionCME_MINI:NQH2024
- PR High: 17881.50
- PR Low: 17865.75
- NZ Spread: 32.25
Key economic calendar events
08:30 | Initial Jobless Claims
- Retail Sales (2x)
- Philadelphia Fed Manufacturing Index
Maintaining Tuesday's range
- Holding prev session highs
Evening Stats (As of 12:05 AM)
- Weekend Gap: N/A
- Gap 10/30 +0.47% (open < 14272)
- Session Open ATR: 226.51
- Volume: 19K
- Open Int: 296K
- Trend Grade: Bull
- From BA ATH: -1.3% (Rounded)
Key Levels (Rounded - Think of these as ranges)
- Long: 18106
- Mid: 16963
- Short: 16391
Keep in mind this is not speculation or a prediction. Only a report of the Power Range with Fib extensions for target hunting. Do your DD! You determine your risk tolerance. You are fully capable of making your own decisions.
BA: Back Adjusted
BuZ/BeZ: Bull Zone / Bear Zone
NZ: Neutral Zone