XX1:=MA(CLOSE,1);
XX2:=(LOW+HIGH+CLOSE)/3;
XX3:= MA(XX2,5);
XX4:=LLV(XX3,10);
短买:IF(LLV((XX1< XX4),10),5,0),COLORWHITE;
RR4:=MA(CLOSE,20);
RR5:=(CLOSE > MA(CLOSE,5));
RR6:=(MA(CLOSE,5) > MA(CLOSE,10));
RR7:=(CLOSE > MA(CLOSE,10));
RR8:=(MA(CLOSE,5) > MA(CLOSE,20));
RR9:=(CLOSE > MA(CLOSE,20));
RR0:=REF(RR4,1);
RR1:=(RR4 > RR0);
AVX:=(((((IF(RR5,10,(0 - 10)) + IF(RR6,10,(0 - 10))) + IF(RR7,10,(0 - 10))) + IF(RR8,10,(0 - 10))) + IF(RR9,10,(0 - 10))) + IF(RR1,10,(0 - 10))),;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV1:=(RSV/10-5)*2;
VAR5:=(CLOSE-OPEN)/OPEN*100;
AVXGL:=(CROSS(-5,VAR5)OR RSV1< -9) AND AVX=-60 ;
R1:=1;
R2:=LLV(LOW,10);
R3:=HHV(HIGH,25);
X1:=EMA((CLOSE-R2)/(R3-R2)*4,4)*R1;
X:=X1< 0.3;
RRR1:=REF(LOW,1);
RRR2:=SMA(ABS(LOW-RRR1),13,1)/SMA(MAX(LOW-RRR1,0),13,1)*4;
RRR3:=EMA(RRR2,13);
RRR4:=LLV(LOW,34);
RRR5:=EMA(IF(LOW<=RRR4,RRR3,0),3);
MZJC:=RRR5>REF(RRR5,1);
BA1:=ABS((EMA(CLOSE, 5) - EMA(CLOSE, 10))) * 628;
BA2:=BA1 / CLOSE;
CDX1:=BA1< BA2;
BA3:=REF(CLOSE, 1.000);
BA4:=SMA(MAX((CLOSE - BA3),0), 8, 1) / SMA(ABS((CLOSE - BA3)), 8.000, 1) * 100;
BA5:=SMA(MAX((CLOSE - BA3),0), 55, 1) / SMA(ABS((CLOSE - BA3)), 55.000, 1) * 100;
CDX2:=(BA4<= 20) AND (BA5 <= 49);
CM1:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100< 12;
CM2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 < 12;
买入:(AVXGL AND X AND MZJC AND (CDX1 OR CDX2 OR CM1 OR CM2));
机会来临2:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,8,0),1),COLORF00FF0;
ZG:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*1000;
ZG1:=ZG-LLV(ZG,10);
ZG2:=(MA(ZG1,2)*3+ZG1*13)/16;
ZG3:=IF(ZG2>13,MA(ZG2,2),ZG2)/6;
ZG4:=CROSS(ZG3,1) AND (ZG3< 30);
ZG5:=REF(COUNT(C< O,6)< 6,1) AND REF(O/C< 1.07,8) AND REF(O/C< 1.07,1) AND REF(O/C< 1.07,13);
WWW70822COM:=DRAWNULL,COLOR333333;
ZG6:=REF(REF(C,1)/C< 1.07,3) AND REF(O/C< 1.05,9)AND REF(C< O OR C>O,3) AND H/C< 1.015;
换手率:=100*VOL/CAPITAL;
ZG7:=REF(C< O OR C>O,4) AND REF(C< O OR C>O,5);
ZG8:=IF((C-MIN(REF(C,2)*0.865,REF(C,13)*0.772))/C< 0.1 AND SUM(换手率,5)/5< 1.8,10, 0);
ZG9:=REF(ZG8,1) AND C>O AND REF(C< O,1)AND REF(O/C< 1.07,7) AND C/REF(C,1)>1.01;
ZG12:=REF(EVERY(OPEN>CLOSE,3),1) AND C>MA(C,5) AND C>MA(C,10) AND REF(O/C>1.05,1) AND C>MA(C,20) AND REF(C< MA(C,5) AND C< MA(C,10) AND C< MA(C,20),1) AND REF(C=O,20);
换手率抄底:(ZG4 AND ZG9 AND MACD.MACD>REF(MACD.MACD,1) AND ZG7 AND ZG6 AND ZG5)OR ZG12 ,COLORLIRED;