PINE LIBRARY
ToolsPrice

Library "ToolsPrice"
Library for generic tools for price related actions
Enum: PriceSource
An enumeration of named values representing price source.
Fields:
open Represents the "Open" price.
high Represents the "High" price.
low Represents the "Low" price.
close Represents the "Close" price.
hl2 Represents the "(High + Low)/2" price.
hlc3 Represents the "(High + Low + Close)/3" price.
ohlc4 Represents the "(Open + High + Low + Close)/4" price.
hlcc4 Represents the "(High + Low + Close + Close)/4" price.
Function: getPriceBySource(src)
Returns series float according to provided PriceSource enum
Parameters:
src (series PriceSource): PriceSource enum
Returns: Series float
Library for generic tools for price related actions
Enum: PriceSource
An enumeration of named values representing price source.
Fields:
open Represents the "Open" price.
high Represents the "High" price.
low Represents the "Low" price.
close Represents the "Close" price.
hl2 Represents the "(High + Low)/2" price.
hlc3 Represents the "(High + Low + Close)/3" price.
ohlc4 Represents the "(Open + High + Low + Close)/4" price.
hlcc4 Represents the "(High + Low + Close + Close)/4" price.
Function: getPriceBySource(src)
Returns series float according to provided PriceSource enum
Parameters:
src (series PriceSource): PriceSource enum
Returns: Series float
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน