A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3));
A11:=SMA(A01,2,1);
A21:=SMA(A11,2,1);
A31:=3*A11-2*A21 ;
A41:=2*A31-0.5;
生命线:C*(1-(A41-A21)/15),colorred,LINETHICK2;
弱: IF(MA(CLOSE,4) SMA(LOW,21,2)*1.01,SMA(LOW,21,2)*1.01,SMA(LOW,21,2)*1.01),colorcyan,colorblue;
强:IF(SMA(LOW,21,2)*1.01 =REF(SMA(LOW,21,2)*1.01,1),SMA(LOW,21,2)*1.01,DRAWNULL),LINETHICK1,colormagenta;
DRAWTEXT(CROSS(C,IF(MA(CLOSE,4) SMA(LOW,21,2)*1.01,SMA(LOW,21,2)*1.01,SMA(LOW,21,2)*1.01)),LOW,'△'),coloryellow;
DRAWTEXT(CROSS(C,生命线),LOW,'△'),colorgreen;
DRAWTEXT(FILTER(EMA(EMA(C,5),5) REF(EMA(EMA(C,5),5),1)AND HHV(MA(H,13),13) REF(HHV(MA(H,13),13),1)AND C REF(C,1),11),L*0.98,'追涨'),colorgreen;
DRAWTEXT(CROSS(84,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100),H*1.03,'逃顶'),colorred;
阻力: PEAK(1,5,1),COLOR66CC00;
支撑: TROUGH(2,5,1),COLORFFB97A;