注意:=SMA(Abs(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
启动:=EMA(IF(L<=LLV(L,55),(EMA(IF(C*1.35,注意*10,注意/10),3)+HHV(EMA(IF(C*1.35,注意*10,注意/10),3),0)*2)/2,0),3)/618;
DIFF:=EMA((C+L)/2,3)-EMA((C+L)/2,5);
STICKLINE(IF(启动>5,12,启动)/3*5>0 AND (DIFF+1.9>EMA(DIFF+1.9,11)),40,IF(启动>5,12,启动)/3*5+40,1,0),LINETHICK2,COLORFF00FF;
快线: (((C+L)/2-LLV(L,19))/(HHV(H,19)-LLV(L,19))*100)+20,COLORFFFFFF;
慢线:=(((C+L)/2-LLV(L,68))/(HHV(H,68)-LLV(L,68))*100)+20;
分析趋势:STICKLINE(慢线>82.8,108,103,2,1),COLORRED;
{注意信号:STICKLINE(慢线<22.8,-1.5,-4,2,0),COLORRED;}
综合判断:STICKLINE(快线>82.8,105,103,2,0),COLORFF00FF;
{控制风险:STICKLINE(快线<24.8,-9,-5,2,1),COLORFF00FF;}
STICKLINE(((MA(((C+L)/2-LLV(L,250))/(HHV(H,250)-LLV(L,250))*100,1)+20)*1.08)>96,110,108,2,0),COLORRED;
STICKLINE(((MA(((C+L)/2-LLV(L,250))/(HHV(H,250)-LLV(L,250))*100,1)+20)*1.08)<22.8,-10.5,-14,2,0),COLORRED;
防线:EMA(((2*C+H+L)/4-LLV(L,31))/(HHV((H+C)/2,21)-LLV(L,31))*100,8),CIRCLEDOT,LINETHICK2,COLOR000099;
均线:SMA(防线,4,1),COLOR009900;
中:=100-3*SMA(((C+L)/2-LLV(L,120))/(HHV((H+C)/2,120)-LLV(L,120))*100,29,1)+2*SMA(SMA(((C+L)/2-LLV(L,120))/(HHV((H+C)/2,120)-LLV(L,120))*100,29,1),62,1);
线:=中>IF(中>REF(中,1),中,中-5) AND EMA(((C+L)/2-LLV(L,3))/(HHV((H+C)/2,3)-LLV(L,3))*100,11)>=REF(EMA(((C+L)/2-LLV(L,3))/(HHV((H+C)/2,3)-LLV(L,3))*100,11),1);
趋:=MIN((C+L)/2,(MAX((C+L)/2,MAX((C+L)/2,EMA((C+L)/2,16)))));
势:=EMA(3*(H+L+C)/3-2*SMA((H+L+C)/3,2,1),14);CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
STICKLINE((IF((L+C+(H+C)/2)/3>势,(L+C+(H+C)/2)/3,势))>(REVERSE(IF((L+C+(H+C)/2)/3>势,(L+C+(H+C)/2)/3,势))+2*势),-28,-8,2,1),COLOR9933FF;
STICKLINE((中>IF(中>REF(中,1),中,中-3)) AND (趋=(MAX((C+L)/2,MAX((C+L)/2,EMA((C+L)/2,16))))),-28,-8,2,1),COLORYELLOW;
STICKLINE(线 AND (趋>=REF(趋,1) AND 趋=(MAX((C+L)/2,MAX((C+L)/2,EMA((C+L)/2,16))))),-28,-8,2,1),COLORRED;
STICKLINE(((EMA((C+L)/2,8)-EMA((C+L)/2,89))*100)<(-50) AND (((C+L)/2-REF((C+L)/2,1))/(REF((C+L)/2,1)))*(100)>2.28,-28,-8,2,1),COLOR008800;
VAR1:=SMA(ABS(L-REF(L,1)),13,1)/SMA(MAX(L-REF(L,1),0),13,1)*100;
VAR2:=(EMA(IF(L<=LLV(L,34),(EMA(IF(C*1.2,VAR1*13,VAR1/13),13)+HHV(EMA(IF(C*1.2,VAR1*13,VAR1/13),13),34)*2)/2,0),3)/618*IF(LLV(L,56),1,0));
VAR3:=SMA(MAX((H+L+O+2*C)/5-REF((H+L+O+2*C)/5,1),0),10,1)/SMA(ABS((H+L+O+2*C)/5-REF((H+L+O+2*C)/5,1)),10,1)*100;
VAR4:=IF(COUNT(VAR3<20,5)>=1 AND COUNT((H+L+O+2*C)/5=LLV((H+L+O+2*C)/5,10),10)>=1 AND C>=O*1.038 AND vol>MA(VOL,5)*1.2,1,0);
DRAWTEXT(VAR4 AND 防线<30,均线,'进?'),LINETHICK2,COLORYELLOW;
买?:=REF(MA(L,2)*0.96,1)<MA(LOW,26)*0.85 AND REF(MA(L,2)*0.96,1)<MA(L,2)*0.96 AND REF(MA(L,2)*0.96,1)<REF(MA(L,2)*0.96,2);
{DRAWICON(买?,-8,1);}
DRAWTEXT(买?,-19,'买?'),COLORFFFFFF;
心:=((H+C)/2+L+(C+L)/2)/3;
中1:=EMA((心-EMA(LLV(心,47),2))/(EMA(HHV(心,21),2)-EMA(LLV(心,47),2)),2)*90;
有:=IF(crOSS(-1.8,中1),7,-7),COLORYELLOW;
DRAWTEXT((CROSS(-3,中1)),3,'3天内'),COLORFFFFFF;
数:=EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)/8*10;
DRAWTEXT(CROSS(5,数),-7,'底部'),COLORYELLOW;