灵主灵辅指标 通达信 主图 副图 波段 短线 买卖点 操盘控盘
2019-09-08原创 编 辑:翔博软件
问题:怎样才能每天都收到这类文章!
答案:只需点击上方《翔博软件工作室》
做价值的传播者,一路同行,一起成长
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信订阅号:翔博软件工作室'),COLOR556699;
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10);
VAR4:=REF(VAR3,1);
M10:=VAR3,NODRAW,COLORYELLOW;
M70:=EMA(VAR2,70),COLORFF00FF;
动能:VAR3>VAR4,NODRAW,COLOR00FFFF;
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高压:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1),DOTLINE,COLOR808080,LINETHICK1;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1),,DOTLINE,COLOR00D500,LINETHICK1;
ZGSTAR:=(高压+低撑)/2;
ZGEND:=CONST((高压+低撑)/2);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),DOTLINE,COLORWHITE,LINETHICK1;
强势:MA(HIGH,10),LINETHICK1,COLORFF00FF;
均势:VAR3,LINETHICK2,COLORFFFFFF;
弱势:MA(LOW,10),LINETHICK1,COLOR008000;
季度成本:M70,LINETHICK2,COLORFF0000;
短线:=EMA(CLOSE,10)-EMA(CLOSE,20),NODRAW,COLORC0C0C0;
中线:=EMA(短线,5),,NODRAW,COLOR00FFFF;
能量:=(短线-中线)*2,NODRAW,COLOR0000E8;
趋能:(短线-0)*100,NODRAW,COLOR00FFFF;
趋势:(短线-中线)*100,NODRAW,COLOR0000E8;
均:=ATAN((VAR3/REF(VAR3,1)-1)*100)*180/3.1416;
IF(均>30 AND 均势>REF(均势,1), 均势,DRAWNULL),LINETHICK2,COLORRED;
IF(均<0 AND 均势<REF(均势,1),均势,DRAWNULL),LINETHICK2,COLOR00BB00;
买:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:=买/AMOUNT*100;
流入:=AMOUNT*买%/10000000000;
流出:=AMOUNT/100000000-流入;
净流:=(流入-流出);
总额3:=SUM(AMOUNT,3);
流入3:=SUM(流入,3);
流出3:=SUM(流出,3);
净流3:=SUM(流入-流出,3);
总额5:=SUM(AMOUNT,5);
流入5:=SUM(流入,5);
流出5:=SUM(流出,5);
净流5:=SUM(流入-流出,5);
总额10:=SUM(AMOUNT,10);
流入10:=SUM(流入,10);
流出10:=SUM(流出,10);
净流10:=SUM(流入-流出,10);
DRAWTEXT_FIX(1,0.71,0.04,0,'净流入(亿):'),COLOR008000;
DRAWTEXT_FIX(1,0.78,0.02,0,'1日'),COLOR008000;
DRAWTEXT_FIX(1,0.83,0.02,0,'3日'),COLOR008000;
DRAWTEXT_FIX(1,0.88,0.02,0,'5日'),COLOR008000;
DRAWTEXT_FIX(1,0.93,0.02,0,'10日'),COLOR008000;
DRAWNUMBER_FIX(1,0.78,0.07,0,CONST((净流))),COLOR008000;
DRAWNUMBER_FIX(1,0.83,0.07,0,CONST((净流3))),COLOR008000;
DRAWNUMBER_FIX(1,0.88,0.07,0,CONST((净流5))),COLOR008000;
DRAWNUMBER_FIX(1,0.93,0.07,0,CONST((净流10))),COLOR008000;
DRAWTEXT_FIX(1,0.00,0.02,0,'行业:'),COLOR008000;
DRAWTEXT_FIX(1,0.03,0.02,0,HYBLOCK),COLOR008000;
DRAWTEXT_FIX(1,0.11,0.02,0,'地区:'),COLOR008000;
DRAWTEXT_FIX(1,0.14,0.02,0,DYBLOCK),COLOR008000;
DRAWTEXT_FIX(1,0.21,0.02,0,'概念:'),COLOR008000;
DRAWTEXT_FIX(1,0.24,0.02,0,GNBLOCK),COLOR008000;
DRAWTEXT_FIX(1,0.00,0.07,0,'总资产 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.07,0.065,0,CONST((FINANCE(10)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.12,0.07,0,'净资产 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.185,0.07,0,CONST((FINANCE(19)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.23,0.07,0,'每股净资产 [元]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.315,0.07,0,CONST((FINANCE(34)))),COLOR008000;
DRAWTEXT_FIX(1,0.00,0.12,0,'总股值 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.065,0.12,0,CONST((FINANCE(41)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.12,0.12,0,'流通值 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.185,0.12,0,CONST((FINANCE(40)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.252,0.12,0,'存货 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.305,0.12,0,CONST((FINANCE(27)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.00,0.17,0,'营业收 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.065,0.17,0,CONST((FINANCE(20)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.12,0.17,0,'增长 [%]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.172,0.17,0,CONST((FINANCE(44)))),COLOR008000;
DRAWTEXT_FIX(1,0.23,0.17,0,'经营成本 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.305,0.17,0,CONST((FINANCE(21)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.00,0.22,0,'净利润 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.065,0.22,0,CONST((FINANCE(30)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.12,0.22,0,'增长 [%]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.172,0.22,0,CONST((FINANCE(43)))),COLOR008000;
DRAWTEXT_FIX(1,0.23,0.22,0,'利润总额 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.305,0.22,0,CONST((FINANCE(28)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.00,0.27,0,'总现金流 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.075,0.27,0,CONST((FINANCE(26)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.12,0.27,0,'经营现金流 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.205,0.27,0,CONST((FINANCE(25)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.248,0.27,0,'投资收益 [亿]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.325,0.27,0,CONST((FINANCE(24)/100000000))),COLOR008000;
DRAWTEXT_FIX(1,0.00,0.32,0,'每股收益 [元]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.075,0.32,0,CONST((FINANCE(38)))),COLOR008000;
DRAWTEXT_FIX(1,0.12,0.32,0,'股东权益率 [%]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.205,0.32,0,CONST((FINANCE(36)*100))),COLOR008000;
DRAWTEXT_FIX(1,0.249,0.32,0,'销售毛率 [%]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.325,0.32,0,CONST(((FINANCE(20)-FINANCE(21))/FINANCE(20)*100))),COLOR008000;
DRAWTEXT_FIX(1,0.0,0.37,0,'净资产收益率 [%]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.095,0.37,0,CONST((FINANCE(30)/FINANCE(19)*100))),COLOR008000;
DRAWTEXT_FIX(1,0.151,0.37,0,'上市 [天]:'),COLOR008000;
DRAWNUMBER_FIX(1,0.205,0.37,0,CONST((FINANCE(42)))),COLOR008000;
STICKLINE(((C-REF(C,1))/REF(C,1)*100>=9.9),CLOSE,OPEN,3,0),COLOR9966FF;
STICKLINE(((C-REF(C,1))/REF(C,1)*100<=-9.9),CLOSE,OPEN,3,0),COLORWHITE;
STICKLINE(((C-REF(C,1))/REF(C,1)*100>=9.9),OPEN,LOW,0,0),LINETHICK1,COLOR9966FF;
STICKLINE(((C-REF(C,1))/REF(C,1)*100>=9.9),CLOSE,HIGH,0,0),LINETHICK1,COLOR9966FF;
STICKLINE(((C-REF(C,1))/REF(C,1)*100<=-9.9),CLOSE,LOW,0,0),LINETHICK1,COLORWHITE;
STICKLINE(((C-REF(C,1))/REF(C,1)*100<=-9.9),OPEN,HIGH,0,0),LINETHICK1,COLORWHITE;
-
通达信副图指标公式
大盘日均价:=(INDEXC+INDEXH+INDEXL)/3;
盘10:=EMA(大盘日均价,10);
大盘:INDEXC>盘10,COLORFF00FF,NODRAW;
行业指数1:=(HY_INDEXC+HY_INDEXH+HY_INDEXL)/3;
行业指数10:=EMA(行业指数1,10);
行业:HY_INDEXC>行业指数10,NODRAW,COLORCYAN;
周十:灵主X.动能#WEEK,NODRAW,COLORRED;
MV1:=MA(VOL,1),LINETHICK3;
MV10:=MA(VOL,10),COLORBLUE,LINETHICK3;
MV20:=MA(VOL,20),COLORBLUE,LINETHICK3;
MV70:=MA(VOL,70),COLORBLUE,LINETHICK3;
日均价:=(CLOSE+HIGH+LOW)/3;
M1:=MA(CLOSE,1),NODRAW;
M10:=EMA(日均价,10),NODRAW;
M20:=EMA(日均价,20),NODRAW;
M70:=EMA(日均价,70),NODRAW;
多头:M10>M20 AND M1>M10 AND M1>M20 AND M1>M70,NODRAW,COLOR9966FF;
震动:(H-L)/O*100,NODRAW,COLORWHITE;
DIF:=EMA(CLOSE,10)-EMA(CLOSE,20);
DEA:=EMA(DIF,5),COLORGREEN,LINETHICK2;
MACD:=(DIF-DEA)*2,COLORSTICK;
趋势轴:=灵主X.趋能#WEEK;
趋势周:=灵主X.趋势#WEEK;
趋势月:=灵主X.趋势#MONTH;
金:=CROSS(DIF,DEA),NODRAW;
木:=CROSS(DEA,DIF);
周:趋势周,COLORYELLOW,NODRAW;
月:趋势月,COLORRED,NODRAW;
轴:趋势轴,COLOR0080FF,NODRAW;
个股涨:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
大盘涨:=(INDEXC/REF(INDEXC,1)-1)*100,COLOR9966FF;
个股M:=MA(个股涨,8);
大盘M:=MA(大盘涨,8);
强弱盘:(个股M-大盘M)*10,COLORMAGENTA,NODRAW;
量线:(MA(VOL/FINANCE(7)*100,1))*435,COLORCC6633;
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
ZZLJJ:=EMA(ZZLKP,89);
资金:INTPART(ZZLKP-ZZLJJ),NODRAW,COLOR8000FF;
换手:=VOL/FINANCE(7)*100,COLORRED;
年换手:SUM(换手,250)*100,COLORCC6633,NODRAW;
DRAWTEXT(金>0,20,'金'),COLORMAGENTA;
DRAWTEXT(木>0,20,'木'),COLOR40FF00;
DRAWTEXT(周>0,50,'~'),COLOR00FFFF;
DRAWTEXT(月>0,40,'~'),COLOR0000FF;
DRAWTEXT(轴>=0,30,'~'),COLOR0080FF;
DRAWTEXT(大盘=1,100,'二'),COLORFF00FF;
DRAWTEXT(行业=1,90,'一'),COLORCYAN;
DRAWTEXT(周十=1,80,'一'),COLORRED;
DRAWTEXT(多头=1,70,'一'),COLOR9966FF;
DRAWTEXT(震动>=3,60,'~'),COLORWHITE;
DRAWTEXT(强弱盘>0,10,'∽'),COLORMAGENTA;
DRAWTEXT(强弱盘<0,10,'∽'),COLOR00FF00;
DRAWTEXT(强弱盘=0,10,'∽'),COLORWHITE;
DRAWTEXT(资金>0,-5,'$'),COLOR8000FF;
DRAWTEXT(资金<0,-5,'$'),COLORCYAN;
DRAWTEXT(资金=0,-5,'$'),COLORWHITE;
天天有更新,每日领福利。
1,翔博软件新产品发布推广;
2,各大炒股名师讲座课程。
3,每天发布的指标公式,右上点“分享”右下点“在看”后,加在线客服免费领取!
马上加微信:xiangbosoft 回复“在看”参加,名额有限!
=====================
提供服务如下:
1、转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用
2、编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标
3、修改 --- 按照客户“提供的修改要求”,修改技术指标
特别提示:
有手机指标的转换 测试 编写需求的朋友, 请联系微信:xiangbosoft