wozdux

SA_RSIVolume_ORSI.2020.bibl[wozdux]

Description of the SA_RSIvol_ORSI indicator

The rsivol indicator has undergone changes and additions. Since this modified indicator is used in the video, I publish it with explanations.

First add-on

In order to eliminate some delay in the rsivol blue line, A rsivol with a period of 200 was introduced. Then this line became some long-term reference and the regular RSIVOL was divided into RSIVOL200. The result is a pink line. In the indicator, it is indicated as RSIVOL200 by a pink line.

Second addition

In the old indicator, the rsivol parameter itself is calculated as the RSI of the conditional volume price. This volume price is calculated as the average product of the price per volume divided by the average volume for a certain period.
OS=ema (volume*cena, TT)/ ema(volume, TT)
Here, an exponential moving average is used to calculate the volume price. Then the RSI function is taken from this calculated price. As we know from the meaning of the RSI, this is the percentage of purchases from the sum of all transactions or the intensity of purchases. Using volume prices instead of simple prices, we get a more truthful picture of purchases in the market.

So, the EMA itself is good, but it tends to be late. There is another formula for calculating the moving average, which contains the advantages of the EMA and does not have its disadvantages. This function is ALMA.

An alternative way to calculate the volume price is to use the ALMA function instead of the EMA. In this function, in addition to the period, two additional parameters are used.
ALMA(xx, TT,ss,kk)

In the indicator, it is possible to simultaneously see the RSIVOL lines, both with EMA and ALMA.

The third addition
Similarly, you can use ALMA instead of EMA to calculate a simple price RSI. However, there were no interesting results for the price RSI. In the indicator, I left the option to see how it looks just for information. If you are interested, you can watch it.

The fourth addition
The fourth addition concerns the regular RSI. The function itself has been changed. The built-in RSI function is re-created and named ORSI. It is supplemented with volume. In other words, ORSI calculates the purchase rate based on volume, but in a different way than RSIVOL. As a result, we have two lines of RSI and ORSI simultaneously. The price RSI shows the rate of price increase. Volume ORSI shows the rate of volume engagement. The greater the difference between these indicators, the stronger the trend in one direction or another. These two speeds are represented as two lines with the area between them filled in with color.

The indicator also shows a different way of displaying it: a histogram of the difference between these speeds. You can turn the histogram on or off.

New line coloring
The RSI and ORSI chart is made as a colored area above and below the 50 level. Above the level, the color is green, below the level, the color is red.

How do I use the indicator?
The indicator is used just like any other. We are looking for divergences between the indicator lines and the price chart.
RSIVOL200 responds faster to a trend reversal. The divergences on RSIvol200 are clearer.

RSI-ORSI . You can use either one option or the other for trading. Everyone chooses the most convenient one.

Sharing or as a histogram of the difference allows you to see the market picture more subtly.

I have not yet studied this indicator in all its manifestations. I suggest that everyone who wants to do this.


SETTINGS
switch close <==> ( H+L)/2 == switch KEY to select the price type
blue RSIVOL= switch the color of the fields == enable / disable rsivol coloring above and below levels
blue => vp=volume * price === period for calculating the volume price
blue => RSIVOL(vp,len) === period for calculating RSIVOL
blue RSIVOL KEY === enable / disable rsivol line
blue _RSIVOL_ to include the width LINE === enable the RSIVOL line as a ribbon
blue_RSIVOL_ line width == = ribbon width
blue _RSIVOL => EMA(true) or ALMA(false) coefficients ( kk, ss) = = = use EMA or ALMA to calculate the volume price. By default, ALMA, when the button does not have a check mark.
ALMA-->kk=={0,1} = = = coefficient for the formula ALMA with a range of changes from 0 to 1
ALMA-->ss=={1.10} = = = coefficient for the formula ALMA with a range of changes from 1 to 10
key => and-and RSIVOL(ema) blue + RSIVOL (alma) black === This key allows you to display both RSIVOL lines on the chart simultaneously as both ema and alma.
blue__o1=> ema ( RSIVOL, o1) = = = additional rsivol smoothing after all calculations
fuchsia RSIVOL ( 200 ) = rsivol/rsivol200 = = = enable RSIVOL200
fuchsia__ => RsiVol200 (vp, 200) === period for calculating RSIvol200
fuchsia__o2=> ema ( RSIVOL200 , o2) = = = additional rsivol200 smoothing
key red => rsi(close) === disable key RSI
key => or-or price RSI<--> volume ORSI ===key for displaying the RSI or ORSI
key => and-and price RSI + volume ORSI = = = key for displaying both RSI and ORSI
red=rsi (close, 14) === period for calculating the RSI and ORSI
red= ema ( RSI, 2) = = additional smoothing of RSI and ORSI
key ==> histogram of the difference (RSI-ORSI) === enable displaying the RSI-ORSI difference histogram

yellow line level_UP_ _ rsi === upper level for RSI-ORSI
yellow line level_DOWN_ _ rsi== = lower level for RSI-ORSI
level_UP_rsivol == top level for RSIvol

level_DOWN_rsivol == lower level for RSIvol

RSI => replace EMA true --> ALMA(kk, ss) false== replace EMA with ALMA in the RSI calculation
ALMA=>kk=={0,1} = = = coefficient of alma
ALMA=>ss=={1.10} = = = coefficient of alma


======Описание на русском языке=========

Описание индикатора SA_RSIvol_ORSI

Индикатор RSIVOL претерпел изменения и дополнения. Поскольку этот измененный индикатор используется в видео, то публикую его с пояснениями.

Первое дополнение

