分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]通达信天马七绝剑指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2017-09-13 01:45:22
软件简介:

{fsky}
今量:vol;
昨量:ref(vol,1);
前量:ref(vol,2);
昨开:ref(o,1);
昨收:ref(c,1);
前开:ref(o,2);
前收:ref(c,2);
zo:ref(o,1);
zc:ref(c,1);
zh:ref(h,1);
zl:ref(l,1);
jo:ref(o,2);
jc:ref(c,2);
jh:ref(h,2);
jl:ref(l,2);
jo3:ref(o,3);
jc3:ref(c,3);
jh3:ref(h,3);
jl3:ref(l,3);
jo4:ref(o,4);
jc4:ref(c,4);
jh4:ref(h,4);
jl4:ref(l,4);
jo5:ref(o,5);
jc5:ref(c,5);
jh5:ref(h,5);
jl5:ref(l,5);
jo6:ref(o,6);
jc6:ref(c,6);
jh6:ref(h,6);
jl6:ref(l,6);
jo7:ref(o,7);
jc7:ref(c,7);
jh7:ref(h,7);
jl7:ref(l,7);
jo8:ref(o,8);
jc8:ref(c,8);
jh8:ref(h,8);
jl8:ref(l,8);
jo9:ref(o,9);
jc9:ref(c,9);
jh9:ref(h,9);
jl9:ref(l,9);
ma5:ma(c,5);
ma10:ma(c,10);
ma20:ma(c,20);
ma30:ma(c,30);
ma60:ma(c,60);
上涨家数:indexadv;
下跌家数:indexdec;


------------------------------------------------------------------------------------------------------------------------

主图源码:

