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.