⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsi of volume weighted moving average.afl

📁 一个更精度的平滑涵数, 可用于股票交易系统.用于Amibroker 平台
💻 AFL
字号:
//------------------------------------------------------------------------------
//
//  Formula Name:    RSI of volume weighted moving average
//  Author/Uploader: Jim Wiehe 
//  E-mail:          jimwiehe@indianadata.com
//  Date/Time Added: 2006-07-21 06:38:21
//  Origin:          John Bollinger interview in 2002 issue of TASC
//  Keywords:        
//  Level:           basic
//  Flags:           indicator
//  Formula URL:     http://www.amibroker.com/library/formula.php?id=636
//  Details URL:     http://www.amibroker.com/library/detail.php?id=636
//
//------------------------------------------------------------------------------
//
//  This afl uses the RSIa function upon a volume weighted moving average.
//  There are parameters to adjust the RSIa periods, VWMA periods and an
//  additional ema smoothing period. I think Bollinger liked the 9 period RSI
//  and a couple of double bottoms below 30.
//
//------------------------------------------------------------------------------

_SECTION_BEGIN("RSI of a Volume weighted moving average");

periods=Param("VWMA periods ",5,2,200,1);

smoothing=Param("exp. smoothing of VWMA",3,2,200,1);
rsiperiods=Param("rsi periods",9,2,200,1);
Vwma = Sum((Volume*Close),periods)/Sum (Volume,periods);
svwma=EMA(Vwma,smoothing);
Plot(RSIa(SVwma,rsiperiods),"RSI of  VWMA ",colorBlack,styleLine);
Plot(70,"",colorRed,styleLine);
Plot(30,"",colorGreen,styleLine);

_SECTION_END();

⌨️ 快捷键说明

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