cI8DH

Gain/Loss Moving Average [Cyrus c|:D]

cI8DH Обновлено   
This is a simple momentum indicator. It calculates the moving average of gains and losses. As you can see in the chart above, gains have been decreasing in each wave which is also captured by this indicator. Its closest relative is RSI but unlike RSI it is not range bound. Divergence on indicators that are not range bound are generally more reliable.

Recommended settings:
- EMA as moving average type.
- EMA length 27 is equal to RSI length 14 (2 x RSI length - 1). You can sync the length on the two indicators using that equation.
- hlc3 (AKA typical price) as input source might be better than "close" as it captures more information. If you use hlc3 as a source, then change the chart type to line and set hlc3 as the source for identifying divergence.

PS: Let me know if you know any identical indicator. I may be re-inventing the wheel :)
Информация о релизе:
- implemented the same fix as True RSI
- made the code a bit more clear
Информация о релизе:
- this is the original graphics


Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?