OPEN-SOURCE SCRIPT

[KL] BOLL + MACD Strategy v2 (published)

Updated
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
Bollinger Bands (BB)Moving Average Convergence / Divergence (MACD)swingtradingtrailingstop

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Read Faster & Learn Anything with Coral AI! getcoralai.com//?ref=dojiemoji
Also on:

Disclaimer