当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:东方看盘主图,趋势操盘 买卖不急躁(通达信公式 主图 源码 测试图)
软件名称:[B]东方看盘主图,趋势操盘 买卖不急躁(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-04-17 10:02:35
软件简介:
东方看盘主图,本公式趋势操盘 买卖不急躁,包含很多的内容,板块所属,财务数据,压力支撑,长短趋势,,,自己发现吧。
{DRAWGBK(C>0,RGB(20,20,120),RGB(1,1,5),1,0,1);{背景}
{股价高低点自动画线}
N:=10;
DING:=MAX(O,C);{实顶}
DI:=MIN(O,C);{实底}
SDING:=CURRBARSCOUNT>=N AND DING=HHV(DING,N) AND DING>REFX(HHV(DING,N-1),N-1);
{DRAWLINE(SDING,DING,REF(SDING,1),REF(DING,1),1),COLORDB9370;}
XDING:=CURRBARSCOUNT>=N AND H=HHV(H,N) AND H>REFX(HHV(H,N-1),N-1);
DRAWLINE(XDING,H,REF(XDING,1),REF(H,1),1),COLORMAGENTA,DOTLINE;
SDI:=CURRBARSCOUNT>=N AND DI=LLV(DI,N) AND DI<REFX(LLV(DI,N-1),N-1);
{DRAWLINE(SDI,DI,REF(SDI,1),REF(DI,1),1),COLORE47833;}
XDI:=CURRBARSCOUNT>=N AND L=LLV(L,N) AND L<REFX(LLV(L,N-1),N-1);
DRAWLINE(XDI,L,REF(XDI,1),REF(L,1),1),COLORGREEN,DOTLINE;
{代码 日期}
{DRAWTEXT_FIX(ISLASTBAR,0.85,0.95,0,STRCAT('代码:',CODE)),COLORYELLOW;}
DA:=YEAR AND MONTH AND DAY;
AXA:=STRCAT(CON2STR(YEAR,0),'年');
AAB:=STRCAT(CON2STR(MONTH,0),'月');
AA33:=STRCAT(CON2STR(DAY,0),'日');
AA4:=STRCAT('【星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,
'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));
AA1:=STRCAT(STRCAT(STRCAT(AXA,AAB),STRCAT(AA33,AA4)),'】');
S1:DRAWTEXT_FIX(DA,0.80,1,0,AA1),COLORFFAAFF;
净资收益率:=(FINANCE(33)/FINANCE(34)*100);
主营利润率:=(FINANCE(23)/FINANCE(20)*100);
现金负债比:=(FINANCE(25)/FINANCE(15));
主营业增长率:=FINANCE(44);
净利润增长率:=FINANCE(43);
每股收益:=CONST(FINANCE(38));
每股净资产:=CONST(FINANCE(34));
每股现金流:=CONST((FINANCE(25)/FINANCE(1)));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
流通市值:=ROUND(FINANCE(40)/100000000);
A股流通:=FINANCE(7)/100000000;
市盈率:=DYNAINFO(39);
换手率:=VOL/CAPITAL*100;
资金净流:=L2_AMO(0,2)/100+L2_AMO(1,2)/100-L2_AMO(0,3)/100+L2_AMO(1,3)/100;
量比:=DYNAINFO(17);
成交方向:=DYNAINFO(40);
主动买单:=ISBUYORDER;
涨速:=DYNAINFO(24);
大单比率:=(LARGEINTRDVOL-LARGEOUTTRDVOL)/CAPITAL*100;
PEG指标:=DYNAINFO(39)/FINANCE(43)*100;
获利盘比例:=LWINNER(1,CLOSE);
区间成本:=COSTEX(CLOSE,REF(CLOSE,BARSCOUNT(C)-1));
昨收盘价:=REF(C,1);
今开盘价:=OPEN;
ER1:=净资收益率>=3;
ER12:=净资收益率>=0.01;
ER2:=主营利润率>=2;
ER22:=主营利润率>=0;
ER4:=主营业增长率>=1;
ER42:=主营业增长率>=0;
ER5:=净利润增长率>=2;
ER52:=净利润增长率>=0.2;
SAX1:=每股收益>=0.01;
SAX12:= 每股收益>=0.001;
SAX2:=每股净资产>=2;
SAX22:=每股净资产>=0.01;
SAX4:=每股未分配>=0.5;
SAX42:=每股未分配>=0.001;
SAX5:=每股公积金>=0.5;
SAX52:=每股公积金>=0.002;
DP3:=市盈率<=200;
DP32:=市盈率<=5000;
DP4:=换手率>=0.1;
DP42:=换手率>=0.01;
WMF1:=量比>=0.8;
WMF12:=量比>=0.3;
优秀:=ER1 AND ER2 AND ER4 AND ER5 AND SAX1 AND SAX2
AND SAX4 AND SAX5 AND DP3 AND DP4 AND WMF1,COLORRED;
QF:=NOT(优秀);
较好:=ER12 AND ER22 AND ER42 AND ER52 AND SAX12 AND SAX22
AND SAX42 AND SAX52 AND DP32 AND DP42 AND WMF12 AND QF,COLORMAGENTA;
DRAWTEXT_FIX(优秀,0.645,0.095,0,'基本面:优秀级!'),COLORRED;
DRAWTEXT_FIX(较好,0.645,0.06,0,'基本面:较好!'),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.825,0.90,0,STRCAT('代码:',CODE)),COLORYELLOW;
{基本面}
品种类型:=FINANCE(3);
行业板块:=HYBLOCK;
上市:=FINANCE(42);
股东:=FINANCE(8);
人均:=ROUND(FINANCE(7)/FINANCE(8));
{分析家公式网 WWW.70822.com 整理}
DRAWTEXT_FIX(1,0.001,0.01,0,'品种类型:'),COLORYELLOW;
DRAWTEXT_FIX(品种类型=1,0.0382,0.01,0,'沪深A股'),COLORWHITE;
DRAWTEXT_FIX(品种类型=2,0.0382,0.01,0,'中小板'),COLORWHITE;
DRAWTEXT_FIX(品种类型=3,0.0382,0.01,0,'创业板'),COLORWHITE;
DRAWTEXT_FIX(1,0.065,0.01,0,'地区:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.085,0.01,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.120,0.01,0,'行业:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.140,0.01,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.175,0.01,0,'上市:'),COLORYELLOW;{单位:天}
DRAWNUMBER_FIX(1,0.193,0.01,0,上市),COLORWHITE;
DRAWTEXT_FIX(1,0.215,0.01,0,'股东:'),COLORYELLOW;{单位:人}
DRAWNUMBER_FIX(1,0.2350,0.01,0,股东),COLORWHITE;
DRAWTEXT_FIX(1,0.260,0.01,0,'人均:'),COLORYELLOW;{股}
DRAWNUMBER_FIX(1,0.280,0.01,0,人均),COLORWHITE;
DRAWTEXT_FIX(1,0.305,0.01,0,'概念:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.325,0.01,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(1,0.60,0.01,0,'风格:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.62,0.01,0,FGBLOCK),COLORMAGENTA;
{假阴线}
均价:AMOUNT/VOL/100,NODRAW;
假阴:=O>C AND 均价>REF(C,1);
{DRAWTEXT(假阴,L-0.2,'↖假阴'),COLORYELLOW;{MAGENTA}
STICKLINE(假阴,O,C,2,0),COLORRED;
{缺口提示}
STICKLINE(L>REF(H,1),L,REF(H,1),10,1001),COLORMAGENTA;
STICKLINE(REF(L,1)>H,REF(L,1),H,10,1001),COLORBLUE;
DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(1,0.5,0.08,0,'阻击涨停')COLORRED,LINETHICK3;
AAAA:=MA(C,1);
AAA:=SMA(SMA(SMA(AAAA,2,1),2,1),2,1);
BBB:=MA(AAA,3);
DRAWBAND(AAA,RGB(255,255,0),BBB,RGB(0,0,255));
CCC:=(3*C+L+O+H)/6;
牛线:=(20*CCC+19*REF(CCC,1)+18*REF(CCC,2)+17*REF(CCC,3)+16*REF(CCC,4)+15*REF(CCC,5)+14*REF(CCC,6)+13*REF(CCC,7)+12*REF(CCC,8)+11*REF(CCC,9)+10*REF(CCC,10)+9*REF(CCC,11)+8*REF(CCC,12)+7*REF(CCC,13)+6*REF(CCC,14)+5*REF(CCC,15)+4*REF(CCC,16)+3*REF(CCC,17)+2*REF(CCC,18)+REF(CCC,20))/210,COLORRED,LINETHICK2;
马线:=MA(牛线,5);
DRAWBAND(牛线,RGB(255,40,0),马线,RGB(256,200,0));
STICKLINE(IF((C>REF(C,1)*1.096),2,0),OPEN,CLOSE,3,0),COLORRED;
N1:=13;
T1:=CONST(LLVBARS(LOW,N1));
T1HIGH:=CONST(REF(HIGH,T1));
CC:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T1)) AND (HIGH>T1HIGH)));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST((CURRBARSCOUNT >(CC+T2)) AND (HIGH>T2HIGH)));
T3HIGH:=CONST(REF(HIGH,T3));
突破杀入线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),LINETHICK2,COLORRED;
DRAWTEXT(ISLASTBAR, T3HIGH, '上线买'),LINETHICK2,COLORRED;
涨停:DYNAINFO(3)*1.1,COLORRED,NODRAW;
跌停:DYNAINFO(3)*0.9,COLORGREEN,NODRAW;
昨收:REF(C,1),COLORRED,NODRAW;
今开:O,COLORWHITE,NODRAW;
现价:CLOSE,COLORWHITE,LINETHICK2,NODRAW;
涨跌幅:(C-REF(C,1))/REF(C,1)*100,NODRAW;
换手: VOL*100/FINANCE(7),NODRAW,COLORWHITE;
ST涨停:=IF((C-昨收)*100/昨收>=(5-0.01*100/昨收),1,0);
ST跌停:=IF((昨收-C)*100/昨收>=(5-0.01*1
[url=http://www.70822.com/soft/sort013/sort05/down-155367.html]东方看盘主图,趋势操盘 买卖不急躁(通达信公式 主图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort05/down-155367.html]东方看盘主图,趋势操盘 买卖不急躁(通达信公式 主图 源码 测试图)[/url]