RicardoSantos

JohnEhlersFourierTransform

RicardoSantos Wizard ที่อัปเดต:   
Library "JohnEhlersFourierTransform"
Fourier Transform for Traders By John Ehlers, slightly modified to allow to inspect other than the 8-50 frequency spectrum.
reference:
www.mesasoftware.com...nsformForTraders.pdf

high_pass_filter(source) Detrended version of the data by High Pass Filtering with a 40 Period cutoff
  Parameters:
    source: float, data source.
  Returns: float.

transformed_dft(source, start_frequency, end_frequency) DFT by John Elhers.
  Parameters:
    source: float, data source.
    start_frequency: int, lower bound of the frequency window, must be a positive number >= 0, window must be less than or 30.
    end_frequency: int, upper bound of the frequency window, must be a positive number >= 0, window must be less than or 30.
  Returns: tuple with float, float array.

db_to_rgb(db, transparency) converts the frequency decibels to rgb.
  Parameters:
    db: float, decibels value.
    transparency: float, transparency value.
  Returns: color.
เอกสารเผยแพร่:
v2 removed the upper limit for the function, corrected a typo in the code, thanks to Al-M for spotting it :)
เอกสารเผยแพร่:
v3 - another typo bytes the dust.. tump tump tump oO", nicely spoted by Al-M :)
เอกสารเผยแพร่:
v4 fixed the preview chart..
ไลบรารีไพน์

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

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

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

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

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