OPEN-SOURCE SCRIPT
Updated Cloud Breakout BF

Based on code by nathanhoffer
Long signal is after a close above Kumo cloud, short signal after close below it.
You can adjust stuff in the settings.
Long signal is after a close above Kumo cloud, short signal after close below it.
You can adjust stuff in the settings.
Release Notes
Removed code that wasn't used for generating signals to make for easier reading. Release Notes
Set the lines other than the cloud spans to invisible by default.Release Notes
Simplified code furtherRelease Notes
Updated code to version 4. Added Stop-Loss and Take-Profit functions (defaultsettings are high to emulate no stop loss and no take profit)Release Notes
Tidied up code a bit and added background colour to more easily visualise long and short signals.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.