软件名称:[B]地心引力[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2015-02-19 12:47:17
软件简介:
N:=5;
EMA13:=EMA(C,13);
MA30:=MA(C,30);
MA72:=MA(C,72);
{地心引力:(MA30+MA72)/2,POINTDOT,COLORFF7F93,LINETHICK3;
上引力:(MA30+MA72)/2*0.9,POINTDOT,COLORFF7F93,LINETHICK3;
下引力:(MA30+MA72)/2*1.1,POINTDOT,COLORFF7F93,LINETHICK3;}
{DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));}
EMA17:=EMA(C,17);
主筹估算:=EMA(WINNER(C)*70,3);
散筹估算:=EMA((WINNER((C)*1.1)-WINNER((C)*0.9))*70,3);
筹码锁定:=散筹估算-主筹估算 ;
动态底部:=EMA(IF(L<= LLV(L,60),SMA(ABS(L-REF(L,1)),60,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3);
涨:=CROSS(主筹估算,筹码锁定);
强:=CROSS(主筹估算,散筹估算);
STICKLINE(涨,O,C,3,0),COLORYELLOW;
STICKLINE(涨,O,H,0,0),COLORYELLOW;
STICKLINE(涨,L,C,0,0),COLORYELLOW;
STICKLINE(强, O,C,3,0),COLORMAGENTA;
STICKLINE(强,O,H,0,0),COLORMAGENTA;
STICKLINE(强,L,C,0,0),COLORMAGENTA;
A1:=REF(H,N)=HHV(H,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);{高点}
A2:=REF(L,N)=LLV(L,2*N+1);
B2:=FILTER(A2,N);
C2:=BACKSET(B2,N+1);
D2:=FILTER(C2,N);{低点}
E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2; E2:=(H+L)/2;{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS=2 OR BARSCOUNT(C)=1;
L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS
(IF(L1,L,10000),X1));
G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点}
L2:=LD OR BARSTATUS=2 OR BARSCOUNT(C)=1;
X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS
(IF(H2,H,0),X2));
G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高点}
R1:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1); S1:=R1>REF(R1,1); {前一高}
T1:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1); U1:=T1>REF(T1,1); {前一低}
R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2); S2:=R2>REF(R2,1); {前二高}
T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2); U2:=T2>REF(T2,1); {前二低}
T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2); U3:=T3>REF(T3,1); {前三低}
T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2); U4:=T4>REF(T4,1); {前四低}
R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2); S3:=R3>REF(R3,1); {前三高}
R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2); S4:=R4>REF(R4,1); {前四高}
短压:DRAWLINE(S2,H,S1,H,1),COLORMAGENTA;
短支:DRAWLINE(U2,L,U1,L,1),COLORGREEN,LINETHICK1,DOTLINE;
中压:DRAWLINE(S3,H,S2,H,1),COLORFF8000;
中支:DRAWLINE(U3,L,U2,L,1),COLORFF8000,LINETHICK1,DOTLINE;
长压:DRAWLINE(S4,H,S3,H,1),COLOR0000FF;
长支:DRAWLINE(U4,L,U3,L,1),COLOR0000FF,LINETHICK1,DOTLINE;
DRAWICON(S1,H,10);
DRAWICON(S2,H,10);
DRAWICON(S3,H,10);
DRAWICON(S4,H,10);
DRAWICON(U1,L,9);
DRAWICON(U2,L,9);
DRAWICON(U3,L,9);
DRAWICON(U4,L,9);
高:=REFDATE(HHV(H,180),DATE);
低:=REFDATE(LLV(L,180),DATE);
H191:=高-(高-低)*0.191;
H382:=高-(高-低)*0.382,COLORFF6198;
H50:=高-(高-低)*0.5,COLORFFFFFF;
H618:=高-(高-低)*0.618;
H809:=高-(高-低)*0.809;
STICKLINE(CURRBARSCOUNT=13,高,高,200,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,H191,H191,200,-1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H382,H382,200,-1),COLORCCCCCC;
DRAWTEXT(CURRBARSCOUNT=1,高,VAR2STR(高,2)),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H191,VAR2STR(H191,2)),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H382,VAR2STR(H382,2)),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,H50,VAR2STR(H50,2)),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H618,VAR2STR(H618,2)),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H809,VAR2STR(H809,2)),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,低,VAR2STR(低,2)),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H50,H50,400,-1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H618,H618,200,-1),COLORLIRED;
STICKLINE(CURRBARSCOUNT=13,H809,H809,200,-1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低,低,200,-1),COLORRED;
DRAWKLINE(H,O,L,C);
LL:=L=CONST(LLV(L,180));
TT:=BARSLAST(LL)+1;
LLL:=CONST(LLV(L,180));
HHH:=CONST(HHV(H,180));
STICKLINE(TT=1,LLL,HHH,0,-1);
STICKLINE(TT=3,LLL,HHH,0,-1);
STICKLINE(TT=5,LLL,HHH,0,-1);
STICKLINE(TT=8,LLL,HHH,0,-1);
STICKLINE(TT=13,LLL,HHH,0,-1);
STICKLINE(TT=21,LLL,HHH,0,-1);
STICKLINE(TT=34,LLL,HHH,0,-1)COLORMAGENTA;
STICKLINE(TT=55,LLL,HHH,0,-1);
STICKLINE(TT=89,LLL,HHH,0,-1);
STICKLINE(TT=144,LLL,HHH,0,-1);
DRAWTEXT(TT=1,L*0.995,'1')COLORRED;
DRAWTEXT(TT=3,L*0.97,'3')COLORRED;
DRAWTEXT(TT=5,L*0.96,'5')COLORGREEN;
DRAWTEXT(TT=8,L*0.95,'8')COLORRED;
DRAWTEXT(TT=13,L*0.95,'13')COLORRED;
DRAWTEXT(TT=21,L*0.95,'21')COLORGREEN;
DRAWTEXT(TT=34,L*0.95,'34')COLORRED;
DRAWTEXT(TT=55,L*0.95,'55')COLORRED;
DRAWTEXT(TT=89,L*0.95,'89')COLORGREEN;
DRAWTEXT(TT=144,L*0.95,'144')COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-81559.html]地心引力[/url]