期货有效买卖点,准确率90以上,方向线分强势区,弱势区,平衡区,与macd指标的diff在0线上下方互相配合。
弱势区:35,colorgreen;
强势区:65,colorred;
qcz:=abs(ma(close,10)-ma(close,n4))+abs(ma(close,15)-ma(close,n4))+abs(ma(close,20)-ma(close,n4));
趋势值:=qcz/close*100+15,colorwhite,linethick1;
diff: =ema(close,12) - ema(close,26);
dea:= ema(diff,9);
macd: =(diff-dea)*2;
var1:=((close - llv(low,n1))/(hhv(high,n1) - llv(low,n1)))*(100);
var2:=((close - llv(low,n2))/(hhv(high,n2) - llv(low,n2)))*(100);
var3:=sma(var1,5,1);
var4:=sma(var2,5,1);
k:=sma(var3,3,1);
k60:=sma(var4,3,1);
d:=sma(k,3,1);
mb1:=k-d;
mb2:=d-k;
d60:=sma(k60,3,1);
mb1:k-d;
mb2:d-k;
aa20:=ma(close,20);
/* 方向日线交叉,买卖方向线65以上强势,35以下弱势,35和65之间为平衡市*/
abvar4:=ema((close-llv(low,n3))/(hhv(high,n3)-llv(low,n3))*100,5)*0.998;
abvar10:=ema(0.667*ref(abvar4,1)+0.333*abvar4,1),linethick1;
买卖方向线:=sma(abvar10,5,1);//www.goodgongshi.com
partline(买卖方向线,买卖方向线>65,colorred,买卖方向线<35,colorgreen,买卖方向线<65 and 买卖方向线>35,coloryellow),linethick2;
方向线:ema((close-llv(low,12))/(hhv(high,26)-llv(low,12))*100,4),colorgray;
stickline((k >= d),k,d,8,0),color0000a8;
stickline((k >= d),k,d,6,0),color0000c0;
stickline((k >= d),k,d,4,0),color0000e0;
stickline((k >= d),k,d,3,0),color0000f0;
stickline((k >= d),k,d,2,0),color0000d0;
stickline((k >= d),k,d,1,0),color8080ff;
stickline((k <= d),k,d,8,0),color008800;
stickline((k <= d),k,d,6,0),color009900;
stickline((k <= d),k,d,4,0),color00aa00;
stickline((k <= d),k,d,3,0),color00bb00;
stickline((k <= d),k,d,2,0),color00cc00;
stickline((k <= d),k,d,1,0),color00dd00;
a1:=barslast(ref(cross(diff,dea),1));
a2:=barslast(ref(cross(dea,diff),1));
a3:=barslast(ref(cross(k,d),1));
a4:=barslast(ref(cross(d,k),1));
底背离:=if(ref(low,a1+1)>low and diff>ref(diff,a1+1),1,0);
顶背离:=if(ref(high,a2+1)<high and ref(diff,a2+1)>diff,1,0);
底背离1:=if(ref(low,a3+1)>low and k>ref(k,a3+1),1,0);
顶背离1:=if(ref(high,a4+1)<high and ref(d,a4+1),1,0);
cch1:=0;//www.goodgongshi.com
cch1:=if((顶背离=0 or 顶背离1=0) and 买卖方向线>ref(买卖方向线,1) and open<c and ref(k-d,4)<0 and c>aa20 and 买卖方向线>25 and mb1>1 and 趋势值>15.30,1,0);
drawtext(cross(diff,dea) and cch1=1,k-12,'买'),colorred;
drawicon(cross(diff,dea) and cch1=1,k-12,1);
cch2:=0;
cch2:=if((底背离=0 or 底背离1=0) and 买卖方向线<ref(买卖方向线,1) and open>c and ref(d-k,4)<0 and c<aa20 and 买卖方向线<75 and mb2>1 and 趋势值>15.30,1,0);
drawtext(cross(dea,diff) and cch2=1,d+12,'卖'),colorwhite;
drawicon(cross(dea,diff) and cch2=1,d+12,2);
cch3:=0;
cch3:=if((买卖方向线>50 and diff>0 and 买卖方向线>ref(买卖方向线,1) and open<c and c>aa20 and 趋势值>15.15 and 方向线<85 and mb1>0.21),1,0);
drawtext(cross(k,d) and cch3=1,k-6,'强买'),colorred;
drawicon(cross(k,d) and cch3=1,k-6,1);
cch4:=0;
cch4:=if(( 买卖方向线<50 and diff<0 and 买卖方向线<ref(买卖方向线,1) and open>c and c<aa20 and 趋势值>15.15 and 方向线>15 and mb2>0.21),1,0);
drawtext(cross(d,k) and cch4=1,d+6,'弱卖'),colorwhite;
drawicon(cross(d,k) and cch4=1,d+6,2);
cch5:=0;
cch5:=if((cross(k,d) and 买卖方向线>ref(买卖方向线,1) and (底背离=1 or 底背离1=1) and open<c and c>aa20 and 买卖方向线>25 and 趋势值>15.30 ),1,0);
drawtext(cross(diff,dea) and cch5=1 ,k,'少买'),colorred;
drawicon(cross(diff,dea) and cch5=1 ,k,1);
cch6:=0;
cch6:=if((cross(d,k) and 买卖方向线<ref(买卖方向线,1) and (顶背离=1 or 顶背离1=1) and open>c and c<aa20 and 买卖方向线<75 and 趋势值>15.30 ),1,0);
drawtext(cross(dea,diff) and cch6=1,d,'少卖'),colorwhite;
drawicon(cross(dea,diff) and cch6=1 ,d,2),colorwhite;
cch7:=0;
cch7:=if(( 买卖方向线>66 and 买卖方向线<80 and 买卖方向线>ref(买卖方向线,1) and 趋势值>15.15 and aa20>ref(aa20,1) and k>d),1,0);
drawtext(ref(k-d,6)<0 and cross(k60,d60) and cch7=1,d,'短买') ,colorred;
drawicon(ref(k-d,6)<0 and cross(k60,d60) and cch7=1,d,1);
cch8:=0;//www.goodgongshi.com
cch8:=if(( 买卖方向线<34 and 买卖方向线>15 and 买卖方向线<ref(买卖方向线,1) and 趋势值>15.15 and aa20<ref(aa20,1) and d>k),1,0);
drawtext(ref(k-d,6)>0 and cross(d60,k60) and cch8=1,d+3,'短卖') ,colorwhite;
drawicon(ref(k-d,6)>0 and cross(d60,k60) and cch8=1,d+3,2);
cch9:=0;
cch9:=if((顶背离=0 or 顶背离1=0) and 买卖方向线>ref(买卖方向线,1) and open<c and c>=ma(c,30) and mb1>1 and diff>dea and 趋势值>15.25,1,0);
drawtext(cross(k,d) and cch9=1,k-12,'少买'),colorred;
drawicon(cross(k,d) and cch9=1,k-12,1);
cch10:=0;
cch10:=if((底背离=0 or 底背离1=0) and 买卖方向线<ref(买卖方向线,1) and open>c and c<=ma(c,30) and mb2>1 and diff<dea and 趋势值>15.25,1,0);
drawtext(cross(d,k) and cch10=1,d+12,'少卖'),colorwhite;
drawicon(cross(d,k) and cch10=1,d+12,2);
cch11:=0;
cch11:=if( 买卖方向线>ref(买卖方向线,1) and 买卖方向线>35 and c>aa20,1,0);
drawtext(cross(k60,买卖方向线) and cch11=1,k-12,'转买'),colorred;
drawicon(cross(k60,买卖方向线) and cch11=1,k-12,1);
cch12:=0;
cch12:=if( 买卖方向线<ref(买卖方向线,1) and 买卖方向线<65 and c<aa20,1,0);
drawtext(cross(买卖方向线,k60) and cch12=1,d+12,'转卖'),colorwhite;
drawicon(cross(买卖方向线,k60) and cch12=1,d+12,2);
cch13:=0;
cch13:=if((买卖方向线>65 and 买卖方向线>ref(买卖方向线,1) and mb1>0.6 and 趋势值>15.15 and open<c and 方向线<85 and k60>ref(k60,1)),1,0);
drawtext(cross(k,d) and 方向线<80 and ref(k-d,6)<0 and cch13=1,k-6,'强买'),colorred;
drawicon(cross(k,d) and 方向线<80 and ref(k-d,6)<0 and cch13=1,k-6,1);
cch14:=0;
cch14:=if(( 买卖方向线<35 and 买卖方向线<ref(买卖方向线,1) and mb2>0.6 and 趋势值>15.15 and open>c and 方向线>15 and k60<ref(k60,1)),1,0);
drawtext(cross(d,k) and ref(k-d,6)>0 and cch14=1,d+6,'弱卖'),colorwhite;
drawicon(cross(d,k) and ref(k-d,6)>0 and cch14=1,d+6,2);
drawtext(cross(方向线,40) and diff>0 and mb2>0.6 and 趋势值>15.15 and k-d>0,d,'加仓') ,colorred;
drawtext(cross(60,方向线) and diff<0 and mb2>0.6 and 趋势值>15.15 and k-d<0,d,'加仓') ,colorwhite;
var17:=zig(3,36)>ref(zig(3,36),1) and ref(zig(3,36),1)<=ref(zig(3,36),2) and ref(zig(3,36),2)<=ref(zig(3,36),3);
var18:=zig(3,36)<ref(zig(3,36),1) and ref(zig(3,36),1)>=ref(zig(3,36),2) and ref(zig(3,36),2)>=ref(zig(3,36),3);
drawtext(var17,10,'发现黑马'), colorff6600;
drawtext(var18,100,'发现铁顶'), colorff6600;
〖说明〗:strleft('注意极端行情及背离指标,相反方向小心,参考日线交叉',150),colorwhite;
上一指标公式:运达数据指标公式详解 同花顺运达
下一指标公式:庖丁解牛DDJ指标公式详解 同花顺庖丁解牛
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文期天大圣30分期货买卖点指标公式详解 同花顺期货天大圣仅供学习研究。