PINE LIBRARY

ManipulationLegHelperLibrary

Updated
Library "ManipulationLegHelperLibrary"
TODO: add library description here

devToArray(dev)
  Parameters:
    dev (string)

getDev(d, bull, h, l)
  Parameters:
    d (float)
    bull (bool)
    h (float)
    l (float)

getBearLeg(sweeps, minLegSize, drawLegBox, boxColor)
  Parameters:
    sweeps (int)
    minLegSize (float)
    drawLegBox (bool)
    boxColor (color)

getBullLeg(sweeps, minSize, drawBox, boxColor)
  Parameters:
    sweeps (int)
    minSize (float)
    drawBox (bool)
    boxColor (color)

leg
  Fields:
    time (series int)
    low (series float)
    high (series float)
    edge (series bool)
    edge_price (series float)
    validated (series int)
    sweeps (series int)
    barC (series int)
    bx (series box)
Release Notes
v2
debug
Release Notes
v3
Release Notes
v4
Release Notes
v5
Release Notes
v6
Release Notes
v7

Updated:
leg
  Fields:
    time (series int)
    low (series float)
    high (series float)
    edge (series bool)
    edge_price (series float)
    outer_edge (series float)
    sweeps (series int)
    barC (series int)
    validated (series int)
    bx (series box)
Release Notes
v8
Release Notes
v9

Added:
getInternalLeg(start, bull)
  Parameters:
    start (int)
    bull (bool)
Release Notes
v10

Updated:
getInternalLeg(start, bull, skipS)
  Parameters:
    start (int)
    bull (bool)
    skipS (float)
Release Notes
v11

Updated:
leg
  Fields:
    time (series int)
    low (series float)
    high (series float)
    edge (series bool)
    edge_price (series float)
    outer_edge (series float)
    sweeps (series int)
    barC (series int)
    validated (series int)
    bx (series box)
    flatEdge (series bool)
Release Notes
v12

Updated:
leg
  Fields:
    time (series int)
    low (series float)
    high (series float)
    edge (series bool)
    edge_price (series float)
    outer_edge (series float)
    sweeps (series int)
    barC (series int)
    validated (series int)
    bx (series box)
    flatEdge (series bool)
    edgeOpen (series float)
Release Notes
v13
Release Notes
v14
fixed barC
Release Notes
v15
Release Notes
v15
Release Notes
v17
Release Notes
v18

Updated:
getBearLeg(sweeps, minLegSize, drawLegBox, boxColor, skipS)
  Parameters:
    sweeps (int)
    minLegSize (float)
    drawLegBox (bool)
    boxColor (color)
    skipS (float)

getBullLeg(sweeps, minSize, drawBox, boxColor, skipS)
  Parameters:
    sweeps (int)
    minSize (float)
    drawBox (bool)
    boxColor (color)
    skipS (float)

leg
  Fields:
    time (series int)
    low (series float)
    high (series float)
    edge (series bool)
    edge_price (series float)
    outer_edge (series float)
    sweeps (series int)
    barC (series int)
    validated (series int)
    bx (series box)
    flatEdge (series bool)
    edgeOpen (series float)
    ln (array<line>)
    lb (array<label>)
    processed (series bool)
Release Notes
v19
Release Notes
v20
debugging

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 a publication is governed by House rules.

Disclaimer