PINE LIBRARY

pNRTR

By birdgineer
Library "pNRTR"
Provides functions for calculating Nick Rypock Trailing Reverse (NRTR) trend values with higher precision offsets for both low, and high points rather than the standard single offset.

pnrtr(float low_offset = 0.2, float high_offset = 0.2, float value = close)

low_offset
Offset used for nrtr low_point calculations. Default is 0.2.

high_offset
Offset used for nrtr high_point calculations. Default is 0.2.

value
Variable used for nrtr point calculations. Default is close.
nrtrstatisticstechindicatortrendtrendreversal
birdgineer

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer