当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:小散之家实盘分时操盘系统--(三只分时源码公式,贴图)
软件名称:[B]小散之家实盘分时操盘系统--(三只分时源码公式,贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2013-01-23 05:21:47
软件简介:
今我提供的分时选股源码就是上述第5步我自创自用的下单操作前的分时选股盯盘系统,是结合慢牛老师讲课内容经典部分编写的,其特点是分时线同时罗列四天日线K线,设有当天的3日,5日,7日,13日均线的支撑线,还设有昨日K线最高和最低价位的警戒线。还有其他功能请自己分析吧。注:3日,5日,7日,13日均线的支撑线是慢牛老师是选股经常使用支撑线是实站中对股研判的主要依据。此系统共三只公式,分别是“小散之家引用”“小散之家分时主图”“小散之家分时副图”,其中“小散之家引用”必须安装。
1.{小散之家引用副图} ZTJ:IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)) AND C=H,1,0); ZT1:IF((REF(C,1)-REF(C,2))*100/REF(C,2)>=(10-0.01*100/REF(C,2)) AND REF(C,1)=REF(H,1),1,0); ZT2:IF((REF(C,2)-REF(C,3))*100/REF(C,3)>=(10-0.01*100/REF(C,3)) AND REF(C,2)=REF(H,2),1,0); ZT3:IF((REF(C,3)-REF(C,4))*100/REF(C,4)>=(10-0.01*100/REF(C,4)) AND REF(C,3)=REF(H,3),1,0); DTJ:IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)) AND C=L,1,0); DT1:IF((REF(REF(C,1),2)-REF(C,1))*100/REF(REF(C,1),2)>=(10-0.01*100/REF(REF(C,1),2)) AND REF(C,1)=REF(L,1),1,0); DT2:IF((REF(REF(C,1),2)-REF(C,1))*100/REF(REF(C,1),2)>=(10-0.01*100/REF(REF(C,1),2)) AND REF(C,1)=REF(L,1),1,0); DT3:IF((REF(REF(C,1),2)-REF(C,1))*100/REF(REF(C,1),2)>=(10-0.01*100/REF(REF(C,1),2)) AND REF(C,1)=REF(L,1),1,0); HJ:HIGH; LJ:LOW; OJ:OPEN; CJ:CLOSE; ZS:REF(CLOSE,1); H0:REF(HIGH,1); L0:REF(LOW,1); O0:REF(OPEN,1); C0:REF(CLOSE,1); O1:REF(OPEN,1); C1:REF(CLOSE,1); H1:REF(HIGH,1); L1:REF(LOW,1); O2:REF(OPEN,2); C2:REF(CLOSE,2); H2:REF(HIGH,2); L2:REF(LOW,2); O3:REF(OPEN,3); C3:REF(CLOSE,3); H3:REF(HIGH,3); L3:REF(LOW,3); 宗MA3:MA(C,3),COLOR00005C; 红MA5:MA(C,5),COLOR0000FF; 橙MA7:MA(C,7),COLOR0060FF; 黄MA13:MA(C,13),COLOR00FFFF; 2.{小散之家分时主图} H0:=REF(HIGH,1); L0:=REF(LOW,1); O0:=REF(OPEN,1); C0:=REF(CLOSE,1); OJ:="SS.OJ#DAY"; CJ:="SS.CJ#DAY"; HJ:="SS.HJ#DAY"; LJ:="SS.LJ#DAY"; O1:="SS.O1#DAY"; C1:="SS.C1#DAY"; H1:="SS.H1#DAY"; L1:="SS.L1#DAY"; O2:="SS.O2#DAY"; C2:="SS.C2#DAY"; H2:="SS.H2#DAY"; L2:="SS.L2#DAY"; O3:="SS.O3#DAY"; C3:="SS.C3#DAY"; H3:="SS.H3#DAY"; L3:="SS.L3#DAY"; ZTJ:="SS.ZTJ#DAY"; ZT1:="SS.ZT1#DAY"; ZT2:="SS.ZT2#DAY"; ZT3:="SS.ZT3#DAY"; DTJ:="SS.DTJ#DAY"; DT1:="SS.DT1#DAY"; DT2:="SS.DT2#DAY"; DT3:="SS.DT3#DAY"; {均线间彩带} EEF3:=IF(BETWEEN(TIME,093100,150000),"SS.宗MA3#DAY",DRAWNULL); EEF5:=IF(BETWEEN(TIME,093100,150000),"SS.红MA5#DAY",DRAWNULL); EEF7:=IF(BETWEEN(TIME,093100,150000),"SS.橙MA7#DAY",DRAWNULL); EEF13:=IF(BETWEEN(TIME,093100,150000),"SS.黄MA13#DAY",DRAWNULL); ZGD:=(HJ+H1+H2+H3)/4; DRAWBAND(EEF3,RGB(40,40,250),EEF13,RGB(40,40,250)); DRAWBAND(EEF5,RGB(40,40,250),EEF13,RGB(40,40,250)); DRAWBAND(EEF7,RGB(40,40,250),EEF13,RGB(40,40,250)); {彩色框} DRAWTEXT_FIX(1,0.05,0.26,0,'跌停K线白色'),COLORFFFFFF; DRAWTEXT_FIX(1,0.13,0.26,0,'涨停K线粉色'),COLORFF00FF; DRAWRECTREL(230,250,340,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.235,0.26,0,STRCAT(STRCAT('宗色3日线',CON2STR(EEF3,2)),'元')),COLOR000000; DRAWRECTREL(355,250,465,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.360,0.26,0,STRCAT(STRCAT('红色5日线',CON2STR(EEF5,2)),'元')),COLOR000000; DRAWRECTREL(480,250,590,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.485,0.26,0,STRCAT(STRCAT('橙色7日线',CON2STR(EEF7,2)),'元')),COLOR000000; DRAWRECTREL(605,250,725,330,RGB(0,180,100)); DRAWTEXT_FIX(1,0.610,0.26,0,STRCAT(STRCAT('黄s13日线',CON2STR(EEF13,2)),'元')),COLOR000000; DRAWRECTREL(740,250,860,330,RGB(150,10,200)); DRAWTEXT_FIX(1,0.745,0.26,0,STRCAT(STRCAT('绿色昨最低',CON2STR("SS.L0#DAY",2)),'元')),COLOR000000; DRAWRECTREL(865,250,985,330,RGB(150,10,200)); DRAWTEXT_FIX(1,0.870,0.26,0,STRCAT(STRCAT('绿色昨最高',CON2STR("SS.H0#DAY",2)),'元')),COLOR000000; 回调昨日:=C<="SS.L0#DAY"; 超昨低点:=CROSS(回调昨日,0.01); 昨低点:"SS.L0#DAY",COLOR00FF00; 昨高点:"SS.H0#DAY",COLOR00FF00; E14:=IF(BETWEEN(TIME,094500,094500),OJ,DRAWNULL); E24:=IF(BETWEEN(TIME,094500,094500),CJ,DRAWNULL); E1:=IF(BETWEEN(TIME,094000,094000),O1,DRAWNULL); E2:=IF(BETWEEN(TIME,094000,094000),C1,DRAWNULL); E12:=IF(BETWEEN(TIME,093600,093600),O2,DRAWNULL); E22:=IF(BETWEEN(TIME,093600,093600),C2,DRAWNULL); E13:=IF(BETWEEN(TIME,093200,093200),O3,DRAWNULL); E23:=IF(BETWEEN(TIME,093200,0932000),C3,DRAWNULL); {均线支撑} EE3:IF(BETWEEN(TIME,93100,200000),"SS.宗MA3#DAY",DRAWNULL),COLOR0052A3,LINETHICK4; EE5:IF(BETWEEN(TIME,93100,200000),"SS.红MA5#DAY",DRAWNULL),COLOR0000FF,LINETHICK4; EE7:IF(BETWEEN(TIME,93100,200000),"SS.橙MA7#DAY",DRAWNULL),COLOR0060FF,LINETHICK4; EE13:IF(BETWEEN(TIME,93100,200000),"SS.黄MA13#DAY",DRAWNULL),COLOR00FFFF,LINETHICK4; {K线最高与最低} STICKLINE(TIME=093800 AND CJ>OJ,HJ,LJ,0,0),COLOR0000CC; STICKLINE(TIME=093800 AND CJ>OJ,OJ,CJ,8,0),COLOR0000CC; STICKLINE(TIME=093800 AND ZTJ,HJ,LJ,0,0),COLORFF00FF; STICKLINE(TIME=093800 AND ZTJ,OJ,CJ,8,0),COLORFF00FF; STICKLINE(TIME=093800 AND CJ<OJ,HJ,LJ,0,0),COLORFFFF54; STICKLINE(TIME=093800 AND CJ<OJ,OJ,CJ,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DTJ,OJ,CJ,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DTJ,HJ,LJ,0,0),COLORFFFFFF; STICKLINE(TIME=093800 AND CJ=OJ,HJ,LJ,0,0),COLORWHITE; STICKLINE(TIME=093800 AND CJ=OJ,OJ+0.005,CJ,8,0),COLORWHITE; DRAWBAND(IF(CJ>OJ,E24,DRAWNULL),RGB(204,0,0),E14,RGB(204,0,0)); DRAWBAND(IF(CJ<OJ,E24,DRAWNULL),RGB(84,255,255),E14,RGB(84,255,255)); DRAWBAND(IF(CJ=OJ,E24,DRAWNULL),RGB(255,255,255),E14,RGB(255,255,255)); {昨前天最高与最低} STICKLINE(TIME=093600 AND C1>O1,H1,L1,0,0),COLOR0000CC; STICKLINE(TIME=093600 AND C1>O1,C1,O1,8,0),COLOR0000CC; STICKLINE(TIME=093600 AND ZT1,H1,L1,0,0),COLORFF00FF; STICKLINE(TIME=093600 AND ZT1,O1,C1,8,0),COLORFF00FF; STICKLINE(TIME=093600 AND C1<O1,H1,L1,0,0),COLORFFFF54; STICKLINE(TIME=093600 AND C1<O1,C1,O1,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DT1,O1,C1,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DT1,H1,L1,0,0),COLORFFFFFF; STICKLINE(TIME=093600 AND C1=O1,H1,L1,0,0),COLORWHITE; STICKLINE(TIME=093600 AND C1=O1,C1+0.005,O1,8,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)); {前天最高与最低} STICKLINE(TIME=093400 AND C2>O2,H2,L2,0,0),COLOR0000CC; STICKLINE(TIME=093400 AND C2>O2,C2,O2,8,0),COLOR0000CC; STICKLINE(TIME=093400 AND ZT2,H2,L2,0,0),COLORFF00FF; STICKLINE(TIME=093400 AND ZT2,O2,C2,8,0),COLORFF00FF; STICKLINE(TIME=093400 AND C2<O2,H2,L2,0,0),COLORFFFF54; STICKLINE(TIME=093400 AND C2<O2,C2,O2,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DT2,O2,C2,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DT2,H2,L2,0,0),COLORFFFFFF; STICKLINE(TIME=093400 AND C2=O2,H2,L2,0,0),COLORWHITE; STICKLINE(TIME=093400 AND C2=O2,C2+0.005,O2,8,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)); {大前天最高与最低} STICKLINE(TIME=093200 AND C3>O3,H3,L3,0,0),COLOR0000CC; STICKLINE(TIME=093200 AND C3>O3,C3,O3,8,0),COLOR0000CC; STICKLINE(TIME=093200 AND ZT3,H3,L3,0,0),COLORFF00FF; STICKLINE(TIME=093200 AND ZT3,O3,C3,8,0),COLORFF00FF; STICKLINE(TIME=093200 AND C3<O3,H3,L3,0,0),COLORFFFF54; STICKLINE(TIME=093200 AND C3<O3,C3,O3,8,0),COLORFFFF54; STICKLINE(TIME=093800 AND DT3,O3,C3,8,0),COLORFFFFFF; STICKLINE(TIME=093800 AND DT3,H3,L3,0,0),COLORFFFFFF; STICKLINE(TIME=093200 AND C3=O3,H3,L3,0,0)
[url=http://www.70822.com/soft/sort013/sort05/down-57797.html]小散之家实盘分时操盘系统--(三只分时源码公式,贴图)[/url]