当前位置:首页 > 通达信公式 > 正文

无忧箱体指标 通达信 主图 波段 无未来函数 操盘控盘 压力支撑

2019-02-18原创 编 辑:翔博软件

问题怎样才能每天都收到这类文章!

答案只需点击箭头上方《翔博软件工作室

做价值的传播者,路同行,一起成长



公式源码:

 

DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信订阅号:翔博软件工作室'),COLOR556699;

AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/

(HHV(HIGH,30)-LLV(LOW,30))*100,8);

BA:=EMA(AB,5);

A1{高}:=REFDATE(REF(HHV(H,96),5),DATE);

B1{低}:=REFDATE(REF(LLV(L,96),5),DATE);

D{中}:=((A1)+(B1))/2;

五:MA(C,5)LINETHICK2,COLOR00FFFF;

二O:EMA(C,20),COLORMAGENTA;

空仓:IF(AB-BA<0,五,DRAWNULL),LINETHICK2,COLOR00FFFF;

持仓:IF(AB-BA>0,五,DRAWNULL),,LINETHICK2,COLORRED;

箱顶:IF(AB>0 AND AB-BA<=0,A1,A1),LINETHICK3,COLOR00FF00;

箱腰:IF(AB>0 AND AB-BA<=0,D,D),LINETHICK3,COLOR00FF00;

箱底:IF(AB>0 AND AB-BA<=0,B1,B1),LINETHICK3,COLOR00FF00;

高1:IF(AB>0 AND AB-BA>0,A1,DRAWNULL),LINETHICK3,COLORRED;

中1:IF(AB>0 AND AB-BA>0,D,DRAWNULL),LINETHICK3,COLORRED;

低1:IF(AB>0 AND AB-BA>0,B1,DRAWNULL),LINETHICK3,COLORRED;

C2:=REF(C,1);

涨停1:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(涨停1,OPEN,CLOSE,2,0),COLORYELLOW;

STICKLINE(涨停1,H,L,0,0),COLORRED;

跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);

STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;

STICKLINE(跌停,H,L,0,1),COLORGREEN;

VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));

VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

STICKLINE(VAR2 < MA(VAR3,6),LOW,HIGH,0,1),COLORLIBLUE;

STICKLINE(VAR2 > MA(VAR3,6),LOW,HIGH,0,1),COLORRED;

STICKLINE(((OPEN>CLOSE)AND(VAR2<MA(VAR3,6))),CLOSE,OPEN,3,0),COLORLIBLUE;

STICKLINE(((OPEN<CLOSE)AND(VAR2<MA(VAR3,6))),CLOSE,OPEN,3,1),COLORLIBLUE;

STICKLINE(((OPEN>CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,CLOSE,3,0),COLORRED;

STICKLINE(((OPEN<CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,CLOSE,3,1),COLORRED;

DRAWTEXT_FIX(ISLASTBAR,0,0,0,DYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,HYBLOCK),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLORYELLOW;

ZDF:=(C-REF(C,1))/REF(C,1)*100;

STICKLINE(ZDF>4 ,C,O,1,0),COLORYELLOW;

STICKLINE(ZDF<-4,C,O,1,0),COLORBLUE;

STICKLINE(ZDF>9.0 AND C=H,O,C,1,0),COLORRED;

STICKLINE(ZDF<-9.0 AND C=L,O,C,1,0),COLORGREEN;

C21:=REF(C,1);

非ST涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);

涨停:=非ST涨停;

NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1);

DRAWNUMBER(非ST涨停,HIGH*1.04,NUMBER),COLORYELLOW;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.92,0,0,NUMBER),COLORLIRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.80,0,0,'上市以来共涨停'),COLORLIRED;

U:=(A1-D)/D*100;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.62,0,0,'半箱幅度'),COLORYELLOW;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.72,0,0,U),COLORYELLOW;

 

 天天有更新,每日领福利。

1,翔博软件新产品发布推广;

2,各大炒股名师讲座课程。

3,每天发布的指标公式,右上点“分享”右下点“好看”后,加在线客服免费领取!

马上加微信:xiangbosoft 回复“好看”参加,名额有限!

=========================

提供服务如下:

1、转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用

2、编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标

3、修改 --- 按照客户“提供的修改要求”,修改技术指标

 

特别提示:

有手机指标的转换 测试 编写需求的朋友, 请联系微信:xiangbosoft 

大家都爱看
查看更多热点新闻
点击进入掌上指标资源网-下载各类指标