- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
/*
MACD:=(DIF-DEA1)*2,COLORSTICK;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,21))/(0.015*AVEDEV(TYP,21));
VAR1P:=ZIGZAG(C,13,1);
STICKLINE((REF(VAR1P,2) REF(VAR1P,1)) AND (VAR1P REF(VAR1P,1)),CLOSE,OPEN,3,0),COLORBLUE;
STICKLINE((REF(VAR1P,2) REF(VAR1P,1)) AND (VAR1P REF(VAR1P,1)),CLOSE,OPEN,3,0),COLORYELLOW;
DRAWBMP((ZIGZAG(C,5,1)REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)=REF(ZIGZAG(C,5,1),2)) AND (REF(ZIGZAG(C,5,1),2)=REF(ZIGZAG(C,5,1),3)),LOW*1.02,BUY1);
DRAWBMP((ZIGZAG(C,5,1)REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)=REF(ZIGZAG(C,5,1),2)) AND (REF(ZIGZAG(C,5,1),2)=REF(ZIGZAG(C,5,1),3)),HIGH*1.03,SELL1);
DRAWTEXT(卖点10,HIGH+5*MINPRICE,逃), COLORYELLOW;
DRAWCOLORKLINE(卖点10,COLORYELLOW,0);
DRAWTEXT(CCI=200 AND H=顶点,H+5*MINPRICE,卖),COLORYELLOW;
STICKLINE(CCI=200 AND H=顶点,(O+C)/2,MAX(O,C),COLORBLUE,0);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
HIGHN:=10;
LOWN:=10;
HIGHDISPLAY:=0;
LOWDISPLAY:=0;
ZGDISPLAY:=0;
MADISPLAY:=0;
AA2:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA2,HIGHN+1);
CC2:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
//DRAWICON(CC2,H,ICO5),ALIGN1;
//DRAWTEXT(CC2,H,↓),VALIGN2,COLORGREEN,FONTSIZE45;
DDD:=BARSLAST(CC2);
GDTS:=IF(CC2,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);
{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=REFX1(DINGBUTS,10000);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=REFX1(DINGBUTS1,10000);
DINGBU2:=REF(DINGBU1,DDD+1);
MM2:=IF(CURRBARSCOUNTGDCS2,0,1);
DRAWSL(1,VALUEWHEN( CURRBARSCOUNT=GDCS1,H),0,1,0,RGB(0,128,255)),DASH;//,COLORLIGHTGREY,POINTDOT;//近新高
DRAWSL(1,VALUEWHEN( CURRBARSCOUNT=GDCS2,H),0,1,0,RGB(0,128,255)),DASH;//,COLORLIGHTGREY,POINTDOT;//远新高
REFX1(VALUEWHEN(CURRBARSCOUNT=GDCS1,H),9999),NODRAW;
REFX1(VALUEWHEN(CURRBARSCOUNT=GDCS2,H),9999),NODRAW;
DRAWNUMBER(ISLASTBAR,REF(H,BARSLAST(CURRBARSCOUNT=GDCS1)),REF(H,BARSLAST(CURRBARSCOUNT=GDCS1)),0,RGB(0,128,255)),ALIGN0,VALIGN1,FONTSIZE16;//,FONTSIZE15
DRAWNUMBER(ISLASTBAR,REF(H,BARSLAST
文档评论(0)