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.
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。