PINE LIBRARY
업데이트됨

OutofOptionsHelperLibrary

498
Library "OutofOptionsHelperLibrary"
Helper library for my indicators/strategies

isUp(i)
  is Up candle
  Parameters:
    i (int)
  Returns: bool

isDown(i)
  is Down candle
  Parameters:
    i (int)
  Returns: bool

TF(t)
  format time into date/time string
  Parameters:
    t (int)
  Returns: string

S(s)
  format data to string
  Parameters:
    s (float)
  Returns: string

S(s)
  format data to string
  Parameters:
    s (int)
  Returns: string

S(s)
  format data to string
  Parameters:
    s (bool)
  Returns: string

barClose(price, up, strict)
  Determine if candle closed above/below price
  Parameters:
    price (float)
    up (bool)
    strict (bool): bool if close over is required or if close at the price is good enough
  Returns: bool

processSweep(L, price, up, leftB)
  Determine how many liquidity sweeps were made
  Parameters:
    L (array<liquidity>)
    price (float)
    up (bool)
    leftB (int)
  Returns: int

liquidity
  Fields:
    price (series float)
    time (series int)
    oprice (series float)
    otime (series int)
    sweeps (series int)
    bars_swept (series int)
릴리즈 노트
v2

Added:
oneBar()
  number of milliseconds in one bar
  Returns: int

enforceTimeLimit(timeLimits)
  Checks if time is within a restricted list of times that are delimited by new line
  Parameters:
    timeLimits (string)
  Returns: bool

nearestSwing(startTime, bullish, max_tp_price, min_price)
  Parameters:
    startTime (int)
    bullish (bool)
    max_tp_price (float)
    min_price (float)
  Returns: liquidity

inSession(session_range)
  Parameters:
    session_range (string)
  Returns: bool
릴리즈 노트
v3
릴리즈 노트
v4
릴리즈 노트
v5
릴리즈 노트
v6
릴리즈 노트
v7
릴리즈 노트
v8

Added:
avg(a, b)
  Parameters:
    a (float)
    b (float)
  Returns: float
릴리즈 노트
v9
릴리즈 노트
v10
릴리즈 노트
v11
릴리즈 노트
v12

Added:
lineStyleTextToVal(val)
  Parameters:
    val (string)
릴리즈 노트
v13

Updated:
TF(t, timeOnly)
  format time into date/time string
  Parameters:
    t (int)
    timeOnly (bool)
  Returns: string
릴리즈 노트
v14

Added:
lineStyle(s)
  Parameters:
    s (series ln)
릴리즈 노트
v15

Added:
getDuration(s, e)
  Parameters:
    s (int)
    e (int)
릴리즈 노트
v16

Added:
formatTimeframe()
릴리즈 노트
v17

Added:
devToArray(dev)
  Parameters:
    dev (string)

getDev(d, bull, h, l)
  Parameters:
    d (float)
    bull (bool)
    h (float)
    l (float)
릴리즈 노트
v18
Make timezone exportable const

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.