'Volume Indicator Alert Function?

wanting to create an alert for the VOLUME indicator to trigger a candle (volume candle) is higher than the previous close AND it is a different color. ie; In my strategy, i am using Heikenashi Candles/Volume and I am waiting for the volume to have a green or red candle close higher than a previous candle of the opposite color.(volume candle not chart candle) For buys i need a green higher than a red, Sells, Red higher than green would LOVE to not have to sit and stare at a chart. Wondering if anyones genius can work this outSee picture for reference.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source