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
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
發行說明
v2Added:
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
發行說明
v3發行說明
v4發行說明
v5Added:
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)
發行說明
v6Added:
method set(this, key, value)
Namespace types: Fluent
Parameters:
this (Fluent)
key (int)
value (linefill)
Removed:
method update(this, key, value)
Pine腳本庫
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免責聲明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine腳本庫
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免責聲明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.