您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:最实用的公式指标

最实用的公式指标


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-04-25 07:53:00
公式简介:

1.持股 持币区域明确;

2.买点 卖点多信号确认;

3.趋势反应准确,好好验证琢磨,必有帮助。

F1:=ZIG(3,10);
买卖:IF((F1> REF(F1,1)),-1,100)COLORYELLOW,LINETHICK5;
STICKLINE(买卖>-80 , 买卖,0 ,4,0),COLORLICYAN,LINETHICK1;
FI:=ZIG(3,20);
方向I:IF((FI> REF(FI,1)),95,87),COLORMAGENTA,LINETHICK5;
IF(方向I<=REF(方向I,1),方向I,DRAWNULL),COLOR00FF00,LINETHICK3;
F0:=ZIG(3,6);
方向:IF((F0> REF(F0,1)),95,88),COLORRED,LINETHICK3;
IF(方向<=REF(方向,1),方向,DRAWNULL),COLORGREEN,LINETHICK2;
VARR24:=LLV(LOW,36);
VARR25:=HHV(HIGH,30);
VARR26:=EMA((CLOSE-VARR24)/(VARR25-VARR24)*4,4)*25;
VARB27:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100)/2+22)*1;
VARB28:=(((CLOSE -(((EMA(AMOUNT,13) /EMA(VOL,13)) / 100))) / (((EMA(AMOUNT,13) /EMA(VOL,13)) / 100))) * 100);
绝底:(((VARB28 < (0)) AND ZXNH) AND ((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100)<VARB27-2 AND VARR26<10)*110,STICK,COLORWHITE;

MAC3:=(ATAN((MA(C,3)/REF(MA(C,3),1)-1)*100)*180/3.14115926);
M3:=MA(MAC3,3);
AAI:=PLOYLINE(CROSS(MAC3,M3),M3);
AAB:=PLOYLINE(CROSS(M3,MAC3),MAC3);
低买明涨:=COUNT(CROSS(MAC3,M3),AAI<REF(AAI,3) AND AAB>REF(AAB,3))*110,STICK,COLOR0066FF;
次日低买:= IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,8,-8),COLORWHITE,LINETHICK2;
次日高卖:= IF(PEAKBARS(3,15,1)=1,90,104),COLORCYAN,LINETHICK2;
K走势:EMA(100*(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)),10),LINETHICK2,COLORWHITE;
AT1:=C/REF(C,1)<1;
AT2:=L<=EMA(C,60);
AT3:=C>=EMA(C,60);
AT4:=EMA(C,20)>REF(MA(C,20),2);
阴低买:=(AT1 AND AT2 AND AT3 AND AT4)*50,STICK,COLORWHITE,LINETHICK3;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
低买反弹:CROSS(RSI,11)*45,STICK,COLORYELLOW,LINETHICK3;

AI7:=C-REF(C,1);
AI8:=100*EMA(EMA(AI7,5),5)/EMA(EMA(ABS(AI7),5),5);
SHORT:=3; LONG:=10;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
上升:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1)
,LLV(L,BARSLAST(CROSS(NMA,RMA))+1),
H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0),COLORLIRED;
下降:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),
HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1)
,LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0),COLORLICYAN,LINETHICK3;
涨势区:IF((EVERY(下降>=REF(下降,1),1)),8,0)STICK,COLORMAGENTA,LINETHICK3;
跌势区:IF((EVERY(下降>=REF(下降,1),1)),0,14)STICK,COLORLIGREEN,LINETHICK4;
底部进场: (ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<REF(ZIG(3,6),2))*10,VOLSTICK,COLORMAGENTA;
买进:(LLV(AI8,5)=LLV(AI8,7) AND COUNT(AI8<0,5) AND
CROSS(AI8,MA(AI8,5))) AND REF(下降,1)<REF(下降,2) AND 上升>REF(下降,1),STICK,COLORWHITE,LINETHICK8;


VAR1AA:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未来}
VAR2AA:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
逢低买入:IF(VAR2AA AND COUNT(VAR2AA,3)=1,90,0),STICK,LINETHICK1,COLORRED;
逢高卖出:IF(VAR1AA AND COUNT(VAR1AA,3)=1,88,0),STICK,LINETHICK1,COLORCYAN;
STICKLINE(VAR2AA,0,10,2,0),COLORRED;
STICKLINE(VAR1AA,115,88,1,0),COLORCYAN;

RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
K0:=SMA(RSV,3,1);
D0:=SMA(K0,3,1);
J:=3*K0-2*D0;

STICKLINE(J>REF(J,1),J,REF(J,1),3,0),COLOR0044FF;
STICKLINE(J>REF(J,1),J,REF(J,1),1.5,0),COLOR0088FF;
STICKLINE(J>REF(J,1),J,REF(J,1),0,0),COLOR00AAFF;

STICKLINE(J<REF(J,1),J,REF(J,1),3,0),COLORFF4400;
STICKLINE(J<REF(J,1),J,REF(J,1),1.5,0),COLORFF8800;
STICKLINE(J<REF(J,1),J,REF(J,1),0,0),COLORFFAA00;
K:=K0,COLORYELLOW;D:=D0,COLORWHITE;
A:MA(-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20)),15)LINETHICK2,COLORCYAN;
B:-100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))LINETHICK2,COLORLIRED;
DY:EMA(-100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20)),5)LINETHICK2;
RV:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*100;
RG:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*100;
VR4:=SMA(RV,2,1);
VR5:=SMA(VR4,2,1);
KK:=EMA(SMA(RG,2,1),2);
VAR2:=(H+L+C*2)/4;
VAR3:=EMA(VAR2,5);
VAR4:=STD(VAR2,5);
VAR5:=(VAR2-VAR3)*100/VAR4;
VAR6:=EMA(VAR5,3);
CB:(EMA(VAR6,5)+100)/2-3,COLORGREEN,LINETHICK2;
CG:HHV(CB,3)COLORRED,LINETHICK2;

