潜伏主力
功能介绍:此指标显示了主力潜伏操作的提示 个股涨停后的天数与均线系统的辅助分析
主图源码:
三一:h-(h-l)*0.333,nodraw;
二一:h-(h-l)*0.5,nodraw;
三二:h-(h-l)*0.666,nodraw;
实体三一:o+(c-o)*0.666,nodraw;
实体腰线:o+(c-o)*0.5,nodraw;
{多彩k线-主图公式, 显示大阳\\大阴\\涨停\\跌停\\假阴\\假阳\\跳空\\大k线中点,适用于通达信 }
drawtext_fix(islastbar,0,0,0,hyblock);{在屏幕左上角显示所属行业板块}
drawtext_fix(islastbar,0.05,0,0,dyblock);{在屏幕左上角显示所属地域板块}
drawtext_fix(islastbar,0.1,0,0,gnblock);{在屏幕左上角显示所属概念板块}
stickline(ref(l,1)>h,h,ref(l,1),5,0),colorgray;
stickline(ref(h,1)<l,l,ref(h,1),5,0),colorgray;
{好公式网-最好的股票公式网站 www.goodgongshi.com}
ma5:ma(c,5),dotline;
ma10:ma(c,10),dotline;
ma20:ma(c,20),dotline;
ma30:ma(c,30),dotline;
drawkline(h,o,l,c);{重绘k线}
rc1:=ref(c,1);
cs:=if(c>=1,10000,100000);
c涨停10:=1.10*rc1-49/cs;{考虑到4舍5入}
c涨停5 :=1.05*rc1-49/cs;
c跌停10:=0.90*rc1+51/cs;
c跌停5 :=0.95*rc1+51/cs;
st:=namelike('s') or namelike('*s');
涨停:= if(st, c>=c涨停5, c>=c涨停10);
跌停:= if(st, c<=c跌停5, c<=c跌停10);
盘中涨停:=if(st, h>=c涨停5, h>=c涨停10);
盘中跌停:=if(st, l<=c跌停5, l<=c跌停10);
stickline(盘中涨停,h,max(c,o),0,0),colormagenta;{涨停后回落}
stickline(盘中跌停,l,min(c,o),0,0),colorlicyan;{跌停后回升}
大阳线:=c>o and (c>=c涨停5 or c>(1.05*o-51/cs) ) or (c>1000 and c>rc1*1.024);
stickline(大阳线,o,c,1,0),color0000bb;
大阴线:=c<o and (c<=c跌停5 or c<(0.95*o+49/cs) ) or (c>1000 and c<rc1*0.976);
stickline(大阴线,o,c,1,0),colorligreen;
stickline(涨停,o,c,1,0),colormagenta;
stickline(跌停,o,c,1,0),colorlicyan;
假阴:=c<o and c>ref(c,1);
stickline(假阴,o,c,0,0),colorred;{假阴柱};
假阳:=c>o and c<ref(c,1);
stickline(假阳,o,c,0,0),colorgreen;{假阳柱};
大盘tj:=period=5 and namelike('上证指数')
and (abs((c-ref(c,1)))/ref(c,1)>=0.025 or abs(c-o)>=60);
stickline(大盘tj,(h+l)/2,(h+l)/2,2,0),coloryellow;{显示大盘日线的60点大k线中值};
stickline((大阳线 or 大阴线 or 涨停 or 跌停)
and between(c,1,500),l+(h-l)/2,l+(h-l)/2,1,0),coloryellow;{大k线画中点线};
zt:=c/ref(c,1)>1.097;
drawtext(zt,l*0.98,'涨停'),colorf00ff0;
varzt:=barslast(c/ref(c,1)>1.097);
stickline(varzt=2,l*0.97,l*0.98,8,0),color0000ff;
drawtext(varzt=2,l*0.95,'3天'),coloryellow;
stickline(varzt=4,h*1.03,h*1.02,8,0),color9966ff;
drawtext(varzt=4,h*1.06,'5天'),coloryellow;
stickline(varzt=7,l*0.97,l*0.98,8,0),color00ffff;
drawtext(varzt=7,l*0.95,'8天'),coloryellow;
stickline(varzt=12,h*1.03,h*1.02,8,0),colorff33ff;
drawtext(varzt=12,h*1.06,'13天'),coloryellow;
stickline(varzt=20,l*0.97,l*0.98,8,0),color0066ff;
drawtext(varzt=20,l*0.95,'21天'),coloryellow;
stickline(varzt=33,h*1.03,h*1.02,8,0),color9932cd;
drawtext(varzt=33,h*1.06,'34天'),coloryellow;
stickline(varzt=54,l*0.97,l*0.98,8,0),color006600;
drawtext(varzt=54,l*0.95,'55天'),coloryellow;
stickline(varzt=88,h*1.03,h*1.02,8,0),color00ff00;
drawtext(varzt=88,h*1.06,'89天'),coloryellow;
stickline(varzt=143,l*0.97,l*0.98,8,0),colorccffff;
drawtext(varzt=143,l*0.95,'144天'),coloryellow;
stickline(varzt=232 ,h*1.03,h*1.02,8,0),colorff0033;
drawtext(varzt=232,h*1.06,'233天'),coloryellow;
stickline(varzt=376,l*0.97,l*0.98,8,0),colorff9966;
drawtext(varzt=376,l*0.95,'377天'),coloryellow;
副图源码:
a:=(close-ma(close,13))/ma(close,13)*20,linethick0,colorwhite;
b:=(close-ma(close,4))/ma(close,4)*20,linethick0,coloryellow;
红柱:=sma(a,3,1),linethick0,color0000ff;
蓝柱:=sma(b,3,1),colorstick,colorffff00;
{红柱}
stickline(红柱<ref(红柱,1)and 红柱>0,0,红柱,2,0),color888800;
stickline(红柱<ref(红柱,1)and 红柱>0,0,红柱,1.5,0),coloraaaa00;
stickline(红柱<ref(红柱,1)and 红柱>0,0,红柱,0.8,0),colordddd00;
stickline(红柱<ref(红柱,1)and 红柱>0,0,红柱,0.3,0),colorffff00;
stickline(红柱>ref(红柱,1)and 红柱>0,0,红柱,2,0),color000088;
stickline(红柱>ref(红柱,1)and 红柱>0,0,红柱,1.5,0),color0000aa;
stickline(红柱>ref(红柱,1)and 红柱>0,0,红柱,0.8,0),color0000dd;
stickline(红柱>ref(红柱,1)and 红柱>0,0,红柱,0.3,0),color0000ff;
stickline(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,2,0),color008800;
stickline(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),color00aa00;
stickline(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,0.8,0),color00dd00;
stickline(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,0.3,0),color00ff00;
{蓝柱}
stickline(红柱>ref(红柱,1)and 红柱<0,0,红柱,2,0),color880088;
stickline(红柱>ref(红柱,1)and 红柱<0,0,红柱,1.5,0),coloraa00aa;
stickline(红柱>ref(红柱,1)and 红柱<0,0,红柱,0.8,0),colordd00dd;
stickline(红柱>ref(红柱,1)and 红柱<0,0,红柱,0.3,0),colorff00ff;
stickline(红柱<ref(红柱,1)and 红柱<0,0,红柱,2,0),color888800;
stickline(红柱<ref(红柱,1)and 红柱<0,0,红柱,1.5,0),coloraaaa00;
stickline(红柱<ref(红柱,1)and 红柱<0,0,红柱,0.8,0),colordddd00;
stickline(红柱<ref(红柱,1)and 红柱<0,0,红柱,0.3,0),colorffff00;
stickline(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,2,0),color009999;
stickline(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,1.5,0),color00bbbb;
stickline(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,0.8,0),color00dddd;
stickline(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,0.3,0),color00ffff;
var200:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
var300:=sma(sma(var200,3,1),3,1)/28.57;
var400:=ema(var300,5);
操盘:=3*var300-2*var400;
伏:=cross(操盘,var300) and var300<2.1 and c>o;
{
stickline(选股,5,0,4,0),color770077;
{
stickline(选股,5,0,3,0),color990099;
stickline(选股,5,0,2,0),colorbb00bb;
stickline(选股,5,0,1,0),colordd00dd;
stickline(选股,5,0,0.3,0),colorff00ff;
drawtext(选股,4.2,'伏击'),colorred;
}
stickline(伏, 0,10, 2, 0),colorlimagenta;
drawtext(伏,7.4,'★潜伏主力'),coloryellow;
drawicon(伏,10,29);
drawicon(伏,9.3,29);
drawicon(伏,9,29);
a1:=c/ref(c,1)>=1.097;
drawtext(a1 and 伏,5.4,'★打板'),colormagenta;
b1:=c/ref(c,1)>=1.05 and c/ref(c,1)<1.097;
drawtext(b1 and 伏,3.4,'★大阳'),colormagenta;
上一指标公式:张耐山大牛指标下载 通达信源码
下一指标公式:新9059a买进卖出指标下载 通达信指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文潜伏主力(源码 自创 主副图 附图)下载 通达信主力源码仅供学习研究。