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)
strategiestechindicator

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