XL2:(LLV(L,3)=LLV(L,60) AND C/REF(C,1)>=1.04)*20;
XL3:=(C-EMA(C,20))/EMA(C,21)*100;
XL4:=CROSS(XL3,-20);{爆破}
XL5:=LLV(L,3)=LLV(L,120) AND C/REF(C,1)>=1.06; {爆炸}
XL6:(C-MA(C,20))/MA(C,20)*100;
XL7:=CROSS(XL6,-20);{启爆}
爆破:STICKLINE(XL4>0,0,-50,1,0),COLORRED;{红色}
启爆:STICKLINE(XL7>0,0,-40,0.2,0),COLORD9FFCD;{青色}
爆炸:STICKLINE(XL5>0,0,-30,0.3,0),COLORMAGENTA;{浅红}
爆点:STICKLINE(XL2>0,0,-20,0.1,0),COLORWHITE;{白色};

AR1:=EMA(OPEN,5);
AR2:=EMA(AR1,20);
AR3:=CROSS(AR1,AR2);
AR5:=EMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,10)-LLV(LOW,20))*100,8,1),3);
短买:IF(TROUGHBARS(1,6,1)=0 AND HIGH>LOW+0,-88,-100),LINETHICK2,COLORMAGENTA;
短卖:IF(PEAKBARS(2,9,1)=1,80,95),COLORLIBLUE;
中买 : IF(TROUGHBARS(3,18,1)=0 AND HIGH>LOW+0.1,-88,-101),COLORLIMAGENTA,LINETHICK2;
中卖: IF(PEAKBARS(2,15,1)=0,90,100),COLORGREEN;
全买: (ZIG(3,30)>REF(ZIG(3,30),1) AND REF(ZIG(3,30),1)<REF(ZIG(3,30),2))
*-90,STICK,COLORRED,LINETHICK2;
全卖: (ZIG(3,30)<REF(ZIG(3,30),1) AND REF(ZIG(3,30),1)>REF(ZIG(3,30),2))
*-100,STICK,COLORGREEN,LINETHICK2;

顶:(FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10))*122,STICK,COLORGREEN,LINETHICK1;
底:(FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10))*50,STICK,COLORRED,LINETHICK2;

A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,5),5)/EMA(EMA(ABS(A7),5),5);
SHOR:=10; LON:=20;
RM:=EMA(CLOSE,SHOR);
NM:=EMA(CLOSE,LON);
UP:=-DRAWLINE(L=LLV(L,BARSLAST(CROSS(NM,RM))+1),LLV(L,BARSLAST(CROSS(NM,RM))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0),COLORRED,LINETHICK2;
DOWN:=-DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0)COLORGREEN,LINETHICK2;
明日高卖:((LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1))*10,STICK,COLORRED,LINETHICK2;

IRV:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*100;
IRG:=(CLOSE-LLV(LOW,2))/(HHV(HIGH,2)-LLV(LOW,2))*100;
IVR4:SMA(IRV,2,1),LINETHICK2,COLORMAGENTA;
IVR5:=SMA(IVR4,2,1);
IKK:EMA(SMA(IRG,2,1),2),LINETHICK2,COLORCYAN;


F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
S1:=今小昨;
今小前:=IF(C<REF(O,2) AND F<0,1,0),LINETHICK3;
S2:=今小前;
A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
A3:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
STICKLINE(A1 AND A2 ,0,8,1,0)COLORRED ;
STICKLINE(A1 AND A2 AND A3,0,10,1,0)COLORMAGENTA;


VOLUME:=VOL;
主力启动线:=MA(VOL,5);
主力洗盘线:=MA(VOL,20);
资金异动线:=MA(VOL,60);
V1:=CLOSE/REF(CLOSE,3)>=1.03;
V2:=BACKSET(V1,2);
拼命买:=IF(V2 AND COUNT(V2,2)=1,1,0)*16,COLORWHITE;
STICKLINE(拼命买>0,0,18,0.1,0);

CK:=REF(MA(C,3),1);
拐头买卖:=(C-REF(CK,3))/LLV(C,10)*300,COLORCYAN,LINETHICK1;

FL:=100*(C-REF(C,1))/REF(C,1);
JD:=IF(C<REF(O,1) AND FL<0,1,0);
SL1:=JD;
MR:=IF(C<REF(O,2) AND F<0,1,0);
SL2:=MR;
AL1:=SL1=0 AND REF(SL1,1)=1 AND SL2=0 AND REF(SL2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));
AL2:=SL1=0 AND REF(SL1,1)=1 AND SL2=0 AND REF(SL2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));
AL3:=SL1=0 AND REF(SL1,1)=1 AND SL2=0 AND REF(SL2,1)=1 AND CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1));
STICKLINE(AL1 AND AL2 AND AL3,100,108,1,0);
STICKLINE(AL1 AND AL2 AND AL3,100,105,1,0),COLORFF00FF;
 


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/19592.html][B]最实用的公式指标[/B][/url]