Fixed backtesting code.
RSI code refactored.
Fixed W1 calculations.