PINE LIBRARY

PitchforkTypes

Mis à jour
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
Notes de version
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

Bibliothèque Pine

Dans le plus pur esprit TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque en privé ou dans d'autres publications à code source ouvert, mais la réutilisation de ce code dans une publication est régie par nos Règles.

Clause de non-responsabilité