- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
/*
DRAWTEXT(EX1 AND PL10REF(PL10,1) AND ZTJZ5=2,HIGH*1.02,⑶),COLOR0000FF;
DRAWTEXT(EN1 AND PL10REF(PL10,1) AND ZTJZ5=3,LOW*0.98,⑷),COLOR0000FF;
DRAWTEXT(EX2 AND PL20REF(PL20,1) AND ZTJD10=1,HIGH*1.02,⑸),COLOR0000FF;
DRAWTEXT(EN2 AND DTJZ10=1,LOW*0.94,【A】),COLOR00FF00;
DRAWTEXT(EX2 AND DTJD10=2,HIGH*1.05,【B】),COLOR00FF00;
DRAWTEXT(EN3 AND ZTJZ10=1,LOW*0.94,【C】),COLOR00FF00;
DRAWTEXT(EX2 AND PL20REF(PL20,1) AND ZTJD10=1,HIGH*1.04,①),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20REF(PL20,1) AND ZTJZ10=2,LOW*0.96,②),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EX2 AND PL20REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,HIGH*1.04,③),LINETHICK3,COLOR00FFFF;
DRAWTEXT(EN2 AND PL20REF(PL20,1) AND ZTJZ10=3,LOW*0.96,④),LINETHICK3,COLOR00FFFF;
DMLJ:=HHV(HIGH,120);
TY:=H;
TY1:=L;
HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(TY1,10)=LLV(TY1,2*10+1),10),10+1),10);
A:=REF(H,BARSLAST(HD));
B:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)BARSLAST(LD) AND NOT(HD);
GT:=REFX1(BARSLAST(GD=H),10000)+1;
DT:=REFX1(BARSLAST(DD=L),10000)+1;
SH:=REFX1(IF(GT=1,H,REF(H,GT-1)),10000);
SL:=REFX1(IF(DT=1,L,REF(L,DT-1)),10000);
CC:=IF(DTGT,DT,GT);
CD:=INTPART(CC-(DT+GT)/2);
CG:=IF(高点CD,CD/2,高点);
//{黄金分割}
ZG:=IF(CURRBARSCOUNT=CD,SH,NULL);
FILLRGN1(ZG,RGB(0,0,0),RGB(0,0,0)),DOT,COLORRED;
ZD:=IF(CURRBARSCOUNT=CD,SL,NULL);
X191:=IF(CURRBARSCOUNT=CD,SH-(SH-SL)*0.191,NULL);
FILLRGN1(X191,RGB(0,0,0),RGB(0,0,0)),DOT,COLORRED;
X382:=IF(CURRBARSCOUNT=CD,SH-(SH-SL)*0.382,NULL);
FILLRGN1(X382,RGB(0,0,0),RGB(0,0,0)),DOT,COLORRED;
X500:=IF(CURRBARSCOUNT=CD,SH-(SH-SL)*0.500,NULL);
FILLRGN1(X500,RGB(0,0,0),RGB(0,0,0)),DOT,COLORRED;
X618:=IF(CURRBARSCOUNT=CD,SH-(SH-SL)*0.618,NULL);
FILLRGN1(X618,RGB(0,0,0),RGB(0,0,0)),DOT,COLORRED;
X809:=IF(CURRBARSCOUNT=CD,SH-(SH-SL)*0.809,NULL);
FILLRGN1(X809,RGB(0,0,0),RGB(0,0,0)),DOT,COLORRED;
DRAWTEXT(CURRBARSCOUNT=CG,(ZD)*1.02,STRCAT(起点: ,CON2STR(ZD,2))),COLORLIGRAY;
DRAWTEXT(CURRBARSCOUNT=CG,(X191)*0.986,STRCAT(?.9% ,CON2STR(X191,2
文档评论(0)