PINE LIBRARY

lib_session_gaps

Di robbatt
Library "lib_session_gaps"
simple lib to calculate the gaps between sessions

time_gap()
  calculates the time gap between this and previous session (in case of irregular end of previous session, considering extended sessions)
  Returns: the time gap between this and previous session in ms (time - time_close[1])

bar_gap()
  calculates the bars missing between this and previous session (in case of irregular end of previous session, considering extended sessions)
  Returns: the bars virtually missing between this and previous session (time gap / bar size in ms)
detectiongapgapssessionsessionstimesessions

Libreria Pine

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.

Declinazione di responsabilità