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

巡阳通道指标 通达信 主图 波段 短线 买卖点

2019-05-14原创 编 辑:翔博软件

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

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

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



公式源码:

 

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

M:=8;{参数:M 3,20,8 请自行设定}

{指标二:增加走平支撑 观察见底 }

{DRAWTEXTREL(5,140,'市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'%'+' 每股收益:'+NUMTOSTRN(FINANCE2(3),3)),COLORWHITE;

DRAWTEXTREL(5,50,'板块:'+BKNAME),COLOR00FFFF;

DRAWTEXTREL(5,180,'流通A股:'+FINANCE2(37)+'万' ),COLORFFFF00;

DRAWTEXTREL(50,15,'大跌不追 逆势不买!回调低吸 睡醒高卖 破线止损 '),COLORRED,LINETHICK3;

DRAWTEXTREL(50,80,'一周二股控仓位 强势突破等回调 保本出局卖冲高 '),COLORRED,LINETHICK3;}

CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

BB:=ABS((CLOSE+2*HIGH+LOW)/4-MA(CLOSE,17))/MA(CLOSE,17);

DD:=DMA(CLOSE,CC);

EE:=DMA(CLOSE,BB);

低吸:=REF((1-3/100)*EE,2);

强弱分界线:EMA(低吸,7),LINETHICK2,COLORFF6C00;

DRAWTEXT(ISLASTBAR,强弱分界线,'【分界线】'),COLORRED;

启动上攻关注:0,COLOR00FFFF,NODRAW;

红K强势持股:0,COLORRED,NODRAW;

紫K反弹不贪:0,COLORFF0FFF,NODRAW;

蓝K卖出观望:0,COLORFF6C00,NODRAW;

分界线变红转强:强弱分界线,COLORRED,NODRAW;

高抛线:(1+M/100)*DD,COLOR00FF02;

高抛线不过减仓:高抛线,COLOR00FF00,NODRAW;

短支撑:EMA((LLV((C+L)/2,6)+LLV((C+L)/2,5)

+LLV((C+L)/2,4)+LLV((C+L)/2,3)+LLV((C+L)/2,2)+2*(C+L+H)/3)/7,4),COLORWHITE;

IF(强弱分界线>REF(强弱分界线,1)*0.999 ,强弱分界线,DRAWNULL),COLORRED,LINETHICK4;

IF(强弱分界线<REF(强弱分界线,1)*0.999 ,强弱分界线,DRAWNULL),COLORFF6C00,LINETHICK4;

波段趋势:=EMA(短支撑,4);

IF(短支撑>=REF(短支撑,2)*0.998 AND C>短支撑,短支撑,DRAWNULL),COLORRED,LINETHICK2;

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

走平支撑线:=LLV((HIGH+2*LOW+OPEN+CLOSE)/5*2.03-H,30)*1.006,COLORABFF40,LINETHICK2;

穿两线:=((CROSS(C,短支撑) AND CROSS(C,波段趋势)) OR (L<短支撑 AND C>波段趋势 AND 短支撑<波段趋势 ))

{ AND 短支撑>REF(短支撑,1)} AND C>REF(C,1)*1.02 AND (C-O>H-C) AND V>REF(V,1) AND (C>强弱分界线 OR C<强弱分界线 AND C>REF(C,1)*1.07);

DRAWTEXT(穿两线,L*0.985,'★上攻'),COLORRED;

STICKLINE(穿两线,H,C,0.1,1),COLORYELLOW,LINETHICK2;

STICKLINE(穿两线,O,C,4.2,1),COLORYELLOW,LINETHICK2;

STICKLINE(穿两线,O,L,0.1,1),COLORYELLOW,LINETHICK2;

探底回升:=((CROSS(C,短支撑) AND CROSS(C,强弱分界线)) OR (CROSS(C,短支撑) AND 短支撑<强弱分界线*1.07))

AND C>强弱分界线 AND 强弱分界线>REF(强弱分界线,1)*0.999 AND 强弱分界线<REF(强弱分界线,3)*0.9  AND C>REF(C,1)*1.02;

回档:=L<短支撑 AND L<强弱分界线 AND C>强弱分界线 AND 强弱分界线>REF(强弱分界线,1) AND C>REF(C,1)*1.02;

{上升中继条件}

EMA3:=EMA(C,3);

EMA13:=EMA(C,13);

上升中继:=BARSLAST(REF(CROSS(EMA13,EMA3),1)) AND CROSS(EMA3,EMA13) AND C>强弱分界线  AND 强弱分界线>REF(强弱分界线,1)*0.99 AND REF(涨幅,1)<4 AND (C-O>H-C);

DRAWTEXT(上升中继,L*0.98,'启动'),COLOR00FFFF;

双穿:=CROSS(C,强弱分界线) AND CROSS(C,短支撑) AND 强弱分界线>=REF(强弱分界线,1)*0.999 AND 短支撑>强弱分界线;

DRAWTEXT(双穿,L*0.98,'双穿'),COLORRED;

{STICKLINE(探底回升 OR 回档 ,H,L,0,1),COLOR00FF00;

STICKLINE(探底回升 OR 回档,O,C,3,1),COLOR00FF00;}

STICKLINE( C>短支撑 AND C>走平支撑线 AND 短支撑>REF(短支撑,2)*0.995 AND 波段趋势>REF(波段趋势,1) ,HIGH,LOW,0,1 ),COLORRED;

STICKLINE( C>短支撑  AND C>走平支撑线 AND 短支撑>REF(短支撑,2)*0.995 AND 波段趋势>REF(波段趋势,1),OPEN,CLOSE,3,1 ),COLOR0000CC;

STICKLINE(C<O AND C>短支撑 AND {短支撑>REF(短支撑,1)}C>波段趋势  AND 波段趋势>REF(波段趋势,1),HIGH,LOW,0,0 ),COLORRED;

STICKLINE(C<O AND C>短支撑 AND C>波段趋势{短支撑>REF(短支撑,1)} AND 波段趋势>REF(波段趋势,1) ,OPEN,CLOSE,3,0 ),COLOR0000AA;

LC:=REF(CLOSE,1);

RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

{顶背离:=CROSS(88,RSI) AND V>MA(V,33);

DRAWTEXT(顶背离,H*1.02,'顶背离'),COLOR00FF00;}

DRAWTEXT(IF(CROSS(69,SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100),1,0)  AND C<REF(C,1)*0.965,HIGH*1.025,'顶部预警'),COLORCYAN;

{反弹K线的定义}

STICKLINE(L<强弱分界线  AND  C>短支撑 AND C>走平支撑线 AND 短支撑>REF(短支撑,2)*0.995 AND 波段趋势>REF(波段趋势,1)  AND C<REF(C,1)*1.06,HIGH,LOW,0,1 ),COLORFF00FF;

STICKLINE(L<强弱分界线 AND  C>短支撑  AND C>走平支撑线 AND 短支撑>REF(短支撑,2)*0.995 AND 波段趋势>REF(波段趋势,1)  AND C<REF(C,1)*1.06,OPEN,CLOSE,3,1 ),COLORFF00FF;

STICKLINE(L<强弱分界线 AND  C<O AND C>短支撑 AND {短支撑>REF(短支撑,1)}C>波段趋势  AND 波段趋势>REF(波段趋势,1)  AND C<REF(C,1)*1.06,HIGH,LOW,0,0 ),COLORFF00FF;

STICKLINE(L<强弱分界线 AND C<O AND C>短支撑 AND C>波段趋势{短支撑>REF(短支撑,1)} AND 波段趋势>REF(波段趋势,1) AND C<REF(C,1)*1.06 ,OPEN,CLOSE,3,0 ),COLORFF00FF;

波段:=EMA(((SLOPE(C,22)*20)+C),55),COLORFF00FF,LINETHICK2;

买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;

买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1) AND  C>波段;

 

