当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:分时主图k线上抓涨停
软件名称:[B]分时主图k线上抓涨停[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2013-06-18 00:24:50
软件简介:
一:先建引用公式(副图)
二:再建分时主图k线公式
1.突破昨最高价时介入 如图
一:先建引用公式(副图)取名--- “STAR” O1:REF(O,1); C1:REF(C,1); H1:REF(H,1); L1:REF(L,1); O2:REF(O,2); C2:REF(C,2); H2:REF(H,2); L2:REF(L,2); O3:REF(O,3); C3:REF(C,3); H3:REF(H,3); L3:REF(L,3); 二:再建分时主图公式(主图)取名--- “3日K线分时” O1:="STAR.O1#DAY"; C1:="STAR.C1#DAY"; H1:="STAR.H1#DAY"; L1:="STAR.L1#DAY"; O2:="STAR.O2#DAY"; C2:="STAR.C2#DAY"; H2:="STAR.H2#DAY"; L2:="STAR.L2#DAY"; O3:="STAR.O3#DAY"; C3:="STAR.C3#DAY"; H3:="STAR.H3#DAY"; L3:="STAR.L3#DAY"; GGJ:=CONST(IF(BARSLAST(TIME=93100),HHV(H,0),REF(HHV(H,0),BARSLAST(TIME=93100)))); DDJ:=CONST(IF(BARSLAST(TIME=93100),LLV(H,0),REF(LLV(H,0),BARSLAST(TIME=93100)))); E1:=IF(BETWEEN(TIME,94900,95700),O1,DRAWNULL); E2:=IF(BETWEEN(TIME,94900,95700),C1,DRAWNULL); E12:=IF(BETWEEN(TIME,94000,94800),O2,DRAWNULL); E22:=IF(BETWEEN(TIME,94000,94800),C2,DRAWNULL); E13:=IF(BETWEEN(TIME,93100,93900),O3,DRAWNULL); E23:=IF(BETWEEN(TIME,93100,93900),C3,DRAWNULL); 时间:=TIME=100000; N:=BARSLAST(时间); CS1:=CONST(IF(N,HHV(H,0),REF(HHV(H,0),N))); CS2:=CONST(IF(N,LLV(L,0),REF(LLV(L,0),N))); 三高:=IF(BETWEEN(TIME,93100,100000),MAX(H1,MAX(H2,H3)),DRAWNULL); 三低:=IF(BETWEEN(TIME,93100,100000),MIN(L1,MIN(L2,L3)),DRAWNULL); 三日高:=IF(BETWEEN(TIME,95700,100000),MAX(H1,MAX(H2,H3)),DRAWNULL); 三日低:=IF(BETWEEN(TIME,95700,100000),MIN(L1,MIN(L2,L3)),DRAWNULL); 三日高1:=IF(BETWEEN(TIME,94900,93100),MAX(H1,MAX(H2,H3)),DRAWNULL); 三日低1:=IF(BETWEEN(TIME,954900,93100),MIN(L1,MIN(L2,L3)),DRAWNULL); 三日高2:=IF(BETWEEN(TIME,94000,93100),MAX(H1,MAX(H2,H3)),DRAWNULL); 三日低2:=IF(BETWEEN(TIME,94000,93100),MIN(L1,MIN(L2,L3)),DRAWNULL); DRAWBAND(三日高,RGB(0,0,0),三日低,RGB(0,0,0)); STICKLINE(TIME=95300 AND C1>O1,H1,L1,1,0),COLOR0000CC; STICKLINE(TIME=95300 AND C1<O1,H1,L1,1,0),COLORFFFF54; STICKLINE(TIME=95300 AND C1=O1,H1,L1,1,0),COLORWHITE; DRAWBAND(IF(C1>O1,E2,DRAWNULL),RGB(204,0,0),E1,RGB(204,0,0)); DRAWBAND(IF(C1<O1,E2,DRAWNULL),RGB(84,255,255),E1,RGB(84,255,255)); DRAWBAND(IF(C1=O1,E2,DRAWNULL),RGB(255,255,255),E1,RGB(255,255,255)); DRAWBAND(三日高1,RGB(0,0,0),三日低1,RGB(0,0,0)); STICKLINE(TIME=94400 AND C2>O2,H2,L2,1,0),COLOR0000CC; STICKLINE(TIME=94400 AND C2<O2,H2,L2,1,0),COLORFFFF54; STICKLINE(TIME=94400 AND C2=O2,H2,L2,1,0),COLORWHITE; DRAWBAND(IF(C2>O2,E22,DRAWNULL),RGB(204,0,0),E12,RGB(204,0,0)); DRAWBAND(IF(C2<O2,E22,DRAWNULL),RGB(84,255,255),E12,RGB(84,255,255)); DRAWBAND(IF(C2=O2,E22,DRAWNULL),RGB(255,255,255),E12,RGB(255,255,255)); DRAWBAND(三日高2,RGB(0,0,0),三日低2,RGB(0,0,0)); STICKLINE(TIME=93500 AND C3>O3,H3,L3,1,0),COLOR0000CC; STICKLINE(TIME=93500 AND C3<O3,H3,L3,1,0),COLORFFFF54; STICKLINE(TIME=93500 AND C3=O3,H3,L3,1,0),COLORWHITE; DRAWBAND(IF(C3>O3,E23,DRAWNULL),RGB(204,0,0),E13,RGB(204,0,0)); DRAWBAND(IF(C3<O3,E23,DRAWNULL),RGB(84,255,255),E13,RGB(84,255,255)); DRAWBAND(IF(C3=O3,E23,DRAWNULL),RGB(255,255,255),E13,RGB(255,255,255)); STICKLINE(时间=1,三日高,三日低,-1,-1),COLOR0000CC; IF(BETWEEN(TIME,93100,94000) AND BETWEEN(C,C1,O1),C,DRAWNULL),COLORWHITE; STICKLINE(时间=1,CS1,CS2,-1,-1),COLORGREEN; 均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW; IF(BETWEEN(C,三高,三低),C,DRAWNULL),COLORWHITE; IF(C=GGJ,C,DRAWNULL),COLORWHITE;
[url=http://www.70822.com/soft/sort013/sort05/down-63519.html]分时主图k线上抓涨停[/url]