kaigouthro

curve

kaigouthro ที่อัปเดต:   
Library "curve"
Regression array Creator. Handy for weights, Auto Normalizes array while holding curves.

curve(_size, _power)
  Curve Regression Values Tool
  Parameters:
    _size: (float) Number of Steps required (float works, future consideration)
    _power: (float) Strength of value decrease
  Returns: (float) Array of multipliers from 1 downwards to 0.

เอกสารเผยแพร่:
v2
fixed error.

Added:
display()
  show curve for tweakiing
// @param _array Values to draw
// @param _expandLength Grow over time
// @returns void
เอกสารเผยแพร่:
v3

Updated:
display(_array, _timedist, _expandLength, _onbar, _src)
  display show curve
  Parameters:
    _array: Values to draw
    _timedist: Show Seconds
    _expandLength: Grow over time ( 1/value)
    _onbar: Show on bar (overlay)
    _src: Value for overlay
  Returns: void
เอกสารเผยแพร่:
v4

bonus feature, matrix ma with range/atr/momentum weight.
also an example is visible of how it can be applied
__________________
# pass

% weight
actual value added to sum
__________________
ไลบรารีไพน์

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

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

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

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

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