PINE LIBRARY

PitchforkTypes

已更新
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
版本注释
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

Pine脚本库

本着真正的TradingView精神,作者将此Pine代码发布为开源脚本库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。

免责声明