I am half way through creating a new EA and I have hit a problem: One of my trade conditions is that the color of the indicator must be orange or was orange in the previous bar. However I cannot work out how to do this. I am not a novice programmer, but I am completely puzzled about this. Any help would be appreciated.
I have attached the indicator, and you must enter the settings as: 0, 25, 0, 1.0, 1, 0, 0, 0, 0.