M:=-15;P:=-20;
VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE = (OPEN * 1.04)));
VAR2:=(CLOSE ((REF(HIGH,1) + REF(LOW,1)) / 2));
VAR3:=REF(CLOSE,1);
VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100);
红白出现可追涨:(VAR1 AND VAR2)*80,STICK,COLORFFFFFF;
R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
R5:=(R2+2*R3+3*R4)/6;
R6:=MA(R5,3);
VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;
VAR6A:=MA(VAR5A,3);
绿白出现可以买: STICKLINE(VAR6A =P,60,0,2,0),COLORGREEN;
BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;
ENTERLONG:=CROSS(-14,BIAS);
青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;
MID := MA(CLOSE,26);
LOWER:= MID - 2*STD(CLOSE,26);
EN:=CROSS(CLOSE,LOWER);
紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(VAR2W,3);
VAR3W:=EMA(VAR2W,7);
M1:= EMA(VAR3W,5);
MB1:=CROSS(MW,M1) AND M1
黄白出现可追涨:IF((MB1),90,0),STICK,COLORYELLOW;
VAD1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
VAD2:=INDEXC;
VAD3:=INDEXC;
VAD4:=CLOSE/MA(CLOSE,50) 0.74;
VAD5:=(CLOSE/MA(CLOSE,40) 0.78 OR CLOSE/MA(CLOSE,60) 0.74) AND HIGH LOW*1.049;
VAD6:=EMA(WINNER(CLOSE)*70,3);
VAD7:=CLOSE/MA(CLOSE,40);
VAD8:=MA(VAD2,6);
VAD9:=MA(VAD3,6);
VAD10:=HIGH LOW*1.048;
VAD11:=MA(CLOSE,27)/CLOSE 1.169 AND MA(CLOSE,17)/CLOSE 1.158 AND CLOSE/COST(5) =0.8;
VAD12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
VAD13:=LOW*1.051 HIGH;
VAD14:=MA(VAD2,24);
VAD15:=MA(VAD3,24);
VAD16:=VAD10 AND COUNT(VAD10,4)
VAD17:=EMA(CLOSE,30);
VAD18:=CLOSE/MA(CLOSE,40)*100
VAD19:=VAD13 AND COUNT(VAD13,5)
VAD20:=MA(VAD2,32);
VAD21:=MA(VAD3,32);
VAD22:=VAD16 AND (VAD4 OR VAD4);
VAD23:=VAD5 AND VAD11 AND VAD17;
VAD24:=CLOSE/MA(CLOSE,60)*100
VAD25:=INDEXC;
VAD26:=MA(VAD2,62);
VAD27:=MA(VAD3,62);
VAD28:=DMA(EMA(CLOSE,10),SUM(VOL,5)/3/CAPITAL);
VAD29:=HIGH LOW*1.051;
VAD30:=MA(VAD25,5);
VAD31:=MA(VAD2,105);
VAD32:=MA(VAD3,105);
VAD33:=REF(HIGH,10)/CLOSE 1.26;
VAD34:=VAD29 AND COUNT(VAD29,5)
VAD35:=MA(VAD25,20);
VAD36:=VAD26 REF(VAD26,1) AND VAD31 REF(VAD31,1) AND VAD26 VAD31*0.98;
VAD37:=VAD27 REF(VAD27,1) AND VAD32 REF(VAD32,1) AND VAD27 VAD32*0.98;
VAD38:=CLOSE/VAD28 0.65 AND VAD33;
VAD39:=VAD34 AND (VAD18 OR VAD24) AND VAD12 20 AND VAD6 20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100
VAD40:=(VAD1 6 AND VAD7 0.76 AND VAD19)*70;
VAD41:=VAD20 VAD8*1.11 AND VAD14 VAD8*1.095;
VAD42:=VAD21 VAD9*1.11 AND VAD15 VAD9*1.095;
VAD43:=REF(CLOSE,8);
VAD44:=VAD8 VAD2*0.95;
VAD45:=VAD9 VAD3*0.95;
VAD46:=VOL/CAPITAL;
VAD47:=VAD36 AND VAD41 AND VAD44 AND CLOSE/COST(8) =0.8 AND (CLOSE OPEN OR CLOSE OPEN) AND (REF(CLOSE,1) REF(OPEN,1) OR REF(CLOSE,1) REF(OPEN,1));
VAD48:=CLOSE/MA(CLOSE,48)*100
VAD49:=(EMA(CLOSE,28)-EMA(CLOSE,13))/EMA(CLOSE,28);
VAD50:=CLOSE/MA(CLOSE,50)*100
VAD51:=CLOSE/VAD43 0.79 AND MA(VAD46,5) 0.02 AND VAD49 0.06;
VAD52:=HIGH LOW*1.078;
VAD53:=VAD22 AND (VAD38 OR VAD51);
VAD54:=VAD52 AND COUNT(VAD52,4)
VAD55:=VAD54 AND (VAD48 OR VAD50) OR VAD37 AND VAD42 AND VAD45 AND CLOSE/COST(8) =0.8 AND (CLOSE OPEN OR CLOSE OPEN) AND (REF(CLOSE,1) REF(OPEN,1) OR REF(CLOSE,1) REF(OPEN,1));
AA:=VAD23 OR VAD39 OR VAD40 OR VAD47 OR VAD53 OR VAD55 OR (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100 -15 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100 0.1 AND MA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100,5)
STICKLINE(AA,0,99,1,0),COLORCYAN;
VAR1B:=INDEXC;
VAR2B:=MA(VAR1B,6);
VAR3B:=MA(VAR1B,24);
VAR4B:=MA(VAR1B,32);
VAR5B:=MA(VAR1B,62);
VAR6B:=MA(VAR1B,105);
VAR7B:=VAR5B REF(VAR5B,1) AND VAR6B REF(VAR6B,1) AND VAR5B VAR6B*0.98;
VAR8B:=VAR4B VAR2B*1.11 AND VAR3B VAR2B*1.095;
VAR9B:=VAR2B VAR1B*0.95;
中:=VAR7B AND VAR8B AND VAR9B AND CLOSE/COST(10) =1 AND
(CLOSE OPEN OR CLOSE OPEN) AND (REF(CLOSE,1) REF(OPEN,1) OR
REF(CLOSE,1) REF(OPEN,1));
VAR1N:=MA(CLOSE,5);
VAR2N:=MA(CLOSE,10);
VAR3N:=(VAR1N-CLOSE)/CLOSE 3/100;
VAR4N:=(VAR2N-VAR1N)/VAR1N 0.03;
VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);
部:=VAR3N AND VAR4N AND VAR5N;
{绿白出现可以买}
门:=中=1 AND 部=1 ;
STICKLINE(门,60,0,2,0),COLORGREEN;
底部:IF(R6 M,20,0),LINETHICK1 , COLORWHITE;