当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:自用主图---红色(源码 主图 通达信 贴图)
软件名称:[B]自用主图---红色(源码 主图 通达信 贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2018-08-09 01:54:21
软件简介:
自用主图,变红可以关注,买入结合副图,变绿卖出,喜欢的朋友看看,源码奉献。
{参考决策主图} {参考决策主图} AVX:=(((((IF(C>MA(C,5),10,(0-10))+IF(MA(C,5)>MA(C,10),10,(0-10)))+IF(C>MA(C,10),10,(0-10)))+IF(MA(C,5)>MA(C,20),10,(0-10)))+IF((C>MA(C,20)),10,(0-10)))+IF(MA(C,20)>REF(MA(C,20),1),10,(0-10))); DSLX:=(C/INDEXC); DSLX1:=MA(DSLX,5); TJTS1:=BARSTATUS=2 AND C<200; TJTS2:=BARSTATUS=2 AND C>200; V1:=MA(V,3); V2:=MA(V,8); K2:=HHV(H*0.99,BARSLAST(BARSTATUS=1)); DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.5,0,0,'量能稳定,有走强迹象,根据指数线性关系布局分批介入. '),COLORRED,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1<V2)) AND (DSLX>=DSLX1)),0.5,0,0,'走势趋强,量能不足,根据指数线性关系布局分批买入. '),COLORRED,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1>V2)) AND (DSLX<DSLX1)),0.5,0,0,'量价配合良好,没有明显走强,根据指数线性关系考虑进入与否. '),COLORYELLOW,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1<=V2)) AND (DSLX<DSLX1)),0.5,0,0,'形态尚可,量能不足,未完全走强,根据指数线性关系考虑是否进入. '),COLORGREEN,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.5,0,0,'形态变坏,减持或者卖出观望. '),COLORGREEN,LINETHICK2; DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1<V2)) AND (DSLX>=DSLX1)),0.5,0,0,'明显缩量走势,根据指数线性关系减持或清仓,等待机会. '),COLORWHITE,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1>=V2)) AND (DSLX<DSLX1)),0.5,0,0,'走势偏弱,谨慎操作. '),COLORGREEN,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1<V2)) AND (DSLX<DSLX1)),0.5,0,0,'缩量下跌,走势偏弱,离场观望. '),COLORGREEN,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.5,0,0,'强势明显,量能充足,注意前期评台和指数影响. '),COLORRED,LINETHICK1; DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)) AND (DSLX>=DSLX1)),0.5,0,0,'强势依然,量能转弱,高抛低吸做好布局. '),COLORCYAN,LINETHICK2; DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)) AND (DSLX<DSLX1)),0.5,0,0,'具备上涨潜力,根据线性关系操作. '),COLORCYAN,LINETHICK2; DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)) AND (DSLX<DSLX1)),0.5,0,0,'走势趋弱,量能不足,减持筹码. '),COLORCYAN,LINETHICK2; DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.5,0,0,'形态不佳,注意量能变化,跟踪分析确认. '),LINETHICK2; DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)) AND (DSLX>=DSLX1)),0.5,0,0,'走势虽弱,关注线性关系和量能变化,确认业绩、题材. '),COLORYELLOW,LINETHICK2; DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)) AND (DSLX<DSLX1)),0.5,0,0,'有走强迹象,上涨压力大,根据大盘情况操作. '),COLORYELLOW,LINETHICK2; DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)) AND (DSLX<DSLX1)),0.5,0,0,'走势太弱,整理后关注量能和信号提示. '),LINETHICK2,COLORYELLOW; DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1>=V2)),0.5,0,0,'量能稳定,有明显走强迹象,可以考虑布局. '),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1>=V2)),0.5,0,0,'如前期经过一轮下跌,此时为最佳买点,但前期有过一段涨幅则介入需谨慎. '),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1<V2)),0.5,0,0,'虽然走势趋强,量能还显不足,根据线性关系操作. '),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1<V2)),0.5,0,0,' 可以谨慎布局,控制仓位,一旦量能放大可以重仓买入. '),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (CROSS(1,AVX) AND (V1>=V2)),0.5,0,0,'大盘形态走坏,减仓或者抛光. '),COLORGREEN,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (CROSS(1,AVX) AND (V1<V2)),0.5,0,0,'弱势缩量调整,清仓观望,寻找可布局股票. '),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)),0.5,0,0,'走势良好,量能稳定,可以继续持有强势股. '),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)),0.5,0,0,'形态良好,量能稍显不足,线性关系顶部背离,随时准备清仓. '),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(TJTS2 AND (((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)),0.5,0,0,'趋势不明,注意量能和线性关系变化,减少操作. '),LINETHICK2,COLORWHITE; DRAWTEXT_FIX(TJTS2 AND (((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)),0.5,0,0,'趋势向下,量能萎缩,关注线性关系变化,减少操作. '),LINETHICK2,COLORWHITE; RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; K1:=SMA(RSV,3,1); D1:=SMA(K1,3,1); 高1:=HHV(H,150); 低1:=LLV(L,150); QR:=(H+L+2*C)/4; 强弱分界线:=EMA(QR,55),COLORFFFF00; TFXXS:=INTPART(K1)+INTPART(D1); TGL:=(TFXXS-REF(TFXXS,1)); DRAWTEXT_FIX(ISLASTBAR AND TGL>=0 AND TGL>REF(TGL,1),0.99,0.01,1,'资金状况:流入加快'),COLOR0202FF; DRAWTEXT_FIX(ISLASTBAR AND TGL>=0 AND TGL<=REF(TGL,1),0.99,0.01,1,'资金状况:流入减慢'),COLOR1876E9; DRAWTEXT_FIX(ISLASTBAR AND TGL<0 AND TGL>REF(TGL,1),0.99,0.01,1,'资金状况:流出减慢'),COLOR13B79A; DRAWTEXT_FIX(ISLASTBAR AND TGL<0 AND TGL<=REF(TGL,1),0.99,0.01,1,'资金状况:流出加快'),COLOR00CA00; VAR1E:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2E:=SMA(ABS(LOW-VAR1E),13,1)/SMA(MAX(LOW-VAR1E,0),10,1); VAR3E:=EMA(VAR2E,10); VAR4E:=LLV(LOW,33); VAR5E:=EMA(IF(LOW<=VAR4E,VAR3E,0),3); VAR21E:=SMA(ABS(HIGH-VAR1E),13,1)/SMA(MIN(HIGH-VAR1E,0),10,1); VAR31E:=EMA(VAR21E,10); VAR41E:=HHV(HIGH,33); VAR51E:=EMA(IF(HIGH>=VAR41E,VAR31E,0),3); DRAWTEXT_FIX(ISLASTBAR AND VAR51E<REF(VAR51E,1),0.99,0.08,1,'主力正在拉高'),COLOR0202FF; DRAWTEXT_FIX(ISLASTBAR AND VAR5E>REF(VAR5E,1),0.99,0.15,1,'典型吸筹行为'),COLOR1876E9; DRAWTEXT_FIX(ISLASTBAR AND VAR5E<REF(VAR5E,1),0.99,0.15,1,'典型洗盘行为'),COLORC08000; DRAWTEXT_FIX(ISLASTBAR AND VAR5E=REF(VAR5E,1),0.99,0.15,1,'无特殊行为'),COLORC0C0C0; DRAWTEXT_FIX(ISLASTBAR AND VAR51E>REF(VAR51E,1),0.99,0.08,1,'主力正在出货'),COLOR00CA00; DRAWTEXT_FIX(ISLASTBAR AND VAR51E=REF(VAR51E,1),0.99,0.08,1,'主力无大动作'),COLORC0C0C0; {拉升潜力} VAR78:=C/EXPMA(C,5); A1:=COST(1.91); A2:=COST(3.82); A3:=COST(5); A4:=COST(6.18); A5:=COST(8.09); COSTT:=(A1+A2+A3+A4+A5)/5; COSTT1:=C/COSTT; VARD1:=(2*INDEXC+INDEXH+INDEXL)/4; VARD2:=LLV(INDEXL,21); VARD3:=HHV(INDEXH,8); MIJI:=EMA((VARD1-VARD2)/(VARD3-VARD2)*100,9); MIJI1:=MIJI-VAR78; MIJI2:=MIJI1-REF(MIJI1,1); MIJI3:=MIJI-REF(MIJI,1); DAPAN:=COSTT1-(MIJI3+0.618*MIJI2)/16.18; DRAWTEXT_FIX(ISLASTBAR AND DAPAN<COSTT1,0.99,0.8,1,'受大盘拉动'),COLOR0202FF; DRAWTEXT_FIX(ISLASTBAR AND DAPAN>=COSTT1,0.99,0.8,1,'受大盘压制'),COLOR00CA00; X1E:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2; X2E:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4; X3E:=FINANCE(23)/FINANCE(10)*3.3; X4E:=FINANCE(19)/FINANCE(15)*0.6; X5E:=FINANCE(20)/FINANCE(15)*0.999; YAOGU:=X1E+X2E+X3E+X4E+X5E; XJF:=CON2STR(FINANCE(25)/FINANCE(15),3); YZZ:=CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2); DRAWTEXT_FIX(YAOGU<=0,0.99,0.99,1,'拉升潜力:难于登天'),COLOR00FF00; DRAWTEXT_FIX(YAOGU>0 AND YAOGU<=1.2,0.99,0.99,1,'拉升潜力:难度较大'),COLOR3A8B5C; DRAWTEXT_FIX(YAOGU>1.2 AND YAOGU<=2.6,0.99,0.99,1,'拉升潜力:尚可一试'),COLOR4747B8; DRAWTEXT_FIX(YAOGU>2.6 AND YAOGU<=5.8,0.99,0.99,1,'拉升潜力:较为容易'),COLOR2424DB; DRAWTEXT_FIX(YAOGU>5.8,0.99,0.99,1,'拉升潜力:轻而易举'),COLOR0000FF; DRAWTEXT_FIX(XJF>=1618,0.99,0.86,1,'过于保守'),COLOR4747B8; DRAWTEXT_FIX(XJF>=618 AND XJF<1618,0.99,0.86,1,'保守求稳'),COLOR4747B8; DRAWTEXT_FIX(XJF>=100 AND XJF<618,0.99,0.86,1,'收支平衡'),,COLOR0000FF; DRAWTEXT_FIX(XJF<100,0.99,0.86,1,'负债过多'),COLOR00FF00; DRAWTEXT_FIX(YZZ<85,0.99,0.86,1,'资产质地差'),COLOR00FF00; 快线:=EMA(C,7)-EMA(C,21),LINETHICK2,COLORRED; 慢线:=MA(快线,4),COLORGREEN,LINETHICK2; 数值:=EMA((0.668*REF(快线,1)+0
[url=http://www.70822.com/soft/sort013/sort05/down-127594.html]自用主图---红色(源码 主图 通达信 贴图)[/url]