HyperTV_BRotem

HTV_Library

Library "HTV_LibraryV2"

up_bar() 'up_bar' checks true for every candle that closed above open price.
  Returns: custom Series Bool

last_up_bar() 'last_up_bar' checks true for every last candle that closed above open price.
  Returns: custom Series Bool

down_bar() 'down_bar' checks true for every candle that closed below open price.
  Returns: custom Series Bool

last_down_bar() 'last_down_bar' checks true for every last candle that closed below open price.
  Returns: custom Series Bool

TBR_Up() 'TBR_Up' checks true for every last confirmed 2 Bar Reversal.
  Returns: custom Series Bool

TBR_Down() 'TBR_Down' checks true for every last confirmed 2 Bar Reversal.
  Returns: custom Series Bool

TCR_Up() 'TCR_Up' checks true for every last confirmed 3 Candle Reversal.
  Returns: custom Series Bool

TCR_Down() 'TCR_Down' checks true for every last confirmed 3 Candle Reversal.
  Returns: custom Series Bool

f_fib() 'f_fib' gives a fibonacci number based on rising numericial order starting from 0
  Returns: custom Series Bool

WHITE() uses color.rgb(r,g,b,t) function
  Returns: literal color

WHITE_25T()

WHITE_50T()

WHITE_90T()

BLACK()

BLACK_25T()

BLACK_50T()

BLACK_90T()

RED()

RED_25T()

RED_50T()

RED_90T()

GREEN()

GREEN_25T()

GREEN_50T()

GREEN_90T()

BLUE()

BLUE_25T()

BLUE_50T()

BLUE_90T()

GREY()

GREY_25T()

GREY_50T()

GREY_90T()

NEON_YELLOW()

NEON_YELLOW_25T()

NEON_YELLOW_50T()

NEON_YELLOW_90T()

NEON_GREEN()

NEON_GREEN_25T()

NEON_GREEN_50T()

NEON_GREEN_90T()

NEON_PINK()

NEON_PINK_25T()

NEON_PINK_50T()

NEON_PINK_90T()

PURPLE()

PURPLE_25T()

PURPLE_50T()

PURPLE_90T()

SMA()

EMA()

WMA()

VWMA()

RMA()

HMA()

STMA()

ETMA()
Release Notes:
v2

Updated:
EMA()
  Exponential Moving Average Code
  Returns: (Local Function)
Release Notes:
v3

Updated:
EMA()
  Exponential Moving Average Code
  Returns: (Local Function)

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

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.

Want to use this library?

Copy the following line and paste it in your script.