作者| 金股匯
ID:keystock
{頂?shù)纵p松買賣} :
X1:=MAX(DYNAINFO(3),DYNAINFO(5));
X2:=MIN(DYNAINFO(3),DYNAINFO(6));
GX:=X1-X2;
A1:=X2+GX*7/8,COLORGREEN;
A2:=X2+GX*0.5/8,COLORRED;
中線:=(A1+A2)/2,COLORWHITE,POINTDOT;
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),LINETHICK1,COLORYELLOW;
V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100;
見底:STICKLINE(趨勢線<11,趨勢線,11,5,0),COLORRED;
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,52,1,0),COLORRED;
DRAWICON(BB=1 AND C<中線,55,1);
DRAWTEXT(BB0,60,'★抄底'),COLORRED;
DRAWTEXT(AA,16,'超賣見底'),,COLORWHITE;
準備賣出:STICKLINE(趨勢線>89,趨勢線,89,5,0),COLORGREEN;
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,49,1,0),COLORGREEN;
DRAWICON(DD=1 AND C>中線,55,2);
DRAWTEXT(DD0,40,'★逃頂'),COLORGREEN;
DRAWTEXT (CC,84,'超買見頂'),,COLORWHITE;
頂:89,COLORGREEN;
底:11,COLORRED;
中:50,POINTDOT,COLORWHITE;
聯(lián)系客服