前量:="FSKY.前量#DAY";
昨量:="FSKY.昨量#DAY";
今量:="FSKY.今量#DAY";
前总:=前量;
昨总:=昨量;
总:=今量,NODRAW;
BMM:=MAX(前总,昨总);
AMM:=IF(总/BMM>2,BMM*3,BMM);
MM:=200/AMM;
KP:=DYNAINFO(4);
ZX:=DYNAINFO(7);
A1:=IF(ZX>=KP,355,0);
A2:=IF(ZX>=KP,0,355);
A3:=IF(ZX>=KP,0,0);{www.70822.com}
DRAWRECTREL(0,80,MM*今量,110,RGB(A1,A2,A3));
昨开:="FSKY.昨开#DAY";
昨收:="FSKY.昨收#DAY";
A4:=IF(昨收>=昨开,355,0);
A5:=IF(昨收>=昨开,0,355);
A6:=IF(昨收>=昨开,0,0);
DRAWRECTREL(0,40,MM*昨量,70,RGB(A4,A5,A6));
前开:="FSKY.前开#DAY";
前收:="FSKY.前收#DAY";
A7:=IF(前收>=前开,355,0);
A8:=IF(前收>=前开,0,355);
A9:=IF(前收>=前开,0,0);
DRAWRECTREL(0,0,MM*前量,30,RGB(A7,A8,A9));
{分时K线}
ZS:=DYNAINFO(3);
ZG:=DYNAINFO(5);
ZD:=DYNAINFO(6);
OP:=500-(KP/ZS-1)*4000;
CL:=500-(ZX/ZS-1)*4000;
HI:=500-(ZG/ZS-1)*4000;
LO:=500-(ZD/ZS-1)*4000;
N1:=IF(TIME>=130000 OR TIME<91500,360,900);
DRAWRECTREL(N1+4,OP,N1+8,HI,RGB(350,0,350));
DRAWRECTREL(N1+4,CL,N1+8,LO,RGB(0,355,0));
Q1:=IF(ZX>=KP,350,0);
Q2:=IF(ZX>=KP,0,350);
Q3:=IF(ZX>=KP,0,0);
DRAWRECTREL(N1-10,OP,N1+22,CL,RGB(Q1,Q2,Q3));
ZO:="FSKY.ZO#DAY";
ZC:="FSKY.ZC#DAY";
ZH:="FSKY.ZH#DAY";
ZL:="FSKY.ZL#DAY";
ZKP:=500-(ZO/ZS-1)*4000;
ZCP:=500-(ZC/ZS-1)*4000;
ZZG:=500-(ZH/ZS-1)*4000;
ZZD:=500-(ZL/ZS-1)*4000;
DRAWRECTREL(N1-36,ZKP,N1-32,ZZG,RGB(355,0,355));
DRAWRECTREL(N1-36,ZCP,N1-32,ZZD,RGB(0,355,0));
Q4:=IF(ZC>=ZO,355,0);
Q5:=IF(ZC>=ZO,0,355);
Q6:=IF(ZC>=ZO,0,0);
DRAWRECTREL(N1-49,ZKP,N1-17,ZCP,RGB(Q4,Q5,Q6));
JO:="FSKY.JO#DAY";
JC:="FSKY.JC#DAY";
JH:="FSKY.JH#DAY";
JL:="FSKY.JL#DAY";
ZZKP:=500-(JO/ZS-1)*4000;
ZZCP:=500-(JC/ZS-1)*4000;
ZZZG:=500-(JH/ZS-1)*4000;
ZZZD:=500-(JL/ZS-1)*4000;
DRAWRECTREL(N1-76,ZZKP,N1-72,ZZZG,RGB(355,0,355));
DRAWRECTREL(N1-76,ZZCP,N1-72,ZZZD,RGB(0,355,0));
Q7:=IF(JC>=JO,355,0);
Q8:=IF(JC>=JO,0,355);
Q9:=IF(JC>=JO,0,0);
DRAWRECTREL(N1-89,ZZKP,N1-57,ZZCP,RGB(Q7,Q8,Q9));
JO3:="FSKY.JO3#DAY";
JC3:="FSKY.JC3#DAY";
JH3:="FSKY.JH3#DAY";
JL3:="FSKY.JL3#DAY";
ZZKP3:=500-(JO3/ZS-1)*4000;
ZZCP3:=500-(JC3/ZS-1)*4000;
ZZZG3:=500-(JH3/ZS-1)*4000;
ZZZD3:=500-(JL3/ZS-1)*4000;
DRAWRECTREL(N1-116,ZZKP3,N1-112,ZZZG3,RGB(355,0,355));
DRAWRECTREL(N1-116,ZZCP3,N1-112,ZZZD3,RGB(0,355,0));
Q10:=IF(JC3>=JO3,355,0);
Q11:=IF(JC3>=JO3,0,355);
Q12:=IF(JC3>=JO3,0,0);
DRAWRECTREL(N1-129,ZZKP3,N1-97,ZZCP3,RGB(Q10,Q11,Q12));
JO4:="FSKY.JO4#DAY";
JC4:="FSKY.JC4#DAY";
JH4:="FSKY.JH4#DAY";
JL4:="FSKY.JL4#DAY";
ZZKP4:=500-(JO4/ZS-1)*4000;
ZZCP4:=500-(JC4/ZS-1)*4000;
ZZZG4:=500-(JH4/ZS-1)*4000;
ZZZD4:=500-(JL4/ZS-1)*4000;
DRAWRECTREL(N1-156,ZZKP4,N1-152,ZZZG4,RGB(355,0,355));
DRAWRECTREL(N1-156,ZZCP4,N1-152,ZZZD4,RGB(0,355,0));
Q13:=IF(JC4>=JO4,355,0);
Q14:=IF(JC4>=JO4,0,355);
Q15:=IF(JC4>=JO4,0,0);
DRAWRECTREL(N1-169,ZZKP4,N1-137,ZZCP4,RGB(Q13,Q14,Q15));
JO5:="FSKY.JO5#DAY";
JC5:="FSKY.JC5#DAY";
JH5:="FSKY.JH5#DAY";
JL5:="FSKY.JL5#DAY";
ZZKP5:=500-(JO5/ZS-1)*4000;
ZZCP5:=500-(JC5/ZS-1)*4000;
ZZZG5:=500-(JH5/ZS-1)*4000;
ZZZD5:=500-(JL5/ZS-1)*4000;
DRAWRECTREL(N1-196,ZZKP5,N1-192,ZZZG5,RGB(355,0,355));
DRAWRECTREL(N1-196,ZZCP5,N1-192,ZZZD5,RGB(0,355,0));
Q16:=IF(JC5>=JO5,355,0);
Q17:=IF(JC5>=JO5,0,355);
Q18:=IF(JC5>=JO5,0,0);
DRAWRECTREL(N1-209,ZZKP5,N1-177,ZZCP5,RGB(Q16,Q17,Q18));




