您现在的位置:好股网 >> 股票公式 >> 通达信公式

精确地 短线指标 副图源码

[下载地址]
  • 更新时间:2012-11-01 08:22:00
  • 指标功能:国产软件
  • 公式大小:0 Bytes
  • 解压密码:goodgupiao
  • 推荐星级:
  • 授权方式:共享版
  • 公式分类:通达信公式
  • 指标类型:简体中文
  • 运行环境:Win2000/WinXP/Win2003/
  • 所需积分:0
  • 相关Tags:

精确地 短线指标 副图源码介绍

好股网(www.goodgupiao.com)提示:您正在下载的是:精确地 短线指标 副图源码

【短线指标】源码:


NN:=BARSLAST(DATE!=REF(DATE,1))+1;
RHN:= REF(HHV(H,NN) ,0);
RLN:= REF(LLV(L,NN) ,0);
SJTJ:=DATE<20151230;
SJ:=SJTJ AND TIME<103000;
ZS:=IF(DATE<REF(DATE,1) OR DATE>REF(DATE,1),REF(C,1),REF(REF(C,1),BARSLAST(DATE<REF(DATE,1) OR DATE>REF(DATE,1))));
KP:=IF(DATE<REF(DATE,1) OR DATE>REF(DATE,1),O,REF(O,BARSLAST(DATE<REF(DATE,1) OR DATE>REF(DATE,1))));
开:IF(SJTJ AND TIME>090000, KP,DRAWNULL),LINETHICK0,COLORYELLOW;
高:IF(SJTJ,RHN,DRAWNULL),LINETHICK0,COLORMAGENTA;
低:IF(SJTJ,RLN,DRAWNULL),LINETHICK0,COLORYELLOW;
HH1:=IF(H <REF(H,4) AND REF(H,1)<REF(H,4) AND REF(H,2)<REF(H,4) AND REF(H,3)<REF(H,4),REF(H,4),0);
LL1:=IF(L >REF(L,4) AND REF(L,1)>REF(L,4) AND REF(L,2)>REF(L,4) AND REF(L,3)>REF(L,4),REF(L,4),0);
HH2:=IF(HH1>0,HH1,REF(HH1,BARSLAST(HH1>0)));
LL2:=IF(LL1>0,LL1,REF(LL1,BARSLAST(LL1>0)));
K1:=IF(C>HH2 ,-3,IF(C<LL2 ,1,0));
K2:=IF(K1<0 OR K1>0,K1,REF(K1,BARSLAST(K1<0 OR K1>0)));
GX:=IF(C>10000,0.001,0.0005);
HH22:=IF(C>20000,HH2+20,HH2*(1+GX));
LL22:=IF(C>20000,LL2-20,LL2*(1-GX));
G:=IF(K2=1,HH22,LL22);
支撑:IF(REF(K2,1)=-3 AND SJTJ,REF(G,1),DRAWNULL),LINETHICK2,COLORRED;
压力:IF(REF(K2,1)=1 AND SJTJ,REF(G,1),DRAWNULL),LINETHICK2,COLORGREEN;
W2:=(O-C);
HKX1:=W2>0 AND K2=-3 AND SJTJ;HKX2:=W2<=0 AND K2=-3 AND SJTJ;
LKX1:=W2>0 AND K2=1 AND SJTJ;LKX2:=W2<=0 AND K2=1 AND SJTJ;
STICKLINE(HKX1,O,C,3,0),COLORRED;
STICKLINE(HKX1,O,H,0.0,0),COLORRED;
STICKLINE(HKX1,C,L,0.0,0),COLORRED;
STICKLINE(HKX2,O,C,3,1),COLORRED;
STICKLINE(HKX2,O,L,0.0,0),COLORRED;
STICKLINE(HKX2,C,H,0.0,0),COLORRED;
STICKLINE(LKX1,O,C,3,0),COLORCYAN;
STICKLINE(LKX1,O,H,0.0,0),COLORCYAN;
STICKLINE(LKX1,C,L,0.0,0),COLORCYAN;
STICKLINE(LKX2,C,O,3,1),COLORCYAN;
STICKLINE(LKX2,C,H,0.0,0),COLORCYAN;
STICKLINE(LKX2,O,L,0.0,0),COLORCYAN;
GDK:=ABS(ZS-KP)/ZS>0.02;XB:=IF(C>13000,0.02,0.01);
GDK2:=ABS(ZS-KP)/ZS>XB;
KPGZ:=KP*1.0005;KPDZ:=KP*0.9995;
HS11:= SJ AND C>KPGZ AND GDK2;
LS11:= SJ AND C<KPDZ AND GDK2;
HS22:= SJ AND C>=KPDZ AND REF(C,1)>=KPDZ AND GDK2;
LS22:= SJ AND C<=KPGZ AND REF(C,1)<=KPGZ AND GDK2;
HS:= HS11 OR HS22 ;
LS:= LS11 OR LS22;
{DK1:=BARSLAST(DK);
KK1:=BARSLAST(KK);
DK2:=BARSLAST(CROSS(KK1,DK1));
KK2:=BARSLAST(CROSS(DK1,KK1));
HS:=DK2<KK2;LS:=KK2<DK2;}
GDJ:=IF(LS,RHN,RLN);
最高价:IF(C<KP AND TIME>090500 AND TIME<093000 , RHN,DRAWNULL),LINETHICK2,COLORGREEN;
最低价:IF(C>KP AND TIME>090500 AND TIME<093000 , RLN,DRAWNULL),LINETHICK2,COLORRED;
DRAWNUMBER(ISLASTBAR AND TIME>090500 AND TIME<103000 AND GDK,GDJ,GDJ),COLORMAGENTA;
HKX3:=W2>0 AND HS AND SJ;HKX4:=W2<=0 AND HS AND SJ;
LKX3:=W2>0 AND LS AND SJ;LKX4:=W2<=0 AND LS AND SJ;
STICKLINE(HKX3,O,C,2,0),COLORRED;
STICKLINE(HKX3,O,H,0.0,0),COLORRED;
STICKLINE(HKX3,C,L,0.0,0),COLORRED;
STICKLINE(HKX4,O,C,2,1),COLORRED;
STICKLINE(HKX4,O,L,0.0,0),COLORRED;
STICKLINE(HKX4,C,H,0.0,0),COLORRED;

