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)
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. 您可以收藏它以在圖表上使用。