Vdub fx sniper strategy with alerts

This mimics the performance of the strategy created by Vdub FX Sniper, the user should buy when it marks green and sell when it marks yellow, however i can't get to the alert system trigger effectively, any ideas?

Remove from Favorite Scripts Add to Favorite Scripts
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Pine Wizards Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out