relative strength comparison with moving average.afl

来自「一个更精度的平滑涵数, 可用于股票交易系统.用于Amibroker 平台」· AFL 代码 · 共 28 行

AFL
28
字号
//------------------------------------------------------------------------------
//
//  Formula Name:    Relative strength comparison with moving average
//  Author/Uploader: Don McKay 
//  E-mail:          
//  Date/Time Added: 2004-01-15 09:30:50
//  Origin:          
//  Keywords:        Relative strength comparison
//  Level:           basic
//  Flags:           indicator
//  Formula URL:     http://www.amibroker.com/library/formula.php?id=322
//  Details URL:     http://www.amibroker.com/library/detail.php?id=322
//
//------------------------------------------------------------------------------
//
//  Compare current stock against another with a moving average.
//
//------------------------------------------------------------------------------

/* Relative Strength Comparison with Relative Strength Moving Average*/

RSTick = "^AORD"; //Replace with ticker of your choice

WMAvalue = Param("RelStre WMA", 30, 1, 55, 1);
Plot ( RelStrength( RSTick),"RelStrength "+ RSTick, -8 );// Plot Relative Strength 
Plot (WMA( RelStrength( RSTick),WMAvalue)," RelStrength WMA "+ WMAvalue, colorBrightGreen, styleLine);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?