飞狐龙盘控盘力度副图指标
源码
Var1:=AMOUNT/VOL/100;
Var2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var3:=SUM(AMOUNT,40)/Var1/100;
Var4:=SUM(AMOUNT,80)/Var1/100;
CYC40:=DMA(Var2,VOL/Var3);
CYC80:=DMA(Var2,VOL/Var4);
CYS40:=(CLOSE-CYC40)/CYC40*100;
CYS80:=(CLOSE-CYC80)/CYC80*100;
控盘:4,COLORYELLOW;
警戒:21,COLOR0099FF;
河:-5,COLORGREEN;
湖:-15,COLORCCFF33;
STICKLINE(CYS80>0,0,CYS80,6,0),COLORYELLOW;
STICKLINE(CYS80<=0,0,CYS80,6,0),COLORGREEN;
STICKLINE(CYS40>0,0,CYS40,6,0),COLORRED;
STICKLINE(CYS40<=0,0,CYS40,6,0),COLORFF9966;