源码
v1:="macd.diff";
v2:="macd.dea";
v3:="macd.macd";
BIAS3 :=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
a:=ma(bias3,3);
b:=ma(a,3);
r1:=cross(a,b);
r2:=barslast(ref(r1,1));
r3:=ref(l,r2);
r4:=l
v21:=barslast(r4=1);
v31:=ref(l,v21);
v41:=if(l>v31,ref(v31,1),llv(l,5));
v5:=hhv(v3,13);
v6:=ref(hhv(c,180),1);
加油:cross(v1,v2) and v1>v5 and v41>ref(v41,13) and count(cross(c,v6),5)=1 and v3>0;