A:=MA(SUM(IF(CLOSE REF(CLOSE,1),VOL,IF(CLOSE REF(CLOSE,1),-VOL,0)),0)/25000,1);
RIFF : EMA(RSI,7) - EMA(RSI,19);
REA : EMA(RIFF,9);
RACD : 2*(RIFF-REA), COLORSTICK,LINETHICK5;
FF:MA(REF(HHV(REA,30),1),2),COLOREA91B5,LINETHICK2;
B:MA(REF(LLV(RIFF,30),1),2),COLORGREEN,LINETHICK2;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,15)/HHV(C,15))*100 100,100,(AMOUNT/C)/(HHV(AMOUNT,15)/HHV(C,15))*100);
STICKLINE(SAT=100,-3,-5,8,1),COLORMAGENTA;
下面为通达信潜伏RSI-MACD指标公式演示图片