ezrakoper

LIB_TradeAssist

ezrakoper ที่อัปเดต:   
Library "LIB_TradeAssist"
This library is a collection of assistence tools saving me the need to copy same code again and again in my various indicators and strategies.

Slop_Magnitude(val_now, val_older, mult_factor)
  Calculate the slop magnetude betwen current price and an older price. Since the change is usually minimal, we multiply it by def value of 3000 to make it usable.You can optionally pass other multiply factor
  Parameters:
    val_now (float)
    val_older (float)
    mult_factor (float)
  Returns: : Slop angle magnetude
เอกสารเผยแพร่:
v2

Added:
moving_avg(ma_type, price, length)
  - calculate moving average using one of the above - SMA, EMA, WMA, ALMA, RMA, VWMA,
  Parameters:
    ma_type (simple string)
    price (simple float)
    length (simple int)
  Returns: : - Moving average value
เอกสารเผยแพร่:
v3

Updated:
moving_avg(ma_type, price, length)
  - calculate moving average using one of the above - S MA, EMA, WMA, ALMA, RMA, VWMA,
  Parameters:
    ma_type (simple string)
    price (simple float)
    length (simple int)
  Returns: : - Moving average value
ไลบรารีไพน์

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

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

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

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

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