斋主千钧当归 主图 源码 附图
中轴线:(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
压力线:=bbi+3*std(bbi,10);
支撑线:=bbi-3*std(bbi,10);
drawband(压力线,rgb(160,60,0),ref(压力线*1.007,1),rgb(60,60,0));
drawband(支撑线,rgb(160,60,0),ref(支撑线*0.997,1),rgb(60,60,0));
drawkline(h,o,l,c);
tt:=if(islastbar,240/fromopen,1);
nn:=120;
hh:=hhv(v*tt,nn);
ll:=llv(v,nn);
最高:=const(hh);
最低:=const(ll);
最高2:=const(hhv(h,nn));
最低2:=const(llv(l,nn));
pp:=if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,20)),0.9,if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,50)),0.7,0.6)),nodraw;
rcc1:=最高2*0.9-(最高2-最低2)*pp;
最低r:=min(rcc1,最低2);
rcc:=最低r;
安全线: ma(close,30), circledot,colorffff00;
上开:=o;
上收:=c;
上高:=h;
上低:=l;
箱顶:ma(ref(hhv(上收,30),1),2),color0000ff,linethick2;
箱底:ma(ref(llv(上收,30),1),2),color00ff00,linethick2;
yf_ddi:=(amount / vol);
yf_jj:=((open + close) / 2);
yf_pjj:=0;
yf_dding:=ema(close,6);
yf_mmd:=ma(yf_dding,1);
yf_xxd:=ema(close,18);
yf_yyz:=ref(yf_mmd,1);
yf_xxd1:=ref(yf_xxd,1);
yf_yyz1:=barscount(close);
yf_tdcg:=if((yf_yyz1 = 1),0,(((yf_mmd - yf_yyz) / yf_yyz) * 100));
yf_zfd:=if((yf_yyz1 = 1),0,(((yf_xxd - yf_xxd1) / yf_xxd1) * 100));
yf_jsd2:=ref(close,1);
close1:=if((yf_yyz1 = 1),0,(((close - yf_jsd2) / yf_jsd2) * 100));
yf_jzdf:=if((yf_yyz1 = 1),((close + open) / 2),yf_yyz);
yf_dcgj:=yf_mmd;
jj0:=yf_yyz;
jj1:=ref(yf_mmd,2);
jj2:=(((yf_dcgj + jj0) + jj1) / 3);
jj02:=(((abs((yf_dcgj - jj2)) + abs((jj0 - jj2))) + abs((jj1 - jj2))) / 3);
ssz:=ref(yf_tdcg,1);
yf_zfd1:=ref(yf_tdcg,2);
yf_zfd2:=if((yf_yyz1 < 3),0,((jj02 / yf_dcgj) * 100));
yf_dhpxs:=if((yf_yyz1 < 3),0,if((((yf_tdcg < 0) and (ssz < 0)) and (yf_zfd1 < 0)),(0 - 1),1));
ss:=ref(yf_tdcg,1);
yf_yzfz:=if((((yf_yyz1 > 11) and (ss < 0)) and (yf_tdcg > 0)),1,0);
yf_jsd21:=barslast((yf_yzfz = 1));
yf_jsd:=ref(yf_jsd21,1);
az:=if((((yf_yyz1 > 11) and (ss < 0)) and (yf_tdcg > 0)),(yf_jsd + 1),yf_jsd);
yf_pjjz:=if((((yf_yyz1 > 11) and (ss > 0)) and (yf_tdcg < 0)),1,0);
yf_jsd11:=yf_jzdf;
dmrj:=yf_jzdf;
dmcj:=if(((yf_yyz1 > 11) and (yf_jsd11 < open)),open,yf_jzdf);
yf_dmrj:=if(((yf_yyz1 > 11) and (dmrj > open)),open,yf_jzdf);
yf_dmcj:=0;
yf_dcg1:=ref(yf_jzdf,1);
yf_bdf5:=if(((((yf_tdcg > 0.5) and ((yf_zfd2 > 0.215) or (low > yf_jzdf))) and (close >= open)) and ((close >= 200) or ((close < 200) and (close1 < 11)))),1,0);
yf_dmrz:=if((((yf_tdcg < (0 - 0.3)) and ((yf_zfd2 > 0.2) or (high < yf_jzdf))) and ((open >= close) or (close1 < (0 - 1)))),1,0);
yf_dks1:=barssince(yf_bdf5);
yf_tdmr:=barssince(yf_dmrz);
yf_dmr:=(yf_dmrz or (barscount(close)));
yf_dcgj1:=((count(yf_bdf5,barslast(yf_dmrz)) = 1) and yf_bdf5);
yf_dmrbuy:=((count(yf_dmrz,barslast(yf_bdf5)) = 1) and yf_dmrz);
yf_dmcsell:=barslast(yf_dmrbuy);
yf_dcg10:=barslast(yf_dcgj1);
yf_dcg11:=((sum(yf_dmrbuy,yf_dcg10) = 0) * yf_dcg10);
yf_dcgreal:=ref(dmcj,yf_dcg11);
yf_dmrj11:=ref(yf_dcgreal,1);
yf_dmrj1:=if((yf_dcgj1 = 1),(((close - dmcj) / dmcj) * 100),(((yf_dmrj - yf_dmrj11) / yf_dmrj11) * 100));
yf_dcg:=if((((yf_dcg11 = 0) and (yf_dcgj1 = 0)) and (yf_dmrbuy = 0)),0,yf_dmrj1);
短买入:=yf_dcgj1,linethick0;
短卖出:=yf_dmrbuy,linethick0;
短持股:=yf_dcg11,linethick0;
短持股1:=yf_dcg;
stickline((短买入 = 1),open,close,4,0),colorff99ff;
stickline((短买入 = 1),open,close,3.5,0),colorff00ff;
stickline((短买入 = 1),open,close,3,0),color9900ff;
stickline((短买入 = 1),open,close,2,0),colorff0000;
stickline((短持股 > 0),open,close,4,0),colorff00ff;
stickline((短持股 > 0),open,close,3.5,0),colorff22ff;
stickline((短持股 > 0),open,close,3,0),colorff44ff;
stickline((短持股 > 0),open,close,2,0),colorff88ff;
stickline((短持股 > 0),open,close,1.5,0),colorff99ff;
stickline((短持股 > 0),open,close,1,0),colorffaaff;
stickline((短卖出 = 1),open,close,4,0),color880000;
stickline((短卖出 = 1),open,close,3.5,0),color990000;
stickline((短卖出 = 1),open,close,3,0),coloraa0000;
stickline((短卖出 = 1),open,close,2,0),colorcc0000;
stickline((短卖出 = 1),open,close,1.5,0),colordd0000;
stickline((短卖出 = 1),open,close,1,0),coloree0000;
stickline((短卖出 = 1),open,close,0.5,0),colorff0000;
drawicon((短买入 = 1),low,1);
drawicon((短卖出 = 1),high,2);
明日空间买卖点:ema(close,6),linethick0;
jj:=(上开+上高+上低)/3;
a:=ema(jj,4);
va1:=ema(上收,8);
va2:=ema(上收,20);
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext(cross(84,rsi) , high,'逃顶'),coloryellow ;
drawtext(cross(rsi,11) , low-0.05,' 低吸'),colorred ;
drawtext(cross(va1,va2)and(c>=o)and a>ref(a,1),va1*0.97,'★买'),colormagenta;
drawtext(cross(zig(3,8),ref(zig(3,8),1)),low*0.978,'★绝佳') ,linethick2,colorred;
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*1.02,'★卖'),colorgreen;
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
drawtext(cross(买线,卖线)and 箱顶>=ref(箱顶,1),low*0.95,'★跟'),color00ffff;
x1:=(c+l+h)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
s:=ema((close-llv(close,21))/(hhv(close,21)-llv(close,21)),1);
庄:=if(s>0,ma(s,1),0);
drawtext(cross(庄,0.001),l-0.09,'☆'),colorlired;
var326:=if(close>ref(close,1),88,0);
var327:=if(close/ref(close,1)>1.050 and high/close<1.010 and var326>0, 91, 0);
stickline(var327>90,l*0.97,l*0.99,2,0),coloryellow;
drawtext(var327>90,low*0.968,'追涨'),coloryellow;
hlmax:=最高2;
hlmin:=最低2;
hlmn1:=(hlmax+hlmin)/2;
hlmn2:=hlmax-hlmin;
hlmn3:=(100-0)/2*1.3;
hlmn4:=(100-0)/1*1.3;
p:=(最高-最低)/(最高2-最低2)*4,nodraw;
比:=tt;
wj:=(h+l+c)/3;
v1:=if(h=l,1,h-max(o,c));
v2:=if(h=l,1,max(c,o)-wj);
v3:=if(h=l,1,min(o,c)-l);
v4:=if(h=l,1,wj-min(c,o));
v5:=vol/if(h=l,4,h-l);
v6:=(v1*v5);
v7:=(v2*v5);
v8:=(v3*v5);
v9:=(v4*v5);
买盘1:=dynainfo(23)*比;
卖盘1:=dynainfo(22)*比;
买盘2:=if(islastbar and c>300,(v9+v8)*tt,(v9+v8));
卖盘2:=if(islastbar and c>300,(v6+v7)*tt,(v6+v7));
买盘:=if(islastbar and period=5 and c<300,买盘1,买盘2);
卖盘:=if(islastbar and period=5 and c<300,卖盘1,卖盘2);
买卖差:=买盘-卖盘;
stickline(c>=o,rcc,(买盘+卖盘)/p+rcc,2.8,1),colorred;
stickline(c<o,rcc,(买盘+卖盘)/p+rcc,2.8,1),colorffff00;
stickline(买卖差>=0,rcc,买盘/p+rcc,2.5,0),colorred;
stickline(买卖差>=0 and c>=ma(c,30),rcc,买盘/p+rcc,3.0,0),colorred;
stickline(买卖差>=0,rcc,卖盘/p+rcc,1.1,0),color998800;
stickline(买卖差>=0 and c>=ma(c,30),rcc,卖盘/p+rcc,1.5,0),colorddcc00;
stickline(买卖差<0,rcc,买盘/p+rcc,2.5,0),colorred;
stickline(买卖差<0 and c>=ma(c,30),rcc,买盘/p+rcc,3.0,0),colorred;
stickline(买卖差<0,rcc,卖盘/p+rcc,1.1,0),color998800;
stickline(买卖差<0 and c>=ma(c,30),rcc,卖盘/p+rcc,1.5,0),colorddcc00;
神:=2*sma(v*((c+l)/2+(h+c)/2+l)/3,2,1)/sma(v,2,1)-(3*hhv(sma(v*((c+l)/2+(h+c)/2+l)/3,2,1)/sma(v,2,1),2)-2*sma(v*((c+l)/2+(h+c)/2+l)/3,2,1)/sma(v,2,1));
奇:=(2*神+ema((2*(c+l)/2+(h+c)/2+l+o)/5,2)+2*((ema((c*2+h+l+o)/5,5)+ma((c*2+h+l+o)/5,13)+ma((c*2+h+l+o)/5,21))/3)+((ema
((c*2+h+l+o)/5,13)+ma((c*2+h+l+o)/5,21)+ma((c*2+h+l+o)/5,34))/3)+((ema((c*2+h+l+o)/5,21)+ma((c*2+h+l+o)/5,34)+ma((c*2+h+l+o)/5,55))/3))/7;
分清:=(forcast(hhv((c+l)/2,1),21)+(ema(((c+l)/2+l+(h+c)/2)/3,55)-(c-ema(((c+l)/2+l+(h+c)/2)/3,55))))/2;
放心买入:=(((c+l)/2+(h+c)/2+l)/3+(3*(c+h+l+(o+c+l)/3)/4-2*(c+l)/2))/2;
强:=(ema((分清+3*((ema(放心买入,5)*5+分清)/6+((ema(奇,5)+ema(奇,8)+ema(奇,13))/3))/2)/4,3)/3),pointdot,color00ffff;
验证:=((((c+l)/2-llv(l,24))/(hhv((h+c)/2,24)-llv(l,24))*1.1*(c+l)/2));
续持验证:=ema((2*(5*((ema((2*c+l)/3,2)-ema((2*c+h)/3,5))
-ema((ema((2*c+l)/3,2)-ema((2*c+h)/3,5)),21)))
+(((c*2+h)/3+(c*2+h)/3)/2)+ema(验证,2))/4,2),color555555;
{顶上第一排小方块为波段信号}
stickline(续持验证<强,rcc-0.009*rcc,rcc-0.023*rcc,3,1),coloryellow;
stickline(续持验证>=强,rcc-0.009*rcc,rcc-0.023*rcc,3,1),colormagenta;
{第二排小方块为走势强弱信号};
stickline(续持验证>= ref(续持验证,1),rcc-0.019*rcc,rcc-0.025*rcc,4,1),colorred;
stickline(续持验证< ref(续持验证,1),rcc-0.019*rcc,rcc-0.025*rcc,4,1),colorgreen;
上一指标公式:主图买卖日线止损价位指标下载 通达信止损日线
下一指标公式:神线主图涨停跌停指标下载 通达信涨停神线主图
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文发斋主千钧当归主图附图rar指标下载 通达信附图源码仅供学习研究。