P1:=5;P2:=10;P3:=30;
MA1:MA(C,P1),COLORWHITE,LINETHICK2;
MA2:MA(C,P2),COLORYELLOW,LINETHICK1;
MA3:MA(C,P3),COLORRED,LINETHICK2;
MAK:=MA(C,3);
MM:=ATAN((MAK/REF(MAK,1)-1)*100)*180/3.14159,COLORSTICK;
MA5:=MA(C,5);
KK:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159,COLORSTICK;
准备:=crOSS(KK,0)*80,POINTDOT,COLOR00FF00,LINETHICK3;
马:=(KK/REF(KK,1)>=2 AND KK>0 AND C>0 AND (H=HHV(H,10) OR C=HHV(C,10)))*80,STICK,COLORWHITE,LINETHICK3;
登高:=(COUNT(KK>REF(KK,1),3)>=2 AND KK>40 AND KK<75)*30,COLORYELLOW,LINETHICK2;
{ _最新股票指标公式}
{STICKLINE(登高=30,0 ,30 ,5 ,1 ),COLORYELLOW;}
漫步:=(COUNT(KK<REF(KK,1) AND KK>0,2)=2)*-20,COLOR00FF00,LINETHICK2;
{STICKLINE(漫步=-20,0 ,-20 ,5 ,1 ),COLOR00FF00;}
骑马:=(MA(C,30)>REF(MA(C,30),1) AND KK/REF(KK,1)>=2 AND KK>0 AND COUNT(KK<REF(KK,1),4)>=1
AND CROSS(KK,45) AND (H=HHV(H,10) OR C=HHV(C,10)))*100,COLORWHITE,LINETHICK2;
小心:=((MM+KK)>120)*-20,POINTDOT,COLORRED,LINETHICK3;
悬崖:=(CROSS(0,KK) AND COUNT(MA(C,5)>MA(C,10),13)>=10)*-50,POINTDOT,COLORFF6600,LINETHICK3;
DD:=(C-REF(C,1))/REF(C,1)*100<=-4;
花香:=(COUNT(DD,7) AND KK<0 AND KK>REF(KK,1))*KK,STICK,COLORFF00FF,LINETHICK2;
超跌:=((MM+KK)<-120 AND HHV(H,3)/LLV(L,3)>=1.18)*-20,POINTDOT,COLOR00FF00,LINETHICK3;
DRAWTEXT(超跌<0,L-0.05, '■'),COLOR00FF00;