顺势而为
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100 COLORRED;
DD:=RSI1>REF(RSI1,1) AND RSI1>REF(RSI1,2);
VAR2:=DMA(CLOSE,HIGH/MA(LOW,4)/4);
VAR3:=DMA(CLOSE,CLOSE/MA(LOW,30)/30);
VAR4:=(LOW-VAR2)/VAR2*100<-5.889;
VAR5:=(VAR2-VAR3)/VAR3*100<-15.889;
VAR6:=VAR4 AND VAR5 AND (HIGH-MA(LOW,3))/REF(LOW,2)>-0.059;
VAR7:=VAR6>0;
VAR8:=AMOUNT/VOL/100;
VAR9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VARA:=SUM(AMOUNT,13)/VAR8/100;
VARB:=DMA(VAR9,VOL/VARA);
VARC:=MA(HHV(HIGH,488),18);
VARD:=MA(HHV(HIGH,220),18);
VARE:=MA(HHV(HIGH,98),18);
VARF:=MA(LLV(LOW,488),18);
VAR10:=MA(LLV(LOW,220),18);
VAR11:=MA(LLV(LOW,98),18);
VAR12:=MA((VARF*0.96+VAR10*0.96+VAR11*0.96+VARC*0.558+VARD*0.558+VARE*0.558)/6,18);
VAR13:=MA((VARF*1.25+VAR10*1.23+VAR11*1.2+VARC*0.55+VARD*0.55+VARE*0.65)/6,18);
VAR14:=MA((VARF*1.3+VAR10*1.3+VAR11*1.3+VARC*0.68+VARD*0.68+VARE*0.68)/6,18);
VAR15:=MA((VAR12*3+VAR13*2+VAR14)/6*1.738,18);
VAR17:=LOW;
VAR18:=REF(LOW,1);
VAR19:=SMA(ABS(VAR17-VAR18),3,1)/SMA(MAX(VAR17-VAR18,0),3,1)*100;
VAR1A:=MA(IF(CLOSE*1.35,VAR19*10,VAR19/10),3);
VAR1B:=LLV(LOW,30);
VAR1C:=HHV(VAR1A,30);
VAR1D:=IF(LOW<=VAR1B,(VAR1A+VAR1C*2)/2,0);
VAR1E:=MA(VAR1D AND CLOSE<COST(1),3) AND (CLOSE-VARB)/VARB*100<-11;
VAR1F:=MA(CLOSE,5);
VAR20:=MA(CLOSE,10);
VAR21:=MA(CLOSE,20);
VAR22:=MA(CLOSE,30);
VAR23:=(VAR1F+VAR20+VAR21+VAR22)/4;
VAR24:=(VAR23-REF(VAR23,15))/REF(VAR23,15)*100;
VAR25:=IF(VAR24<-10 AND VAR24<REF(VAR24,1),20,0);
买入:VAR7 AND VAR1E AND VAR25 AND (CLOSE-OPEN)>0 AND DD;
20191149475796813.png
2019114948089238.png
2019114948330708.png
|