{3kd+macd+RSI+放量+牛1}
0,linethick1,color555555;
17,linethick1,color555555;
A1:="KD.K"(9,3,3);
A2:="KD.D"(9,3,3);
A3:="KD.K#WEEK"(9,3,3);
A4:="KD.D#WEEK"(9,3,3);
A5:="KD.K#MONTH"(9,3,3);
A6:="KD.D#MONTH"(9,3,3);
A7:="macd.diff"(12,26,9);
A8:="macd.dea"(12,26,9);
STICKLINE( A1>A2,14,12 ,10,0),colorff6666;
STICKLINE( A7<A8,11,9 ,10,0 ),color666666;
STICKLINE( A3>A4,8 ,6 ,10,0 ),colorff6666;
STICKLINE( A5>A6,5,3,10,0),colorff6666;
STICKLINE (COUNT(ma(c,1)>ref(ma(c,20),1),1)=1,15,16,10,0) ,color8888ff ;
STICKLINE (COUNT(ma(v,5)>ref(ma(v,34),1),1)=1,1,2,10,0) ,color8888ff ;
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100 ,linethick0;
stickline(count(rsi1<20,1),-1,0,10,0),color0000ff;
stickline(count(rsi1>80,1),18,17,10,0),color0000ff ;