A7:=C-REF(C,1);
4 l2 V8 n6 e7 M) vA8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
) @: U( F- _! j% J1 A* S6 LSHORT:=7; LONG:=19;
9 p1 e7 O- `5 L. G7 h; wRMA:=EMA(CLOSE,SHORT);
0 S1 n+ y w& n& X+ s4 E5 iNMA:=EMA(CLOSE,LONG);+ V f" l$ P- U: J; A
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);6 h Q* `% k9 n8 B: K
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);( h3 @! A9 i/ g& F9 j; B0 y- S( |
买进LLV(A8,2)=LLV(A8,7) AND COUNT(A8=REF(DOWN,1),1)),4,2)COLOR0000FF,LINETHICK3;4 i/ ^' O/ F8 D# N7 U
低买:IF(((CROSS(趋势区,2.1))),5,0),STICK,COLORRED,LINETHICK3;9 N2 z/ j9 N1 U$ e2 d
高卖:IF(((CROSS(3.9,趋势区))),-5,0),STICK,COLORFF9150,LINETHICK3; |