Hi if I need to check a slope of MACD in 3 bar before buying point. (check if slope id up or down) is there any function for it. Please advice