以下是通达信布林回踩买主副图公式(大智慧通用源码)
通达信布林回踩买主副图公式(大智慧通用源码)
{布林回踩买主图}
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);