PINE LIBRARY

lib_session_gaps

By 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

مكتبة باين

كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشور تحكمه قوانين الموقع.

إخلاء المسؤولية