Library "Drawings_public" : Functions to manage drawings on the chart
extend_line(lineId, labelId) : Extend specific line with its label Parameters: lineId labelId
update_line_coordinates(lineId, labelId, x1, y1, x2, y2) : Update specific line coordinates with its label Parameters: lineId labelId x1 y1 x2 y2
update_label_coordinates(labelId, value) : Update coordinates of a label Parameters: labelId value
delete_line(lineId, labelId) : Delete specific line with its label Parameters: lineId labelId
update_box_coordinates(boxId, labelId, left, top, right, bottom) : Update specific box coordinates with its label Parameters: boxId labelId left top right bottom
delete_box(boxId, labelId) : Delete specific box with its label Parameters: boxId labelId
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน