当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:一阳穿三线(通达信公式 主图 源码 测试图)
软件名称:[B]一阳穿三线(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2022-04-01 00:15:32
软件简介:
关注一阳穿三线的55曰均线
{C1}
TTJ:=BARSLAST((VOL=HHV(VOL,21)));
K0:=TTJ=0;
D1:=SUMBARS(K0,1);
D2:=SUMBARS(K0,2);
D3:=SUMBARS(K0,3);
D4:=SUMBARS(K0,4);
D5:=SUMBARS(K0,5);
D6:=SUMBARS(K0,6);
D7:=SUMBARS(K0,7);
D8:=SUMBARS(K0,8);
D9:=SUMBARS(K0,9);
D10:=SUMBARS(K0,10);
C1:REF(C,D1-1),LINETHICK0,COLORWHITE;
AA:STICKLINE(D1<=50,REF(C,D1-1)*1,REF(C,D1-1),9,0),COLORWHITE;
MA5:MA(CLOSE,5);
MA13:MA(CLOSE,13);
MA21:MA(CLOSE,21);
MA55:MA(CLOSE,55),COLORRED,LINETHICK2;
N1:=150;判断高低:=3;
高:=REF(HHV(H,N1),判断高低);
近期顶:REFDATE(高,DATE),COLORRED,LINETHICK1,DOTLINE;
最顶:=REFDATE(近期顶,DATE),NODRAW;
出:=最顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O)),NODRAW;
STICKLINE(出,C,O,1,0),COLORBROWN;
STICKLINE(出,C,O,1,0),COLORBROWN;
DRAWICON(出,H+0.10,9);{线袋}
低:=REF(LLV(L,30),判断高低);
近期底:REFDATE(低,DATE),COLORLIBLUE,LINETHICK1,DOTLINE;
最底:=REFDATE(近期底,DATE),NODRAW;
进:=最底=L AND ((C+L)<(O+C) OR (O+L)<(C+O)),NODRAW;
STICKLINE(进,C,O,1,0),COLORRED;
STICKLINE(进,C,O,1,0),COLORRED;
魔鬼线:MA(CLOSE,321),COLORLIBLUE;
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.1,0,0,'量能稳定,有走强迹象,根据指数线性关系布局分批介入. '),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1<V2)) AND (DSLX>=DSLX1)),0.1,0,0,'走势趋强,量能不足,根据指数线性关系布局分批买入. '),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1>V2)) AND (DSLX<DSLX1)),0.1,0,0,'量价配合良好,没有明显走强,根据指数线性关系考虑进入与否. '),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((CROSS(AVX,1) AND (V1<=V2)) AND (DSLX<DSLX1)),0.1,0,0,'形态尚可,量能不足,未完全走强,根据指数线性关系考虑是否进入. '),COLORGREEN,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.1,0,0,'形态变坏,减持或者卖出观望. '),COLORGREEN,LINETHICK2;
DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1<V2)) AND (DSLX>=DSLX1)),0.1,0,0,'明显缩量走势,根据指数线性关系减持或清仓,等待机会. '),COLORWHITE,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1>=V2)) AND (DSLX<DSLX1)),0.1,0,0,'走势偏弱,谨慎操作. '),COLORGREEN,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((CROSS(1,AVX) AND (V1<V2)) AND (DSLX<DSLX1)),0.1,0,0,'缩量下跌,走势偏弱,离场观望. '),COLORGREEN,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.1,0,0,'强势明显,量能充足,注意前期平台和指数影响. '),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)) AND (DSLX>=DSLX1)),0.1,0,0,'强势依然,量能转弱,高抛低吸做好布局. '),COLORCYAN,LINETHICK2;
DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1>=V2)) AND (DSLX<DSLX1)),0.1,0,0,'具备上涨潜力,根据线性关系操作. '),COLORCYAN,LINETHICK2;
DRAWTEXT_FIX(TJTS1 AND ((((AVX>=1) AND (REF(AVX,1)>0)) AND (V1<V2)) AND (DSLX<DSLX1)),0.1,0,0,'走势趋弱,量能不足,减持筹码. '),COLORCYAN,LINETHICK2;
DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)) AND (DSLX>=DSLX1)),0.1,0,0,'形态不佳,注意量能变化,跟踪分析确认. '),LINETHICK2;
DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)) AND (DSLX>=DSLX1)),0.1,0,0,'走势虽弱,关注线性关系和量能变化,确认业绩、题材. '),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1>=V2)) AND (DSLX<DSLX1)),0.1,0,0,'有走强迹象,上涨压力大,根据大盘情况操作. '),COLORYELLOW,LINETHICK2;
DRAWTEXT_FIX(TJTS1 AND ((((AVX<1) AND (REF(AVX,1)<0)) AND (V1<V2)) AND (DSLX<DSLX1)),0.1,0,0,'走势太弱,整理后关注量能和信号提示. '),LINETHICK2,COLORYELLOW;
DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1>=V2)),0.1,0,0,'量能稳定,有明显走强迹象,可以考虑布局. '),COLORWHITE,LINETHICK2;
DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1>=V2)),0.1,0,0,'如前期经过一轮下跌,此时为最佳买点,但前期有过一段涨幅则介入需谨慎. '),COLORWHITE,LINETHICK2;
DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1<V2)),0.1,0,0,'虽然走势趋强,量能还显不足,根据线性关系操作. '),COLORWHITE,LINETHICK2;
DRAWTEXT_FIX(TJTS2 AND (CROSS(AVX,1) AND (V1<V2)),0.1,0,0,' 可以谨慎布局,控制仓位,一旦量能放大可以重仓买入. '),COLORWHITE,LINETHICK2;
DRAWTEXT_FIX(TJTS2 AND (CROSS(1,AVX) AND (V1>=V2)),0.1,0,0,'大盘形态走坏,减仓或者抛光. '),COLORGREEN,LINETHICK2;
{板块、行业、概念、风格}
DRAWTEXT_FIX(ISLASTBAR ,0.4658,0.05,1, DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR ,0.486,0.05,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR ,0.40,0.12,0,GNBLOCK);
DRAWTEXT_FIX(ISLASTBAR ,0.40,0.19,0,FGBLOCK);
{突破选股}
BDGD:=C=HHV(C,13);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:=REF(C,GDSJ);
突破选股:CROSS(C,REF(高点,1)),NODRAW;
DRAWTEXT(突破选股,L*0.995,'突破'),COLORMAGENTA;
STICKLINE(突破选股,O,C,1,0),COLORYELLOW;
{底部区域}
VARM2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
DRAWTEXT_FIX(1,0.02,1.25,0,'★红K线代表底部买入伩号。'),COLORGREEN;
................
[url=http://www.70822.com/soft/sort013/sort05/down-159817.html]一阳穿三线(通达信公式 主图 源码 测试图)[/url]