通达信均线趋势反转公式副图源码


M10:MA(C,10);
G1:=HHVBARS(H,30);
H1:=REF(C,G1+1);
ZF:=(L1-H1)/H1*100;
TJ:=LZF< -10 AND G1>20 AND D1< G1;
QD:=C/REF(C,1)>1.03 AND VOL>=REF(VOL,1)*1.8 AND VOL/REF(VOL,1)< 3;
A:=SUM(HSL,G1)/G1>2.5;
A2:=(C-REF(C,D1+1))/REF(C,D1+1)*100;
A5:=IF(O>=REF(MAX(C,O),1),V*0.8< REF(V,1) AND HSL< 16 AND VOL/REF(VOL,1)< 3.5,V>0);
XG:=TJ AND QD AND ZF< GL AND ZF3 AND A AND A1 AND A2< 15 AND A3 AND A5 AND A4;
STICKLINE(XG,C,O,2,0),COLORYELLOW;