您的位置: 零点财经>股票公式>通达信指标公式> 通达信神奇的探温针主图指标公式源码详解

通达信神奇的探温针主图指标公式源码详解

2019-07-07 16:06:16  来源:通达信指标公式  本篇文章有字,看完大约需要14分钟的时间

通达信神奇的探温针主图指标公式源码详解

时间:2019-07-07 16:06:16  来源:通达信指标公式

学会这个方法,抓10倍大牛股的概率提升10倍>>

通达信神奇的探温针主图指标公式源码详解

N:=120;

K:=BARSLAST(CURRBARSCOUNT=N);

GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));{高点}

DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));{低点}

KJ:=GD-DD;{高低点差值=分区高度}

GD4:=IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL); {设置分区的宽度,调整数据可调整分区宽度}

平衡:=IF(CURRBARSCOUNT<=N/30,DD+KJ/2,DRAWNULL),COLOR00FFFF;{低点+中点=0.50线,NODRAW}

压力:=IF(CURRBARSCOUNT<=N/30,GD-KJ*0.191,DRAWNULL),COLORFF00FF;{高点-分区高度*0.191=0.819线,NODRAW}

支撑:=IF(CURRBARSCOUNT<=N/30,DD+KJ*0.191,DRAWNULL),COLOR00FF00;{低点+分区高度*0.191=0.191线,NODRAW}

高:=IF(CURRBARSCOUNT<=N/30,GD,DRAWNULL),COLOR00FFFF;{高点划线,POINTDOT}

低:=IF(CURRBARSCOUNT<=N/30,DD,DRAWNULL),COLOR00FF00;{低点划线,POINTDOT}

DRAWBAND(高,RGB(160,160,0),压力,RGB(0,0,0));

DRAWBAND(压力,RGB(130,0,0),平衡,RGB(0,0,0));

DRAWBAND(平衡,RGB(100,0,100),支撑,RGB(0,0,0));

DRAWBAND(支撑,RGB(150,150,150),低,RGB(0,0,0));

止损:=REF(HHV(H,5),3)*0.925,COLORGRAY,DOTLINE;

STICKLINE(CURRBARSCOUNT=1,止损,止损,80,-1),COLORYELLOW;

STICKLINE(CURRBARSCOUNT=N/30,GD,DD,0,0),COLORGREEN;{划左侧高低点边线}

STICKLINE(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;{划右侧高低点边线}

STICKLINE(CURRBARSCOUNT<=N/30,平衡,平衡,4,0),COLORWHITE;{划平衡线横线线}

STICKLINE(CURRBARSCOUNT<=N/30,压力,压力,4,0),COLORRED;{划压力线横线线}

STICKLINE(CURRBARSCOUNT<=N/30,支撑,支撑*0.997,4,0),COLORRED;{划支撑想横线线}

STICKLINE(CURRBARSCOUNT<=N/30,低,低,4,0),COLORGREEN;{划低位横线线};

VAR93:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);

VAR94:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);

STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;

STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;

STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;

STICKLINE(VAR93,OPEN,(OPEN+CLOSE)/2,3,0),COLOR009900;

STICKLINE(VAR93,OPEN,(OPEN+CLOSE)/2,2.2,0),COLOR00BB00;

STICKLINE(VAR94,OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;

STICKLINE(VAR94,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB;

DRAWTEXT_FIX(ISLASTBAR,0.80,0,1,'止损价:'),COLORGREEN;

DRAWNUMBER_FIX(ISLASTBAR,0.805,0,0,REF(HHV(H,5),3)*0.925)COLORGREEN;

DRAWTEXT_FIX(ISLASTBAR,0.80,0.1,1,'买进价:'),COLORRED;

DRAWNUMBER_FIX(ISLASTBAR,0.805,0.1,0,REF(C,1)*1.043)COLORRED;

CCI151:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,15))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,15));

CCI101:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,10))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,10));

CCI51:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,5))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,5));

CCI31:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,3))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,3));

CCI买点定位1:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);

CCI买点定位2:=CROSS(CCI31,0) AND CCI51>REF(CCI51,1) AND REF(CCI51,1)<-100 AND REF(CCI151,1)>0 AND REF(CCI101,1)>-30 AND REF(CCI151,1)>REF(CCI101,1) AND REF(CCI101,1)>REF(CCI51,1);

CCI买点定位3:=CROSS(CCI51,0) AND CROSS(CCI31,0) AND REF(CCI101,1)>0 AND REF(CCI101,1)>REF(CCI151,1);

买点定位:=CCI买点定位1=1 OR CCI买点定位2=1 OR CCI买点定位3=1;

VOL比:=VOL/REF(VOL,1);

出现买点:=买点定位 AND VOL比>1.2;

STICKLINE(出现买点,O,C,3,0),COLOR2CB3E3;

DRAWTEXT(出现买点 ,L*0.98,'出现买点')COLORYELLOW;

DRAWICON(出现买点,L*0.99,1);

关键字: 止损价
来源:通达信指标公式 编辑:零点财经

阅读了该文章的用户还阅读了

热门关键词

相关阅读

为您推荐

移动平均线
股票知识
MACD
老丁说股
热点题材
KDJ指标
读懂上市公司
成交量
股票技术指标
股票大盘
分时图
股市名家
概念股
缠中说禅
强势股
波段操作
股票盘口
短线炒股
股票趋势
涨停板
股票投资
长线炒股
股票问答
股票术语
财务分析
炒股软件
上证早知道
经济学术语
期货
股票黑马
股票震荡市场
理财
炒股知识
散户炒股
外汇
炒股战术
港股
基金
黄金




































































































































































































































































































































































































































































































































































































































相关栏目推荐

栏目导航

友情链接

网站首页
股票问答
股票术语
网站地图

copyright 2016-2024 零点财经保留所有权 免责声明:网站部分内容转载至网络,如有侵权请告知删除 友链,商务链接,投稿,广告请联系qq:253161086

零点财经保留所有权

免责声明:网站部分内容转载至网络,如有侵权请告知删除