close
ROC 變數率:
 

1.計算公式       
         ROC =  (
當日收盤價 - N日前收盤價 )   N日前收盤價 * 100 %

2.中文註解 
        該指標是諸多指標中較為全面的技術指標分析工具,體現在:
        其一,ROC指標具有超買超賣功能;其二,ROC指標對於股價也能產生背離作用,
        何謂超買,何謂超賣,不同個股價格比率不同,其範圍也有所不同,
        國外股市中一般總是介於±6.5之間.

3.TS語法

{*******************************************************************
Description      : This Indicator plots Rate of Change
Provided By     : Omega Research, Inc. (c) Copyright 1999
********************************************************************}
 
Inputs: Price(Close), Length(10);
Variables: ROC(0);
 
ROC = RateofChange(Price, Length);
 
Plot1(ROC, "ROChange");
 
{Alert Criteria for Rate of Change}
If Plot1 > HighestFC(ROC, 30)[1] Then
        Alert("Rate of Change has made a new high");
If Plot1 < LowestFC(ROC, 30)[1] Then
        Alert("Rate of Change has made a new low");
 
{Rate of Change Expert Commentary}
#BeginCmtry
        Commentary(ExpertROC(Plot1));
#End;

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 a2050cc 的頭像
    a2050cc

    2050cc的部落格

    a2050cc 發表在 痞客邦 留言(0) 人氣()