中线买点-选股2 v9 B5 u, a% G5 O
A1:=C-REF(C,1);; M) ^5 O+ Y- w1 s" D. d% |
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);/ t8 @3 k: l# J, m% z. g1 k, `
SHORT:=7; LONG:=19;
7 [- l& o2 v- y. WRMA:=EMA(CLOSE,SHORT);% ^2 T7 ]! {! C9 U8 D
NMA:=EMA(CLOSE,LONG);
2 H% o m+ q& \& L- G涨势线:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),1 J& O- g9 `& X* D/ o9 w
H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0),LINETHICK1,COLORFF00FF;
1 T6 B( P* y- ~( D% p跌势线:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),9 l' J# q' U- d
L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0),LINETHICK1,COLORBLUE;8 X# G2 U6 a4 b
趋势区:=IF((EVERY(跌势线>=REF(跌势线,1),1)),4,2)COLOR0000FF,LINETHICK3;
' V! a2 @. z" v/ B4 A' X; u低买CROSS(趋势区,2.1)); |