AA1:=filter(low=llv(low,13),8);
AA2:=if(LLV(low,3)=llv(low,13) and close ref((high+low)/2,1),max(ref(llv(low,12),barslast(AA1)+1)-low,0),0);
AA3:=ema(AA2,3)*3;
AA4:=sumbars(AA3 0,21);
AA5:=sum(AA3,AA4)/21;
AA6:=ref(AA3,1)=hhv(AA3,3) and ref(AA3,1) AA5*3 and count(close/ref(close,1) 0.9025,8)=0 and isup and llv(low,3)/hhv(high,18) 0.88;
AA7:=(count( ddx.ddx 0,5) 0 or not( ddx.ddx1 ddx.ddx2 and ddx.ddx2 ddx.ddx3 )) and count( ddx.ddx ref( ddx.ddx ,1),10)
反转:filter(AA6 and AA7,5),colorblack;
stickline(close,0,AA3,8,1),coloryellow;
stickline(反转,0,AA3,8,0),colorred;
AA8:=filter(HIGH=HHv(HIGH,13),8);
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
AA9:=if(HHV(HIGH,3)=HHv(HIGH,13) and close ref((high+low)/2,1),mIN(ref(HHv(HIGH,12),barslast(AA8)+1)-HIGH,0),0);
AA10:=ema(AA9,3)*3;
AA11:=sumbars(AA10 0,21);
AA12:=sum(AA10,AA11)/21;
AA13:=ref(AA10,1)=hhv(AA10,3) and ref(AA10,1) AA12*3 and count(close/ref(close,1) 0.9025,8)=0 and isup and HHV(HIGH,3)/hhv(high,18) 0.88;
AA14:=(count( ddx.ddx 0,5) 0 or not( ddx.ddx1 ddx.ddx2 and ddx.ddx2 ddx.ddx3 )) and count( ddx.ddx ref( ddx.ddx ,1),10)
反转1:filter(AA13 and AA14,5),colorblack;
stickline(close,0,AA10,8,1),coloryellow;
stickline(反转1,0,AA10,8,0),colorred;