PINE LIBRARY

FastMetrix

182
Library "FastMetrix"

This is a library I've been tweaking and working with for a while and I find it useful to get valuable technical analysis metrics faster (why its called FastMetrix). A lot of is personal to my trading style, so sorry if it does not have everything you want. The way I get my variables from library to script is by copying the return function into my new script.

TODO: Volatility and short term price analysis functions

slope(source, smoothing)
  Parameters:
    source (float)
    smoothing (int)

integral(topfunction, bottomfunction, start, end)
  Parameters:
    topfunction (float)
    bottomfunction (float)
    start (int)
    end (int)

deviation(x, y)
  Parameters:
    x (float)
    y (float)

getema(len)
  TODO: return important exponential long term moving averages and derivatives/variables
  Parameters:
    len (simple int)

getsma(len)
  TODO: return requested sma
  Parameters:
    len (int)

kc(mult, len)
  TODO: Return Keltner Channels variables and calculations
  Parameters:
    mult (simple float)
    len (simple int)

bollinger(len, mult)
  TODO: returns bollinger bands with optimal settings
  Parameters:
    len (int)
    mult (simple float)

volatility(atrlen, smoothing)
  TODO: Returns volatility indicators based on atr
  Parameters:
    atrlen (simple int)
    smoothing (int)

premarketfib()

countinday(xcondition)
  Parameters:
    xcondition (bool)

countinsession(condition, n)
  Parameters:
    condition (bool)
    n (int)

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.