is_in_session(sessionTime, sessionTimeZone) : Check if actual bar is in specific session with specific time zone Parameters: sessionTime sessionTimeZone
is_session_start(sessionTime, sessionTimeZone) : Check if actual bar the first bar of a specific session Parameters: sessionTime sessionTimeZone
is_new_day(timeZone) : Check if a new day started Parameters: timeZone
is_new_week(timeZone) : Check if a new week started Parameters: timeZone
is_new_month(timeZone) : Check if a new month started Parameters: timeZone
is_element_to_show_with_tf_up(base, value) : Check if an element is to show compared to a specific timeframe > Parameters: base value
is_element_to_show_with_tf_down(base, value) : Check if an element is to show compared to a specific timeframe < Parameters: base value
В истинном духе TradingView автор опубликовал этот код Pine как библиотеку с открытым исходным кодом, чтобы другие программисты Pine из нашего сообщества могли им воспользоваться. Вы можете использовать эту библиотеку в приватных или других публикациях с открытым исходным кодом, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.