VAR1N:=MA(CLOSE,5);
VAR2N:=MA(CLOSE,10);
VAR3N:=(VAR1N-CLOSE)/CLOSE>13/100;
VAR4N:=(VAR2N+VAR1N)/VAR1N>0.03;
VAR5N:=LLV(CLOSE,1)=LLV(CLOSE,1);
背水一战:IF(VAR3N AND VAR4N AND VAR5N,20,0),COLORGREEN,LINETHICK3;
VAR3N AND VAR4N AND VAR5N;
20;
TDXSTEP467:DRAWTEXT(0,背水一战,45),COLORCYAN;
AHC1:=CLOSE*VOL;
AHC2:=EMA((EXPMA(AHC1,3)/EXPMA(VOL,3)+EXPMA(AHC1,6)/EXPMA(VOL,6)+EXPMA(AHC1,12)/EXPMA(VOL,12)+EXPMA(AHC1,24)/EXPMA(VOL,24))/4,13);
内上:=1.06*AHC2;
内下:=AHC2*0.94;
AHC3:=EXPMA(CLOSE,9);
外上:=EXPMA(AHC3*1.14,5);
外下:=EXPMA(AHC3*0.86,5);
买:=REF(OPEN,1)>内下 AND REF(CLOSE,1)<内下 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>OPEN;
抄底:=OPEN<内下 AND CLOSE<外下;
千载难逢:=OPEN>内下 AND CLOSE<外下;
DZ:=MIN(CLOSE,OPEN)<MA(CLOSE,5) AND (MIN(CLOSE,OPEN)-LOW)/OPEN>0.05;
抄底不败:DZ AND LOW<外下 OR 抄底 OR 千载难逢,COLORRED;
TDXSTEP468:DRAWTEXT(抄底不败,0.8,67),COLORRED;
QW:=SUM(CLOSE*VOL,13)/SUM(VOL,13);
均价:=SUM(CLOSE*VOL,BARSCOUNT(CLOSE))/SUM(VOL,BARSCOUNT(CLOSE));
王者归来:=MA(均价,25);
占线为王:=MA(QW,25);
M:CROSS(CLOSE,占线为王);
QVAR1A:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
QVAR1B:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
波段:=SMA(QVAR1C,13,8);
起点:FILTERX(COUNT(波段-QVAR1D<(-68),3)=3,M)*1,LINETHICK3;
起点2:FILTERX(COUNT(波段-QVAR1D<(-68),3)=3,15)*1;
AN:=MA(CLOSE,24);{http://www.fxjgsw.com}
AN12:=MA(AN,12);
A1:=LOW<AN;
A2:=CLOSE>AN;
A3:=CLOSE/REF(CLOSE,1)<AN;
A4:=CROSS(CLOSE,AN) AND VOL/REF(MA(VOL,5),1)>1.016;
XG:=A1 AND A2 AND A3 AND A4;
TDXSTEP469:CROSS(CLOSE,占线为王);
王:=CROSS(占线为王,王者归来);
XXG:XG AND CROSS(CLOSE,占线为王);
TDXSTEP470:STICKLINE(XXG,0,0.8,0.5,0),COLORLIRED;
TDXSTEP471:DRAWICON(XXG,1,13);
TDXSTEP472:DRAWTEXT(XXG,0.8,3),COLORYELLOW;
C1:=(MA(CLOSE,30)-LOW)/MA(CLOSE,60)*200;
趋线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
趋线2:=MA(趋线,5);
趋线3:=MA(C1,7);
ASD:=(-10);{http://www.fxjgsw.com}
金刀:CROSS(ASD,趋线2),COLORMAGENTA,LINETHICK3;
TDXSTEP473:DRAWTEXT(CROSS(ASD,趋线2),0.8,43),COLORMAGENTA;
|