{TEN:=IF(DYNAINFO(4)!=DYNAINFO(5),STRCAT(CON2STR(DYNAINFO(7)<2,60),'1'),STRCAT(CON2STR(DYNAINFO(7)<2,0),'1')),COLORGREEN;
DRAWTEXT_FIX(1,0.510,0.20,0,TEN),COLORRED;}
量价:=(VOL/CLOSE)/3;
B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
B6:=B2+B3;DD1:=1;比:=B2/B3;
BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');
BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');
BBB3:=STRCAT(STRCAT(' ',CON2STR((100*(B2-B3))/B6,0)),'%');
{DRAWTEXT_FIX(DD1=1,0,0.50,0,BBB1),COLORRED;
DRAWTEXT_FIX(DD1=1,0,0.60,0,BBB2),COLORGREEN;}
DRAWTEXT_FIX(DD1=1,0,0.05,0,BBB3),COLOR00FFFF;
TR1:=(HIGH+LOW+CLOSE)/3;
TR2:=(TR1-MA(TR1,14))/(0.015*AVEDEV(TR1,14));
TR3:=(TR1-MA(TR1,70))/(0.015*AVEDEV(TR1,70));
TR5:=IF(TR2<=-150 AND TR2>-200 AND TR3<=-150 AND TR3>-200,10,0);
TR10:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
TR11:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
TR12:=IF(BARSCOUNT(CLOSE)<70,-120,IF(TR3<=-200 AND TR2<=-150,15,TR5)-120);
TR13:=SMA((TR11-50)*2,3,1)+SMA((TR10-50)*2,3,1)/2;
精准底部选股:CROSS(TR13,TR12),COLORMAGENTA;
F1:=ZIG(3,15);
F2:=IF((F1> REF(F1,1)),100,80);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
MA势:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100;
势:=EMA(MA势,5),COLORLIRED,DOTLINE;
{IF(势<=45,势,DRAWNULL),COLORGREEN,DOTLINE;}
趋势:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
ZZ:=趋势>REF(趋势,1);
K1:=DVOL/1000000;
K2:=DCLOSE;
V1:=EMA(K1,5);
V2:=EMA(K2,5);
价异动:=K2>REF(V2,1)*1.06;
量异动:=K1>REF(V1,1)*1.6&&ZZ;
停牌:=DYNAINFO(17)>0;
M1:=SUM(价异动,2)>0 AND 停牌;
M2:=SUM(量异动,2)>0 AND REF(趋势,1)<89;
共鸣:(F2=100 AND C>REF(C,1) AND FILTER(M1 ,3))*999,COLORWHITE,LINETHICK3;