m_kianzad
Pine Script Rookie
Pine Script Rookie
Posts: 1
Joined: April 20th, 2023
Contact: TradingView Profile

how can finde the closest hipivot candel number after candel[5]

:cool:
hi frinds,
i have a problem about find hipivot candela befor my selected candel in pine script.
for example i need 2 information candel ,
first candel [5] and historical numbee of primary hipivot or lowpivot candels.
how can i find it with [] no bar_index
hipivot( leftbar , rightbar) and higestbars() cant solve my problem.
i try to solved it with while but dont work well.
thank u

Return to “Request Scripts”