future ma projection.afl
来自「一个更精度的平滑涵数, 可用于股票交易系统.用于Amibroker 平台」· AFL 代码 · 共 29 行
AFL
29 行
//------------------------------------------------------------------------------
//
// Formula Name: Future MA Projection
// Author/Uploader: OzFalcon
// E-mail: OzFalconAB@BDen.org
// Date/Time Added: 2006-10-02 18:12:20
// Origin: Home Brew
// Keywords: Future MA Projection
// Level: basic
// Flags: indicator
// Formula URL: http://www.amibroker.com/library/formula.php?id=728
// Details URL: http://www.amibroker.com/library/detail.php?id=728
//
//------------------------------------------------------------------------------
//
// A very basic example of Future Projection using various shift functionality
// of Amibroker. This example projects a Simple MA.
//
//------------------------------------------------------------------------------
_SECTION_BEGIN("Future MA");
// Plot Future MA.
Fwd = Param( "Fwd Period", 5, -50, 50 );
FwdC = Ref(Close,Fwd);
FwdMA = MA(FwdC,Fwd);
Plot(C,"Close",colorBlack,styleLine,0,0,-Fwd);
Plot(FwdC,"FwdClose",colorRed,styleLine);
Plot(FwdMA,"FwdMA",colorGreen,styleLine);
_SECTION_END();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?