?? simple momentum.afl
字號:
//------------------------------------------------------------------------------
//
// Formula Name: Simple Momentum
// Author/Uploader: Alex Fler
// E-mail: alexfler@mail.ru
// Date/Time Added: 2005-08-06 22:46:26
// Origin: Simple Momentum
// Keywords: momentum
// Level: basic
// Flags: indicator
// Formula URL: http://www.amibroker.com/library/formula.php?id=539
// Details URL: http://www.amibroker.com/library/detail.php?id=539
//
//------------------------------------------------------------------------------
//
// The momentum of a security is the ratio of today's price compared to the
// price x-time periods ago. Similar to what you'll find in Metastock ,Trade
// Station 2000i or Advanced Get
//
//------------------------------------------------------------------------------
/* Momentum indicator */
/* The momentum of a security is the ratio of today's price compared to the price x-time periods ago */
/* Coded by Alex Fler */
periods=Param("Periods",14,2,200,1);
Plot( mom=(Close/Ref(Close,-periods)-1),_DEFAULT_NAME(),ParamColor("Color", colorCycle ), ParamStyle("Style") );
Plot(0,"",colorBlue,style=32);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -