PINE LIBRARY
Updated

dmarcLevelParser

311
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>)
Release Notes
v2

Added:
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
v3

Updated:
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
v4

Updated:
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>)
Release Notes
v5

Updated:
dmarcLevels
  Fields:
    supplyLines (array<float>)
    supplyZones (array<zoneRange>)
    majorLines (array<float>)
    onZones (array<zoneRange>)
    onLines (array<float>)
    highLines (array<float>)
    lowLines (array<float>)
    htfZones (array<zoneRange>)
    mansupLines (array<float>)
    mansupmajLines (array<float>)
    mansupZones (array<zoneRange>)
    mansupmajZones (array<zoneRange>)
    manresLines (array<float>)
    manresmajLines (array<float>)
    manresZones (array<zoneRange>)
    manresmajZones (array<zoneRange>)

Amended Zone and Line names
Release Notes
v6

Fixed error in code for SUPPLY ZONE and SUPPLY LINE being swapped.
Release Notes
v7

Fixed endings of categories.

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.