H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,colorgreen;
支撑:=L1+P1*0.5/8,colorred;
中线:=(支撑+阻力)/2,colorwhite,POINTDOT;
10,colorcyan;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
金龙:EMA(V11,3),LINETHICK2,colorlimagenta;
V12:=(金龙-REF(金龙,1))/REF(金龙,1)*100;
准备买入:STICKLINE(金龙<11,金龙,11,5,0),coloryellow;
AA:=(金龙<11) AND FILTER((金龙<=11),15) AND C<中线;
BB0:REF(金龙,1)<11 AND crOSS(金龙,11) AND C<中线;
BB1:=REF(金龙,1)<11 AND REF(金龙,1)>6 AND CROSS(金龙,11);
BB2:=REF(金龙,1)<6 AND REF(金龙,1)>3 AND CROSS(金龙,6);
BB3:=REF(金龙,1)<3 AND REF(金龙,1)>1 AND CROSS(金龙,3);
BB4:=REF(金龙,1)<1 AND REF(金龙,1)>0 AND CROSS(金龙,1);
BB5:=REF(金龙,1)<0 AND CROSS(金龙,0);
BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;
下单买入:STICKLINE(BB=1 AND C<中线,11,20,2,0),colorred;
买:DRAWTEXT(BB0,20,’买’),coloryellow;
DRAWTEXT(AA,16,’准’),coloryellow;
准备卖出:=STICKLINE(金龙>89,金龙,89,5,0),colorwhite;
CC:=(金龙>89) AND FILTER((金龙>89),15) AND C>中线;
DD0:=REF(金龙,1)>89 AND CROSS(89,金龙) AND C>中线;
DD1:=REF(金龙,1)>89 AND REF(金龙,1)<94 AND CROSS(89,金龙);
DD2:=REF(金龙,1)>94 AND REF(金龙,1)<97 AND CROSS(94,金龙);
DD3:=REF(金龙,1)>97 AND REF(金龙,1)>99 AND CROSS(97,金龙);
DD4:=REF(金龙,1)>99 AND REF(金龙,1)<100 AND CROSS(99,金龙);
DD5:=REF(金龙,1)>100 AND CROSS(100,金龙);
DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;
下单卖出:STICKLINE(DD=1 AND C>中线,89,50,5,0),colorgreen;
DRAWICON(DD=1 AND C>中线,45,2);
DRAWTEXT(DD0,40,’★卖’),colorgreen;
DRAWTEXT (CC,84,’准备卖出’),colorwhite;
顶:89,colorgreen;
中:50,POINTDOT,colorwhite;
DRAWTEXT(ISLASTBAR,顶,’顶’),colorgreen;
DRAWTEXT(ISLASTBAR,中,’中’),colorwhite;
//金龙上升XG:50*(COUNT(金龙>REF(金龙,1),3)>=3 AND 金龙<50 AND 金龙>10),NODRAW;
//金龙下跌XG:50*(COUNT(金龙<REF(金龙,1),10)>=10 AND 金龙<70 AND 金龙>10) NODRAW;
//金龙两天向上:COUNT(金龙>REF(金龙,1),2)>=2 AND REF(金龙,1)>10;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。