A1:=Ema(C,12)-EMA(C,25);
A2:=EMA(A1,6);
获利回吐:=(A2>=0)*A2,COLORLIBLUE,LINETHICK1;
空头回补:=(A2<0)*A2,COLORMAGENTA,LINETHICK1;
坚绝做空:=(A1<0)*A1,COLORGREEN,LINETHICK1;
买入持股:=(A1>=0)*A1,COLORRED,LINETHICK1;
持股区域判断:=IF(获利回吐 > 0,1,0);
持股流出天数:=REF(COUNT(A1=3;
持股强:=持股区域判断=1 AND 持股流出天数 AND A1>A2;
回补区域判断:=IF(空头回补 < 0,1,0);
回补流出:=回补区域判断 AND Abs(A2)/ABS(A1)<2;
回补流程天数:=REF(COUNT(回补流出,3),1) >=3;
回补强:=回补流程天数 AND ABS(A2)/ABS(A1) >= 2;
多:回补强;