软件名称:[B]股价定位(超美飞狐主图公式 源码)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2011-04-26 06:11:29
软件简介:
{DRAWGBK(CLOSE,COLORRGB(110,130,130),COLORRGB(25,15,0),1);}
DRAWGBK(CLOSE,COLORRGB(110,130,130),COLORRGB(25,15,0),1);
{STICKLINE(C>=O,C,O,8,0),COLORRED;
STICKLINE(C>=O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,8,0),COLORGREEN;
STICKLINE(C<=O,H,L,0,0),COLORGREEN;}
{BALANCE:=EMA(CLOSE,30);
UP:=BALANCE+2*STD(CLOSE,30);
DOWN:=BALANCE-2*STD(CLOSE,30);
VAR9Q:=CLOSE=HHV(CLOSE,4) AND (REF(CLOSE,1)>=REF(CLOSE,2) OR REF(CLOSE,1)>=REF(CLOSE,3)) OR REF(CLOSE,1)=HHV(CLOSE,4) AND CLOSE>=REF(CLOSE,2) OR REF(CLOSE,2)=HHV(CLOSE,4) AND REF(CLOSE,3)=LLV(CLOSE,4) AND CLOSE>=REF(CLOSE,1) OR REF(CLOSE,3)=HHV(CLOSE,4) AND CLOSE>=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARAQ:=CLOSE=HHV(CLOSE,4) AND REF(CLOSE,1)=LLV(CLOSE,4);
VARBQ:=CLOSE=LLV(CLOSE,4) AND (REF(CLOSE,1)<REF(CLOSE,2) OR REF(CLOSE,1)<REF(CLOSE,3)) OR REF(CLOSE,1)=LLV(CLOSE,4) AND CLOSE<REF(CLOSE,2) OR REF(CLOSE,2)=LLV(CLOSE,4) AND REF(CLOSE,1)<>HHV(CLOSE,4) AND CLOSE<REF(CLOSE,1) OR REF(CLOSE,3)=LLV(CLOSE,4) AND CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARCQ:=REF(CLOSE,1)=LLV(CLOSE,4) AND CLOSE>=REF(CLOSE,2) OR REF(CLOSE,2)=LLV(CLOSE,4) AND REF(CLOSE,1)<=REF(CLOSE,3) AND REF(CLOSE,2)<REF(CLOSE,4) AND CLOSE>=REF(CLOSE,1);
VARDQ:=REF(CLOSE,1)=HHV(CLOSE,4) AND CLOSE<REF(CLOSE,2) OR (REF(CLOSE,2)=HHV(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,3) OR REF(CLOSE,3)=HHV(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,2)) AND REF(CLOSE,2)>=REF(CLOSE,4) AND CLOSE<REF(CLOSE,1);
Y1:=REF(EMA(DMA((HIGH+LOW+CLOSE*2)/4.15,0.9),3),1);
VAR1W:=100-90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
VAR2W:=100-90*(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21));
VAR3W:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),34);
VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND IF(CLOSE>REF(CLOSE,1),88,0)>0,91,0);
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
SC:=LOW<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND HIGH>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN;
MR:=SC AND COUNT(SS,2);
买:=MR AND NOT(REF(MR,1));
多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);
VAR1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*1;
VAR2:=SMA(VAR1,3,1)*100;
趋势线:=SMA(SMA(VAR2,3,1)*VAR1,3,1)*1;
VAR9:=CROSS(趋势线,SMA(VAR2,3,1)*VAR1) AND SMA(VAR2,3,1)*VAR1>8;
AAX:=AMOUNT/VOL;
BBX:=LOW<AAX*0.9;
CCX:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;
DDX:=LOW<MA(CLOSE,5)*0.921;
EEX:=VOL<MA(VOL,5)*1.5;
FFX:=BBX AND CCX AND DDX AND EEX;
A:=(3*CLOSE+LOW+OPEN+HIGH)/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:=CLOSE-REF(CLOSE,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
CB:=EMA(X,13);
STICKLINE(CLOSE>BALANCE,BALANCE,BALANCE,1,0),LINETHICK2,colorFF;
STICKLINE(BALANCE>CLOSE,BALANCE,BALANCE,1,0),LINETHICK2,colorFF6600;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0),colorFF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5,0),colorFF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5,0),colorFF00;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5,0),colorFF00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),colorFF7700;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6,0),colorFF9900;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5,0),colorFFBB00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,4,0),colorFFCC00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),colorFFDD00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2,0),colorFFEE00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1,0),colorFFFF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0),color55;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0),color66;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0),color77;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0),color99;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),colorBB;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),colorDD;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),colorFF;
红:=VAR9Q;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/2,7,0),color55;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/2,6,0),color66;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/2,5,0),color77;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/2,4,0),color99;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/2,3,0),colorBB;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/2,2,0),colorDD;
STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/2,1,0),colorFF;
粉:=VARAQ;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/2,7,0),colorFF11FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/2,6,0),colorFF33FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/2,5,0),colorFF55FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/2,4,0),colorFF77FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/2,3,0),colorFF99FF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/2,2,0),colorFFBBFF;
STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/2,1,0),colorFFDDFF;
灰:=VARBQ;
STICKLINE(VARBQ,CLOSE,(OPEN+CLOSE)/2,7,0),color333333;
STICKLINE(VARBQ,CLOSE,(OPEN+CLOSE)/2,6,0),color555555;
STICKLINE(VARBQ,CLOSE,(OPEN+CLOSE)/2,5,0),color777777;
STICKLINE(VARBQ,CLOSE,(OPEN+CLOSE)/2,4,0),color999999;
STICKLINE(VARBQ,CLOSE,(OPEN+CLOSE)/2,3,0),colorBBBBBB;
STICKLINE(VARBQ,CLOSE,(OPEN+CLOSE)/2,2,0),colorDDDDDD;
STICKLINE(VARBQ,CLOSE,(OPEN+CLOSE)/2,1,0),colorFFFFFF;
绿:=VARCQ;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/2,7,0),color3300;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/2,6,0),color5500;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/2,5,0),color7700;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/2,4,0),color9900;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/2,3,0),colorBB00;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/2,2,0),colorDD00;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/2,1,0),colorFF00;
蓝:=VARDQ;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/2,7,0),colorFF1100;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/2,6,0),colorFF3300;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/2,5,0),colorFF5500;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/2,4,0),colorFF7700;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/2,3,0),colorFF9900;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/2,2,0),colorFFBB00;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/2,1,0),colorFFDD00;}DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
AA:=EMA(CLOSE,10);
多头:STICKLINE(DIF>DEA,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(DIF>DEA,HIGH,LOW,2,0),COLORRED;
空头:STICKLINE(DIF<=DEA,CLOSE,OPEN,8,0),COLORGREEN;
STICKLINE(DIF<=DEA,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(DIF<=DEA AND AA>MA(CLOSE,30),CLOSE,OPEN,8,0),COLORYELLOW;
STICKLINE(DIF<=DEA AND AA>MA(CLOSE,30),HIGH,LOW,2,0),COLORYELLOW;
STICKLINE(DIF>DEA AND AA<MA(CLOSE,30),CLOSE,OPEN,8,0),COLOR77AAFF;
STICKLINE(DIF>DEA AND AA<MA(CLOSE,30),HIGH,LOW,2,0),COLOR77AAFF;
VAR1:=EMA(VOL,12)-EMA(VOL,26);
VAR2:=EMA(VAR1,9);
VAR3:=(EMA(CLOSE,30)*2+MA(CLOSE,60))/3;
VAR4:=VOL*CLOSE;
VAR5:=EMA(VAR4,13)/EMA(VOL,13);
VAR6:=EMA(VAR4,60)/EMA(VOL,60);
VAR7:=EMA((VAR5+VAR6)/2,3);
YY:=MA((VAR3+VAR7)/2,1),LINETHICK0,colorFF00;
DRAWICON(YY>REF(YY,1),YY,8);
DRAWICON(YY<REF(YY,1),YY,9);
X2:=EMA(CLOSE,9),linethick0;
X3:=EMA(X2,50)-1,linethick0;
X4:=EMA(X2,50)+1,linethick0;
A:=(X4+X3)/2,linethick0;
A11:A+0.1;
A2:A-0.1;
A3:X
[url=http://www.70822.com/soft/sort013/sort02/down-33131.html]股价定位(超美飞狐主图公式 源码)[/url]