软件名称:[B]照葫芦画瓢在模仿 分时K线(源码+图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2011-12-10 06:24:13
软件简介:
不是故意模仿哦 是你的思路很好 固模仿 这跟K线随着分时线实时跟者均线走 分时指标里再加一个成交量 本人认为晴天老师的分时K线就是模拟的立体K而已。这是个人判断对与错只有他本人知道。分时的那些数据都是引用数据,不足以大惊小怪 希望大家一起探讨。得罪了希望谅解。希望和上次一样,再出现高手继续优化
{原文来自:红旗飘飘老师}
input:LONG(26,20,100),SHORT(12,5,40),M(9,2,60);
a1:=1;
a2:=DYNAINFO(14);
a3:=(FINANCE2(37));
a4:=(FINANCE2(3));
a5:=DYNAINFO(17);
a6:=(MA(CLOSE,0)) * a1;
a7:=(MA(a6,0)) * a1;
a8:=a6 - a7;
STICKLINE((a6 > a7),a6,a7,0.8,501),linethick1,colorRed;
STICKLINE((a7 > a6),a6,a7,0.8,1),linethick1;
DRAWICON(((CROSS(a7,a6)) AND (TIME > 93200)),a6,8),colorGreen;
DRAWICON(((CROSS(a6,a7)) AND (TIME > 93200)),a6,7),colorYellow;
DRAWTEXTABS(10,10,STKLABEL+' '+STKNAME+' '+BKNAME),COLOR00FFFF;
DRAWTEXTABS(CLOSE,25,' ======================'),COLORRED;
DRAWTEXTABS(CLOSE,105,' ======================'),COLORRED;
DRAWTEXTABS(CLOSE,41,' 买入条件 E13 CCI'),colorYellow;
DRAWTEXTABS(CLOSE,57,' 买入时间 2:30以后' ),colorYellow;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;
明日阻力:=2*E-LOW;
明日支撑:=2*E-HIGH;
明日突破:=E+(HIGH-LOW);
明日反转:=E-(HIGH-LOW);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
DRAWTEXTABS(200,25,'今日阻力=:'+NUMTOSTR(今日阻力)),ColorFFFF00;
DRAWTEXTABS(200,41,'今日支撑=:'+NUMTOSTR(今日支撑)),Colorred;
DRAWTEXTABS(200,57,'明日突破=:'+NUMTOSTR(明日突破)),ColorFF00FF;
DRAWTEXTABS(200,73,'明日阻力=:'+NUMTOSTR(明日阻力)),ColorFFFF00;
DRAWTEXTABS(200,89,'明日支撑=:'+NUMTOSTR(明日支撑)),COLORRED;
DRAWTEXTABS(200,105,'明日反转=:'+NUMTOSTR(明日反转)),COLORYellow;
预测1:=(C+H+L)/3;
预测2:=H-L;
预测4:=预测1+预测2;
预测5:=预测1-预测2;
预测6:=2*预测1-L;
预测7:=2*预测1-H;
预测9:=BARSTATUS=2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测4,预测5,1,1000),COLOR102070,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测4,预测5,0,1000),COLOR1020E0,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,8,1000),COLOR102070,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,7,1000),COLOR102080,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,6,1000),COLOR102090,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,5,1000),COLOR1020A0,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,4,1000),COLOR1020B0,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,3,1000),COLOR1020C0,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,2,1000),COLOR1020D0,LINETHICK2;
STICKLINE(预测9>0 AND 预测6>REF(C,1),预测6,预测7,1,1000),COLOR1020E0,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测4,预测5,1,1000),COLOR105510,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测4,预测5,0,1000),COLOR10CC10,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,8,1000),COLOR105510,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,7,1000),COLOR106610,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,6,1000),COLOR107710,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,5,1000),COLOR108810,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,4,1000),COLOR109910,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,3,1000),COLOR10AA10,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,2,1000),COLOR10BB10,LINETHICK2;
STICKLINE(预测9>0 AND 预测6<=REF(C,1),预测6,预测7,1,1000),COLOR10CC10,LINETHICK2;
gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
加入成交量以后的效果图
[url=http://www.70822.com/soft/sort013/sort03/down-41901.html]照葫芦画瓢在模仿 分时K线(源码+图)[/url]