缠论买卖点主图指标Word格式文档下载.docx
- 文档编号:19887665
- 上传时间:2023-01-11
- 格式:DOCX
- 页数:12
- 大小:18.06KB
缠论买卖点主图指标Word格式文档下载.docx
《缠论买卖点主图指标Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《缠论买卖点主图指标Word格式文档下载.docx(12页珍藏版)》请在冰豆网上搜索。
TJ1:
=P1&
gt;
T1ANDP2&
T2;
ZD:
=MAX(T1,T2);
ZG:
=MIN(P1,P2);
LL:
=MIN(T1,T2);
HH:
=MAX(P1,P2);
TJ2:
=FILTER(ZG&
ZD,2);
TJ3:
=ZG=REF(ZG,BARSLAST(TJ2))ORZD=REF(ZD,BARSLAST(TJ2));
TJ4:
=TJ1&
amp;
&
TJ2&
NOT(TJ3);
TJ5:
=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1)));
TJ6:
=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4),1)));
TJ7:
=ZG&
REF(ZG,REF(BARSLAST(TJ4),1))&
ZD&
lt;
REF(ZD,REF(BARSLAST(TJ4),1));
TJ8:
=TJ4&
NOT(TJ5ORTJ6OR
TJ7);
ZSD:
=IF(TJ8,ZD,DRAWNULL);
ZSG:
=IF(TJ8,ZG,DRAWNULL);
ZSH:
=IF(TJ8,HH,DRAWNULL);
ZSL:
=IF(TJ8,LL,DRAWNULL);
STICKLINE(TJ8,ZSH,ZSL,0,-1),COLORMAGENTA;
STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),COLORMAGENTA;
DRAWTEXT(DISP=2,ZSH,'
中枢'
),COLORRED;
中枢高:
PLOYLINE(DISP=2,REF(ZSD,BARSLAST(TJ8))),CROSSDOT,COLORLIRED;
中枢低:
PLOYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8))),CROSSDOT,COLORLIGREEN;
中枢最高:
PLOYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8))),POINTDOT,COLORRED;
中枢最低:
PLOYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8))),POINTDOT,COLORGREEN;
趋势高:
PLOYLINE(DISP=3,ZIG(1,K*N1)),COLORLIBLUE;
趋势低:
PLOYLINE(DISP=3,ZIG(2,K*N2)),COLORLIBLUE;
局部低点预选A:
=BACKSET(LLV(L,5)&
REF(LLV(L,4),1),4);
局部低点预选B:
=BACKSET(局部低点预选A=0ANDREF(局部低点预选A,1)=1,2);
局部低点预选C:
=IF(局部低点预选B=1ANDREF(局部低点预选B,1)=0,-1,0);
局部高点预选A:
=BACKSET(HHV(H,5)&
REF(HHV(H,4),1),4);
局部高点预选B:
=BACKSET(局部高点预选A=0ANDREF(局部高点预选A,1)=1,2);
局部高点预选C:
=IF(局部高点预选B=1ANDREF(局部高点预选B,1)=0,1,0);
缺口判断:
=IF(L&
REF(H,1),1,IF(H&
REF(L,1),-1,0));
距前高天:
=BARSLAST(局部高点预选C=1);
距前低天:
=BARSLAST(局部低点预选C=-1);
小值周期:
=LOWRANGE(L);
大值周期:
=TOPRANGE(H);
低保留AA:
=IF(局部低点预选C=-1ANDREF(距前高天,1)&
REF(距前低天,1)AND
LLV(L,距前高天+1)&
REF(LLV(L,距前高天+1),1),-1,0);
低保留AB:
=REF(距前低天,1)
AND(距前高天&
=4ORLLV(缺口判断,距前高天)=-1OR
LLV(L,距前低天+2)&
REF(LLV(L,距前低天+1),1)),-1,0);
低保留S:
=IF((低保留AA=-1OR低保留AB=-1)AND
L&
REF(H,距前高天+1),-1,0);
预判:
=IF((距前低天&
4ANDHHV(缺口判断,距前低天)!
=1)OR
REF(低保留S,距前低天)=0,1,0);
判断:
=IF(局部高点预选C=1ANDREF(距前低天,1)&
=REF(距前高天,1)AND
预判=1AND大值周期&
REF(小值周期,距前低天+1)AND
大值周期&
REF(小值周期,距前低天)AND
REF(大值周期,距前高天),1,0);
高保留A:
REF(距前高天,1)AND
HHV(H,距前低天+1)&
REF(HHV(H,距前低天+1),1),1,0);
高保留B:
REF(低保留S,距前低天)=-1AND(距前低天&
=4OR
HHV(缺口判断,距前低天)=1),1,0);
高保留:
=IF((高保留A=1OR高保留B=1OR判断=1)AND
H&
REF(L,距前低天+1),1,0);
预判A:
=IF((距前高天&
4ANDHHV(缺口判断,距前高天)!
REF(高保留,距前高天)=0,1,0);
判断A:
=REF(距前低天,1)AND
预判A=1AND小值周期&
REF(大值周期,距前高天+1)AND
小值周期&
REF(大值周期,距前高天)AND
REF(小值周期,距前低天),-1,0);
低保留A:
低保留B:
(距前高天&
判断A=-1),-1,0);
低保留:
=IF((低保留A=-1OR低保留B=-1)AND
距前高天A:
=BARSLAST(高保留=1);
距前低天A:
=BARSLAST(低保留=-1);
预判X:
=IF((距前低天A&
4ANDHHV(缺口判断,距前低天A)!
REF(低保留,距前低天A)=0,1,0);
判断X:
=IF(局部高点预选C=1ANDREF(距前低天A,1)&
=REF(距前高天A,1)AND
预判X=1AND大值周期&
REF(小值周期,距前低天A+1)AND
REF(小值周期,距前低天A)AND
REF(大值周期,距前高天A),1,0);
高保留XA:
REF(距前高天A,1)
ANDHHV(H,距前低天A+1)&
REF(HHV(H,距前低天A+1),1),1,0);
高保留XB:
=REF(距前高天A,1)
ANDREF(低保留,距前低天A)=-1AND(距前低天A&
HHV(缺口判断,距前低天A)=1),1,0);
高保留X:
=IF((高保留XA=1OR高保留XB=1OR判断X=1)AND
REF(L,距前低天A+1),1,0);
预判XA:
=IF((距前高天A&
4ANDHHV(缺口判断,距前高天A)!
REF(高保留XA,距前高天A)=0,1,0);
判断XA:
=IF(局部低点预选C=-1ANDREF(距前高天A,1)&
=REF(距前低天A,1)
AND预判XA=1AND小值周期&
REF(大值周期,距前高天A+1)AND
REF(大值周期,距前高天A)AND
REF(小值周期,距前低天A),-1,0);
低保留XA:
REF(距前低天A,1)
AND
LLV(L,距前高天A+1)&
REF(LLV(L,距前高天A+1),1),-1,0);
低保留XB:
AND(距前高天A&
=4ORLLV(缺口判断,距前高天A)=-1OR
判断XA=-1),-1,0);
低保留X:
=IF((低保留XA=-1OR低保留XB=-1)AND
REF(H,距前高天A+1),-1,0);
距前高天YA:
=BARSLAST(高保留X=1);
距前低天YA:
=BARSLAST(低保留X=-1);
预判YX:
=IF((距前低天YA&
4ANDHHV(缺口判断,距前低天YA)!
REF(低保留X,距前低天YA)=0,1,0);
判断YX:
=IF(局部高点预选C=1ANDREF(距前低天YA,1)&
=REF(距前高天YA,1)
AND预判YX=1AND大值周期&
REF(小值周期,距前低天YA+1)AND
REF(小值周期,距前低天YA)AND
REF(大值周期,距前高天YA),1,0);
高保留YXA:
REF(距前高天YA,1)
HHV(H,距前低天YA+1)&
REF(HHV(H,距前低天YA+1),1),1,0);
高保留YXB:
=IF(局部高点预选C=1AND
REF(距前低天YA,1)&
=REF(距前高天YA,1)ANDREF(低保留X,距前低天YA)=-1
AND(距前低天YA&
=4ORHHV(缺口判断,距前低天YA)=1),1,0);
高保留YX:
=IF((高保留YXA=1OR高保留YXB=1OR判断YX=1)AND
REF(L,距前低天YA+1),1,0);
预判YXA:
=IF((距前高天YA&
4ANDHHV(缺口判断,距前高天YA)!
REF(高保留YXA,距前高天YA)=0,1,0);
判断YXA:
=IF(局部低点预选C=-1AND
REF(距前高天YA,1)&
=REF(距前低天YA,1)AND预判YXA=1AND
REF(大值周期,距前高天YA+1)AND
REF(大值周期,距前高天YA)AND
REF(小值周期,距前低天YA),-1,0);
低保留YXA:
REF(距前低天YA,1)AND
LLV(L,距前高天YA+1)&
REF(LLV(L,距前高天YA+1),1),-1,0);
低保留YXB:
=REF(距前低天YA,1)AND
(距前高天YA&
=4ORLLV(缺口判断,距前高天YA)=-1OR
判断YXA=-1),-1,0);
低保留YX:
=IF((低保留YXA=-1OR低保留YXB=-1)AND
REF(H,距前高天YA+1),-1,0);
AAAD:
=IF(高保留YX=1AND低保留YX=-1AND
REF(H,REF(距前高天YA,1)+2),1,IF(高保留YX=1AND低保留YX=-1
ANDL&
REF(L,REF(距前低天YA,1)+2),-1,0));
极点保留:
=IF(AAAD=0,高保留YX+低保留YX,AAAD);
局部极点:
IF(极点保留=-1,L,IF(极点保留=1,H,DRAWNULL))CIRCLEDOT
COLORYELLOW;
DRAWLINE(极点保留=-1,局部极点,极点保留=1,局部极点,0)COLORLIRED;
DRAWLINE(极点保留=1,局部极点,极点保留=-1,局部极点,0)COLORYELLOW;
DD1:
=BARSLAST(ABS(极点保留)!
=1);
DRAWTEXT(极点保留=1,局部极点,'
卖'
),COLORGREEN;
DRAWTEXT(极点保留=-1,局部极点,'
买'
MA5:
MA(CLOSE,5),COLORFF00FF,LINETHICK2;
判:
IF(MA5&
REF(MA5,1),MA5,DRAWNULL),COLORWHITE,LINETHICK2;
大智慧:
ifDATATYPE&
8then
begin
fx30:
="
FENXING#min30"
;
fx60:
FENXING#min60"
{fxday:
FENXING#day"
}
drawtext(barstatus=2,fx30,'
-----30底分高'
+fx30),colorwhite,align2;
drawtext(barstatus=2,fx60,'
-----60底分高'
+fx60),colorgreen,align2;
{drawtext(barstatus=2,fxday,'
--日线底分高'
)+fx60,colorgreen,align2;
end;
var1:
chzhshch@kxian"
{处理K线}
var2:
chzhshch@bi"
{处理笔关系}
drawline(var2=1,h,var2=-1,l,0),pointdot,coloryellow;
drawline(var2=-1,l,var2=1,h,0),pointdot,coloryellow;
var3:
chzhshch@duan"
{处理段关系}
drawtext(var3=1,h,'
'
+h),align0,colormagenta;
),align2,colorred;
drawtext(var3=-1,l,'
+l),colorgreen;
),align2,colorgreen;
drawline(var3=1,h,var3=-1,l,0),colorff6600;
drawline(var3=-1,l,var3=1,h,0),colorff6600;
{高一级别的段
var4:
[email=chzhshch@duan2]chzhshch@duan2[/email]"
drawline(var4=1,h,var4=-1,l,0),linethick2,colorred;
drawline(var4=-1,l,var4=1,h,0),linethick2,colorred;
h1:
=0;
X1:
=BARSLAST(h1);
飞狐:
color=#ff0000]chzhshch@kxian"
ifDATAPERIOD&
=8then
//var2:
[email=chzhshch@duan]chzhshch@duan[/email]"
{处理段1分钟的关系}
pre:
=3;
{设置小数点位数}
ifSTKTYPE=0thenpre:
=1;
ifSTKTYPE=11thenpre:
a1:
=barslast(var2&
0);
a2:
=ref(var2,a1);
aa1:
=ref(a1+1,1);
aa2:
=ref(a2,1);
aa3:
=BARSSINCE(var2&
aa4:
=ref(aa3+1,1)+4;
//历史总周期数
a3:
if
(aa2&
0,l-ref(h,aa1),h-ref(l,aa1)),linethick0;
{计算点位差}
drawnumber(var2=1,h,h,pre),pxup20,color3300ff,align1;
{显示数字}
drawnumber(var2=-1,l,l,pre),pxdn5,colorffff00,align1;
//{显示完成笔力度}
//drawtext(var2=1,h,'
+'
),pxup45,colormagenta,align2;
drawnumber(var2=1,h,a3,pre),align1,colormagenta,pxup65;
drawnumber(var2=-1,l,a3,pre),align1,colormagenta,pxdn50;
//显示完成笔周期
drawtext(var2=1,h,'
),pxup45,colorred,align2;
T:
),pxup45,coloryellow,align2,shift3;
drawnumber(var2=1,h,aa1,0),colormagenta,pxup45,align1,shift3;
//drawnumber(var2=1,h,aa4,0),coloryellow,pxup45,align1,shift6;
drawtext(var2=-1,l,'
),pxdn30,colorgreen,align2;
),pxdn30,coloryellow,align2,shift3;
drawnumber(var2=-1,l,aa1,0),colormagenta,pxdn30,align1,shift3;
//drawnumber(var2=-1,l,aa4,0),coloryellow,pxdn30,align1,shift6;
//显示未完成笔的点位力度
ll:
=l-ref(h,barslast(var2&
0));
hh:
=h-ref(l,barslast(var2&
0))
=-a3;
//显示未完成笔的收盘数据
drawtext(islastbarand
ref(var2,barslast(var2&
0))=-1and
var2=0,h,numtostr(h,3)),pxup20,color3300ff,align1,shift6;
{显示数字}
0))=1and
var2=0,l,numtostr(l,3)),pxdn5,colorffff00,align1,shift6;
//写在未完成笔低点处的笔的点位力度
var2=0,L,numtostr(ll,3)),colorgreen,shift6,pxdn30,align1;
//写在未完成笔高点处的笔的点位力度//
var2=0,h,'
+
numtostr(hh,3)),align1,colormagenta,pxup45,shift6;
//显示未完成笔的周期,写在低点的
var2=0,L,'
+numtostr(aa1,0)
),pxdn50,coloryellow,align1,shift6;
//显示未完成笔的周期,写在高点的
),pxup65,coloryellow,align1,shift6;
end;
[email=chzhshch@kxian]chzhshch@kxian[/email]"
[email=chzhshch@bi]chzhshch@bi[/email]"
drawline(var2=1,h,var2=-1,l,0),linedot,coloryellow;
drawline(var2=-1,l,var2=1,h,0),linedot,coloryellow;
{处理段关系,处理前调整笔的高低点,处理后不调整}
drawnumber(var3=1,h,h,2),pxup20,colormagenta,align2;
//drawtext(var3=1,h,'
),pxup20,colormagenta,align2;
drawnumber(var3=-1,l,l,2),pxdn5,colo
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 买卖 点主图 指标
![提示](https://static.bdocx.com/images/bang_tan.gif)