WickFlair
New member
First and foremost I wanna thank @barbaros for coding the TW Golden indicator for me... Thank you
$SPY looks like it might be reversing to the upside so along with my intraday strat I wanna see if a swing strat will be profitable...
Author of strat claims an 82% win rate
Can We get TOS convert please?
https://relaxedtrader.com/spy-swing-trading-system/
Let's use the ETF SPY (which tracks the S&P 500) to demonstrate the first line of code in a swing trading strategy.
Looking at closing prices only, let's ask the computer if SPY is above its 66-day moving average:
You only want to buy if price is above the 66-day moving average (this also works on individual stocks and many commodities).
Now, let's move on to the second part of our swing trading strategy, when exactly do you trade SPY?
You never want to short an up-trending market as you will get your head handed to you. I know this because I used to bet against the market.
I don't know what it is about new traders and wanting to short stocks, but the majority do.
Humans tend to over-estimate their abilities and this is where I think a lot of that psychology comes from.
Check yourself if you are thinking "I'm smarter than the markets".
Nope, you aren't, and neither am I, that's why we test our ideas.
But how do you tell a computer what a dip is?
Use absolute quantifiable terms here; you can't just say "oh the market should find support here." Also keep your definition of a dip super simple.
You don't want to over optimize and run the risk of curve fitting your swing trading strategies.
So, let's look at SPY and ask the computer a simple question, is today's close the lowest in 3 days? You can play around with the number of days to look back at, but I've found 3 works well.
We now have an uptrend established, a dip in the uptrend and it's time to buy!
(This proves to be remarkably profitable as you will see in a minute.)
It's not knowing when to buy, it's knowing when to sell.
You might already intuitively know that. How many stocks have you held onto for too long? How many stocks do you currently have in your portfolio that are severely under water?
Anecdotally, my brother once showed me his portfolio and it was full of losers! I asked him why he didn't sell them, and he responded. "I never know when to sell!"
This is why you must have a system in place, especially when swing trading stocks.
Getting in is easy, getting out is hard.
So how do we know when to sell our position in SPY once we bought the dip?
We must wait for a rally. But what is a "rally"? How do we think like a computer to give it exact instructions?
Well, let's use the inverse of how we defined a dip above. Let's ask the computer to tell us when SPY has made a close higher than the previous 19 days.
Okay, let's wrap these three simple ideas into a trading strategy for SPY. Then let's plug it into the computer and see what happens.
Computers don't lie to your face like the suits on Wall Street or internet grifters selling doom and gloom and "technical analysis".
Let's recap what we've put together so far in a visual form:
SPY Swing Trading Strategy Flowchart
It's truly that simple, these trading strategy rules are about as basic as they come.
Now, let's look at how unbelievably powerful this little swing trading strategy is over time:
SPY Swing Trading Strategy Equity Growth
Each of the green dots above signals a new equity high for this trading model.
Incredible isn't it?
This is the power of testing ideas before jumping headfirst into the stock market.
Let's looks at some example trades produced by this simple swing trading system:
SPY Swing Trading Strategy Trade Examples
You can see when SPY dips it's usually very profitable to be a buyer.
I often get asked if this is the best spy options strategy, but I usually recommend people stay away from options, unless they really know what they are doing.
OK. Let's look at the statistics of this simple swing trade strategy:
Trading Statistics of a Simple Swing Trading System for SPY
But can you believe such simple rules can time the stock market with such great odds?
So next time you are about to make a trade, ask yourself if you truly know the odds of making or losing money.
Because if you don't know the exact odds how do you even know how much money to risk?
This is not rocket science. Anyone can do this.
$SPY looks like it might be reversing to the upside so along with my intraday strat I wanna see if a swing strat will be profitable...
Author of strat claims an 82% win rate
Can We get TOS convert please?
https://relaxedtrader.com/spy-swing-trading-system/
Let's use the ETF SPY (which tracks the S&P 500) to demonstrate the first line of code in a swing trading strategy.
Looking at closing prices only, let's ask the computer if SPY is above its 66-day moving average:
close > average (close, 66)
If this expression is true, we want to look for swing trades in the long direction.You only want to buy if price is above the 66-day moving average (this also works on individual stocks and many commodities).
Now, let's move on to the second part of our swing trading strategy, when exactly do you trade SPY?
Only Buy Dips in Up Trending Markets
Once you establish that a market is moving higher, you only want to buy dips in that uptrend.You never want to short an up-trending market as you will get your head handed to you. I know this because I used to bet against the market.
I don't know what it is about new traders and wanting to short stocks, but the majority do.
Humans tend to over-estimate their abilities and this is where I think a lot of that psychology comes from.
Check yourself if you are thinking "I'm smarter than the markets".
Nope, you aren't, and neither am I, that's why we test our ideas.
But how do you tell a computer what a dip is?
Use absolute quantifiable terms here; you can't just say "oh the market should find support here." Also keep your definition of a dip super simple.
You don't want to over optimize and run the risk of curve fitting your swing trading strategies.
So, let's look at SPY and ask the computer a simple question, is today's close the lowest in 3 days? You can play around with the number of days to look back at, but I've found 3 works well.
close < lowest (close, 3)
If this expression is true we have ourselves a "dip".We now have an uptrend established, a dip in the uptrend and it's time to buy!
(This proves to be remarkably profitable as you will see in a minute.)
Sell the Rally for a Profit
Do you know what the hardest part of trading truly is?It's not knowing when to buy, it's knowing when to sell.
You might already intuitively know that. How many stocks have you held onto for too long? How many stocks do you currently have in your portfolio that are severely under water?
Anecdotally, my brother once showed me his portfolio and it was full of losers! I asked him why he didn't sell them, and he responded. "I never know when to sell!"
This is why you must have a system in place, especially when swing trading stocks.
Getting in is easy, getting out is hard.
So how do we know when to sell our position in SPY once we bought the dip?
We must wait for a rally. But what is a "rally"? How do we think like a computer to give it exact instructions?
Well, let's use the inverse of how we defined a dip above. Let's ask the computer to tell us when SPY has made a close higher than the previous 19 days.
close >= highest (close, 19)
If this expression is true, it's time to sell SPY and most likely bank a nice profit.Okay, let's wrap these three simple ideas into a trading strategy for SPY. Then let's plug it into the computer and see what happens.
Computers don't lie to your face like the suits on Wall Street or internet grifters selling doom and gloom and "technical analysis".
Let's recap what we've put together so far in a visual form:
Simple Swing Trading Strategy for SPY Flowchart:

SPY Swing Trading Strategy Flowchart
It's truly that simple, these trading strategy rules are about as basic as they come.
Now, let's look at how unbelievably powerful this little swing trading strategy is over time:

SPY Swing Trading Strategy Equity Growth
Each of the green dots above signals a new equity high for this trading model.
Incredible isn't it?
This is the power of testing ideas before jumping headfirst into the stock market.
Let's looks at some example trades produced by this simple swing trading system:

SPY Swing Trading Strategy Trade Examples
You can see when SPY dips it's usually very profitable to be a buyer.
I often get asked if this is the best spy options strategy, but I usually recommend people stay away from options, unless they really know what they are doing.
OK. Let's look at the statistics of this simple swing trade strategy:

Trading Statistics of a Simple Swing Trading System for SPY
But can you believe such simple rules can time the stock market with such great odds?
So next time you are about to make a trade, ask yourself if you truly know the odds of making or losing money.
Because if you don't know the exact odds how do you even know how much money to risk?
This is not rocket science. Anyone can do this.