Update trading.signals.R