Indicators: Flat_Trend

 

Flat_Trend:

A market state indicator.

Author: Scriptor

 
Hello
How are you doing?

I'm making with you because of your amazing indicator the Flat_Trend Indicator

There's an error, I'll like you to on it..

It doesn't match data to every color making it difficult to be used in EA.

Can you help fix this pls?

Matching the right data to every color change instead of reading Empty??