GO NO GO task - Fixation cross

I am currently creating a GO/NO-GO task experiment and want to code the fixation cross to turn green before the GO stimulus appears (as an early indicator that the GO stimuli is coming up) and code the fixation cross to turn red before the NO GO stimulus appears.

Can someone help me with this?

One way would be to set the colour of the fixation cross as the name of a column in your spreadsheet, e.g. $fixColour for a column called fixColour and have that green or red. That would also easily allow you to add neutral or incongruent trials.