PINE LIBRARY

PitchforkTypes

Aggiornato
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
Note di rilascio
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

Libreria Pine

In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Un saluto all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.

Declinazione di responsabilità