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.
In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Un saluto all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.