PINE LIBRARY

PitchforkTypes

Actualizado
Library "PitchforkTypes"
User Defined Types to be used for Pitchfork and Drawing elements of Pitchfork. Depends on DrawingTypes for Point, Line, and LineProperties objects

PitchforkDrawingProperties
  Pitchfork Drawing Properties object
  Fields:
    extend: If set to true, forks are extended towards right. Default is true
    fill: Fill forklines with transparent color. Default is true
    fillTransparency: Transparency at which fills are made. Only considered when fill is set. Default is 80
    forceCommonColor: Force use of common color for forks and fills. Default is false
    commonColor: common fill color. Used only if ratio specific fill colors are not available or if forceCommonColor is set to true.

PitchforkDrawing
  Pitchfork drawing components
  Fields:
    medianLine: Median line of the pitchfork
    baseLine: Base line of the pitchfork
    forkLines: fork lines of the pitchfork
    linefills: Linefills between forks

Fork
  Fork object property
  Fields:
    ratio: Fork ratio
    forkColor: color of fork. Default is blue
    include: flag to include the fork in drawing. Default is true

PitchforkProperties
  Pitchfork Properties
  Fields:
    forks: Array of Fork objects
    type: Pitchfork type. Supported values are "regular", "schiff", "mschiff", Default is regular
    inside: Flag to identify if to draw inside fork. If set to true, inside fork will be drawn

Pitchfork
  Pitchfork object
  Fields:
    a: Pivot Point A of pitchfork
    b: Pivot Point B of pitchfork
    c: Pivot Point C of pitchfork
    properties: PitchforkProperties object which determines type and composition of pitchfork
    dProperties: Drawing properties for pitchfork
    lProperties: Common line properties for Pitchfork lines
    drawing: PitchforkDrawing object
Notas de prensa
v2

Updated:
PitchforkDrawing
  Pitchfork drawing components
  Fields:
    medianLine (Line type from HeWhoMustNotBeNamed/DrawingTypes/2): Median line of the pitchfork
    baseLine (Line type from HeWhoMustNotBeNamed/DrawingTypes/2): Base line of the pitchfork
    forkLines (Line[] type from HeWhoMustNotBeNamed/DrawingTypes/2): fork lines of the pitchfork
    linefills (Linefill[] type from HeWhoMustNotBeNamed/DrawingTypes/2): Linefills between forks

Pitchfork
  Pitchfork object
  Fields:
    a (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): Pivot Point A of pitchfork
    b (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): Pivot Point B of pitchfork
    c (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): Pivot Point C of pitchfork
    properties (PitchforkProperties): PitchforkProperties object which determines type and composition of pitchfork
    dProperties (PitchforkDrawingProperties): Drawing properties for pitchfork
    lProperties (LineProperties type from HeWhoMustNotBeNamed/DrawingTypes/2): Common line properties for Pitchfork lines
    drawing (PitchforkDrawing): PitchforkDrawing object
arrayshewhomustnotbenamedMarket GeometrytechindicatortrendoscopeZigzag

Biblioteca Pine

Siguiendo fielmente el espíritu TradingView, el autor ha publicado este código Pine como una biblioteca de código abierto, permitiendo que otros programadores de Pine en nuestra comunidad lo utilicen de nuevo. ¡Olé por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero tenga en cuenta que la reutilización de este código en una publicación se rige por las Normas internas.

Exención de responsabilidad