{1.建“引用”公式}
M:=30;
散户线:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));
AA4:(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:SMA(AA4,13,8);
走势:CEILING(SMA(AA5,13,8));
{2.再建“A”公式}
散户线:="引用.散户线#WEEK";
AA4:="引用.AA4#WEEK";
AA5:="引用.AA5#WEEK";
走势:="引用.走势#WEEK";
周选:CROSS(走势,散户线);