通达信一阳穿五线主图指标公式

通达信博傻指标公式

通达信一阳穿五线主图指标公式:

MA5:MA(C,5),LINETHICK1,COLORYELLOW;

MA17:MA(C,17),LINETHICK1,COLORMAGENTA;

MA30:MA(C,30),LINETHICK1,COLORGREEN;

MA55:MA(C,55),LINETHICK1,COLORRED;

MA250:MA(CLOSE,250),COLORBROWN,LINETHICK2;

YCX:=MA5>=REF(MA5,1) AND MA2>REF(MA2,1);

X2:=MA2>=O AND MA2<=C;

X5:=MA5>=O AND MA5<=C;

X17:=MA17>=O AND MA17<=C;

X30:=MA30>=O AND MA30<=C;

X55:=MA55>=O AND MA55<=C;

一阳穿3线:=X5 AND X17 AND X30;

一阳穿4线:=X2 AND X5 AND X17 AND X30;

一阳穿5线:=X2 AND X5 AND X17 AND X30 AND X55;

stICKLINE(一阳穿3线,O,C,2,0),COLORMAGENTA;{洋红色柱}

STICKLINE(一阳穿4线,O,C,2,0),COLORCC3299;{紫罗兰红色柱}

STICKLINE(一阳穿5线,O,C,2,0),COLORRED,COLOR0000FF;{红色柱};

涨停:=C/REF(C,1)>1.09;

DRAWTEXT(涨停,H*1.01,'↓涨停'),COLOR0000FF;

射线5: DRAWLINE(H=HHV(H,5),H,L=LLV(L,5),L,0),COLORLIGRAY;

射线5X: DRAWLINE(L=LLV(L,5),L,H=HHV(H,5),L,0),COLORLIGRAY;

射线10:DRAWLINE(H=HHV(H,10),H,L=LLV(L,10),L,0),COLORE67010,COLORBROWN;

射线10X:DRAWLINE(L=LLV(L,10),L,H=HHV(H,10),L,0),COLORLICYAN;

箱顶:HHV(CLOSE,20),COLORBROWN;

箱底:LLV(CLOSE,20),COLORLICYAN;

DRAWTEXT(ISLASTBAR=1,MA17,'MA17'),COLORMAGENTA;

DRAWTEXT(ISLASTBAR=1,MA55,'MA55'),COLORRED;

DRAWTEXT(ISLASTBAR=1,MA250,'年线'),COLORBROWN;

DRAWTEXT_FIX((DYNAINFO(23)/DYNAINFO(22))>1,0.86,0.95,0,'外盘大1倍'),COLORRED;

DRAWTEXT_FIX((DYNAINFO(23)/DYNAINFO(22))>2,0.86,0.95,0,'外盘大2倍'),COLORWHITE;

DRAWTEXT_FIX((DYNAINFO(23)/DYNAINFO(22))>3,0.86,0.95,0,'外盘大3倍'),COLORYELLOW;

通达信能量解放套牢盘指标公式