飞狐品种强弱副图公式
源码
LC:=REF(CLOSE,1);
品种0:=(SMA(MAX(CLOSE-LC,0),14,1))/(SMA(ABS(CLOSE-LC),14,1))*100;
IC:=REF(INDEXC,1);
指数0:=(SMA(MAX(INDEXC-IC,0),14,1))/(SMA(ABS(INDEXC-IC),14,1))*100;
FILLRGN(品种0>=指数0,指数0,品种0),colorFF;
FILLRGN(品种0<指数0,指数0,品种0),colorFF00;
品种强弱:品种0,colorFF00;
指数强弱:指数0,colorFF00FF;
强弱度:品种强弱-指数强弱,LINETHICK0;
MA(品种强弱,8);
20,colorFF00FF;
50,LINETHICK2,colorFFFF;
80,colorFF00;