racer8

Riley's Movement Index

racer8 Telah dikemas kini   
Brief Description:

Riley's Movement Index is a new indicator developed and named after me.
RMI is quite interesting in that uses two lines to cross each other.
One line represents the bullish side of the market, and the other line represents the bearish side of the market.
A signal occurs when the two lines cross each other.

-------------------------------------------

Calculation:

Up
1. high > prev high?
2. If yes, then Up = (high - prev high)
3. If no, then Up = 0

Dn
1. low < prev low?
2. If yes, then Dn = (prev low - low)
3. If no, then Dn = 0

SumUp (n) = Sum of Up over n periods
SumDn (n) = Sum of Dn over n periods

Plot SumUp & SumDn lines.

-------------------------------------------

How to interpret a signal:

When SumUp > SumDn, market is bullish.
When SumUp < SumDn, market is bearish.

-------------------------------------------

Recommended setting:

I would suggest a setting of 10, the default setting.

-------------------------------------------

Enjoy, and smash that follow button!

Nota Keluaran:
>>>
Added a filter feature to filter out false signals (2 new settings):
-Filter Atr length
-Filter Atr multiplier

These two settings control the background color of the indicator.
When the two RMI lines are far enough from each other, the filter feature will allow you to trade.
When this occurs, the background color will become yellow, enabling you to trade.

Calculation of filter:

Dif = Absolute value of (Up line - Dn line)
lvl = multiplier * Atr (length)
Filter = Dif > lvl?
if yes...then there is a background color.
if no...then there is no background color.

***Only trade when there is a background color.
Nota Keluaran:
>>>
Added 2 more parameters:
"Up Line Source" & "Dn Line Source"
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

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?