updated pivot_trader
added switch trader
improved switch trader