PINE LIBRARY

TRIG

356
Library "TRIG"

degreesToRadians(degrees)
  Parameters:
    degrees (float)

radiansToDegrees(radians)
  Parameters:
    radians (float)

rt_get_angleAlphaFromLine(x1, y1, x2, y2, inDegrees)
  Parameters:
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)
    inDegrees (bool)

rt_get_angleBetaFromLine(x1, y1, x2, y2)
  Parameters:
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)

Penafian

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.