momosetkn

deviation from fixed-timeframe-ma

It is like an improved version of the deviation rate from the R-type (Radioyazi) moving average line used in stocks.

5RMA deviation rate is red and 25RMA deviation rate is blue. RMA is the average of the opening, high, low and closing prices. You can change it to SMA or close price in the settings.
Pink is (5RMA+25RMA)/2.
Each line is a band, the upper end is the high price, the lower end is the low price, and the middle line is the closing price. If you don't need the high/low price band, you can turn it off in the settings.
The gray line is the difference between the red 5RMA deviation rate and the blue 25RMA deviation rate.

It draws the results on the daily chart even on the intraday chart.

株で使われるR式(RadiOyazi)移動平均線からの乖離率の改良版のようなものです。

5RMA乖離率が赤で、25RMA乖離率が青です。RMAは、始値、高値、安値、終値の平均です。設定でSMAにも終値にも変更できます。
ピンクが(5RMA+25RMA)/2です。
各線が帯になってますが、上端が高値、下端が安値、中の線が終値です。高値・安値の帯が要らなければ、設定で消せます。
グレーの線は、赤の5RMA乖離率と青の25RMA乖離率の差です。

日中足でも日足での結果を描画します。
开源脚本

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

免责声明

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

想在图表上使用此脚本?