Step 1. The relative strength index calculates the range of the positive (U) and the negative (D) change in the price. I will explain the relative strength index formula below.
The period closes up, being a rising (positive) period if the current close is higher than the closing price of the previous period.
U = Price(i) - Price(i-1)
D = 0, where
Price(i) is the close price of the current period (i.e. current candlestick), Price(i-1) is the close of the previous period.
The period closes down, it is a falling (negative) period if the current close price is lower than the previous close.
U = 0
D = Price(i-1) - Price(i)
If both closing prices are equal, then U = 0, D = 0.
The period closes up, being a rising (positive) period if the current close is higher than the closing price of the previous period.
U = Price(i) - Price(i-1)
D = 0, where
Price(i) is the close price of the current period (i.e. current candlestick), Price(i-1) is the close of the previous period.
The period closes down, it is a falling (negative) period if the current close price is lower than the previous close.
U = 0
D = Price(i-1) - Price(i)
If both closing prices are equal, then U = 0, D = 0.
تبصرہ
Расширенный режим Обычный режим