boitoki

ma_function

boitoki ที่อัปเดต:   
Library "ma_function"
TODO: This library is a package of various MAs.

ma_function(name, source, length) This function provides the MA specified in the argument.
  Parameters:
    name: MA's name
    source: Source value
    length: Look back periods
  Returns: Ma value
เอกสารเผยแพร่:
v2. Added some MAs.
เอกสารเผยแพร่:
v3

Fixed a typo.
Added calc() : a syntax sugar of ma_function
เอกสารเผยแพร่:
v4

Updated:
ma_function(name, source, length)
  This function provides the MA specified in the argument.
  Parameters:
    name: MA's name
    source: Source value
    length: Look back periods
  Returns: MA value

calc()
เอกสารเผยแพร่:
v5

Added:
sma(x, y)
  Parameters:
    x (float)
    y (int)

ema(src, length)
  Parameters:
    src (float)
    length (int)

kama(xPrice, Length)
  Parameters:
    xPrice (float)
    Length (int)

zlema(src, length)
  Parameters:
    src (float)
    length (int)

mav(source, length)
  Parameters:
    source (float)
    length (int)

dema(src, len)
  Parameters:
    src (float)
    len (int)

tema(src, len)
  Parameters:
    src (float)
    len (int)

hma(src, len)
  Parameters:
    src (float)
    len (int)

tma(source, length)
  Parameters:
    source (float)
    length (int)

ama(source, length, fast, slow)
  Parameters:
    source (float)
    length (int)
    fast (int)
    slow (int)

rma(src, length)
  Parameters:
    src (float)
    length (int)

bwma(src, length, beta, alpha)
  Parameters:
    src (float)
    length (int)
    beta (int)
    alpha (int)

ไลบรารีไพน์

จิตวิญญาณที่แท้จริงของ TradingView ผู้เขียนได้ตีพิมพ์รหัส Pine นี้เป็นไลบรารีโอเพนซอร์ซเพื่อให้โปรแกรมเมอร์คนอื่น ๆ จากชุมชนของเราสามารถนำไปใช้ซ้ำได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ไลบรารีนี้เป็นการส่วนตัวหรือในสิ่งพิมพ์โอเพนซอร์สอื่น ๆ แต่นำรหัสนี้มาใช้ซ้ำในสิ่งพิมพ์จะถูกควบคุมโดย กฎระเบียบการใช้งาน

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการใช้ไลบรารีนี้หรือไม่?

คัดลอกข้อความไปยังคลิปบอร์ดแล้ววางลงในสคริปต์ของคุณ