gianlucac

StringStringHashmap

Library "StringStringHashmap"
A simple implementation of a key string-to-string value dictionary in pine script

create_ss_dict()
  Create an empty string-string dictionary
  Returns: the indices and elements of the dict

add_key_value(key, value, i, e)
  Add new key-value pair in the dictionary
  Parameters:
    key: string
    value: string
    i: string the indices of the dictionary
    e: string the element of the dictionary

get_value(key, i, e)
  Get the value of the given key
  Parameters:
    key: string
    i: string the indices of the dictionary
    e: string the element of the dictionary
  Returns: return the value of the given key

change_value(key, value, i, e)
  Change the value of the given key
  Parameters:
    key: string
    value: string
    i: string the indices of the dictionary
    e: string the element of the dictionary
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.