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

📄 afr.m

📁 A technical trading system comprises a set of trading rules that can be used to generate trading sig
💻 M
字号:
function H=AFR(Index,xPer,longtrade,shorttrade,mxArgus)
%---------------------------------------------------------------------------------------------
% H=AFR(Index,X filter Percentage, Long trade array, Short trade array, Data Matrix)
% Alexander抯 Filter Rule
% This system was first introduced by Alexander (1961, 1964) and exhaustively tested by
% numerous academics until the early 1990s. Since then, its popularity among academics has been
% replaced by moving average methods. This system generates a buy (sell) signal when today抯
% closing price rises (falls) by x% above (below) its most recent low (high). Moves less than x% in
% either direction are ignored. Thus, all price movements smaller than a specified size are filtered
% out and the remaining movements are examined. Alexander (1961, p. 23) argued that 揑f stock
% price movements were generated by a trendless random walk, these filters could be expected to
% yield zero profits, or to vary from zero profits, both positively and negatively, in a random
% manner.

⌨️ 快捷键说明

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