PINE LIBRARY
Updated

mysourcetypesncs

72
Library "mysourcetypes"
Libreria personale per sorgenti estese (Close, Open, High, Low, Median, Typical, Weighted, Average, Average Median Body, Trend Biased, Trend Biased Extreme, Volume Body, Momentum Biased, Volatility Adjusted, Body Dominance, Shadow Biased, Gap Aware, Rejection Biased, Range Position, Adaptive Trend, Pressure Balanced, Impulse Wave)

rclose()
  Regular Close
  Returns: Close price

ropen()
  Regular Open
  Returns: Open price

rhigh()
  Regular High
  Returns: High price

rlow()
  Regular Low
  Returns: Low price

rmedian()
  Regular Median (HL2)
  Returns: (High + Low) / 2

rtypical()
  Regular Typical (HLC3)
  Returns: (High + Low + Close) / 3

rweighted()
  Regular Weighted (HLCC4)
  Returns: (High + Low + Close + Close) / 4

raverage()
  Regular Average (OHLC4)
  Returns: (Open + High + Low + Close) / 4

ravemedbody()
  Average Median Body
  Returns: (Open + Close) / 2

rtrendb()
  Trend Biased Regular
  Returns: Trend-weighted price

rtrendbext()
  Trend Biased Extreme
  Returns: Extreme trend-weighted price

rvolbody()
  Volume Weighted Body
  Returns: Body midpoint weighted by volume intensity

rmomentum()
  Momentum Biased
  Returns: Price biased towards momentum direction

rvolatility()
  Volatility Adjusted
  Returns: Price adjusted by candle's volatility

rbodydominance()
  Body Dominance
  Returns: Emphasizes body over wicks

rshadowbias()
  Shadow Biased
  Returns: Price biased by shadow length

rgapaware()
  Gap Aware
  Returns: Considers gap between candles

rrejection()
  Rejection Biased
  Returns: Emphasizes price rejection levels

rrangeposition()
  Range Position
  Returns: Where close sits within the candle range (0-100%)

radaptivetrend()
  Adaptive Trend
  Returns: Adapts based on recent trend strength

rpressure()
  Pressure Balanced
  Returns: Balances buying/selling pressure within candle

rimpulse()
  Impulse Wave
  Returns: Detects impulsive moves vs corrections
Release Notes
v2

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.