基础:=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1);VAR1:=EMA(INDEXC,5);VAR2:=EMA(INDEXC,10);VAR3:=EMA(INDEXC,20);VAR4:=VAR1>=REF(VAR1,1) AND 买入基础;VAR5:=VAR2>=REF(VAR2,1) AND 买入基础;VAR6:=VAR3>=REF(VAR3,1) AND 买入基础;STICKLINE(VAR6,40,50,8,0),COLOR1068B4,LINETHICK2;STICKLINE(VAR6,40,50,7,0),COLOR1078B4,LINETHICK2;STICKLINE(VAR6,40,50,6,0),COLOR1088B4,LINETHICK2;STICKLINE(VAR6,40,50,5,0),COLOR1098B4,LINETHICK2;STICKLINE(VAR6,40,50,4,0),COLOR10A8B4,LINETHICK2;STICKLINE(VAR6,40,50,3,0),COLOR10