PINE LIBRARY
업데이트됨 Graph

Library "Graph"
Library to collect data and draw scatterplot and heatmap as graph
method init(this)
Initialise Quadrant Data
Namespace types: Quadrant
Parameters:
this (Quadrant): Quadrant object that needs to be initialised
Returns: current Quadrant object
method init(this)
Initialise Graph Data
Namespace types: Graph
Parameters:
this (Graph): Graph object that needs to be initialised with 4 Quadrants
Returns: current Graph object
method add(this, data)
Add coordinates to graph
Namespace types: Graph
Parameters:
this (Graph): Graph object
data (Coordinate): Coordinates containing x, y data
Returns: current Graph object
method calculate(this)
Calculation required for plotting the graph
Namespace types: Graph
Parameters:
this (Graph): Graph object
Returns: current Graph object
method paint(this)
Draw graph
Namespace types: Graph
Parameters:
this (Graph): Graph object
Returns: current Graph object
Coordinate
Coordinates of sample data
Fields:
xValue (series float): x value of the sample data
yValue (series float): y value of the sample data
Quadrant
Data belonging to particular quadrant
Fields:
coordinates (array<Coordinate>): Coordinates present in given quadrant
GraphProperties
Properties of Graph that needs to be drawn
Fields:
rows (series int): Number of rows (y values) in each quadrant
columns (series int): number of columns (x values) in each quadrant
graphtype (series GraphType): Type of graph - scatterplot or heatmap
plotColor (series color): color of plots or heatmap
plotSize (series string): size of cells in the table
plotchar (series string): Character to be printed for display of scatterplot
outliers (series int): Excude the outlier percent of data from calculating the min and max
position (series string): Table position
bgColor (series color): graph background color
PlotRange
Range of a plot in terms of x and y values and the number of data points that fall within the Range
Fields:
minX (series float): min range of X value
maxX (series float): max range of X value
minY (series float): min range of Y value
maxY (series float): max range of Y value
count (series int): number of samples in the range
Graph
Graph data and properties
Fields:
properties (GraphProperties): Graph Properties object associated
quadrants (array<Quadrant>): Array containing 4 quadrant data
plotRanges (matrix<PlotRange>): range and count for each cell
xArray (array<float>): array of x values
yArray (array<float>): arrray of y values
Library to collect data and draw scatterplot and heatmap as graph
method init(this)
Initialise Quadrant Data
Namespace types: Quadrant
Parameters:
this (Quadrant): Quadrant object that needs to be initialised
Returns: current Quadrant object
method init(this)
Initialise Graph Data
Namespace types: Graph
Parameters:
this (Graph): Graph object that needs to be initialised with 4 Quadrants
Returns: current Graph object
method add(this, data)
Add coordinates to graph
Namespace types: Graph
Parameters:
this (Graph): Graph object
data (Coordinate): Coordinates containing x, y data
Returns: current Graph object
method calculate(this)
Calculation required for plotting the graph
Namespace types: Graph
Parameters:
this (Graph): Graph object
Returns: current Graph object
method paint(this)
Draw graph
Namespace types: Graph
Parameters:
this (Graph): Graph object
Returns: current Graph object
Coordinate
Coordinates of sample data
Fields:
xValue (series float): x value of the sample data
yValue (series float): y value of the sample data
Quadrant
Data belonging to particular quadrant
Fields:
coordinates (array<Coordinate>): Coordinates present in given quadrant
GraphProperties
Properties of Graph that needs to be drawn
Fields:
rows (series int): Number of rows (y values) in each quadrant
columns (series int): number of columns (x values) in each quadrant
graphtype (series GraphType): Type of graph - scatterplot or heatmap
plotColor (series color): color of plots or heatmap
plotSize (series string): size of cells in the table
plotchar (series string): Character to be printed for display of scatterplot
outliers (series int): Excude the outlier percent of data from calculating the min and max
position (series string): Table position
bgColor (series color): graph background color
PlotRange
Range of a plot in terms of x and y values and the number of data points that fall within the Range
Fields:
minX (series float): min range of X value
maxX (series float): max range of X value
minY (series float): min range of Y value
maxY (series float): max range of Y value
count (series int): number of samples in the range
Graph
Graph data and properties
Fields:
properties (GraphProperties): Graph Properties object associated
quadrants (array<Quadrant>): Array containing 4 quadrant data
plotRanges (matrix<PlotRange>): range and count for each cell
xArray (array<float>): array of x values
yArray (array<float>): arrray of y values
릴리즈 노트
v2Added:
method paintQuadrantSummary(this)
Draw quadrant summary
Namespace types: Graph
Parameters:
this (Graph): Graph object
Returns: current Graph object
Updated:
GraphProperties
Properties of Graph that needs to be drawn
Fields:
rows (series int): Number of rows (y values) in each quadrant
columns (series int): number of columns (x values) in each quadrant
graphtype (series GraphType): Type of graph - scatterplot or heatmap
plotColor (series color): color of plots or heatmap
plotSize (series string): size of cells in the table
plotchar (series string): Character to be printed for display of scatterplot
outliers (series int): Excude the outlier percent of data from calculating the min and max
position (series string): Table position
bgColor (series color): graph background color
summaryBgColor (series color): background color of quadrant summary label
summaryTextColor (series color): text color of quadrant summary label
summaryTextSize (series string): Size of the quadrant summary text
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.