软件名称:[B]飞狐主图[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2009-04-07 02:48:50
软件简介:
{p1=13 p2=20 p3=30 p4=50 p5=60 n=4}
input:p1(13),p2(20),p3(30),p4(50),p5(60),n(4);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA30:=MA(CLOSE,30);
红轨:MA(MA(CLOSE,3),1),LINETHICK2,COLORRED;
绿轨:MA(MA(CLOSE,3),3),LINETHICK2,COLORGREEN;
红轨道:partline(绿轨>红轨,红轨),LINETHICK2,COLORRED;
绿轨道:partline(红轨>绿轨,绿轨),LINETHICK2,COLORGREEN;
{股票公式www.70822.com}
WX:=MA(C,0);
M13:MA(CLOSE,13),COLORRED;
M20:MA(CLOSE,20)*IF(N<2,WX,1);
M30:MA(CLOSE,30)*IF(N<3,WX,1);
M60:MA(CLOSE,60)*IF(N<4,WX,1);
M5:MA(CLOSE,120)*IF(N<5,WX,1);
M6120:MA(CLOSE,120);
AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);
加仓:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);
波段底:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) -
(2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));
减仓:=(CROSS(C,MA5) OR (O<MA5 AND C>MA5)) AND V>REF(V,1) AND MA5>REF(MA5,1) AND MA10>REF(MA10,1);
回头:=(MA10>MA30 AND MA(C,20)>MA30 AND MA30>REF(MA30,1)) AND MA5>MA10 AND NOT(MA5>REF(MA5,1)) AND REF(MA5>REF(MA5,1),1);
DRAWICON(加仓,L-0.008,1);
DRAWICON(CROSS(波段底,3),L-0.01,1);
MA18:=MA(CLOSE,18);
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
DRAWTEXT(FILTER(卖=1,1),HIGH+0.005,'卖'),COLORWHITE;
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),LOW-0.005,'买'),COLORRED;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);
DRAWTEXT((注意 AND 卖<1) OR (注意 AND 卖>1),HIGH+0.005,'减'),COLORFFFF50;
加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
DRAWTEXT(FILTER((CROSS(加仓A,0) OR CROSS(CLOSE,CB)) AND 买<1,3) OR FILTER((CROSS(加仓A,0) OR CROSS(CLOSE,CB)) AND 买>1,3),LOW-0.01,'加'),COLOR0080FF;
跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0);
DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW-0.01,'跟'),COLOR7F52AF;
[url=http://www.70822.com/soft/sort013/sort02/down-8089.html]飞狐主图[/url]