中线买点-选股
1 s: G9 X8 v% |: {8 JA1:=C-REF(C,1);
: c2 X* g+ F( P; y" u/ nA2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);* r6 ^# x$ V0 g
SHORT:=7; LONG:=19;+ A1 Q6 U. v2 A( K
RMA:=EMA(CLOSE,SHORT);
. L/ [9 U2 i$ j6 w) uNMA:=EMA(CLOSE,LONG);5 Z1 z- ^* R: {% i
涨势线:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),
) E$ m$ K5 a. L9 t9 [2 UH=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0),LINETHICK1,COLORFF00FF;
7 y9 T0 h- T9 e2 Y% K跌势线:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),
7 k8 U) |/ A5 }' A, }5 z- q. ML=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0),LINETHICK1,COLORBLUE;1 L0 S+ |% Q5 I, O+ S
趋势区:=IF((EVERY(跌势线>=REF(跌势线,1),1)),4,2)COLOR0000FF,LINETHICK3;- S0 J4 `( \0 b- c* {% j4 b
低买CROSS(趋势区,2.1)); |