Arsi:="RSI.RSI1#WEEK",COLOR5588AA;
BRSI:="RSI.RSI2#WEEK",COLOR00AacC;
crSI:="RSI.RSI3#WEEK",COLOR77EE00;
XJL:=LLV((REF(RSI,11)+REF(RSI,9)+REF(RSI,7)+REF(RSI,5)+REF(RSI,3)+REF(RSI,1))/6,12);
XJH:=HHV((REF(RSI,11)+REF(RSI,9)+REF(RSI,7)+REF(RSI,5)+REF(RSI,3)+REF(RSI,1))/6,12);
XX:=MA((XJL+XJH)/2,2),COLOR777777,LINETHICK1;
HRSI:=HHV("RSI.RSI1#WEEK",2);
下买:(CROSS(ARSI,XX) AND CROSS(HRSI,BRSI)) OR CROSS(BRSI,CRSI) OR CROSS(ARSI,CRSI);