HSL:VOL/CAPITAL*100;
S1:=VOL/(((REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5))/1200)*FROMOPEN);
量比:MA(S1,1);
SHIHSL:MA(HSL,20);
DRAWTEXT(HSL>SHIHSL AND HSL>=3 AND HSL<7,HSL,'活跃'),COLORGREEN;
DRAWTEXT(HSL>SHIHSL AND HSL>=7 AND HSL<10,HSL,'高度活跃'),COLORMAGENTA;
DRAWTEXT(HSL>SHIHSL AND HSL>=10 AND HSL<15,HSL,'风险'),COLORYELLOW;
DRAWTEXT(HSL>SHIHSL AND HSL>=15 ,HSL,'高风险高回报'),COLORRED;
DRAWTEXT(HSL<SHIHSL ,HSL,'观'),COLORGREEN;