Z:=120;
X:=5;
T1:=LLV( LOW,Z);
T2:=HHV(HIGH , Z);
T3:=100*(CLOSE-T1)/(T2-T1);
T4:=LLV(INDEXL,Z);
T5:=HHV(INDEXH,Z);
T6:=100*(INDEXC-T4)/(T5-T4);
红箭头:crOSS(MA(T3,X),MA(T6,X));
Z:=120;
X:=5;
T1:=LLV( LOW,Z);
T2:=HHV(HIGH , Z);
T3:=100*(CLOSE-T1)/(T2-T1);
T4:=LLV(INDEXL,Z);
T5:=HHV(INDEXH,Z);
T6:=100*(INDEXC-T4)/(T5-T4);
红箭头:crOSS(MA(T3,X),MA(T6,X));