If you have a patch the does not re-trigger—that is, there is a soft attack when you play connected notes instead of a sharp attack when you play separate notes—you can usually get a decent trill by programming notes that are about 1/10 or 1/12 of a quarter note in duration and overlapping them slightly (but it depends on the tempo).
For example, if you are using 120 ticks per quarter, you might put notes 10 ticks apart but give them 12 tick durations so they overlap enough to prevent re-triggering.
For an ensemble like a string section, you can do this on two tracks and make sure the notes are not perfectly aligned—for example every 10 ticks on one track and every 8 or 12 on another. Some instruments play the first note of a trill a little longer than the others; like: daaa,di,da,di,da,di....
This is tedious but once you have it you can copy it. Whether or not it sounds good just depends on the patch and the timing. I have spent 30 minutes making a trill, decided it was too fast or too slow, and then spent another 30 minutes redoing it. Such is the pain of an artist.