This script can help you perform scalping using SuperTrend
First, set the HTF value higher than your current time frame. As you know, the accuracy of the supertrend is very poor on the lower timeframe. So I used higher timeframe(15 mins) supertrend more than current chart(5 mins)