软件名称:[B]分时主图用“五档价格区间线“(源码、主图 、贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2012-01-04 02:04:43
软件简介:
ZSR:=DYNAINFO( 3);{前收盘价 即时行情数据}
GDK:=(SMA(C,2,1)-SMA(C,6,1))*2.1;
STICKLINE(GDK>0,ZSR,ZSR+GDK,0,0) ,COLOR5151A2;
STICKLINE(GDK<=0,ZSR,ZSR+GDK,0,0) ,COLOR74743A;
STICKLINE(GDK>0 ,ZSR+GDK*0.05,ZSR+GDK*0.15,0,0) ,COLOR0077FF;
STICKLINE(GDK>0 ,ZSR+GDK*0.2,ZSR+GDK*0.35,0,0) ,COLOR0088FF;
STICKLINE(GDK>0 ,ZSR+GDK*0.4,ZSR+GDK*0.55,0,0) ,COLOR0099FF;
STICKLINE(GDK>0 ,ZSR+GDK*0.6,ZSR+GDK*0.75,0,0) ,COLOR00CCFF;
STICKLINE(GDK>0 ,ZSR+GDK*0.8,ZSR+GDK*0.95,0,0) ,COLOR00DDDD;
STICKLINE(GDK>0 ,ZSR+GDK*0.86,ZSR+GDK*0.999,0,0) ,COLOR00FFFF;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.05),(ZSR+GDK*0.15),0,0) ,COLOR006600;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.2),(ZSR+GDK*0.35),0,0) ,COLOR009900;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.4),(ZSR+GDK*0.55),0,0) ,COLOR00CC00;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.6),(ZSR+GDK*0.75),0,0) ,COLOR00FF00;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.8),(ZSR+GDK*0.95),0,0) ,COLOR55FF00;
STICKLINE(GDK<=0 ,(ZSR+GDK*0.86),(ZSR+GDK*0.999),0,0) ,COLOR99FF00;
DRAWTEXT_FIX(1,0.06,0,0,'所属行业:')COLOR0080FF;
DRAWTEXT_FIX(1,0.12,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.18,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.24,0,0,DYBLOCK)COLOR00FFFF;
HH:DYNAINFO(5),COLORDDAADD,LINETHICK1;{最高} LL:DYNAINFO(6),COLOR888800,LINETHICK1;{最低} 中G:(HH+LL)/2,COLOR999999,LINETHICK1;{中}
{四线}
AAA:=DYNAINFO(5); BBB:=DYNAINFO(6); CCC:=AAA-BBB;
上顶:BBB+CCC*7/8,COLOR008800,DOTLINE;
阻力:BBB+CCC*2/3,COLOR777700,DOTLINE;
支撑:BBB+CCC/3,COLOR777700,DOTLINE;
下底:BBB+CCC*1/8,COLOR447777,DOTLINE;
DRAWNUMBER(BARSTATUS=1,HH*0.9995,HH),COLORFFAAFF;
DRAWNUMBER(BARSTATUS=1,LL,LL),COLORDDDD00;{
DRAWNUMBER_FIX(BARSTATUS=1,0.00,0,0,HH);}
DRAWNUMBER(BARSTATUS=1,中G,中G),COLORDDDDDD;
DRAWNUMBER(BARSTATUS=1,上顶,上顶),COLOR00FFFF;
DRAWNUMBER(BARSTATUS=1,阻力,阻力),COLOR00FFFF;
DRAWNUMBER(BARSTATUS=1,支撑,支撑),COLOR00FFFF;
DRAWNUMBER(BARSTATUS=1,下底,下底),COLOR00FFFF;
DRAWTEXT(BARSTATUS=1,上顶,' :上顶'),COLOR00FF00;
DRAWTEXT(BARSTATUS=1,阻力,' :阻力'),COLORFFFF00;
DRAWTEXT(BARSTATUS=1,支撑,' :支撑'),COLORFFFF00;
DRAWTEXT(BARSTATUS=1,下底,' :下底'),COLOR00FFFF;
DRAWTEXT(BARSTATUS=1,中G,' :平衡'),COLOREEEEEE;
JJ:SUM(C*V,0)/SUM(V,0),COLOR00FFFF;
这部份可替换
DRAWNUMBER(CURRBARSCOUNT=232,AAA*0.9995,AAA),COLORFFAAFF;
DRAWNUMBER(CURRBARSCOUNT=232,BBB,BBB),COLORDDDD00;
DRAWNUMBER(CURRBARSCOUNT=232,中G,中G),COLORDDDDDD;
DRAWNUMBER(CURRBARSCOUNT=232,上顶,上顶),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=232,阻力,阻力),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=232,支撑,支撑),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=232,下底,下底),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=240,AAA*0.9995,'最高:'),COLORFFAAFF;
DRAWTEXT(CURRBARSCOUNT=240,BBB,'最低:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=240,上顶,'上顶:'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=240,阻力,'阻力:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=240,支撑,'支撑:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=240,下底,'下底:'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=240,中G,'平衡:'),COLOREEEEEE;
[url=http://www.70822.com/soft/sort013/sort05/down-42815.html]分时主图用“五档价格区间线“(源码、主图 、贴图)[/url]