加码价:=((C-REF(MA(C,17),1))/18+MA(C,17))*1.004;

加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);

TTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),4);

HD :=HIGH-REF(HIGH,1);

LD :=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),4);

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),4);

PDI:=DMP*100/TTR;

MDI:=DMM*100/TTR;

ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,1);

ADXR:=EMA(ADX,1);

DMI选股:=CROSS(PDI,MDI) AND ADX<REF(ADX,1)  AND C>REF(C,1)*1.05;

MID:=MA(CLOSE,17);

短线BBI:=MID + 1*STD(CLOSE,17);

短BBI追:=CROSS(C,短线BBI)  AND C>REF(C,1)*1.04;

短线操盘:=REF(LLV(H*0.98,3),1);

波段操盘:=EMA(短线操盘,2);

短线支撑:=EMA(EMA((2*L+C)/3,5),10);

强弱分水岭:=MA(短线支撑,20);

双穿买点:=CROSS(C,波段操盘) AND CROSS(C,强弱分水岭) AND C>强弱分界线*1.015 AND 短支撑>REF(短支撑,1) AND C>强弱分界线;

白绿选股:=(((买进条件 AND 加码条件 AND C>REF(C,1)*1.025 ) OR (买进条件 AND  C>REF(C,1)*1.047 AND C<波段*1.08)

OR (加码条件 AND C>REF(C,1)*1.07 ) ) OR DMI选股 OR 短BBI追) AND REF(HHV(H,20),10)<强弱分水岭*1.20 AND C<强弱分水岭*1.13  AND C>强弱分界线;

STICKLINE(白绿选股 OR 双穿买点,L*0.996,L*0.98,6,0),COLORYELLOW;

STICKLINE( 短支撑<波段趋势  AND 波段趋势<REF(波段趋势,1)*0.999  AND NOT(穿两线) AND NOT(探底回升) AND NOT(回档) AND NOT(上升中继) AND NOT(白绿选股 OR 双穿买点)AND 涨幅<7,HIGH,LOW,0,0 ),COLORBLUE;

STICKLINE( 短支撑<波段趋势  AND 波段趋势<REF(波段趋势,1)*0.999  AND NOT(穿两线)  AND NOT(探底回升)  AND NOT(回档) AND NOT(上升中继) AND NOT(白绿选股 OR 双穿买点)AND 涨幅<7,OPEN,CLOSE,2.8,0 ),COLORBLUE;

 

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

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

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

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

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

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

提供服务如下:

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

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

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

特别提示:

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

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标