当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:二线定主图(通达信公式 主图 源码 测试图)
软件名称:[B]二线定主图(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2022-11-19 00:15:25
软件简介:
二线定主图
MA1:MA(CLOSE,M1); {参数默认5}
MA2:MA(CLOSE,M2); {参数默认10}
MA3:MA(C,20);
流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
DRAWTEXT_FIX(1,0.00,0.38,0,'主题投资:')COLOR0000FF;
DRAWTEXT_FIX(1,0.06,0.38,0,EXTERNSTR(0,1))COLOR0000FF;
DRAWTEXT_FIX(1,0.00,0.46,0,'主营业务:')COLORFF00FF;
DRAWTEXT_FIX(1,0.06,0.46,0,EXTERNSTR(0,2))COLORFF00FF;
DRAWTEXT_FIX(1,0,2,0,EXTERNSTR(0,1))COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.9,0.1,0,HYBLOCK),COLOREE8FFF;
DRAWTEXT_FIX(ISLASTBAR,0.9,0,0,DYBLOCK),COLOREE8FFF;
DRAWTEXT_FIX(1,0.00,0.88,0,'概念:')COLORFF00FF;
半分:(C+O)/2,COLORYELLOW,NODRAW;
现价:REFDATE(C,DATE),DOTLINE,COLORLIGRAY;
{分析家公式网WWW.70822.com}
TM:=1200823;
涨停:IF(DATE<TM,ZTPRICE(REF(C,1),IF(FINANCE(3)=4,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(FINANCE(3)>2,0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED;
跌停:IF(DATE<TM,DTPRICE(REF(C,1),IF(FINANCE(3)=4,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(FINANCE(3)>2,0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN;
明涨停:IF(DATE<TM,C*IF(FINANCE(3)=4,1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(FINANCE(3)>2,1.2,IF(NAMEINCLUDE('S'),1.05,1.1))),NODRAW,COLORLIMAGENTA;
明跌停:IF(DATE<TM,C*IF(FINANCE(3)=4,0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(FINANCE(3)>2,0.8,IF(NAMEINCLUDE('S'),0.45,0.9))),NODRAW,COLORFFFF00;
ZT:=C>=IF(DATE<TM,ZTPRICE(REF(C,1),IF( FINANCE(3)=4,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF( FINANCE(3)>2,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))));
DT:=C<=IF(DATE<TM,DTPRICE(REF(C,1),IF( FINANCE(3)=4,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF( FINANCE(3)>2,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))));
ZT1:=H>=IF(DATE<TM,ZTPRICE(REF(C,1),IF( FINANCE(3)=4,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF( FINANCE(3)>2,0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))) AND H>C;
DT1:=L<=IF(DATE<TM,DTPRICE(REF(C,1),IF( FINANCE(3)=4,0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF( FINANCE(3)>2,0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))) AND L<C;
STICKLINE(ZT,C,O,3,0),COLORRED;
STICKLINE(DT,C,O,3,0),COLORLIGREEN;
STICKLINE(ZT1,C,O,3,0),COLORFF00FF;
STICKLINE(DT1,C,O,3,0),COLOR00FF99;
JYZY1:=(REF(C>=O,1) OR O>REF(H,1)) AND AMOUNT/V/100>REF(C,1) AND C<O;
假阳1:=REF(C<=O,1) AND H<REF(O,1) AND C<(REF(O-C,1))/3+REF(C,1) AND AMOUNT/V/100<REF(C,1) AND C>O;
JYZY:=AMOUNT/V/100>REF(C,1) AND C<O;
假阳:=AMOUNT/V/100<REF(C,1) AND C>O;
STICKLINE(JYZY,O,C,0.5,0),COLORRED;{假阴柱};
STICKLINE(假阳,O,C,0.5,0),COLORLIGREEN;{假阳柱};
ZTT:=BARSLAST(ZT);
G:IF(ZTT<=10,REF(H,BARSLAST(ZT)),DRAWNULL),COLORYELLOW ;
D:IF(ZTT<=10,REF(C,BARSLAST(ZT)+1),DRAWNULL),COLORYELLOW;
Z:G-(G-D)/2 COLORFF00FF;
DRAWTEXT(ZTT=2,L*0.99,'2'),COLORYELLOW;
DRAWTEXT(ZTT=4,L*0.99,'4'),COLORYELLOW;
DRAWTEXT(ZTT=6,L*0.99,'6'),COLORYELLOW;
DRAWTEXT(ZTT=8,L*0.99,'8'),COLORYELLOW;
DRAWTEXT(ZTT=10,L*0.99,'10.'),COLORYELLOW;
[url=http://www.70822.com/soft/sort013/sort05/down-165032.html]二线定主图(通达信公式 主图 源码 测试图)[/url]