Breakout Indicator

This script allows you to set breakout alerts.

An alert will be triggered only when price breaks and closes beyond the specified prices. You will get an alert on the first candle that closes beyond the levels you set.
Release Notes: Small improvements to UI
Release Notes: Small improvements
Release Notes: Small improvements
Release Notes: Modified alert system to allow for alerts to be sent before the candle closes
Release Notes: Added offset setting
Release Notes: Converted to Pine Script version 4
Release Notes: -
- Converted to v5 of Pine
- Added "confirm" parameter to price inputs (so that you can select your breakout price with the mouse when adding the script to your chart)
- Added 2 more alert options to separate long & short breakout alerts
Release Notes: - Fixed typo for short alerts triggering on long breakouts (whoops!)
Release Notes: Updated to Pine Script v5

My Resources Hub: https://theartoftrading.com
FREE YouTube Lessons: http://rebrand.ly/zyt
FREE Pine Script Basics Course: http://rebrand.ly/zpsbc
Pine Script MASTERY Course: http://rebrand.ly/zpsmc
My Indicators & Strategies: http://rebrand.ly/zmisc
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?