前瞻买卖副图公式源码--赞赞赞

VAR1I:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;

VAR2I:=(C-LLV(L,10))/(HHV(H,10)-LLV(L,10))*100;

VAR3I:=(C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100;

VAR4I:=DMA(SMA((VAR1I+VAR2I+VAR3I)/3,2,1),3);

K0:SMA(VAR4I,2,1),COLORRED,LINETHICK1;

M0:SMA(K0,2,1),COLORFFFFFF;

DRAWICON(CROSS(K0,M0),K0-1,1);

DRAWICON(CROSS(M0,K0),M0-1,2);

红买青卖:38,COLOR0000FF,LINETHICK2;

红买: IF(K0>M0,38,DRAWNULL),COLOR0000FF,LINETHICK1;

青卖: IF(K0<M0,38,DRAWNULL),COLOR00FF00,LINETHICK1;

DF:=3;

N1:=12;

RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;

K:=SMA(RSV,DF,1);

D:=SMA(K,DF,1);

KK:=SMA(RSV,DF,1);

DD1:=SMA(K,DF,1);

N:=KK+DD1;

关注:STICKLINE(N<40,N,38,1,0),COLORRED;

风险:STICKLINE(N>165,N,165,1,0),COLORGREEN;

GWGD:=N<REF(N,1) AND REF(N,1)>=160 AND REF(N,1)>=REF(N,2);

HL:165,COLOR007700,LINETHICK1;

操盘B:N,COLORFF00FF,LINETHICK1;

买:DRAWICON(CROSS(N,38),36,1),COLORRED;

卖:DRAWICON(CROSS(165,N),165,2),COLORGREEN;

AA1:=(C+O+L+H)/4;

BB1:=REF(CLOSE,AA1);

获利:=SMA(MAX(CLOSE-BB1,0),2,1)/SMA(ABS(CLOSE-BB1),2,1)*100;

DZ1:=获利>REF(获利,1)  AND  获利>89;

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

CCI1:=EMA(EMA(EMA(CCI,2),2),2);

CCI2:=EMA(EMA(EMA(CCI,3),2),2);

DZ2:=CCI1>100;

T:=CLOSE*1.0+LOW*0.0+HIGH*0.0;

SL:=(T/REF(T,1)-1)*1000;

快:=XMA(XMA(XMA(SL,3),3),3);

慢:=XMA(XMA(XMA(SL,5),5),5);

X:=快-慢;

增速1:=X;

WWW:=REF(增速1,1)<0;

DZ4:=增速1>3  AND WWW;

选股:=DZ1  AND DZ2  AND  DZ4;

STICKLINE(选股,40,150,2,0),COLORYELLOW;

DRAWTEXT(选股,120,'*暴张'),COLORRED;

(0)

相关推荐