OPEN-SOURCE SCRIPT
已更新 [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.
發行說明
Amended entry condition發行說明
Changed the way how TSL is plotted when position size is zero發行說明
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.發行說明
Fixed a bug發行說明
v4.1: modified script to allow pyramiding發行說明
Fixed a bug發行說明
- added alert to notify when price is near the lower band- additional exit setup
開源腳本
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.
免責聲明
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.
開源腳本
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.
免責聲明
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.