我的看盘分时主图
组合指标源码:
{时间设置}
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;
成交额:amount,nodraw;
大额线:=50*3+300*gb,color00ffff;
vv2:=sum(amount,t),nodraw;
初正1:=if(t=1 and dynainfo(4)>=dynainfo(3),vv2,0);
初负1:=if(t=1 and dynainfo(4)<dynainfo(3),vv2,0);
初正2:=const(sum(if(t=1,初正1,0),t)),nodraw;
初负2:=const(sum(if(t=1,初负1,0),t)),nodraw;
初正:=const(sum(if(初正1>大额线 and t=1,初正1,0),t)),nodraw;
初负:=const(sum(if(初负1>大额线 and t=1,初负1,0),t)),nodraw;
t00:=if(c1>ref(c1,1),0.9,-0.9);
t01:=if(c1<ref(c1,1),-0.9,0.9);
t02:=t00+t01;
tt1:=barslast(cross(t02,0));
tt2:=barslast(cross(0,t02));
tt:=if(t02=1.8,1,if(t02=-1.8,-1,0));
正v1:=if(tt=1 or (tt=0 and tt1>tt2),成交额,0);
负v1:=if(tt=-1 or (tt=0 and tt1<tt2),成交额,0);
正总1:=初正1+sum(正v1,t),nodraw,color0000ff;
负总1:=初负1+sum(负v1,t),nodraw,color00ff00;
总:=(正总1+负总1)+初正2+初负2,nodraw;
正v:=if(正v1>大额线,正v1,0);
负v:=if(负v1>大额线,负v1,0);
正总:初正+sum(正v,t),nodraw,color0000ff;
负总:初负+sum(负v,t),nodraw,color00ff00;
差%:(正总-负总)/总*100,color00ff00,nodraw;
tta:=intpart(2*t/5);
kp30:=t<240;
kpgd:=h=hhv(h,0) and kp30;
gdsj:=barslast(kpgd);
{强弱界}
mma30:=ema(close,30);
强弱界定:=ema(close,900);
drawband(mma30,rgb(100,0,0),强弱界定,rgb(0,255,0));
drawicon(cross(mma30,强弱界定),h,1);
cc:=close,colorwhite,linethick2;
var7:=sma(cc,6.18,1);
var8:=sma(var7,3.14,1);
rcc:=dynainfo(3);
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=4*(s2-s6);
kk:=1;
{暗轨}
{aa1:=ployline(close<cost(50) and t>5,cost(20));
bb1:=ployline(close<cost(50) and t>5,cost(80));
drawband(bb1,rgb(50,50,50),aa1,drawnull);
{cyc}
var1:=amount/vol/100;
var2:=(3*high+low+open+2*close)/7;
var3:=sum(amount,5)/var1/100;
var4:=sum(amount,13)/var1/100;
var5:=sum(amount,34)/var1/100;
cyc5:=dma(var2,vol/var3);
cyc13:=dma(var2,vol/var4);
cyc34:=dma(var2,vol/var5);
drawband(cyc5,rgb(00,50,50),cyc13,drawnull);
drawband(cyc13,rgb(00,150,150),cyc34,drawnull);
{分时macd}
昨收:=dynainfo(3);
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;
ma5:=ma(close,5);
ma10:=ma(close,10);
ma20:=ma(close,20);
ma30:=ma(close,30);
dif:=(ema(close,13) - ema(close,24));
dea:=(ema(dif,6));
macd:=5*(dif-dea);
stickline(macd>=0 and macd>=ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),color3333ff,linethick3;
stickline(macd>=0 and macd< ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),color00d400,linethick3;
stickline(macd<0 and macd>=ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),color757500,linethick3;
stickline(macd<0 and macd< ref(macd,1),rcc*kk,macd*4+rcc*kk,3,0),color00d400,linethick3;
stickline(dk>0,rcc*kk,rcc*kk+dk,0,1),color3333ff;
stickline(dk<0,rcc*kk,rcc*kk+dk,0,1),color51ff51;
{多头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:=(q2+q3)/2+2*(q2-q3)/3/fdm*多头macd;
stickline(多头macd>0,rb,(q2+q3)/2,2,1),linethick1,color3333ff;
stickline(多头macd<0,rb,(q2+q3)/2,2,1),linethick1,color00dd00;
{火焰山及底部信号}
faa:=winner(close+close*15/100)*100;
fbb:=winner(close+close*0/100)*100;
fcc:=faa-fbb;
fdd:=(winner(close-close*0.1/100)-winner(close-close*15/100))*100;
fee:=fcc<3 and fdd<0.5 and open!=low;
fa1:=dynainfo(6);
fa2:=if(low>fa1,0,if(high<fa1,1,(fa1-low+0.01)/(high-low+0.01)));
fa3:=vol/winner(low);
fa4:=ref(hhv(close,120),1);
fa5:=ref(llv(close,120),1);
fa6:=100*(close-fa5)/(fa4-fa5);
fa7:=fa2>0 or fa2=1;
fa8:=fa7 and fa3/ref(fa3,3)>=3 and fa6<80;
fa9:=ref(fa8,1) or ref(fa8,2) or ref(fa8,3) or ref(fa8,4);
fa10:=fa8 and fa9;
fa11:=if(filter(fa8,3),5,0);
fa12:=if(filter(fa10,3) or fee,10,0);
eeee:=(rcc-zs)/5;
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);
drawtext(fa11,(q2+q3)/2*1.02,'★进'),colorffffff;
drawtext(fa12,(q2+q3)/2*1.03,',★加'),colorffffff;
主力进场:stickline(fvar5>ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,10,0 ),colorred;
洗盘:if(fvar5<ref(fvar5,1),fvar5,0),colorgreen,nodraw;
stickline(fvar5<ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,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(fvar8 and count(fvar8,30)=1,(q2+q3)/2+3*eeee,'★关注'),colorff24ff;
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*1.01,4,0),colorff00ff;
drawtext(二次金叉,(q2+q3)/2*1.01,'★二金'),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*1.01,1,0),color0000ff;
drawtext((((cross(dif,dea) and ((下 - ref(下,1)) > 0)) and (macd >= ref(macd,1))) and (dif
<= 0)),(q2+q3)/2*1.01,'★金叉'),colorffffff;
{两个主要买进信号}
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(短买,(q2+q3)/2+(q2-q3)/1,'★短买'),colorffffff;
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.04;
横后上涨:=(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(上涨,(q2+q3)/2+(q2-q3)/1,'★涨'),colorred;
hhhh:ref(h,gdsj),colorffffff,pointdot,linethick1;
过顶:if(cross(c,hhhh),1,0),color00ff00,pointdot,nodraw;
冲高:if(filter(cross(c,hhhh*1.01),15),1,0),color00ffff,pointdot,nodraw;
drawband(var7,rgb(255,255,0),var8,rgb(0,255,255));
drawtext(过顶,hhhh*1.005,'↑'),color00ff00;
drawtext(冲高,hhhh*1.005,'☆'),color00ffff;
c,linethick2,colorffffff;
均价:sum(v*c,0)/sum(v,0),colorff00ff,linethick3;
yc:=ref(close,1);
止损价位:=(yc*1.0035*97+0.2)/99.65,colorred,linethick0;
e:=(high+low+open+2*close)/5;
明日阻力:=2*e-low;
明日支撑:=2*e-high;
明日突破:=e+(high-low);
明日反转:=e-(high-low);
今日阻力:=ref(明日阻力 , 1);
今日支撑:=ref(明日支撑 , 1);
drawtext_fix(1,0.00,0,0,'今阻:'),colorgreen;
drawtext_fix(1,0.05,0,0,con2str(今日阻力,2)),colorgreen;
drawtext_fix(1,0.11,0,0,'今撑:'),colorred;
drawtext_fix(1,0.16,0,0,con2str(今日支撑,2)),colorred;
drawtext_fix(1,0.22,0,0,'明阻:'),colorgreen;
drawtext_fix(1,0.27,0,0,con2str(明日阻力,2)),colorgreen;
drawtext_fix(1,0.33,0,0,'明撑:'),colorred;
drawtext_fix(1,0.38,0,0,con2str(明日支撑,2)),colorred;
drawtext_fix(1,0.44,0,0,'明突:'),coloryellow;
drawtext_fix(1,0.49,0,0,con2str(明日突破,2)),coloryellow;
drawtext_fix(1,0.55,0,0,'明转:'),colorffff00;
drawtext_fix(1,0.60,0,0,con2str(明日反转,2)),colorffff00;
drawtext_fix(1,0.66,0,0,'止损:'),colorwhite;
drawtext_fix(1,0.71,0,0,con2str(止损价位,2)),colorwhite;
上一指标公式:立桩量+能量活跃副图原创指标下载 通达信能量奉献
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文我的看盘分时主图源码可以自己选择主图还是副图指标下载 通达信选择主图副图仅供学习研究。