N:=9;M1:=3;M2:=3;P:=9;
短线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORMAGENTA,LINETHICK2;
中线:=SMA(短线,M1,1),COLORYELLOW;
BB:=IF(BArslAST(crOSS(中线,短线))>=3 AND CROSS(短线,中线) AND 中线<30,20,0);
红箭头:BB>0;
N:=9;M1:=3;M2:=3;P:=9;
短线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORMAGENTA,LINETHICK2;
中线:=SMA(短线,M1,1),COLORYELLOW;
BB:=IF(BArslAST(crOSS(中线,短线))>=3 AND CROSS(短线,中线) AND 中线<30,20,0);
红箭头:BB>0;