OPEN-SOURCE SCRIPT

Return Moving Average [SpiritualHealer117]

The return moving average is similar to a simple moving average, but is based on return instead of close prices. This indicator works in two modes, oscillator mode and default mode, which can be selected from the inputs menu for the indicator. Oscillator mode features an oscillator centered around 1, which shows the return, and how it relates to the moving average for returns, highest return and lowest return. Default mode features three lines, a white moving average line which shows the average return multiplied by the source, a red line which is calculated from the highest return multiplied by the source, and a green line which shows the lowest return multiplied by the source.

The indicator can be used for checking trends or as an indicator of reversals.
Bands and ChannelsCentered OscillatorsMoving Averages

开源脚本

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

想在图表上使用此脚本?

免责声明