飞狐资金堆积比副图指标
-
相关简介:飞狐资金堆积比副图指标 源码 A:=BARSCOUNT(C); N1:=IF(A5,5,A); N2:=IF(A15,15,A); N3:=IF(A30,30,A); N4:=IF(A60,60,A); N5:=IF(A120,120,A); V1:=SUM(AMOUNT,N1); V2:=SUM(AMOUNT,N2); V3:=SUM(AMOUNT,N3); V4:=SUM(AMOUNT,N4); V5:=SUM(AMOUNT,N5); 堆积比5日:100*(1-V1/V5),STICK,LI
-
文章来源:股海网作者:股海网发布时间:2016-02-19浏览次数:
飞狐资金堆积比副图指标
源码
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);
堆积比5日:100*(1-V1/V5),STICK,LINETHICK2,COLOR0000FF;
堆积比15日:100*(1-V2/V5),STICK,LINETHICK2,COLOR0088FF;
堆积比30日:100*(1-V3/V5),STICK,LINETHICK2,COLOR00BBFF;
堆积比60日:100*(1-V4/V5),STICK,LINETHICK2,COLOR00eeFF;
IF(A>0,0,0),LINETHICK1,COLOR0000FF;
IF(A>0,20,0),LINETHICK1,COLOR0000FF;
IF(A>0,40,0),LINETHICK1,COLOR0000FF;
IF(A>0,60,0),LINETHICK1,COLOR0000FF;
IF(A>0,80,0),LINETHICK1,COLOR0000FF;
堆积比5日,COLORFFFFFF;
堆积比15日,COLORFFFFFF;
堆积比30日,COLORFFFFFF;
堆积比60日,COLORFFFFFF;