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
Added:
method init(this, msi, msf, msb, mss, msc, aii, aif, aib, ais, aic, aibx, ail, ailb, ait, ailf)
Initalise Fluent object
Namespace types: Fluent
Parameters:
this (Fluent)
msi (map<string, int>): map<string, int> String key, integer value data holder map. Default: na
msf (map<string, float>): map<string, float> String key, float value data holder map. Default: na
msb (map<string, bool>): map<string, bool> String key, boolean value data holder map. Default: na
mss (map<string, string>): map<string, string> String key, string value data holder map. Default: na
msc (map<string, color>): map<string, color> String key, color value data holder map. Default: na
aii (array<int>): array<int> Integer key, integer value data holder array. Default: na
aif (array<float>): array<float> Integer key, float value data holder array. Default: na
aib (array<bool>): array<bool> Integer key, boolean value data holder array. Default: na
ais (array<string>): array<string> Integer key, string value data holder array. Default: na
aic (array<color>): array<color> Integer key, color value data holder array. Default: na
aibx (array<box>): array<box> Integer key, box value data holder array. Default: na
ail (array<line>): array<line> Integer key, line value data holder array. Default: na
ailb (array<label>): array<label> Integer key, label value data holder array. Default: na
ait (array<table>): array<table> Integer key, table value data holder array. Default: na
ailf (array<linefill>): array<linefill> Integer key, linefill value data holder array. Default: na
Returns: Initalised fluent object
method append(this, value)
Namespace types: Fluent
Parameters:
this (Fluent)
value (linefill)
method prepend(this, value)
Namespace types: Fluent
Parameters:
this (Fluent)
value (linefill)
Updated:
method get(this, key, default)
Namespace types: Fluent
Parameters:
this (Fluent)
key (int)
default (linefill)
method set(this, key, value)
Namespace types: Fluent
Parameters:
this (Fluent)
key (int)
value (linefill)
Fluent
Fluent - General purpose data holder object
Fields:
msi (map<string, int>): map<string, int> String key, integer value data holder map. Default: na
msf (map<string, float>): map<string, float> String key, float value data holder map. Default: na
msb (map<string, bool>): map<string, bool> String key, boolean value data holder map. Default: na
mss (map<string, string>): map<string, string> String key, string value data holder map. Default: na
msc (map<string, color>): map<string, color> String key, color value data holder map. Default: na
aii (array<int>): array<int> Integer key, integer value data holder array. Default: na
aif (array<float>): array<float> Integer key, float value data holder array. Default: na
aib (array<bool>): array<bool> Integer key, boolean value data holder array. Default: na
ais (array<string>): array<string> Integer key, string value data holder array. Default: na
aic (array<color>): array<color> Integer key, color value data holder array. Default: na
aibx (array<box>): array<box> Integer key, box value data holder array. Default: na
ail (array<line>): array<line> Integer key, line value data holder array. Default: na
ailb (array<label>): array<label> Integer key, label value data holder array. Default: na
ait (array<table>): array<table> Integer key, table value data holder array. Default: na
ailf (array<linefill>): array<linefill> Integer key, linefill value data holder array. Default: na
Added:
method update(this, key, value)
Namespace types: Fluent
Parameters:
this (Fluent)
key (int)
value (linefill)
Updated:
method init(this, msi, msf, msb, mss, msc, aii, aif, aib, ais, aic, aibx, ail, ailb, ait, ailf)
Initalise Fluent object
Namespace types: Fluent
Parameters:
this (Fluent)
msi (map<string, int>): map<string, int> String key, integer value data holder map. Default: na
msf (map<string, float>): map<string, float> String key, float value data holder map. Default: na
msb (map<string, bool>): map<string, bool> String key, boolean value data holder map. Default: na
mss (map<string, string>): map<string, string> String key, string value data holder map. Default: na
msc (map<string, color>): map<string, color> String key, color value data holder map. Default: na
aii (array<int>): array<int> Integer key, integer value data holder array. Default: na
aif (array<float>): array<float> Integer key, float value data holder array. Default: na
aib (array<bool>): array<bool> Integer key, boolean value data holder array. Default: na
ais (array<string>): array<string> Integer key, string value data holder array. Default: na
aic (array<color>): array<color> Integer key, color value data holder array. Default: na
aibx (array<box>): array<box> Integer key, box value data holder array. Default: na
ail (array<line>): array<line> Integer key, line value data holder array. Default: na
ailb (array<label>): array<label> Integer key, label value data holder array. Default: na
ait (array<table>): array<table> Integer key, table value data holder array. Default: na
ailf (array<linefill>): array<linefill> Integer key, linefill value data holder array. Default: na
Removed:
method set(this, key, value)
Added:
method set(this, key, value)
Namespace types: Fluent
Parameters:
this (Fluent)
key (int)
value (linefill)
Removed:
method update(this, key, value)
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.
Penafian
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.