【 】【通达信】KDJ+MACD金叉共振风险区指标公式
DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100; DEA:EMA(DIF,9); MACD:(DIF-DEA)*2,COLORSTICK; DRAWICON(CROSS(DIF,DEA),DEA,1); DRAWICON(CROSS(DEA,DIF),DEA,2); IF(DIF REF(C,1) AND REF(C> REF(C,1),1)=1; 顶背离:=...
DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100; DEA:EMA(DIF,9); MACD:(DIF-DEA)*2,COLORSTICK; DRAWICON(CROSS(DIF,DEA),DEA,1); DRAWICON(CROSS(DEA,DIF),DEA,2); IF(DIF REF(C,1) AND REF(C> REF(C,1),1)=1; 顶背离:=...
A:=CURRBARSCOUNT; A1:=DAY!=REF(DAY,1); A2:=BARSLAST(A1)+1; A3:=MA(C,A2); A4:=SUM(AMO,A2)/SUM(VOL,A2)/100; A5:=IF(CAPITAL>0,A4,A3); 均价线:=IF(A顶部,顶部,套牢筹码上升),COLOR408000; 散户:I...