thorsten_kanarski

Useful_lib_public

Library "Useful_lib_public"
Useful functions

CountBarsOfDay()
  count bars for one for the diffrent time frames
  Returns: number of bars for one day

LastBarsOfDay()
  Index number for the las bar for one day
  Returns: TRUE is that the last bar from day

isTuesday()
  TRUE is tuesday
  Returns: TRUE is tuesday else FALSE

Rsi(src, len)
  RSI calulation
  Parameters:
    src (float): RSI Source
    len (simple int): RSI Length
  Returns: RSI Value

CalcIndex(netPos, weeks)
  Index calulation
  Parameters:
    netPos (float): Source
    weeks (simple int): Length
  Returns: "COT Index"

RsiStock(src, len, smoothK)
  TRUE is tuesday
  Parameters:
    src (float)
    len (simple int)
    smoothK (int)
  Returns: RSI Stochastik

Offset()
  Use Offset for Day time frame
  Returns: Offset

PercentChange(Data, LastData)
  Calc different in Percent
  Parameters:
    Data (float)
    LastData (float)
  Returns: Change in percent
ไลบรารีไพน์

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

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

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

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

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