通达信1选股指标(04)
{容维选股一}
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);
VAR6:=((AK + VAR5) / 2);
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);
VAR8:=EMA(VAR6,5);
BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);
AB:=CROSS(AK1,AK);
BB1:=(CROSS(AK1,BB) AND (BB < 30));
XG: AB;
======================================================
{容维创富红方块选股}
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
选股:AB;
======================================================
{5日平台整理}
ABS((HHV(CLOSE,5)-LLV(OPEN,5))/LLV(OPEN,5))*100<=1;
======================================================
{8日平台整理}
(HHV(CLOSE,8)-LLV(CLOSE,8))/LLV(CLOSE,8)<=(10/100);
======================================================
{13日平台整理}
(HHV(CLOSE,13)-LLV(CLOSE,13))/LLV(CLOSE,13)<=(10/100);
======================================================
{独特指标选股}
X1:=(C+L)/2;
X2:=MA(LLV(X1,8)*1.1,13);
X3:=EMA(X1,3);
X4:=2*X2-X3-X1*0.1;
X5:=POW((X3-X4)*5,2)/10;
X6:=X5*(-1);
X7:=IF((X3-X4)*5>0,X5,X6);
X8:=IF(X7>0,X7,-3);
X9:CROSS(X8,0) AND X1>MA(X1,8);
======================================================
{突破}
GJTJ11:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ21:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ31:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ41:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(GJTJ41,GJTJ11))>3 AND BARSLAST(CROSS(GJTJ11,GJTJ41))<3;
B:=BARSLAST(CROSS(GJTJ41,GJTJ21));
GJTJ15:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ25:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ35:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ45:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A4:=BARSLAST(CROSS(97,GJTJ15))<=1 AND BARSLAST(CROSS(GJTJ15,85))<=1;
B5:=BARSLAST(CROSS(97,GJTJ25))<=1 AND BARSLAST(CROSS(GJTJ25,85))<=1;
A11:=A AND B;
AA:=BARSLAST(CROSS(97,GJTJ15))<=2 AND BARSLAST(CROSS(GJTJ15,85))<=1;
BA:=BARSLAST(CROSS(97,GJTJ25))<=2 AND BARSLAST(CROSS(GJTJ25,85))<=1;
A21:=AA AND BA ;
AAA:=BARSLAST(CROSS(97,GJTJ15))<=3 AND BARSLAST(CROSS(GJTJ15,85))<=1;
BAA:=BARSLAST(CROSS(97,GJTJ25))<=3 AND BARSLAST(CROSS(GJTJ25,85))<=1;
A31:=AAA AND BAA ;
B11:=REF(A11,1);
B21:=REF(A21,1);
B31:=REF(A31,1);
D11:=GJTJ15=100 AND GJTJ25=100
D21:=GJTJ15=100 AND GJTJ25=100
D31:=GJTJ15=100 AND GJTJ25=100
突破:D11 OR D21 OR D31;
======================================================
{黄金星}
GJTJ14:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ24:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ34:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ44:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A3:=BARSLAST(CROSS(30,GJTJ14))<2 AND BARSLAST(CROSS(GJTJ14,50))<2;
B4:=BARSLAST(CROSS(GJTJ44,GJTJ14))<2 AND GJTJ14>GJTJ44;
E3:=GJTJ14>60 AND GJTJ44>70;
黄金星:A3 AND B4
======================================================
{启动金三角}
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
GJTJ11:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ21:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ31:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ41:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(GJTJ41,GJTJ11))>3 AND BARSLAST(CROSS(GJTJ11,GJTJ41))<3;
B:=BARSLAST(CROSS(GJTJ41,GJTJ21));
GJTJ19:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ29:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ39:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ49:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A9:=GJTJ19=GJTJ29 AND GJTJ29=GJTJ39 AND GJTJ19=100 AND GJTJ49>96;
B9:=COUNT(A,2)=1;
D9:=GJTJ19<95;
YH:=INDEXC/REF(INDEXC,1)*REF(C,1);
YH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
X1:=EMA(YH1,7);
X2:=EMA(YH1,14);
X3:=EMA(X1,14);
E9:=X1>X2 AND X2>X3;
启动金三角:B9 AND D9 AND E9;
======================================================
{投机七剑}
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
- 上一篇公式:通达信1选股指标(05)
- 下一篇公式:通达信1选股指标(03)