Electrified

PivotPointsDailyTraditional

Electrified Diupdate   
Library "PivotPointsDailyTraditional"
Provides the traditional daily pivot values and a pivot vacinity function.

P(level, daysPrior) Returns the P value.
  Parameters:
    level: The level to caclulate.
    daysPrior: The number of days in the past to do the calculation.

R(level, daysPrior) Calculates the R value for a given pivot level.
  Parameters:
    level: The level to caclulate.
    daysPrior: The number of days in the past to do the calculation.

S(level, daysPrior) Calculates the S value for a given pivot level.
  Parameters:
    level: The level to caclulate.
    daysPrior: The number of days in the past to do the calculation.

vacinity(value, daysPrior, maxLevel) Returns a value representing where the provided value is in relation to each pivot level.
  Parameters:
    value: The value to compare against.
    daysPrior: The number of days in the past to do the calculation.
    maxLevel: The maximum number of pivot levels to include.
Catatan Rilis:
v2 Updated "DailyLevels" reference.
Catatan Rilis:
v3 Referenced API Update
Catatan Rilis:
v4 Updated with latest Daily version.
Catatan Rilis:
Library "PivotPointsDailyTraditional"
Provides the traditional daily pivot values and a pivot vacinity function.

P(daysPrior)
  Returns the P value.
  Parameters:
    daysPrior (simple int): The number of days in the past to do the calculation.

R(level, daysPrior)
  Calculates the R value for a given pivot level.
  Parameters:
    level (int): The level to caclulate.
    daysPrior (simple int): The number of days in the past to do the calculation.

S(level, daysPrior)
  Calculates the S value for a given pivot level.
  Parameters:
    level (int): The level to caclulate.
    daysPrior (simple int): The number of days in the past to do the calculation.

vacinity(value, daysPrior, maxLevel)
  Returns a value representing where the provided value is in relation to each pivot level.
  Parameters:
    value (float): The value to compare against.
    daysPrior (simple int): The number of days in the past to do the calculation.
    maxLevel (simple int): The maximum number of pivot levels to include.
Perpustakaan pine

Dalam semangat TradingView yang sesungguhnya, penulis telah membuat Pine Code sebagai perpustakaan sumber-terbuka sehingga programmer Pine lainnya dapat menggunakannya kembali. Beri semangat kepada penulis! Anda dapat menggunakan perpustakaan ini secara pribadi maupun dalam publikasi terbuka, namun menggunakan ulang kode ini diatur dalam Tata Tertib.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Ingin menggunakan perpustakaan ini?

Copy garis berikut ini dan tempel pada script anda.