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.
Go to http://www.zenandtheartoftrading.com for articles on forex trading, trading psychology, trading resources, Pine Script lessons and more!
I frequently use the normal alert functionality and can easily create a trend line and program it to alert me when it's crossing, either up or down. Where I'm having an issue is getting your script to alert with a close on the desired timeframe. Under the first condition option do I select your script "BKOI" or the trading pair itself? I have tried different variations of the options to no avail.
You need to manually set the alert to trigger for each currency pair and timeframe that you set it up on. Good luck and let me know if you need further help :)
Please check your direct messages.