N:=45;
M:=66;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,3,1);
J:3*K-2*D,COLORYELLOW;
MJ:EMA(J,3),COLORGREEN;
主力线:SMA(100*(C-LLV(LOW,N))/(HHV(H,N)-LLV(LOW,N)),5,2), COLORRED,LINETHICK2;
CC:=ABS(C-MA(C,N))/MA(C,N);
鉴别线: DMA(主力线,CC),COLORAAAA00,LINETHICK2;
起爆线: 57,COLORYELLOW;
发作线:72,COLOR7F00FF;
DRAWTEXT(CROSS(主力线,发作线),75,’★发作!’) ,COLORRED;
临界限:42,COLORWHITE;
卧槽线:27,COLORGREEN;
抄底线:12,COLORAAAA00;
DRAWTEXT(CROSS(主力线,鉴别线)AND 鉴别线60,鉴别线-5,’★空仓’) ,COLORMAGENTA;
CM: (COST(M)/(COST(0)+COST(100))*100),COLORMAGENTA,LINETHICK2;
IF(CM>主力线,CM,DRAWNULL),COLORGRAY,LINETHICK2;
IF(CM>主力线,主力线,DRAWNULL),COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(主力线,CM),CM,’主力★出场’) ,COLORRED;
【股票配资】【通达信】黑马五步增强版指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。