huge amount of code; macd of hot still not properly