上轨通道1:(1+2/100)*dma(close,abs((2*close+high+low)/4-ma(close,20))/ma(close,20)), colorblue,linethick2;
下轨通道2:(1-6/100)*dma(close,abs((2*close+high+low)/4-ma(close,20))/ma(close,20)),colorgreen,linethick2;
如来a:=ema((close+high+low)/3,5);
如来b:=ref(ema((close+high+low)/3,5),1);
持股:stickline(如来a>如来b,如来a,如来b,4,0),color00ffff;
//高抛低吸//www.goodgongshi.com
生命线:=ma(c,20);
攻击线:=ma(c,3),coloraaee00;
成长线:=ma(c,60),colorred;
ma3:=ma(c,3);
ma5:=ma(c,5),colorffffff,linethick1;
ma20:=ma(c,20),colorff80ff,linethick2;
ma120:=ma(c,120),colorcyan,linethick2;
角5:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
角20:=atan((ma20/ref(ma20,1)-1)*100)*180/3.1416,nodraw,colorwhite;
角120:=atan((ma120/ref(ma120,1)-1)*100)*180/3.1416,nodraw,colorwhite;
涨幅:=(c-ref(c,1))/ref(c,1)*100;
typ:=(high+low+close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
乖离:=abs((ma20-ma120)/ma20*100),nodraw,colorwhite;
涨:=if(ref(cci,1)<100,cci>120,cci>100);
跌:=if(ref(cci,1)>-100,cci<-120,cci<-100);
震荡:=涨=0 and 跌=0;
//boll线//www.goodgongshi.com
上:=ma20+2*std(close,20),color0000ff,dotline;
下:=ma20-2*std(close,20),color00ff00,dotline;
中上轨:=上-(上-下)/6,colorffff00,dotline;
中下轨:=下+(上-下)/6,colorffff00,dotline;
两格:=中上轨-ma20;
//用不同颜色画不同行情的k线
stickline(涨=1,h,l,0,0),colorred;
stickline(涨=1 and c>=o,c,o,10,1),colorred;
stickline(涨=1 and c<o,c,o,10,0),colorred;
stickline(跌=1,h,l,0,0),colorff6400;
stickline(跌=1 and c>=o,c,o,10,1),colorff6400;
stickline(跌=1 and c<o,c,o,10,0),colorff6400;
stickline(震荡=1,h,l,0,0),coloryellow;
stickline(震荡=1 and c>=o,c,o,10,1),coloryellow;
stickline(震荡=1 and c<o,c,o,10,0),coloryellow;
//不同周期k线界面显示
if(periodname<>"月线")
if(periodname<>"周线")
if(periodname<>"日线")
if(periodname<>"60分钟")
{
bt:=(l<=中下轨 and 跌=0 and llv(l,3)>llv(l,22) and o-c<两格) or (l<=下 and 跌 and
llv(l,3)>llv(l,22) and o-c<两格);
st:=(h>=中上轨 and 涨=0 and hhv(h,3)<hhv(h,22) and c-o<两格) or (h>=上 and 涨 and
hhv(h,3)<hhv(h,22) and c-o<两格);
drawicon(bt,l,13);
drawicon(st,h,15);
return;
}
bx:=(l<=中下轨 and 跌=0 and llv(l,3)>llv(l,20) and o-c<两格) or (l<=下 and 跌 and llv(l,3)>llv(l,20)
and o-c<两格) and c>o;
sx:=(h>=中上轨 and 涨=0 and hhv(h,3)<hhv(h,20) and c-o<两格) or (h>=上 and 涨 and hhv(h,3)<hhv(h,20)
and c-o<两格) and c<o;
drawicon(bx,l,1);
drawicon(sx,h,2);
低吸:=(涨 and l<上 and hhv(cci,3)=hhv(cci,8)) or (涨 and l<中上轨) or (震荡 and c>ma20 and
角20>if(c>1000,8,20) and l<=ma20+(上-下)/8) or (角20>if(c>1000,0,8) and l<ma20-(上-下)/8) or bx;
高抛:=(跌 and h>下 and llv(cci,3)=llv(cci,8)) or (跌 and h>中下轨) or (震荡 and c<ma20 and
角20<if(c>1000,-8,-20) and h>=ma20-(上-下)/8) or (角20<if(c>1000,0,-8) and h>ma20+(上-下)/8) or sx;
观望:=低吸=0 and 高抛=0;
吸星1:=l<=ma20 and c>中上轨 and llv(l,3)>llv(l,20) and o-c<两格 and c>o;
drawicon(吸星1,ma20,13);
吸星2:=l<=ma20 and c>ma20 and c/o>=1.03 and c>o;
drawicon(吸星2,h*1.1,17);
bz:=l<=ma20 and c>ma20 and llv(l,3)>llv(l,20) and o-c<两格 and c>o and ma3>ma20;
drawicon(bz,h*1.15,18);
drawtext(低吸 and c>=o,下,''),colorred;
drawtext(低吸 and c<o,下,''),coloryellow;
drawtext(低吸 and c<o,上*1.06,''),coloryellow;
drawtext(高抛,上*1.06,''),colorgreen;
drawtext_fix(islastbar,0.4,0.05,0,'<使用说明> -->'),colorred;
drawtext_fix(islastbar,0.57,0.05,0,'红色上涨,蓝色下跌,黄色震荡'),colorcyan;
drawtext_fix(islastbar,0.4,0.1,0,'<使用说明> -->'),colorred;
drawtext_fix(islastbar,0.57,0.1,0,'当买点信号出现时,先用大一级别周期确认处于低吸区域,否则买点信号真实性偏弱)'),colorcyan;
drawtext_fix(islastbar and bx,0.4,0.2,0,'<买点信号介入价格> -->'),colorred;
drawnumber_fix(islastbar and bx,0.6,0.2,0,tostring(if(跌,下,中下轨),2)),colorcyan;
drawtext_fix(islastbar and bx,0.67,0.2,0,'下方或附近'),colorred;
drawtext_fix(islastbar,0.4,0.15,0,"<当前行情> -->"),colorred;
drawtext_fix(islastbar and 低吸,0.57,0.15,0,"当前行情处于低吸区"),colormagenta;
drawtext_fix(islastbar and 高抛,0.57,0.15,0,"当前行情处于----高抛区"),colormagenta;
drawtext_fix(islastbar and 观望,0.57,0.15,0,"当前行情处于观望区,等待低吸或高抛"),colormagenta;
高抛低吸选股:=(低吸 or 震荡) and c>=o and ma20>=ref(ma20,1) and ma5>=ref(ma5,1);
stickline(高抛低吸选股,上,上,0.1,0),colorred;
震荡上涨:=(震荡 or 涨) and c>=o;
stickline(震荡上涨,ma20,ma20,0.1,0),coloryellow;
开涨1:=涨=1 and c>=o and (count(震荡,2) or count(跌,2));
drawtext(开涨1,l*0.95,'▲'),colorred;
stickline(开涨1,l*0.95,l*0.98,0.1,0),coloryellow;
开涨2:=震荡=1 and c>=o and ma3>ref(ma3,1) and ((count(跌,2) or (count(震荡,2) and count(c<o,2))));
drawtext(开涨2,l*0.9,'▲'),coloryellow;
stickline(开涨2,l*0.9,l*0.98,0.1,0),coloryellow;
如来神掌:=(cross(c,上轨通道1) or (o>上轨通道1 and c>上轨通道1 and c>o)) and (开涨1 or 开涨2) and 如来a>如来b;
drawtext(如来神掌,l*0.85,'亿'),colorred;
上一指标公式:时间变换CCI指标公式详解 同花顺时间CCI
下一指标公式:无敌神赚庄指标公式详解 同花顺无敌
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文三封高抛低吸指标公式详解 同花顺低吸仅供学习研究。