RicardoSantos

AnalysisInterpolationLoess

RicardoSantos Wizard ที่อัปเดต:   
Library "AnalysisInterpolationLoess"
LOESS, local weighted Smoothing function.

loess(sample_x, sample_y, point_span) LOESS, local weighted Smoothing function.
Parameters:
  • sample_x: int array, x values.
  • sample_y: float array, y values.
  • point_span: int, local point interval span.


aloess(sample_x, sample_y, point_span) aLOESS, adaptive local weighted Smoothing function.
Parameters:
  • sample_x: int array, x values.
  • sample_y: float array, y values.
  • point_span: int, local point interval span.
เอกสารเผยแพร่:
v2
cleaned the code a bit,
corrected a overflow issue (thank you kaigouthro for noticing it),
added a moving average function using the algorithm.
เอกสารเผยแพร่:
v3 added a new function for source series, this modification was created by @kaigouthro
ไลบรารีไพน์

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

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

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

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

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