X:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,7)+MA(CLOSE,13)+MA(CLOSE,21))/5;
牛熊线:X,COLORWHITE,LINETHICK2;
ZDF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
TDXSTEP250:STICKLINE(ZDF>9.85,OPEN,CLOSE,3.2,0),COLORRED;
TDXSTEP251:STICKLINE(ZDF<(-9.85),OPEN,CLOSE,3.2,0),COLORBLUE;
TDXSTEP252:DRAWTEXT(ZDF>9.85,LOW*0.95,2),COLORRED;
TDXSTEP253:DRAWTEXT(ZDF<(-9.85),LOW*0.96,3),COLORBLUE;
A4:=MA(CLOSE,20);
A5:=CLOSE>MA(CLOSE,5);
A6:=MA(CLOSE,5)>MA(CLOSE,10);
A7:=CLOSE>MA(CLOSE,10);
A8:=MA(CLOSE,5)>MA(CLOSE,20);
A9:=CLOSE>MA(CLOSE,20);
A10:=REF(A4,1);
A11:=A4>A10;
AVX:=IF(A5,10,0-10)+IF(A6,10,0-10)+IF(A7,10,0-10)+IF(A8,10,0-10)+IF(A9,10,0-10)+IF(A11,10,0-10);
SC:=REF(AVX,1)<=0 AND AVX>0;
A1:=AVX>10 AND AVX>=REF(AVX,1) AND AVX>=REF(AVX,2);
A2:=AVX=60;
A3:=SC OR A1 OR A2;
TDXSTEP254:STICKLINE(A3,OPEN,CLOSE,1.3,0),COLORMAGENTA;
TDXSTEP255:STICKLINE(A2,OPEN,CLOSE,1.3,0),COLORYELLOW;
CX:=BARSLAST(NOT(A3));
CX1:=BARSLAST(NOT(A2));
TDXSTEP256:STICKLINE(A3>0,REF(LOW,CX)*0.96,REF(LOW,CX)*0.965,4,0),COLORRED;
TDXSTEP257:DRAWNUMBER(A2,REF(LOW,CX)*0.95,CX1),COLORYELLOW;
V1:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
HY1:=REF(EMA(V1,3),1);
DK:=MA((CLOSE-HY1)*28,2)*0.1;
HS:=VOL*100/CAPITAL;
ZL:=MA(HS,4);
DH:=MA(HS,9);
ZH:=MA(HS,17);
SH:=MA(HS,34);
JL:=(ZL+DH+ZH+SH)/4;
ZLNL:=ZL-JL;
AA1:=DK>=0 AND DK>=REF(DK,1) AND CLOSE>=X;
AA2:=ZLNL>=0 AND ZLNL>=REF(ZLNL,1) AND CLOSE>=X;
TDXSTEP258:DRAWICON(AA2,LOW*0.97,27);
TDXSTEP259:DRAWTEXT_FIX(1,0,0,0,4),COLORE837EC;
TDXSTEP260:DRAWTEXT_FIX(1,0,0.05,0,12),COLORE837EC;
TDXSTEP261:DRAWTEXT_FIX(1,0,0.1,0,13),COLORE837EC;
62499509.jpg
|