Price Color Alert V2
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Cryton 

//@version=4
study("Price Color Alert", shorttitle="PCA", format = format.price, overlay=true)

RedPrice = close < open
GreenPrice = close > open

alertcondition(RedPrice, 'Red Price')
alertcondition(GreenPrice, 'Green Price')