A14:=MA(CLOSE,20);
A15:=(CLOSE MA(CLOSE,5));
A16:=(MA(CLOSE,5) MA(CLOSE,10));
A17:=(CLOSE MA(CLOSE,10));
A18:=(MA(CLOSE,5) MA(CLOSE,20));
A19:=(CLOSE MA(CLOSE,20));
A10:=REF(A14,1);
A11:=(A14 A10);
AVX:=(((((IF(A15,10,(0 - 10)) + IF(A16,10,(0 - 10))) + IF(A17,10,(0 - 10))) + IF(A18,10,(0 - 10))) + IF(A19,10,(0 - 10))) + IF(A11,10,(0 - 10))),;
bias := (CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
抢反弹:=IF(crOSS(K,D) BIAS -6 D 16 CLOSE REF(CLOSE,1),80,0),COLOR00FF00;
RSV1:=(RSV/10-5)*2;
TT:=MA(RSV1,5);
VAR2:=DMA(EMA(CLOSE,12),SUM(vol,5)/3/CAPITAL);
VAR3:=(CLOSE-VAR2)/VAR2*100;
VAR4:=REF(VAR3,1) -40 AND VAR3 REF(VAR3,1) AND REF(VAR3,1) REF(VAR3,2) AND VAR3-REF(VAR3,1)
VAR5:=(CLOSE-OPEN)/OPEN*100;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(Abs(CLOSE-VAR6),6,1)*100;
VAR8:=COUNT(VAR7 20,20)
AVXGL:=(CROSS(-5,VAR5)OR RSV1 -9) AND AVX=-60 ;
AVXGL1:=(CROSS(VAR5,5)OR RSV1 9) AND AVX=60;
CVAR1:=1;
CVAR2:=LLV(LOW,10);
CVAR3:=HHV(HIGH,25);
DLX1:=EMA((CLOSE-CVAR2)/(CVAR3-CVAR2)*4,4)*CVAR1;
DLX:=DLX1
DLXM:=DLX1
DLXJM:=DLX1 3 AND DLX1 REF(DLX1,1);
DLXJM1:=DLX1 3 AND DLX1 REF(DLX1,1) AND REF(DLX1,1) REF(DLX1,2);
VVAR1:=REF(LOW,1);
VVAR2:=SMA(ABS(LOW-VVAR1),13,1)/SMA(MAX(LOW-VVAR1,0),13,1)*4;
VVAR3:=EMA(VVAR2,13);
VVAR4:=LLV(LOW,34);
VVAR5:=EMA(IF(LOW =VVAR4,VVAR3,0),3);
VVAR51:=REF(VVAR5,1);
MZJC:=VVAR5 REF(VVAR5,1);
BA1:=ABS((EMA(CLOSE, 5) - EMA(CLOSE, 10))) * 628;
BA2:=BA1 / CLOSE;
CDX1:=BA1
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
CM2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100
{多头买入} 坚决买入:(AVXGL AND DLX AND MZJC AND (CDX1 OR CDX2 OR CM1 OR CM2));
买入区间:IF((MZJC AND AVXGL AND DLX),0.5,0), ,LINETHICK2,COLORRED;
{多头卖出}卖出区间:AVXGL1 AND DLXM OR DLXJM;
绝卖:IF(卖出区间 AND AVXGL1,1.5,0), ,LINETHICK2,COLORGREEN;
绝对别贪:IF(DLX1 3.50 AND AVXGL1,2,0), ,LINETHICK2,COLORRED;