Supertrend algos

Hi can someone help me with the scanner code when supertrend indicator changes from green to red and vice versa??? 14 is the period and 1.5 is the multiplier.