量:v,COLORMAGENTA;
动态天量:if(ref(v,1)=hhv(v,20),ref(v,1),ref(ref(v,1),BARSLAST(ref(v,1)=hhv(v,20)))),COLORFFCC66;
动态地量:if(v=llv(v,20),v,ref(v,BARSLAST(v=llv(v,20)))),COLORYELLOW;
STICKLINE(量=动态地量 and 动态地量<ref(动态地量,1),动态天量,动态地量,1,0),LINEDOT,COLORGRAY;
PARTLINE(量=动态地量