飞狐筹码活跃度副图指标
源码
A:=BARSCOUNT(C);
N1:=IF(A>5,5,A);
N2:=IF(A>15,15,A);
N3:=IF(A>30,30,A);
N4:=IF(A>60,60,A);
N5:=IF(A>120,120,A);
V1:=SUM(AMOUNT,N1);
V2:=SUM(AMOUNT,N2);
V3:=SUM(AMOUNT,N3);
V4:=SUM(AMOUNT,N4);
V5:=SUM(AMOUNT,N5);
活跃度60日:100*(V4/V5),STICK,LINETHICK2,COLORffee00;
活跃度30日:100*(V3/V5),STICK,LINETHICK2,COLORffBB00;
活跃度15日:100*(V2/V5),STICK,LINETHICK2,COLORff8800;
活跃度5日:100*(V1/V5),STICK,LINETHICK2,COLORff0000;
IF(A>0,0,0),LINETHICK0,COLOR0000FF;
IF(A>0,20,0),LINETHICK0,COLOR0000FF;
IF(A>0,40,0),LINETHICK0,COLOR0000FF;
IF(A>0,60,0),LINETHICK0,COLOR0000FF;
IF(A>0,80,0),LINETHICK0,COLOR0000FF;
活跃度60日,COLORFFFFFF;
活跃度30日,COLORFFFFFF;
活跃度15日,COLORFFFFFF;
活跃度5日,COLORFFFFFF;