this script count pivot higher high and pivot lower low ...its useful understanding swing of market bull pressure and bear pressure .. 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 pivot 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 ..
@chaiyookay, cant because pviot count after number of input bar
sudeepkumar264
⋅
How to convert this into counting intraday no’s. Of swing high low
UnknownUnicorn15320316
⋅
is repaint?
Shauryam_or
⋅
@Bafrali1453, no its not ..but pivot calculate late after 3 or 5 bar ...
WokAshraf
⋅
i have question to ask..let say i have 4 indicator which produce 4 buy signal and 4 sell signal..but the signal occurred at different time .can i use concept as above to count and store the value? if buy signal it will become +1..if it sell signal it will be -1..and it will need all the signal to be 1111 before alert happen