飞升黑马源码(大智慧)

长J89:"kdj.J"(89,3,3),COLORBLUE;

中J27:"kdJ.J"(27,3,3),COLORWHITE;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:SMA(RSV,3,1),COLORRED;

D:SMA(K,3,1),COLORGREEN;

FILLRGN(K,D,K>D,RGB(250,0,0));

FILLRGN(K,D,K<D,RGB(255,255,0));

A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);

黑马线:=EMA(A1,5);

stICKLINE(A1>黑马线,A1,黑马线,2,0),COLORFF80FF;

STICKLINE(A1<黑马线,A1,黑马线,2,0),COLORGREEN;

A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;

A3:=EMA(C,5);

A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

趋势线:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2));

A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;

DRAWTEXT(crOSS(趋势线,0)AND 黑马线<40,-8,'大黑马');