N:=6;
VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR2222:=CROSS(VAR1111,0.9);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,0.9);
壓力:= REF(HIGH,BARSLAST(VAR2222)),COLORFF8B92;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222))*1.0005,REF(HIGH,BARSLAST(VAR2222))*0.9995,2,0),COLORFF8B92,LINETHICK2;
支撐:= REF(LOW,BARSLAST(VAR4444)),COLOR00B4FF;
STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444))*1.0005,REF(LOW,BARSLAST(VAR4444))*0.9995,2,0),COLOR00B4FF,LINETHICK2;
GJ:=(C+H+L+O)/4;
明阻:=L+(GJ-L)+(C-L);
明支:=L+(C-GJ);
今阻:REF(明阻 , 1),LINETHICK0;
今支:REF(明支 , 1),LINETHICK0,COLORFF00FF;
BDGD:=C=HHV(C,N);
GDSJ:=BARSLAST(BDGD);
前高:IF(GDSJ>0,REF(C,GDSJ),REF(C,GDSJ)),COLORFFFF00,POINTDOT,LINETHICK1;
MA5: MA(CLOSE,5),COLORRED ;
MA10: MA(CLOSE,10),COLOR00FF00;
MA20:= MA(CLOSE,20);
MA30:= MA(CLOSE,30);
MA60:MA(CLOSE,60),,COLOR0099FF;
MA120:= MA(CLOSE,120);
PDAY1 := BARSLAST(CROSS(MA5,MA60));
PDAY2 := BARSLAST(CROSS(MA10,MA60));
PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));
PDAY4 := BARSLAST(CROSS(MA10,MA5));
PDAY5 := BARSLAST(CROSS(MA5,MA10));
A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;
A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
AA:=IF(A1 AND A2 AND MA(C,5)>=MA(C,10) AND MA(C,10)>MA(C,60),10,0);
BB:=FILTER( A1 AND A2 AND MA(C,5)>=MA(C,10) AND MA(C,10)>MA(C,60),5);
有戲:=IF(AA AND BB,1,0);
DRAWICON(AA AND BB ,LOW*0.99,5);
TP:=CROSS(C,REF(前高,1));
突破:=TP AND COUNT(TP,5)=1;
DRAWTEXT(突破,L,'TP'),COLORYELLOW,LINETHICK1;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
買1:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
賣1:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
DRAWTEXT(FILTER(買1=1,5),LOW*0.99, '▲'),COLORRED;
DRAWTEXT(FILTER(賣1=1,5),HIGH*1.01, '▼'),COLOR00FF00;
ZH520:=ABS(MA5-MA20)/MA20*100<=N;
ZH530:=ABS(MA5-MA30)/MA30*100<=N;
QSXS1:=MA5>REF(MA5,1);
QSXS2:=MA20>REF(MA20,1);
QSXS3:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;
GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));
LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;
買:=(LYKK AND NOT(REF(LYKK,1)))*50;
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
優(yōu)選:=(買 AND COUNT((MA10>MA20),5)=5);
DRAWTEXT(優(yōu)選,L*0.99,'⊙'),COLORRED;
DRAWTEXT(CROSS(82,VARC),HIGH*1.01,'⊙'),COLOR00FF00;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
BDGD1:=HHV(J1,2)=HHV(J1,8) AND J1>80;
BDDD:=LLV(J1,2)=LLV(J1,8);
J1向下拐頭:=IF(CROSS(REF(J1-0.01,1),J1) AND REF(BDGD1,1),1,0);
DRAWTEXT(J1向下拐頭 ,HIGH,'J↓'),COLORFFFFFF;
J1向上拐頭:=IF(CROSS(J1,REF(J1+0.01,1)) AND BDDD AND J1<20,1,0);
DRAWTEXT(J1向上拐頭,LOW,'J↑'),COLOR00FF00;
聯(lián)系客服