
VAR2:=EMA(C,5),COLORFFFF00;
VAR3:=EMA(C,10),COLORFFFF00;
VAR5:=EMA(C,30),COLORFFFF00;KVAR5:=EMA(INDEXC,30),COLORFFFF00;
VAR6:=2*(VAR2-VAR5);
VAR7:=2*(VAR2-VAR3);
VAR8:=2*(VAR7+VAR6),COLORRED;
STICKLINE(CROSS(VAR8,0),0,10,8,0) ,COLORRED;
DRAWTEXT_FIX(1,0,1,0,'公众号:精选指标'),COLORMAGENTA;
K1:=IF(VAR8>REF(VAR8,5) AND VAR3<REF(VAR3,5) ,1,0 ),COLORYELLOW;
VAR21:=IF(VAR8>REF(VAR8,7) AND VAR3<REF(VAR3,7) ,1,0 ),COLORYELLOW;
VAR31:=IF(VAR8>REF(VAR8,9) AND VAR3<REF(VAR3,9) ,1,0 ),COLORYELLOW;
VAR4:=IF(VAR8>REF(VAR8,11) AND VAR3<REF(VAR3,11) ,1,0 ),COLORYELLOW;
底部:STICKLINE((K1 OR VAR21 OR VAR31 OR VAR4) AND VAR8<0 AND VAR8>REF(VAR8,1),5,0,8,0) ,COLORYELLOW;
0;