PINE LIBRARY
lib_drawing_composite_types

Library "lib_drawing_composite_types"
User Defined Types for basic drawing structure. Other types and methods will be built on these. (added type Triangle and Polygon to tradingview.com/script/63c8VXSa-DrawingTypes/)
TriangleProperties
TriangleProperties object
Fields:
border_color (series color): Box border color. Default is color.blue
fill_color (series color): Fill color
fill_transparency (series int)
border_width (series int): Box border width. Default is 1
border_style (series string): Box border style. Default is line.style_solid
xloc (series string): defines if drawing needs to be done based on bar index or time. default is xloc.bar_index
Triangle
Triangle object
Fields:
p1 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): point one
p2 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): point two
p3 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): point three
properties (TriangleProperties): Triangle properties
l12 (series line): line object created
l23 (series line): line object created
l31 (series line): line object created
Trianglefill
Trianglefill object
Fields:
triangle (Triangle): to create a linefill for
fill_color (series color): Fill color
transparency (series int): Fill transparency range from 0 to 100
object (series linefill): linefill object created
Polygon
Polygon object
Fields:
center (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): Point that triangles are using as common center
triangles (Triangle[]): an array of triangles that form the Polygon
Polygonfill
Polygonfill object
Fields:
_polygon (Polygon): to create a fill for
_fills (Trianglefill[]): an array of Trianglefill objects that match the array of triangles in _polygon
User Defined Types for basic drawing structure. Other types and methods will be built on these. (added type Triangle and Polygon to tradingview.com/script/63c8VXSa-DrawingTypes/)
TriangleProperties
TriangleProperties object
Fields:
border_color (series color): Box border color. Default is color.blue
fill_color (series color): Fill color
fill_transparency (series int)
border_width (series int): Box border width. Default is 1
border_style (series string): Box border style. Default is line.style_solid
xloc (series string): defines if drawing needs to be done based on bar index or time. default is xloc.bar_index
Triangle
Triangle object
Fields:
p1 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): point one
p2 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): point two
p3 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): point three
properties (TriangleProperties): Triangle properties
l12 (series line): line object created
l23 (series line): line object created
l31 (series line): line object created
Trianglefill
Trianglefill object
Fields:
triangle (Triangle): to create a linefill for
fill_color (series color): Fill color
transparency (series int): Fill transparency range from 0 to 100
object (series linefill): linefill object created
Polygon
Polygon object
Fields:
center (Point type from HeWhoMustNotBeNamed/DrawingTypes/2): Point that triangles are using as common center
triangles (Triangle[]): an array of triangles that form the Polygon
Polygonfill
Polygonfill object
Fields:
_polygon (Polygon): to create a fill for
_fills (Trianglefill[]): an array of Trianglefill objects that match the array of triangles in _polygon
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.