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,1,2),COLORRED; STICKLINE(A<0,0,A,1,2),COLORGREEN; HSNP1:=CLOSE-REF(CLOSE,1); HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0); HSNP3:=REF(CLOSE,1)-CLOSE; |