/breakout-trading-strategy

Simple Breakout Trading Strategy based on Bollinger Bands

Primary LanguageJavaMIT LicenseMIT

Build Status

Breakout Trading Strategy based on Bollinger Bands

Strategy Description

This simple trading strategy enters a long position when the daily closing price crosses below the lower Bollinger band and a short position when the daily closing price crosses above the upper Bollinger band. A long position is closed when the daily closing price crosses above the moving average. A short position is closed when the daily closing price crosses below the moving average.

Example

Data

Daily closing prices of EUR/USD FX rates included in the repo.