源码如下:
Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
K: Var3,Color0000ff,LINETHICK2;
D: Var4,Color00ff00,LINETHICK2;
Var6:=CROSS(Var3,Var4) AND Var3<20;
DRAWTEXT(FILTER(Var6,10)=1,38,抄底),LINETHICK3 ,COLORYELLOW ;
STICKLINE(FILTER(Var6,10)=1,0,30,10,0),COLORGREEN , ;
Var7:=CROSS(Var4,Var3) AND Var3>80;
STICKLINE(FILTER(Var7,5)=1,80,100,10,0),COLORYELLOW , ;
DRAWTEXT(FILTER(Var7,5)=1,80,逃顶),LINETHICK3 ,COLORGREEN, ;
Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4;
STICKLINE(Var8,85,100,10,0), , ;
y:=close/ref(close,1)>1.07;
x:=vol>ma(vol,5);
a1:=y and x;
攻击涨停:if(a1,70,0),COLORFF3399,linethick2;
k1:=BARSLAST(l>ref(h,1) and c/o>1.05);
k2:=l<ref(h,k1+1) and count(l<ref(h,k1+1),k1)=1;
缺口回补:if(k2,60,0),colorffcc66,linethick2;
强弱分界:50,POINTDOT,COLORaabbdd,linethick2;
10,Colorffff33,linethicK2;
90,Colorffff33,linethicK2; {顶尖财经网www.58188.com整理}
|
|
|
|
|