backtrader-backtests icon indicating copy to clipboard operation
backtrader-backtests copied to clipboard

An implementation of trading strategies such as the Stochastic Oscillator with support and resistance using the BackTrader framework for backtesting

backtrader-backtests

Implementations of trading strategies using the BackTrader framework for backtesting purposes.

Usage

Clone or download and then play around with the strategy, change parameters (optstrategy), etc to your liking.

StochasticSR

Trading strategy involving using a version of the stochastic oscillator for oversold and overbought signals for entry and previous support and resistance via donchian channels for risk levels.

BollBand and ADX

Mean Reversion strategy involving the Bollinger Bands and Average Directional Index indicators. This strategy works best in sideways/choppy markets, so the ADX is used to locate and avoid trending markets while the Bollinger Bands are used to locate potential reversal points for entry.

License

MIT