Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How can I find Swing Trading Algorithms here?

Hi Guys,

I'm a beginner here, and I want to learn some algorithms about Swing Trading.

After searching for "swing", I found few information here.

Anybody who have good ideas ?

TKS~

5 responses

Hi Nemo - What do you mean by arithmetic? Are you looking for algorithms that have been used in the past? Or do you need assistance with some of the actually mathematics, i.e. the arithmetic.

sorry, actually what I mean is algorithms.
Do you have any good idea? TKS

Hi Nemo. Trading algorithms can be very simple or incredibly complex. In general, the simple algorithms provide a minimal premium over the market benchmarks and with increasing complexity (usually) you see better results. (Of course, you can generate a very complex algorithm that it totally useless).

If you are looking for a place to start, a simple strategy would be to buy a security when its shorter-term moving average (for example 15 days) crosses over its longer-term moving average (for example 126 days). I've been working with this simple strategy while getting accustomed to the Quantopian website. This is very similar to the sample algorithm provided on Quantopian, which buys when the price crosses above the 5 day moving average price.

Hi Daniel .Thank you for your adivice.
I'm accustomed to trend trading, but not swing trading, especially in intraday trading,
So I want to learn some algorithms about swing trading.

Nemo,

According to Investopedia, swing trading is momentum trading - just on a short time frame.

Perhaps you should look for mean reversion which is the opposite of momentum.

Cheers,
Dennis