OPEN-SOURCE SCRIPT
Updated

Cloud Breakout BF

3627
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.
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 further
Release 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.

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.