Current location - Trademark Inquiry Complete Network - Futures platform - I want to combine my stock selection formulas with the 20-day yangxian index! Help! Only you understand me!
I want to combine my stock selection formulas with the 20-day yangxian index! Help! Only you understand me!
First, short-term stock selection

var 1:=(CLOSE & gt; REF(CLOSE, 1) and CLOSE & gtREF(CLOSE, 2));

VARD:=(CLOSE & lt; REF(CLOSE, 1) and CLOSE & ltREF(CLOSE, 2));

VARE:=(REF(VARD, 1)AND CLOSE & gt; =REF(CLOSE, 1) and close < = ref (close, 2));

VARF:=(REF(VARE, 1) and close & lt=REF(CLOSE, 1) and CLOSE & gt=REF(CLOSE, 2));

VAR 10:=(REF(VARF, 1)AND CLOSE & gt; =REF(CLOSE, 1) and close < = ref (close, 2));

Var 1 1: = (ref (var10,1) and close & lt=REF(CLOSE,1));

var 12:=(REF(var 1 1, 1)AND CLOSE & gt; =REF(CLOSE, 1) and close < = ref (close, 2));

Var 1 3: = (ref (var 1 2,1) and close & lt=REF(CLOSE,1) and CLOSE & gt=REF(CLOSE, 2));

VAR 14:=(REF(VAR 13, 1)AND CLOSE & gt; =REF(CLOSE, 1) and close < = ref (close, 2));

Var 1 5: = (ref (var 1 4,1) and close & lt=REF(CLOSE,1) and CLOSE & gt=REF(CLOSE, 2));

VAR 16:=(REF(VAR 15, 1)AND CLOSE & gt; =REF(CLOSE, 1) and close < = ref (close, 2));

Var 1 7: = (ref (var 1 6,1) and close & lt=REF(CLOSE,1) and CLOSE & gt=REF(CLOSE, 2));

VAR 18:=(REF(VAR 17, 1)AND CLOSE & gt; =REF(CLOSE, 1) and close < = ref (close, 2));

Var 1 9: = (ref (vard or VARE or VARF or VAR 10 or VAR 16 or VAR 12 or VAR 13 or VAR 14 or VAR 15 or.

MA20:=MA(C,20);

GLC:=(C-MA20)/MA20 * 100;

GLO:=(O-MA20)/MA20 * 100;

GLH:=(H-MA20)/MA20 * 100;

GLL:=(L-MA20)/MA20 * 100;

a:=(-2 & lt; GLC and GLC<2) or (-2 <; GLO and GLO <; 2) or (-2 <; GLH and glh <; 2) or (-2 <; GLL and gll <; 2);

A and C>o and var19;

Second, the quantity and price are double red (own ideas)

VDIFF := EMA(V, 12) - EMA(V,26),COLORWHITE

VDEA := EMA(VDIFF,9),COLORYELLOW

VMACD:= 2 *(v diff-VDEA);

CDIFF := EMA(C, 12) - EMA(C,26),COLORWHITE

CDEA := EMA(CDIFF,9),COLORYELLOW

CMACD:= 2 *(CDIFF-CDEA);

MR 1:=(CROSS(CDIFF, CDEA) and vmad & gt0) or (cross (VDIFF, VDEA) and CMACD & gt0);

MA20:=MA(C,20);

GLC:=(C-MA20)/MA20 * 100;

GLO:=(O-MA20)/MA20 * 100;

GLH:=(H-MA20)/MA20 * 100;

GLL:=(L-MA20)/MA20 * 100;

a:=(-2 & lt; GLC and GLC<2) or (-2 <; GLO and GLO <; 2) or (-2 <; GLH and glh <; 2) or (-2 <; GLL and gll <; 2);

A and C>o and Mr1;

Third, water hibiscus

MA 1:=MA(CLOSE,5);

MA2:= Ma (closing price,10);

MA3:=MA(CLOSE,20);

a 1:= OPEN & lt; MA 1 or OPEN & ltMA2 or open & ltMA3.

a2:= C & gt; MAX(MA 1,MAX(MA2,MA3));

A3:=V/MA(V,30)> 1.2;

A4:=C/REF(C, 1)> 1.049;

TJ:=A 1 and A2 and A3 and a4;

MA20:=MA(C,20);

GLC:=(C-MA20)/MA20 * 100;

GLO:=(O-MA20)/MA20 * 100;

GLH:=(H-MA20)/MA20 * 100;

GLL:=(L-MA20)/MA20 * 100;

a:=(-2 & lt; GLC and GLC<2) or (-2 <; GLO and GLO <; 2) or (-2 <; GLH and glh <; 2) or (-2 <; GLL and gll <; 2);

A and C>o and TJ;