{分时引}
黄金买点:=ema((o+h+l)/3,4)colorwhite,nodraw;
黄金卖点:=ema(c+(h-l)*0.618,3)coloryellow,nodraw;
预测明日卖点:黄金卖点+(黄金卖点-黄金买点)*0.618,nodraw,colorwhite;
预测明日买点:ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4,nodraw;
今卖:ma(ref(预测明日卖点,1),1)*1,colorlimagenta,nodraw;
今买:ref(预测明日买点,1),colorlimagenta,nodraw;
dd1:=ema((o+h+l)/3,4)colorwhite,nodraw;
dd2:=ema(c+(h-l)*0.618,3)coloryellow,nodraw;
密码1:dd2+(dd2-dd1)*0.618,nodraw,colorwhite;
密码2:ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4,nodraw;
密码3:ma(ref(密码1,1),1)*1,colorlimagenta,nodraw;
密码4:ref(密码2,1),colorlimagenta,nodraw;
zs:dynainfo(3);
上涨家数:indexadv,nodraw;
下跌家数:indexdec,nodraw;
{两用主图 ★分时_日线两用主图★}
{p= 0 , 2 , 1}
黄金卖点:=ema(c+(h-l)*0.618,3);
黄金买点:=ema((o+h+l)/3,4);
预测明买:=ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4,nodraw;
预测明卖:=ema(c+(h-l)*0.618,3)+(ema(c+(h-l)*0.618,3)-黄金买点)*0.618;
今买:=ref(预测明买,1),nodraw;
今卖:=ref(预测明卖,1),nodraw;
{分时_日线两用主图}
nn:=250;{}
最高:=const(hhv(h,nn));
最低:=const(llv(l,nn));
rcc2:=最高*0.9-(最高-最低);
rcc1:=最高-(最高-最低)/2;
rhl:=rcc2;
hlmax:=最高;
hlmin:=最低;
hlmn1:=(hlmax+hlmin)/2;
hlmn2:=hlmax-hlmin;
hlmn3:=(100-0)/2*1.3;
hlmn4:=(100-0)/1*1.3;
{}
{时间设置}
cc:=close,colorwhite,linethick2;
var7:=sma(cc,6.18,1);
var8:=sma(var7,3.14,1);
bb:=atan(var7-ref(var7,1))*3.1416*10,nodraw,colorwhite;
ee:=atan(var8-ref(var8,1))*3.1416*10,nodraw,colorwhite;
【立度】:bb+ee,nodraw,coloryellow;
tj:=filter(c,239)>0,nodraw;
tjj:=sum(tj,0),nodraw;
tja:=const(tjj),nodraw;
lta:=finance(7)+300000000;
gb:=2*if(finance(7)<100000000000,floor(abs((finance(7)/1000000000-1))),floor(abs((finance(7)/1000000000-1)))/10),nodraw ;
c1:=close;
v1:=time;
a1:=count(barscount(c)=1 and time<102000 ,0 );
t:=if(v1<130000,(floor(v1/10000)-9.5)*60+(floor(v1/100)-100*floor(v1/10000)),
(floor(v1/10000)-11)*60+(floor(v1/100)-100*floor(v1/10000))),nodraw;
tta:=intpart(2*t/5)+20;
{强弱界}
mma30:=ema(close,30);
强弱界定:=if(period=0 ,ema(close,900),drawnull);
drawband(mma30,rgb(100,0,0),强弱界定,rgb(95,120,115));
rcc:=if(period=0 ,dynainfo(3),dynainfo(3)*0.9);
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=4*(s2-s6);
kk:=1;
{分时macd}
昨收:=rcc;
hh:=dynainfo(5);
ll:=dynainfo(6);
fk:=max(hh-昨收,昨收-ll)*0.1;
zs:=昨收-fk*3.2;
q1:=昨收-fk*3.22;
q2:=昨收-2*fk*3.22;
q3:=昨收-3*fk*3.2;
dif:=(ema(close,13) - ema(close,24));
dea:=(ema(dif,6));
macd:=5*(dif-dea);
stickline(macd>=0 and macd>=ref(macd,1),rcc*1,macd*3+rcc*1,4,0),color992299,linethick3;
stickline(macd>=0 and macd< ref(macd,1),rcc*1,macd*3+rcc*1,4,0),color774422,linethick3;
stickline(macd<0 and macd>=ref(macd,1),rcc*1,macd*3+rcc*1,4,0),color064499,linethick3;
stickline(macd<0 and macd< ref(macd,1),rcc*1,macd*3+rcc*1,4,0),color774422,linethick3;
stickline(dk>0,rcc*kk,rcc*kk+dk,1,1),color00aaaa;
stickline(dk<0,rcc*kk,rcc*kk+dk,1,1),colorbrown;
{多头macd}
diff:=ema(close,240)-ema(close,240)*100;
deaa:=ema(diff,18);
多头macd:=(-3*(diff-deaa))*20,nodraw;
zd:=hhv(多头macd,0);
zx:=llv(多头macd,0);
cz:=(q2-q3)/6;
fdm:=max(abs(zd),abs(zx))*1.5;
rb:=if(period=0 ,(q2+q3)/2+2*(q2-q3)/3/fdm*多头macd,drawnull);
stickline(period=0 and 多头macd>0,rb,(q2+q3)/2,4,1),linethick1,colorff00ff;
stickline(period=0 and 多头macd<0,rb,(q2+q3)/2,4,1),linethick1,color00ff00;
{火焰山及底部信号}
eeee:=if((p<2 and period!=0) or period=0 ,(rcc-zs)/5,drawnull);
fvar1:=ref(low,1); {}
fvar2:=sma(abs(low-fvar1),13,1)/sma(max(low-fvar1,0),13,1);
fvar3:=ema(fvar2,13);
fvar4:=llv(low,34);
fvar51:=ema(if(low<=fvar4,fvar3,0),3);
fvar5:=if(fvar51>20,20,fvar51);
主力进场:stickline(fvar5>ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,4,0 ),colorred;
stickline(c>0 and period!=0 and fvar5>ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee*3,4,0 ),color0000bb;
stickline(fvar5<ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,5,1),colorgreen;
stickline(c>0 and period!=0 and fvar5<ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee*3,5,1),colorgreen;
fvar6:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((close-
llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
fvar7:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((open-llv
(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
fvar8:=fvar6<ref(fvar7,1) and vol>ref(vol,1) and close>ref(close,1);
drawtext(tja<3 and fvar8 and count(fvar8,30)=1,(q2+q3)/2+3*eeee,'★迹');
jccount:=count(cross(dif,dea),barslast(dea>=0));
二次金叉:=cross(dif,dea) and dea<0 and count(jccount=2,21)=1;
stickline(二次金叉,(q2+q3)/2,(q2+q3)/2+3*eeee,4,0),color00ffff;
drawtext(tja<3 and 二次金叉,(q2+q3)/2+4*eeee,' 二金'),coloryellow;
hhh:=ma(close,10);
ggg:=ma(close,12);
{}
上:=ema((ma(high,3) * 1.05),30);
下:=ema((ma(low,3) * 0.96),30);
决战:stickline((((cross(dif,dea) and ((下 - ref(下,1)) > 0)) and (macd >= ref(macd,1))) and
(dif < 0)),(q2+q3)/2,(q2+q3)/2+4*eeee,1,0),color0000ff;
drawtext(tja<3 and (((cross(dif,dea) and ((下 - ref(下,1)) > 0)) and (macd >= ref(macd,1))) and (dif
<= 0)),(q2+q3)/2+5*eeee,'dif金叉'),color0000ff;
{两个买进信号}
rsv:=((close-llv(low,240))/(hhv(high,240)-llv(low,240))*200-100);
k:=sma(sma(rsv,18,1),3,1);
d:=ma(ema(k,18),3);
短买:=cross(k,d) and k>0 and close<dynainfo(3)*1.07;
drawtext(tja<3 and 短买,(q2+q3)/2+(q2-q3)/1+3*eeee,'短买'),colorff00ff;
yy:=sma(vol,30,1);
量1:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30));
量:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30))>0.92;
短横:=((hhv(close,tta)-llv(close,tta))/close)<0.03;
横后上涨:=(close/dynainfo(3))>=1.02=0 and 短横 and 量 and cross(c,(ma(c*v,tta)/ma(v,tta) + avedev(c,tta)*2));
上涨:=filter((cross(横后上涨,0)and 量 and t>60
or (t>60 and close<dynainfo(3)*1.04 and (量1<0.5 or 量1=1) and barslast(cross(c,(ma(c*v,tta)/ma(v,tta) + avedev(c,tta)*2)))<3
and cross(c,ma(hhv(c,tta),1)))),30);
drawtext(tja<3 and 上涨,(q2+q3)/2+(q2-q3)/1+3*eeee,'★涨'),colorred,linethick3;
drawband(var7,rgb(250,250,50),var8,rgb(83,250,68));
zf:=(ema(sum(((close - ref(close,1)) / ref(close,1)),3),49) * 10)+ema(c,20);
m20:if(period!=0 ,ma(c,20),drawnull),colorwhite;
★强势线★:if(period!=0 ,ema(zf,34),drawnull),linethick2,color00ffff;
if(period!=0 ,ma(c,120),drawnull)colorblue;
drawicon(c<200 and period!=0 and 【立度】>20,h,2);
b1:=ref(close,1);
b2:=ref(close,2);
b3:=ref(close,3);
b4:=ref(close,4);
cmax:=max(max(max(close,b1),b2),b3);
cmin:=min(min(min(close,b1),b2),b3);
持股:=(close=cmax and (b1>=b2 or b1>=b3)) or ((b1=cmax and (b2=cmin or b3=cmin)) and close>=b2) or
(b2=cmax and b3=cmin and close>=b1) or (b3=cmax and close>=b1 and close>=b2);
变盘:=close=cmax and b1=cmin;
下跌:=(close=cmin and (b1<b2 or b1<b3)) or ((b1=cmin and (b2=cmax or b3=cmax)) and close<b2) or
(b2=cmin and b3=cmax and close<b1) or (b3=cmin and close<b1 and close<b2);
买入:=(b1=cmin and close>=b2) or ((b2=cmin and b1<=b3) or
(b3=cmin and b1<=b2) and b2<b4 and close>=b1);
抛售:=(b1=cmax and close<b2) or ((b2=cmax and b1>b3) or
(b3=cmax and b1>b2) and b2>=b4 and close<b1);
stickline(period!=0 and 持股,b1,close,3,0),color000099;
stickline(period!=0 and 变盘,b2,close,3,0),color0099ef;
stickline(period!=0 and 下跌,b1,close,3,0),color009900;
stickline(period!=0 and b1=cmax and close=cmin,b2,close,3.5,0),color009900;
stickline(period!=0 and 买入,b1,b2,3,0),color00ffff;
stickline(period!=0 and 抛售,b1,b2,3,0),colorffffff;
stickline(period!=0 and c>=o,l,h,0,1),colorred;
stickline(period!=0 and c<o,h,l,0,1),colorgreen;
stickline(period!=0 and 持股 or 买入,o,c,1.5,0),colorred;
stickline(period!=0 and 下跌 or 抛售,o,c,1.5,0),colorgreen;
stickline(period!=0 and c>0,o,c,0,0),colorffffff;
drawtext_fix(p=0 and period!=0 and islastbar ,0,0.0,0,strcat('今日买点:',con2str(ref(预测明买,1),2))),colorcyan;
drawtext_fix(p=0 and period!=0 and islastbar ,0,0.08,0,strcat('今日卖点:',con2str(ref(预测明卖,1),2))),colorcyan;
drawtext_fix(p=0 and period!=0 and islastbar ,0.20,0,0,strcat('预测明日买点:',con2str(预测明买,2))),colorwhite;
drawtext_fix(p=0 and period!=0 and islastbar ,0.20,0.08,0,strcat('预测明日卖点:',con2str(预测明卖,2))),colorwhite;
drawtext_fix(p=0 and period!=0 ,0,0.16,0,'黄持股、绿持币、 强势线上多关注、黄带立度送你金。'),coloryellow;
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddd1:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力:=if(cross(d24,ddd1),high,ref(high,barslast(cross(d24,ddd1)))),colorffffff;
决策:=if(islastbar,压力,drawnull),colormagenta;
stickline(islastbar ,决策,决策,60,1),linethick3,colormagenta;
底部:=llv(high,30),color00ff00;
超跌:=if(islastbar,底部,drawnull),colorred;
stickline(islastbar ,超跌,超跌,60,1),linethick3,colorred;
if(period=0 ,c,drawnull)linethick1,colorffffff;
分时均价线:if(period=0 ,sum(c*v,240)/sum(v,240),drawnull),coloryellow;
if(period!=0,ema((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4,drawnull)colorgreen;
k1:=if(period=0 ,"分时引.今卖#day",drawnull);
d1:=if(period=0 ,"分时引.预测明日卖点#day",drawnull);
f1:=if(period=0 ,"分时引.今买#day",drawnull);
j1:=if(period=0 ,"分时引.预测明日买点#day",drawnull);
j1,coloryellow,linethick1;
d2:d1+(昨收-k1),dotline,colorwhite,linethick1;
j2:j1+(昨收-f1),dotline,colorred,linethick1;
上一指标公式:金钻精品顺势而为天人合一股市永红老师精品 通达信顺势天人
下一指标公式:进攻吸筹 通达信进攻
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文两用主图 通达信仅供学习研究。