MESA Phase : sayankm: www.tradingview.com/u/shayankm/
In this advanced version of the indicator, green/red dots will be printed on the pivot points & alerts can be triggered on these. There is also a zone (which you can adjust) that dot's will not be printed in, you want to adjust this to try and avoid dots being printed during sideways movement.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.