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

软件名称:[B]通达信凯恩斯工作线主图源码[/B]
软件类型:国产软件
运行环境:Win2000/WinXP/Win2003/WinVista
软件语言:简体中文
授权方式:共享软件
软件大小:2.00 KB
官方主页:Home Page
更新时间:2013-09-01 04:38:46
软件简介:

通达信凯恩斯工作线主图源码

X0:=IF(C>=REF(C,1),AMOUNT/10000,0);
X1:=IF(C<REF(C,1),AMOUNT/10000,0);
DD:=(X0-X1);
EE:=VOL/SUM(VOL,55);
LC:=REF(CLOSE,1);
JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
CP:=FILTER(CROSS(75,JH),11);
ZP:=FILTER(CROSS(JH,25),22);
DP:=IF(C>1000,(DD/10000000000)/EE,DD/(FINANCE(33)*FINANCE(37)/4))*100;
七天线:MA(C,7),COLORFFFFFF;
工作线:EMA(C,14),POINTDOT,LINETHICK4,COLORYELLOW;
生命线:MA(C,22),LINETHICK2,COLORFF00FF;
季线:MA(C,66),LINETHICK2,COLOR0000FF;
半年线:MA(C,120),LINETHICK2,COLORFFFF00;
长期趋势线:MA(C,240),CIRCLEDOT,COLOREEBBEE;
A0:=ZP;
A1:=CP;
A2:=DP;
STICKLINE((A2>=2.1),H,L,0,1),COLORGREEN;
STICKLINE(((A2>=2.1) AND (C>REF(C,1))),O,C,3,1),COLORGREEN;
STICKLINE(((A2>=2.1) AND (C<REF(C,1))),C,O,3,0),COLORGREEN;
{WWW.70822.com 股旁网_通达信股票指标公式}
STICKLINE(((A2>0) AND (A2<5)),H,L,0,1),COLORRED;
STICKLINE((((A2>0) AND (A2<5)) AND (C>REF(C,1))),O,C,3,0),COLORRED;
STICKLINE((((A2>0) AND (A2<5)) AND (C<REF(C,1))),C,O,3,1),COLORRED;
STICKLINE(((C>=工作线) AND (C>REF(C,1))),H,L,0,1),COLORRED;
STICKLINE(((C>=工作线) AND (C>REF(C,1))),O,C,3,1),COLORRED;
STICKLINE(((C>=工作线) AND (C<REF(C,1))),H,L,0,0),COLORRED;
STICKLINE(((C>=工作线) AND (C<REF(C,1))),O,C,3,0),COLORRED;
STICKLINE(((C<工作线) AND (C>REF(C,1))),H,L,0,1),COLORGREEN;
STICKLINE(((C<工作线) AND (C>REF(C,1))),O,C,3,1),COLORGREEN;
STICKLINE(((C<工作线) AND (C<REF(C,1))),H,L,0,0),COLORGREEN;
STICKLINE(((C<工作线) AND (C<REF(C,1))),O,C,3,0),COLORGREEN;
DRAWTEXT(A0,L,' ̄ ̄'),LINETHICK2,COLORFFFFFF;
DRAWTEXT(A0,L*0.999,' B-B'),LINETHICK5,COLORFFFFFF;
DRAWTEXT(A1,H,' ̄ ̄'),LINETHICK2,COLORCYAN;
DRAWTEXT(A1,H*1.001,' S-S'),LINETHICK5,COLORCYAN;
STICKLINE(A1,C,O,3,0),COLORFFFF00;
STICKLINE(A1,H,L,0,0),COLORFFFF00;
STICKLINE(A0,C,O,3,0),COLORFFFFFF;
STICKLINE(A0,H,L,0,0),COLORFFFFFF;
STICKLINE((A2>=10 AND A2<30),C,O,0,0),COLORFFBBFF;
STICKLINE((A2>=10 AND A2<30),C,O,2,0),COLORMAGENTA;
STICKLINE((A2>=10 AND A2<30),C,O,2.6,0),COLORFF22FF;
STICKLINE((A2>=10 AND A2<30),C,O,2.2,0),COLORFF44FF;
STICKLINE((A2>=10 AND A2<30),C,O,1.8,0),COLORFF66FF;
STICKLINE((A2>=10 AND A2<30),C,O,1.4,0),COLORFF88FF;
STICKLINE((A2>=10 AND A2<30),C,O,1,0),COLORFF99FF;
STICKLINE((A2>=10 AND A2<30),C,O,0.6,0),COLORFFAAFF;
STICKLINE((A2>=10 AND A2<30),C,O,0,0),COLORFFBBFF;
A3:=EMA((((SLOPE(C,21)) * 20) + C),68);
A4:=EMA(C,10);
A5:=REF(C,2);
A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;
A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);
DRAWTEXT((CROSS(A4,A3)),L,'△'),LINETHICK2,COLORYELLOW;
DRAWTEXT(A7,H,'○'),LINETHICK3,COLORGREEN;
A8:=LLV(L,21);
A9:=HHV(H,21);
A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);
A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);
A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);
A13:=LLV(L,55);
A14:=HHV(H,34);
A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);
A16:=(A11 + A15) / 2;
A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);
A18:=EMA(A16,5);
A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);
A20:=CROSS(A10,A11);
A21:=(CROSS(A10,A19)) AND (A19 < 30);
A22:=A21 * 0.6;
DRAWTEXT((A22 = 0.6),L,'◇'),COLORYELLOW;
DRAWTEXT((A20 = 1),L,'◇'),COLORWHITE;

凯恩斯工作线


[url=http://www.70822.com/soft/sort013/sort05/down-45973.html]通达信凯恩斯工作线主图源码[/url]

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