飞狐筹码密集A副图指标
源码
FILLRGN(c>1, 100,0),color999999;
KDCM:=100*(1-WINNER(C));
空头筹码:FILLRGN(c>1,KDCM,0),colorCCFF66;
DDCM:=100*WINNER(C);
多头筹码:FILLRGN(c>1,DDCM,0),colorCCCCFF;
获利平均值:EMA(100*WINNER(C),20),coloryellow,linethick2;
获利99 := ma(COST(99 ),5);
获利80:=ma(cost(80),5);
均线5日:= ma(c,5);
获利20:=ma(cost(20),5);
获利1 :=ma(cost(1),5);
a1:=(获利99-获利80)/获利80*100;
a2:=(获利80-获利20)/获利20*100;
aa3:=(获利20-获利1)/获利1*100;
a4:=IF(a2<10 ,100 ,0 );
a5:=IF(a2<15 ,50 ,0 );
a6:=IF(a2<20 ,25 ,0 );
密集度:a2,colorFF0000,linethick2;
高密集:a4,color0000FF,linethick2;
中密集:a5,colorFF00FF,linethick2;
低密集:a6,color00FF00,linethick2;