金钻买点选股公式

XA_1:=TROUGHBARS(3,15,1)<10;
 XA_2:=PEAKBARS(3,15,1)<10;
 XA_3:=IF(XA_1=1,50,0);
 XA_4:=IF(XA_2=1,50,0);
 XA_5:=IF(XA_3=50,10,0);
金钻买点:IF(XA_5=10 AND REF(XA_5,1)=10 AND REF(XA_5,2)=0,50,0),COLORYELLOW,LINETHICK2;