when price make swing high it count +1 ..this script can help in price action manual trading understading high and low also newbie pinescript coder to learn counter ..i learn these thing from al brook price action trading books .
to make this script i took high and low inbuild script from Tradingview ...to code this idea one of good friend @fikira helped me ..
in v2 version i hope will able to count intraday piovt high and low ..
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.