LunaOwl

[LunaOwl] Moving average Bias Ratio

LunaOwl Updated   
作品: 均線乖離率 (Moving average Bias Ratio)

The concept of Moving average Bias Ratio is according to the difference between the long/short-term MA changes, determine the direction of buy or sell. Long if the short-term MAs is above the long-term MAs; Conversely, if the short-term MAs is below the long-term MAs, it is not held.

均線乖離率的概念,是根據長短期均線變化之間的乖離來確定多空方向。如果短期高於長期,則買進;相反的~如果短期低於長期,則空手。

Using the deviation rate alone will have the disadvantage of unclear signals, which can only explain the increased chance of market reversal. It needs to cooperate with the rule of thumb and other analytical tools.

單獨使用乖離率會有信號不明確的缺點,只能解釋市場發生反轉的機會增加,需要配合經驗法則和其他分析工具。

--------------------------*

Formula - 公式

Avg. BIAS = ( MA(short) - MA(long) ) ÷ MA(long) × 100 %
均線乖離率 =(短期平均-長期平均) ÷ 長期平均 × 100 %

--------------------------*

The greater the distance between the two moving averages, the greater the Bias Ratio.
Release Notes:
Add strategy attributes, backtest, increase moving average type VWMA, and increase datetime range.
增加策略屬性,可回測,增加移動平均種類VWMA,增加起訖日期時間範圍。
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?