A7:=C-REF(C,1);
4 [2 ~7 p9 ^/ |/ n5 @% @2 u+ KA8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);0 |& V/ O# ]3 J/ A7 ^& d \% m
SHORT:=7; LONG:=19;
% s; ~$ X7 q* G8 ^& Q* lRMA:=EMA(CLOSE,SHORT);& w' t: x) `& x* o
NMA:=EMA(CLOSE,LONG);+ |7 C, B1 f0 h9 |
UPRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
' H$ ~2 {2 z+ a3 T, b- W: \DOWN:DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
0 }& f& L4 l" W+ m; }- d买进LLV(A8,2)=LLV(A8,7) AND COUNT(A8=REF(DOWN,1),1)),4,2)COLOR0000FF,LINETHICK3;
$ H# w% I' ]3 z( X1 _ J低买:IF(((CROSS(趋势区,2.1))),5,0),STICK,COLORRED,LINETHICK3;% K- o b' S& o) F
高卖:IF(((CROSS(3.9,趋势区))),-5,0),STICK,COLORFF9150,LINETHICK3; |