OPEN-SOURCE SCRIPT
Updated SOT INDICATOR for VSA

Russian language
SOT бар для VSA (Volume spread analysis)
Индикатор обозначает бары указывающие на остановку цены и возможный разворот.
Индикатор в первую очередь написан для таймфреймов от одного часа. На таймфреймах менее 1 часа сигнал будет приводить к неверным результатам, поскольку вечерние объемы существенно ниже дневных.
условие 1: закрытие текущего бара близко к закрытию предыдущего (достигается путём сравнения среднего диапазона последних 5 баров)
sma(high-close,5) - это средний диапазон за 5 баров
итого получается разница между закрытиями меньше 1/2 среднего диапазона за последние 5 баров.
Условие 2: должен быть хвост продаж или покупок (критерий - составляет не менее 2/3 от всего диапазона бара)
Условие 3: объемы должны быть увеличивающиеся (я взял, что текущей объем должен быть больше среднего за последние 5 баров)
Индикатор следует использовать совместно с теорией VSA.
English language (Google Translate)
SOT bar for VSA
The indicator indicates bars indicating a stop of the price and a possible reversal.
The indicator is primarily written for time frames from one hour. On time frames of less than 1 hour, the signal will lead to incorrect results, since evening volumes are significantly lower than daily volumes.
Condition 1: closing the current bar is close to closing the previous one (achieved by comparing the average range of the last 5 bars)
sma (high-close, 5) is the average range for 5 bars
total, the difference between closures is less than 1/2 of the average range for the last 5 bars.
Condition 2: there must be a tail of sales or purchases (the criterion is at least 2/3 of the entire range of the bar)
Condition 3: volumes must be increasing (I took that the current volume should be more than the average for the last 5 bars)
The indicator should be used in conjunction with VSA theory.
SOT бар для VSA (Volume spread analysis)
Индикатор обозначает бары указывающие на остановку цены и возможный разворот.
Индикатор в первую очередь написан для таймфреймов от одного часа. На таймфреймах менее 1 часа сигнал будет приводить к неверным результатам, поскольку вечерние объемы существенно ниже дневных.
условие 1: закрытие текущего бара близко к закрытию предыдущего (достигается путём сравнения среднего диапазона последних 5 баров)
sma(high-close,5) - это средний диапазон за 5 баров
итого получается разница между закрытиями меньше 1/2 среднего диапазона за последние 5 баров.
Условие 2: должен быть хвост продаж или покупок (критерий - составляет не менее 2/3 от всего диапазона бара)
Условие 3: объемы должны быть увеличивающиеся (я взял, что текущей объем должен быть больше среднего за последние 5 баров)
Индикатор следует использовать совместно с теорией VSA.
English language (Google Translate)
SOT bar for VSA
The indicator indicates bars indicating a stop of the price and a possible reversal.
The indicator is primarily written for time frames from one hour. On time frames of less than 1 hour, the signal will lead to incorrect results, since evening volumes are significantly lower than daily volumes.
Condition 1: closing the current bar is close to closing the previous one (achieved by comparing the average range of the last 5 bars)
sma (high-close, 5) is the average range for 5 bars
total, the difference between closures is less than 1/2 of the average range for the last 5 bars.
Condition 2: there must be a tail of sales or purchases (the criterion is at least 2/3 of the entire range of the bar)
Condition 3: volumes must be increasing (I took that the current volume should be more than the average for the last 5 bars)
The indicator should be used in conjunction with VSA theory.
Release Notes
Сделан фильтр исключения сигналов, если они не соответствуют направлению движения цены.Фильтр для направления вверх - если одно из 5 предыдущих закрытий меньше текущего закрытия
Фильтр для направления вниз- если одно из 5 предыдущих закрытий больше текущего закрытия
Также развороты вверх переименованы в SA и SA-2 (Stopping action)
Open-source script
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.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
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.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.