Relative Strength Index of Moving Average

Pine script version 3
Author CryptoJoncis

RSIOMA is the abbreviation for Relative Strength index ( RSI ) of moving averages (MA). This custom built indicator is based on calculating the relative strength of two moving averages and the smoothes out the RSI using a moving average. Combined, the RSIOMA oscillator depicts trend changes in prices relative to the time frame. The RSIOMA can be used as a signal generator by itself. (

There are some minor things which you can use to modify this version of RSIOMA:
  • Choose 2 levels of Over Sold and Over Bought for RSI
  • Set the middle level to easier visualize the trend
  • Set x% wider MA line to avoid too many fake signals and gain higher precision

You can choose which MA would you like to use from the following list:

Any questions/suggestions/errors or spelling mistakes? Please leave a comment and let me know.

You can use,publish,modify this code in any way as you wish, but only if you reference me after.
You are not allowed to sell it as it is.

If this code is useful to you, then consider to buy me a coffee 2.17% (or better a pint of beer) by donating Bitcoin 0.64% or Etherium to:

ETH: 0xac290B4A721f5ef75b0971F1102e01E1942A4578


Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


@Guru3, Glad to hear that you find this useful. Good luck with your trading
+1 Reply
Where these meant to be the regular open? "{m_open"

f1_open(m_open) => m_open >= 0.0 ? m_open : 0.0
f2_open(m_open) => m_open >= 0.0 ? 0.0 : -m_open

CryptoJoncis syracusepro
@syracusepro, No, I used these variable names only for sake of saving time from my previews script as there was already all ma included. It uses your selected source
syracusepro CryptoJoncis
@CryptoJoncis, Very well done script.

I like to study them line by line.

Got it. Thanks a lot.
CryptoJoncis syracusepro
@syracusepro, Thank you for your compliment. Just let me know if you have any more questions and I will be happy to answer them
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter