通达信短线牛股 实战选牛股 副图/选股源码

N:=5;N1:=25;
 A:=(N-HHVBARS(H,N))/N*100;
 B:=(N-LLVBARS(L,N))/N*100;
 P:=(N1-HHVBARS(H,N1))/N1*100;
 Q:=(N1-LLVBARS(L,N1))/N1*100;
买:IF(REF(Q,1)=REF(B,1) AND REF(B,1)=100 AND (B AND Q)<100 AND P<=40 AND A<=50 ,10,0),COLORFFFFFF,LINETHICK2;