9 trading strategies everyone should know (with Python code):

Bollinger Bands Pattern Recognition

The mid band is the moving average on the price series.

The upper and lower bands are two moving standard deviations away from the mid band.
MACD oscillator

MACD refers to Moving Average Convergence/Divergence.

MACD is a momentum trading strategy.

It assumes momentum has more impact on short-term moving average than long-term moving average.
Pairs Trading

Pairs trading is a basic form of statistical arbitrage.

It assumes that two cointegrated stocks do not drift too far away from each other.

When they do, it generates the trading signal.
Heikin-Ashi Candlestick

Heikin-Ashi refers to 'Average Bar' in Japanese.

It's an alternative style of candlestick chart.

The rules of Heiki-Ashi are designed to filter out the noise for momentum trading.
London Breakout

It’s an information arbitrage strategy across different markets in different time zones.

As FX markets are decentralized, you can take a peek at the activity in a closed foreign FX market before the opening of the domestic FX market.
Awesome Oscillator

Awesome oscillator is an upgraded version of the MACD oscillator.

Instead of taking a moving average on the close price, it uses the mean of high and low.

It uses short-term and long-term moving averages to construct the oscillator.
Dual Thrust

Dual thrust is an opening range breakout strategy.

We establish upper and lower thresholds based on previous day's open, close, high and low.

When the market opens and the price exceeds the thresholds, take positions before the thresholds.
Parabolic SAR

Parabolic SAR identifies the stop and reversal of a trend.

It's used to identify resistance to the price momentum.

Orders are executed when the SAR and price curves cross over.
Relative Strength Index Pattern Recognition

RSI reflects the current strength/weakness of the stock price momentum.

When RSI above 70 is overbought and RSI below 30 is oversold.
And if that isn't enough, there's 8 more strategies here:

https://t.co/hBlNYzjJyt

And if THAT isn't enough, there's one more thing for you:
Check out the 46-Page Ultimate Guide to Pricing Options and Implied Volatility With Python.

Here's why:

• Compute Black-Scholes, the greeks and implied volatility
• Includes a Jupyter Notebook with the code
• How to use Python to analyze the results

https://t.co/uUXgYrCqgx
That's a wrap!

If you enjoyed this thread:

1. Follow me @pyquantnews for more of these
2. RT the tweet below to share this thread with your audience https://t.co/zqjQlUT23e

More from PyQuant News

More from All

You May Also Like

The entire discussion around Facebook’s disclosures of what happened in 2016 is very frustrating. No exec stopped any investigations, but there were a lot of heated discussions about what to publish and when.


In the spring and summer of 2016, as reported by the Times, activity we traced to GRU was reported to the FBI. This was the standard model of interaction companies used for nation-state attacks against likely US targeted.

In the Spring of 2017, after a deep dive into the Fake News phenomena, the security team wanted to publish an update that covered what we had learned. At this point, we didn’t have any advertising content or the big IRA cluster, but we did know about the GRU model.

This report when through dozens of edits as different equities were represented. I did not have any meetings with Sheryl on the paper, but I can’t speak to whether she was in the loop with my higher-ups.

In the end, the difficult question of attribution was settled by us pointing to the DNI report instead of saying Russia or GRU directly. In my pre-briefs with members of Congress, I made it clear that we believed this action was GRU.