OPEN-SOURCE SCRIPT
Updated Luckscout's Double Bollinger Bands Strategy

Long Trade Setups:
To go long (to buy), you have to wait for one of the candlesticks to close above the BB upper band. (background color is green)
Short Trade Setups:
To go short (to sell), you have to wait for one of the candlesticks to close below the BB lower band. (background color is red)
How To Maximize Your Profit?
As I explained above, this trading system is good in catching the trends. Therefore, you’d better to take the advantage of the strong movements and maximize your profit.
When there is a strong trade setup, you can also take two positions with the same stop loss, when there is a trade setup based on the Double Bollinger Bands trading system. Set a 2 x SL target for the first position, and no target for the second one. If the first position hits the target, move the second’s position stop loss to breakeven and hold it (TLDR : Hold a sell as long as background is red)
In case of a long position, hold the second position as long as the candlesticks form between the BB1 and BB2 upper bands, or above the Bollinger Middle Band. Close the second position when candlesticks start crossing the BB1 upper bands, or when one of the candlesticks breaks below the Bollinger Middle Band . (TLDR : Holda buy as long as background is green)
To go long (to buy), you have to wait for one of the candlesticks to close above the BB upper band. (background color is green)
Short Trade Setups:
To go short (to sell), you have to wait for one of the candlesticks to close below the BB lower band. (background color is red)
How To Maximize Your Profit?
As I explained above, this trading system is good in catching the trends. Therefore, you’d better to take the advantage of the strong movements and maximize your profit.
When there is a strong trade setup, you can also take two positions with the same stop loss, when there is a trade setup based on the Double Bollinger Bands trading system. Set a 2 x SL target for the first position, and no target for the second one. If the first position hits the target, move the second’s position stop loss to breakeven and hold it (TLDR : Hold a sell as long as background is red)
In case of a long position, hold the second position as long as the candlesticks form between the BB1 and BB2 upper bands, or above the Bollinger Middle Band. Close the second position when candlesticks start crossing the BB1 upper bands, or when one of the candlesticks breaks below the Bollinger Middle Band . (TLDR : Holda buy as long as background is green)
Release Notes
fixed fill color conditionsOpen-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.