分时均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;
D:CLOSE,LINETHICK2,COLORWHITE;RCC:=DYNAINFO(3);
S2:=SMA(C,2,1);
S6:=SMA(C,3,1);
DK:=8*(S2-S6);
KK:=IF(PERIOD=8,0.95,1);

XG:HHV(H,480),COLORRED,LINETHICK9;
STICKLINE(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,C,8,0),COLORYELLOW;
DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10),C*0.99,'★■ '),COLORRED;

XY:LLV(H,480),COLOR00FF00,LINETHICK9;
STICKLINE(FILTER(CROSS(C,REF(XY,1)),10),C*0.99,C,8,0),COLOR00FF00;
DRAWTEXT(FILTER(CROSS(C,REF(XY,1)),10),C*0.99,'★■'),COLORYELLOW;

分时线:CLOSE,COLORWHITE;
大单动向:="DDX.大单动向#DAY",NODRAW;
DRAWTEXT_FIX(1,0.537,0.99,0,'DDX:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.577,0.99,0,CONST(大单动向)),COLORRED;

涨跌动因:="DDY.涨跌动因#DAY",NODRAW;
DRAWTEXT_FIX(1,0.637,0.99,0,'DDY:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.677,0.99,0,CONST(涨跌动因)),COLORRED;

大单差分:="DDZ.大单差分#DAY",NODRAW;
DRAWTEXT_FIX(1,0.737,0.99,0,'DDZ:'),COLORWHITE;
DRAWNUMBER_FIX(1,0.777,0.99,0,CONST(大单差分)),COLORRED;

AAA:DYNAINFO(5),COLORWHITE,LINETHICK1,POINTDOT;{最高}
BBB:DYNAINFO(6),COLORWHITE,LINETHICK1,POINTDOT;{最低}
CCC:=AAA-BBB;中G:(AAA+BBB)/2,COLORWHITE,LINETHICK1,POINTDOT;{中}
上顶:BBB+CCC*7/8,COLORWHITE,DOTLINE;
阻力:BBB+CCC*2/3,COLORWHITE,LINETHICK1,POINTDOT;
支撑:BBB+CCC/3,COLORWHITE,LINETHICK1,POINTDOT;
下底:BBB+CCC*1/8,COLORWHITE,DOTLINE;

DRAWNUMBER(CURRBARSCOUNT=12,AAA*0.9995,AAA),COLORFFAAFF;
DRAWNUMBER(CURRBARSCOUNT=12,BBB,BBB),COLORDDDD00;
DRAWNUMBER(CURRBARSCOUNT=12,中G,中G),COLORDDDDDD;
DRAWNUMBER(CURRBARSCOUNT=12,上顶,上顶),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,阻力,阻力),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,支撑,支撑),COLOR00FFFF;
DRAWNUMBER(CURRBARSCOUNT=12,下底,下底),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=20,AAA*0.9995,'最高:'),COLORFFAAFF;
DRAWTEXT(CURRBARSCOUNT=20,BBB,'最低:'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=20,上顶,'上顶:'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=20,阻力,'阻力:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=20,支撑,'支撑:'),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=20,下底,'下底:'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=20,中G,'平衡:'),COLOREEEEEE;

DRAWTEXT(LONGCROSS(下底,分
[url=http://www.70822.com/soft/sort013/sort05/down-116023.html]通达信天马七绝剑指标公式[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