SamaaraDas

AoDivergenceLibrary_

SamaaraDas Zaktualizowano   
Library "AoDivergenceLibrary_"
this has functions which calculate and plot divergences which are used for ao divergences. essentially, this finds divergences by using the ao divergence logic. this logic has been used in "AO Hid & Reg Div with LC & Kernel".

regBullDivergence(swingLow, osc, colour)
  Parameters:
    swingLow (bool)
    osc (float)
    colour (color)

regBearDivergence(swingHigh, osc, colour)
  Parameters:
    swingHigh (bool)
    osc (float)
    colour (color)

hidBullDivergence(swingHigh, osc, colour)
  Parameters:
    swingHigh (bool)
    osc (float)
    colour (color)

hidBearDivergence(swingHigh, osc, colour)
  Parameters:
    swingHigh (bool)
    osc (float)
    colour (color)
Informacje o Wersji:
v2

Added:
findLowestAo(start, osc, _end)
  Parameters:
    start (int)
    osc (float)
    _end (int)

findHighestAo(start, osc, _end)
  Parameters:
    start (int)
    osc (float)
    _end (int)

credit goes to @sammie123567858
Informacje o Wersji:
v3

Removed:
findLowestAo(start, osc, _end)

findHighestAo(start, osc, _end)
Informacje o Wersji:
v4

Added:
findLowestAo(start, osc, _end)
  to find the lowest ao in the given range (starting from _end upto end)
  Parameters:
    start (int): is for the left side. the parameter value is supposed to be a bar index
    osc (float)
    _end (int): is for the right side. the parameter value is supposed to be a shift

findHighestAo(start, osc, _end)
  to find the highes ao in the given range (starting from _end upto end)
  Parameters:
    start (int): is for the left side. the parameter value is supposed to be a bar index
    osc (float)
    _end (int): is for the right side. the parameter value is supposed to be a shift
Informacje o Wersji:
v5

Added:
findLowestPrice(start, end)
  to find the lowest price in the given range (starting from start upto end)
  Parameters:
    start (int): is for the right side. the parameter value is supposed to be a bar index
    end (int): is for the left side. the parameter value is supposed to be a bar index

findHighestPrice(start, end)
  to find the highest price in the given range (starting from start upto end)
  Parameters:
    start (int): is for the right side. the parameter value is supposed to be a bar index
    end (int): is for the left side. the parameter value is supposed to be a bar index

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.