Replies: 3 comments
-
Hi @ozum, We can add the Relative Moving Average (RMA) to this library. A reference implementation in Pine Script is already helpful. Do you have a link to a PDF document describing the algorithm behind it? What would also help are test vectors (test scripts of other libraries that have it already implemented). |
Beta Was this translation helpful? Give feedback.
-
Not an official document, but this page contains a description and formula. |
Beta Was this translation helpful? Give feedback.
-
This helps a lot, thanks! Is it actually different to a Rolling Moving Average? |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for this well-thought library.
Is it possible to add
RMA
to the library and support it in DMI and ADX? TradingView uses RMA in indicators such as DX, ADX, etc.I use TradingView to check my strategies visually and then code them in Node.js. The lack of RMA causes different results for DMI and ADX in my scripts.
Below is the Pine Script code for RMA taken from TradingView:
Thanks in advance,
Beta Was this translation helpful? Give feedback.
All reactions