通达信奇效多空指标公式

2023-11-09 15:58发布

{A:EMA((CLOSE-REF(C,1))/REF(C,1)*10-(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*10,5),LINETHICK1,COLORRED;STICKLINE(A>0,0,A,3,2),LINETHICK1,COLORRED;STICKLINE(A<0 A,3,2),LINETHICK2,COLORGREEN;}HSNP1:=CLOSE-REF(CLOSE,1);HSNP2:>=0,HSNP1,0);HSNP3:=REF(CLOSE,1)-CLOSE;HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);HSN:=SUM(HSNP2,90)/SUM(HSNP4,90);HSNP6:=100-100/(1+HSN);HSNP7:=EMA(HSNP6,21);HSNP8:=EMA(HSNP7,5);HSNP:=EMA(HSNP8,3);NP:= (HSNP7-HSNP),COLORMAGENTA,LINETHICK1;涨动力:IF(NP>0,NP,0),COLORMAGENTA;NL:=(HSNP-
 解锁全文需 1  财富值,免费注册即送20财富值!