同花顺KDJ三合一副图指标
源码
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:IF(SS 13,MA(SS,2),SS)/6,coloryellow;
短线出击:IF(CROSS(短线买点,1) AND (短线买点 30),30,1),colorgreen,linethick2;
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
中线B7:IF(B6 60,B6-60,0);
中线持有:STICKLINE(REF(中线B7,1) 中线B7,中线B7,REF(中线B7,1),5,0),colorred;
j55:= kdj.j (55,13,3),colorffffff;
长mj55:EMA(j55,8),colorffffff,linethick2;
m长mj55:EMA(长mj55,5),colorffff00,linethick2;
STICKLINE(长mj55 =m长mj55,长mj55,m长mj55,8,0),colorred,linethick2;
STICKLINE(长mj55 m长mj55,长mj55,m长mj55,8,0),colorgreen,linethick2;
20,POINTDOT,color00ff00;
50,color00ff00;
80,POINTDOT,color00ff00;
100,color00ff00;
0,colorffa2af,linethick2;
50,colorred;