HSNP2:=IF(CLOSE-REF(CLOSE,1) =0,HSNP1,0);
HSNP3:=REF(CLOSE,11)-CLOSE;
HSNP4:=IF(CLOSE-REF(CLOSE,1) =0,HSNP3,0);
HSNP5:=SUM(HSNP2,13)/SUM(HSNP4,13);
HSNP6:=100-100/(1+HSNP5);
HSNP7:=EMA(HSNP6,11);
HSNP8:=EMA(HSNP7,11);
HSNP:=EMA(HSNP7,31);
NP:=(HSNP7-HSNP);
NL:=(HSNP-HSNP7);
JJ :=(C*2+H+L)/2;
SK := EMA(JJ,1) - EMA(JJ,1);
SD := EMA(SK,1);
SP := EMA(SK,1);{www.9m8.cn 九毛八公式指标网}
A1:=EMA(CLOSE,12)-EMA(CLOSE,5);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),15);
MAA:IF(A1 =B1,A1,B1),LINETHICK1,COLOR00FF00;
单线红买:IF(B1-A1,B1,A1),LINETHICK1,COLORRED;
强弱: 0;