黄抄底绿见顶副图指标

VAR1:=EMA(SMA((CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100,3,1),3);

STICKLINE(VAR1>20 AND VAR1<80,VAR1,VAR1+3,3,1),COLORRED;

STICKLINE(VAR1<REF(VAR1,1),VAR1,VAR1+3,3,1),COLORFFCC66;

STICKLINE(VAR1>80,VAR1,VAR1+3,3,1),COLOR00FF00;

STICKLINE(VAR1<20,VAR1,VAR1+3,3,1),COLORYELLOW;

V0:=EMA(C,2);

V1:=EMA(C,4);

V2:=EMA(C,6);

V3:=EMA(C,8);

V4:=EMA(C,9);

M11:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;

M12:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;

M13:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;

M14:=M11 AND M12 AND M13 AND CROSS(V0,V1);

M15:=M11 AND M12 AND M13 AND CROSS(V0,V3);

粘合:IF(M14 OR M15,8,0),COLORLIRED,POINTDOT;

STICKLINE(粘合,2,8,3,0),COLORLIRED;

M2:=MA(C,2);

M4:=MA(C,4);

M6:=MA(C,6);

M8:=MA(C,8);

M9:=MA(C,9);

HH:=MAX(MAX(MAX(MAX(M2,M4),M6),M8),M9);

LL:=MIN(MIN(MIN(MIN(M2,M4),M6),M8),M9);

A1:=HH/LL<=1.02;

均线粘合:IF(A1 AND COUNT(A1,2)=1,15,0),COLORWHITE,POINTDOT;

STICKLINE(均线粘合,15,0,5,1),COLORWHITE;

跟踪:=C<MA(C,55);

跟踪均线粘合:IF(跟踪 AND COUNT(跟踪,2)=1,20,0),COLORYELLOW,POINTDOT;

STICKLINE(均线粘合,20,0,7,1),COLORWHITE;

(0)

相关推荐