You need to change the Text line that says:
Value21 = TL_SetColor(Value20, Tool_DarkYellow);
to:
Value21 = TL_SetColor(Value20, Tool_Yellow);
Then verify the code. I think the problem is that there is no "DarkYellow" colour recognised by Tradestation.
Anyway try it and see.
Paul