您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通达信《一阳穿五线》指标,本人改编

通达信《一阳穿五线》指标,本人改编


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-02-18 09:05:00
公式简介:

说明一下,根据穿线的程度不同,具体分为三种:一阳穿3线为洋红柱,一阳穿4线为紫罗兰红柱,一阳穿五线为红色柱

{一阳穿3线为洋红柱,一阳穿4线为紫罗兰红柱,一阳穿五线为红红柱}
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;


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/25978.html][B]通达信《一阳穿五线》指标,本人改编[/B][/url]