Hi try this EA. Hope it help
Take a look this indicator which have been created by baba master to change the LWMA color based on the price position (below pivot red, above pivot blue).