中线买点-选股9 V" I) K9 D5 h0 X. L; E$ G
A1:=C-REF(C,1);. \2 @" K( o1 G4 z( _
A2:=100*EMA(EMA(A1,6),6)/EMA(EMA(ABS(A1),6),6);; ~" H% ?* a6 Z! B
SHORT:=7; LONG:=19;9 w5 a) L0 O- |/ v0 ?! h e
RMA:=EMA(CLOSE,SHORT);
! o/ m% Z' @. c# W7 tNMA:=EMA(CLOSE,LONG);. w* U- I2 X$ Q' W& u$ ~
涨势线:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),
6 W$ f: ~" o( d1 U ~& s# RH=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0),LINETHICK1,COLORFF00FF;8 l% J) t3 d$ h# C( `$ }2 V
跌势线:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),' X; z2 m/ Q& q# I
L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0),LINETHICK1,COLORBLUE;* k2 u) l9 u- h( p4 D
趋势区:=IF((EVERY(跌势线>=REF(跌势线,1),1)),4,2)COLOR0000FF,LINETHICK3;5 z8 z4 k# Y' u; O3 S% @, C
低买 CROSS(趋势区,2.1)); |