STICKLINE(LKX3,O,C,2,0),COLORCYAN;
STICKLINE(LKX3,O,H,0.0,0),COLORCYAN;
STICKLINE(LKX3,C,L,0.0,0),COLORCYAN;
STICKLINE(LKX4,C,O,2,1),COLORCYAN;
STICKLINE(LKX4,C,H,0.0,0),COLORCYAN;
STICKLINE(LKX4,O,L,0.0,0),COLORCYAN;
GX1:=IF(C>8000,0.001,0.0005);
HDK:=(K2=1 AND REF(K2,1)=-3 AND TIME<103500 AND NOT(GDK2)) OR (K2=1 AND REF(K2,1)=-3 AND TIME>103500) OR (K2=1 AND REF(K2,1)=1 AND REF(HS,1) AND TIME=103500);
DRAWTEXT(HDK ,H*(1+GX1),1),COLORYELLOW;
LDD:=(K2=-3 AND REF(K2,1)=1 AND TIME<103500 AND NOT(GDK2)) OR (K2=-3 AND REF(K2,1)=1 AND TIME>103500) OR (K2=-3 AND REF(K2,1)=-3 AND REF(LS,1) AND TIME=103500);
DRAWTEXT(LDD ,LOW,2),COLORYELLOW;
ODD:=(HS AND TIME<=090500 AND C>KP AND SJTJ) OR (HS AND REF(LS,1) AND TIME>090500 AND TIME<=102500 AND SJTJ );
DRAWTEXT(ODD,O,2),COLORYELLOW;
ODK:=(LS AND TIME<=090500 AND C<KP AND SJTJ) OR (LS AND REF(HS,1) AND TIME>090500 AND TIME<=102500 AND SJTJ);
DRAWTEXT(ODK,O,1),COLORYELLOW;
KKK1:=IF(CLOSE>10000,0.01,0.005);
GDK1:=ABS(ZS-KP)/ZS>KKK1;
HS1:=TIME>090500 AND TIME<=103000 AND HS AND GDK1;
HSZY:=HS1 AND K2=1 AND (G-H<KP*0.002);
HSZD:=TIME>090500 AND TIME<=103000 AND HS AND (REF(HS,1)=1) AND K2=-3 AND (REF(K2,1)=1);
HSPD:=TIME>090500 AND TIME<=103000 AND HS AND K2=1 AND (REF(K2,1)=-3);
LS1:=TIME>090500 AND TIME<=103000 AND LS AND GDK1;
LSZY:=LS1 AND K2=-3 AND (L-G<KP*0.002);
LSZK:=TIME>090500 AND TIME<=103000 AND LS AND (REF(LS,1)=1) AND K2=1 AND (REF(K2,1)=-3);
LSPK:=TIME>090500 AND TIME<=103000 AND LS AND K2=-3 AND (REF(K2,1)=1);
ZY8L:=(HSZY AND (REF(NOT(HSZY),1)=1)) OR (LSZY AND (REF(NOT(LSZY),1)=1));
DRAWTEXT(GDK AND TIME<=090500 AND SJTJ,KP,3),COLORYELLOW;
XHL3:=IF(K2=-3,L,H);
{DRAWTEXT(ZY8L,XHL3,4),COLORYELLOW;}
DRAWTEXT(HSZD OR LSZK,O,5),COLORYELLOW;
GX3:=IF(C>7000,0.01,0.005);MXM:=RHN*(1+GX3);AAA:=CONST(MXM);
GX2:=IF(C>8000,0.002,0.001);
GX4:=IF(C>5000,6,5);
ZHZ20:=IF(TIME<090000,KP,DYNAINFO(20));
ZHZ12:=IF(TIME<090000,KP,DYNAINFO(12));
ZHZ14:=IF(TIME<090000,KP,DYNAINFO(14));
DRAWTEXT(C AND CURRBARSCOUNT=(GX4+4) AND ZHZ14>0 AND TIME>090000 AND C>3500,AAA, 6),COLORWHITE;
DRAWTEXT(C AND CURRBARSCOUNT=(GX4+4) AND ZHZ14<0 AND TIME>090000 AND C>3500,AAA, 7),COLORWHITE;
DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)<0 AND TIME>090000 AND C>3500 ,AAA*(1+GX2),ZHZ20),COLORGREEN;
DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)<0 AND TIME>090000 AND C>3500,AAA,ZHZ12),COLORGREEN;
DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)<0 AND TIME>090000 AND C>3500,AAA*(1-GX2),ZHZ14*100),COLORGREEN;
DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)>0 AND TIME>090000 AND C>3500,AAA*(1+GX2),ZHZ20),COLORRED;
DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)>0 AND TIME>090000 AND C>3500,AAA,ZHZ12),COLORRED;
DRAWNUMBER( CURRBARSCOUNT=GX4 AND DYNAINFO(14)>0 AND TIME>090000 AND C>3500,AAA*(1-GX2),ZHZ14*100),COLORRED;
BBB:=CONST(ZHZ20);
DRAWNUMBER(ISLASTBAR AND ((REF(K2,1)=1) OR (REF(K2,1)=-3)) ,REF(G,1),REF(G,1)),COLORYELLOW;
XHL1:=IF(K2=-3,H,L);XHL2:=IF(LS,H,L);
FJTJ:=(HS AND REF(HS,1) AND TIME<103000) OR (LS AND REF(LS,1) AND TIME<103000) OR (K2=1 AND REF(K2=1,1) AND TIME>103000) OR (K2=-3 AND REF(K2=-3,1) AND TIME>103000);
KJC:=FJTJ AND ((V>25000 AND C>45000) OR (V>42000 AND C>20000) OR (V>15000 AND C>13000 AND C<20000) OR (V>40000 AND C>5500 AND C<13000) OR (V>50000 AND C<6000)) AND TIME>091500 AND TIME<=145500;
KJC1:=KJC AND NOT(REF(KJC,1));
KJCZ:=IF(KJC1,XHL1,XHL2);
FJTJ1:=FJTJ AND (HSPD OR LSPK );
FJTJ2:=FJTJ AND (HSPD OR LSPK OR KJC1) AND NOT(HSZD OR LSZK) AND NOT(ODD OR ODK OR LDD OR HDK);
DRAWTEXT(FJTJ2 AND C>3500,KJCZ,8),COLORYELLOW;
DRAWNUMBER(ISLASTBAR AND C>0,C,C),COLORWHITE;
{DRAWNUMBER( CURRBARSCOUNT=4 AND TIME>090000 AND C>3500,BBB,BBB),COLORWHITE;};
DRAWTEXT(((CROSS(C,HH2) AND REF(K2=-3,1)) OR (CROSS(LL2,C) AND REF(K2=1,1))) AND C>3500 AND NOT(FJTJ2),O,5),COLORYELLOW;
 


 