Для того, чтобы устранить некоторое запаздывание синей линии RSIVOL, была введена RSIVOL с периодом 200. Затем эта линия стала некоторым долгосрочным эталоном и обычную RSIVOL разделили на RSIVOL200. В результате получилась розовая линия. В индикаторе она обозначена как RSIVOL200 розовой линией.

Второе дополнение

В старом индикаторе сам параметр RSIVOL вычисляется как RSI от условной объемной цены. Эта объемная цена вычисляется как усредненное произведение цены на объем, деленное на усредненный объем за какой-то период.
ОС=ema(volume*cena, TT)/ ema(volume,TT)
Здесь для вычисления объемной цены используется экспоненциальная скользящая средняя. Далее от этой вычисленной цены берется функция RSI. Как мы знаем по смыслу RSI это доля закупок от суммы всех сделок или интенсивность закупок. Используя объемную цены вместо простой цены, мы получаем более правдивую картину закупок на рынке.

Так вот, сама по себе EMA хорошая, но она имеет свойство запаздывать. Существует другая формула вычисления скользящей средней, которая содержит достоинства EMA и отсутствуют её недостатки. Эта функция ALMA.

Альтернативным способом вычисления объемной цены является использование вместо EMA функции ALMA. В этой функции, кроме периода используются дополнительные два параметра.
ALMA(xx,TT,ss,kk)

В индикаторе есть возможность одновременно видеть линии RSIVOL , как с EMA, так и ALMA.

Третье дополнение
Аналогично для вычисления простой ценовой RSI можно использовать ALMA вместо EMA. Однако для ценовой RSI интересных результатов не получилось. В индикаторе я оставила возможность посмотреть, как это выглядит просто для информации. Кому интересно, можете посмотреть.

Четвертое дополнение
Четвертое дополнение касается обычной RSI. В саму функцию внесены изменения. Встроенная функция RSI сделана заново и названа ORSI. Она дополнена объемом. Иначе говоря, ORSI вычисляет скорость закупок с учетом объема, но другим способом, чем RSIVOL. В результате, имеем две линии RSI и ORSI одновременно. Ценовая RSI показывает скорость наращивания цены. Объемная ORSI показывает скорость вовлечения объема. Чем больше разница между этими показателями, тем сильнее тренд в ту или иную сторону. Эти две скорости представлены как две линии, область между которыми заполнена цветом.

В индикаторе представлен и другой способ отображения: гистограмма разницы между этими скоростями. Гистограмму можно включить или выключить.

Новая раскраска линий
График RSI и ORSI выполнен как окрашенная область над и под уровнем 50. Над уровнем окраска зеленым цветом, под уровнем окраска красным цветом.

Как использовать индикатор?
Индикатор используется также, как любой другой. Ищем дивергенции между линиями индикатора и ценовым графиком.
RSIVOL200 быстрее реагирует на разворот тренда. Дивергенции на RSIvol200 более четкие.

RSI-ORSI . Можно использовать либо один вариант, либо другой для торговли. Каждый выбирает для себя наиболее удобный.

Совместное использование или в виде гистограммы разницы позволяет более тонко видеть картину рынка.

Я еще не изучила данный индикатор во всех его проявлениях. Предлагаю это сделать каждому, кто пожелает.


НАСТРОЙКИ
switch close <==> ( H+L)/2 == КЛЮЧ переключатель для выбора типа цены
blue RSIVOL= switch the color of the fields == включить / выключить окраску RSIVOL над и под уровнями
blue => vp=volume * price === период для вычисления объемной цены
blue => RSIVOL(vp,len) === период для вычисления RSIVOL
blue RSIVOL KEY === включить \ выключить линию RSIVOL
blue _RSIVOL_ to include the width LINE === включить линию RSIVOL в виде ленты
blue_RSIVOL_ line width ===ширина ленты
blue _RSIVOL => EMA(true) or ALMA(false) coefficients ( kk, ss) === использовать EMA или ALMA для вычисления объемной цены. По умолчанию ALMA, когда на кнопке нет галочки.
ALMA-->kk=={0,1} === коэффициент для формулы ALMA с диапазоном изменения от 0 до 1
ALMA-->ss=={1,10} === коэффициент для формулы ALMA с диапазоном изменения от 1 до 10
key => and-and RSIVOL(ema) blue + RSIVOL (alma) black === Этот ключ позволяет отобразить на графике обе линии RSIVOL одновременно и как ema и как alma.
blue__o1=> ema ( RSIVOL, o1) === дополнительное сглаживание RSIVOL после всех вычислений
fuchsia RSIVOL ( 200 ) = rsivol/rsivol200 === включить RSIVOL200
fuchsia__ => RsiVol200 (vp,200) === период для вычисления RSIvol200
fuchsia__o2=> ema ( RSIVOL200 , o2) === дополнительное сглаживание RSIvol200
key red => rsi(close) === ключ выключения RSI
key => or-or price RSI<--> volume ORSI ===ключ для отображения RSI или ORSI
key => and-and price RSI + volume ORSI === ключ для отображения одновременно RSI и ORSI
red=rsi (close,14) === период вычисления RSI и ORSI
red= ema ( RSI ,2) == дополнительное сглаживание RSI и ORSI
key ==> histogram of the difference (RSI-ORSI) === включить отображение гистограммы разницы RSI-ORSI

yellow line level_UP__rsi === верхний уровень для RSI-ORSI
yellow line level_DOWN__rsi=== нижний уровень для RSI-ORSI
level_UP_rsivol == верхний уровень для RSIvol

level_DOWN_rsivol == нижний уровень для RSIvol

RSI => replace EMA true --> ALMA(kk,ss) false== заменить EMA на ALMA в вычислении RSI
ALMA=>kk=={0,1} === коэффициент alma
ALMA=>ss=={1,10} === коэффициент alma





Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
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.

Ingin menggunakan skrip ini pada carta?