RozaniGhani-RG

HarmonicCalculation

█ OVERVIEW
This library is complementary for XABCD Harmonic Pattern Custom Range Interactive

PriceDiff()
  : Price Difference
  Parameters:
    : : price_1, price_2
  Returns: : PriceDiff

TimeDiff()
  : Time Difference
  Parameters:
    : : time_1, time_2
  Returns: : TimeDiff

ReturnIndexOf3Arrays()
  : Return Index Of 3 Arrays
  Parameters:
    : : id1, id2, id3, _int
  Returns: : ReturnIndexOf3Arrays

AbsoluteRange()
  : Price Difference
  Parameters:
    : : price, y, point
  Returns: : AbsoluteRange

PriceAverage()
  : To calculate average of 2 prices
  Parameters:
    : : price_1, price_2
  Returns: : PriceAverage

TimeAverage()
  : To calculate average of 2 times
  Parameters:
    : : time_1, time_2
  Returns: : TimeAverage

StringBool()
  : To show ratio in 3 decimals format
  Parameters:
    : : _value, _bool, _text
  Returns: : StringBool

PricePercent()
  : To show Price in percent format
  Parameters:
    : : _price, PriceRef, str_dir
  Returns: : PricePercent

BoolCurrency()
  : To show syminfo.currency
  Parameters:
    : : _bool
  Returns: : BoolCurrency

RatioText()
  : To show RatioText in 3 decimals format
  Parameters:
    : : _value, _text
  Returns: : RatioText

RangeText()
  : To display RangeText in Harmonic Range Format
  Parameters:
    : : _id1, _id2, _int, _text
  Returns: : RangeText

PriceCurrency()
  : To show Currency in Price Format
  Parameters:
    : : _bool, _value
  Returns: : PriceCurrency

Biblioteka Pine

Działając zgodnie z prawdziwym duchem TradingView, autor opublikował ten kod Pine jako bibliotekę o otwartym kodzie źródłowym, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla niego! Możesz korzystać z tej biblioteki prywatnie lub w innych publikacjach typu open source, ale ponowne wykorzystanie tego kodu w publikacji podlega Regulaminowi.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz skorzystać z tej biblioteki?

Skopiuj poniższy wiersz i wklej go w swoim skrypcie.