monophobiafafe

Reverse Engineering RSI II - EMARSI and SMARSI

monophobiafafe 已更新   
This is the Reverse Engineering EMARSI and SMARSI Indicator.
It’s based on the work of Giorgos Siligardos on Reverse Engineering RSI.
The Reverse Engineering EMARSI and SMARSI Indicator shows the Exponential Moving Average and the Simple Moving Average of the RSI line but plotted in the price chart.

This script is also a complement of "Reverse Engineering RSI, by Giorgos Siligardos" script by HPotter but can also be used alone.

By default the RevEngSMARSI is turned off.
The RevEngEMARSI is the white line.

I’ve also added to the indicator:
1) Simple Moving Average (MA) of the EMARSI (EMARSI SMA) - Orange Line
2) Standard Deviation Bands for the EMARSI SMA - turned off by default

Using the settings I left in default (Length's = 1), we can see that when the EMARSI SMA is horizontal the price rises and so does the EMARSI. Also when the EMARSI SMA rises that's a signal that there is a resistance/support at that price. We can observe such thing if we draw horizontal lines at those prices. We can use this to help us put stop-losses and take profits. Also, those resistance/suport prices are ALWAYS the closing price of the first red candle after a bullish trend (big or small trends). Interesting...
When the EMARSI SMA rises and touches the EMARSI 3 things can happen:
- Bullish Trend slows down
- Correction of price
- Trend reversal

So, when the EMARSI SMA rises that can be interpreted as a signal for taking profits.
We should always wait for the price to close in the timeframe we're using, because sometimes the EMARSI SMA rises before the closing price and flattens again when is about to close.
However we should never take decisions based on 1 indicator. Our trading decision should always take in consideration multiple sources of information.

Of course we can use other settings for the trading. And if we do that we will observe different behaviours. And we should also study those behaviours. We can then use the crosses between the lines.


If there is something wrong with the code or its calculations, please let me know.
If you want to modify or improve the code, feel free to do that, but please let me know the changes you made.

This Indicator works in all timeframes. I hope you enjoy it!
版本注释:
Script Update:
There was a mistake at line 43 of the code. Line is now corrected.
"RevEngSMARSI = X2 >= 0 ? close + X : close + X * ( 100 - SmaRSI ) / SmaRSI" is now "RevEngSMARSI = X2 >= 0 ? close + X2 : close + X2 * ( 100 - SmaRSI ) / SmaRSI".
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?