WR2:100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
W:0;
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9);
MAD:=2*(DIFF-DEA);
MACDT:=MAD*60;
STICKLINE(DIFF =DEA,50,MACDT+50,1,0),COLORRED;
STICKLINE(DIFF DEA,50,MACDT+50,1,0),COLORGREEN;
CA:=100*VOL;
A:=IF(CA 30,30,CA);
B:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));
CN:=B/A;{www.9m8.cn 九毛八公式指标网}
CM:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),4))/5*MA(A,5);
X:=ABS(CN);
Y:=ABS(CM);
T:=MAX(X,Y);
TX:=HHV(T,BARSCOUNT(T));
TX1:=60/TX;
CM1:CM*TX1+50;