a:=amount/v/100;
drawgbk(c>1, colorrgb(50,80,40), colorrgb(20,70,110),1);
vara:=ema((((a-ema(a,13))/ema(a,13))*(0-100)),5);
qq:=ema(((vara/10)+ema(a,13)),0);
行情线:=ma(a,1);
重心:=(c+0.618*ref(c,1)+0.382*ref(c,1)+0.236*ref(c,3)+0.146*ref(c,4))/2.382;
【操盘线】:ema(((slope(c,22)*20)+c),55),coloryellow,linethick4;
tyx3:=ma(ref(hhv((c+l+o+h)/4,30),1),3);
tyx4:=ma((c+l+o+h)/4,13);
tyx5:=ema((c+l+o+h)/4,21);
{空心红}
stickline(c<tyx5 and c>o,h,l,0.1,1),colorred;
stickline(c<tyx5 and c>o,c,o,8,1),colorred;
{深绿}
stickline(c<tyx5 and c<o,h,l,0.1,0),color009900;
stickline(c<tyx5 and c<o,c,o,8,0),color005500;
stickline(c<tyx5 and c<o,c,o,6,0),color005a00;
stickline(c<tyx5 and c<o,c,o,5,0),color006600;
stickline(c<tyx5 and c<o,c,o,4,0),color006b00;
stickline(c<tyx5 and c<o,c,o,3,0),color007700;
stickline(c<tyx5 and c<o,c,o,1,0),color007b00;
{蓝}
stickline(c>tyx5 and c<o,h,l,0.1,0),colorffaa22;
stickline(c>tyx5 and c<o,c,o,8,0 ),colorff7700;
stickline(c>tyx5 and c<o,c,o,6,0 ),colorff8811;
stickline(c>tyx5 and c<o,c,o,5,0 ),colorffaa22;
stickline(c>tyx5 and c<o,c,o,4,0 ),colorffbb33;
stickline(c>tyx5 and c<o,c,o,3 ,0 ),colorffdd44;
stickline(c>tyx5 and c<o,c,o,1 ,0 ),colorffff55;
{黄}
stickline(c>tyx5 and c>o,h,l,0.1,0 ),color00ccff;
stickline(c>tyx5 and c>o,c,o,8,0 ),color00aaff;
stickline(c>tyx5 and c>o,c,o,6,0 ),color00bbff;
stickline(c>tyx5 and c>o,c,o,5,0 ),color00ccff;
stickline(c>tyx5 and c>o,c,o,4,0 ),color00ddff;
stickline(c>tyx5 and c>o,c,o,3,0 ),color00eeff;
stickline(c>tyx5 and c>o,c,o,1,0 ),color00ffff;
{粉红}
stickline(c>tyx4 and c>o,h,l,0.1,0),coloraa00aa;
stickline(c>tyx4 and c>o,c,o,8,0 ),colorff11ff;
stickline(c>tyx4 and c>o,c,o,6,0 ),colorff33ff;
stickline(c>tyx4 and c>o,c,o,5,0 ),colorff44ff;
stickline(c>tyx4 and c>o,c,o,4,0 ),colorff55ff;
stickline(c>tyx4 and c>o,c,o,3,0 ),colorff66ff;
stickline(c>tyx4 and c>o,c,o,2,0 ),colorff77ff;
stickline(c>tyx4 and c>o,c,o,1,0 ),colorff88ff;
{亮灰}
stickline(c>tyx4 and c<o,h,l,0.1,0),colorwhite;
stickline(c>tyx4 and c<o,c,o,8,0),color555555;
stickline(c>tyx4 and c<o,c,o,6,0),color777777;
stickline(c>tyx4 and c<o,c,o,5,0),color999999;
stickline(c>tyx4 and c<o,c,o,4,0),coloraaaaaa;
stickline(c>tyx4 and c<o,c,o,3,0),colorbbbbbb;
stickline(c>tyx4 and c<o,c,o,2,0),colorcccccc;
stickline(c>tyx4 and c<o,c,o,1,0),colordddddd;
stickline(c>tyx4 and c<o,c,o,0.1,0),coloreeeeee;
{深红}
stickline(c>tyx3 and c>o,h,l,0.5,0),color0000dd;
stickline(c>tyx3 and c>o,c,o,8,0),color000099;
stickline(c>tyx3 and c>o,c,o,6,0),color0000aa;
stickline(c>tyx3 and c>o,c,o,5,0),color0000bb;
stickline(c>tyx3 and c>o,c,o,4,0),color0000cc;
stickline(c>tyx3 and c>o,c,o,3,0),color0000dd;
stickline(c>tyx3 and c>o,c,o,2,0),color0000ee;
stickline(c>tyx3 and c>o,c,o,1,0),color0000ff;
{涨跌停k线}
stickline(high=low and close=open and (close/ref(close,1))>1.048,high,low,9,0) ,colorred;
stickline(high=low and close=open and (ref(close,1)/close)>1.048,high,low,9,0) ,color00ff00;
drawtext(islastbar,【操盘线】,'【操盘线】'),colorred;
{引:ema(close,2),linethick1,colormagenta;
探:ma(close,5),linethick1;}
变:ema(close,5),linethick1,coloryellow;
drawtext(islastbar,变,'【雷达线】'),colorred;
{顶底信号}
da:=(ema(h,1)+ema(l,1)+ema(h,1)+ema(h,1))/4;
db:=ema(ref(hhv(h,25),1),2),colorgreen,linethick1;
{drawtext(cross(db,da),db,'←险'),colorgreen,linethick1;}
drawtext(cross(da,【操盘线】),【操盘线】,'b'),colorwhite,linethick1;
{涨跌停显示}
涨停:=if((c-ref(c,1))*100/ref(c,1)>=(10-0.01*100/ref(o,1)),1,0);
stickline(涨停,o,c,1,0),coloryellow;
zdf:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdf<-9.9,o,c,1,0),colorblue;
{>下面这段可不要!!!}
{民间操手专用经典主图均线指标2)w;
s:if(卖1>0,high*1.01,drawnull),crossdot,linethick3,colorgreen;
var100:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var200:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var300:=(100 - ma(((100 * (hhv(high,5) - close)) / (hhv(high,5) - llv(low,5))),34));
f:if(cross(var200,ma(var300,5)),low * 0.98,drawnull),crossdot,linethick3,colorff00ff;
drawtext(cross(*,卖1),s,'←逃'),colorwhite,linethick1;
drawtext(cross(*,买1),b,'←准备'),colorred,linethick1;
{价:}
{jc1:=(ref(c,3)+ref(c,5)+ref(c,7)+ref(c,8)+ref(c,13)+ref(c,21))/6;
参考价1:sma(jc1,5,1),circledot,colorgreen;
if(c>=参考价1,参考价1,drawnull),circledot,color0000ff;}
ph:=troughbars(2,5,1);
ll:=hhv(h,ph);
tj1:=ll=high and ll<ref(ll,1);{//=1}
ts:=sumbars(tj1,2);
tj:=peakbars(2,5,1)=1 and ts>=ph;
drawicon(tj,high*1.01+0.02,2);
警告灯:if(tj,high*1.008,drawnull),crossdot,linethick2,colorcyan;
pl:=barslast(tj);
支撑:if(barslast(tj1),
ref(low,barslast(tj1)),drawnull),colorea91b5;
压力:if(barslast(tj),ref(high,pl),drawnull),coloryellow;
tj_2:=low>ref(ref(low,ts),pl);
drawtext(islastbar,压力,'压力'),coloryellow;
drawtext(islastbar,支撑,'支撑'),colorea91b5;
{drawicon(count(tj_2,pl+1)=1,high*1.005,2);
上一指标公式:主图23公式 飞狐指标 源码
下一指标公式:中线嘿马-长庄超牛主图版公式 飞狐中线指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文操盘雷达线公式 飞狐操盘指标 源码仅供学习研究。