- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
/*
STICKLINE(C=F60B AND C=F60A,1.3,2,8,0),COLORYELLOW,LINETHICK2;
FRA:=MAX(MA(C,60),MA(C,120));
FRB:=MIN(MA(C,60),MA(C,120));
绿灯行FR:CFRA,COLORGREEN;
红灯停FR:CFRB,COLORRED;
黄灯观望FR:C=F30B AND C=F30A,COLORYELLOW;
STICKLINE(CFRA,0,1,8,0),COLORGREEN,LINETHICK2;
STICKLINE(CFRB,0,1,8,0),COLORRED,LINETHICK2;
STICKLINE(C=FRB AND C=FRA,0,1,8,0),COLORYELLOW,LINETHICK2;
.
DRAWGBK(C1,RGB(123,123,123),RGB(103,103,103),1);//背景色(一)
NG:=BACKSET(ISLASTBAR,BARSLAST(CROSS(TIME=090000TIME150000,0.5)||CROSS(TIME=210000TIME220000,0.5))+1),NODRAW;///////指标 1
VERTLINE1(NG(TIME=210000||TIME=090000)),DOT;//开盘起点
NF:=4;
NN5:=40;
A01:=REF(HIGH,NF)=HHV(HIGH,4*NF+1);
B01:=FILTER(A01,NF);
CB1:=BACKSET(B01,NF+1);
D1:=FILTER(CB1,NF);//{高点}
A2:=REF(LOW,NF)=LLV(LOW,4*NF+1);
B2:=FILTER(A2,NF);
CB2:=BACKSET(B2,NF+1);
D2:=FILTER(CB2,NF);//{低点}
E1:=(REF(LLV(LOW,2*NF),1)+REF(HHV(HIGH,2*NF),1))/2,COLORBLACK;
E10:=(REF(LLV(LOW,ROUND(SQRT(2*NF),2)),1)+REF(HHV(HIGH,ROUND(SQRT(2*NF),2)),1))/2,COLORRED;
E2:=(HIGH+LOW)/2;
H1:=(D1 AND NOT((D2 AND E1=E2))) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT((D1 AND E1E2))),NODRAW;
H2:=D1 AND NOT((D2 AND E1=E2));
X1:=REF(BARSLAST(H1),1)+1;
F1:=BACKSET(H1 AND COUNT(L1,X1)0,LLVBARS(LOW,X1)+1);//LLVBARS(IF(L1,LOW,N000),X1)+1,NODRAW;
G1Z:=F1REF(F1,1);//DRAWTEXT(X1,L,X1);
I1:=BACKSET(G1Z,1);//DRAWTEXT(F1,H,F1);
LD:=I1REF(I1,1);//{过滤后低点}
L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1;
F2:=BACKSET(L2 AND COUNT(H2,X2)0,HHVBARS(H,X2)+1);
G2:=F2REF(F2,1);//DRAWTEXT(HD,H*1.01,HD);
I2:=BACKSET(G2,1);//DRAWTEXT(LD,L*0.99,LD);
HD:=I2REF(I2,1) ;//{过滤后高点}
DD1公:=VALUEWHEN(LD ,L);
GD1:=VALUEWHEN(HD ,H);
XH1:=BARSLAST(HD)+1;
XL2:=BARSLAST(LD)+1;
A:=IF(XH1XL2 ,LLV(MAX(C,O),XH1),HHV(MIN(C,O),XL2));
位:=IF(NGXH1XL2 ,LLV(MAX(C,O),XH1),NULL),RGB(166,77,255),LINETHICK7;//蓝色
位1:=IF(NGXH1XL2,HHV(MIN(C,O),XL2),NULL),RGB(255,125,125),LINETHICK7;//,COLORRED
//DRAWLINE3(NGCROSS(XH1XL2,0.5),REF(A,1),1,1,A,0,0),RGB(166,77,255),LINETHICK7;//蓝色
//DRAWLINE3(NGCROSS(XH1XL2,0.5),REF(
文档评论(0)