OPEN-SOURCE SCRIPT
Telah dikemas kini 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.
Nota Keluaran
Сделан фильтр исключения сигналов, если они не соответствуют направлению движения цены.Фильтр для направления вверх - если одно из 5 предыдущих закрытий меньше текущего закрытия
Фильтр для направления вниз- если одно из 5 предыдущих закрытий больше текущего закрытия
Также развороты вверх переименованы в SA и SA-2 (Stopping action)
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.