leap-forward

HelperTA

Library "HelperTA"

This library contains useful technical indicators that I use regularly in my charts.

`stockRSI` is not mine, but included because used often and referenced by internal functions.

`DCO` is a normalisation of the donchian channels; the price relative to the donchian channels, on a range.

`MarketCycle` is a weighted aggregate of RSI, Stochastic RSI & DCO (demo on the chart)


stockRSI(src, K, D, rsiPeriod, stochPeriod)
  stockRSI
  Parameters:
    src (float)
    K (int)
    D (int)
    rsiPeriod (simple int)
    stochPeriod (int)
  Returns: <k, d>

DCO(price, donchianPeriod, smaPeriod)
  DCO
  Parameters:
    price (float)
    donchianPeriod (int)
    smaPeriod (int)
  Returns: <DCO, s>

MarketCycle(donchianPrice, rsiPrice, srsiPrice, donchianPeriod, donchianSmoothing, rsiPeriod, rsiSmoothing, srsiPeriod, srsiSmoothing, srsiK, srsiD, rsiWeight, srsiWeight, dcoWeight)
  MarketCycle
  Parameters:
    donchianPrice (float)
    rsiPrice (float)
    srsiPrice (float)
    donchianPeriod (simple int)
    donchianSmoothing (simple int)
    rsiPeriod (simple int)
    rsiSmoothing (int)
    srsiPeriod (simple int)
    srsiSmoothing (simple int)
    srsiK (simple int)
    srsiD (simple int)
    rsiWeight (simple float)
    srsiWeight (simple float)
    dcoWeight (simple float)
  Returns: <aggr>

ไลบรารีไพน์

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

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

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

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

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