OPEN-SOURCE SCRIPT
Updated Sky Indicator edit for ProfitView

Edit the pinescript to fit your alert needs. Use either the alert(), or the alertcondition() functions depending on if you want to only have one alert in TV (that does multiple things), or set up multiple alerts, one for each task.
Release Notes
fix long entry alert() not being on bar closeRelease Notes
close parentheses for long entry alertOpen-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.