当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:自用盈势投资主图(使用详解)
软件名称:[B]自用盈势投资主图(使用详解)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2023-12-26 00:15:26
软件简介:
自用盈势投资主图
1.股价高于平均线,视为强势;股价低于平均线,视为弱势
2.平均线向上涨升,具有助涨力道;平均线向下跌降,具有助跌力道;
3.二条以上平均线向上交叉时,买进;
4.二条以上平均线向下交叉时,卖出;
5.移动平均线的信号经常落后股价,若以EXPMA 、VMA 辅助,可以改善。
MA1:MA(CLOSE,7)COLORYELLOW;
MA2:MA(CLOSE,9)COLORYELLOW;
MA3:MA(CLOSE,11)COLORYELLOW;
MA4:MA(CLOSE,13)COLORYELLOW;
MA5:MA(CLOSE,15)COLORYELLOW;
MA6:MA(CLOSE,60)COLORRED;
MA7:MA(CLOSE,65)COLORRED;
MA8:MA(CLOSE,70)COLORRED;
MA9:MA(CLOSE,75)COLORRED;
MA10:MA(CLOSE,80)COLORRED;
MA11:=MA(C,120)COLORLIBLUE;
MA12:=MA(C,210)COLORBLUE;
ABC:DRAWTEXT_FIX(1,0.37,0.03,0,'《投资有风险、交易需谨慎、指标为大概率参考》'),COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.00,0,'行业:')COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0.00,0,HYBLOCK)COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.035,0,'概念:')COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0.035,0,GNBLOCK)COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.12,0,'收入同比:'),COLORMAGENTA;
DRAWNUMBER_FIX(ISLASTBAR,0.08,0.12,0,ROUND(FINANCE(44))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.155,0,'利润同比:'),COLORMAGENTA;
DRAWNUMBER_FIX(ISLASTBAR,0.08,0.155,0,ROUND(FINANCE(43))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.19,0,'业绩预告:'),COLORMAGENTA;
预最小:=IF(FINVALUE(285),FINVALUE(285),DRAWNULL);
预最大:=IF(FINVALUE(286),FINVALUE(286),DRAWNULL);
DRAWNUMBER_FIX(ISLASTBAR,0.08,0.19,0,ROUND(预最小))COLORWHITE;
DRAWNUMBER_FIX(ISLASTBAR,0.11,0.19,0,ROUND(预最大))COLORWHITE;
DRAWTEXT_FIX(IF(INBLOCK('业绩预升'),INBLOCK('业绩预升'),DRAWNULL),0.15,0.19,0,'↗'),COLORWHITE;
DRAWTEXT_FIX(IF(INBLOCK('业绩预降'),INBLOCK('业绩预降'),DRAWNULL),0.15,0.19,0,'↘'),COLORWHITE;
龙虎数据:=(GPJYVALUE(2,1,0)-GPJYVALUE(2,2,0));
NFR:DRAWTEXT(龙虎数据>1,L*0.97,'龙虎榜净流入');
RRRG:DRAWNUMBER(龙虎数据>1,L*0.96,ROUND(龙虎数据));
RFREEF:DRAWTEXT(龙虎数据>1,L*0.956,' 万元');
B1:=(C-REF(C,60))/REF(C,60)*100;
B2:=(C-REF(C,100))/REF(C,100)*100;
B3:=(C-REF(C,30))/REF(C,30)*100;
B4:=(C-REF(C,300))/REF(C,300)*100;
B5:=(C-REF(C,150))/REF(C,150)*100;
B6:=(C-REF(C,350))/REF(C,350)*100;
B7:=(C-REF(C,250))/REF(C,250)*100;
B8:=(C-REF(C,500))/REF(C,500)*100;
B9:=(C-REF(C,600))/REF(C,600)*100;
B10:=(C-REF(C,700))/REF(C,700)*100;
BB4:=IF(BARSCOUNT(C)>=330,B4,B2);
BB5:=IF(BARSCOUNT(C)>=180,B5,B2);
BB6:=IF(BARSCOUNT(C)>=380,B6,B2);
BB7:=IF(BARSCOUNT(C)>=280,B7,B2);
BB8:=IF(BARSCOUNT(C)>=530,B8,B2);
BB9:=IF(BARSCOUNT(C)>=630,B9,B2);
BB10:=IF(BARSCOUNT(C)>=730,B10,B2);
涨幅小于:=B1< 40 AND B2< 50 AND B3< 40 AND BB8< 200 AND BB9< 220 AND BB10< 240 AND BB4< 150 AND BB5< 100 AND BB6< 200 AND BB7< 100;
强势1:=C>MA(C,7) AND C>MA(C,9) AND C>MA(C,11) AND C>MA(C,13) AND C>MA(C,15) AND C>MA(C,60) AND C>MA(C,80) ;
强势:=C>MA(C,60) AND C>MA(C,80) AND C>MA(C,210);
新高160:=CLOSE=HHV(CLOSE,60);
几日不重复提示2:=BARSLAST(REF(新高160,3))>10;
买21:=涨幅小于 AND 强势 AND 新高160 AND 几日不重复提示2;
振210:=HHV(H,20);
振20小1并穿:=REF((((HHV(HIGH,20)-LLV(LOW,20))/LLV(LOW,20))*100)< 11,1) AND CROSS(H,REF(振210,1));
买22:=涨幅小于 AND 强势 AND 振20小1并穿;
振600:=HHV(H,60);
振60小1并穿:=REF((((HHV(HIGH,60)-LLV(LOW,60))/LLV(LOW,60))*100)< 20,1) AND CROSS(H,REF(振600,1));
买33:=涨幅小于 AND 强势 AND 振60小1并穿;
新高:=CLOSE=HHV(CLOSE,60);
大量:=V>=HHV(V,80);
敢死队一:=新高 AND 大量 AND 涨幅小于 AND C>MA(C,210);
DRAWICON(敢死队一 AND CURRBARSCOUNT< 60,L*0.98,24);
DRAWTEXT(敢死队一 AND CURRBARSCOUNT< 60,L*0.98,' 敢死队 '),COLORWHITE;
BB1:=C>MA(C,7) AND C>MA(C,9) AND C>MA(C,11) AND C>MA(C,13) AND C>MA(C,15);
BB2:=CROSS(C,MA(C,7)) OR CROSS(C,MA(C,9)) OR CROSS(C,MA(C,11)) OR CROSS(C,MA(C,13)) OR CROSS(C,MA(C,15));
BB3:=REF(C,2)< REF(MA(C,7),1) OR REF(C,2)< REF(MA(C,9),1) OR REF(C,2)< REF(MA(C,11),1) OR REF(C,2)< REF(MA(C,13),1) OR REF(C,2)< REF(MA(C,15),1);
BBB4:=REF(C,1)< REF(MA(C,7),1) AND REF(C,1)< REF(MA(C,9),1) AND REF(C,1)< REF(MA(C,11),1) AND REF(C,1)< REF(MA(C,13),1) AND REF(C,1)< REF(MA(C,15),1);
BBB5:=BB3 OR BBB4;
BBB6:=IF(DATE<=1291230,1,0);
BB:=BB1 AND BB2 AND BBB5 AND BBB6;
BBB:=REF(C,1)< REF(MA(C,15),1) AND C>MA(C,15) AND C>MA(C,7);
BBBBB:=BB OR BBB;
SS1:=REF(C,2)>REF(MA(C,7),2) OR REF(C,2)>REF(MA(C,9),2) OR REF(C,2)>REF(MA(C,11),2) OR REF(C,2)>REF(MA(C,13),2) OR REF(C,2)>REF(MA(C,15),2);
SS2:=REF(C,3)>REF(MA(C,7),3) OR REF(C,3)>REF(MA(C,9),3) OR REF(C,3)>REF(MA(C,11),3) OR REF(C,3)>REF(MA(C,13),3) OR REF(C,3)>REF(MA(C,15),3);
SS3:=SS1 OR SS2;
SS4:=C< MA(C,7) AND C< MA(C,9) AND C< MA(C,11) AND C< MA(C,13) AND C< MA(C,15);
SS5:=SS3 AND SS4;
SS6:=CROSS(MA(C,15),C) AND C< MA(C,7) AND C< MA(C,9) AND C< MA(C,11) AND C< MA(C,13) AND C< MA(C,15);
SS:=SS5 OR SS6;
T10:=TFILTER(BBBBB,SS,1);
T11:=TFILTER(BBBBB,SS,2);
存在上穿:=EXIST(T10,5);
存在下穿:=EXIST(T11,5);
新高1:=CLOSE=HHV(CLOSE,5);
大阴:=EXIST(((C/REF(C,1))< 0.96),5);
大阳:=EXIST(((C/REF(C,1))>1.04),5);
线下:=EXIST(H< MA(C,7) AND H< MA(C,9) AND H< MA(C,11) AND H< MA(C,13) AND H< MA(C,15),5)>=1;
非一字板:=NOT(O=H);
大量1:=V>=HHV(V,100);
黄金小坑一:=存在上穿 AND 存在下穿 AND 新高1 AND 大阴 AND 大阳 AND 强势1 AND 线下 AND 非一字板 AND 大量1 AND 涨幅小于;
DRAWTEXT(黄金小坑一 AND CURRBARSCOUNT< 60,L*0.99,' 黄金小坑'),COLORLIBLUE;
DRAWICON(黄金小坑一 AND CURRBARSCOUNT< 60,L*0.99,11);
新高60:=CLOSE=HHV(CLOSE,60);
几日不重复提示:=BARSLAST(REF(新高60,3))>10;
买1:=涨幅小于 AND 强势1 AND 新高60 AND 几日不重复提示;
振20:=HHV(H,20);
振20小并穿:=REF((((HHV(HIGH,20)-LLV(LOW,20))/LLV(LOW,20))*100)< 11,1) AND CROSS(H,REF(振20,1));
买2:=涨幅小于 AND 强势1 AND 振20小并穿;
振60:=HHV(H,60);
振60小并穿:=REF((((HHV(HIGH,60)-LLV(LOW,60))/LLV(LOW,60))*100)< 20,1) AND CROSS(H,REF(振60,1));
买3:=涨幅小于 AND 强势1 AND 振60小并穿;
新高3:=CLOSE=HHV(CLOSE,60);
大量3:=V>=HHV(V,100);
买4:=涨幅小于 AND 新高3 AND 大量3 AND C>MA(C,210) AND 强势1;
合集1:=买1 OR 买2 OR 买3 OR 买4;
涨停:=合集1 AND (CLOSE/(REF(C,1))>1.092);
CC1:=(C-REF(C,20))/REF(C,20)*100;
A1:=IF(涨停>0,C,0);
A2:=HHV(A1,80);
XG:=A2>0 AND CROSS(C,A2) AND C/A2< 1.12 AND C>MA(C,7) AND C>MA(C,15) AND CC1< 20;
回穿曾经涨停一:=XG;
涨停一:=合集1 AND (CLOSE/(REF(C,1))>1.092);
显示涨停1:STICKLINE(回穿曾经涨停一 AND CURRBARSCOUNT< 60,CLOSE,OPEN,2,0),COLORFF9900;
显示涨停11:STICKLINE(涨停一 AND CURRBARSCOUNT< 60,O,C,2,0),COLORFF0000;
存在上穿2:=EXIST(T10,2);
存在下穿2:=EXIST(T11,2);
新高2:=CLOSE=HHV(CLOSE,4);
大阴2:=EXIST(((C/REF(C,1))< 0.96),2);
大阳2:=EXIST(((C/REF(C,1))>1.04),2);
线下2:=EXIST(L< MA(C,7) AND L< MA(C,9) AND L< MA(C,11) AND L< MA(C,13) AND L< MA(C,15),2)>=1;
非一字板2:=NOT(O=H);
大量2:=V>=HHV(V,60);
黄金小坑二:=存在上穿2 AND 存在下穿2 AND 新高2 AND 大阴2 AND 大阳2 AND 强势1 AND 非一字板2 AND 大量2 AND 涨幅小于;
DRAWTEXT(黄金小坑二 AND CURRBARSCOUNT< 60,L,' 黄金小坑 2天穿 '),COLORRED;
DRAWICON(黄金小坑二 AND CURRBARSCOUNT< 60,L,11);
存在上穿3:=EXIST(T10,3);
存在下穿3:=EXIST(T11,3);
新高4:=CLOSE=HHV(CLOSE,4);
大阴3:=EXIST(((C/REF(C,1))< 0.96),3);
大阳3:=EXIST(((C/REF(C,1))>1.04),3);
线下3:=EXIST(H< MA(C,7) AND H< MA(C,9) AND H< MA(C,11) AND H< MA(C,13) AND H< MA(C,15),5)>=1;
非一字板3:=NOT(O=H);
大量4:=V>=HHV(V,60);
黄金小坑三:=存在上穿3 AND 存在下穿3 AND 新高4 AND 大阴3 AND 大阳3 AND 强势1 AND 非一字板3 AND 线下3 AND 大量4 AND 涨幅小于;
DRAWTEXT(黄金小坑三 AND CURRBARSCOUNT< 60,L,' 黄金小坑 3天穿 '),COLORYELLOW;
DRAWICON(黄金小坑三 AND CURRBARSCOUNT< 60,L,15);
小均线最大值:=MAX6(MA1,MA2,MA3,MA4,MA5,MA5);
小均线最小值:=MIN6(MA1,MA2,MA3,MA4,MA5,MA5);
大均线最大值:=MAX6(MA6,MA7,MA8,MA9,MA10,MA10);
大均线最小值:=MIN6(MA6,MA7,MA8,MA9,MA10,MA10);
三天内二次大阳:=COUNT(C/REF(C,1)>1.09,3)>=2;
三天收盘最大:=CLOSE=HHV(CLOSE,3);
三天最高价大于:=H>小均线最大值 AND H>大均线最大值 AND REF(H,1)>小均线最大值 AND REF(H,1)>大均线最大值 AND REF(H,2)>小均线最大值 AND REF(H,2)>大均线最大值;
三天最低价小于:=L< 小均线最小值 AND L< 大均线最小值 AND REF(L,1)< 小均线最小值 AND REF(L,1)< 大均线最小值 AND REF(L,2)< 小均线最小值 AND REF(L,2)< 大均线最小值;
三天揉搓条件:=三天内二次大阳 AND 三天收盘最大 AND 三天最高价大于 AND 三天最低价小于 AND 涨幅小于 AND 强势1;
三天条件显示:DRAWTEXT(三天揉搓条件 AND CURRBARSCOUNT< 60,L,'三天揉搓线 '),COLORWHITE;
四天内一次大阳:=COUNT(C/REF(C,1)>1.09,3)>=1;
四天收盘最大:=CLOSE=HHV(CLOSE,4);
四天最高价大于:=H>小均线最大值 AND H>大均线最大值 AND REF(H,1)>小均线最大值 AND REF(H,1)>大均线最大值 AND REF(H,2)>小均线最大值 AND REF(H,2)>大均线最大值 AND REF(H,3)>小均线最大值 AND REF(H,3)>大均线最大值;
四天最低价小于:=L< 小均线最小值 AND L< 大均线最小值 AND REF(L,1)< 小均线最小值 AND REF(L,1)< 大均线最小值 AND REF(L,2)< 小均线最小值 AND REF(L,2)< 大均线最小值 AND REF(L,3)< 小均线最小值 AND REF(L,3)< 大均线最小值;
四天揉搓条件:=四天内一次大阳 AND 四天收盘最大 AND 四天最高价大于 AND 四天最低价小于 AND 涨幅小于 AND 强势1;
四天条件显示:DRAWTEXT(四天揉搓条件 AND CURRBARSCOUNT< 60,L,'四天揉搓线 '),COLORWHITE;
五天二涨停:=COUNT(C/REF(C,1)>1.09,5)>=2;
五天一上穿:=COUNT(CROSS(C,小均线最大值),5)>=1 AND COUNT(CROSS(C,大均线最大值),5)>=1;
五天最高大于:=COUNT(H>小均线最大值 AND H>大均线最大值 AND L< 小均线最小值 AND L< 大均线最小值,5)>=1;
五天大于小线:=COUNT(H>小均线最大值 AND L< 小均线最小值,5)>=4;
今天大于:=C>小均线最大值 AND C>大均线最大值;
五天揉搓条件:=五天二涨停 AND 五天一上穿 AND 五天最高大于 AND 五天大于小线 AND 今天大于 AND 涨幅小于 AND 强势1;
五天条件显示:DRAWTEXT(五天揉搓条件 AND CURRBARSCOUNT< 60,L,'五天揉搓线 '),COLORWHITE;
八天二涨停:=COUNT(C/REF(C,1)>1.09,8)>=3;
八天收盘最大:=CLOSE=HHV(CLOSE,8);
八天最高大于:=COUNT(H>小均线最大值 AND H>大均线最大值 AND L< 小均线最小值 AND L< 大均线最小值,8)>=2;
八天揉搓条件:=八天二涨停 AND 八天收盘最大 AND 八天最高大于 AND 涨幅小于 AND 强势1;
八天条件显示:DRAWTEXT(八天揉搓条件 AND CURRBARSCOUNT< 60,L,'八天揉搓线 '),COLORWHITE;
敢死黄金坑揉搓:=敢死队一 OR 黄金小坑一 OR 回穿曾经涨停一 OR 涨停一 OR 黄金小坑二 OR 黄金小坑三 OR 三天揉搓条件 OR 四天揉搓条件 OR 五天揉搓条件 OR 八天揉搓条件;
RS:=REF(GPJYVALUE(1,1,1),BARSLAST(GPJYVALUE(1,1,1)>0));
变:=BARSLAST(RS< >REF(RS,1) OR BARSSINCE(RS)=0);
减:=BARSLAST(RS>REF(RS,1) OR BARSSINCE(RS)=0)>BARSLAST(RS< REF(RS,1) OR BARSSINCE(RS)=0);
幅:=IF(变=0,RS/REF(RS,1)*100-100,0);
减幅:=IF(减>0,SUM(幅,BARSLAST(减=0)),0);
增幅:=IF(减=0,SUM(幅,BARSLAST(减>0)),0);
减数:=IF(减>0,SUM(变=0,BARSLAST(减=0)),0);
增数:=IF(减=0,SUM(变=0,BARSLAST(减>0)),0);
连续幅度:=IF(减=0,增幅,IF(减>0,减幅,0)) < -10;
连续期数:=IF(减=0,增数, IF(减>0,减数*-1,0)) < -3;
股东人数条件:=连续幅度 OR 连续期数;
合集条件:=买21 OR 买22 OR 买33;
最后条件:=敢死黄金坑揉搓 OR 合集条件;
执行:=最后条件 AND 股东人数条件;
DRAWICON(执行 AND CURRBARSCOUNT< 60,L,14);
DRAWTEXT(执行 AND CURRBARSCOUNT< 60,L,' 牛股 '),COLORWHITE;
所属板块指数0:=CALCSTOCKINDEX(HYZSCODE,'板块均线',1);
所属板块指数1:=CALCSTOCKINDEX(HYZSCODE,'板块均线',2);
所属板块指数2:=CALCSTOCKINDEX(HYZSCODE,'板块均线',3);
所属板块指数3:=CALCSTOCKINDEX(HYZSCODE,'板块均线',4);
所属板块指数4:=CALCSTOCKINDEX(HYZSCODE,'板块均线',5);
所属板块指数5:=CALCSTOCKINDEX(HYZSCODE,'板块均线',6);
所属板块指数6:=CALCSTOCKINDEX(HYZSCODE,'板块均线',7);
所属板块指数7:=CALCSTOCKINDEX(HYZSCODE,'板块均线',8);
所属板块指数8:=CALCSTOCKINDEX(HYZSCODE,'板块均线',9);
所属板块指数9:=CALCSTOCKINDEX(HYZSCODE,'板块均线',10);
所属板块指数10:=CALCSTOCKINDEX(HYZSCODE,'板块均线',11);
所属板块指数11:=CALCSTOCKINDEX(HYZSCODE,'板块均线',12);
强势行业板块1:=所属板块指数0>所属板块指数1;
强势行业板块2:=所属板块指数0>所属板块指数2;
强势行业板块3:=所属板块指数0>所属板块指数3;
强势行业板块4:=所属板块指数0>所属板块指数4;
强势行业板块5:=所属板块指数0>所属板块指数5;
强势行业板块6:=所属板块指数0>所属板块指数6;
强势行业板块7:=所属板块指数0>所属板块指数7;
强势行业板块8:=所属板块指数0>所属板块指数8;
强势行业板块9:=所属板块指数0>所属板块指数9;
强势行业板块10:=所属板块指数0>所属板块指数10;
板块指数条件合:=强势行业板块5 AND 强势行业板块6 AND 强势行业板块10;
IF(板块指数条件合 AND CURRBARSCOUNT< 60,MA5,DRAWNULL),COLORBLUE,LINETHICK3;
[url=http://www.70822.com/soft/sort013/sort05/down-170543.html]自用盈势投资主图(使用详解)[/url]