OPEN-SOURCE SCRIPT
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)
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.