force index.afl

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

AFL
55
字号
//------------------------------------------------------------------------------
//
//  Formula Name:    Force index
//  Author/Uploader: Thomas Youssef 
//  E-mail:          thomasmejl@hotmail.com
//  Date/Time Added: 2005-02-22 02:07:19
//  Origin:          
//  Keywords:        force index Alexander Elder indicator
//  Level:           basic
//  Flags:           indicator
//  Formula URL:     http://www.amibroker.com/library/formula.php?id=433
//  Details URL:     http://www.amibroker.com/library/detail.php?id=433
//
//------------------------------------------------------------------------------
//
//  Alexander Elder磗 classic force index indicator
//
//  I use them on swedish stocks, weekly.
//
//  The rules are easy:
//
//  If the indicator is below zero AND there is a bullish divergence, then go
//  LONG
//
//  If the indicator is above zero AND there is a bearish divergence, then go
//  SHORT
//
//  Works well when you have a head and shoulder or a triangular formation
//  against the zeroline.
//
//------------------------------------------------------------------------------

/*Made by Thomas Youssef, 2005-01-15

Alexander Elder磗 classic force index indicator

I use them on swedish stocks, weekly.

The rules are easy:

If the indicator is below zero AND there is a bullish divergence, then go LONG
If the indicator is above zero AND there is a bearish divergence, then go SHORT

Works well when you have a head and shoulder or a triangular formation against the zeroline.


*/

_SECTION_BEGIN("Force index");
FI=EMA(((C-Ref(C,-1))*V),13);


Plot(FI,"FI",12,5);
Plot(0,"ZERO LINE",colorWhite,styleThick);
_SECTION_END();

⌨️ 快捷键说明

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