OPEN-SOURCE SCRIPT

Rate of Change w/ Moving Average

已更新
This is a small spin on the Rate of Change (ROC) indicator where I overlay a simple moving average of the indicator over the prior days.
發行說明
Adjusted the color of the area underneath or above the curve to be green or red depending on whether the ROC is greater than or less than the SMA of the ROC.
發行說明
Altered colors so that the SMA is green when positive and red when negative in a way that's unrelated to the ROC value.
發行說明
Color the horizontal zero line axis green or red dependent upon whether the ROC is positive or negative so there is an indication on the base indicator crossover point.
發行說明
Added two additional signal states:
- a cooling uptrend when the ROC falls below a rising moving average with a default color of light blue to look like an icy wind
- a recovering downtrend when the ROC rises above a falling moving average with a default color of purple to look like a forming bruise
Rate of Change (ROC)Simple Moving Average (SMA)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明