Z:=120;
X:=5;
T1:=LLV( LOW,Z);
T2:=HHV(HIGH , Z);
T3:=100*(CLOSE-T1)/(T2-T1);
强度:MA(T3,X),LINETHICK1,COLORCYAN;
IF(强度>60,强度,DRAWNULL),LINETHICK2,COLORRED;
T4:=LLV(INDEXL,Z);
T5:=HHV(INDEXH,Z);
T6:=100*(INDEXC-T4)/(T5-T4);
指数:MA(T6,X),LINETHICK1,COLORYELLOW;
DRAWICON(crOSS(MA(T3,X),MA(T6,X)),MA(T3,X),1);
DRAWICON(CROSS(MA(T6,X),MA(T3,X)),MA(T3,X),2);