Library "ta_m" This library is a Pine Script™ programmer’s tool containing calcs for my oscillators and some helper functions.
upDnIntrabarVolumesByPolarity() Determines if the volume for an intrabar is up or down. Returns: ([float, float]) A tuple of two values, one of which contains the bar's volume. `upVol` is the positive volume of up bars. `dnVol` is the negative volume of down bars. Note that when this function is designed to be called with `request.security_lower_tf()`, which will return a tuple of "array<float>" arrays containing up and dn volume for all the intrabars in a chart bar.
upDnIntrabarVolumesByPrice() Determines if the intrabar volume is up or down Returns: ([float, float]) A tuple of two values, one of which contains the bar's volume. `upVol` is the positive volume of up bars. `dnVol` is the negative volume of down bars. Note that when this function is designed to be called with `request.security_lower_tf()`, which will return a tuple of "array<float>" arrays containing up and dn volume for all the intrabars in a chart bar.
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน