您的支持,是【泊砂系列】的创作动力。雁过留声,说好说歹都行。
注:此公式引用了理想论坛很多老师的杰作,在此一并感谢!
源码:
{【泊砂系列】.实战换手解盘公式说明:}
{1.0轴上日换手:绿.地量<1/棕.冷清1<2/淡灰.温和2<3/黄.交投渐活3<5/红.活跃5<7/洋红.带量7<10/淡红.放量10<15/
{青.巨量15<25/蓝.异常>=25。
2.0轴上双紫色线:量能饱和提示;
3.黄和青线:2倍换手%和十换缩2(2倍和缩2,只是便于显示);
4.青线上十日换手:黄点>20,有庄家可做高抛低吸/红点>60,庄家强势.
5.顶上黄小块:二十换>60/白;顶中:白小块.十平均换>3/有庄可高抛低吸/红小块.十平均换>5/庄家强势)。
6.0轴下空框:灰.量比>1/青.量比>2,
7.0轴下下:绿/主出,红/主进,黄/主力强升;实块:绿/量能顶,红/爆涨点,黄/反弹买点}
{v换手综合 }
中盘:finance(7)<1000000000 and finance(7)>100000000,coloryellow,nodraw;
小盘:finance(7)<100000000,colorwhite,nodraw;
盘小绩优:finance(7)<1000000000 and dynainfo(39)>0 and dynainfo(39)<=28,color9933ff,nodraw;
_10日涨跌%:(c-ref(close,10))/ref(close,10)*100,colorgreen,nodraw;
{k线部分}
ma3:=ma(c,3);
ma10:=ma(c,10);
ma15:=ma(c,15);
ma21:=ma(c,21);
ma30:=ma(c,30);
vl:=vol;
v3:=ma(vl,3);
v5:=ma(vl,5);
v13:=ma(vl,13);
v60:=ma(vl,60);
v135:=ma(vl,135);
量比:=v/(ref(ma(v,5),1)),linethick0,colorred,nodraw;
vvol:=if(currbarscount=1 and period=5,vol*240/fromopen,drawnull),nodraw;
虚拟量比:=vvol/(ref(ma(v,5),1)),colorred,nodraw;
获利比%:winner(c)*100,colorliblue,nodraw;
换手:=vol/capital*100, colormagenta,nodraw;
十换:=sum(换手,10),coloryellow,nodraw;
n:=3;
量能:=sum(换手,n);
zl涨幅:=100*(close-ref(close,n))/ref(close,n);
{换手分类}
stickline(c,0,换手*2,2,0),color408080;
stickline(换手<1,1,换手*2,2,0),colorgreen;{绿.地量区}
stickline(换手>=1,2,换手*2,2,0),colorbrown;{棕.冷门股}
stickline(换手>2,4,换手*2,2,0),colorligray;{淡灰.备份股}
stickline(换手>3,6,换手*2,2,0),coloryellow;{黄.热门股}
stickline(换手>5,8,换手*2,2,0),colorred;{红.活跃}
stickline(换手>7,10,换手*2,2,0),colormagenta;{洋红.带量活跃}
stickline(换手>10,12,换手*2,2,0),colorlired;{淡红.放量极活跃}
stickline(换手>15,14,换手*2,2,0),colorcyan;{青.巨量险中求}
stickline(换手>25,16,换手*2,2,0),colorblue;{蓝.异常区}
2倍换手%:vol/capital*100*2,coloryellow;
十换缩2:sum(换手,10)/2,colorlicyan,linethick2;
{文字位置 }
zgd:=hhv(十换缩2,60);
zgd2:=const(zgd);{文字位置 }
drawtext(const(换手<1)and currbarscount=30,zgd2,'绿.地量(换<1绝对地量)'),colorgreen;
drawtext(const(换手<=2 and 换手>=1)and currbarscount=30,zgd2,'棕.冷清(换1<2,只看不动/属冷门股)'),colorbrown;
drawtext(const(换手>2 and 换手<3)and currbarscount=30,zgd2,'淡灰.温和(换2<3,暂无方向/属备份股)'),colorligray;
drawtext(const(换手<5 and 换手>3)and currbarscount=30,zgd2,'黄.交投渐活(换3<5,试探介入/属热门股)'),coloryellow;
drawtext(const(换手<7 and 换手>5)and currbarscount=30,zgd2,'红.活跃(换5<7,初步带量/小幅升或落)'),colorred;
drawtext(const(换手<10 and 换手>7)and currbarscount=30,zgd2,'洋红.带量(换7<10,大举介入/稳步升或落)'),colormagenta;
drawtext(const(换手<15 and 换手>10)and currbarscount=30,zgd2,'淡红.放量(换10<15,重点关注/大幅升或落)'),colorlired;
drawtext(const(换手<25 and 换手>15)and currbarscount=30,zgd2,'青.巨量(换15<25,短进中清仓/提防暴跌)'),colorcyan;
drawtext(const(换手>=25)and currbarscount=30,zgd2,'蓝.异常(换>25,强势涨高点不远/不强势涨大跌在即)'),colorblue;
{drawtext(const(量能>3*n and 涨幅1>3*n)and currbarscount=30,15,'继续大涨!'),colorligray;
drawtext(const(量能<0.5*n and 涨幅1<n )and currbarscount=30,10,'继续小涨!'),colorligray;
drawtext(const(量能<0.5*n and 涨幅1>-n and 涨幅1>0 )and currbarscount=30,zgd2*0.9,'量能不配合,继续小跌!'),colorligray;
drawtext(const(量能>3*n and 涨幅1<-3*n)and currbarscount=30,zgd2*0.9,'量能不理想,继续大跌!)'),colorligray; }
drawtext(const((量能>3*n and zl涨幅<n) or (量能<0.5*n and zl涨幅>3*n)
or (量能>3*n and zl涨幅>-n and zl涨幅<0) or (量能<0.5*n and zl涨幅<-3*n))and currbarscount=30,zgd2*0.9,'注意反转!)'),colorligray;
{最上直线方块20换和十均换 }
stickline(sum(v/capital*100,20)>80,zgd2*1.1,zgd2*1.12,2,0),coloryellow;{黄.20换>80 }
stickline(sum(v/capital*100,10)/10>3,zgd2,zgd2*1.02,2,0),colorwhite;{白.十均换>3/有庄家,高抛低吸 }
stickline(sum(v/capital*100,10)/10>5,zgd2,zgd2*1.02,2,0),colorred; {红.十均换>5/庄家强势 }
{0轴下方框.量比和起涨点}
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea);
dif趋势:=dea>ref(dea,1);
dif趋势2:=dea<ref(dea,1);
m5:=ma(close,5);
a1:=m5>=ma10 or cross(m5,ma10) or (c>ma10 and ma10>m5);
涨幅%:=(c-ref(c,1))/ref(c,1)*100,linethick0;
换手率%:=vol/capital*100*2,coloryellow;
换手率%1:=换手率%>5;
量比1:=量比>1.5 or 虚拟量比>1.5;
获利比例%1:=获利比%>70;{筹码有较好的集中还要区别是筹码低位集中,还是高位集中 }
涨幅%1:=涨幅%>3;
启动:=换手率%1 and 量比1 and 获利比例%1 and 涨幅%1 and a1 and k<60 and dif趋势 ;
爆涨点:=if(启动,60,0)colorwhite,linethick1;
启动2:=换手率%1 and 量比1 and 获利比例%1 and 涨幅%1 and a1 and (k>70 or dif趋势2) ;
量能顶:=if(启动2,60,0)colorwhite,linethick1;
stickline(filter(爆涨点=60,3),-0.5,-4,2,0),colorred;{红.爆涨点}
stickline(filter(量能顶=60,3),-0.5,-4,2,0),colorgreen;{绿.量能顶}
stickline(量比>1,-0.5,-1.5,1,1),colorgray;{灰.量比>1 }
stickline(量比>2,-0.5,-1.5,1,1),colorcyan;{青.量比>2 }
{0轴下下为波段信号}
{黄金反弹 }
rsvh:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
kkkh:=sma(rsvh,3,1),colorwhite;
dddh:=sma(kkkh,3,1),coloryellow ;
bias1:=(close-ma(close,24))/ma(close,24)*100;
aa1h:=cross(kkkh,dddh) and cross(kkkh,dddh)<16 and bias1<-6;
k1h:=if(kkkh>dddh,6,0);
d1h:=if(dddh>kkkh,4,0);
黄金反弹:=if(aa1h,40,0),colorff00ff;
{底下小方块为短线走势强弱信号}
stickline(黄金反弹=40,-2,-4,2.1,0),coloryellow;{黄背柱抢反弹 };
{主力进场 }
n1:=9;
n2:=5;
mtm:=c-ref(c,1);
zlgj:=100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite;
mazl:=ma(zlgj,n2),coloryellow;
主力进:=zlgj>ref(zlgj,1) or zlgj>mazl;
主力强势:=zlgj>0;
{主升 }
均价:=(high+low+close)/3;
个股趋势:=sma(((均价-llv(均价,28))/(hhv(均价,28)-llv(均价,28))*100),3,1),coloryellow;
{综合度 ; 秀山腾龙 ; tdx版}
dea度:=if(dea>ref(dea,1) and dea>0,2,if(dea>ref(dea,1) and dea<0,1,0));
diff度:=if(diff>dea and dea>ref(dea,1) and diff>ref(diff,1),1,if(diff>dea and dea>ref(dea,1) and diff<ref
(diff,1),0.5,0));
macd度:=if(macd>ref(macd,1) and macd>0,1,if(macd>ref(macd,1) and macd<0,0.5,0));
m度:=dea度+diff度+macd度;
v35:=ma(v,35);
五日量:=sum(v,5);
均量度:=if(v>35 and v35>ref(v35,1),2,if(v<v35 and v35>ref(v35,1),1,0));
增量度:=if(五日量>ref(五日量,1),1,0);
量度:=均量度+增量度;
trr:=sma(max(max(h-l,abs(h-ref(c,1))),abs(l-ref(c,1))),14,1);
hdd:=h-ref(h,1);
ldd:=ref(l,1)-l;
dmp:=sma(if(hdd>0 and hdd>ldd,hdd,0),6,1);
dmm:=sma(if(ldd>0 and ldd>hdd,ldd,0),6,1);
pdi:=dmp*100/trr;
mdi:=dmm*100/trr;
pdi度:=if(pdi>ref(pdi,1) and pdi>mdi,1,if(pdi>ref(pdi,1) and pdi<mdi,0.5,0));
mdi度:=if(mdi<ref(mdi,1) and mdi<pdi,1,if(mdi<ref(mdi,1) and mdi>pdi,0.5,0));
dmi度:=pdi度+mdi度;
综合度:=m度+量度+dmi度,colorcyan,nodraw;
走强:=if(综合度>=5,综合度,0);
走弱:=if(综合度<5,综合度,0);
强势线:=sma(走强,3,1)*10,coloryellow,dotline;
弱势线:=sma(走弱,3,1),colorgreen,;
{启动追涨}
qq:=(((((ma(close,1) + ma(close,3)) + ma(close,5)) + ma(close,7)) + ma(close,9)) / 5);
wwd:=(((((ma(close,2) + ma(close,4)) + ma(close,6)) + ma(close,8)) + ma(close,10)) / 5);
aq:=ema(qq,3);
bq:=ema(wwd,10);
var1q:=ema(amount,1)/ema(vol,1)/100;
aaq:=dma(aq,var1q);
bbq:=dma(bq,var1q);
var29q:=max((2*(aaq-bbq)),0)*100;
拉升线:=ema(var29q,3),colorffffff,linethick2;
mad:=diff>ref(diff,1);
var2gd:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
做多能量:=sma(var2gd,5,1),linethick2,colorred;
mav:=(2*c+h+l)/4;
var1d:=llv(low,34);
var2d:=hhv(high,34);
sk:= ema((mav-var1d)/(var2d-var1d)*100,13);
sd:= ema(0.667*ref(sk,1)+0.333*sk,2);
m11:=ma(c,10);
m1:=m11>ref(m11,1);
md:=sd>ref(sd,1);
个股趋势2:=个股趋势>ref(个股趋势,1);
主升:=拉升线>ref(拉升线,1)or 个股趋势2 or 强势线>ref(强势线,1)and 做多能量>ref(做多能量,1)and md and m1 and mad;
stickline(主力进,-2.5,-3.5,4,0),colorred;{0轴下红/主力进 }
stickline(zlgj<ref(zlgj,1) or zlgj<mazl,-2.5,-3.5,4,0),color00ff00;{0轴下绿/主力出 }
stickline(主升,-2.5,-3.5,0.5,0),coloryellow;{0轴下黄/主力强升};
{梦的海洋10 /换手率状态看强庄 }
量能饱和:=if((amount/c)/(hhv(amount,20)/hhv(c,20))*100>100,100,(amount/c)/(hhv(amount,20)/hhv(c,20))*100),nodraw,colorwhite;
{【十九强】:量价角度定强弱;}
mv3:=ema(v,3);
m3:=ema(c,3);
mv3角度:=atan((mv3/ref(mv3,1)-1)*100)*180/3.1416;
ma3角度:=atan((m3/ref(m3,1)-1)*100)*180/3.1416;
mv5:=ema(v,5);
ma5:=ema(c,5);
mv5角度:=atan((mv5/ref(mv5,1)-1)*100)*180/3.1416;
ma5角度:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;
mv10:=ema(v,10);
m10:=ema(c,10);
mv10角度:=atan((mv10/ref(mv10,1)-1)*100)*180/3.1416;
ma10角度:=atan((m10/ref(m10,1)-1)*100)*180/3.1416;
强弱度1:=(mv3角度+ma3角度+mv5角度+ma5角度+mv10角度+ma10角度)/6,colorffffff,nodraw;
强弱度:=ma(强弱度1,3),colorcyan,nodraw;
stickline(量能饱和>30 and 强弱度>1 and c>ma(c,5) or c>ma(c,10),换手*2,十换缩2,0.5,1),colormagenta;{洋红柱.量能饱和区}
stickline(十换缩2>20/2,十换缩2*0.98,十换缩2,2,0),colorwhite;{十换线上黄点.有庄家可做高抛低吸 }
stickline(十换缩2>60/2,十换缩2*0.98,十换缩2,2,0),colorred; {十换线上红点.强势股 };
{量价齐升解盘}
b:=sma((3*h+2*c+o+l)/7,10,1);
w1:=-100*(hhv(hhv(b,1),13)-b)/(hhv(hhv(b,1),13)-llv(llv(b,1),13));
w2:=-100*(hhv(hhv(b,1),34)-b)/(hhv(hhv(b,1),34)-llv(llv(b,1),34));
w3:=-100*(hhv(hhv(b,1),55)-b)/(hhv(hhv(b,1),55)-llv(llv(b,1),55));
w4:=-100*(hhv(hhv(b,1),5)-b)/(hhv(hhv(b,1),5)-llv(llv(b,1),5));
价格wr:=(w1+w2+w3+w4)/4;
a:=sma(vol,10,1);
wr1:=-100*(hhv(hhv(a,1),13)-a)/(hhv(hhv(a,1),13)-llv(llv(a,1),13));
wr2:=-100*(hhv(hhv(a,1),34)-a)/(hhv(hhv(a,1),34)-llv(llv(a,1),34));
wr3:=-100*(hhv(hhv(a,1),55)-a)/(hhv(hhv(a,1),55)-llv(llv(a,1),55));
wr4:=-100*(hhv(hhv(a,1),5)-a)/(hhv(hhv(a,1),5)-llv(llv(a,1),5));
量wr:=(wr1+wr2+wr3+wr4)/4;
wr:=-100*(hhv(high,55)-close)/(hhv(high,55)-llv(low,55));
多空平衡:=-50;
ma55:=ma(c,55);
ma1:=ma(vol,5);
drawtext((const(if(close>=ma(close,13),1,0))) and currbarscount=60,zgd2*1.25,'●短持股'),colorred;
drawtext((const(if(close<ma(close,13) and c<ma(close,5),1,0))) and currbarscount=60,zgd2*1.25,'●短持币'),colorgreen;
drawtext(const(ref(价格wr,3) and ref(价格wr,1)<价格wr) and currbarscount=55,zgd2*1.25,'●量价转多;'),colorred;
drawtext(const(ref(价格wr,3)>ref(价格wr,2) and ref(价格wr,2)>ref(价格wr,1) and ref(价格wr,1)>价格wr)
and currbarscount=55,zgd2*1.25,'●量价转空;'),colorff00ff;
drawtext(const(价格wr=-100)and currbarscount=50,zgd2*1.25,'●量价很弱不碰!'),colorff00ff ;
drawtext((const(v5>ref(v5,1)*1.015)) and currbarscount=60,zgd2*1.1,'●5量线强劲向上;'),coloryellow;
drawtext((const(v3>v60)) and currbarscount=53,zgd2*1.1,'●3量线>60量线!'),coloryellow;
drawtext((const(cross(v5,v35))) and currbarscount=46,zgd2*1.1,'●今日v5金叉v35;'),coloryellow;
drawtext((const(cross(v5,v135))) and currbarscount=39,zgd2*1.1,'●今日v5金叉v135;'),coloryellow;
上一指标公式:绝对经典的135飘带TDX主图指标下载 通达信绝对经典贴图
下一指标公式:主图看盘神偷牵牛TDX指标下载 通达信看盘神偷
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文换手解盘--不讲花俏注重实战TDX副图简单说明指标下载 通达信换手仅供学习研究。