OPEN-SOURCE SCRIPT
已更新 Ratio To Average - The Quant Science

Ratio To Average - The Quant Science is a quantitative indicator that calculates the percentage ratio of the market price in relation to a reference average. The indicator allows the calculation of the ratio using four different types of averages: SMA, EMA, WMA, and HMA. The ratio is represented by a series of histograms that highlight periods when the ratio is positive (in green) and periods when the ratio is negative (in red).
https://www.tradingview.com/x/2frlVNR0/
What is the Ratio to Average?
The Ratio to Average is a measure that tracks the price movements with one of its averages, calculating how much the price is above or below its own average, in percentage terms.
https://www.tradingview.com/x/CeOvky77/
USER INTERFACE
Lenght: it adjusts the number of bars to include in the calculation of the average.
https://www.tradingview.com/x/oVPR1tT9/
Moving Average: it allows you to choose the type of average to use.
https://www.tradingview.com/x/ihiuj30K/
Color Up/Color Down: it allows you to choose the color of the indicator for positive and negative ratios.
https://www.tradingview.com/x/37b2zPAV/
https://www.tradingview.com/x/2frlVNR0/
What is the Ratio to Average?
The Ratio to Average is a measure that tracks the price movements with one of its averages, calculating how much the price is above or below its own average, in percentage terms.
https://www.tradingview.com/x/CeOvky77/
USER INTERFACE
Lenght: it adjusts the number of bars to include in the calculation of the average.
https://www.tradingview.com/x/oVPR1tT9/
Moving Average: it allows you to choose the type of average to use.
https://www.tradingview.com/x/ihiuj30K/
Color Up/Color Down: it allows you to choose the color of the indicator for positive and negative ratios.
https://www.tradingview.com/x/37b2zPAV/
發行說明
Code update to Pine Script V6開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。