ABC1:=EMA(HHV(HIGH,500),21);
ABC2:=EMA(HHV(HIGH,250),21);
ABC3:=EMA(HHV(HIGH,90),21);
ABC4:=EMA(LLV(LOW,500),21);
ABC5:=EMA(LLV(LOW,250),21);
ABC6:=EMA(LLV(LOW,90),21);
ABC7:=EMA((ABC4*0.96+ABC5*0.96+ABC6*0.96+ABC1*0.558+ABC2*0.558+ABC3*0.558)/6,21);
ABC8:=EMA((ABC4*1.25+ABC5*1.23+ABC6*1.2+ABC1*0.55+ABC2*0.55+ABC3*0.65)/6,21);
ABC9:=EMA((ABC4*1.3+ABC5*1.3+ABC6*1.3+ABC1*0.68+ABC2*0.68+ABC3*0.68)/6,21);
ABC10:=EMA((ABC7*3+ABC8*2+ABC9)/6*1.738,21);
ABC11:=REF(LOW,1);
ABC12:=SMA(ABS(LOW-ABC11),3,1)/SMA(MAX(LOW-ABC11,0),3,1)*100;
ABC13:=EMA(IF(CLOSE*1.35<=ABC10,ABC12*10,ABC12/10),3);
ABC14:=LLV(LOW,30);
ABC15:=HHV(ABC13,30);
ABC16:=IF(MA(CLOSE,58),1,0);
ABC17:=EMA(IF(LOW<=ABC14,(ABC13+ABC15*2)/2,0),3)/618*ABC16;
ABC18:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
主力线:SMA(ABC18,3,1),COLORMAGENTA LINETHICK2;
散户线:SMA(主力线,3,1),COLORGREEN;
趋势线:SMA(散户线,3,1),COLORYELLOW LINETHICK2;
滤过:=C>MA(C,10);
DRAWICON(CROSS( 主力线,趋势线)AND 滤过,趋势线*1.002,9);
天际线:80,COLORLIBLUE ;
地平线:20,COLORBROWN;
分界线:50,POINTDOT,COLORWHITE;