通达信平沙落雁副图指标公式源码

以下是通达信平沙落雁副图指标公式源码:

A1:=C/REF(C,1)>1.095;
K1:=(H-MAX(C,O))/REF(C,1)>0.07;
WR1:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
DD1:=C/REF(C,1)<1.025 AND C/REF(C,1)>0.985;
A2:=C<>O;
AA1:=A1 AND (HHV(H,6)-REF(C,1))/REF(C,1)>0.25;
平沙落雁:WR2>80 AND COUNT(AA1,5)>=1 AND COUNT(K1,7)<=0 AND REF(C,1)/REF(C,2)>0.9 AND C/REF(C,1)>0.9,COLORRED;