I updated this version used for Forex with Stock&Index related instruments. Enjoy.
Upward trends in Gold (GLD) seem to be a precursor to downward trends in the SP 500.