Індикатор ATR Session [Aspect] аналізує заданий часовий проміжок (наприклад, 09:00–12:00) за таймзоною графіка TradingView та автоматично фіксує дані сесії:
Open – ціна першого бару (стартова ціна сесії), High та Low – максимальна і мінімальна ціна в межах сесії. Після завершення сесії визначається діапазон (High - Low). На основі значень діапазону за попередні N завершених сесій (N задається у налаштуваннях) розраховується середній діапазон руху ціни.
У поточну сесію, одразу після її початку (наприклад, о 09:00), індикатор малює три горизонтальні лінії:
Базова лінія: рівень Open, Верхня лінія: Open + середній діапазон, Нижня лінія: Open - середній діапазон. Ці рівні відображають потенційні межі руху ціни, базуючись на історичних даних. Налаштування дозволяють змінювати часовий проміжок сесії, кількість днів для розрахунку середнього, а також параметри відображення (колір, товщина ліній).
Індикатор розрахований для TradingView на Pine Script v6 і відображається без заливки (лише як горизонтальні лінії).
Script de código aberto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.