聚合KDJ公式优化版
STICKLINE(1,0,30,10,0)COLOR003300,LINETHICK2;
STICKLINE(1,70,100,10,0)COLOR000033,LINETHICK2;
STICKLINE(1,70,30,10,0)COLOR333333,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
{DRAWICON(CROSS(J,D),0,1);}
DRAWICON(CROSS(D,J),100,2);
PLOYLINE((J>100),100),COLORRED,LINETHICK2;
超跌:PLOYLINE((J>0),0),COLORGREEN,LINETHICK2;
IF(1 ,CONST(J),DRAWNULL),COLOR009999,LINETHICK1;
IF(J>90 ,J,DRAWNULL),COLOR00FFFF,LINETHICK3;
IF(J<10 ,J,DRAWNULL),COLORFFFF00,LINETHICK3;
STICKLINE(CROSS(J,D) AND J<50,0,30,2,0),COLORRED,LINETHICK2;
DRAWICON(CROSS(J,D) AND J<50,30,1);
2014500217.jpg
|