Trend trading. Non lag moving average will change colour to yellow to signal a change in direction. If upward trend and slight reversal blue will change to yellow and kink up and then blue again. On down trend red changes to yellow and back to red. Code attached