飞狐仿钱龙CR副图指标
源码
INPUT:N(26,5,300),M1(10,5,300),M2(20,5,300),M3(40,5,300),M4(62,5,300);
MID:=REF(HIGH+c,1)/2;
CR:SUM(MAX(0,HIGH-MID),N)/SUM(MAX(0,MID-LOW),N)*200,COLORFFFFFF;
CR2:=MA(CR,2),COLOR00FFFF;
MA1:MA(CR,M1),SHIFT4,COLORFF00FF;
MA2:MA(CR,M2),SHIFT9,COLOR00FF00;
MA3:MA(CR,M3),SHIFT19,COLOR0066CC;
MA4:MA(CR,M4),SHIFT30,COLORCC6666;