MA2:MA(C,2);
MA26:MA(C,26);
布林上轨:MA(CLOSE,20)+2*STD(CLOSE,20);
XG1:=CROSS(MA2,布林上轨);
XG2:=L<=MA(C,26) AND C>=MA(C,26);
XG:=COUNT(XG1,30)=1 AND XG2 AND FILTER(XG2,10);
DRAWTEXT(XG,L*0.98,'★回踩买'),COLORYELLOW;
{
选股公式:
A1:=MA(C,2);
A2:=MA(CLOSE,20)+2*STD(CLOSE,20);
XG1:=CROSS(A1,A2);
XG2:=L<=MA(C,26) AND C>=MA(C,26);
COUNT(XG1,30)=1 AND XG2 AND FILTER(XG2,10);
}