精确地 短线指标 副图源码
 


好股网(www.goodgupiao.com)提醒您:股市有风险,投资需谨慎。
精确地 短线指标 副图源码下载地址
下载必看(为了保障您的权益,请在下载指标前务必看清楚相关说明)
  • 网站注册、找回密码、下载过程遇到问题,请您联系,我们会在第一时间指导反馈。
  • 积分指标使用遇到问题,如指标安装不成功或指标介绍的特点与实际发布的不符,请联系好股网客服进行问题处理。
  • 指标来源网络收集和会员提供,不保证提供的下载资源的准确性、安全性和完整性。请自行谨慎甄别公式相关描述后再下载,好股网不保障和承担使用该指标公式投资带来的一切损失。
  • 指标仅供学习和研究使用,不得用于商业或者非法用途。本站对于提供下载的指标、软件等不拥有任何权利,其版权归该下载资源的合法拥有者所有,如有侵犯您的版权,请查看《侵权投诉》,本站将移除相关内容。
更多最新置顶指标公式
相关说明
  • 目前市场常用软件有通达信、大智慧等,通达信版本从高到低的指标格式有tn6、tne、tni,股票池格式为XML。大智慧指标格式有fnc,股票池格式为XML。
  • 通达信指标导入安装快捷方法:快捷键CTRL+F > 公式管理器面板 导入公式 > 选择要导入的公式 打开 > 在导入公式面板中 勾选公式,确定。
  • 通达信指标呈现快捷方法:点击指标面板要显示的主图或副图,快捷键CTRL+I > 选择指标,确定。
  • alg格式股票公式,仅仅可以用飞狐交易师股票软件引入使用;
  • fnc格式股票公式,可以用大智慧新一代高速行情分析系统股票软件使用,少部分可以用分析家股票软件引入使用;
  • exp格式股票公式,仅可以用大智慧经典版股票软件引入使用;
  • tnctni格式股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
  • tn6格式公式,仅可以用通达信公式编辑器5.0版导入,高版本兼容低版本;
  • hxf格式股票公式,仅可以用同花顺股票软件引入使用。
  • 如果引入公式的时候,发现公式名称栏空白,调整电脑时间到1997年,能出现公式名称并正常显示,可能是公式使用期限已过。
  • 如果您发现下载链接错误,请点击报告错误谢谢!