OPEN-SOURCE SCRIPT
Updated [KL] BOLL + MACD Strategy v2 (published)

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.
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 conditionRelease Notes
Changed the way how TSL is plotted when position size is zeroRelease 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 bugRelease Notes
v4.1: modified script to allow pyramidingRelease Notes
Fixed a bugRelease Notes
- added alert to notify when price is near the lower band- additional exit setup
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.