PINE LIBRARY
Updated dmarcLevelParser

Library "dmarcLevelParser"
Provides a parsing library that indicator authors can use in order to parse dmarcLevels.
parseLevels(s)
Parses the string content and returns the `dmarcLevels` found within.
Parameters:
s (string): The string to parse.
Returns: The parsed dmarc levels.
zoneRange
Fields:
high (series float)
low (series float)
wtdLevels
Fields:
lvnLines (array<float>)
lvnZones (array<zoneRange>)
supplyLines (array<float>)
supplyZones (array<zoneRange>)
vses (array<float>)
vahs (array<float>)
vals (array<float>)
pocs (array<float>)
miscZones (array<zoneRange>)
miscLines (array<float>)
fbos (array<float>)
fbds (array<float>)
majorLevels (array<float>)
mansupLines (array<float>)
mansupmajLines (array<float>)
mansupZones (array<zoneRange>)
mansupmajZones (array<zoneRange>)
manresLines (array<float>)
manresmajLines (array<float>)
manresZones (array<zoneRange>)
manresmajZones (array<zoneRange>)
Provides a parsing library that indicator authors can use in order to parse dmarcLevels.
parseLevels(s)
Parses the string content and returns the `dmarcLevels` found within.
Parameters:
s (string): The string to parse.
Returns: The parsed dmarc levels.
zoneRange
Fields:
high (series float)
low (series float)
wtdLevels
Fields:
lvnLines (array<float>)
lvnZones (array<zoneRange>)
supplyLines (array<float>)
supplyZones (array<zoneRange>)
vses (array<float>)
vahs (array<float>)
vals (array<float>)
pocs (array<float>)
miscZones (array<zoneRange>)
miscLines (array<float>)
fbos (array<float>)
fbds (array<float>)
majorLevels (array<float>)
mansupLines (array<float>)
mansupmajLines (array<float>)
mansupZones (array<zoneRange>)
mansupmajZones (array<zoneRange>)
manresLines (array<float>)
manresmajLines (array<float>)
manresZones (array<zoneRange>)
manresmajZones (array<zoneRange>)
Release Notes
v2Added:
dmarcLevels
Fields:
lvnLines (array<float>)
lvnZones (array<zoneRange>)
supplyLines (array<float>)
supplyZones (array<zoneRange>)
vses (array<float>)
vahs (array<float>)
vals (array<float>)
pocs (array<float>)
miscZones (array<zoneRange>)
miscLines (array<float>)
fbos (array<float>)
fbds (array<float>)
majorLevels (array<float>)
mansupLines (array<float>)
mansupmajLines (array<float>)
mansupZones (array<zoneRange>)
mansupmajZones (array<zoneRange>)
manresLines (array<float>)
manresmajLines (array<float>)
manresZones (array<zoneRange>)
manresmajZones (array<zoneRange>)
Updated:
parseLevels(s)
Parses the string content and returns the `dmarcLevels` found within.
Parameters:
s (string): The string to parse.
Returns: The parsed WTD levels.
Removed:
wtdLevels
Release Notes
v3Updated:
dmarcLevels
Fields:
lvnLines (array<float>)
lvnZones (array<zoneRange>)
supplyLines (array<float>)
supplyZones (array<zoneRange>)
vses (array<float>)
vahs (array<float>)
vals (array<float>)
pocs (array<float>)
miscZones (array<zoneRange>)
miscLines (array<float>)
fbos (array<float>)
fbds (array<float>)
majorLevels (array<float>)
mansupLines (array<float>)
mansupmajLines (array<float>)
mansupZones (array<zoneRange>)
mansupmajZones (array<zoneRange>)
manresLines (array<float>)
manresmajLines (array<float>)
manresZones (array<zoneRange>)
manresmajZones (array<zoneRange>)
smashLvls (array<float>)
smashRess (array<float>)
smashSups (array<float>)
Release Notes
v4Updated:
dmarcLevels
Fields:
lvnLines (array<float>)
lvnZones (array<zoneRange>)
supplyLines (array<float>)
supplyZones (array<zoneRange>)
vses (array<float>)
vahs (array<float>)
vals (array<float>)
pocs (array<float>)
miscZones (array<zoneRange>)
miscLines (array<float>)
fbos (array<float>)
fbds (array<float>)
majorLevels (array<float>)
mansupLines (array<float>)
mansupmajLines (array<float>)
mansupZones (array<zoneRange>)
mansupmajZones (array<zoneRange>)
manresLines (array<float>)
manresmajLines (array<float>)
manresZones (array<zoneRange>)
manresmajZones (array<zoneRange>)
smashLvls (array<float>)
smashSups (array<float>)
smashRess (array<float>)
Pine library
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.
Disclaimer
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 library
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.
Disclaimer
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.