A:EMA((CLOSE-ref(c,1))/ref(c,1)*10-(INDEXC-ref(INDEXC,1))/ref(INDEXC,1)*10,5),COLORRED;STICKLINE(A>0,0,A,1,2),LINETHICK1,COLORRED;STICKLINE(A<0 A,1,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);HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);HSNP6:=100-100/(1+HSNP5);HSNP7:=EMA(HSNP6,21);HSNP8:=EMA(HSNP7,5);HSNP:=EMA(HSNP7,3);np:= (HSNP7-HSNP),,linethick1;nl:=(HSNP-HSNP7),COLORYELLOW,linethick1;STICKLINE(nl<0 xss=rem