OPEN-SOURCE SCRIPT
Updated

[KL] BOLL + MACD Strategy v2 (published)

6946
This strategy will look for opportunities when price touches the lower Bollinger band, then enters Long when it anticipates a MACD crossover signal.

Setup: on 1-day chart interval

Exits when either (a) hitting trailing stop loss, or (b) meeting risk-to-reward, if defined by user.
Release Notes
Amended entry condition
Release Notes
Changed the way how TSL is plotted when position size is zero
Release Notes
Added feature allowing users to define the end-time of the timeframe for backtests (previously will only test up to most recent candle). The "end-date" can be defined in the config. window and toggled on/off.
Release Notes
Fixed a bug
Release Notes
v4.1: modified script to allow pyramiding
Release Notes
Fixed a bug
Release Notes
- added alert to notify when price is near the lower band
- additional exit setup

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.