PINE LIBRARY

ToolsFluent

Library "ToolsFluent"
Fluent data holder object with retrieval and modification functions

set(fluent, key, value)
  Returns Fluent object after setting related fluent value
  Parameters:
    fluent (Fluent): Fluent Fluent object
    key (string): string|int Key to be set
    value (int): int|float|bool|string|color Value to be set
  Returns: Fluent

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (string)
    value (float)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (string)
    value (bool)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (string)
    value (string)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (string)
    value (color)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (int)
    value (int)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (int)
    value (float)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (int)
    value (bool)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (int)
    value (string)

set(fluent, key, value)
  Parameters:
    fluent (Fluent)
    key (int)
    value (color)

get(fluent, key, default)
  Returns Fluent object key's value or default value when key not found
  Parameters:
    fluent (Fluent): Fluent object
    key (string)
    default (int): int|float|bool|string|color Value to be returned when key not exists
  Returns: int|float|bool|string|color

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (string)
    default (float)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (string)
    default (bool)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (string)
    default (string)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (string)
    default (color)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (int)
    default (int)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (int)
    default (float)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (int)
    default (bool)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (int)
    default (string)

get(fluent, key, default)
  Parameters:
    fluent (Fluent)
    key (int)
    default (color)

Fluent
  Fluent - General purpose data holder object
  Fields:
    msi (map<string, int>): map<string, int> String key, integer value info holder map. Default: na
    msf (map<string, float>): map<string, float> String key, float value info holder map. Default: na
    msb (map<string, bool>): map<string, bool> String key, boolean value info holder map. Default: na
    mss (map<string, string>): map<string, string> String key, string value info holder map. Default: na
    msc (map<string, color>): map<string, colour> String key, color value info holder map. Default: na
    mii (map<int, int>): map<string, int> Integer key, integer value info holder map. Default: na
    mif (map<int, float>): map<string, float> Integer key, float value info holder map. Default: na
    mib (map<int, bool>): map<string, bool> Integer key, boolean value info holder map. Default: na
    mis (map<int, string>): map<string, string> Integer key, string value info holder map. Default: na
    mic (map<int, color>): map<string, colour> Integer key, color value info holder map. Default: na
formatting

Biblioteca do Pine

De acordo com o verdadeiro espírito do TradingView, o autor publicou esse código Pine como uma biblioteca de código aberto para que outros programadores Pine de nossa comunidade possam reutilizá-lo. Parabéns ao autor! Você pode usar essa biblioteca de forma privada ou em outras publicações de código aberto, mas a reutilização desse código em uma publicação é regida pelas Regras da Casa.


Também em:

Aviso legal