中线买点-选股7 x4 }& _* _ i; A
A1:=C-REF(C,1);
+ i$ [2 `1 o& f9 D5 r% D+ z7 iA2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);4 ?( l9 D' w+ Q! k, B3 H
SHORT:=7; LONG:=19;, {- [6 \/ z9 u3 P3 b- c+ y& r
RMA:=EMA(CLOSE,SHORT);
" C+ Y3 a( q+ P7 \NMA:=EMA(CLOSE,LONG);% D2 ^% m" E) a! ^9 V* n7 ], a0 m
涨势线:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),
9 l* D, [ }) |! _/ H# s. YH=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0),LINETHICK1,COLORFF00FF;
+ t* _" N' Z" G# u6 g8 n+ s跌势线:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),
7 Q6 l4 @. r/ e9 zL=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0),LINETHICK1,COLORBLUE;- J8 h8 Z8 I- Z h
趋势区:=IF((EVERY(跌势线>=REF(跌势线,1),1)),4,2)COLOR0000FF,LINETHICK3;
8 K# w% w7 p$ [3 E7 I. g5 _低买CROSS(趋势区,2.1)); |