当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:七星阵--五行量化指标
软件名称:[B]七星阵--五行量化指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2018-04-16 00:27:32
软件简介:
N1:=3;N2:=5;N3:=8;N4:=13;
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
STICKLINE(CLOSE,0,1,4,1),COLORBLUE;
DRAWICON(DIFF>DEA,0.5,41);
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV1,N1,1);
D:=SMA(K,N1,1);
STICKLINE(CLOSE,1,2,4,1),COLORBLUE;
DRAWICON(K>D,1.5,41);
A2:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
STICKLINE(CLOSE,2,3,4,1),COLORBLUE;
DRAWICON(RSI1>RSI2,2.5,41);
{分析家公式网WWW.70822.com}
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV,N1,1);
LWR2:=SMA(LWR1,N1,1);
STICKLINE(CLOSE,3,4,4,1),COLORBLUE;
DRAWICON(LWR1>LWR2,3.5,41);
A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
STICKLINE(CLOSE,4,5,4,1),COLORBLUE;
DRAWICON(CLOSE>BBI,4.5,41);
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
STICKLINE(CLOSE,5,6,4,1),COLORBLUE;
DRAWICON(MMS>MMM,5.5,41);
A6:=MMS>MMM;
{WWW.70822.com}
买入:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 =1
AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 ,1)=0,COLORYELLOW;
持有:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6),COLORMAGENTA,LINETHICK2;
STICKLINE(CLOSE,6,7,4,1),COLORBLUE;
DRAWICON(持有,6.5,30);
DRAWICON(买入,6.5,28);
[url=http://www.70822.com/soft/sort013/sort05/down-123707.html]七星阵--五行量化指标[/url]