DP:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
GG:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
VAR1:=IF(DP>0.01,0.9,IF(DP<-0.05,1,1.2));
VAR2:=VAR1*(GG-DP)*100;
拉动引擎:SUM(VAR2,5),COLORFF6666,LINETHICK2;
昨:REF(拉动引擎,1),COLORYELLOW,NODRAW;
差值:拉动引擎-昨,COLORSTICK;
R5:IF(拉动引擎>REF(拉动引擎,1) AND REF(拉动引擎,1)<REF(拉动引擎,2) AND REF(拉动引擎,1)<-6,5,0),COLORRED,LINETHICK2;
-5,COLORFF33FF,POINTDOT;
0,POINTDOT;
2,POINTDOT;
5,POINTDOT;
10,POINTDOT;
15,POINTDOT;