Completed coloured labels, added lookback parameter