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;
顶背离:=(DD AND EE AND DEA< HHV(DEA,180))*DEA;
A2:=BARSLAST(REF(CROSS(DEA,DIF),1));
{概念股网-股票公式网站 }
{顶背:=REF(CLOSE,A2+1)DIF AND CROSS(DEA,DIF);}
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORRED,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,9,3),COLORYELLOW;
D:SMA(K,9,3),COLORWHITE;
J:3*K-2*D,COLORMAGENTA;
IF(JC AND REF(DIF,A1+1)C AND REF(“KDJ.K”(9,3,3),A22+1)C AND REF(“RSI.RSI1″(6,12,24),A3+1)REF(J,1) AND REF(J,1)
【 】【通达信】KDJ+MACD金叉共振风险区指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。