软件名称:[B]XMA-移移动平均函数的大智慧表达式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2010-12-20 02:36:02
软件简介:
INPUT:N(3,1,50);
P:=(COUNT(c ,0 )-BARPOS-1);
XMA:IF(P=1,REF(MA(CLOSE,N/2+1),N/2),IF(P=2 AND N>1,
REF(MA(CLOSE,N/2+2),N/2),IF(P=3 AND N>4,REF(MA(CLOSE,N/2+3),N/2),
IF(P=4 AND N>6,REF(MA(CLOSE,N/2+4),N/2),IF(P=5 AND N>8,
REF(MA(CLOSE,N/2+5),N/2),IF(P=6 AND N>10,REF(MA(CLOSE,N/2+6),N/2),
IF(P=7 AND N>12,REF(MA(CLOSE,N/2+7),N/2),IF(P=8 AND
N>14,REF(MA(CLOSE,N/2+8),N/2),IF(P=9 AND N>16,REF(MA(CLOSE,N/2+9),N/2),
IF(P=10 AND N>18,REF(MA(CLOSE,N/2+10),N/2),IF(P=11 AND
N>20,REF(MA(CLOSE,N/2+11),N/2),IF(P=12 AND N>22,REF(MA(CLOSE,N/2+12),
N/2),IF(P=13 AND N>24,REF(MA(CLOSE,N/2+13),N/2),IF(P=14
AND N>26,REF(MA(CLOSE,N/2+14),N/2),IF(P=15 AND N>28,REF(MA(CLOSE,N/2+15),
N/2),IF(P=16 AND N>30,REF(MA(CLOSE,N/2+16),N/2),IF(P=17
AND N>32,REF(MA(CLOSE,N/2+17),N/2),IF(P=18 AND N>34,REF(MA(CLOSE,N/2+18),
N/2),IF(P=19 AND N>36,REF(MA(CLOSE,N/2+19),N/2),IF(P=20
AND N>38,REF(MA(CLOSE,N/2+20),N/2),IF(P=21 AND N>40,REF(MA(CLOSE,N/2+21),
N/2),IF(P=22 AND N>42,REF(MA(CLOSE,N/2+22),N/2),IF(P=23
AND N>44,REF(MA(CLOSE,N/2+23),N/2),IF(P=24 AND N>46,REF(MA(CLOSE,N/2+24),
N/2),REF(MA(CLOSE,N),(N+1)/2-1)))))))))))))))))))))))));
[url=http://www.70822.com/soft/sort013/sort03/down-28264.html]XMA-移移动平均函数的大智慧表达式[/url]