Rewrite this Pine Script indicator so it displays the buy/sells signals at more accurate price highs and lows:
https://www.tradingview.com/script/o50NYLAZ-AlphaTrend/ Provide your response in exactly 4 paragraphs (separated nearby paragraphs with 3 aterisk symbols ***).
user